From 96935732b143f1c610fde350b72073e01cd9ea71 Mon Sep 17 00:00:00 2001 From: Cheton Wu Date: Fri, 13 Dec 2019 15:56:36 +0800 Subject: [PATCH] Update docs --- docs/build/1.c60a4ffa.js | 1 - docs/build/1.c6a9c9c4.js | 1 + docs/build/bundle.718d6721.js | 74 ----------------------------------- docs/build/bundle.83494be5.js | 67 +++++++++++++++++++++++++++++++ docs/index.html | 2 +- 5 files changed, 69 insertions(+), 76 deletions(-) delete mode 100644 docs/build/1.c60a4ffa.js create mode 100644 docs/build/1.c6a9c9c4.js delete mode 100644 docs/build/bundle.718d6721.js create mode 100644 docs/build/bundle.83494be5.js diff --git a/docs/build/1.c60a4ffa.js b/docs/build/1.c60a4ffa.js deleted file mode 100644 index 6614c42..0000000 --- a/docs/build/1.c60a4ffa.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{593:function(e,t,n){e.exports=function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),o=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),i=/Edge\/(\d+)/.exec(e),a=r||o||i,s=a&&(r?document.documentMode||6:+(i||o)[1]),l=!i&&/WebKit\//.test(e),c=l&&/Qt\/\d+\.\d+/.test(e),u=!i&&/Chrome\//.test(e),d=/Opera\//.test(e),p=/Apple Computer/.test(navigator.vendor),h=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),f=/PhantomJS/.test(e),g=!i&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),m=/Android/.test(e),v=g||m||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=g||/Mac/.test(t),b=/\bCrOS\b/.test(e),x=/win/i.test(t),C=d&&e.match(/Version\/(\d*\.\d*)/);C&&(C=Number(C[1])),C&&C>=15&&(d=!1,l=!0);var w=y&&(c||d&&(null==C||C<12.11)),S=n||a&&s>=9;function classTest(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var k,L=function(e,t){var n=e.className,r=classTest(t).exec(n);if(r){var o=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(o?r[1]+o:"")}};function removeChildren(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function removeChildrenAndAdd(e,t){return removeChildren(e).appendChild(t)}function elt(e,t,n,r){var o=document.createElement(e);if(n&&(o.className=n),r&&(o.style.cssText=r),"string"==typeof t)o.appendChild(document.createTextNode(t));else if(t)for(var i=0;i=t)return a+(t-i);a+=s-i,a+=n-a%n,i=s+1}}g?M=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(M=function(e){try{e.select()}catch(e){}});var T=function(){this.id=null};function indexOf(e,t){for(var n=0;n=t)return r+Math.min(a,t-o);if(o+=i-r,r=i+1,(o+=n-o%n)>=t)return r}}var H=[""];function spaceStr(e){for(;H.length<=e;)H.push(lst(H)+" ");return H[e]}function lst(e){return e[e.length-1]}function map(e,t){for(var n=[],r=0;r"€"&&(e.toUpperCase()!=e.toLowerCase()||E.test(e))}function isWordChar(e,t){return t?!!(t.source.indexOf("\\w")>-1&&isWordCharBasic(e))||t.test(e):isWordCharBasic(e)}function isEmpty(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var W=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function isExtendingChar(e){return e.charCodeAt(0)>=768&&W.test(e)}function skipExtendingChars(e,t,n){for(;(n<0?t>0:tn?-1:1;;){if(t==n)return t;var o=(t+n)/2,i=r<0?Math.ceil(o):Math.floor(o);if(i==t)return e(i)?t:n;e(i)?n=i:t=i+r}}function Display(e,t,r){var o=this;this.input=r,o.scrollbarFiller=elt("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=elt("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=eltP("div",null,"CodeMirror-code"),o.selectionDiv=elt("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=elt("div",null,"CodeMirror-cursors"),o.measure=elt("div",null,"CodeMirror-measure"),o.lineMeasure=elt("div",null,"CodeMirror-measure"),o.lineSpace=eltP("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var i=eltP("div",[o.lineSpace],"CodeMirror-lines");o.mover=elt("div",[i],null,"position: relative"),o.sizer=elt("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=elt("div",null,null,"position: absolute; height: "+O+"px; width: 1px;"),o.gutters=elt("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=elt("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=elt("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||n&&v||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,r.init(o)}function getLine(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var o=n.children[r],i=o.chunkSize();if(t=e.first&&tn?Pos(n,getLine(e,n).text.length):clipToLen(t,getLine(e,t.line).text.length)}function clipToLen(e,t){var n=e.ch;return null==n||n>t?Pos(e.line,t):n<0?Pos(e.line,0):e}function clipPosArray(e,t){for(var n=[],r=0;r=t:i.to>t);(r||(r=[])).push(new MarkedSpan(a,i.from,l?null:i.to))}}return r}function markedSpansAfter(e,t,n){var r;if(e)for(var o=0;o=t:i.to>t);if(s||i.from==t&&"bookmark"==a.type&&(!n||i.marker.insertLeft)){var l=null==i.from||(a.inclusiveLeft?i.from<=t:i.from0&&s)for(var x=0;x0)){var u=[l,1],d=cmp(c.from,s.from),p=cmp(c.to,s.to);(d<0||!a.inclusiveLeft&&!d)&&u.push({from:c.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&u.push({from:s.to,to:c.to}),o.splice.apply(o,u),l+=u.length-3}}return o}function detachMarkedSpans(e){var t=e.markedSpans;if(t){for(var n=0;nt)&&(!n||compareCollapsedMarkers(n,i.marker)<0)&&(n=i.marker)}return n}function conflictingCollapsedRange(e,t,n,r,o){var i=getLine(e,t),a=F&&i.markedSpans;if(a)for(var s=0;s=0&&d<=0||u<=0&&d>=0)&&(u<=0&&(l.marker.inclusiveRight&&o.inclusiveLeft?cmp(c.to,n)>=0:cmp(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&o.inclusiveLeft?cmp(c.from,r)<=0:cmp(c.from,r)<0)))return!0}}}function visualLine(e){for(var t;t=collapsedSpanAtStart(e);)e=t.find(-1,!0).line;return e}function visualLineEnd(e){for(var t;t=collapsedSpanAtEnd(e);)e=t.find(1,!0).line;return e}function visualLineContinued(e){for(var t,n;t=collapsedSpanAtEnd(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function visualLineNo(e,t){var n=getLine(e,t),r=visualLine(n);return n==r?t:lineNo(r)}function visualLineEndNo(e,t){if(t>e.lastLine())return t;var n,r=getLine(e,t);if(!lineIsHidden(e,r))return t;for(;n=collapsedSpanAtEnd(r);)r=n.find(1,!0).line;return lineNo(r)+1}function lineIsHidden(e,t){var n=F&&t.markedSpans;if(n)for(var r=void 0,o=0;ot.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}function iterateBidiSections(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var o=!1,i=0;it||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",i),o=!0)}o||r(t,n,"ltr")}var B=null;function getBidiPartAt(e,t,n){var r;B=null;for(var o=0;ot)return o;i.to==t&&(i.from!=i.to&&"before"==n?r=o:B=o),i.from==t&&(i.from!=i.to&&"before"!=n?r=o:B=o)}return null!=r?r:B}var z=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";var n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,r=/[stwN]/,o=/[LRr]/,i=/[Lb1n]/,a=/[1n]/;function BidiSpan(e,t,n){this.level=e,this.from=t,this.to=n}return function(s,l){var c,u="ltr"==l?"L":"R";if(0==s.length||"ltr"==l&&!n.test(s))return!1;for(var d=s.length,p=[],h=0;h-1&&(r[t]=o.slice(0,i).concat(o.slice(i+1)))}}}function signal(e,t){var n=getHandlers(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),o=0;o0}function eventMixin(e){e.prototype.on=function(e,t){V(this,e,t)},e.prototype.off=function(e,t){off(this,e,t)}}function e_preventDefault(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function e_stopPropagation(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function e_defaultPrevented(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function e_stop(e){e_preventDefault(e),e_stopPropagation(e)}function e_target(e){return e.target||e.srcElement}function e_button(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var U,j,G=function(){if(a&&s<9)return!1;var e=elt("div");return"draggable"in e||"dragDrop"in e}();function zeroWidthElement(e){if(null==U){var t=elt("span","​");removeChildrenAndAdd(e,elt("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(U=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=U?elt("span","​"):elt("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function hasBadBidiRects(e){if(null!=j)return j;var t=removeChildrenAndAdd(e,document.createTextNode("AخA")),n=k(t,0,1).getBoundingClientRect(),r=k(t,1,2).getBoundingClientRect();return removeChildren(e),!(!n||n.left==n.right)&&(j=r.right-n.right<3)}var _,K=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var o=e.indexOf("\n",t);-1==o&&(o=e.length);var i=e.slice(t,"\r"==e.charAt(o-1)?o-1:o),a=i.indexOf("\r");-1!=a?(n.push(i.slice(0,a)),t+=a+1):(n.push(i),t=o+1)}return n}:function(e){return e.split(/\r\n?|\n/)},q=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},X="oncopy"in(_=elt("div"))||(_.setAttribute("oncopy","return;"),"function"==typeof _.oncopy),Y=null;function hasBadZoomedRects(e){if(null!=Y)return Y;var t=removeChildrenAndAdd(e,elt("span","x")),n=t.getBoundingClientRect(),r=k(t,0,1).getBoundingClientRect();return Y=Math.abs(n.left-r.left)>1}var $={},Z={};function defineMode(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),$[e]=t}function resolveMode(e){if("string"==typeof e&&Z.hasOwnProperty(e))e=Z[e];else if(e&&"string"==typeof e.name&&Z.hasOwnProperty(e.name)){var t=Z[e.name];"string"==typeof t&&(t={name:t}),(e=createObj(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return resolveMode("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return resolveMode("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function getMode(e,t){t=resolveMode(t);var n=$[t.name];if(!n)return getMode(e,"text/plain");var r=n(e,t);if(J.hasOwnProperty(t.name)){var o=J[t.name];for(var i in o)o.hasOwnProperty(i)&&(r.hasOwnProperty(i)&&(r["_"+i]=r[i]),r[i]=o[i])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var J={};function extendMode(e,t){var n=J.hasOwnProperty(e)?J[e]:J[e]={};copyObj(t,n)}function copyState(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var o=t[r];o instanceof Array&&(o=o.concat([])),n[r]=o}return n}function innerMode(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function startState(e,t,n){return!e.startState||e.startState(t,n)}var Q=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};Q.prototype.eol=function(){return this.pos>=this.string.length},Q.prototype.sol=function(){return this.pos==this.lineStart},Q.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Q.prototype.next=function(){if(this.post},Q.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Q.prototype.skipToEnd=function(){this.pos=this.string.length},Q.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Q.prototype.backUp=function(e){this.pos-=e},Q.prototype.column=function(){return this.lastColumnPos0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var o=function(e){return n?e.toLowerCase():e},i=this.string.substr(this.pos,e.length);if(o(i)==o(e))return!1!==t&&(this.pos+=e.length),!0},Q.prototype.current=function(){return this.string.slice(this.start,this.pos)},Q.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Q.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Q.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var ee=function(e,t){this.state=e,this.lookAhead=t},te=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function highlightLine(e,t,n,r){var o=[e.state.modeGen],i={};runMode(e,t.text,e.doc.mode,n,function(e,t){return o.push(e,t)},i,r);for(var a=n.state,s=function(r){n.baseTokens=o;var s=e.state.overlays[r],l=1,c=0;n.state=!0,runMode(e,t.text,s.mode,n,function(e,t){for(var n=l;ce&&o.splice(l,1,e,o[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(s.opaque)o.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;ne.options.maxHighlightLength&©State(e.doc.mode,r.state),i=highlightLine(e,t,r);o&&(r.state=o),t.stateAfter=r.save(!o),t.styles=i.styles,i.classes?t.styleClasses=i.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function getContextBefore(e,t,n){var r=e.doc,o=e.display;if(!r.mode.startState)return new te(r,!0,t);var i=findStartLine(e,t,n),a=i>r.first&&getLine(r,i-1).stateAfter,s=a?te.fromSaved(r,a,i):new te(r,startState(r.mode),i);return r.iter(i,t,function(n){processLine(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=o.viewFrom&&rt.start)return i}throw new Error("Mode "+e.name+" failed to advance stream.")}te.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},te.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},te.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},te.fromSaved=function(e,t,n){return t instanceof ee?new te(e,copyState(e.mode,t.state),n,t.lookAhead):new te(e,copyState(e.mode,t),n)},te.prototype.save=function(e){var t=!1!==e?copyState(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ee(t,this.maxLookAhead):t};var ne=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function takeToken(e,t,n,r){var o,i=e.doc,a=i.mode;t=clipPos(i,t);var s,l=getLine(i,t.line),c=getContextBefore(e,t.line,n),u=new Q(l.text,e.options.tabSize,c);for(r&&(s=[]);(r||u.pose.options.maxHighlightLength?(s=!1,a&&processLine(e,t,r,d.pos),d.pos=t.length,l=null):l=extractLineClasses(readToken(n,d,r.state,p),i),p){var h=p[0].name;h&&(l="m-"+(l?h+" "+l:h))}if(!s||u!=l){for(;ca;--s){if(s<=i.first)return i.first;var l=getLine(i,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof ee?c.lookAhead:0)<=i.modeFrontier))return s;var u=countColumn(l.text,null,e.options.tabSize);(null==o||r>u)&&(o=s-1,r=u)}return o}function retreatFrontier(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var o=getLine(e,r).stateAfter;if(o&&(!(o instanceof ee)||r+o.lookAhead1&&!/ /.test(e))return e;for(var n=t,r="",o=0;oc&&d.from<=c);p++);if(d.to>=u)return e(n,r,o,i,a,s,l);e(n,r.slice(0,d.to-c),o,i,null,s,l),i=null,r=r.slice(d.to-c),c=d.to}}}function buildCollapsedSpan(e,t,n,r){var o=!r&&n.widgetNode;o&&e.map.push(e.pos,e.pos+t,o),!r&&e.cm.display.input.needsContentAttribute&&(o||(o=e.content.appendChild(document.createElement("span"))),o.setAttribute("cm-marker",n.id)),o&&(e.cm.display.input.setUneditable(o),e.content.appendChild(o)),e.pos+=t,e.trailingSpace=!1}function insertLineContent(e,t,n){var r=e.markedSpans,o=e.text,i=0;if(r)for(var a,s,l,c,u,d,p,h=o.length,f=0,g=1,m="",v=0;;){if(v==f){l=c=u=s="",p=null,d=null,v=1/0;for(var y=[],b=void 0,x=0;xf||w.collapsed&&C.to==f&&C.from==f)){if(null!=C.to&&C.to!=f&&v>C.to&&(v=C.to,c=""),w.className&&(l+=" "+w.className),w.css&&(s=(s?s+";":"")+w.css),w.startStyle&&C.from==f&&(u+=" "+w.startStyle),w.endStyle&&C.to==v&&(b||(b=[])).push(w.endStyle,C.to),w.title&&((p||(p={})).title=w.title),w.attributes)for(var S in w.attributes)(p||(p={}))[S]=w.attributes[S];w.collapsed&&(!d||compareCollapsedMarkers(d.marker,w)<0)&&(d=C)}else C.from>f&&v>C.from&&(v=C.from)}if(b)for(var k=0;k=h)break;for(var M=Math.min(h,v);;){if(m){var T=f+m.length;if(!d){var O=T>M?m.slice(0,M-f):m;t.addToken(t,O,a?a+l:l,u,f+O.length==v?c:"",s,p)}if(T>=M){m=m.slice(M-f),f=M;break}f=T,u=""}m=o.slice(i,i=n[g++]),a=interpretTokenStyle(n[g++],t.cm.options)}}else for(var P=1;P2&&i.push((l.bottom+c.top)/2-n.top)}}i.push(n.bottom-n.top)}}function mapFromLineView(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;rn)return{map:e.measure.maps[o],cache:e.measure.caches[o],before:!0}}function updateExternalMeasurement(e,t){var n=lineNo(t=visualLine(t)),r=e.display.externalMeasured=new LineView(e.doc,t,n);r.lineN=n;var o=r.built=buildLineContent(e,r);return r.text=o.pre,removeChildrenAndAdd(e.display.lineMeasure,o.pre),r}function measureChar(e,t,n,r){return measureCharPrepared(e,prepareMeasureForLine(e,t),n,r)}function findViewForLine(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&tt)&&(o=(i=l-s)-1,t>=l&&(a="right")),null!=o){if(r=e[c+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==o)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],a="left";if("right"==n&&o==l-s)for(;c=0&&(n=e[o]).left==n.right;o--);return n}function measureCharInner(e,t,n,r){var o,i=nodeAndOffsetInLineMap(t.map,n,r),l=i.node,c=i.start,u=i.end,d=i.collapse;if(3==l.nodeType){for(var p=0;p<4;p++){for(;c&&isExtendingChar(t.line.text.charAt(i.coverStart+c));)--c;for(;i.coverStart+u0&&(d=r="right"),o=e.options.lineWrapping&&(h=l.getClientRects()).length>1?h["right"==r?h.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!o||!o.left&&!o.right)){var f=l.parentNode.getClientRects()[0];o=f?{left:f.left,right:f.left+charWidth(e.display),top:f.top,bottom:f.bottom}:ce}for(var g=o.top-t.rect.top,m=o.bottom-t.rect.top,v=(g+m)/2,y=t.view.measure.heights,b=0;b=r.text.length?(s=r.text.length,l="before"):s<=0&&(s=0,l="after"),!a)return get("before"==l?s-1:s,"before"==l);function getBidi(e,t,n){var r=a[t],o=1==r.level;return get(n?e-1:e,o!=n)}var c=getBidiPartAt(a,s,l),u=B,d=getBidi(s,c,"before"==l);return null!=u&&(d.other=getBidi(s,u,"before"!=l)),d}function estimateCoords(e,t){var n=0;t=clipPos(e.doc,t),e.options.lineWrapping||(n=charWidth(e.display)*t.ch);var r=getLine(e.doc,t.line),o=heightAtLine(r)+paddingTop(e.display);return{left:n,right:n,top:o,bottom:o+r.height}}function PosWithInfo(e,t,n,r,o){var i=Pos(e,t,n);return i.xRel=o,r&&(i.outside=!0),i}function coordsChar(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return PosWithInfo(r.first,0,null,!0,-1);var o=lineAtHeight(r,n),i=r.first+r.size-1;if(o>i)return PosWithInfo(r.first+r.size-1,getLine(r,i).text.length,null,!0,1);t<0&&(t=0);for(var a=getLine(r,o);;){var s=coordsCharInner(e,a,o,t,n),l=collapsedSpanAround(a,s.ch+(s.xRel>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==o)return c;a=getLine(r,o=c.line)}}function wrappedLineExtent(e,t,n,r){r-=widgetTopHeight(t);var o=t.text.length,i=findFirst(function(t){return measureCharPrepared(e,n,t-1).bottom<=r},o,0);return o=findFirst(function(t){return measureCharPrepared(e,n,t).top>r},i,o),{begin:i,end:o}}function wrappedLineExtentChar(e,t,n,r){n||(n=prepareMeasureForLine(e,t));var o=intoCoordSystem(e,t,measureCharPrepared(e,n,r),"line").top;return wrappedLineExtent(e,t,n,o)}function boxIsAfter(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function coordsCharInner(e,t,n,r,o){o-=heightAtLine(t);var i=prepareMeasureForLine(e,t),a=widgetTopHeight(t),s=0,l=t.text.length,c=!0,u=getOrder(t,e.doc.direction);if(u){var d=(e.options.lineWrapping?coordsBidiPartWrapped:coordsBidiPart)(e,t,n,i,u,r,o);c=1!=d.level,s=c?d.from:d.to-1,l=c?d.to:d.from-1}var p,h,f=null,g=null,m=findFirst(function(t){var n=measureCharPrepared(e,i,t);return n.top+=a,n.bottom+=a,!!boxIsAfter(n,r,o,!1)&&(n.top<=o&&n.left<=r&&(f=t,g=n),!0)},s,l),v=!1;if(g){var y=r-g.left=x.bottom}return m=skipExtendingChars(t.text,m,1),PosWithInfo(n,m,h,v,r-p)}function coordsBidiPart(e,t,n,r,o,i,a){var s=findFirst(function(s){var l=o[s],c=1!=l.level;return boxIsAfter(cursorCoords(e,Pos(n,c?l.to:l.from,c?"before":"after"),"line",t,r),i,a,!0)},0,o.length-1),l=o[s];if(s>0){var c=1!=l.level,u=cursorCoords(e,Pos(n,c?l.from:l.to,c?"after":"before"),"line",t,r);boxIsAfter(u,i,a,!0)&&u.top>a&&(l=o[s-1])}return l}function coordsBidiPartWrapped(e,t,n,r,o,i,a){var s=wrappedLineExtent(e,t,r,a),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,d=null,p=0;p=c||h.to<=l)){var f=1!=h.level,g=measureCharPrepared(e,r,f?Math.min(c,h.to)-1:Math.max(l,h.from)).right,m=gm)&&(u=h,d=m)}}return u||(u=o[o.length-1]),u.fromc&&(u={from:u.from,to:c,level:u.level}),u}function textHeight(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==le){le=elt("pre");for(var t=0;t<49;++t)le.appendChild(document.createTextNode("x")),le.appendChild(elt("br"));le.appendChild(document.createTextNode("x"))}removeChildrenAndAdd(e.measure,le);var n=le.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),removeChildren(e.measure),n||1}function charWidth(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=elt("span","xxxxxxxxxx"),n=elt("pre",[t]);removeChildrenAndAdd(e.measure,n);var r=t.getBoundingClientRect(),o=(r.right-r.left)/10;return o>2&&(e.cachedCharWidth=o),o||10}function getDimensions(e){for(var t=e.display,n={},r={},o=t.gutters.clientLeft,i=t.gutters.firstChild,a=0;i;i=i.nextSibling,++a)n[e.options.gutters[a]]=i.offsetLeft+i.clientLeft+o,r[e.options.gutters[a]]=i.clientWidth;return{fixedPos:compensateForHScroll(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function compensateForHScroll(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function estimateHeight(e){var t=textHeight(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/charWidth(e.display)-3);return function(o){if(lineIsHidden(e.doc,o))return 0;var i=0;if(o.widgets)for(var a=0;a=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r=e.display.viewTo||s.to().line0?t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function ensureFocus(e){e.state.focused||(e.display.input.focus(),onFocus(e))}function delayBlurEvent(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,onBlur(e))},100)}function onFocus(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(signal(e,"focus",e,t),e.state.focused=!0,addClass(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),restartBlink(e))}function onBlur(e,t){e.state.delayingBlurEvent||(e.state.focused&&(signal(e,"blur",e,t),e.state.focused=!1,L(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function updateHeightsInViewport(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r.005||p<-.005)&&(updateLineHeight(o.line,l),updateWidgetHeight(o.line),o.rest))for(var h=0;he.display.sizerWidth){var f=Math.ceil(c/charWidth(e.display));f>e.display.maxLineLength&&(e.display.maxLineLength=f,e.display.maxLine=o.line,e.display.maxLineChanged=!0)}}}}function updateWidgetHeight(e){if(e.widgets)for(var t=0;t=a&&(i=lineAtHeight(t,heightAtLine(getLine(t,l))-e.wrapper.clientHeight),a=l)}return{from:i,to:Math.max(a,i+1)}}function alignHorizontally(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=compensateForHScroll(t)-t.scroller.scrollLeft+e.doc.scrollLeft,o=t.gutters.offsetWidth,i=r+"px",a=0;a(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),null!=o&&!f){var i=elt("div","​",null,"position: absolute;\n top: "+(t.top-n.viewOffset-paddingTop(e.display))+"px;\n height: "+(t.bottom-t.top+scrollGap(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(i),i.scrollIntoView(o),e.display.lineSpace.removeChild(i)}}}function scrollPosIntoView(e,t,n,r){var o;null==r&&(r=0),e.options.lineWrapping||t!=n||(t=t.ch?Pos(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t,n="before"==t.sticky?Pos(t.line,t.ch+1,"before"):t);for(var i=0;i<5;i++){var a=!1,s=cursorCoords(e,t),l=n&&n!=t?cursorCoords(e,n):s;o={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r};var c=calculateScrollPos(e,o),u=e.doc.scrollTop,d=e.doc.scrollLeft;if(null!=c.scrollTop&&(updateScrollTop(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(setScrollLeft(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(a=!0)),!a)break}return o}function calculateScrollPos(e,t){var n=e.display,r=textHeight(e.display);t.top<0&&(t.top=0);var o=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,i=displayHeight(e),a={};t.bottom-t.top>i&&(t.bottom=t.top+i);var s=e.doc.height+paddingVert(n),l=t.tops-r;if(t.topo+i){var u=Math.min(t.top,(c?s:t.bottom)-i);u!=o&&(a.scrollTop=u)}var d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,p=displayWidth(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),h=t.right-t.left>p;return h&&(t.right=t.left+p),t.left<10?a.scrollLeft=0:t.leftp+d-3&&(a.scrollLeft=t.right+(h?0:10)-p),a}function addToScrollTop(e,t){null!=t&&(resolveScrollToPos(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function ensureCursorVisible(e){resolveScrollToPos(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function scrollToCoords(e,t,n){null==t&&null==n||resolveScrollToPos(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function scrollToRange(e,t){resolveScrollToPos(e),e.curOp.scrollToPos=t}function resolveScrollToPos(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=estimateCoords(e,t.from),r=estimateCoords(e,t.to);scrollToCoordsRange(e,n,r,t.margin)}}function scrollToCoordsRange(e,t,n,r){var o=calculateScrollPos(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});scrollToCoords(e,o.scrollLeft,o.scrollTop)}function updateScrollTop(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||updateDisplaySimple(e,{top:t}),setScrollTop(e,t,!0),n&&updateDisplaySimple(e),startWorker(e,100))}function setScrollTop(e,t,n){t=Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function setScrollLeft(e,t,n,r){t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,alignHorizontally(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function measureForScrollbars(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+paddingVert(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+scrollGap(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var ue=function(e,t,n){this.cm=n;var r=this.vert=elt("div",[elt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),o=this.horiz=elt("div",[elt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=o.tabIndex=-1,e(r),e(o),V(r,"scroll",function(){r.clientHeight&&t(r.scrollTop,"vertical")}),V(o,"scroll",function(){o.clientWidth&&t(o.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ue.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var o=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+o)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var i=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+i)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},ue.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ue.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ue.prototype.zeroWidthHack=function(){var e=y&&!h?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new T,this.disableVert=new T},ue.prototype.enableZeroWidthBar=function(e,t,n){e.style.pointerEvents="auto",t.set(1e3,function maybeDisable(){var r=e.getBoundingClientRect(),o="vert"==n?document.elementFromPoint(r.right-1,(r.top+r.bottom)/2):document.elementFromPoint((r.right+r.left)/2,r.bottom-1);o!=e?e.style.pointerEvents="none":t.set(1e3,maybeDisable)})},ue.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var de=function(){};function updateScrollbars(e,t){t||(t=measureForScrollbars(e));var n=e.display.barWidth,r=e.display.barHeight;updateScrollbarsInner(e,t);for(var o=0;o<4&&n!=e.display.barWidth||r!=e.display.barHeight;o++)n!=e.display.barWidth&&e.options.lineWrapping&&updateHeightsInViewport(e),updateScrollbarsInner(e,measureForScrollbars(e)),n=e.display.barWidth,r=e.display.barHeight}function updateScrollbarsInner(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}de.prototype.update=function(){return{bottom:0,right:0}},de.prototype.setScrollLeft=function(){},de.prototype.setScrollTop=function(){},de.prototype.clear=function(){};var pe={native:ue,null:de};function initScrollbars(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&L(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new pe[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),V(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,n){"horizontal"==n?setScrollLeft(e,t):updateScrollTop(e,t)},e),e.display.scrollbars.addClass&&addClass(e.display.wrapper,e.display.scrollbars.addClass)}var he=0;function startOperation(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++he},t=e.curOp,ae?ae.ops.push(t):t.ownsGroup=ae={ops:[t],delayedCallbacks:[]}}function endOperation(e){var t=e.curOp;t&&finishOperation(t,function(e){for(var t=0;t=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new fe(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function endOperation_R2(e){var t=e.cm,n=t.display;e.updatedDisplay&&updateHeightsInViewport(t),e.barMeasure=measureForScrollbars(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=measureChar(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+scrollGap(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-displayWidth(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function endOperation_W2(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeftt)&&(o.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=o.viewTo)F&&visualLineNo(e.doc,t)o.viewFrom?resetView(e):(o.viewFrom+=r,o.viewTo+=r);else if(t<=o.viewFrom&&n>=o.viewTo)resetView(e);else if(t<=o.viewFrom){var i=viewCuttingPoint(e,n,n+r,1);i?(o.view=o.view.slice(i.index),o.viewFrom=i.lineN,o.viewTo+=r):resetView(e)}else if(n>=o.viewTo){var a=viewCuttingPoint(e,t,t,-1);a?(o.view=o.view.slice(0,a.index),o.viewTo=a.lineN):resetView(e)}else{var s=viewCuttingPoint(e,t,t,-1),l=viewCuttingPoint(e,n,n+r,1);s&&l?(o.view=o.view.slice(0,s.index).concat(buildViewArray(e,s.lineN,l.lineN)).concat(o.view.slice(l.index)),o.viewTo+=r):resetView(e)}var c=o.externalMeasured;c&&(n=o.lineN&&t=r.viewTo)){var i=r.view[findViewIndex(e,t)];if(null!=i.node){var a=i.changes||(i.changes=[]);-1==indexOf(a,n)&&a.push(n)}}}function resetView(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function viewCuttingPoint(e,t,n,r){var o,i=findViewIndex(e,t),a=e.display.view;if(!F||n==e.doc.first+e.doc.size)return{index:i,lineN:n};for(var s=e.display.viewFrom,l=0;l0){if(i==a.length-1)return null;o=s+a[i].size-t,i++}else o=s-t;t+=o,n+=o}for(;visualLineNo(e.doc,n)!=n;){if(i==(r<0?0:a.length-1))return null;n+=r*a[i-(r<0?1:0)].size,i+=r}return{index:i,lineN:n}}function adjustView(e,t,n){var r=e.display,o=r.view;0==o.length||t>=r.viewTo||n<=r.viewFrom?(r.view=buildViewArray(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=buildViewArray(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,findViewIndex(e,n)))),r.viewTo=n}function countDirtyView(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo)){var n=+new Date+e.options.workTime,r=getContextBefore(e,t.highlightFrontier),o=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),function(i){if(r.line>=e.display.viewFrom){var a=i.styles,s=i.text.length>e.options.maxHighlightLength?copyState(t.mode,r.state):null,l=highlightLine(e,i,r,!0);s&&(r.state=s),i.styles=l.styles;var c=i.styleClasses,u=l.classes;u?i.styleClasses=u:c&&(i.styleClasses=null);for(var d=!a||a.length!=i.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),p=0;!d&&pn)return startWorker(e,e.options.workDelay),!0}),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),o.length&&runInOp(e,function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==countDirtyView(e))return!1;maybeUpdateLineNumberWidth(e)&&(resetView(e),t.dims=getDimensions(e));var o=r.first+r.size,i=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(o,t.visible.to+e.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(o,n.viewTo)),F&&(i=visualLineNo(e.doc,i),a=visualLineEndNo(e.doc,a));var s=i!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;adjustView(e,i,a),n.viewOffset=heightAtLine(getLine(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var l=countDirtyView(e);if(!s&&0==l&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=selectionSnapshot(e);return l>4&&(n.lineDiv.style.display="none"),patchDisplay(e,n.updateLineNumbers,t.dims),l>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,restoreSelection(c),removeChildren(n.cursorDiv),removeChildren(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,startWorker(e,400)),n.updateLineNumbers=null,!0}function postUpdateDisplay(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=displayWidth(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+paddingVert(e.display)-displayHeight(e),n.top)}),t.visible=visibleLines(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&updateDisplayIfNeeded(e,t);r=!1){updateHeightsInViewport(e);var o=measureForScrollbars(e);updateSelection(e),updateScrollbars(e,o),setDocumentHeight(e,o),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function updateDisplaySimple(e,t){var n=new fe(e,t);if(updateDisplayIfNeeded(e,n)){updateHeightsInViewport(e),postUpdateDisplay(e,n);var r=measureForScrollbars(e);updateSelection(e),updateScrollbars(e,r),setDocumentHeight(e,r),n.finish()}}function patchDisplay(e,t,n){var r=e.display,o=e.options.lineNumbers,i=r.lineDiv,a=i.firstChild;function rm(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var s=r.view,c=r.viewFrom,u=0;u-1&&(p=!1),updateLineForChanges(e,d,c,n)),p&&(removeChildren(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(lineNumberFor(e.options,c)))),a=d.node.nextSibling}else{var h=buildLineElement(e,d,c,n);i.insertBefore(h,a)}c+=d.size}for(;a;)a=rm(a)}function updateGutterSpace(e){var t=e.display.gutters.offsetWidth;e.display.sizer.style.marginLeft=t+"px"}function setDocumentHeight(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+scrollGap(e)+"px"}function updateGutters(e){var t=e.display.gutters,n=e.options.gutters;removeChildren(t);for(var r=0;r-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}fe.prototype.signal=function(e,t){hasHandler(e,t)&&this.events.push(arguments)},fe.prototype.finish=function(){for(var e=0;es.clientWidth,u=s.scrollHeight>s.clientHeight;if(o&&c||i&&u){if(i&&y&&l)e:for(var p=t.target,h=a.view;p!=s;p=p.parentNode)for(var f=0;f=0&&cmp(e,r.to())<=0)return n}return-1};var ye=function(e,t){this.anchor=e,this.head=t};function normalizeSelection(e,t,n){var r=e&&e.options.selectionsMayTouch,o=t[n];t.sort(function(e,t){return cmp(e.from(),t.from())}),n=indexOf(t,o);for(var i=1;i0:l>=0){var c=minPos(s.from(),a.from()),u=maxPos(s.to(),a.to()),d=s.empty()?a.from()==a.head:s.from()==s.head;i<=n&&--n,t.splice(--i,2,new ye(d?u:c,d?c:u))}}return new ve(t,n)}function simpleSelection(e,t){return new ve([new ye(e,t||e)],0)}function changeEnd(e){return e.text?Pos(e.from.line+e.text.length-1,lst(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function adjustForChange(e,t){if(cmp(e,t.from)<0)return e;if(cmp(e,t.to)<=0)return changeEnd(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=changeEnd(t).ch-t.to.ch),Pos(n,r)}function computeSelAfterChange(e,t){for(var n=[],r=0;r1&&e.remove(o.line+1,d-1),e.insert(o.line+1,f)}signalLater(e,"change",e,t)}function linkedDocs(e,t,n){!function propagate(e,r,o){if(e.linked)for(var i=0;i1&&!e.done[e.done.length-2].ranges?(e.done.pop(),lst(e.done)):void 0}function addChangeToHistory(e,t,n,r){var o=e.history;o.undone.length=0;var i,a,s=+new Date;if((o.lastOp==r||o.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&o.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(i=lastChangeEvent(o,o.lastOp==r)))a=lst(i.changes),0==cmp(t.from,t.to)&&0==cmp(t.from,a.to)?a.to=changeEnd(t):i.changes.push(historyChangeFromChange(e,t));else{var l=lst(o.done);for(l&&l.ranges||pushSelectionToHistory(e.sel,o.done),i={changes:[historyChangeFromChange(e,t)],generation:o.generation},o.done.push(i);o.done.length>o.undoDepth;)o.done.shift(),o.done[0].ranges||o.done.shift()}o.done.push(n),o.generation=++o.maxGeneration,o.lastModTime=o.lastSelTime=s,o.lastOp=o.lastSelOp=r,o.lastOrigin=o.lastSelOrigin=t.origin,a||signal(e,"historyAdded")}function selectionEventCanBeMerged(e,t,n,r){var o=t.charAt(0);return"*"==o||"+"==o&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function addSelectionToHistory(e,t,n,r){var o=e.history,i=r&&r.origin;n==o.lastSelOp||i&&o.lastSelOrigin==i&&(o.lastModTime==o.lastSelTime&&o.lastOrigin==i||selectionEventCanBeMerged(e,i,lst(o.done),t))?o.done[o.done.length-1]=t:pushSelectionToHistory(t,o.done),o.lastSelTime=+new Date,o.lastSelOrigin=i,o.lastSelOp=n,r&&!1!==r.clearRedo&&clearSelectionEvents(o.undone)}function pushSelectionToHistory(e,t){var n=lst(t);n&&n.ranges&&n.equals(e)||t.push(e)}function attachLocalSpans(e,t,n,r){var o=t["spans_"+e.id],i=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),function(n){n.markedSpans&&((o||(o=t["spans_"+e.id]={}))[i]=n.markedSpans),++i})}function removeClearedSpans(e){if(!e)return null;for(var t,n=0;n-1&&(lst(s)[d]=c[d],delete c[d])}}}return r}function extendRange(e,t,n,r){if(r){var o=e.anchor;if(n){var i=cmp(t,o)<0;i!=cmp(n,o)<0?(o=t,t=n):i!=cmp(t,n)<0&&(t=n)}return new ye(o,t)}return new ye(n||t,t)}function extendSelection(e,t,n,r,o){null==o&&(o=e.cm&&(e.cm.display.shift||e.extend)),setSelection(e,new ve([extendRange(e.sel.primary(),t,n,o)],0),r)}function extendSelections(e,t,n){for(var r=[],o=e.cm&&(e.cm.display.shift||e.extend),i=0;i=t.ch:s.to>t.ch))){if(o&&(signal(l,"beforeCursorEnter"),l.explicitlyCleared)){if(i.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var c=l.find(r<0?1:-1),u=void 0;if((r<0?l.inclusiveRight:l.inclusiveLeft)&&(c=movePos(e,c,-r,c&&c.line==t.line?i:null)),c&&c.line==t.line&&(u=cmp(c,n))&&(r<0?u<0:u>0))return skipAtomicInner(e,c,t,r,o)}var d=l.find(r<0?-1:1);return(r<0?l.inclusiveLeft:l.inclusiveRight)&&(d=movePos(e,d,r,d.line==t.line?i:null)),d?skipAtomicInner(e,d,t,r,o):null}}return t}function skipAtomic(e,t,n,r,o){var i=r||1,a=skipAtomicInner(e,t,n,i,o)||!o&&skipAtomicInner(e,t,n,i,!0)||skipAtomicInner(e,t,n,-i,o)||!o&&skipAtomicInner(e,t,n,-i,!0);return a||(e.cantEdit=!0,Pos(e.first,0))}function movePos(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?clipPos(e,Pos(t.line-1)):null:n>0&&t.ch==(r||getLine(e,t.line)).text.length?t.line=0;--o)makeChangeInner(e,{from:r[o].from,to:r[o].to,text:o?[""]:t.text,origin:t.origin});else makeChangeInner(e,t)}}function makeChangeInner(e,t){if(1!=t.text.length||""!=t.text[0]||0!=cmp(t.from,t.to)){var n=computeSelAfterChange(e,t);addChangeToHistory(e,t,n,e.cm?e.cm.curOp.id:NaN),makeChangeSingleDoc(e,t,n,stretchSpansOverChange(e,t));var r=[];linkedDocs(e,function(e,n){n||-1!=indexOf(r,e.history)||(rebaseHist(e.history,t),r.push(e.history)),makeChangeSingleDoc(e,t,null,stretchSpansOverChange(e,t))})}}function makeChangeFromHistory(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var o,i=e.history,a=e.sel,s="undo"==t?i.done:i.undone,l="undo"==t?i.undone:i.done,c=0;c=0;--h){var f=p(h);if(f)return f.v}}}}function shiftDoc(e,t){if(0!=t&&(e.first+=t,e.sel=new ve(map(e.sel.ranges,function(e){return new ye(Pos(e.anchor.line+t,e.anchor.ch),Pos(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){regChange(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.linei&&(t={from:t.from,to:Pos(i,getLine(e,i).text.length),text:[t.text[0]],origin:t.origin}),t.removed=getBetween(e,t.from,t.to),n||(n=computeSelAfterChange(e,t)),e.cm?makeChangeSingleDocInEditor(e.cm,t,r):updateDoc(e,t,r),setSelectionNoUndo(e,n,A)}}function makeChangeSingleDocInEditor(e,t,n){var r=e.doc,o=e.display,i=t.from,a=t.to,s=!1,l=i.line;e.options.lineWrapping||(l=lineNo(visualLine(getLine(r,i.line))),r.iter(l,a.line+1,function(e){if(e==o.maxLine)return s=!0,!0})),r.sel.contains(t.from,t.to)>-1&&signalCursorActivity(e),updateDoc(r,t,n,estimateHeight(e)),e.options.lineWrapping||(r.iter(l,i.line+t.text.length,function(e){var t=lineLength(e);t>o.maxLineLength&&(o.maxLine=e,o.maxLineLength=t,o.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0)),retreatFrontier(r,i.line),startWorker(e,400);var c=t.text.length-(a.line-i.line)-1;t.full?regChange(e):i.line!=a.line||1!=t.text.length||isWholeLineUpdate(e.doc,t)?regChange(e,i.line,a.line+1,c):regLineChange(e,i.line,"text");var u=hasHandler(e,"changes"),d=hasHandler(e,"change");if(d||u){var p={from:i,to:a,text:t.text,removed:t.removed,origin:t.origin};d&&signalLater(e,"change",e,p),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p)}e.display.selForContextMenu=null}function replaceRange(e,t,n,r,o){var i;r||(r=n),cmp(r,n)<0&&(n=(i=[r,n])[0],r=i[1]),"string"==typeof t&&(t=e.splitLines(t)),makeChange(e,{from:n,to:r,text:t,origin:o})}function rebaseHistSelSingle(e,t,n,r){n1||!(this.children[0]instanceof LeafChunk))){var s=[];this.collapse(s),this.children=[new LeafChunk(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var a=o.lines.length%25+25,s=a;s10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r0||0==a&&!1!==i.clearWhenEmpty)return i;if(i.replacedWith&&(i.collapsed=!0,i.widgetNode=eltP("span",[i.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||i.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(i.widgetNode.insertLeft=!0)),i.collapsed){if(conflictingCollapsedRange(e,t.line,t,n,i)||t.line!=n.line&&conflictingCollapsedRange(e,n.line,t,n,i))throw new Error("Inserting collapsed marker partially overlapping an existing one");F=!0}i.addToHistory&&addChangeToHistory(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,function(e){c&&i.collapsed&&!c.options.lineWrapping&&visualLine(e)==c.display.maxLine&&(s=!0),i.collapsed&&l!=t.line&&updateLineHeight(e,0),addMarkedSpan(e,new MarkedSpan(i,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l}),i.collapsed&&e.iter(t.line,n.line+1,function(t){lineIsHidden(e,t)&&updateLineHeight(t,0)}),i.clearOnEnter&&V(i,"beforeCursorEnter",function(){return i.clear()}),i.readOnly&&(I=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),i.collapsed&&(i.id=++xe,i.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),i.collapsed)regChange(c,t.line,n.line+1);else if(i.className||i.startStyle||i.endStyle||i.css||i.attributes||i.title)for(var u=t.line;u<=n.line;u++)regLineChange(c,u,"text");i.atomic&&reCheckSelection(c.doc),signalLater(c,"markerAdded",c,i)}return i}Ce.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&startOperation(e),hasHandler(this,"clear")){var n=this.find();n&&signalLater(this,"clear",n.from,n.to)}for(var r=null,o=null,i=0;ie.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&®Change(e,r,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&reCheckSelection(e.doc)),e&&signalLater(e,"markerCleared",e,this,r,o),t&&endOperation(e),this.parent&&this.parent.clear()}},Ce.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var o=0;o=0;l--)makeChange(this,r[l]);s?setSelectionReplaceHistory(this,s):this.cm&&ensureCursorVisible(this.cm)}),undo:docMethodOp(function(){makeChangeFromHistory(this,"undo")}),redo:docMethodOp(function(){makeChangeFromHistory(this,"redo")}),undoSelection:docMethodOp(function(){makeChangeFromHistory(this,"undo",!0)}),redoSelection:docMethodOp(function(){makeChangeFromHistory(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(o.marker.parent||o.marker)}return t},findMarks:function(e,t,n){e=clipPos(this,e),t=clipPos(this,t);var r=[],o=e.line;return this.iter(e.line,t.line+1,function(i){var a=i.markedSpans;if(a)for(var s=0;s=l.to||null==l.from&&o!=e.line||null!=l.from&&o==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++o}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=i,++n}),clipPos(this,Pos(n,t))},indexFromPos:function(e){var t=(e=clipPos(this,e)).ch;if(e.linet&&(t=e.from),null!=e.to&&e.to-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var u=e.dataTransfer.getData("Text");if(u){var d;if(t.state.draggingText&&!t.state.draggingText.copy&&(d=t.listSelections()),setSelectionNoUndo(t.doc,simpleSelection(n,n)),d)for(var p=0;p=0;t--)replaceRange(e.doc,"",r[t].from,r[t].to,"+delete");ensureCursorVisible(e)})}function moveCharLogically(e,t,n){var r=skipExtendingChars(e.text,t+n,n);return r<0||r>e.text.length?null:r}function moveLogically(e,t,n){var r=moveCharLogically(e,t.ch,n);return null==r?null:new Pos(t.line,r,n<0?"after":"before")}function endOfLine(e,t,n,r,o){if(e){var i=getOrder(n,t.doc.direction);if(i){var a,s=o<0?lst(i):i[0],l=o<0==(1==s.level),c=l?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var u=prepareMeasureForLine(t,n);a=o<0?n.text.length-1:0;var d=measureCharPrepared(t,u,a).top;a=findFirst(function(e){return measureCharPrepared(t,u,e).top==d},o<0==(1==s.level)?s.from:s.to-1,a),"before"==c&&(a=moveCharLogically(n,a,1))}else a=o<0?s.to:s.from;return new Pos(r,a,c)}}return new Pos(r,o<0?n.text.length:0,o<0?"before":"after")}function moveVisually(e,t,n,r){var o=getOrder(t,e.doc.direction);if(!o)return moveLogically(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var i=getBidiPartAt(o,n.ch,n.sticky),a=o[i];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from=a.from&&p>=u.begin)){var h=d?"before":"after";return new Pos(n.line,p,h)}}var f=function(e,t,r){for(var i=function(e,t){return t?new Pos(n.line,l(e,1),"before"):new Pos(n.line,e,"after")};e>=0&&e0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c0?u.end:l(u.begin,-1);return null==m||r>0&&m==t.text.length||!(g=f(r>0?0:o.length-1,r,c(m)))?null:g}Ne.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ne.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ne.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ne.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ne.default=y?Ne.macDefault:Ne.pcDefault;var De={selectAll:selectAll,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),A)},killLine:function(e){return deleteNearSelection(e,function(t){if(t.empty()){var n=getLine(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)o=new Pos(o.line,o.ch+1),e.replaceRange(i.charAt(o.ch-1)+i.charAt(o.ch-2),Pos(o.line,o.ch-2),o,"+transpose");else if(o.line>e.doc.first){var a=getLine(e.doc,o.line-1).text;a&&(o=new Pos(o.line,1),e.replaceRange(i.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),Pos(o.line-1,a.length-1),o,"+transpose"))}n.push(new ye(o,o))}e.setSelections(n)})},newlineAndIndent:function(e){return runInOp(e,function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r-1&&(cmp((o=s.ranges[o]).from(),t)<0||t.xRel>0)&&(cmp(o.to(),t)>0||t.xRel<0)?leftButtonStartDrag(e,r,t,i):leftButtonSelect(e,r,t,i)}function leftButtonStartDrag(e,t,n,r){var o=e.display,i=!1,c=operation(e,function(t){l&&(o.scroller.draggable=!1),e.state.draggingText=!1,off(o.wrapper.ownerDocument,"mouseup",c),off(o.wrapper.ownerDocument,"mousemove",u),off(o.scroller,"dragstart",d),off(o.scroller,"drop",c),i||(e_preventDefault(t),r.addNew||extendSelection(e.doc,n,null,null,r.extend),l||a&&9==s?setTimeout(function(){o.wrapper.ownerDocument.body.focus(),o.input.focus()},20):o.input.focus())}),u=function(e){i=i||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},d=function(){return i=!0};l&&(o.scroller.draggable=!0),e.state.draggingText=c,c.copy=!r.moveOnDrag,o.scroller.dragDrop&&o.scroller.dragDrop(),V(o.wrapper.ownerDocument,"mouseup",c),V(o.wrapper.ownerDocument,"mousemove",u),V(o.scroller,"dragstart",d),V(o.scroller,"drop",c),delayBlurEvent(e),setTimeout(function(){return o.input.focus()},20)}function rangeForUnit(e,t,n){if("char"==n)return new ye(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new ye(Pos(t.line,0),clipPos(e.doc,Pos(t.line+1,0)));var r=n(e,t);return new ye(r.from,r.to)}function leftButtonSelect(e,t,n,r){var o=e.display,i=e.doc;e_preventDefault(t);var a,s,l=i.sel,c=l.ranges;if(r.addNew&&!r.extend?(s=i.sel.contains(n),a=s>-1?c[s]:new ye(n,n)):(a=i.sel.primary(),s=i.sel.primIndex),"rectangle"==r.unit)r.addNew||(a=new ye(n,n)),n=posFromMouse(e,t,!0,!0),s=-1;else{var u=rangeForUnit(e,n,r.unit);a=r.extend?extendRange(a,u.anchor,u.head,r.extend):u}r.addNew?-1==s?(s=c.length,setSelection(i,normalizeSelection(e,c.concat([a]),s),{scroll:!1,origin:"*mouse"})):c.length>1&&c[s].empty()&&"char"==r.unit&&!r.extend?(setSelection(i,normalizeSelection(e,c.slice(0,s).concat(c.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),l=i.sel):replaceOneSelection(i,s,a,N):(s=0,setSelection(i,new ve([a],0),N),l=i.sel);var d=n;function extendTo(t){if(0!=cmp(d,t))if(d=t,"rectangle"==r.unit){for(var o=[],c=e.options.tabSize,u=countColumn(getLine(i,n.line).text,n.ch,c),p=countColumn(getLine(i,t.line).text,t.ch,c),h=Math.min(u,p),f=Math.max(u,p),g=Math.min(n.line,t.line),m=Math.min(e.lastLine(),Math.max(n.line,t.line));g<=m;g++){var v=getLine(i,g).text,y=findColumn(v,h,c);h==f?o.push(new ye(Pos(g,y),Pos(g,y))):v.length>y&&o.push(new ye(Pos(g,y),Pos(g,findColumn(v,f,c))))}o.length||o.push(new ye(n,n)),setSelection(i,normalizeSelection(e,l.ranges.slice(0,s).concat(o),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b,x=a,C=rangeForUnit(e,t,r.unit),w=x.anchor;cmp(C.anchor,w)>0?(b=C.head,w=minPos(x.from(),C.anchor)):(b=C.anchor,w=maxPos(x.to(),C.head));var S=l.ranges.slice(0);S[s]=bidiSimplify(e,new ye(clipPos(i,w),b)),setSelection(i,normalizeSelection(e,S,s),N)}}var p=o.wrapper.getBoundingClientRect(),h=0;function extend(t){var n=++h,a=posFromMouse(e,t,!0,"rectangle"==r.unit);if(a)if(0!=cmp(a,d)){e.curOp.focus=activeElt(),extendTo(a);var s=visibleLines(o,i);(a.line>=s.to||a.linep.bottom?20:0;l&&setTimeout(operation(e,function(){h==n&&(o.scroller.scrollTop+=l,extend(t))}),50)}}function done(t){e.state.selectingText=!1,h=1/0,e_preventDefault(t),o.input.focus(),off(o.wrapper.ownerDocument,"mousemove",f),off(o.wrapper.ownerDocument,"mouseup",g),i.history.lastSelOrigin=null}var f=operation(e,function(e){0!==e.buttons&&e_button(e)?extend(e):done(e)}),g=operation(e,done);e.state.selectingText=g,V(o.wrapper.ownerDocument,"mousemove",f),V(o.wrapper.ownerDocument,"mouseup",g)}function bidiSimplify(e,t){var n=t.anchor,r=t.head,o=getLine(e.doc,n.line);if(0==cmp(n,r)&&n.sticky==r.sticky)return t;var i=getOrder(o);if(!i)return t;var a=getBidiPartAt(i,n.ch,n.sticky),s=i[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,c=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==i.length)return t;if(r.line!=n.line)l=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=getBidiPartAt(i,r.ch,r.sticky),d=u-a||(r.ch-n.ch)*(1==s.level?-1:1);l=u==c-1||u==c?d<0:d>0}var p=i[c+(l?-1:0)],h=l==(1==p.level),f=h?p.from:p.to,g=h?"after":"before";return n.ch==f&&n.sticky==g?t:new ye(new Pos(n.line,f,g),r)}function gutterEvent(e,t,n,r){var o,i;if(t.touches)o=t.touches[0].clientX,i=t.touches[0].clientY;else try{o=t.clientX,i=t.clientY}catch(t){return!1}if(o>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&e_preventDefault(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(i>s.bottom||!hasHandler(e,n))return e_defaultPrevented(t);i-=s.top-a.viewOffset;for(var l=0;l=o){var u=lineAtHeight(e.doc,i),d=e.options.gutters[l];return signal(e,n,e,u,d,t),e_defaultPrevented(t)}}}function clickInGutter(e,t){return gutterEvent(e,t,"gutterClick",!0)}function onContextMenu(e,t){eventInWidget(e.display,t)||contextMenuInGutter(e,t)||signalDOMEvent(e,t,"contextmenu")||S||e.display.input.onContextMenu(t)}function contextMenuInGutter(e,t){return!!hasHandler(e,"gutterContextMenu")&&gutterEvent(e,t,"gutterContextMenu",!1)}function themeChanged(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),clearCaches(e)}Fe.prototype.compare=function(e,t,n){return this.time+400>e&&0==cmp(t,this.pos)&&n==this.button};var Be={toString:function(){return"CodeMirror.Init"}},ze={},Re={};function guttersChanged(e){updateGutters(e),regChange(e),alignHorizontally(e)}function dragDropChanged(e,t,n){var r=n&&n!=Be;if(!t!=!r){var o=e.display.dragFunctions,i=t?V:off;i(e.display.scroller,"dragstart",o.start),i(e.display.scroller,"dragenter",o.enter),i(e.display.scroller,"dragover",o.over),i(e.display.scroller,"dragleave",o.leave),i(e.display.scroller,"drop",o.drop)}}function wrappingChanged(e){e.options.lineWrapping?(addClass(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(L(e.display.wrapper,"CodeMirror-wrap"),findMaxLine(e)),estimateLineHeights(e),regChange(e),clearCaches(e),setTimeout(function(){return updateScrollbars(e)},100)}function CodeMirror(e,t){var n=this;if(!(this instanceof CodeMirror))return new CodeMirror(e,t);this.options=t=t?copyObj(t):{},copyObj(ze,t,!1),setGuttersForLineNumbers(t);var r=t.value;"string"==typeof r?r=new ke(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var o=new CodeMirror.inputStyles[t.inputStyle](this),i=this.display=new Display(e,r,o);for(var c in i.wrapper.CodeMirror=this,updateGutters(this),themeChanged(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),initScrollbars(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new T,keySeq:null,specialChars:null},t.autofocus&&!v&&i.input.focus(),a&&s<11&&setTimeout(function(){return n.display.input.reset(!0)},20),registerEventHandlers(this),Me||(registerGlobalHandlers(),Me=!0),startOperation(this),this.curOp.forceUpdate=!0,attachDoc(this,r),t.autofocus&&!v||this.hasFocus()?setTimeout(bind(onFocus,this),20):onBlur(this),Re)Re.hasOwnProperty(c)&&Re[c](n,t[c],Be);maybeUpdateLineNumberWidth(this),t.finishInit&&t.finishInit(this);for(var u=0;u400}V(t.scroller,"touchstart",function(o){if(!signalDOMEvent(e,o)&&!isMouseLikeTouchEvent(o)&&!clickInGutter(e,o)){t.input.ensurePolled(),clearTimeout(n);var i=+new Date;t.activeTouch={start:i,moved:!1,prev:i-r.end<=300?r:null},1==o.touches.length&&(t.activeTouch.left=o.touches[0].pageX,t.activeTouch.top=o.touches[0].pageY)}}),V(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),V(t.scroller,"touchend",function(n){var r=t.activeTouch;if(r&&!eventInWidget(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var o,i=e.coordsChar(t.activeTouch,"page");o=!r.prev||farAway(r,r.prev)?new ye(i,i):!r.prev.prev||farAway(r,r.prev.prev)?e.findWordAt(i):new ye(Pos(i.line,0),clipPos(e.doc,Pos(i.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),e_preventDefault(n)}finishTouch()}),V(t.scroller,"touchcancel",finishTouch),V(t.scroller,"scroll",function(){t.scroller.clientHeight&&(updateScrollTop(e,t.scroller.scrollTop),setScrollLeft(e,t.scroller.scrollLeft,!0),signal(e,"scroll",e))}),V(t.scroller,"mousewheel",function(t){return onScrollWheel(e,t)}),V(t.scroller,"DOMMouseScroll",function(t){return onScrollWheel(e,t)}),V(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(t){signalDOMEvent(e,t)||e_stop(t)},over:function(t){signalDOMEvent(e,t)||(onDragOver(e,t),e_stop(t))},start:function(t){return onDragStart(e,t)},drop:operation(e,onDrop),leave:function(t){signalDOMEvent(e,t)||clearDragCursor(e)}};var o=t.input.getField();V(o,"keyup",function(t){return onKeyUp.call(e,t)}),V(o,"keydown",operation(e,onKeyDown)),V(o,"keypress",operation(e,onKeyPress)),V(o,"focus",function(t){return onFocus(e,t)}),V(o,"blur",function(t){return onBlur(e,t)})}CodeMirror.defaults=ze,CodeMirror.optionHandlers=Re;var Ve=[];function indentLine(e,t,n,r){var o,i=e.doc;null==n&&(n="add"),"smart"==n&&(i.mode.indent?o=getContextBefore(e,t).state:n="prev");var a=e.options.tabSize,s=getLine(i,t),l=countColumn(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&((c=i.mode.indent(o,s.text.slice(u.length),s.text))==P||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>i.first?countColumn(getLine(i,t-1).text,null,a):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var d="",p=0;if(e.options.indentWithTabs)for(var h=Math.floor(c/a);h;--h)p+=a,d+="\t";if(p1)if(Ue&&Ue.text.join("\n")==t){if(r.ranges.length%Ue.text.length==0){l=[];for(var c=0;c=0;d--){var p=r.ranges[d],h=p.from(),f=p.to();p.empty()&&(n&&n>0?h=Pos(h.line,h.ch-n):e.state.overwrite&&!a?f=Pos(f.line,Math.min(getLine(i,f.line).text.length,f.ch+lst(s).length)):a&&Ue&&Ue.lineWise&&Ue.text.join("\n")==t&&(h=f=Pos(h.line,0)));var g={from:h,to:f,text:l?l[d%l.length]:s,origin:o||(a?"paste":e.state.cutIncoming?"cut":"+input")};makeChange(e.doc,g),signalLater(e,"inputRead",e,g)}t&&!a&&triggerElectric(e,t),ensureCursorVisible(e),e.curOp.updateInput<2&&(e.curOp.updateInput=u),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function handlePaste(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||runInOp(t,function(){return applyTextInput(t,n,0,null,"paste")}),!0}function triggerElectric(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var o=n.ranges[r];if(!(o.head.ch>100||r&&n.ranges[r-1].head.line==o.head.line)){var i=e.getModeAt(o.head),a=!1;if(i.electricChars){for(var s=0;s-1){a=indentLine(e,o.head.line,"smart");break}}else i.electricInput&&i.electricInput.test(getLine(e.doc,o.head.line).text.slice(0,o.head.ch))&&(a=indentLine(e,o.head.line,"smart"));a&&signalLater(e,"electricInput",e,o.head.line)}}}function copyableRanges(e){for(var t=[],n=[],r=0;r=e.first+e.size||(t=new Pos(a,t.ch,t.sticky),!(s=getLine(e,a)))))return!1;t=endOfLine(o,e.cm,s,t.line,n)}else t=i;return!0}if("char"==r)moveOnce();else if("column"==r)moveOnce(!0);else if("word"==r||"group"==r)for(var l=null,c="group"==r,u=e.cm&&e.cm.getHelper(t,"wordChars"),d=!0;!(n<0)||moveOnce(!d);d=!1){var p=s.text.charAt(t.ch)||"\n",h=isWordChar(p,u)?"w":c&&"\n"==p?"n":!c||/\s/.test(p)?null:"p";if(!c||d||h||(h="s"),l&&l!=h){n<0&&(n=1,moveOnce(),t.sticky="after");break}if(h&&(l=h),n>0&&!moveOnce(!d))break}var f=skipAtomic(e,t,i,a,!0);return equalCursorPos(i,f)&&(f.hitSide=!0),f}function findPosV(e,t,n,r){var o,i,a=e.doc,s=t.left;if("page"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*textHeight(e.display),3);o=(n>0?t.bottom:t.top)+n*c}else"line"==r&&(o=n>0?t.bottom+3:t.top-3);for(;(i=coordsChar(e,s,o)).outside;){if(n<0?o<=0:o>=a.height){i.hitSide=!0;break}o+=5*n}return i}var je=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new T,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function posToDOM(e,t){var n=findViewForLine(e,t.line);if(!n||n.hidden)return null;var r=getLine(e.doc,t.line),o=mapFromLineView(n,r,t.line),i=getOrder(r,e.doc.direction),a="left";if(i){var s=getBidiPartAt(i,t.ch);a=s%2?"right":"left"}var l=nodeAndOffsetInLineMap(o.map,t.ch,a);return l.offset="right"==l.collapse?l.end:l.start,l}function isInGutter(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function badPos(e,t){return t&&(e.bad=!0),e}function domTextBetween(e,t,n,r,o){var i="",a=!1,s=e.doc.lineSeparator(),l=!1;function close(){a&&(i+=s,l&&(i+=s),a=l=!1)}function addText(e){e&&(close(),i+=e)}function walk(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void addText(n);var i,c=t.getAttribute("cm-marker");if(c){var u=e.findMarks(Pos(r,0),Pos(o+1,0),(h=+c,function(e){return e.id==h}));return void(u.length&&(i=u[0].find(0))&&addText(getBetween(e.doc,i.from,i.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var d=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;d&&close();for(var p=0;p=t.display.viewTo||i.line=t.display.viewFrom&&posToDOM(t,o)||{node:l[0].measure.map[2],offset:0},u=i.liner.firstLine()&&(a=Pos(a.line-1,getLine(r.doc,a.line-1).length)),s.ch==getLine(r.doc,s.line).text.length&&s.lineo.viewTo-1)return!1;a.line==o.viewFrom||0==(e=findViewIndex(r,a.line))?(t=lineNo(o.view[0].line),n=o.view[0].node):(t=lineNo(o.view[e].line),n=o.view[e-1].node.nextSibling);var l,c,u=findViewIndex(r,s.line);if(u==o.view.length-1?(l=o.viewTo-1,c=o.lineDiv.lastChild):(l=lineNo(o.view[u+1].line)-1,c=o.view[u+1].node.previousSibling),!n)return!1;for(var d=r.doc.splitLines(domTextBetween(r,n,c,t,l)),p=getBetween(r.doc,Pos(t,0),Pos(l,getLine(r.doc,l).text.length));d.length>1&&p.length>1;)if(lst(d)==lst(p))d.pop(),p.pop(),l--;else{if(d[0]!=p[0])break;d.shift(),p.shift(),t++}for(var h=0,f=0,g=d[0],m=p[0],v=Math.min(g.length,m.length);ha.ch&&y.charCodeAt(y.length-f-1)==b.charCodeAt(b.length-f-1);)h--,f++;d[d.length-1]=y.slice(0,y.length-f).replace(/^\u200b+/,""),d[0]=d[0].slice(h).replace(/\u200b+$/,"");var C=Pos(t,h),w=Pos(l,p.length?lst(p).length-f:0);return d.length>1||d[0]||cmp(C,w)?(replaceRange(r.doc,d,C,w,"+input"),!0):void 0},je.prototype.ensurePolled=function(){this.forceCompositionEnd()},je.prototype.reset=function(){this.forceCompositionEnd()},je.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},je.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()},80))},je.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||runInOp(this.cm,function(){return regChange(e.cm)})},je.prototype.setUneditable=function(e){e.contentEditable="false"},je.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||operation(this.cm,applyTextInput)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},je.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},je.prototype.onContextMenu=function(){},je.prototype.resetPosition=function(){},je.prototype.needsContentAttribute=!0;var Ge=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new T,this.hasSelection=!1,this.composing=null};Ge.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var o=this.textarea;function prepareCopyCut(e){if(!signalDOMEvent(r,e)){if(r.somethingSelected())setLastCopied({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=copyableRanges(r);setLastCopied({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,A):(n.prevInput="",o.value=t.text.join("\n"),M(o))}"cut"==e.type&&(r.state.cutIncoming=!0)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),g&&(o.style.width="0px"),V(o,"input",function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()}),V(o,"paste",function(e){signalDOMEvent(r,e)||handlePaste(e,r)||(r.state.pasteIncoming=!0,n.fastPoll())}),V(o,"cut",prepareCopyCut),V(o,"copy",prepareCopyCut),V(e.scroller,"paste",function(t){eventInWidget(e,t)||signalDOMEvent(r,t)||(r.state.pasteIncoming=!0,n.focus())}),V(e.lineSpace,"selectstart",function(t){eventInWidget(e,t)||e_preventDefault(t)}),V(o,"compositionstart",function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}}),V(o,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},Ge.prototype.createField=function(e){this.wrapper=hiddenTextarea(),this.textarea=this.wrapper.firstChild},Ge.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=prepareSelection(e);if(e.options.moveInputWithCursor){var o=cursorCoords(e,n.sel.primary().head,"div"),i=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,o.top+a.top-i.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,o.left+a.left-i.left))}return r},Ge.prototype.showSelection=function(e){var t=this.cm,n=t.display;removeChildrenAndAdd(n.cursorDiv,e.cursors),removeChildrenAndAdd(n.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Ge.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&M(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null))}},Ge.prototype.getField=function(){return this.textarea},Ge.prototype.supportsTouch=function(){return!1},Ge.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!v||activeElt()!=this.textarea))try{this.textarea.focus()}catch(e){}},Ge.prototype.blur=function(){this.textarea.blur()},Ge.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ge.prototype.receivedFocus=function(){this.slowPoll()},Ge.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},Ge.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,function p(){var n=t.poll();n||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,p))})},Ge.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||q(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var o=n.value;if(o==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===o||y&&/[\uf700-\uf7ff]/.test(o))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var i=o.charCodeAt(0);if(8203!=i||r||(r="​"),8666==i)return this.reset(),this.cm.execCommand("undo")}for(var l=0,c=Math.min(r.length,o.length);l1e3||o.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=o,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ge.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ge.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},Ge.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,o=t.textarea;t.contextMenuPending&&t.contextMenuPending();var i=posFromMouse(n,e),c=r.scroller.scrollTop;if(i&&!d){var u=n.options.resetSelectionOnContextMenu;u&&-1==n.doc.sel.contains(i)&&operation(n,setSelection)(n.doc,simpleSelection(i),A);var p,h=o.style.cssText,f=t.wrapper.style.cssText,g=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",o.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-g.top-5)+"px; left: "+(e.clientX-g.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(p=window.scrollY),r.input.focus(),l&&window.scrollTo(null,p),r.input.reset(),n.somethingSelected()||(o.value=t.prevInput=" "),t.contextMenuPending=rehide,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&prepareSelectAllHack(),S){e_stop(e);var m=function(){off(window,"mouseup",m),setTimeout(rehide,20)};V(window,"mouseup",m)}else setTimeout(rehide,50)}function prepareSelectAllHack(){if(null!=o.selectionStart){var e=n.somethingSelected(),i="​"+(e?o.value:"");o.value="⇚",o.value=i,t.prevInput=e?"":"​",o.selectionStart=1,o.selectionEnd=i.length,r.selForContextMenu=n.doc.sel}}function rehide(){if(t.contextMenuPending==rehide&&(t.contextMenuPending=!1,t.wrapper.style.cssText=f,o.style.cssText=h,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=o.selectionStart)){(!a||a&&s<9)&&prepareSelectAllHack();var e=0,i=function(){r.selForContextMenu==n.doc.sel&&0==o.selectionStart&&o.selectionEnd>0&&"​"==t.prevInput?operation(n,selectAll)(n):e++<10?r.detectingSelectAll=setTimeout(i,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(i,200)}}},Ge.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},Ge.prototype.setUneditable=function(){},Ge.prototype.needsContentAttribute=!1,function defineOptions(e){var t=e.optionHandlers;function option(n,r,o,i){e.defaults[n]=r,o&&(t[n]=i?function(e,t,n){n!=Be&&o(e,t,n)}:o)}e.defineOption=option,e.Init=Be,option("value","",function(e,t){return e.setValue(t)},!0),option("mode",null,function(e,t){e.doc.modeOption=t,loadMode(e)},!0),option("indentUnit",2,loadMode,!0),option("indentWithTabs",!1),option("smartIndent",!0),option("tabSize",4,function(e){resetModeState(e),clearCaches(e),regChange(e)},!0),option("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter(function(e){for(var o=0;;){var i=e.text.indexOf(t,o);if(-1==i)break;o=i+t.length,n.push(Pos(r,i))}r++});for(var o=n.length-1;o>=0;o--)replaceRange(e.doc,t,n[o],Pos(n[o].line,n[o].ch+t.length))}}),option("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Be&&e.refresh()}),option("specialCharPlaceholder",defaultSpecialCharPlaceholder,function(e){return e.refresh()},!0),option("electricChars",!0),option("inputStyle",v?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),option("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),option("rtlMoveVisually",!x),option("wholeLineUpdateBefore",!0),option("theme","default",function(e){themeChanged(e),guttersChanged(e)},!0),option("keyMap","default",function(e,t,n){var r=getKeyMap(t),o=n!=Be&&getKeyMap(n);o&&o.detach&&o.detach(e,r),r.attach&&r.attach(e,o||null)}),option("extraKeys",null),option("configureMouse",null),option("lineWrapping",!1,wrappingChanged,!0),option("gutters",[],function(e){setGuttersForLineNumbers(e.options),guttersChanged(e)},!0),option("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?compensateForHScroll(e.display)+"px":"0",e.refresh()},!0),option("coverGutterNextToScrollbar",!1,function(e){return updateScrollbars(e)},!0),option("scrollbarStyle","native",function(e){initScrollbars(e),updateScrollbars(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),option("lineNumbers",!1,function(e){setGuttersForLineNumbers(e.options),guttersChanged(e)},!0),option("firstLineNumber",1,guttersChanged,!0),option("lineNumberFormatter",function(e){return e},guttersChanged,!0),option("showCursorWhenSelecting",!1,updateSelection,!0),option("resetSelectionOnContextMenu",!0),option("lineWiseCopyCut",!0),option("pasteLinesPerSelection",!0),option("selectionsMayTouch",!1),option("readOnly",!1,function(e,t){"nocursor"==t&&(onBlur(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),option("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),option("dragDrop",!0,dragDropChanged),option("allowDropFileTypes",null),option("cursorBlinkRate",530),option("cursorScrollMargin",0),option("cursorHeight",1,updateSelection,!0),option("singleCursorHeightPerLine",!0,updateSelection,!0),option("workTime",100),option("workDelay",100),option("flattenSpans",!0,resetModeState,!0),option("addModeClass",!1,resetModeState,!0),option("pollInterval",100),option("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),option("historyEventDelay",1250),option("viewportMargin",10,function(e){return e.refresh()},!0),option("maxHighlightLength",1e4,resetModeState,!0),option("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),option("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),option("autofocus",null),option("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0),option("phrases",null)}(CodeMirror),function addEditorMethods(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,o=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&operation(this,t[e])(this,n,o),signal(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](getKeyMap(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nn&&(indentLine(this,o.head.line,e,!0),n=o.head.line,r==this.doc.sel.primIndex&&ensureCursorVisible(this));else{var i=o.from(),a=o.to(),s=Math.max(n,i.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l0&&replaceOneSelection(this.doc,r,new ye(i,c[r].to()),A)}}}),getTokenAt:function(e,t){return takeToken(this,e,t)},getLineTokens:function(e,t){return takeToken(this,Pos(e),t,!0)},getTokenTypeAt:function(e){e=clipPos(this.doc,e);var t,n=getLineStyles(this,getLine(this.doc,e.line)),r=0,o=(n.length-1)/2,i=e.ch;if(0==i)t=n[2];else for(;;){var a=r+o>>1;if((a?n[2*a-1]:0)>=i)o=a;else{if(!(n[2*a+1]i&&(e=i,o=!0),r=getLine(this.doc,e)}else r=e;return intoCoordSystem(this,r,{top:0,left:0},t||"page",n||o).top+(o?this.doc.height-heightAtLine(r):0)},defaultTextHeight:function(){return textHeight(this.display)},defaultCharWidth:function(){return charWidth(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,o){var i,a,s,l=this.display,c=(e=cursorCoords(this,clipPos(this.doc,e))).bottom,u=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),l.sizer.appendChild(t),"over"==r)c=e.top;else if("above"==r||"near"==r){var d=Math.max(l.wrapper.clientHeight,this.doc.height),p=Math.max(l.sizer.clientWidth,l.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>d)&&e.top>t.offsetHeight?c=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=d&&(c=e.bottom),u+t.offsetWidth>p&&(u=p-t.offsetWidth)}t.style.top=c+"px",t.style.left=t.style.right="","right"==o?(u=l.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==o?u=0:"middle"==o&&(u=(l.sizer.clientWidth-t.offsetWidth)/2),t.style.left=u+"px"),n&&(i=this,a={left:u,top:c,right:u+t.offsetWidth,bottom:c+t.offsetHeight},null!=(s=calculateScrollPos(i,a)).scrollTop&&updateScrollTop(i,s.scrollTop),null!=s.scrollLeft&&setScrollLeft(i,s.scrollLeft))},triggerOnKeyDown:methodOp(onKeyDown),triggerOnKeyPress:methodOp(onKeyPress),triggerOnKeyUp:onKeyUp,triggerOnMouseDown:methodOp(onMouseDown),execCommand:function(e){if(De.hasOwnProperty(e))return De[e].call(null,this)},triggerElectric:methodOp(function(e){triggerElectric(this,e)}),findPosH:function(e,t,n,r){var o=1;t<0&&(o=-1,t=-t);for(var i=clipPos(this.doc,e),a=0;a0&&s(n.charAt(r-1));)--r;for(;o.5)&&estimateLineHeights(this),signal(this,"refresh",this)}),swapDoc:methodOp(function(e){var t=this.doc;return t.cm=null,attachDoc(this,e),clearCaches(this),this.display.input.reset(),scrollToCoords(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,signalLater(this,"swapDoc",this,t),t}),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},eventMixin(e),e.registerHelper=function(t,r,o){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=o},e.registerGlobalHelper=function(t,r,o,i){e.registerHelper(t,r,i),n[t]._global.push({pred:o,val:i})}}(CodeMirror);var _e="iter insert remove copy getEditor constructor".split(" ");for(var Ke in ke.prototype)ke.prototype.hasOwnProperty(Ke)&&indexOf(_e,Ke)<0&&(CodeMirror.prototype[Ke]=function(e){return function(){return e.apply(this.doc,arguments)}}(ke.prototype[Ke]));return eventMixin(ke),CodeMirror.inputStyles={textarea:Ge,contenteditable:je},CodeMirror.defineMode=function(e){CodeMirror.defaults.mode||"null"==e||(CodeMirror.defaults.mode=e),defineMode.apply(this,arguments)},CodeMirror.defineMIME=function defineMIME(e,t){Z[e]=t},CodeMirror.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),CodeMirror.defineMIME("text/plain","null"),CodeMirror.defineExtension=function(e,t){CodeMirror.prototype[e]=t},CodeMirror.defineDocExtension=function(e,t){ke.prototype[e]=t},CodeMirror.fromTextArea=function fromTextArea(e,t){if((t=t?copyObj(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=activeElt();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function save(){e.value=a.getValue()}var r;if(e.form&&(V(e.form,"submit",save),!t.leaveSubmitMethodAlone)){var o=e.form;r=o.submit;try{var i=o.submit=function(){save(),o.submit=r,o.submit(),o.submit=i}}catch(e){}}t.finishInit=function(t){t.save=save,t.getTextArea=function(){return e},t.toTextArea=function(){t.toTextArea=isNaN,save(),e.parentNode.removeChild(t.getWrapperElement()),e.style.display="",e.form&&(off(e.form,"submit",save),"function"==typeof e.form.submit&&(e.form.submit=r))}},e.style.display="none";var a=CodeMirror(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return a},function addLegacyProps(e){e.off=off,e.on=V,e.wheelEventPixels=wheelEventPixels,e.Doc=ke,e.splitLines=K,e.countColumn=countColumn,e.findColumn=findColumn,e.isWordChar=isWordCharBasic,e.Pass=P,e.signal=signal,e.Line=re,e.changeEnd=changeEnd,e.scrollbarModel=pe,e.Pos=Pos,e.cmpPos=cmp,e.modes=$,e.mimeModes=Z,e.resolveMode=resolveMode,e.getMode=getMode,e.modeExtensions=J,e.extendMode=extendMode,e.copyState=copyState,e.startState=startState,e.innerMode=innerMode,e.commands=De,e.keyMap=Ne,e.keyName=keyName,e.isModifierKey=isModifierKey,e.lookupKey=lookupKey,e.normalizeKeyMap=normalizeKeyMap,e.StringStream=Q,e.SharedTextMarker=we,e.TextMarker=Ce,e.LineWidget=be,e.e_preventDefault=e_preventDefault,e.e_stopPropagation=e_stopPropagation,e.e_stop=e_stop,e.addClass=addClass,e.contains=contains,e.rmClass=L,e.keyNames=Te}(CodeMirror),CodeMirror.version="5.42.2",CodeMirror}()},594:function(e,t,n){"use strict";(function(e){var r,o=Object.assign||function(e){for(var t=1;t]*>\s*$/,!1)){for(;l.prev&&!l.startOfLine;)l=l.prev;l.startOfLine?s-=t.indentUnit:a.prev.state.lexical&&(s=a.prev.state.lexical.indented)}else 1==a.depth&&(s+=t.indentUnit);return i.context=new Context(e.startState(o,s),o,0,i.context),null}if(1==a.depth){if("<"==n.peek())return r.skipAttribute(a.state),i.context=new Context(e.startState(r,flatXMLIndent(a.state)),r,0,i.context),null;if(n.match("//"))return n.skipToEnd(),"comment";if(n.match("/*"))return a.depth=2,token(n,i)}var c,u=r.token(n,a.state),d=n.current();return/\btag\b/.test(u)?/>$/.test(d)?a.state.context?a.depth=0:i.context=i.context.prev:/^-1&&n.backUp(d.length-c),u}function jsToken(t,n,i){if("<"==t.peek()&&o.expressionAllowed(t,i.state))return o.skipExpression(i.state),n.context=new Context(e.startState(r,o.indent(i.state,"")),r,0,n.context),null;var a=o.token(t,i.state);if(!a&&null!=i.depth){var s=t.current();"{"==s?i.depth++:"}"==s&&0==--i.depth&&(n.context=n.context.prev)}return a}return{startState:function(){return{context:new Context(e.startState(o),o)}},copyState:function(e){return{context:copyContext(e.context)}},token:token,indent:function(e,t,n){return e.context.mode.indent(e.context.state,t,n)},innerMode:function(e){return e.context}}},"xml","javascript"),e.defineMIME("text/jsx","jsx"),e.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})}(n(593),n(596),n(597))},596:function(e,t,n){!function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(r,o){var i,a,s=r.indentUnit,l={},c=o.htmlMode?t:n;for(var u in c)l[u]=c[u];for(var u in o)l[u]=o[u];function inText(e,t){function chain(n){return t.tokenize=n,n(e,t)}var n=e.next();return"<"==n?e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(i=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket"):"&"==n?(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error":(e.eatWhile(/[^&<]/),null)}function inTag(e,t){var n,r,o=e.next();if(">"==o||"/"==o&&e.eat(">"))return t.tokenize=inText,i=">"==o?"endTag":"selfcloseTag","tag bracket";if("="==o)return i="equals",null;if("<"==o){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var a=t.tokenize(e,t);return a?a+" tag error":"tag error"}return/[\'\"]/.test(o)?(t.tokenize=(n=o,(r=function(e,t){for(;!e.eol();)if(e.next()==n){t.tokenize=inTag;break}return"string"}).isInAttribute=!0,r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=inText;break}n.next()}return e}}function doctype(e){return function(t,n){for(var r;null!=(r=t.next());){if("<"==r)return n.tokenize=doctype(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=inText;break}return n.tokenize=doctype(e-1),n.tokenize(t,n)}}return"meta"}}function Context(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(l.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!l.contextGrabbers.hasOwnProperty(n)||!l.contextGrabbers[n].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,n){return"openTag"==e?(n.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,n){return"word"==e?(n.tagName=t.current(),a="tag",attrState):l.allowMissingTagName&&"endTag"==e?(a="tag bracket",attrState(e,0,n)):(a="error",tagNameState)}function closeTagNameState(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&l.implicitlyClosed.hasOwnProperty(n.context.tagName)&&popContext(n),n.context&&n.context.tagName==r||!1===l.matchClosing?(a="tag",closeState):(a="tag error",closeStateErr)}return l.allowMissingTagName&&"endTag"==e?(a="tag bracket",closeState(e,0,n)):(a="error",closeStateErr)}function closeState(e,t,n){return"endTag"!=e?(a="error",closeState):(popContext(n),baseState)}function closeStateErr(e,t,n){return a="error",closeState(e,0,n)}function attrState(e,t,n){if("word"==e)return a="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,o=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(r)?maybePopContext(n,r):(maybePopContext(n,r),n.context=new Context(n,r,o==n.indented)),baseState}return a="error",attrState}function attrEqState(e,t,n){return"equals"==e?attrValueState:(l.allowMissing||(a="error"),attrState(e,0,n))}function attrValueState(e,t,n){return"string"==e?attrContinuedState:"word"==e&&l.allowUnquoted?(a="string",attrState):(a="error",attrState(e,0,n))}function attrContinuedState(e,t,n){return"string"==e?attrContinuedState:attrState(e,0,n)}return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;i=null;var n=t.tokenize(e,t);return(n||i)&&"comment"!=n&&(a=null,t.state=t.state(i||n,e,t),a&&(n="error"==a?n+" error":a)),n},indent:function(t,n,r){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+s;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==l.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})}(n(593))},597:function(e,t,n){!function(e){"use strict";e.defineMode("javascript",function(t,n){var r,o,i=t.indentUnit,a=n.statementIndent,s=n.jsonld,l=n.json||s,c=n.typescript,u=n.wordCharacters||/[\w$\xa1-\uffff]/,d=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),n=kw("keyword c"),r=kw("keyword d"),o=kw("operator"),i={type:"atom",style:"atom"};return{if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:r,break:r,continue:r,new:kw("new"),delete:n,void:n,throw:n,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:i,false:i,null:i,undefined:i,NaN:i,Infinity:i,this:kw("this"),class:kw("class"),super:kw("atom"),yield:n,export:kw("export"),import:kw("import"),extends:n,await:n}}(),p=/[+\-*&%=<>!?|~^@]/,h=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function readRegexp(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}function ret(e,t,n){return r=e,o=n,t}function tokenBase(e,t){var n,r=e.next();if('"'==r||"'"==r)return t.tokenize=(n=r,function(e,t){var r,o=!1;if(s&&"@"==e.peek()&&e.match(h))return t.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(r=e.next())&&(r!=n||o);)o=!o&&"\\"==r;return o||(t.tokenize=tokenBase),ret("string","string")}),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.match(/^(?:x[\da-f]+|o[0-7]+|b[01]+)n?/i))return ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:n|(?:\.\d*)?(?:[eE][+\-]?\d+)?)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(readRegexp(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(p.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(u.test(r)){e.eatWhile(u);var o=e.current();if("."!=t.lastType){if(d.propertyIsEnumerable(o)){var i=d[o];return ret(i.type,i.style,o)}if("async"==o&&e.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return ret("async","keyword",o)}return ret("variable","variable",o)}}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=tokenBase;break}r="*"==n}return ret("comment","comment")}function tokenQuasi(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=tokenBase;break}r=!r&&"\\"==n}return ret("quasi","string-2",e.current())}var f="([{}])";function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(c){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var o=0,i=!1,a=n-1;a>=0;--a){var s=e.string.charAt(a),l=f.indexOf(s);if(l>=0&&l<3){if(!o){++a;break}if(0==--o){"("==s&&(i=!0);break}}else if(l>=3&&l<6)++o;else if(u.test(s))i=!0;else{if(/["'\/]/.test(s))return;if(i&&!o){++a;break}}}i&&!o&&(t.fatArrowAt=a)}}var g={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function JSLexical(e,t,n,r,o,i){this.indented=e,this.column=t,this.type=n,this.prev=o,this.info=i,null!=r&&(this.align=r)}function inScope(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(var n=r.vars;n;n=n.next)if(n.name==t)return!0}function parseJS(e,t,n,r,o){var i=e.cc;for(m.state=e,m.stream=o,m.marked=null,m.cc=i,m.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){var a=i.length?i.pop():l?expression:statement;if(a(n,r)){for(;i.length&&i[i.length-1].lex;)i.pop()();return m.marked?m.marked:"variable"==n&&inScope(e,r)?"variable-2":t}}}var m={state:null,column:null,marked:null,cc:null};function pass(){for(var e=arguments.length-1;e>=0;e--)m.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function inList(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function register(e){var t=m.state;if(m.marked="def",t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var r=registerVarScoped(e,t.context);if(null!=r)return void(t.context=r)}else if(!inList(e,t.localVars))return void(t.localVars=new Var(e,t.localVars));n.globalVars&&!inList(e,t.globalVars)&&(t.globalVars=new Var(e,t.globalVars))}function registerVarScoped(e,t){if(t){if(t.block){var n=registerVarScoped(e,t.prev);return n?n==t.prev?t:new Context(n,t.vars,!0):null}return inList(e,t.vars)?t:new Context(t.prev,new Var(e,t.vars),!1)}return null}function isModifier(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function Context(e,t,n){this.prev=e,this.vars=t,this.block=n}function Var(e,t){this.name=e,this.next=t}var v=new Var("this",new Var("arguments",null));function pushcontext(){m.state.context=new Context(m.state.context,m.state.localVars,!1),m.state.localVars=v}function pushblockcontext(){m.state.context=new Context(m.state.context,m.state.localVars,!0),m.state.localVars=null}function popcontext(){m.state.localVars=m.state.context.vars,m.state.context=m.state.context.prev}function pushlex(e,t){var n=function(){var n=m.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var o=n.lexical;o&&")"==o.type&&o.align;o=o.prev)r=o.indented;n.lexical=new JSLexical(r,m.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function poplex(){var e=m.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){return function exp(t){return t==e?cont():";"==e||"}"==t||")"==t||"]"==t?pass():cont(exp)}}function statement(e,t){return"var"==e?cont(pushlex("vardef",t),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?m.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),pushblockcontext,block,poplex,popcontext):";"==e?cont():"if"==e?("else"==m.state.lexical.info&&m.state.cc[m.state.cc.length-1]==poplex&&m.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"class"==e||c&&"interface"==t?(m.marked="keyword",cont(pushlex("form"),className,poplex)):"variable"==e?c&&"declare"==t?(m.marked="keyword",cont(statement)):c&&("module"==t||"enum"==t||"type"==t)&&m.stream.match(/^\s*\w/,!1)?(m.marked="keyword","enum"==t?cont(enumdef):"type"==t?cont(typeexpr,expect("operator"),typeexpr,expect(";")):cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex)):c&&"namespace"==t?(m.marked="keyword",cont(pushlex("form"),expression,block,poplex)):c&&"abstract"==t?(m.marked="keyword",cont(statement)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),pushblockcontext,block,poplex,poplex,popcontext):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,maybeCatchBinding,statement,poplex,popcontext):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function maybeCatchBinding(e){if("("==e)return cont(funarg,expect(")"))}function expression(e,t){return expressionInner(e,t,!1)}function expressionNoComma(e,t){return expressionInner(e,t,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t,n){if(m.state.fatArrowAt==m.stream.start){var r=n?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),r,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),r,popcontext)}var o=n?maybeoperatorNoComma:maybeoperatorComma;return g.hasOwnProperty(e)?cont(o):"function"==e?cont(functiondef,o):"class"==e||c&&"interface"==t?(m.marked="keyword",cont(pushlex("form"),classExpression,poplex)):"keyword c"==e||"async"==e?cont(n?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,o):"operator"==e||"spread"==e?cont(n?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,o):"{"==e?contCommasep(objprop,"}",null,o):"quasi"==e?pass(quasi,o):"new"==e?cont(maybeTarget(n)):"import"==e?cont(expression):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,n){var r=0==n?maybeoperatorComma:maybeoperatorNoComma,o=0==n?expression:expressionNoComma;return"=>"==e?cont(pushcontext,n?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(r):c&&"<"==t&&m.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?cont(pushlex(">"),commasep(typeexpr,">"),poplex,r):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,r):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",r):"."==e?cont(property,r):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,r):c&&"as"==t?(m.marked="keyword",cont(typeexpr,r)):"regexp"==e?(m.state.lastType=m.marked="operator",m.stream.backUp(m.stream.pos-m.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return m.marked="string-2",m.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(m.stream,m.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(m.stream,m.state),pass("{"==e?statement:expressionNoComma)}function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}function target(e,t){if("target"==t)return m.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return m.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return m.marked="property",cont()}function objprop(e,t){return"async"==e?(m.marked="property",cont(objprop)):"variable"==e||"keyword"==m.style?(m.marked="property","get"==t||"set"==t?cont(getterSetter):(c&&m.state.fatArrowAt==m.stream.start&&(n=m.stream.match(/^\s*:\s*/,!1))&&(m.state.fatArrowAt=m.stream.pos+n[0].length),cont(afterprop))):"number"==e||"string"==e?(m.marked=s?"property":m.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):c&&isModifier(t)?(m.marked="keyword",cont(objprop)):"["==e?cont(expression,maybetype,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(m.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0;var n}function getterSetter(e){return"variable"!=e?pass(afterprop):(m.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,n){function proceed(r,o){if(n?n.indexOf(r)>-1:","==r){var i=m.state.lexical;return"call"==i.info&&(i.pos=(i.pos||0)+1),cont(function(n,r){return n==t||r==t?pass():pass(e)},proceed)}return r==t||o==t?cont():cont(expect(t))}return function(n,r){return n==t||r==t?cont():pass(e,proceed)}}function contCommasep(e,t,n){for(var r=3;r"),typeexpr):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==m.style?(m.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e,t){return"variable"==e&&m.stream.match(/^\s*[?:]/,!1)||"?"==t?cont(typearg):":"==e?cont(typeexpr):pass(typeexpr)}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e||"&"==t?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t||"implements"==t?(m.marked="keyword",cont(typeexpr)):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(e,t){if("="==t)return cont(typeexpr)}function vardef(e,t){return"enum"==t?(m.marked="keyword",cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return c&&isModifier(t)?(m.marked="keyword",cont(pattern)):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(eltpattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||m.stream.match(/^\s*:/,!1)?("variable"==e&&(m.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():"["==e?cont(expression,expect("]"),expect(":"),proppattern):cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function eltpattern(){return pass(pattern,maybeAssign)}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e,t){return"await"==t?cont(forspec):"("==e?cont(pushlex(")"),forspec1,expect(")"),poplex):void 0}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(m.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(m.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(m.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e?cont(funarg):c&&isModifier(t)?(m.marked="keyword",cont(funarg)):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(m.marked="keyword"),cont(c?typeexpr:expression,classNameAfter)):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&isModifier(t))&&m.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(m.marked="keyword",cont(classBody)):"variable"==e||"keyword"==m.style?(m.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,maybetype,expect("]"),c?classfield:functiondef,classBody):"*"==t?(m.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(m.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(m.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(m.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():"("==e?pass(expression):pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&®ister(t),"*"==t&&(m.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return m.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return m.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function enumdef(){return pass(pushlex("form"),pattern,expect("{"),pushlex("}"),commasep(enummember,"}"),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||p.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}function expressionAllowed(e,t,n){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}return popcontext.lex=!0,poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-i,0,"block",!1),localVars:n.localVars,context:n.localVars&&new Context(null,null,!1),indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==r?n:(t.lastType="operator"!=r||"++"!=o&&"--"!=o?r:"incdec",parseJS(t,n,r,o,e))},indent:function(t,r){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=r&&r.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(r))for(var c=t.cc.length-1;c>=0;--c){var u=t.cc[c];if(u==poplex)l=l.prev;else if(u!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(r));)l=l.prev;a&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var d=l.type,p=s==d;return"vardef"==d?l.indented+("operator"==t.lastType||","==t.lastType?l.info.length+1:0):"form"==d&&"{"==s?l.indented:"form"==d?l.indented+i:"stat"==d?l.indented+(isContinuedStatement(t,r)?a||i:0):"switch"!=l.info||p||0==n.doubleIndentSwitch?l.align?l.column+(p?0:1):l.indented+(p?0:i):l.indented+(/^(?:case|default)\b/.test(r)?i:2*i)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})}(n(593))},598:function(e,t,n){var r=n(599);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(113)(r,o);r.locals&&(e.exports=r.locals)},599:function(e,t,n){(e.exports=n(263)(!1)).push([e.i,"/* BASICS */\n\n.CodeMirror {\n /* Set height, width, borders, and global font properties here */\n font-family: monospace;\n height: 300px;\n color: black;\n direction: ltr;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n padding: 4px 0; /* Vertical padding around content */\n}\n.CodeMirror pre {\n padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n border-right: 1px solid #ddd;\n background-color: #f7f7f7;\n white-space: nowrap;\n}\n.CodeMirror-linenumbers {}\n.CodeMirror-linenumber {\n padding: 0 3px 0 5px;\n min-width: 20px;\n text-align: right;\n color: #999;\n white-space: nowrap;\n}\n\n.CodeMirror-guttermarker { color: black; }\n.CodeMirror-guttermarker-subtle { color: #999; }\n\n/* CURSOR */\n\n.CodeMirror-cursor {\n border-left: 1px solid black;\n border-right: none;\n width: 0;\n}\n/* Shown when moving in bi-directional text */\n.CodeMirror div.CodeMirror-secondarycursor {\n border-left: 1px solid silver;\n}\n.cm-fat-cursor .CodeMirror-cursor {\n width: auto;\n border: 0 !important;\n background: #7e7;\n}\n.cm-fat-cursor div.CodeMirror-cursors {\n z-index: 1;\n}\n.cm-fat-cursor-mark {\n background-color: rgba(20, 255, 20, 0.5);\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n}\n.cm-animate-fat-cursor {\n width: auto;\n border: 0;\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n background-color: #7e7;\n}\n@-moz-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@-webkit-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\n.CodeMirror-overwrite .CodeMirror-cursor {}\n\n.cm-tab { display: inline-block; text-decoration: inherit; }\n\n.CodeMirror-rulers {\n position: absolute;\n left: 0; right: 0; top: -50px; bottom: -20px;\n overflow: hidden;\n}\n.CodeMirror-ruler {\n border-left: 1px solid #ccc;\n top: 0; bottom: 0;\n position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-header {color: blue;}\n.cm-s-default .cm-quote {color: #090;}\n.cm-negative {color: #d44;}\n.cm-positive {color: #292;}\n.cm-header, .cm-strong {font-weight: bold;}\n.cm-em {font-style: italic;}\n.cm-link {text-decoration: underline;}\n.cm-strikethrough {text-decoration: line-through;}\n\n.cm-s-default .cm-keyword {color: #708;}\n.cm-s-default .cm-atom {color: #219;}\n.cm-s-default .cm-number {color: #164;}\n.cm-s-default .cm-def {color: #00f;}\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {}\n.cm-s-default .cm-variable-2 {color: #05a;}\n.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}\n.cm-s-default .cm-comment {color: #a50;}\n.cm-s-default .cm-string {color: #a11;}\n.cm-s-default .cm-string-2 {color: #f50;}\n.cm-s-default .cm-meta {color: #555;}\n.cm-s-default .cm-qualifier {color: #555;}\n.cm-s-default .cm-builtin {color: #30a;}\n.cm-s-default .cm-bracket {color: #997;}\n.cm-s-default .cm-tag {color: #170;}\n.cm-s-default .cm-attribute {color: #00c;}\n.cm-s-default .cm-hr {color: #999;}\n.cm-s-default .cm-link {color: #00c;}\n\n.cm-s-default .cm-error {color: #f00;}\n.cm-invalidchar {color: #f00;}\n\n.CodeMirror-composing { border-bottom: 2px solid; }\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\n.CodeMirror-activeline-background {background: #e8f2ff;}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n position: relative;\n overflow: hidden;\n background: white;\n}\n\n.CodeMirror-scroll {\n overflow: scroll !important; /* Things will break if this is overridden */\n /* 30px is the magic margin used to hide the element's real scrollbars */\n /* See overflow: hidden in .CodeMirror */\n margin-bottom: -30px; margin-right: -30px;\n padding-bottom: 30px;\n height: 100%;\n outline: none; /* Prevent dragging from highlighting the element */\n position: relative;\n}\n.CodeMirror-sizer {\n position: relative;\n border-right: 30px solid transparent;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n before actual scrolling happens, thus preventing shaking and\n flickering artifacts. */\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n position: absolute;\n z-index: 6;\n display: none;\n}\n.CodeMirror-vscrollbar {\n right: 0; top: 0;\n overflow-x: hidden;\n overflow-y: scroll;\n}\n.CodeMirror-hscrollbar {\n bottom: 0; left: 0;\n overflow-y: hidden;\n overflow-x: scroll;\n}\n.CodeMirror-scrollbar-filler {\n right: 0; bottom: 0;\n}\n.CodeMirror-gutter-filler {\n left: 0; bottom: 0;\n}\n\n.CodeMirror-gutters {\n position: absolute; left: 0; top: 0;\n min-height: 100%;\n z-index: 3;\n}\n.CodeMirror-gutter {\n white-space: normal;\n height: 100%;\n display: inline-block;\n vertical-align: top;\n margin-bottom: -30px;\n}\n.CodeMirror-gutter-wrapper {\n position: absolute;\n z-index: 4;\n background: none !important;\n border: none !important;\n}\n.CodeMirror-gutter-background {\n position: absolute;\n top: 0; bottom: 0;\n z-index: 4;\n}\n.CodeMirror-gutter-elt {\n position: absolute;\n cursor: default;\n z-index: 4;\n}\n.CodeMirror-gutter-wrapper ::selection { background-color: transparent }\n.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }\n\n.CodeMirror-lines {\n cursor: text;\n min-height: 1px; /* prevents collapsing before first draw */\n}\n.CodeMirror pre {\n /* Reset some styles that the rest of the page might have set */\n -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;\n border-width: 0;\n background: transparent;\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n white-space: pre;\n word-wrap: normal;\n line-height: inherit;\n color: inherit;\n z-index: 2;\n position: relative;\n overflow: visible;\n -webkit-tap-highlight-color: transparent;\n -webkit-font-variant-ligatures: contextual;\n font-variant-ligatures: contextual;\n}\n.CodeMirror-wrap pre {\n word-wrap: break-word;\n white-space: pre-wrap;\n word-break: normal;\n}\n\n.CodeMirror-linebackground {\n position: absolute;\n left: 0; right: 0; top: 0; bottom: 0;\n z-index: 0;\n}\n\n.CodeMirror-linewidget {\n position: relative;\n z-index: 2;\n padding: 0.1px; /* Force widget margins to stay inside of the container */\n}\n\n.CodeMirror-widget {}\n\n.CodeMirror-rtl pre { direction: rtl; }\n\n.CodeMirror-code {\n outline: none;\n}\n\n/* Force content-box sizing for the elements where we expect it */\n.CodeMirror-scroll,\n.CodeMirror-sizer,\n.CodeMirror-gutter,\n.CodeMirror-gutters,\n.CodeMirror-linenumber {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n}\n\n.CodeMirror-measure {\n position: absolute;\n width: 100%;\n height: 0;\n overflow: hidden;\n visibility: hidden;\n}\n\n.CodeMirror-cursor {\n position: absolute;\n pointer-events: none;\n}\n.CodeMirror-measure pre { position: static; }\n\ndiv.CodeMirror-cursors {\n visibility: hidden;\n position: relative;\n z-index: 3;\n}\ndiv.CodeMirror-dragcursors {\n visibility: visible;\n}\n\n.CodeMirror-focused div.CodeMirror-cursors {\n visibility: visible;\n}\n\n.CodeMirror-selected { background: #d9d9d9; }\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\n.CodeMirror-crosshair { cursor: crosshair; }\n.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\n\n.cm-searching {\n background-color: #ffa;\n background-color: rgba(255, 255, 0, .4);\n}\n\n/* Used to force a border model for a node */\n.cm-force-border { padding-right: .1px; }\n\n@media print {\n /* Hide the cursor when printing */\n .CodeMirror div.CodeMirror-cursors {\n visibility: hidden;\n }\n}\n\n/* See issue #2901 */\n.cm-tab-wrap-hack:after { content: ''; }\n\n/* Help users use markselection to safely style text background */\nspan.CodeMirror-selectedtext { background: none; }\n",""])},600:function(e,t,n){var r=n(601);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(113)(r,o);r.locals&&(e.exports=r.locals)},601:function(e,t,n){(e.exports=n(263)(!1)).push([e.i,"/*\n\n Name: Base16 Default Light\n Author: Chris Kempson (http://chriskempson.com)\n\n CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)\n Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)\n\n*/\n\n.cm-s-base16-light.CodeMirror { background: #f5f5f5; color: #202020; }\n.cm-s-base16-light div.CodeMirror-selected { background: #e0e0e0; }\n.cm-s-base16-light .CodeMirror-line::selection, .cm-s-base16-light .CodeMirror-line > span::selection, .cm-s-base16-light .CodeMirror-line > span > span::selection { background: #e0e0e0; }\n.cm-s-base16-light .CodeMirror-line::-moz-selection, .cm-s-base16-light .CodeMirror-line > span::-moz-selection, .cm-s-base16-light .CodeMirror-line > span > span::-moz-selection { background: #e0e0e0; }\n.cm-s-base16-light .CodeMirror-gutters { background: #f5f5f5; border-right: 0px; }\n.cm-s-base16-light .CodeMirror-guttermarker { color: #ac4142; }\n.cm-s-base16-light .CodeMirror-guttermarker-subtle { color: #b0b0b0; }\n.cm-s-base16-light .CodeMirror-linenumber { color: #b0b0b0; }\n.cm-s-base16-light .CodeMirror-cursor { border-left: 1px solid #505050; }\n\n.cm-s-base16-light span.cm-comment { color: #8f5536; }\n.cm-s-base16-light span.cm-atom { color: #aa759f; }\n.cm-s-base16-light span.cm-number { color: #aa759f; }\n\n.cm-s-base16-light span.cm-property, .cm-s-base16-light span.cm-attribute { color: #90a959; }\n.cm-s-base16-light span.cm-keyword { color: #ac4142; }\n.cm-s-base16-light span.cm-string { color: #f4bf75; }\n\n.cm-s-base16-light span.cm-variable { color: #90a959; }\n.cm-s-base16-light span.cm-variable-2 { color: #6a9fb5; }\n.cm-s-base16-light span.cm-def { color: #d28445; }\n.cm-s-base16-light span.cm-bracket { color: #202020; }\n.cm-s-base16-light span.cm-tag { color: #ac4142; }\n.cm-s-base16-light span.cm-link { color: #aa759f; }\n.cm-s-base16-light span.cm-error { background: #ac4142; color: #505050; }\n\n.cm-s-base16-light .CodeMirror-activeline-background { background: #DDDCDC; }\n.cm-s-base16-light .CodeMirror-matchingbracket { color: #f5f5f5 !important; background-color: #6A9FB5 !important}\n",""])},602:function(e,t,n){"use strict";n.r(t),n.d(t,"Editor",function(){return f});var r=n(1),o=n.n(r),i=n(0),a=n.n(i),s=n(3),l=n(227),c=n.n(l),u=n(594),d=(n(595),Object.assign||function(e){for(var t=1;t=15&&(d=!1,l=!0);var w=y&&(c||d&&(null==C||C<12.11)),S=n||a&&s>=9;function classTest(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var k,rmClass=function(e,t){var n=e.className,r=classTest(t).exec(n);if(r){var o=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(o?r[1]+o:"")}};function removeChildren(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function removeChildrenAndAdd(e,t){return removeChildren(e).appendChild(t)}function elt(e,t,n,r){var o=document.createElement(e);if(n&&(o.className=n),r&&(o.style.cssText=r),"string"==typeof t)o.appendChild(document.createTextNode(t));else if(t)for(var i=0;i=t)return a+(t-i);a+=s-i,a+=n-a%n,i=s+1}}g?selectInput=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(selectInput=function(e){try{e.select()}catch(e){}});var Delayed=function(){this.id=null,this.f=null,this.time=0,this.handler=bind(this.onTimeout,this)};function indexOf(e,t){for(var n=0;n=t)return r+Math.min(a,t-o);if(o+=i-r,r=i+1,(o+=n-o%n)>=t)return r}}var A=[""];function spaceStr(e){for(;A.length<=e;)A.push(lst(A)+" ");return A[e]}function lst(e){return e[e.length-1]}function map(e,t){for(var n=[],r=0;r"€"&&(e.toUpperCase()!=e.toLowerCase()||N.test(e))}function isWordChar(e,t){return t?!!(t.source.indexOf("\\w")>-1&&isWordCharBasic(e))||t.test(e):isWordCharBasic(e)}function isEmpty(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var D=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function isExtendingChar(e){return e.charCodeAt(0)>=768&&D.test(e)}function skipExtendingChars(e,t,n){for(;(n<0?t>0:tn?-1:1;;){if(t==n)return t;var o=(t+n)/2,i=r<0?Math.ceil(o):Math.floor(o);if(i==t)return e(i)?t:n;e(i)?n=i:t=i+r}}var H=null;function getBidiPartAt(e,t,n){var r;H=null;for(var o=0;ot)return o;i.to==t&&(i.from!=i.to&&"before"==n?r=o:H=o),i.from==t&&(i.from!=i.to&&"before"!=n?r=o:H=o)}return null!=r?r:H}var W=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111",n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,r=/[stwN]/,o=/[LRr]/,i=/[Lb1n]/,a=/[1n]/;function BidiSpan(e,t,n){this.level=e,this.from=t,this.to=n}return function(s,l){var c="ltr"==l?"L":"R";if(0==s.length||"ltr"==l&&!n.test(s))return!1;for(var u,d=s.length,p=[],h=0;h-1&&(r[t]=o.slice(0,i).concat(o.slice(i+1)))}}}function signal(e,t){var n=getHandlers(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),o=0;o0}function eventMixin(e){e.prototype.on=function(e,t){on(this,e,t)},e.prototype.off=function(e,t){off(this,e,t)}}function e_preventDefault(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function e_stopPropagation(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function e_defaultPrevented(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function e_stop(e){e_preventDefault(e),e_stopPropagation(e)}function e_target(e){return e.target||e.srcElement}function e_button(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var I,F,B=function(){if(a&&s<9)return!1;var e=elt("div");return"draggable"in e||"dragDrop"in e}();function zeroWidthElement(e){if(null==I){var t=elt("span","​");removeChildrenAndAdd(e,elt("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(I=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=I?elt("span","​"):elt("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function hasBadBidiRects(e){if(null!=F)return F;var t=removeChildrenAndAdd(e,document.createTextNode("AخA")),n=k(t,0,1).getBoundingClientRect(),r=k(t,1,2).getBoundingClientRect();return removeChildren(e),!(!n||n.left==n.right)&&(F=r.right-n.right<3)}var z,R=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var o=e.indexOf("\n",t);-1==o&&(o=e.length);var i=e.slice(t,"\r"==e.charAt(o-1)?o-1:o),a=i.indexOf("\r");-1!=a?(n.push(i.slice(0,a)),t+=a+1):(n.push(i),t=o+1)}return n}:function(e){return e.split(/\r\n?|\n/)},V=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},U="oncopy"in(z=elt("div"))||(z.setAttribute("oncopy","return;"),"function"==typeof z.oncopy),j=null,G={},_={};function defineMode(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),G[e]=t}function resolveMode(e){if("string"==typeof e&&_.hasOwnProperty(e))e=_[e];else if(e&&"string"==typeof e.name&&_.hasOwnProperty(e.name)){var t=_[e.name];"string"==typeof t&&(t={name:t}),(e=createObj(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return resolveMode("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return resolveMode("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function getMode(e,t){t=resolveMode(t);var n=G[t.name];if(!n)return getMode(e,"text/plain");var r=n(e,t);if(K.hasOwnProperty(t.name)){var o=K[t.name];for(var i in o)o.hasOwnProperty(i)&&(r.hasOwnProperty(i)&&(r["_"+i]=r[i]),r[i]=o[i])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var K={};function extendMode(e,t){copyObj(t,K.hasOwnProperty(e)?K[e]:K[e]={})}function copyState(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var o=t[r];o instanceof Array&&(o=o.concat([])),n[r]=o}return n}function innerMode(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function startState(e,t,n){return!e.startState||e.startState(t,n)}var StringStream=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function getLine(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var o=n.children[r],i=o.chunkSize();if(t=e.first&&tn?Pos(n,getLine(e,n).text.length):function clipToLen(e,t){var n=e.ch;return null==n||n>t?Pos(e.line,t):n<0?Pos(e.line,0):e}(t,getLine(e,t.line).text.length)}function clipPosArray(e,t){for(var n=[],r=0;r=this.string.length},StringStream.prototype.sol=function(){return this.pos==this.lineStart},StringStream.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},StringStream.prototype.next=function(){if(this.post},StringStream.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},StringStream.prototype.skipToEnd=function(){this.pos=this.string.length},StringStream.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},StringStream.prototype.backUp=function(e){this.pos-=e},StringStream.prototype.column=function(){return this.lastColumnPos0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var cased=function(e){return n?e.toLowerCase():e};if(cased(this.string.substr(this.pos,e.length))==cased(e))return!1!==t&&(this.pos+=e.length),!0},StringStream.prototype.current=function(){return this.string.slice(this.start,this.pos)},StringStream.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},StringStream.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},StringStream.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var SavedContext=function(e,t){this.state=e,this.lookAhead=t},Context=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function highlightLine(e,t,n,r){var o=[e.state.modeGen],i={};runMode(e,t.text,e.doc.mode,n,(function(e,t){return o.push(e,t)}),i,r);for(var a=n.state,loop=function(r){n.baseTokens=o;var s=e.state.overlays[r],l=1,c=0;n.state=!0,runMode(e,t.text,s.mode,n,(function(e,t){for(var n=l;ce&&o.splice(l,1,e,o[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(s.opaque)o.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;ne.options.maxHighlightLength&©State(e.doc.mode,r.state),i=highlightLine(e,t,r);o&&(r.state=o),t.stateAfter=r.save(!o),t.styles=i.styles,i.classes?t.styleClasses=i.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function getContextBefore(e,t,n){var r=e.doc,o=e.display;if(!r.mode.startState)return new Context(r,!0,t);var i=function findStartLine(e,t,n){for(var r,o,i=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=i.first)return i.first;var l=getLine(i,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof SavedContext?c.lookAhead:0)<=i.modeFrontier))return s;var u=countColumn(l.text,null,e.options.tabSize);(null==o||r>u)&&(o=s-1,r=u)}return o}(e,t,n),a=i>r.first&&getLine(r,i-1).stateAfter,s=a?Context.fromSaved(r,a,i):new Context(r,startState(r.mode),i);return r.iter(i,t,(function(n){processLine(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=o.viewFrom&&rt.start)return i}throw new Error("Mode "+e.name+" failed to advance stream.")}Context.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},Context.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},Context.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Context.fromSaved=function(e,t,n){return t instanceof SavedContext?new Context(e,copyState(e.mode,t.state),n,t.lookAhead):new Context(e,copyState(e.mode,t),n)},Context.prototype.save=function(e){var t=!1!==e?copyState(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new SavedContext(t,this.maxLookAhead):t};var Token=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function takeToken(e,t,n,r){var o,i,a=e.doc,s=a.mode,l=getLine(a,(t=clipPos(a,t)).line),c=getContextBefore(e,t.line,n),u=new StringStream(l.text,e.options.tabSize,c);for(r&&(i=[]);(r||u.pose.options.maxHighlightLength?(s=!1,a&&processLine(e,t,r,d.pos),d.pos=t.length,l=null):l=extractLineClasses(readToken(n,d,r.state,p),i),p){var h=p[0].name;h&&(l="m-"+(l?h+" "+l:h))}if(!s||u!=l){for(;c=t:i.to>t);(r||(r=[])).push(new MarkedSpan(a,i.from,s?null:i.to))}}return r}(n,o,a),l=function markedSpansAfter(e,t,n){var r;if(e)for(var o=0;o=t:i.to>t)||i.from==t&&"bookmark"==a.type&&(!n||i.marker.insertLeft)){var s=null==i.from||(a.inclusiveLeft?i.from<=t:i.from0&&s)for(var b=0;bt)&&(!n||compareCollapsedMarkers(n,i.marker)<0)&&(n=i.marker)}return n}function conflictingCollapsedRange(e,t,n,r,o){var i=getLine(e,t),a=X&&i.markedSpans;if(a)for(var s=0;s=0&&d<=0||u<=0&&d>=0)&&(u<=0&&(l.marker.inclusiveRight&&o.inclusiveLeft?cmp(c.to,n)>=0:cmp(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&o.inclusiveLeft?cmp(c.from,r)<=0:cmp(c.from,r)<0)))return!0}}}function visualLine(e){for(var t;t=collapsedSpanAtStart(e);)e=t.find(-1,!0).line;return e}function visualLineNo(e,t){var n=getLine(e,t),r=visualLine(n);return n==r?t:lineNo(r)}function visualLineEndNo(e,t){if(t>e.lastLine())return t;var n,r=getLine(e,t);if(!lineIsHidden(e,r))return t;for(;n=collapsedSpanAtEnd(r);)r=n.find(1,!0).line;return lineNo(r)+1}function lineIsHidden(e,t){var n=X&&t.markedSpans;if(n)for(var r=void 0,o=0;ot.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var Line=function(e,t,n){this.text=e,attachMarkedSpans(this,t),this.height=n?n(this):1};function cleanUpLine(e){e.parent=null,detachMarkedSpans(e)}Line.prototype.lineNo=function(){return lineNo(this)},eventMixin(Line);var Y={},$={};function interpretTokenStyle(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?$:Y;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function buildLineContent(e,t){var n=eltP("span",null,null,l?"padding-right: .1px":null),r={pre:eltP("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var o=0;o<=(t.rest?t.rest.length:0);o++){var i=o?t.rest[o-1]:t.line,a=void 0;r.pos=0,r.addToken=buildToken,hasBadBidiRects(e.display.measure)&&(a=getOrder(i,e.doc.direction))&&(r.addToken=buildTokenBadBidi(r.addToken,a)),r.map=[],insertLineContent(i,r,getLineStyles(e,i,t!=e.display.externalMeasured&&lineNo(i))),i.styleClasses&&(i.styleClasses.bgClass&&(r.bgClass=joinClasses(i.styleClasses.bgClass,r.bgClass||"")),i.styleClasses.textClass&&(r.textClass=joinClasses(i.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(zeroWidthElement(e.display.measure))),0==o?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return signal(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=joinClasses(r.pre.className,r.textClass||"")),r}function defaultSpecialCharPlaceholder(e){var t=elt("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function buildToken(e,t,n,r,o,i,l){if(t){var c,u=e.splitSpaces?function splitSpaces(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",o=0;oc&&d.from<=c);p++);if(d.to>=u)return e(n,r,o,i,a,s,l);e(n,r.slice(0,d.to-c),o,i,null,s,l),i=null,r=r.slice(d.to-c),c=d.to}}}function buildCollapsedSpan(e,t,n,r){var o=!r&&n.widgetNode;o&&e.map.push(e.pos,e.pos+t,o),!r&&e.cm.display.input.needsContentAttribute&&(o||(o=e.content.appendChild(document.createElement("span"))),o.setAttribute("cm-marker",n.id)),o&&(e.cm.display.input.setUneditable(o),e.content.appendChild(o)),e.pos+=t,e.trailingSpace=!1}function insertLineContent(e,t,n){var r=e.markedSpans,o=e.text,i=0;if(r)for(var a,s,l,c,u,d,p,h=o.length,f=0,g=1,m="",v=0;;){if(v==f){l=c=u=s="",p=null,d=null,v=1/0;for(var y=[],b=void 0,x=0;xf||w.collapsed&&C.to==f&&C.from==f)){if(null!=C.to&&C.to!=f&&v>C.to&&(v=C.to,c=""),w.className&&(l+=" "+w.className),w.css&&(s=(s?s+";":"")+w.css),w.startStyle&&C.from==f&&(u+=" "+w.startStyle),w.endStyle&&C.to==v&&(b||(b=[])).push(w.endStyle,C.to),w.title&&((p||(p={})).title=w.title),w.attributes)for(var S in w.attributes)(p||(p={}))[S]=w.attributes[S];w.collapsed&&(!d||compareCollapsedMarkers(d.marker,w)<0)&&(d=C)}else C.from>f&&v>C.from&&(v=C.from)}if(b)for(var k=0;k=h)break;for(var M=Math.min(h,v);;){if(m){var T=f+m.length;if(!d){var O=T>M?m.slice(0,M-f):m;t.addToken(t,O,a?a+l:l,u,f+O.length==v?c:"",s,p)}if(T>=M){m=m.slice(M-f),f=M;break}f=T,u=""}m=o.slice(i,i=n[g++]),a=interpretTokenStyle(n[g++],t.cm.options)}}else for(var P=1;Pn)return{map:e.measure.maps[o],cache:e.measure.caches[o],before:!0}}function measureChar(e,t,n,r){return measureCharPrepared(e,prepareMeasureForLine(e,t),n,r)}function findViewForLine(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&t2&&i.push((l.bottom+c.top)/2-n.top)}}i.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(i=function measureCharInner(e,t,n,r){var o,i=nodeAndOffsetInLineMap(t.map,n,r),l=i.node,c=i.start,u=i.end,d=i.collapse;if(3==l.nodeType){for(var p=0;p<4;p++){for(;c&&isExtendingChar(t.line.text.charAt(i.coverStart+c));)--c;for(;i.coverStart+u1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}(e.display.measure,o))}else{var h;c>0&&(d=r="right"),o=e.options.lineWrapping&&(h=l.getClientRects()).length>1?h["right"==r?h.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!o||!o.left&&!o.right)){var f=l.parentNode.getClientRects()[0];o=f?{left:f.left,right:f.left+charWidth(e.display),top:f.top,bottom:f.bottom}:ee}for(var g=o.top-t.rect.top,m=o.bottom-t.rect.top,v=(g+m)/2,y=t.view.measure.heights,b=0;bt)&&(o=(i=l-s)-1,t>=l&&(a="right")),null!=o){if(r=e[c+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==o)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],a="left";if("right"==n&&o==l-s)for(;c=0&&(n=e[o]).left==n.right;o--);return n}function clearLineMeasurementCacheFor(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t=r.text.length?(s=r.text.length,l="before"):s<=0&&(s=0,l="after"),!a)return get("before"==l?s-1:s,"before"==l);function getBidi(e,t,n){return get(n?e-1:e,1==a[t].level!=n)}var c=getBidiPartAt(a,s,l),u=H,d=getBidi(s,c,"before"==l);return null!=u&&(d.other=getBidi(s,u,"before"!=l)),d}function estimateCoords(e,t){var n=0;t=clipPos(e.doc,t),e.options.lineWrapping||(n=charWidth(e.display)*t.ch);var r=getLine(e.doc,t.line),o=heightAtLine(r)+paddingTop(e.display);return{left:n,right:n,top:o,bottom:o+r.height}}function PosWithInfo(e,t,n,r,o){var i=Pos(e,t,n);return i.xRel=o,r&&(i.outside=r),i}function coordsChar(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return PosWithInfo(r.first,0,null,-1,-1);var o=lineAtHeight(r,n),i=r.first+r.size-1;if(o>i)return PosWithInfo(r.first+r.size-1,getLine(r,i).text.length,null,1,1);t<0&&(t=0);for(var a=getLine(r,o);;){var s=coordsCharInner(e,a,o,t,n),l=collapsedSpanAround(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==o)return c;a=getLine(r,o=c.line)}}function wrappedLineExtent(e,t,n,r){r-=widgetTopHeight(t);var o=t.text.length,i=findFirst((function(t){return measureCharPrepared(e,n,t-1).bottom<=r}),o,0);return{begin:i,end:o=findFirst((function(t){return measureCharPrepared(e,n,t).top>r}),i,o)}}function wrappedLineExtentChar(e,t,n,r){return n||(n=prepareMeasureForLine(e,t)),wrappedLineExtent(e,t,n,intoCoordSystem(e,t,measureCharPrepared(e,n,r),"line").top)}function boxIsAfter(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function coordsCharInner(e,t,n,r,o){o-=heightAtLine(t);var i=prepareMeasureForLine(e,t),a=widgetTopHeight(t),s=0,l=t.text.length,c=!0,u=getOrder(t,e.doc.direction);if(u){var d=(e.options.lineWrapping?coordsBidiPartWrapped:coordsBidiPart)(e,t,n,i,u,r,o);s=(c=1!=d.level)?d.from:d.to-1,l=c?d.to:d.from-1}var p,h,f=null,g=null,m=findFirst((function(t){var n=measureCharPrepared(e,i,t);return n.top+=a,n.bottom+=a,!!boxIsAfter(n,r,o,!1)&&(n.top<=o&&n.left<=r&&(f=t,g=n),!0)}),s,l),v=!1;if(g){var y=r-g.left=x.bottom?1:0}return PosWithInfo(n,m=skipExtendingChars(t.text,m,1),h,v,r-p)}function coordsBidiPart(e,t,n,r,o,i,a){var s=findFirst((function(s){var l=o[s],c=1!=l.level;return boxIsAfter(cursorCoords(e,Pos(n,c?l.to:l.from,c?"before":"after"),"line",t,r),i,a,!0)}),0,o.length-1),l=o[s];if(s>0){var c=1!=l.level,u=cursorCoords(e,Pos(n,c?l.from:l.to,c?"after":"before"),"line",t,r);boxIsAfter(u,i,a,!0)&&u.top>a&&(l=o[s-1])}return l}function coordsBidiPartWrapped(e,t,n,r,o,i,a){var s=wrappedLineExtent(e,t,r,a),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,d=null,p=0;p=c||h.to<=l)){var f=measureCharPrepared(e,r,1!=h.level?Math.min(c,h.to)-1:Math.max(l,h.from)).right,g=fg)&&(u=h,d=g)}}return u||(u=o[o.length-1]),u.fromc&&(u={from:u.from,to:c,level:u.level}),u}function textHeight(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Q){Q=elt("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)Q.appendChild(document.createTextNode("x")),Q.appendChild(elt("br"));Q.appendChild(document.createTextNode("x"))}removeChildrenAndAdd(e.measure,Q);var n=Q.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),removeChildren(e.measure),n||1}function charWidth(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=elt("span","xxxxxxxxxx"),n=elt("pre",[t],"CodeMirror-line-like");removeChildrenAndAdd(e.measure,n);var r=t.getBoundingClientRect(),o=(r.right-r.left)/10;return o>2&&(e.cachedCharWidth=o),o||10}function getDimensions(e){for(var t=e.display,n={},r={},o=t.gutters.clientLeft,i=t.gutters.firstChild,a=0;i;i=i.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=i.offsetLeft+i.clientLeft+o,r[s]=i.clientWidth}return{fixedPos:compensateForHScroll(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function compensateForHScroll(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function estimateHeight(e){var t=textHeight(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/charWidth(e.display)-3);return function(o){if(lineIsHidden(e.doc,o))return 0;var i=0;if(o.widgets)for(var a=0;a=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;rt)&&(o.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=o.viewTo)X&&visualLineNo(e.doc,t)o.viewFrom?resetView(e):(o.viewFrom+=r,o.viewTo+=r);else if(t<=o.viewFrom&&n>=o.viewTo)resetView(e);else if(t<=o.viewFrom){var i=viewCuttingPoint(e,n,n+r,1);i?(o.view=o.view.slice(i.index),o.viewFrom=i.lineN,o.viewTo+=r):resetView(e)}else if(n>=o.viewTo){var a=viewCuttingPoint(e,t,t,-1);a?(o.view=o.view.slice(0,a.index),o.viewTo=a.lineN):resetView(e)}else{var s=viewCuttingPoint(e,t,t,-1),l=viewCuttingPoint(e,n,n+r,1);s&&l?(o.view=o.view.slice(0,s.index).concat(buildViewArray(e,s.lineN,l.lineN)).concat(o.view.slice(l.index)),o.viewTo+=r):resetView(e)}var c=o.externalMeasured;c&&(n=o.lineN&&t=r.viewTo)){var i=r.view[findViewIndex(e,t)];if(null!=i.node){var a=i.changes||(i.changes=[]);-1==indexOf(a,n)&&a.push(n)}}}function resetView(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function viewCuttingPoint(e,t,n,r){var o,i=findViewIndex(e,t),a=e.display.view;if(!X||n==e.doc.first+e.doc.size)return{index:i,lineN:n};for(var s=e.display.viewFrom,l=0;l0){if(i==a.length-1)return null;o=s+a[i].size-t,i++}else o=s-t;t+=o,n+=o}for(;visualLineNo(e.doc,n)!=n;){if(i==(r<0?0:a.length-1))return null;n+=r*a[i-(r<0?1:0)].size,i+=r}return{index:i,lineN:n}}function countDirtyView(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo||s.to().linet||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",i),o=!0)}o||r(t,n,"ltr")}(p,n||0,null==r?d:r,(function(e,t,o,u){var h="ltr"==o,f=coords(e,h?"left":"right"),g=coords(t-1,h?"right":"left"),m=null==n&&0==e,v=null==r&&t==d,y=0==u,b=!p||u==p.length-1;if(g.top-f.top<=3){var x=(c?v:m)&&b,C=(c?m:v)&&y?s:(h?f:g).left,w=x?l:(h?g:f).right;add(C,f.top,w-C,f.bottom)}else{var S,k,L,M;h?(S=c&&m&&y?s:f.left,k=c?l:wrapX(e,o,"before"),L=c?s:wrapX(t,o,"after"),M=c&&v&&b?l:g.right):(S=c?wrapX(e,o,"before"):s,k=!c&&m&&y?l:f.right,L=!c&&v&&b?s:g.left,M=c?wrapX(t,o,"after"):l),add(S,f.top,k-S,f.bottom),f.bottom0?t.blinker=setInterval((function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function ensureFocus(e){e.state.focused||(e.display.input.focus(),onFocus(e))}function delayBlurEvent(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,onBlur(e))}),100)}function onFocus(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(signal(e,"focus",e,t),e.state.focused=!0,addClass(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),restartBlink(e))}function onBlur(e,t){e.state.delayingBlurEvent||(e.state.focused&&(signal(e,"blur",e,t),e.state.focused=!1,rmClass(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function updateHeightsInViewport(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r.005||p<-.005)&&(updateLineHeight(o.line,l),updateWidgetHeight(o.line),o.rest))for(var h=0;he.display.sizerWidth){var f=Math.ceil(c/charWidth(e.display));f>e.display.maxLineLength&&(e.display.maxLineLength=f,e.display.maxLine=o.line,e.display.maxLineChanged=!0)}}}}function updateWidgetHeight(e){if(e.widgets)for(var t=0;t=a&&(i=lineAtHeight(t,heightAtLine(getLine(t,l))-e.wrapper.clientHeight),a=l)}return{from:i,to:Math.max(a,i+1)}}function calculateScrollPos(e,t){var n=e.display,r=textHeight(e.display);t.top<0&&(t.top=0);var o=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,i=displayHeight(e),a={};t.bottom-t.top>i&&(t.bottom=t.top+i);var s=e.doc.height+paddingVert(n),l=t.tops-r;if(t.topo+i){var u=Math.min(t.top,(c?s:t.bottom)-i);u!=o&&(a.scrollTop=u)}var d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,p=displayWidth(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),h=t.right-t.left>p;return h&&(t.right=t.left+p),t.left<10?a.scrollLeft=0:t.leftp+d-3&&(a.scrollLeft=t.right+(h?0:10)-p),a}function addToScrollTop(e,t){null!=t&&(resolveScrollToPos(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function ensureCursorVisible(e){resolveScrollToPos(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function scrollToCoords(e,t,n){null==t&&null==n||resolveScrollToPos(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function resolveScrollToPos(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,scrollToCoordsRange(e,estimateCoords(e,t.from),estimateCoords(e,t.to),t.margin))}function scrollToCoordsRange(e,t,n,r){var o=calculateScrollPos(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});scrollToCoords(e,o.scrollLeft,o.scrollTop)}function updateScrollTop(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||updateDisplaySimple(e,{top:t}),setScrollTop(e,t,!0),n&&updateDisplaySimple(e),startWorker(e,100))}function setScrollTop(e,t,n){t=Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function setScrollLeft(e,t,n,r){t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,alignHorizontally(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function measureForScrollbars(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+paddingVert(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+scrollGap(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var NativeScrollbars=function(e,t,n){this.cm=n;var r=this.vert=elt("div",[elt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),o=this.horiz=elt("div",[elt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=o.tabIndex=-1,e(r),e(o),on(r,"scroll",(function(){r.clientHeight&&t(r.scrollTop,"vertical")})),on(o,"scroll",(function(){o.clientWidth&&t(o.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};NativeScrollbars.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var o=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+o)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var i=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+i)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},NativeScrollbars.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},NativeScrollbars.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},NativeScrollbars.prototype.zeroWidthHack=function(){var e=y&&!h?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Delayed,this.disableVert=new Delayed},NativeScrollbars.prototype.enableZeroWidthBar=function(e,t,n){e.style.pointerEvents="auto",t.set(1e3,(function maybeDisable(){var r=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(r.right-1,(r.top+r.bottom)/2):document.elementFromPoint((r.right+r.left)/2,r.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,maybeDisable)}))},NativeScrollbars.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var NullScrollbars=function(){};function updateScrollbars(e,t){t||(t=measureForScrollbars(e));var n=e.display.barWidth,r=e.display.barHeight;updateScrollbarsInner(e,t);for(var o=0;o<4&&n!=e.display.barWidth||r!=e.display.barHeight;o++)n!=e.display.barWidth&&e.options.lineWrapping&&updateHeightsInViewport(e),updateScrollbarsInner(e,measureForScrollbars(e)),n=e.display.barWidth,r=e.display.barHeight}function updateScrollbarsInner(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}NullScrollbars.prototype.update=function(){return{bottom:0,right:0}},NullScrollbars.prototype.setScrollLeft=function(){},NullScrollbars.prototype.setScrollTop=function(){},NullScrollbars.prototype.clear=function(){};var te={native:NativeScrollbars,null:NullScrollbars};function initScrollbars(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&rmClass(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new te[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),on(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?setScrollLeft(e,t):updateScrollTop(e,t)}),e),e.display.scrollbars.addClass&&addClass(e.display.wrapper,e.display.scrollbars.addClass)}var ne=0;function startOperation(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++ne},function pushOperation(e){Z?Z.ops.push(e):e.ownsGroup=Z={ops:[e],delayedCallbacks:[]}}(e.curOp)}function endOperation(e){var t=e.curOp;t&&function finishOperation(e,t){var n=e.ownsGroup;if(n)try{!function fireCallbacksForOps(e){var t=e.delayedCallbacks,n=0;do{for(;n=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new DisplayUpdate(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function endOperation_W1(e){e.updatedDisplay=e.mustUpdate&&updateDisplayIfNeeded(e.cm,e.update)}function endOperation_R2(e){var t=e.cm,n=t.display;e.updatedDisplay&&updateHeightsInViewport(t),e.barMeasure=measureForScrollbars(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=measureChar(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+scrollGap(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-displayWidth(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function endOperation_W2(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),null!=o&&!f){var i=elt("div","​",null,"position: absolute;\n top: "+(t.top-n.viewOffset-paddingTop(e.display))+"px;\n height: "+(t.bottom-t.top+scrollGap(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(i),i.scrollIntoView(o),e.display.lineSpace.removeChild(i)}}}(t,function scrollPosIntoView(e,t,n,r){var o;null==r&&(r=0),e.options.lineWrapping||t!=n||(n="before"==(t=t.ch?Pos(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t).sticky?Pos(t.line,t.ch+1,"before"):t);for(var i=0;i<5;i++){var a=!1,s=cursorCoords(e,t),l=n&&n!=t?cursorCoords(e,n):s,c=calculateScrollPos(e,o={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r}),u=e.doc.scrollTop,d=e.doc.scrollLeft;if(null!=c.scrollTop&&(updateScrollTop(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(setScrollLeft(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(a=!0)),!a)break}return o}(t,clipPos(r,e.scrollToPos.from),clipPos(r,e.scrollToPos.to),e.scrollToPos.margin));var o=e.maybeHiddenMarkers,i=e.maybeUnhiddenMarkers;if(o)for(var a=0;a=e.display.viewTo)){var n=+new Date+e.options.workTime,r=getContextBefore(e,t.highlightFrontier),o=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(i){if(r.line>=e.display.viewFrom){var a=i.styles,s=i.text.length>e.options.maxHighlightLength?copyState(t.mode,r.state):null,l=highlightLine(e,i,r,!0);s&&(r.state=s),i.styles=l.styles;var c=i.styleClasses,u=l.classes;u?i.styleClasses=u:c&&(i.styleClasses=null);for(var d=!a||a.length!=i.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),p=0;!d&&pn)return startWorker(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),o.length&&runInOp(e,(function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==countDirtyView(e))return!1;maybeUpdateLineNumberWidth(e)&&(resetView(e),t.dims=getDimensions(e));var o=r.first+r.size,i=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(o,t.visible.to+e.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(o,n.viewTo)),X&&(i=visualLineNo(e.doc,i),a=visualLineEndNo(e.doc,a));var s=i!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;!function adjustView(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=buildViewArray(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=buildViewArray(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,findViewIndex(e,n)))),r.viewTo=n}(e,i,a),n.viewOffset=heightAtLine(getLine(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var c=countDirtyView(e);if(!s&&0==c&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=function selectionSnapshot(e){if(e.hasFocus())return null;var t=activeElt();if(!t||!contains(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&contains(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}(e);return c>4&&(n.lineDiv.style.display="none"),function patchDisplay(e,t,n){var r=e.display,o=e.options.lineNumbers,i=r.lineDiv,a=i.firstChild;function rm(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var s=r.view,c=r.viewFrom,u=0;u-1&&(p=!1),updateLineForChanges(e,d,c,n)),p&&(removeChildren(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(lineNumberFor(e.options,c)))),a=d.node.nextSibling}else{var h=buildLineElement(e,d,c,n);i.insertBefore(h,a)}c+=d.size}for(;a;)a=rm(a)}(e,n.updateLineNumbers,t.dims),c>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,function restoreSelection(e){if(e&&e.activeElt&&e.activeElt!=activeElt()&&(e.activeElt.focus(),e.anchorNode&&contains(document.body,e.anchorNode)&&contains(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}(u),removeChildren(n.cursorDiv),removeChildren(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,startWorker(e,400)),n.updateLineNumbers=null,!0}function postUpdateDisplay(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=displayWidth(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+paddingVert(e.display)-displayHeight(e),n.top)}),t.visible=visibleLines(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&updateDisplayIfNeeded(e,t);r=!1){updateHeightsInViewport(e);var o=measureForScrollbars(e);updateSelection(e),updateScrollbars(e,o),setDocumentHeight(e,o),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function updateDisplaySimple(e,t){var n=new DisplayUpdate(e,t);if(updateDisplayIfNeeded(e,n)){updateHeightsInViewport(e),postUpdateDisplay(e,n);var r=measureForScrollbars(e);updateSelection(e),updateScrollbars(e,r),setDocumentHeight(e,r),n.finish()}}function updateGutterSpace(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px"}function setDocumentHeight(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+scrollGap(e)+"px"}function alignHorizontally(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=compensateForHScroll(t)-t.scroller.scrollLeft+e.doc.scrollLeft,o=t.gutters.offsetWidth,i=r+"px",a=0;as.clientWidth,u=s.scrollHeight>s.clientHeight;if(o&&c||i&&u){if(i&&y&&l)e:for(var p=t.target,h=a.view;p!=s;p=p.parentNode)for(var f=0;f=0&&cmp(e,r.to())<=0)return n}return-1};var Range=function(e,t){this.anchor=e,this.head=t};function normalizeSelection(e,t,n){var r=e&&e.options.selectionsMayTouch,o=t[n];t.sort((function(e,t){return cmp(e.from(),t.from())})),n=indexOf(t,o);for(var i=1;i0:l>=0){var c=minPos(s.from(),a.from()),u=maxPos(s.to(),a.to()),d=s.empty()?a.from()==a.head:s.from()==s.head;i<=n&&--n,t.splice(--i,2,new Range(d?u:c,d?c:u))}}return new Selection(t,n)}function simpleSelection(e,t){return new Selection([new Range(e,t||e)],0)}function changeEnd(e){return e.text?Pos(e.from.line+e.text.length-1,lst(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function adjustForChange(e,t){if(cmp(e,t.from)<0)return e;if(cmp(e,t.to)<=0)return changeEnd(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=changeEnd(t).ch-t.to.ch),Pos(n,r)}function computeSelAfterChange(e,t){for(var n=[],r=0;r1&&e.remove(o.line+1,d-1),e.insert(o.line+1,f)}signalLater(e,"change",e,t)}function linkedDocs(e,t,n){!function propagate(e,r,o){if(e.linked)for(var i=0;is-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(i=function lastChangeEvent(e,t){return t?(clearSelectionEvents(e.done),lst(e.done)):e.done.length&&!lst(e.done).ranges?lst(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),lst(e.done)):void 0}(o,o.lastOp==r)))a=lst(i.changes),0==cmp(t.from,t.to)&&0==cmp(t.from,a.to)?a.to=changeEnd(t):i.changes.push(historyChangeFromChange(e,t));else{var l=lst(o.done);for(l&&l.ranges||pushSelectionToHistory(e.sel,o.done),i={changes:[historyChangeFromChange(e,t)],generation:o.generation},o.done.push(i);o.done.length>o.undoDepth;)o.done.shift(),o.done[0].ranges||o.done.shift()}o.done.push(n),o.generation=++o.maxGeneration,o.lastModTime=o.lastSelTime=s,o.lastOp=o.lastSelOp=r,o.lastOrigin=o.lastSelOrigin=t.origin,a||signal(e,"historyAdded")}function addSelectionToHistory(e,t,n,r){var o=e.history,i=r&&r.origin;n==o.lastSelOp||i&&o.lastSelOrigin==i&&(o.lastModTime==o.lastSelTime&&o.lastOrigin==i||function selectionEventCanBeMerged(e,t,n,r){var o=t.charAt(0);return"*"==o||"+"==o&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,i,lst(o.done),t))?o.done[o.done.length-1]=t:pushSelectionToHistory(t,o.done),o.lastSelTime=+new Date,o.lastSelOrigin=i,o.lastSelOp=n,r&&!1!==r.clearRedo&&clearSelectionEvents(o.undone)}function pushSelectionToHistory(e,t){var n=lst(t);n&&n.ranges&&n.equals(e)||t.push(e)}function attachLocalSpans(e,t,n,r){var o=t["spans_"+e.id],i=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((o||(o=t["spans_"+e.id]={}))[i]=n.markedSpans),++i}))}function removeClearedSpans(e){if(!e)return null;for(var t,n=0;n-1&&(lst(s)[d]=c[d],delete c[d])}}}return r}function extendRange(e,t,n,r){if(r){var o=e.anchor;if(n){var i=cmp(t,o)<0;i!=cmp(n,o)<0?(o=t,t=n):i!=cmp(t,n)<0&&(t=n)}return new Range(o,t)}return new Range(n||t,t)}function extendSelection(e,t,n,r,o){null==o&&(o=e.cm&&(e.cm.display.shift||e.extend)),setSelection(e,new Selection([extendRange(e.sel.primary(),t,n,o)],0),r)}function extendSelections(e,t,n){for(var r=[],o=e.cm&&(e.cm.display.shift||e.extend),i=0;i=t.ch:s.to>t.ch))){if(o&&(signal(l,"beforeCursorEnter"),l.explicitlyCleared)){if(i.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var d=l.find(r<0?1:-1),p=void 0;if((r<0?u:c)&&(d=movePos(e,d,-r,d&&d.line==t.line?i:null)),d&&d.line==t.line&&(p=cmp(d,n))&&(r<0?p<0:p>0))return skipAtomicInner(e,d,t,r,o)}var h=l.find(r<0?-1:1);return(r<0?c:u)&&(h=movePos(e,h,r,h.line==t.line?i:null)),h?skipAtomicInner(e,h,t,r,o):null}}return t}function skipAtomic(e,t,n,r,o){var i=r||1,a=skipAtomicInner(e,t,n,i,o)||!o&&skipAtomicInner(e,t,n,i,!0)||skipAtomicInner(e,t,n,-i,o)||!o&&skipAtomicInner(e,t,n,-i,!0);return a||(e.cantEdit=!0,Pos(e.first,0))}function movePos(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?clipPos(e,Pos(t.line-1)):null:n>0&&t.ch==(r||getLine(e,t.line)).text.length?t.line0)){var u=[l,1],d=cmp(c.from,s.from),p=cmp(c.to,s.to);(d<0||!a.inclusiveLeft&&!d)&&u.push({from:c.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&u.push({from:s.to,to:c.to}),o.splice.apply(o,u),l+=u.length-3}}return o}(e,t.from,t.to);if(r)for(var o=r.length-1;o>=0;--o)makeChangeInner(e,{from:r[o].from,to:r[o].to,text:o?[""]:t.text,origin:t.origin});else makeChangeInner(e,t)}}function makeChangeInner(e,t){if(1!=t.text.length||""!=t.text[0]||0!=cmp(t.from,t.to)){var n=computeSelAfterChange(e,t);addChangeToHistory(e,t,n,e.cm?e.cm.curOp.id:NaN),makeChangeSingleDoc(e,t,n,stretchSpansOverChange(e,t));var r=[];linkedDocs(e,(function(e,n){n||-1!=indexOf(r,e.history)||(rebaseHist(e.history,t),r.push(e.history)),makeChangeSingleDoc(e,t,null,stretchSpansOverChange(e,t))}))}}function makeChangeFromHistory(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var o,i=e.history,a=e.sel,s="undo"==t?i.done:i.undone,l="undo"==t?i.undone:i.done,c=0;c=0;--p){var h=loop(p);if(h)return h.v}}}}function shiftDoc(e,t){if(0!=t&&(e.first+=t,e.sel=new Selection(map(e.sel.ranges,(function(e){return new Range(Pos(e.anchor.line+t,e.anchor.ch),Pos(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){regChange(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.linei&&(t={from:t.from,to:Pos(i,getLine(e,i).text.length),text:[t.text[0]],origin:t.origin}),t.removed=getBetween(e,t.from,t.to),n||(n=computeSelAfterChange(e,t)),e.cm?function makeChangeSingleDocInEditor(e,t,n){var r=e.doc,o=e.display,i=t.from,a=t.to,s=!1,l=i.line;e.options.lineWrapping||(l=lineNo(visualLine(getLine(r,i.line))),r.iter(l,a.line+1,(function(e){if(e==o.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&signalCursorActivity(e),updateDoc(r,t,n,estimateHeight(e)),e.options.lineWrapping||(r.iter(l,i.line+t.text.length,(function(e){var t=lineLength(e);t>o.maxLineLength&&(o.maxLine=e,o.maxLineLength=t,o.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),function retreatFrontier(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var o=getLine(e,r).stateAfter;if(o&&(!(o instanceof SavedContext)||r+o.lookAhead1||!(this.children[0]instanceof LeafChunk))){var s=[];this.collapse(s),this.children=[new LeafChunk(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var a=o.lines.length%25+25,s=a;s10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r0||0==a&&!1!==i.clearWhenEmpty)return i;if(i.replacedWith&&(i.collapsed=!0,i.widgetNode=eltP("span",[i.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||i.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(i.widgetNode.insertLeft=!0)),i.collapsed){if(conflictingCollapsedRange(e,t.line,t,n,i)||t.line!=n.line&&conflictingCollapsedRange(e,n.line,t,n,i))throw new Error("Inserting collapsed marker partially overlapping an existing one");!function seeCollapsedSpans(){X=!0}()}i.addToHistory&&addChangeToHistory(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,(function(e){c&&i.collapsed&&!c.options.lineWrapping&&visualLine(e)==c.display.maxLine&&(s=!0),i.collapsed&&l!=t.line&&updateLineHeight(e,0),function addMarkedSpan(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new MarkedSpan(i,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l})),i.collapsed&&e.iter(t.line,n.line+1,(function(t){lineIsHidden(e,t)&&updateLineHeight(t,0)})),i.clearOnEnter&&on(i,"beforeCursorEnter",(function(){return i.clear()})),i.readOnly&&(function seeReadOnlySpans(){q=!0}(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),i.collapsed&&(i.id=++ie,i.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),i.collapsed)regChange(c,t.line,n.line+1);else if(i.className||i.startStyle||i.endStyle||i.css||i.attributes||i.title)for(var u=t.line;u<=n.line;u++)regLineChange(c,u,"text");i.atomic&&reCheckSelection(c.doc),signalLater(c,"markerAdded",c,i)}return i}TextMarker.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&startOperation(e),hasHandler(this,"clear")){var n=this.find();n&&signalLater(this,"clear",n.from,n.to)}for(var r=null,o=null,i=0;ie.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&®Change(e,r,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&reCheckSelection(e.doc)),e&&signalLater(e,"markerCleared",e,this,r,o),t&&endOperation(e),this.parent&&this.parent.clear()}},TextMarker.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var o=0;o=0;l--)makeChange(this,r[l]);s?setSelectionReplaceHistory(this,s):this.cm&&ensureCursorVisible(this.cm)})),undo:docMethodOp((function(){makeChangeFromHistory(this,"undo")})),redo:docMethodOp((function(){makeChangeFromHistory(this,"redo")})),undoSelection:docMethodOp((function(){makeChangeFromHistory(this,"undo",!0)})),redoSelection:docMethodOp((function(){makeChangeFromHistory(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(o.marker.parent||o.marker)}return t},findMarks:function(e,t,n){e=clipPos(this,e),t=clipPos(this,t);var r=[],o=e.line;return this.iter(e.line,t.line+1,(function(i){var a=i.markedSpans;if(a)for(var s=0;s=l.to||null==l.from&&o!=e.line||null!=l.from&&o==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++o})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=i,++n})),clipPos(this,Pos(n,t))},indexFromPos:function(e){var t=(e=clipPos(this,e)).ch;if(e.linet&&(t=e.from),null!=e.to&&e.to-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var c=e.dataTransfer.getData("Text");if(c){var u;if(t.state.draggingText&&!t.state.draggingText.copy&&(u=t.listSelections()),setSelectionNoUndo(t.doc,simpleSelection(n,n)),u)for(var d=0;d=0;t--)replaceRange(e.doc,"",r[t].from,r[t].to,"+delete");ensureCursorVisible(e)}))}function moveCharLogically(e,t,n){var r=skipExtendingChars(e.text,t+n,n);return r<0||r>e.text.length?null:r}function moveLogically(e,t,n){var r=moveCharLogically(e,t.ch,n);return null==r?null:new Pos(t.line,r,n<0?"after":"before")}function endOfLine(e,t,n,r,o){if(e){var i=getOrder(n,t.doc.direction);if(i){var a,s=o<0?lst(i):i[0],l=o<0==(1==s.level)?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var c=prepareMeasureForLine(t,n);a=o<0?n.text.length-1:0;var u=measureCharPrepared(t,c,a).top;a=findFirst((function(e){return measureCharPrepared(t,c,e).top==u}),o<0==(1==s.level)?s.from:s.to-1,a),"before"==l&&(a=moveCharLogically(n,a,1))}else a=o<0?s.to:s.from;return new Pos(r,a,l)}}return new Pos(r,o<0?n.text.length:0,o<0?"before":"after")}he.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},he.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},he.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},he.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},he.default=y?he.macDefault:he.pcDefault;var fe={selectAll:selectAll,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),T)},killLine:function(e){return deleteNearSelection(e,(function(t){if(t.empty()){var n=getLine(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)o=new Pos(o.line,o.ch+1),e.replaceRange(i.charAt(o.ch-1)+i.charAt(o.ch-2),Pos(o.line,o.ch-2),o,"+transpose");else if(o.line>e.doc.first){var a=getLine(e.doc,o.line-1).text;a&&(o=new Pos(o.line,1),e.replaceRange(i.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),Pos(o.line-1,a.length-1),o,"+transpose"))}n.push(new Range(o,o))}e.setSelections(n)}))},newlineAndIndent:function(e){return runInOp(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r-1&&(cmp((o=c.ranges[o]).from(),t)<0||t.xRel>0)&&(cmp(o.to(),t)>0||t.xRel<0)?function leftButtonStartDrag(e,t,n,r){var o=e.display,i=!1,c=operation(e,(function(t){l&&(o.scroller.draggable=!1),e.state.draggingText=!1,off(o.wrapper.ownerDocument,"mouseup",c),off(o.wrapper.ownerDocument,"mousemove",mouseMove),off(o.scroller,"dragstart",dragStart),off(o.scroller,"drop",c),i||(e_preventDefault(t),r.addNew||extendSelection(e.doc,n,null,null,r.extend),l||a&&9==s?setTimeout((function(){o.wrapper.ownerDocument.body.focus(),o.input.focus()}),20):o.input.focus())})),mouseMove=function(e){i=i||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},dragStart=function(){return i=!0};l&&(o.scroller.draggable=!0),e.state.draggingText=c,c.copy=!r.moveOnDrag,o.scroller.dragDrop&&o.scroller.dragDrop(),on(o.wrapper.ownerDocument,"mouseup",c),on(o.wrapper.ownerDocument,"mousemove",mouseMove),on(o.scroller,"dragstart",dragStart),on(o.scroller,"drop",c),delayBlurEvent(e),setTimeout((function(){return o.input.focus()}),20)}(e,r,t,i):function leftButtonSelect(e,t,n,r){var o=e.display,i=e.doc;e_preventDefault(t);var a,s,l=i.sel,c=l.ranges;if(r.addNew&&!r.extend?(s=i.sel.contains(n),a=s>-1?c[s]:new Range(n,n)):(a=i.sel.primary(),s=i.sel.primIndex),"rectangle"==r.unit)r.addNew||(a=new Range(n,n)),n=posFromMouse(e,t,!0,!0),s=-1;else{var u=rangeForUnit(e,n,r.unit);a=r.extend?extendRange(a,u.anchor,u.head,r.extend):u}r.addNew?-1==s?(s=c.length,setSelection(i,normalizeSelection(e,c.concat([a]),s),{scroll:!1,origin:"*mouse"})):c.length>1&&c[s].empty()&&"char"==r.unit&&!r.extend?(setSelection(i,normalizeSelection(e,c.slice(0,s).concat(c.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),l=i.sel):replaceOneSelection(i,s,a,O):(s=0,setSelection(i,new Selection([a],0),O),l=i.sel);var d=n;function extendTo(t){if(0!=cmp(d,t))if(d=t,"rectangle"==r.unit){for(var o=[],c=e.options.tabSize,u=countColumn(getLine(i,n.line).text,n.ch,c),p=countColumn(getLine(i,t.line).text,t.ch,c),h=Math.min(u,p),f=Math.max(u,p),g=Math.min(n.line,t.line),m=Math.min(e.lastLine(),Math.max(n.line,t.line));g<=m;g++){var v=getLine(i,g).text,y=findColumn(v,h,c);h==f?o.push(new Range(Pos(g,y),Pos(g,y))):v.length>y&&o.push(new Range(Pos(g,y),Pos(g,findColumn(v,f,c))))}o.length||o.push(new Range(n,n)),setSelection(i,normalizeSelection(e,l.ranges.slice(0,s).concat(o),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b,x=a,C=rangeForUnit(e,t,r.unit),w=x.anchor;cmp(C.anchor,w)>0?(b=C.head,w=minPos(x.from(),C.anchor)):(b=C.anchor,w=maxPos(x.to(),C.head));var S=l.ranges.slice(0);S[s]=function bidiSimplify(e,t){var n=t.anchor,r=t.head,o=getLine(e.doc,n.line);if(0==cmp(n,r)&&n.sticky==r.sticky)return t;var i=getOrder(o);if(!i)return t;var a=getBidiPartAt(i,n.ch,n.sticky),s=i[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,c=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==i.length)return t;if(r.line!=n.line)l=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=getBidiPartAt(i,r.ch,r.sticky),d=u-a||(r.ch-n.ch)*(1==s.level?-1:1);l=u==c-1||u==c?d<0:d>0}var p=i[c+(l?-1:0)],h=l==(1==p.level),f=h?p.from:p.to,g=h?"after":"before";return n.ch==f&&n.sticky==g?t:new Range(new Pos(n.line,f,g),r)}(e,new Range(clipPos(i,w),b)),setSelection(i,normalizeSelection(e,S,s),O)}}var p=o.wrapper.getBoundingClientRect(),h=0;function done(t){e.state.selectingText=!1,h=1/0,t&&(e_preventDefault(t),o.input.focus()),off(o.wrapper.ownerDocument,"mousemove",f),off(o.wrapper.ownerDocument,"mouseup",g),i.history.lastSelOrigin=null}var f=operation(e,(function(t){0!==t.buttons&&e_button(t)?function extend(t){var n=++h,a=posFromMouse(e,t,!0,"rectangle"==r.unit);if(a)if(0!=cmp(a,d)){e.curOp.focus=activeElt(),extendTo(a);var s=visibleLines(o,i);(a.line>=s.to||a.linep.bottom?20:0;l&&setTimeout(operation(e,(function(){h==n&&(o.scroller.scrollTop+=l,extend(t))})),50)}}(t):done(t)})),g=operation(e,done);e.state.selectingText=g,on(o.wrapper.ownerDocument,"mousemove",f),on(o.wrapper.ownerDocument,"mouseup",g)}(e,r,t,i)}(t,r,i,e):e_target(e)==n.scroller&&e_preventDefault(e):2==o?(r&&extendSelection(t.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==o&&(S?t.display.input.onContextMenu(e):delayBlurEvent(t)))}}function rangeForUnit(e,t,n){if("char"==n)return new Range(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new Range(Pos(t.line,0),clipPos(e.doc,Pos(t.line+1,0)));var r=n(e,t);return new Range(r.from,r.to)}function gutterEvent(e,t,n,r){var o,i;if(t.touches)o=t.touches[0].clientX,i=t.touches[0].clientY;else try{o=t.clientX,i=t.clientY}catch(t){return!1}if(o>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&e_preventDefault(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(i>s.bottom||!hasHandler(e,n))return e_defaultPrevented(t);i-=s.top-a.viewOffset;for(var l=0;l=o)return signal(e,n,e,lineAtHeight(e.doc,i),e.display.gutterSpecs[l].className,t),e_defaultPrevented(t)}}function clickInGutter(e,t){return gutterEvent(e,t,"gutterClick",!0)}function onContextMenu(e,t){eventInWidget(e.display,t)||function contextMenuInGutter(e,t){return!!hasHandler(e,"gutterContextMenu")&&gutterEvent(e,t,"gutterContextMenu",!1)}(e,t)||signalDOMEvent(e,t,"contextmenu")||S||e.display.input.onContextMenu(t)}function themeChanged(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),clearCaches(e)}PastClick.prototype.compare=function(e,t,n){return this.time+400>e&&0==cmp(t,this.pos)&&n==this.button};var be={toString:function(){return"CodeMirror.Init"}},xe={},Ce={};function dragDropChanged(e,t,n){if(!t!=!(n&&n!=be)){var r=e.display.dragFunctions,o=t?on:off;o(e.display.scroller,"dragstart",r.start),o(e.display.scroller,"dragenter",r.enter),o(e.display.scroller,"dragover",r.over),o(e.display.scroller,"dragleave",r.leave),o(e.display.scroller,"drop",r.drop)}}function wrappingChanged(e){e.options.lineWrapping?(addClass(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(rmClass(e.display.wrapper,"CodeMirror-wrap"),findMaxLine(e)),estimateLineHeights(e),regChange(e),clearCaches(e),setTimeout((function(){return updateScrollbars(e)}),100)}function CodeMirror(e,t){var n=this;if(!(this instanceof CodeMirror))return new CodeMirror(e,t);this.options=t=t?copyObj(t):{},copyObj(xe,t,!1);var r=t.value;"string"==typeof r?r=new Doc(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var o=new CodeMirror.inputStyles[t.inputStyle](this),i=this.display=new Display(e,r,o,t);for(var c in i.wrapper.CodeMirror=this,themeChanged(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),initScrollbars(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Delayed,keySeq:null,specialChars:null},t.autofocus&&!v&&i.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),function registerEventHandlers(e){var t=e.display;on(t.scroller,"mousedown",operation(e,onMouseDown)),on(t.scroller,"dblclick",a&&s<11?operation(e,(function(t){if(!signalDOMEvent(e,t)){var n=posFromMouse(e,t);if(n&&!clickInGutter(e,t)&&!eventInWidget(e.display,t)){e_preventDefault(t);var r=e.findWordAt(n);extendSelection(e.doc,r.anchor,r.head)}}})):function(t){return signalDOMEvent(e,t)||e_preventDefault(t)}),on(t.scroller,"contextmenu",(function(t){return onContextMenu(e,t)}));var n,r={end:0};function finishTouch(){t.activeTouch&&(n=setTimeout((function(){return t.activeTouch=null}),1e3),(r=t.activeTouch).end=+new Date)}function farAway(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}on(t.scroller,"touchstart",(function(o){if(!signalDOMEvent(e,o)&&!function isMouseLikeTouchEvent(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(o)&&!clickInGutter(e,o)){t.input.ensurePolled(),clearTimeout(n);var i=+new Date;t.activeTouch={start:i,moved:!1,prev:i-r.end<=300?r:null},1==o.touches.length&&(t.activeTouch.left=o.touches[0].pageX,t.activeTouch.top=o.touches[0].pageY)}})),on(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),on(t.scroller,"touchend",(function(n){var r=t.activeTouch;if(r&&!eventInWidget(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var o,i=e.coordsChar(t.activeTouch,"page");o=!r.prev||farAway(r,r.prev)?new Range(i,i):!r.prev.prev||farAway(r,r.prev.prev)?e.findWordAt(i):new Range(Pos(i.line,0),clipPos(e.doc,Pos(i.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),e_preventDefault(n)}finishTouch()})),on(t.scroller,"touchcancel",finishTouch),on(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(updateScrollTop(e,t.scroller.scrollTop),setScrollLeft(e,t.scroller.scrollLeft,!0),signal(e,"scroll",e))})),on(t.scroller,"mousewheel",(function(t){return onScrollWheel(e,t)})),on(t.scroller,"DOMMouseScroll",(function(t){return onScrollWheel(e,t)})),on(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){signalDOMEvent(e,t)||e_stop(t)},over:function(t){signalDOMEvent(e,t)||(function onDragOver(e,t){var n=posFromMouse(e,t);if(n){var r=document.createDocumentFragment();drawSelectionCursor(e,n,r),e.display.dragCursor||(e.display.dragCursor=elt("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),removeChildrenAndAdd(e.display.dragCursor,r)}}(e,t),e_stop(t))},start:function(t){return function onDragStart(e,t){if(a&&(!e.state.draggingText||+new Date-se<100))e_stop(t);else if(!signalDOMEvent(e,t)&&!eventInWidget(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!p)){var n=elt("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),d&&n.parentNode.removeChild(n)}}(e,t)},drop:operation(e,onDrop),leave:function(t){signalDOMEvent(e,t)||clearDragCursor(e)}};var o=t.input.getField();on(o,"keyup",(function(t){return onKeyUp.call(e,t)})),on(o,"keydown",operation(e,onKeyDown)),on(o,"keypress",operation(e,onKeyPress)),on(o,"focus",(function(t){return onFocus(e,t)})),on(o,"blur",(function(t){return onBlur(e,t)}))}(this),ensureGlobalHandlers(),startOperation(this),this.curOp.forceUpdate=!0,attachDoc(this,r),t.autofocus&&!v||this.hasFocus()?setTimeout(bind(onFocus,this),20):onBlur(this),Ce)Ce.hasOwnProperty(c)&&Ce[c](n,t[c],be);maybeUpdateLineNumberWidth(this),t.finishInit&&t.finishInit(this);for(var u=0;u150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>i.first?countColumn(getLine(i,t-1).text,null,a):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var d="",p=0;if(e.options.indentWithTabs)for(var h=Math.floor(c/a);h;--h)p+=a,d+="\t";if(pa,l=R(t),c=null;if(s&&r.ranges.length>1)if(Se&&Se.text.join("\n")==t){if(r.ranges.length%Se.text.length==0){c=[];for(var u=0;u=0;p--){var h=r.ranges[p],f=h.from(),g=h.to();h.empty()&&(n&&n>0?f=Pos(f.line,f.ch-n):e.state.overwrite&&!s?g=Pos(g.line,Math.min(getLine(i,g.line).text.length,g.ch+lst(l).length)):s&&Se&&Se.lineWise&&Se.text.join("\n")==t&&(f=g=Pos(f.line,0)));var m={from:f,to:g,text:c?c[p%c.length]:l,origin:o||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};makeChange(e.doc,m),signalLater(e,"inputRead",e,m)}t&&!s&&triggerElectric(e,t),ensureCursorVisible(e),e.curOp.updateInput<2&&(e.curOp.updateInput=d),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function handlePaste(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||runInOp(t,(function(){return applyTextInput(t,n,0,null,"paste")})),!0}function triggerElectric(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var o=n.ranges[r];if(!(o.head.ch>100||r&&n.ranges[r-1].head.line==o.head.line)){var i=e.getModeAt(o.head),a=!1;if(i.electricChars){for(var s=0;s-1){a=indentLine(e,o.head.line,"smart");break}}else i.electricInput&&i.electricInput.test(getLine(e.doc,o.head.line).text.slice(0,o.head.ch))&&(a=indentLine(e,o.head.line,"smart"));a&&signalLater(e,"electricInput",e,o.head.line)}}}function copyableRanges(e){for(var t=[],n=[],r=0;r=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var i=getBidiPartAt(o,n.ch,n.sticky),a=o[i];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from=a.from&&u>=l.begin)){var d=c?"before":"after";return new Pos(n.line,u,d)}}var searchInVisualLine=function(e,t,r){for(var getRes=function(e,t){return t?new Pos(n.line,mv(e,1),"before"):new Pos(n.line,e,"after")};e>=0&&e0==(1!=i.level),s=a?r.begin:mv(r.end,-1);if(i.from<=s&&s0?l.end:mv(l.begin,-1);return null==h||r>0&&h==t.text.length||!(p=searchInVisualLine(r>0?0:o.length-1,r,getWrappedLineExtent(h)))?null:p}(e.cm,s,t,n):moveLogically(s,t,n))){if(r||!function findNextLine(){var r=t.line+n;return!(r=e.first+e.size)&&(t=new Pos(r,t.ch,t.sticky),s=getLine(e,r))}())return!1;t=endOfLine(o,e.cm,s,t.line,n)}else t=i;return!0}if("char"==r)moveOnce();else if("column"==r)moveOnce(!0);else if("word"==r||"group"==r)for(var l=null,c="group"==r,u=e.cm&&e.cm.getHelper(t,"wordChars"),d=!0;!(n<0)||moveOnce(!d);d=!1){var p=s.text.charAt(t.ch)||"\n",h=isWordChar(p,u)?"w":c&&"\n"==p?"n":!c||/\s/.test(p)?null:"p";if(!c||d||h||(h="s"),l&&l!=h){n<0&&(n=1,moveOnce(),t.sticky="after");break}if(h&&(l=h),n>0&&!moveOnce(!d))break}var f=skipAtomic(e,t,i,a,!0);return equalCursorPos(i,f)&&(f.hitSide=!0),f}function findPosV(e,t,n,r){var o,i,a=e.doc,s=t.left;if("page"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*textHeight(e.display),3);o=(n>0?t.bottom:t.top)+n*c}else"line"==r&&(o=n>0?t.bottom+3:t.top-3);for(;(i=coordsChar(e,s,o)).outside;){if(n<0?o<=0:o>=a.height){i.hitSide=!0;break}o+=5*n}return i}var ContentEditableInput=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Delayed,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function posToDOM(e,t){var n=findViewForLine(e,t.line);if(!n||n.hidden)return null;var r=getLine(e.doc,t.line),o=mapFromLineView(n,r,t.line),i=getOrder(r,e.doc.direction),a="left";i&&(a=getBidiPartAt(i,t.ch)%2?"right":"left");var s=nodeAndOffsetInLineMap(o.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s}function badPos(e,t){return t&&(e.bad=!0),e}function domToPos(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return badPos(e.clipPos(Pos(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var o=0;o=t.display.viewTo||i.line=t.display.viewFrom&&posToDOM(t,o)||{node:l[0].measure.map[2],offset:0},u=i.liner.firstLine()&&(a=Pos(a.line-1,getLine(r.doc,a.line-1).length)),s.ch==getLine(r.doc,s.line).text.length&&s.lineo.viewTo-1)return!1;a.line==o.viewFrom||0==(e=findViewIndex(r,a.line))?(t=lineNo(o.view[0].line),n=o.view[0].node):(t=lineNo(o.view[e].line),n=o.view[e-1].node.nextSibling);var l,c,u=findViewIndex(r,s.line);if(u==o.view.length-1?(l=o.viewTo-1,c=o.lineDiv.lastChild):(l=lineNo(o.view[u+1].line)-1,c=o.view[u+1].node.previousSibling),!n)return!1;for(var d=r.doc.splitLines(function domTextBetween(e,t,n,r,o){var i="",a=!1,s=e.doc.lineSeparator(),l=!1;function close(){a&&(i+=s,l&&(i+=s),a=l=!1)}function addText(e){e&&(close(),i+=e)}function walk(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void addText(n);var i,c=t.getAttribute("cm-marker");if(c){var u=e.findMarks(Pos(r,0),Pos(o+1,0),function recognizeMarker(e){return function(t){return t.id==e}}(+c));return void(u.length&&(i=u[0].find(0))&&addText(getBetween(e.doc,i.from,i.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var d=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;d&&close();for(var p=0;p1&&p.length>1;)if(lst(d)==lst(p))d.pop(),p.pop(),l--;else{if(d[0]!=p[0])break;d.shift(),p.shift(),t++}for(var h=0,f=0,g=d[0],m=p[0],v=Math.min(g.length,m.length);ha.ch&&y.charCodeAt(y.length-f-1)==b.charCodeAt(b.length-f-1);)h--,f++;d[d.length-1]=y.slice(0,y.length-f).replace(/^\u200b+/,""),d[0]=d[0].slice(h).replace(/\u200b+$/,"");var C=Pos(t,h),w=Pos(l,p.length?lst(p).length-f:0);return d.length>1||d[0]||cmp(C,w)?(replaceRange(r.doc,d,C,w,"+input"),!0):void 0},ContentEditableInput.prototype.ensurePolled=function(){this.forceCompositionEnd()},ContentEditableInput.prototype.reset=function(){this.forceCompositionEnd()},ContentEditableInput.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},ContentEditableInput.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},ContentEditableInput.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||runInOp(this.cm,(function(){return regChange(e.cm)}))},ContentEditableInput.prototype.setUneditable=function(e){e.contentEditable="false"},ContentEditableInput.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||operation(this.cm,applyTextInput)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},ContentEditableInput.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},ContentEditableInput.prototype.onContextMenu=function(){},ContentEditableInput.prototype.resetPosition=function(){},ContentEditableInput.prototype.needsContentAttribute=!0;var TextareaInput=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new Delayed,this.hasSelection=!1,this.composing=null};TextareaInput.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var o=this.textarea;function prepareCopyCut(e){if(!signalDOMEvent(r,e)){if(r.somethingSelected())setLastCopied({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=copyableRanges(r);setLastCopied({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,T):(n.prevInput="",o.value=t.text.join("\n"),selectInput(o))}"cut"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),g&&(o.style.width="0px"),on(o,"input",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),on(o,"paste",(function(e){signalDOMEvent(r,e)||handlePaste(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),on(o,"cut",prepareCopyCut),on(o,"copy",prepareCopyCut),on(e.scroller,"paste",(function(t){if(!eventInWidget(e,t)&&!signalDOMEvent(r,t)){if(!o.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var i=new Event("paste");i.clipboardData=t.clipboardData,o.dispatchEvent(i)}})),on(e.lineSpace,"selectstart",(function(t){eventInWidget(e,t)||e_preventDefault(t)})),on(o,"compositionstart",(function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}})),on(o,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},TextareaInput.prototype.createField=function(e){this.wrapper=hiddenTextarea(),this.textarea=this.wrapper.firstChild},TextareaInput.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=prepareSelection(e);if(e.options.moveInputWithCursor){var o=cursorCoords(e,n.sel.primary().head,"div"),i=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,o.top+a.top-i.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,o.left+a.left-i.left))}return r},TextareaInput.prototype.showSelection=function(e){var t=this.cm.display;removeChildrenAndAdd(t.cursorDiv,e.cursors),removeChildrenAndAdd(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},TextareaInput.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&selectInput(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null))}},TextareaInput.prototype.getField=function(){return this.textarea},TextareaInput.prototype.supportsTouch=function(){return!1},TextareaInput.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!v||activeElt()!=this.textarea))try{this.textarea.focus()}catch(e){}},TextareaInput.prototype.blur=function(){this.textarea.blur()},TextareaInput.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},TextareaInput.prototype.receivedFocus=function(){this.slowPoll()},TextareaInput.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},TextareaInput.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,(function p(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,p))}))},TextareaInput.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||V(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var o=n.value;if(o==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===o||y&&/[\uf700-\uf7ff]/.test(o))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var i=o.charCodeAt(0);if(8203!=i||r||(r="​"),8666==i)return this.reset(),this.cm.execCommand("undo")}for(var l=0,c=Math.min(r.length,o.length);l1e3||o.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=o,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},TextareaInput.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},TextareaInput.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},TextareaInput.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,o=t.textarea;t.contextMenuPending&&t.contextMenuPending();var i=posFromMouse(n,e),c=r.scroller.scrollTop;if(i&&!d){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(i)&&operation(n,setSelection)(n.doc,simpleSelection(i),T);var u,p=o.style.cssText,h=t.wrapper.style.cssText,f=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",o.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-f.top-5)+"px; left: "+(e.clientX-f.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(u=window.scrollY),r.input.focus(),l&&window.scrollTo(null,u),r.input.reset(),n.somethingSelected()||(o.value=t.prevInput=" "),t.contextMenuPending=rehide,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&prepareSelectAllHack(),S){e_stop(e);var mouseup=function(){off(window,"mouseup",mouseup),setTimeout(rehide,20)};on(window,"mouseup",mouseup)}else setTimeout(rehide,50)}function prepareSelectAllHack(){if(null!=o.selectionStart){var e=n.somethingSelected(),i="​"+(e?o.value:"");o.value="⇚",o.value=i,t.prevInput=e?"":"​",o.selectionStart=1,o.selectionEnd=i.length,r.selForContextMenu=n.doc.sel}}function rehide(){if(t.contextMenuPending==rehide&&(t.contextMenuPending=!1,t.wrapper.style.cssText=h,o.style.cssText=p,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=o.selectionStart)){(!a||a&&s<9)&&prepareSelectAllHack();var e=0,poll=function(){r.selForContextMenu==n.doc.sel&&0==o.selectionStart&&o.selectionEnd>0&&"​"==t.prevInput?operation(n,selectAll)(n):e++<10?r.detectingSelectAll=setTimeout(poll,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(poll,200)}}},TextareaInput.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},TextareaInput.prototype.setUneditable=function(){},TextareaInput.prototype.needsContentAttribute=!1,function defineOptions(e){var t=e.optionHandlers;function option(n,r,o,i){e.defaults[n]=r,o&&(t[n]=i?function(e,t,n){n!=be&&o(e,t,n)}:o)}e.defineOption=option,e.Init=be,option("value","",(function(e,t){return e.setValue(t)}),!0),option("mode",null,(function(e,t){e.doc.modeOption=t,loadMode(e)}),!0),option("indentUnit",2,loadMode,!0),option("indentWithTabs",!1),option("smartIndent",!0),option("tabSize",4,(function(e){resetModeState(e),clearCaches(e),regChange(e)}),!0),option("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var o=0;;){var i=e.text.indexOf(t,o);if(-1==i)break;o=i+t.length,n.push(Pos(r,i))}r++}));for(var o=n.length-1;o>=0;o--)replaceRange(e.doc,t,n[o],Pos(n[o].line,n[o].ch+t.length))}})),option("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=be&&e.refresh()})),option("specialCharPlaceholder",defaultSpecialCharPlaceholder,(function(e){return e.refresh()}),!0),option("electricChars",!0),option("inputStyle",v?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),option("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),option("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),option("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),option("rtlMoveVisually",!x),option("wholeLineUpdateBefore",!0),option("theme","default",(function(e){themeChanged(e),updateGutters(e)}),!0),option("keyMap","default",(function(e,t,n){var r=getKeyMap(t),o=n!=be&&getKeyMap(n);o&&o.detach&&o.detach(e,r),r.attach&&r.attach(e,o||null)})),option("extraKeys",null),option("configureMouse",null),option("lineWrapping",!1,wrappingChanged,!0),option("gutters",[],(function(e,t){e.display.gutterSpecs=getGutters(t,e.options.lineNumbers),updateGutters(e)}),!0),option("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?compensateForHScroll(e.display)+"px":"0",e.refresh()}),!0),option("coverGutterNextToScrollbar",!1,(function(e){return updateScrollbars(e)}),!0),option("scrollbarStyle","native",(function(e){initScrollbars(e),updateScrollbars(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),option("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=getGutters(e.options.gutters,t),updateGutters(e)}),!0),option("firstLineNumber",1,updateGutters,!0),option("lineNumberFormatter",(function(e){return e}),updateGutters,!0),option("showCursorWhenSelecting",!1,updateSelection,!0),option("resetSelectionOnContextMenu",!0),option("lineWiseCopyCut",!0),option("pasteLinesPerSelection",!0),option("selectionsMayTouch",!1),option("readOnly",!1,(function(e,t){"nocursor"==t&&(onBlur(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),option("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),option("dragDrop",!0,dragDropChanged),option("allowDropFileTypes",null),option("cursorBlinkRate",530),option("cursorScrollMargin",0),option("cursorHeight",1,updateSelection,!0),option("singleCursorHeightPerLine",!0,updateSelection,!0),option("workTime",100),option("workDelay",100),option("flattenSpans",!0,resetModeState,!0),option("addModeClass",!1,resetModeState,!0),option("pollInterval",100),option("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),option("historyEventDelay",1250),option("viewportMargin",10,(function(e){return e.refresh()}),!0),option("maxHighlightLength",1e4,resetModeState,!0),option("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),option("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),option("autofocus",null),option("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),option("phrases",null)}(CodeMirror),function addEditorMethods(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,o=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&operation(this,t[e])(this,n,o),signal(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](getKeyMap(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nn&&(indentLine(this,o.head.line,e,!0),n=o.head.line,r==this.doc.sel.primIndex&&ensureCursorVisible(this));else{var i=o.from(),a=o.to(),s=Math.max(n,i.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l0&&replaceOneSelection(this.doc,r,new Range(i,c[r].to()),T)}}})),getTokenAt:function(e,t){return takeToken(this,e,t)},getLineTokens:function(e,t){return takeToken(this,Pos(e),t,!0)},getTokenTypeAt:function(e){e=clipPos(this.doc,e);var t,n=getLineStyles(this,getLine(this.doc,e.line)),r=0,o=(n.length-1)/2,i=e.ch;if(0==i)t=n[2];else for(;;){var a=r+o>>1;if((a?n[2*a-1]:0)>=i)o=a;else{if(!(n[2*a+1]i&&(e=i,o=!0),r=getLine(this.doc,e)}else r=e;return intoCoordSystem(this,r,{top:0,left:0},t||"page",n||o).top+(o?this.doc.height-heightAtLine(r):0)},defaultTextHeight:function(){return textHeight(this.display)},defaultCharWidth:function(){return charWidth(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,o){var i=this.display,a=(e=cursorCoords(this,clipPos(this.doc,e))).bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),i.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var l=Math.max(i.wrapper.clientHeight,this.doc.height),c=Math.max(i.sizer.clientWidth,i.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>c&&(s=c-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==o?(s=i.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==o?s=0:"middle"==o&&(s=(i.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&function scrollIntoView(e,t){var n=calculateScrollPos(e,t);null!=n.scrollTop&&updateScrollTop(e,n.scrollTop),null!=n.scrollLeft&&setScrollLeft(e,n.scrollLeft)}(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:methodOp(onKeyDown),triggerOnKeyPress:methodOp(onKeyPress),triggerOnKeyUp:onKeyUp,triggerOnMouseDown:methodOp(onMouseDown),execCommand:function(e){if(fe.hasOwnProperty(e))return fe[e].call(null,this)},triggerElectric:methodOp((function(e){triggerElectric(this,e)})),findPosH:function(e,t,n,r){var o=1;t<0&&(o=-1,t=-t);for(var i=clipPos(this.doc,e),a=0;a0&&a(t.charAt(n-1));)--n;for(;r.5)&&estimateLineHeights(this),signal(this,"refresh",this)})),swapDoc:methodOp((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),attachDoc(this,e),clearCaches(this),this.display.input.reset(),scrollToCoords(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,signalLater(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},eventMixin(e),e.registerHelper=function(t,r,o){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=o},e.registerGlobalHelper=function(t,r,o,i){e.registerHelper(t,r,i),n[t]._global.push({pred:o,val:i})}}(CodeMirror);var ke="iter insert remove copy getEditor constructor".split(" ");for(var Le in Doc.prototype)Doc.prototype.hasOwnProperty(Le)&&indexOf(ke,Le)<0&&(CodeMirror.prototype[Le]=function(e){return function(){return e.apply(this.doc,arguments)}}(Doc.prototype[Le]));return eventMixin(Doc),CodeMirror.inputStyles={textarea:TextareaInput,contenteditable:ContentEditableInput},CodeMirror.defineMode=function(e){CodeMirror.defaults.mode||"null"==e||(CodeMirror.defaults.mode=e),defineMode.apply(this,arguments)},CodeMirror.defineMIME=function defineMIME(e,t){_[e]=t},CodeMirror.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),CodeMirror.defineMIME("text/plain","null"),CodeMirror.defineExtension=function(e,t){CodeMirror.prototype[e]=t},CodeMirror.defineDocExtension=function(e,t){Doc.prototype[e]=t},CodeMirror.fromTextArea=function fromTextArea(e,t){if((t=t?copyObj(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=activeElt();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function save(){e.value=a.getValue()}var r;if(e.form&&(on(e.form,"submit",save),!t.leaveSubmitMethodAlone)){var o=e.form;r=o.submit;try{var i=o.submit=function(){save(),o.submit=r,o.submit(),o.submit=i}}catch(e){}}t.finishInit=function(n){n.save=save,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,save(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display="",e.form&&(off(e.form,"submit",save),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=r))}},e.style.display="none";var a=CodeMirror((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return a},function addLegacyProps(e){e.off=off,e.on=on,e.wheelEventPixels=wheelEventPixels,e.Doc=Doc,e.splitLines=R,e.countColumn=countColumn,e.findColumn=findColumn,e.isWordChar=isWordCharBasic,e.Pass=M,e.signal=signal,e.Line=Line,e.changeEnd=changeEnd,e.scrollbarModel=te,e.Pos=Pos,e.cmpPos=cmp,e.modes=G,e.mimeModes=_,e.resolveMode=resolveMode,e.getMode=getMode,e.modeExtensions=K,e.extendMode=extendMode,e.copyState=copyState,e.startState=startState,e.innerMode=innerMode,e.commands=fe,e.keyMap=he,e.keyName=keyName,e.isModifierKey=isModifierKey,e.lookupKey=lookupKey,e.normalizeKeyMap=normalizeKeyMap,e.StringStream=StringStream,e.SharedTextMarker=SharedTextMarker,e.TextMarker=TextMarker,e.LineWidget=LineWidget,e.e_preventDefault=e_preventDefault,e.e_stopPropagation=e_stopPropagation,e.e_stop=e_stop,e.addClass=addClass,e.contains=contains,e.rmClass=rmClass,e.keyNames=ce}(CodeMirror),CodeMirror.version="5.49.2",CodeMirror}()},597:function(e,t,n){"use strict";(function(e){var r,o=Object.assign||function(e){for(var t=1;t]*>\s*$/,!1)){for(;l.prev&&!l.startOfLine;)l=l.prev;l.startOfLine?s-=t.indentUnit:a.prev.state.lexical&&(s=a.prev.state.lexical.indented)}else 1==a.depth&&(s+=t.indentUnit);return i.context=new Context(e.startState(o,s),o,0,i.context),null}if(1==a.depth){if("<"==n.peek())return r.skipAttribute(a.state),i.context=new Context(e.startState(r,flatXMLIndent(a.state)),r,0,i.context),null;if(n.match("//"))return n.skipToEnd(),"comment";if(n.match("/*"))return a.depth=2,token(n,i)}var c,u=r.token(n,a.state),d=n.current();return/\btag\b/.test(u)?/>$/.test(d)?a.state.context?a.depth=0:i.context=i.context.prev:/^-1&&n.backUp(d.length-c),u}(n,i,i.context):function jsToken(t,n,i){if("<"==t.peek()&&o.expressionAllowed(t,i.state))return o.skipExpression(i.state),n.context=new Context(e.startState(r,o.indent(i.state,"","")),r,0,n.context),null;var a=o.token(t,i.state);if(!a&&null!=i.depth){var s=t.current();"{"==s?i.depth++:"}"==s&&0==--i.depth&&(n.context=n.context.prev)}return a}(n,i,i.context)}return{startState:function(){return{context:new Context(e.startState(o),o)}},copyState:function(e){return{context:copyContext(e.context)}},token:token,indent:function(e,t,n){return e.context.mode.indent(e.context.state,t,n)},innerMode:function(e){return e.context}}}),"xml","javascript"),e.defineMIME("text/jsx","jsx"),e.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})}(n(596),n(599),n(600))},599:function(e,t,n){!function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",(function(r,o){var i,a,s=r.indentUnit,l={},c=o.htmlMode?t:n;for(var u in c)l[u]=c[u];for(var u in o)l[u]=o[u];function inText(e,t){function chain(n){return t.tokenize=n,n(e,t)}var n=e.next();return"<"==n?e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(function doctype(e){return function(t,n){for(var r;null!=(r=t.next());){if("<"==r)return n.tokenize=doctype(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=inText;break}return n.tokenize=doctype(e-1),n.tokenize(t,n)}}return"meta"}}(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(i=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket"):"&"==n?(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error":(e.eatWhile(/[^&<]/),null)}function inTag(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=inText,i=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return i="equals",null;if("<"==n){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=function inAttribute(e){var closure=function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=inTag;break}return"string"};return closure.isInAttribute=!0,closure}(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=inText;break}n.next()}return e}}function Context(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(l.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!l.contextGrabbers.hasOwnProperty(n)||!l.contextGrabbers[n].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,n){return"openTag"==e?(n.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,n){return"word"==e?(n.tagName=t.current(),a="tag",attrState):l.allowMissingTagName&&"endTag"==e?(a="tag bracket",attrState(e,0,n)):(a="error",tagNameState)}function closeTagNameState(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&l.implicitlyClosed.hasOwnProperty(n.context.tagName)&&popContext(n),n.context&&n.context.tagName==r||!1===l.matchClosing?(a="tag",closeState):(a="tag error",closeStateErr)}return l.allowMissingTagName&&"endTag"==e?(a="tag bracket",closeState(e,0,n)):(a="error",closeStateErr)}function closeState(e,t,n){return"endTag"!=e?(a="error",closeState):(popContext(n),baseState)}function closeStateErr(e,t,n){return a="error",closeState(e,0,n)}function attrState(e,t,n){if("word"==e)return a="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,o=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(r)?maybePopContext(n,r):(maybePopContext(n,r),n.context=new Context(n,r,o==n.indented)),baseState}return a="error",attrState}function attrEqState(e,t,n){return"equals"==e?attrValueState:(l.allowMissing||(a="error"),attrState(e,0,n))}function attrValueState(e,t,n){return"string"==e?attrContinuedState:"word"==e&&l.allowUnquoted?(a="string",attrState):(a="error",attrState(e,0,n))}function attrContinuedState(e,t,n){return"string"==e?attrContinuedState:attrState(e,0,n)}return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;i=null;var n=t.tokenize(e,t);return(n||i)&&"comment"!=n&&(a=null,t.state=t.state(i||n,e,t),a&&(n="error"==a?n+" error":a)),n},indent:function(t,n,r){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+s;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==l.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)},xmlCurrentTag:function(e){return e.tagName?{name:e.tagName,close:"closeTag"==e.type}:null},xmlCurrentContext:function(e){for(var t=[],n=e.context;n;n=n.prev)n.tagName&&t.push(n.tagName);return t.reverse()}}})),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})}(n(596))},600:function(e,t,n){!function(e){"use strict";e.defineMode("javascript",(function(t,n){var r,o,i=t.indentUnit,a=n.statementIndent,s=n.jsonld,l=n.json||s,c=n.typescript,u=n.wordCharacters||/[\w$\xa1-\uffff]/,d=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),n=kw("keyword c"),r=kw("keyword d"),o=kw("operator"),i={type:"atom",style:"atom"};return{if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:r,break:r,continue:r,new:kw("new"),delete:n,void:n,throw:n,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:i,false:i,null:i,undefined:i,NaN:i,Infinity:i,this:kw("this"),class:kw("class"),super:kw("atom"),yield:n,export:kw("export"),import:kw("import"),extends:n,await:n}}(),p=/[+\-*&%=<>!?|~^@]/,h=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function ret(e,t,n){return r=e,o=n,t}function tokenBase(e,t){var n=e.next();if('"'==n||"'"==n)return t.tokenize=function tokenString(e){return function(t,n){var r,o=!1;if(s&&"@"==t.peek()&&t.match(h))return n.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(r=t.next())&&(r!=e||o);)o=!o&&"\\"==r;return o||(n.tokenize=tokenBase),ret("string","string")}}(n),t.tokenize(e,t);if("."==n&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return ret("number","number");if("."==n&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return ret(n);if("="==n&&e.eat(">"))return ret("=>","operator");if("0"==n&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return ret("number","number");if(/\d/.test(n))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),ret("number","number");if("/"==n)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==n)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==n)return e.skipToEnd(),ret("error","error");if("<"==n&&e.match("!--")||"-"==n&&e.match("->"))return e.skipToEnd(),ret("comment","comment");if(p.test(n))return">"==n&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=n&&"="!=n||e.eat("="):/[<>*+\-]/.test(n)&&(e.eat(n),">"==n&&e.eat(n))),ret("operator","operator",e.current());if(u.test(n)){e.eatWhile(u);var r=e.current();if("."!=t.lastType){if(d.propertyIsEnumerable(r)){var o=d[r];return ret(o.type,o.style,r)}if("async"==r&&e.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return ret("async","keyword",r)}return ret("variable","variable",r)}}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=tokenBase;break}r="*"==n}return ret("comment","comment")}function tokenQuasi(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=tokenBase;break}r=!r&&"\\"==n}return ret("quasi","string-2",e.current())}var f="([{}])";function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(c){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var o=0,i=!1,a=n-1;a>=0;--a){var s=e.string.charAt(a),l=f.indexOf(s);if(l>=0&&l<3){if(!o){++a;break}if(0==--o){"("==s&&(i=!0);break}}else if(l>=3&&l<6)++o;else if(u.test(s))i=!0;else if(/["'\/`]/.test(s))for(;;--a){if(0==a)return;if(e.string.charAt(a-1)==s&&"\\"!=e.string.charAt(a-2)){a--;break}}else if(i&&!o){++a;break}}i&&!o&&(t.fatArrowAt=a)}}var g={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function JSLexical(e,t,n,r,o,i){this.indented=e,this.column=t,this.type=n,this.prev=o,this.info=i,null!=r&&(this.align=r)}function inScope(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(n=r.vars;n;n=n.next)if(n.name==t)return!0}var m={state:null,column:null,marked:null,cc:null};function pass(){for(var e=arguments.length-1;e>=0;e--)m.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function inList(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function register(e){var t=m.state;if(m.marked="def",t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var r=function registerVarScoped(e,t){if(t){if(t.block){var n=registerVarScoped(e,t.prev);return n?n==t.prev?t:new Context(n,t.vars,!0):null}return inList(e,t.vars)?t:new Context(t.prev,new Var(e,t.vars),!1)}return null}(e,t.context);if(null!=r)return void(t.context=r)}else if(!inList(e,t.localVars))return void(t.localVars=new Var(e,t.localVars));n.globalVars&&!inList(e,t.globalVars)&&(t.globalVars=new Var(e,t.globalVars))}function isModifier(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function Context(e,t,n){this.prev=e,this.vars=t,this.block=n}function Var(e,t){this.name=e,this.next=t}var v=new Var("this",new Var("arguments",null));function pushcontext(){m.state.context=new Context(m.state.context,m.state.localVars,!1),m.state.localVars=v}function pushblockcontext(){m.state.context=new Context(m.state.context,m.state.localVars,!0),m.state.localVars=null}function popcontext(){m.state.localVars=m.state.context.vars,m.state.context=m.state.context.prev}function pushlex(e,t){var result=function(){var n=m.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var o=n.lexical;o&&")"==o.type&&o.align;o=o.prev)r=o.indented;n.lexical=new JSLexical(r,m.stream.column(),e,null,n.lexical,t)};return result.lex=!0,result}function poplex(){var e=m.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){return function exp(t){return t==e?cont():";"==e||"}"==t||")"==t||"]"==t?pass():cont(exp)}}function statement(e,t){return"var"==e?cont(pushlex("vardef",t),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?m.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),pushblockcontext,block,poplex,popcontext):";"==e?cont():"if"==e?("else"==m.state.lexical.info&&m.state.cc[m.state.cc.length-1]==poplex&&m.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"class"==e||c&&"interface"==t?(m.marked="keyword",cont(pushlex("form","class"==e?e:t),className,poplex)):"variable"==e?c&&"declare"==t?(m.marked="keyword",cont(statement)):c&&("module"==t||"enum"==t||"type"==t)&&m.stream.match(/^\s*\w/,!1)?(m.marked="keyword","enum"==t?cont(enumdef):"type"==t?cont(typename,expect("operator"),typeexpr,expect(";")):cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex)):c&&"namespace"==t?(m.marked="keyword",cont(pushlex("form"),expression,statement,poplex)):c&&"abstract"==t?(m.marked="keyword",cont(statement)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),pushblockcontext,block,poplex,poplex,popcontext):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,maybeCatchBinding,statement,poplex,popcontext):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function maybeCatchBinding(e){if("("==e)return cont(funarg,expect(")"))}function expression(e,t){return expressionInner(e,t,!1)}function expressionNoComma(e,t){return expressionInner(e,t,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t,n){if(m.state.fatArrowAt==m.stream.start){var r=n?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),r,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),r,popcontext)}var o=n?maybeoperatorNoComma:maybeoperatorComma;return g.hasOwnProperty(e)?cont(o):"function"==e?cont(functiondef,o):"class"==e||c&&"interface"==t?(m.marked="keyword",cont(pushlex("form"),classExpression,poplex)):"keyword c"==e||"async"==e?cont(n?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,o):"operator"==e||"spread"==e?cont(n?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,o):"{"==e?contCommasep(objprop,"}",null,o):"quasi"==e?pass(quasi,o):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(n)):"import"==e?cont(expression):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,n){var r=0==n?maybeoperatorComma:maybeoperatorNoComma,o=0==n?expression:expressionNoComma;return"=>"==e?cont(pushcontext,n?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(r):c&&"<"==t&&m.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?cont(pushlex(">"),commasep(typeexpr,">"),poplex,r):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,r):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",r):"."==e?cont(property,r):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,r):c&&"as"==t?(m.marked="keyword",cont(typeexpr,r)):"regexp"==e?(m.state.lastType=m.marked="operator",m.stream.backUp(m.stream.pos-m.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return m.marked="string-2",m.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(m.stream,m.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(m.stream,m.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return m.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return m.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return m.marked="property",cont()}function objprop(e,t){return"async"==e?(m.marked="property",cont(objprop)):"variable"==e||"keyword"==m.style?(m.marked="property","get"==t||"set"==t?cont(getterSetter):(c&&m.state.fatArrowAt==m.stream.start&&(n=m.stream.match(/^\s*:\s*/,!1))&&(m.state.fatArrowAt=m.stream.pos+n[0].length),cont(afterprop))):"number"==e||"string"==e?(m.marked=s?"property":m.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):c&&isModifier(t)?(m.marked="keyword",cont(objprop)):"["==e?cont(expression,maybetype,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(m.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0;var n}function getterSetter(e){return"variable"!=e?pass(afterprop):(m.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,n){function proceed(r,o){if(n?n.indexOf(r)>-1:","==r){var i=m.state.lexical;return"call"==i.info&&(i.pos=(i.pos||0)+1),cont((function(n,r){return n==t||r==t?pass():pass(e)}),proceed)}return r==t||o==t?cont():n&&n.indexOf(";")>-1?pass(e):cont(expect(t))}return function(n,r){return n==t||r==t?cont():pass(e,proceed)}}function contCommasep(e,t,n){for(var r=3;r"),typeexpr):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==m.style?(m.marked="property",cont(typeprop)):"?"==t||"number"==e||"string"==e?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expect("variable"),maybetypeOrIn,expect("]"),typeprop):"("==e?pass(functiondecl,typeprop):void 0}function typearg(e,t){return"variable"==e&&m.stream.match(/^\s*[?:]/,!1)||"?"==t?cont(typearg):":"==e?cont(typeexpr):"spread"==e?cont(typearg):pass(typeexpr)}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e||"&"==t?cont(typeexpr):"["==e?cont(typeexpr,expect("]"),afterType):"extends"==t||"implements"==t?(m.marked="keyword",cont(typeexpr)):"?"==t?cont(typeexpr,expect(":"),typeexpr):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(e,t){if("="==t)return cont(typeexpr)}function vardef(e,t){return"enum"==t?(m.marked="keyword",cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return c&&isModifier(t)?(m.marked="keyword",cont(pattern)):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(eltpattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||m.stream.match(/^\s*:/,!1)?("variable"==e&&(m.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():"["==e?cont(expression,expect("]"),expect(":"),proppattern):cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function eltpattern(){return pass(pattern,maybeAssign)}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e,t){return"await"==t?cont(forspec):"("==e?cont(pushlex(")"),forspec1,poplex):void 0}function forspec1(e){return"var"==e?cont(vardef,forspec2):"variable"==e?cont(forspec2):pass(forspec2)}function forspec2(e,t){return")"==e?cont():";"==e?cont(forspec2):"in"==t||"of"==t?(m.marked="keyword",cont(expression,forspec2)):pass(expression,forspec2)}function functiondef(e,t){return"*"==t?(m.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondef):void 0}function functiondecl(e,t){return"*"==t?(m.marked="keyword",cont(functiondecl)):"variable"==e?(register(t),cont(functiondecl)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondecl):void 0}function typename(e,t){return"keyword"==e||"variable"==e?(m.marked="type",cont(typename)):"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e?cont(funarg):c&&isModifier(t)?(m.marked="keyword",cont(funarg)):c&&"this"==e?cont(maybetype,maybeAssign):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(m.marked="keyword"),cont(c?typeexpr:expression,classNameAfter)):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&isModifier(t))&&m.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(m.marked="keyword",cont(classBody)):"variable"==e||"keyword"==m.style?(m.marked="property",cont(c?classfield:functiondef,classBody)):"number"==e||"string"==e?cont(c?classfield:functiondef,classBody):"["==e?cont(expression,maybetype,expect("]"),c?classfield:functiondef,classBody):"*"==t?(m.marked="keyword",cont(classBody)):c&&"("==e?pass(functiondecl,classBody):";"==e||","==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){if("?"==t)return cont(classfield);if(":"==e)return cont(typeexpr,maybeAssign);if("="==t)return cont(expressionNoComma);var n=m.state.lexical.prev;return pass(n&&"interface"==n.info?functiondecl:functiondef)}function afterExport(e,t){return"*"==t?(m.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(m.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(m.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():"("==e?pass(expression):pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&®ister(t),"*"==t&&(m.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return m.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return m.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function enumdef(){return pass(pushlex("form"),pattern,expect("{"),pushlex("}"),commasep(enummember,"}"),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function expressionAllowed(e,t,n){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}return popcontext.lex=!0,poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-i,0,"block",!1),localVars:n.localVars,context:n.localVars&&new Context(null,null,!1),indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==r?n:(t.lastType="operator"!=r||"++"!=o&&"--"!=o?r:"incdec",function parseJS(e,t,n,r,o){var i=e.cc;for(m.state=e,m.stream=o,m.marked=null,m.cc=i,m.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((i.length?i.pop():l?expression:statement)(n,r)){for(;i.length&&i[i.length-1].lex;)i.pop()();return m.marked?m.marked:"variable"==n&&inScope(e,r)?"variable-2":t}}(t,n,r,o,e))},indent:function(t,r){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=r&&r.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(r))for(var c=t.cc.length-1;c>=0;--c){var u=t.cc[c];if(u==poplex)l=l.prev;else if(u!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(r));)l=l.prev;a&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var d=l.type,h=s==d;return"vardef"==d?l.indented+("operator"==t.lastType||","==t.lastType?l.info.length+1:0):"form"==d&&"{"==s?l.indented:"form"==d?l.indented+i:"stat"==d?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||p.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,r)?a||i:0):"switch"!=l.info||h||0==n.doubleIndentSwitch?l.align?l.column+(h?0:1):l.indented+(h?0:i):l.indented+(/^(?:case|default)\b/.test(r)?i:2*i)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}})),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})}(n(596))},601:function(e,t,n){var r=n(602);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(116)(r,o);r.locals&&(e.exports=r.locals)},602:function(e,t,n){(e.exports=n(266)(!1)).push([e.i,"/* BASICS */\n\n.CodeMirror {\n /* Set height, width, borders, and global font properties here */\n font-family: monospace;\n height: 300px;\n color: black;\n direction: ltr;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n padding: 4px 0; /* Vertical padding around content */\n}\n.CodeMirror pre.CodeMirror-line,\n.CodeMirror pre.CodeMirror-line-like {\n padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n border-right: 1px solid #ddd;\n background-color: #f7f7f7;\n white-space: nowrap;\n}\n.CodeMirror-linenumbers {}\n.CodeMirror-linenumber {\n padding: 0 3px 0 5px;\n min-width: 20px;\n text-align: right;\n color: #999;\n white-space: nowrap;\n}\n\n.CodeMirror-guttermarker { color: black; }\n.CodeMirror-guttermarker-subtle { color: #999; }\n\n/* CURSOR */\n\n.CodeMirror-cursor {\n border-left: 1px solid black;\n border-right: none;\n width: 0;\n}\n/* Shown when moving in bi-directional text */\n.CodeMirror div.CodeMirror-secondarycursor {\n border-left: 1px solid silver;\n}\n.cm-fat-cursor .CodeMirror-cursor {\n width: auto;\n border: 0 !important;\n background: #7e7;\n}\n.cm-fat-cursor div.CodeMirror-cursors {\n z-index: 1;\n}\n.cm-fat-cursor-mark {\n background-color: rgba(20, 255, 20, 0.5);\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n}\n.cm-animate-fat-cursor {\n width: auto;\n border: 0;\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n background-color: #7e7;\n}\n@-moz-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@-webkit-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\n.CodeMirror-overwrite .CodeMirror-cursor {}\n\n.cm-tab { display: inline-block; text-decoration: inherit; }\n\n.CodeMirror-rulers {\n position: absolute;\n left: 0; right: 0; top: -50px; bottom: 0;\n overflow: hidden;\n}\n.CodeMirror-ruler {\n border-left: 1px solid #ccc;\n top: 0; bottom: 0;\n position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-header {color: blue;}\n.cm-s-default .cm-quote {color: #090;}\n.cm-negative {color: #d44;}\n.cm-positive {color: #292;}\n.cm-header, .cm-strong {font-weight: bold;}\n.cm-em {font-style: italic;}\n.cm-link {text-decoration: underline;}\n.cm-strikethrough {text-decoration: line-through;}\n\n.cm-s-default .cm-keyword {color: #708;}\n.cm-s-default .cm-atom {color: #219;}\n.cm-s-default .cm-number {color: #164;}\n.cm-s-default .cm-def {color: #00f;}\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {}\n.cm-s-default .cm-variable-2 {color: #05a;}\n.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}\n.cm-s-default .cm-comment {color: #a50;}\n.cm-s-default .cm-string {color: #a11;}\n.cm-s-default .cm-string-2 {color: #f50;}\n.cm-s-default .cm-meta {color: #555;}\n.cm-s-default .cm-qualifier {color: #555;}\n.cm-s-default .cm-builtin {color: #30a;}\n.cm-s-default .cm-bracket {color: #997;}\n.cm-s-default .cm-tag {color: #170;}\n.cm-s-default .cm-attribute {color: #00c;}\n.cm-s-default .cm-hr {color: #999;}\n.cm-s-default .cm-link {color: #00c;}\n\n.cm-s-default .cm-error {color: #f00;}\n.cm-invalidchar {color: #f00;}\n\n.CodeMirror-composing { border-bottom: 2px solid; }\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\n.CodeMirror-activeline-background {background: #e8f2ff;}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n position: relative;\n overflow: hidden;\n background: white;\n}\n\n.CodeMirror-scroll {\n overflow: scroll !important; /* Things will break if this is overridden */\n /* 30px is the magic margin used to hide the element's real scrollbars */\n /* See overflow: hidden in .CodeMirror */\n margin-bottom: -30px; margin-right: -30px;\n padding-bottom: 30px;\n height: 100%;\n outline: none; /* Prevent dragging from highlighting the element */\n position: relative;\n}\n.CodeMirror-sizer {\n position: relative;\n border-right: 30px solid transparent;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n before actual scrolling happens, thus preventing shaking and\n flickering artifacts. */\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n position: absolute;\n z-index: 6;\n display: none;\n}\n.CodeMirror-vscrollbar {\n right: 0; top: 0;\n overflow-x: hidden;\n overflow-y: scroll;\n}\n.CodeMirror-hscrollbar {\n bottom: 0; left: 0;\n overflow-y: hidden;\n overflow-x: scroll;\n}\n.CodeMirror-scrollbar-filler {\n right: 0; bottom: 0;\n}\n.CodeMirror-gutter-filler {\n left: 0; bottom: 0;\n}\n\n.CodeMirror-gutters {\n position: absolute; left: 0; top: 0;\n min-height: 100%;\n z-index: 3;\n}\n.CodeMirror-gutter {\n white-space: normal;\n height: 100%;\n display: inline-block;\n vertical-align: top;\n margin-bottom: -30px;\n}\n.CodeMirror-gutter-wrapper {\n position: absolute;\n z-index: 4;\n background: none !important;\n border: none !important;\n}\n.CodeMirror-gutter-background {\n position: absolute;\n top: 0; bottom: 0;\n z-index: 4;\n}\n.CodeMirror-gutter-elt {\n position: absolute;\n cursor: default;\n z-index: 4;\n}\n.CodeMirror-gutter-wrapper ::selection { background-color: transparent }\n.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }\n\n.CodeMirror-lines {\n cursor: text;\n min-height: 1px; /* prevents collapsing before first draw */\n}\n.CodeMirror pre.CodeMirror-line,\n.CodeMirror pre.CodeMirror-line-like {\n /* Reset some styles that the rest of the page might have set */\n -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;\n border-width: 0;\n background: transparent;\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n white-space: pre;\n word-wrap: normal;\n line-height: inherit;\n color: inherit;\n z-index: 2;\n position: relative;\n overflow: visible;\n -webkit-tap-highlight-color: transparent;\n -webkit-font-variant-ligatures: contextual;\n font-variant-ligatures: contextual;\n}\n.CodeMirror-wrap pre.CodeMirror-line,\n.CodeMirror-wrap pre.CodeMirror-line-like {\n word-wrap: break-word;\n white-space: pre-wrap;\n word-break: normal;\n}\n\n.CodeMirror-linebackground {\n position: absolute;\n left: 0; right: 0; top: 0; bottom: 0;\n z-index: 0;\n}\n\n.CodeMirror-linewidget {\n position: relative;\n z-index: 2;\n padding: 0.1px; /* Force widget margins to stay inside of the container */\n}\n\n.CodeMirror-widget {}\n\n.CodeMirror-rtl pre { direction: rtl; }\n\n.CodeMirror-code {\n outline: none;\n}\n\n/* Force content-box sizing for the elements where we expect it */\n.CodeMirror-scroll,\n.CodeMirror-sizer,\n.CodeMirror-gutter,\n.CodeMirror-gutters,\n.CodeMirror-linenumber {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n}\n\n.CodeMirror-measure {\n position: absolute;\n width: 100%;\n height: 0;\n overflow: hidden;\n visibility: hidden;\n}\n\n.CodeMirror-cursor {\n position: absolute;\n pointer-events: none;\n}\n.CodeMirror-measure pre { position: static; }\n\ndiv.CodeMirror-cursors {\n visibility: hidden;\n position: relative;\n z-index: 3;\n}\ndiv.CodeMirror-dragcursors {\n visibility: visible;\n}\n\n.CodeMirror-focused div.CodeMirror-cursors {\n visibility: visible;\n}\n\n.CodeMirror-selected { background: #d9d9d9; }\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\n.CodeMirror-crosshair { cursor: crosshair; }\n.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\n\n.cm-searching {\n background-color: #ffa;\n background-color: rgba(255, 255, 0, .4);\n}\n\n/* Used to force a border model for a node */\n.cm-force-border { padding-right: .1px; }\n\n@media print {\n /* Hide the cursor when printing */\n .CodeMirror div.CodeMirror-cursors {\n visibility: hidden;\n }\n}\n\n/* See issue #2901 */\n.cm-tab-wrap-hack:after { content: ''; }\n\n/* Help users use markselection to safely style text background */\nspan.CodeMirror-selectedtext { background: none; }\n",""])},603:function(e,t,n){var r=n(604);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(116)(r,o);r.locals&&(e.exports=r.locals)},604:function(e,t,n){(e.exports=n(266)(!1)).push([e.i,"/*\n\n Name: Base16 Default Light\n Author: Chris Kempson (http://chriskempson.com)\n\n CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)\n Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)\n\n*/\n\n.cm-s-base16-light.CodeMirror { background: #f5f5f5; color: #202020; }\n.cm-s-base16-light div.CodeMirror-selected { background: #e0e0e0; }\n.cm-s-base16-light .CodeMirror-line::selection, .cm-s-base16-light .CodeMirror-line > span::selection, .cm-s-base16-light .CodeMirror-line > span > span::selection { background: #e0e0e0; }\n.cm-s-base16-light .CodeMirror-line::-moz-selection, .cm-s-base16-light .CodeMirror-line > span::-moz-selection, .cm-s-base16-light .CodeMirror-line > span > span::-moz-selection { background: #e0e0e0; }\n.cm-s-base16-light .CodeMirror-gutters { background: #f5f5f5; border-right: 0px; }\n.cm-s-base16-light .CodeMirror-guttermarker { color: #ac4142; }\n.cm-s-base16-light .CodeMirror-guttermarker-subtle { color: #b0b0b0; }\n.cm-s-base16-light .CodeMirror-linenumber { color: #b0b0b0; }\n.cm-s-base16-light .CodeMirror-cursor { border-left: 1px solid #505050; }\n\n.cm-s-base16-light span.cm-comment { color: #8f5536; }\n.cm-s-base16-light span.cm-atom { color: #aa759f; }\n.cm-s-base16-light span.cm-number { color: #aa759f; }\n\n.cm-s-base16-light span.cm-property, .cm-s-base16-light span.cm-attribute { color: #90a959; }\n.cm-s-base16-light span.cm-keyword { color: #ac4142; }\n.cm-s-base16-light span.cm-string { color: #f4bf75; }\n\n.cm-s-base16-light span.cm-variable { color: #90a959; }\n.cm-s-base16-light span.cm-variable-2 { color: #6a9fb5; }\n.cm-s-base16-light span.cm-def { color: #d28445; }\n.cm-s-base16-light span.cm-bracket { color: #202020; }\n.cm-s-base16-light span.cm-tag { color: #ac4142; }\n.cm-s-base16-light span.cm-link { color: #aa759f; }\n.cm-s-base16-light span.cm-error { background: #ac4142; color: #505050; }\n\n.cm-s-base16-light .CodeMirror-activeline-background { background: #DDDCDC; }\n.cm-s-base16-light .CodeMirror-matchingbracket { color: #f5f5f5 !important; background-color: #6A9FB5 !important}\n",""])},605:function(e,t,n){"use strict";n.r(t),n.d(t,"Editor",(function(){return f}));var r=n(1),o=n.n(r),i=n(0),a=n.n(i),s=n(3),l=n(229),c=n.n(l),u=n(597),d=(n(598),Object.assign||function(e){for(var t=1;t",lt:"<",nbsp:" ",quot:"“"},y=["style","script"],v=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,_=/mailto:/i,x=/\n{2,}$/,w=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,S=/^ *> ?/gm,E=/^ {2,}\n/,C=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,P=/^\s*(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n *)+\n?/,O=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,T=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,R=/^(?:\n *)*\n/,A=/\r\n?/g,I=/^\[\^(.*)\](:.*)\n/,N=/^\[\^(.*)\]/,M=/\f/g,L=/^\s*?\[(x|\s)\]/,D=/^ *(#{1,6}) *([^\n]+)\n{0,2}/,B=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,F=/^ *<([A-Za-z][^ >\/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/,U=/&([a-z]+);/g,V=/^/,q=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,W=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,z=/^\{.*\}$/,H=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,G=/^<([^ >]+@[^ >]+)>/,K=/^<([^ >]+:\/[^ >]+)>/,J=/ *\n+$/,X=/(?:^|\n)( *)$/,$=/-([a-z])?/gi,Z=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,Q=/^((?:[^\n]|\n(?! *\n))+)(?:\n *)+\n/,Y=/^\[([^\]]*)\]:\s*(\S+)\s*("([^"]*)")?/,ee=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,te=/^\[([^\]]*)\] ?\[([^\]]*)\]/,ne=/(\[|\])/g,re=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,ie=/\t/g,ae=/(^ *\||\| *$)/g,oe=/^ *:-+: *$/,se=/^ *:-+ *$/,ue=/^ *-+: *$/,ce=/ *\| */,le=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,pe=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1)/,fe=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,he=/^\\([^0-9A-Za-z\s])/,de=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,me=/(^\n+|(\n|\s)+$)/g,ge=/^([ \t]*)/,ye=/\\([^0-9A-Z\s])/gi,be=/^( *)((?:[*+-]|\d+\.)) +/,ve=/( *)((?:[*+-]|\d+\.)) +[^\n]*(?:\n(?!\1(?:[*+-]|\d+\.) )[^\n]*)*(\n|$)/gm,_e=/^( *)((?:[*+-]|\d+\.)) [\s\S]+?(?:\n{2,}(?! )(?!\1(?:[*+-]|\d+\.) (?!(?:[*+-]|\d+\.) ))\n*|\s*\n*$)/,xe=/^\[((?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*)\]\(\s*?(?:\s+['"]([\s\S]*?)['"])?\s*\)/,we=/^!\[((?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*)\]\(\s*?(?:\s+['"]([\s\S]*?)['"])?\s*\)/,Se=[w,O,P,D,B,F,V,W,ve,_e,Z,Q];function containsBlockSyntax(e){return Se.some(function(t){return t.test(e)})}function slugify(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function parseTableAlignCapture(e){return ue.test(e)?"right":oe.test(e)?"center":se.test(e)?"left":null}function parseTableHeader(e,t,n){return e[1].replace(ae,"").trim().split(ce).map(function(e){return t(e,n)})}function parseTableAlign(e){return e[2].replace(ae,"").trim().split(ce).map(parseTableAlignCapture)}function parseTableCells(e,t,n){return e[3].replace(ae,"").trim().split("\n").map(function(e){return e.replace(ae,"").split(ce).map(function(e){return t(e.trim(),n)})})}function parseTable(e,t,n){n.inline=!0;var r=parseTableHeader(e,t,n),i=parseTableAlign(e),a=parseTableCells(e,t,n);return n.inline=!1,{align:i,cells:a,header:r,type:"table"}}function getTableStyle(e,t){return null==e.align[t]?{}:{textAlign:e.align[t]}}function normalizeAttributeKey(e){return-1!==e.indexOf("-")&&null===e.match(q)&&(e=e.replace($,function(e,t){return t.toUpperCase()})),e}function attributeValueToJSXPropValue(e,t){return"style"===e?t.split(/;\s?/).reduce(function(e,t){var n=t.slice(0,t.indexOf(":")),r=n.replace(/(-[a-z])/g,function(e){return e[1].toUpperCase()});return e[r]=t.slice(n.length+1).trim(),e},{}):(t.match(z)&&(t=t.slice(1,t.length-1)),"true"===t||"false"!==t&&t)}function normalizeWhitespace(e){return e.replace(A,"\n").replace(M,"").replace(ie," ")}function parserFor(e){function b(n,r){for(var i=[],a="";n;)for(var o=0;o2?a-2:0),s=2;s1?i=d(t?"span":"div",null,r):1===r.length?"string"==typeof(i=r[0])&&(i=d("span",null,i)):i=d("span",null),i}function e(e){var t=e.match(v);return t?t.reduce(function(e,t,n){var r=t.indexOf("=");if(-1!==r){var i=normalizeAttributeKey(t.slice(0,r)).trim(),a=l()(t.slice(r+1).trim()),o=m[i]||i,u=e[o]=attributeValueToJSXPropValue(i,a);(F.test(u)||W.test(u))&&(e[o]=s.a.cloneElement(c(u.trim()),{key:n}))}else e[m[t]||t]=!0;return e},{}):void 0}(n=n||{}).overrides=n.overrides||{},n.slugify=n.slugify||slugify;var r=n.createElement||s.a.createElement;var i=[],a={},o={blockQuote:{match:blockRegex(w),order:Ee,parse:function d(e,t,n){return{content:t(e[0].replace(S,""),n)}},react:function e(t,n,r){return d("blockquote",{key:r.key},n(t.content,r))}},breakLine:{match:anyScopeRegex(E),order:Ee,parse:captureNothing,react:function e(t,n,r){return d("br",{key:r.key})}},breakThematic:{match:blockRegex(C),order:Ee,parse:captureNothing,react:function e(t,n,r){return d("hr",{key:r.key})}},codeBlock:{match:blockRegex(O),order:ke,parse:function c(e){return{content:e[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}},react:function e(t,n,r){return d("pre",{key:r.key},d("code",{className:t.lang?"lang-"+t.lang:""},t.content))}},codeFenced:{match:blockRegex(P),order:ke,parse:function b(e){return{content:e[3],lang:e[2]||void 0,type:"codeBlock"}}},codeInline:{match:simpleInlineRegex(T),order:Pe,parse:function b(e){return{content:e[2]}},react:function e(t,n,r){return d("code",{key:r.key},t.content)}},footnote:{match:blockRegex(I),order:ke,parse:function b(e){return i.push({footnote:e[2],identifier:e[1]}),{}},react:renderNothing},footnoteReference:{match:inlineRegex(N),order:Ee,parse:function b(e){return{content:e[1],target:"#"+e[1]}},react:function e(t,n,r){return d("a",{key:r.key,href:sanitizeUrl(t.target)},d("sup",{key:r.key},t.content))}},gfmTask:{match:inlineRegex(L),order:Ee,parse:function b(e){return{completed:"x"===e[1].toLowerCase()}},react:function e(t,n,r){return d("input",{checked:t.completed,key:r.key,readOnly:!0,type:"checkbox"})}},heading:{match:blockRegex(D),order:Ee,parse:function e(t,r,i){return{content:parseInline(r,t[2],i),id:n.slugify(t[2]),level:t[1].length}},react:function f(e,t,n){return d("h"+e.level,{id:e.id,key:n.key},t(e.content,n))}},headingSetext:{match:blockRegex(B),order:ke,parse:function d(e,t,n){return{content:parseInline(t,e[1],n),level:"="===e[2]?1:2,type:"heading"}}},htmlBlock:{match:anyScopeRegex(F),order:Ee,parse:function k(t,n,r){var i=t[3].match(ge)[1],a=new RegExp("^"+i,"gm"),o=t[3].replace(a,""),s=containsBlockSyntax(o)?parseBlock:parseInline,u=-1!==y.indexOf(t[1]);return{attrs:e(t[2]),content:u?t[3]:s(n,o,r),noInnerParse:u,tag:t[1]}},react:function e(t,n,r){return d(t.tag,p({key:r.key},t.attrs),t.noInnerParse?t.content:n(t.content,r))}},htmlComment:{match:anyScopeRegex(V),order:Ee,parse:function a(){return{}},react:renderNothing},htmlSelfClosing:{match:anyScopeRegex(W),order:Ee,parse:function b(t){return{attrs:e(t[2]||""),tag:t[1]}},react:function e(t,n,r){return d(t.tag,p({},t.attrs,{key:r.key}))}},image:{match:simpleInlineRegex(we),order:Ee,parse:function b(e){return{alt:e[1],target:unescapeUrl(e[2]),title:e[3]}},react:function e(t,n,r){return d("img",{key:r.key,alt:t.alt||void 0,title:t.title||void 0,src:sanitizeUrl(t.target)})}},link:{match:inlineRegex(xe),order:Pe,parse:function d(e,t,n){return{content:parseSimpleInline(t,e[1],n),target:unescapeUrl(e[2]),title:e[3]}},react:function e(t,n,r){return d("a",{key:r.key,href:sanitizeUrl(t.target),title:t.title},n(t.content,r))}},linkAngleBraceStyleDetector:{match:inlineRegex(K),order:ke,parse:function b(e){return{content:[{content:e[1],type:"text"}],target:e[1],type:"link"}}},linkBareUrlDetector:{match:inlineRegex(H),order:ke,parse:function b(e){return{content:[{content:e[1],type:"text"}],target:e[1],title:void 0,type:"link"}}},linkMailtoDetector:{match:inlineRegex(G),order:ke,parse:function d(e){var t=e[1],n=e[1];return _.test(n)||(n="mailto:"+n),{content:[{content:t.replace("mailto:",""),type:"text"}],target:n,type:"link"}}},list:{match:function f(e,t,n){var r=X.exec(n),i=t._list||!t.inline;return r&&i?(e=r[1]+e,_e.exec(e)):null},order:Ee,parse:function j(e,t,n){var r=e[2],i=r.length>1,a=i?+r:void 0,o=e[0].replace(x,"\n").match(ve),s=!1;return{items:o.map(function(e,r){var i=be.exec(e)[0].length,a=new RegExp("^ {1,"+i+"}","gm"),u=e.replace(a,"").replace(be,""),c=r===o.length-1,l=-1!==u.indexOf("\n\n")||c&&s;s=l;var p,f=n.inline,h=n._list;n._list=!0,l?(n.inline=!1,p=u.replace(J,"\n\n")):(n.inline=!0,p=u.replace(J,""));var d=t(p,n);return n.inline=f,n._list=h,d}),ordered:i,start:a}},react:function f(e,t,n){return d(e.ordered?"ol":"ul",{key:n.key,start:e.start},e.items.map(function(e,r){return d("li",{key:r},t(e,n))}))}},newlineCoalescer:{match:blockRegex(R),order:Pe,parse:captureNothing,react:function a(){return"\n"}},paragraph:{match:blockRegex(Q),order:Pe,parse:parseCaptureInline,react:function e(t,n,r){return d("p",{key:r.key},n(t.content,r))}},ref:{match:inlineRegex(Y),order:ke,parse:function b(e){return a[e[1]]={target:e[2],title:e[4]},{}},react:renderNothing},refImage:{match:simpleInlineRegex(ee),order:ke,parse:function b(e){return{alt:e[1]||void 0,ref:e[2]}},react:function e(t,n,r){return d("img",{key:r.key,alt:t.alt,src:sanitizeUrl(a[t.ref].target),title:a[t.ref].title})}},refLink:{match:inlineRegex(te),order:ke,parse:function d(e,t,n){return{content:t(e[1],n),fallbackContent:t(e[0].replace(ne,"\\$1"),n),ref:e[2]}},react:function e(t,n,r){return a[t.ref]?d("a",{key:r.key,href:sanitizeUrl(a[t.ref].target),title:a[t.ref].title},n(t.content,r)):d("span",null,n(t.fallbackContent,r))}},table:{match:blockRegex(Z),order:Ee,parse:parseTable,react:function f(e,t,n){return d("table",{key:n.key},d("thead",null,d("tr",null,e.header.map(function(r,i){return d("th",{key:i,style:getTableStyle(e,i)},t(r,n))}))),d("tbody",null,e.cells.map(function(r,i){return d("tr",{key:i},r.map(function(r,i){return d("td",{key:i,style:getTableStyle(e,i)},t(r,n))}))})))}},text:{match:anyScopeRegex(de),order:Oe,parse:function b(e){return{content:e[0].replace(U,function(e,t){return g[t]?g[t]:e})}},react:function b(e){return e.content}},textBolded:{match:simpleInlineRegex(le),order:Ce,parse:function d(e,t,n){return{content:t(e[2],n)}},react:function e(t,n,r){return d("strong",{key:r.key},n(t.content,r))}},textEmphasized:{match:simpleInlineRegex(pe),order:Pe,parse:function d(e,t,n){return{content:t(e[2],n)}},react:function e(t,n,r){return d("em",{key:r.key},n(t.content,r))}},textEscaped:{match:simpleInlineRegex(he),order:Ee,parse:function b(e){return{content:e[1],type:"text"}}},textStrikethroughed:{match:simpleInlineRegex(fe),order:Pe,parse:parseCaptureInline,react:function e(t,n,r){return d("del",{key:r.key},n(t.content,r))}}},u=parserFor(o),h=reactFor(ruleOutput(o)),j=c(t);return i.length&&j.props.children.push(d("footer",null,i.map(function(e){return d("div",{id:e.identifier,key:e.identifier},e.identifier,h(u(e.footnote,{inline:!0})))}))),j}var Te=r(110),Re=r(34),je=r(69),Ae=r(3),Ie=r(66);function MarkdownHeadingRenderer(e){var t=e.classes,n=e.level,r=e.children;return s.a.createElement("div",{className:t.spacing},s.a.createElement(Ie.a,{level:n},r))}MarkdownHeadingRenderer.propTypes={classes:a.a.object.isRequired,level:a.a.oneOf([1,2,3,4,5,6]).isRequired,children:a.a.node};var Ne=Object(Ae.a)(function styles(e){return{spacing:{marginBottom:e.space[2]}}})(MarkdownHeadingRenderer),Me=r(4),Le=r.n(Me);function ListRenderer(e){var t=e.classes,n=e.ordered,r=e.children,i=n?"ol":"ul",a=Le()(t.list,n&&t.ordered);return s.a.createElement(i,{className:a},o.Children.map(r,function(e){return Object(o.cloneElement)(e,{className:t.li})}))}ListRenderer.propTypes={classes:a.a.object.isRequired,ordered:a.a.bool,children:a.a.node.isRequired},ListRenderer.defaultProps={ordered:!1};var De=Object(Ae.a)(function styles(e){var t=e.space,n=e.color,r=e.fontFamily;return{list:{marginTop:0,marginBottom:t[2],paddingLeft:t[3],fontSize:"inherit"},ordered:{listStyleType:"decimal"},li:{color:n.base,fontFamily:r.base,fontSize:"inherit",lineHeight:1.5,listStyleType:"inherit"}}})(ListRenderer);function BlockquoteRenderer(e){var t=e.classes,n=e.className,r=e.children,i=Le()(t.blockquote,n);return s.a.createElement("blockquote",{className:i},r)}BlockquoteRenderer.propTypes={classes:a.a.object.isRequired,className:a.a.string,children:a.a.node.isRequired};var Be=Object(Ae.a)(function styles(e){var t=e.space,n=e.color,r=e.fontSize,i=e.fontFamily;return{blockquote:{margin:[[t[2],t[4]]],padding:0,color:n.base,fontFamily:i.base,fontSize:r.base,lineHeight:1.5}}})(BlockquoteRenderer);function PreRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("pre",{className:t.pre},n)}PreRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node.isRequired};var Fe=Object(Ae.a)(function styles(e){var t=e.space,n=e.color,r=e.fontSize,i=e.fontFamily,a=e.borderRadius;return{pre:{fontFamily:i.base,fontSize:r.small,lineHeight:1.5,color:n.base,whiteSpace:"pre",backgroundColor:n.codeBackground,padding:[[t[1],t[2]]],border:[[1,n.border,"solid"]],borderRadius:a,marginTop:0,marginBottom:t[2]}}})(PreRenderer),Ue=r(71),Ve=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function CheckboxRenderer(e){var t=e.classes,n=CheckboxRenderer_objectWithoutProperties(e,["classes"]);return s.a.createElement("input",Ve({},n,{type:"checkbox",className:t.input}))}CheckboxRenderer.propTypes={classes:a.a.object.isRequired};var qe=Object(Ae.a)(function styles(){return{input:{isolate:!1,display:"inline-block",verticalAlign:"middle"}}})(CheckboxRenderer);function HrRenderer(e){var t=e.classes;return s.a.createElement("hr",{className:t.hr})}HrRenderer.propTypes={classes:a.a.object.isRequired};var We=Object(Ae.a)(function styles(e){var t=e.space;return{hr:{borderBottom:[[1,e.color.border,"solid"]],marginTop:0,marginBottom:t[2]}}})(HrRenderer);function DetailsRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("details",{className:t.details},n)}DetailsRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node.isRequired};var ze=Object(Ae.a)(function styles(e){var t=e.space,n=e.color,r=e.fontSize,i=e.fontFamily;return{details:{marginBottom:t[2],fontFamily:i.base,fontSize:r.base,color:n.base}}})(DetailsRenderer);function DetailsSummaryRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("summary",{className:t.summary},n)}DetailsSummaryRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node.isRequired};var He=Object(Ae.a)(function styles(e){var t=e.space,n=e.color,r=e.fontSize,i=e.fontFamily;return{summary:{marginBottom:t[1],fontFamily:i.base,fontSize:r.base,color:n.base,cursor:"pointer","&:focus":{isolate:!1,outline:[[1,"dotted",n.linkHover]],outlineOffset:2}}}})(DetailsSummaryRenderer);function TableRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("table",{className:t.table},n)}TableRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node.isRequired};var Ge=Object(Ae.a)(function styles(e){return{table:{marginTop:0,marginBottom:e.space[2],borderCollapse:"collapse"}}})(TableRenderer);function TableHeadRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("thead",{className:t.thead},n)}TableHeadRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node.isRequired};var Ke=Object(Ae.a)(function styles(e){return{thead:{borderBottom:[[1,e.color.border,"solid"]]}}})(TableHeadRenderer);function TableBodyRenderer(e){var t=e.children;return s.a.createElement("tbody",null,t)}TableBodyRenderer.propTypes={children:a.a.node.isRequired};var Je=TableBodyRenderer;function TableRowRenderer(e){var t=e.children;return s.a.createElement("tr",null,t)}TableRowRenderer.propTypes={children:a.a.node.isRequired};var Xe=TableRowRenderer;function TableCellRenderer(e){var t=e.classes,n=e.header,r=e.children;return n?s.a.createElement("th",{className:t.th},r):s.a.createElement("td",{className:t.td},r)}TableCellRenderer.propTypes={classes:a.a.object.isRequired,header:a.a.bool,children:a.a.node.isRequired},TableCellRenderer.defaultProps={header:!1};var $e=Object(Ae.a)(function styles(e){var t=e.space,n=e.color,r=e.fontSize,i=e.fontFamily;return{td:{padding:[[t[0],t[2],t[0],0]],fontFamily:i.base,fontSize:r.base,color:n.base,lineHeight:1.5},th:{composes:"$td",fontWeight:"bold"}}})(TableCellRenderer),Ze=Object.assign||function(e){for(var t=1;t0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(6),i=n(167),a=n(41),o=Object.defineProperty;t.f=n(14)?Object.defineProperty:function defineProperty(e,t,n){if(r(e),t=a(t,!0),r(n),i)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(5)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n=e.exports={version:"2.6.2"};"number"==typeof __e&&(__e=n)},function(e,t,n){"use strict";n.d(t,"c",function(){return unquote}),n.d(t,"a",function(){return getType}),n.d(t,"b",function(){return showSpaces});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},_=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},x=function(e){return"object"===(void 0===e?"undefined":d(e))&&e.constructor===Object},w=Object.freeze([]),S=Object.freeze({});function isFunction(e){return"function"==typeof e}function getComponentName(e){return e.displayName||e.name||"Component"}function isStyledComponent(e){return e&&"string"==typeof e.styledComponentId}var k=void 0!==e&&Object({NODE_ENV:"production"}).SC_ATTR||"data-styled",E="undefined"!=typeof window&&"HTMLElement"in window,C="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||!1;var P=function(e){function StyledComponentsError(t){m(this,StyledComponentsError);for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i0&&-1!==n.slice(0,t).indexOf(D)&&n.slice(t-D.length,t)!==D?"."+L:e};A.use([function selfReferenceReplacementPlugin(e,t,n){2===e&&n.length&&n[0].lastIndexOf(D)>0&&(n[0]=n[0].replace(B,F))},M,N]),j.use([M,N]);var U=function splitByRules(e){return j("",e)};function stringifyRules(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",i=e.join("").replace(R,""),a=t&&n?n+" "+t+" { "+i+" }":i;return L=r,D=t,B=new RegExp("\\"+D+"\\b","g"),A(n||!t?"":t,a)}var V=function(){return n.nc},q=function addNameForId(e,t,n){n&&((e[t]||(e[t]=Object.create(null)))[n]=!0)},W=function resetIdNames(e,t){e[t]=Object.create(null)},z=function hasNameForId(e){return function(t,n){return void 0!==e[t]&&e[t][n]}},H=function stringifyNames(e){var t="";for(var n in e)t+=Object.keys(e[n]).join(" ")+" ";return t.trim()},G=function cloneNames(e){var t=Object.create(null);for(var n in e)t[n]=y({},e[n]);return t},K=function sheetForTag(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets.length,n=0;nr;i-=1)e.deleteRule(i)},$=function makeTextMarker(e){return"\n/* sc-component-id: "+e+" */\n"},Z=function addUpUntilIndex(e,t){for(var n=0,r=0;r<=t;r+=1)n+=e[r];return n},Q=function makeStyleTag(e,t,n){var r=document.createElement("style");r.setAttribute(k,""),r.setAttribute("data-styled-version","4.1.3");var i=V();if(i&&r.setAttribute("nonce",i),r.appendChild(document.createTextNode("")),e&&!t)e.appendChild(r);else{if(!t||!e||!t.parentNode)throw new P(6);t.parentNode.insertBefore(r,n?t:t.nextSibling)}return r},Y=function wrapAsHtmlTag(e,t){return function(n){var r=V();return""}},ee=function wrapAsElement(e,t){return function(){var n,r=((n={})[k]=H(t),n["data-styled-version"]="4.1.3",n),i=V();return i&&(r.nonce=i),u.a.createElement("style",y({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},te=function getIdsFromMarkersFactory(e){return function(){return Object.keys(e)}},ne=function makeSpeedyTag(e,t){var n=Object.create(null),r=Object.create(null),i=[],a=void 0!==t,o=!1,s=function insertMarker(e){var t=r[e];return void 0!==t?t:(r[e]=i.length,i.push(0),W(n,e),r[e])},u=function css(){var t=K(e).cssRules,n="";for(var a in r){n+=$(a);for(var o=r[a],s=Z(i,o),u=s-i[o];u0&&(o=!0,t().insertRules(r+"-import",d)),i[l]+=h,q(n,r,c)},removeRules:function removeRules(s){var u=r[s];if(void 0!==u){var c=i[u],l=K(e),p=Z(i,u)-1;X(l,p,c),i[u]=0,W(n,s),a&&o&&t().removeRules(s+"-import")}},sealed:!1,styleTag:e,toElement:ee(u,n),toHTML:Y(u,n)}},re=function makeTextNode(e){return document.createTextNode($(e))},ie=function makeBrowserTag(e,t){var n=Object.create(null),r=Object.create(null),i=void 0!==t,a=!1,o=function insertMarker(t){var i=r[t];return void 0!==i?i:(r[t]=re(t),e.appendChild(r[t]),n[t]=Object.create(null),r[t])},s=function css(){var e="";for(var t in r)e+=r[t].data;return e};return{clone:function clone(){throw new P(5)},css:s,getIds:te(r),hasNameForId:z(n),insertMarker:o,insertRules:function insertRules(e,r,s){for(var u=o(e),c=[],l=r.length,p=0;p0&&(a=!0,t().insertRules(e+"-import",c))},removeRules:function removeRules(o){var s=r[o];if(void 0!==s){var u=re(o);e.replaceChild(u,s),r[o]=u,W(n,o),i&&a&&t().removeRules(o+"-import")}},sealed:!1,styleTag:e,toElement:ee(s,n),toHTML:Y(s,n)}},ae=function makeServerTag(e,t){var n=void 0===e?Object.create(null):e,r=void 0===t?Object.create(null):t,i=function insertMarker(e){var t=r[e];return void 0!==t?t:r[e]=[""]},a=function css(){var e="";for(var t in r){var n=r[t][0];n&&(e+=$(t)+n)}return e};return{clone:function clone(){var e=G(n),t=Object.create(null);for(var i in r)t[i]=[r[i][0]];return makeServerTag(e,t)},css:a,getIds:te(r),hasNameForId:z(n),insertMarker:i,insertRules:function insertRules(e,t,r){i(e)[0]+=t.join(" "),q(n,e,r)},removeRules:function removeRules(e){var t=r[e];void 0!==t&&(t[0]="",W(n,e))},sealed:!1,styleTag:null,toElement:ee(a,n),toHTML:Y(a,n)}},oe=function makeTag(e,t,n,r,i){if(E&&!n){var a=Q(e,t,r);return C?ie(a,i):ne(a,i)}return ae()},se=function rehydrate(e,t,n){for(var r=0,i=n.length;r0&&void 0!==arguments[0]?arguments[0]:E?document.head:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];m(this,StyleSheet),this.getImportRuleTag=function(){var t=e.importRuleTag;if(void 0!==t)return t;var n=e.tags[0];return e.importRuleTag=oe(e.target,n?n.styleTag:null,e.forceServer,!0)},le+=1,this.id=le,this.forceServer=n,this.target=n?null:t,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return StyleSheet.prototype.rehydrate=function rehydrate$$1(){if(!E||this.forceServer)return this;var e=[],t=[],n=!1,r=document.querySelectorAll("style["+k+'][data-styled-version="4.1.3"]'),i=r.length;if(!i)return this;for(var a=0;a0&&void 0!==arguments[0]&&arguments[0];pe=new StyleSheet(void 0,e).rehydrate()},StyleSheet.prototype.clone=function clone(){var e=new StyleSheet(this.target,this.forceServer);return this.clones.push(e),e.tags=this.tags.map(function(t){for(var n=t.getIds(),r=t.clone(),i=0;i1?t-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:S;if(!Object(l.isValidElementType)(t))throw new P(1,String(t));var r=function templateFunction(){return e(t,n,css.apply(void 0,arguments))};return r.withConfig=function(r){return constructWithOptions(e,t,y({},n,r))},r.attrs=function(r){return constructWithOptions(e,t,y({},n,{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},r}function murmurhash(e){for(var t,n=0|e.length,r=0|n,i=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++i;switch(n){case 3:r^=(255&e.charCodeAt(i+2))<<16;case 2:r^=(255&e.charCodeAt(i+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(i)))+((1540483477*(r>>>16)&65535)<<16)}return((r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16))^r>>>15)>>>0}var be=52,ve=function getAlphabeticChar(e){return String.fromCharCode(e+(e>25?39:97))};function generateAlphabeticName(e){var t="",n=void 0;for(n=e;n>be;n=Math.floor(n/be))t=ve(n%be)+t;return ve(n%be)+t}function hasFunctionObjectKey(e){for(var t in e)if(isFunction(e[t]))return!0;return!1}function isStaticRules(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:S,r=!!n&&e.theme===n.theme;return e.theme&&!r?e.theme:t||n.theme},Ee=/[[\].#*$><+~=|^:(),"'`-]+/g,Ce=/(^-|-$)/g;function escape(e){return e.replace(Ee,"-").replace(Ce,"")}function isTag(e){return"string"==typeof e&&!0}function generateDisplayName(e){return isTag(e)?"styled."+e:"Styled("+getComponentName(e)+")"}var Pe={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},Oe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Te=((_e={})[l.ForwardRef]={$$typeof:!0,render:!0},_e),Re=Object.defineProperty,je=Object.getOwnPropertyNames,Ae=Object.getOwnPropertySymbols,Ie=void 0===Ae?function(){return[]}:Ae,Ne=Object.getOwnPropertyDescriptor,Me=Object.getPrototypeOf,Le=Object.prototype,De=Array.prototype;function hoistNonReactStatics(e,t,n){if("string"!=typeof t){var r=Me(t);r&&r!==Le&&hoistNonReactStatics(e,r,n);for(var i=De.concat(je(t),Ie(t)),a=Te[e.$$typeof]||Pe,o=Te[t.$$typeof]||Pe,s=i.length,u=void 0,c=void 0;s--;)if(c=i[s],!(Oe[c]||n&&n[c]||o&&o[c]||a&&a[c])&&(u=Ne(t,c)))try{Re(e,c,u)}catch(e){}return e}return e}var Be=Object(s.createContext)(),Fe=Be.Consumer,Ue=(function(e){function ThemeProvider(t){m(this,ThemeProvider);var n=_(this,e.call(this,t));return n.getContext=Object(p.a)(n.getContext.bind(n)),n.renderInner=n.renderInner.bind(n),n}b(ThemeProvider,e),ThemeProvider.prototype.render=function render(){return this.props.children?u.a.createElement(Be.Consumer,null,this.renderInner):null},ThemeProvider.prototype.renderInner=function renderInner(e){var t=this.getContext(this.props.theme,e);return u.a.createElement(Be.Provider,{value:t},u.a.Children.only(this.props.children))},ThemeProvider.prototype.getTheme=function getTheme(e,t){if(isFunction(e))return e(t);if(null===e||Array.isArray(e)||"object"!==(void 0===e?"undefined":d(e)))throw new P(8);return y({},t,e)},ThemeProvider.prototype.getContext=function getContext(e,t){return this.getTheme(e,t)}}(s.Component),function(){function ServerStyleSheet(){m(this,ServerStyleSheet),this.masterSheet=fe.master,this.instance=this.masterSheet.clone(),this.sealed=!1}ServerStyleSheet.prototype.seal=function seal(){if(!this.sealed){var e=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(e,1),this.sealed=!0}},ServerStyleSheet.prototype.collectStyles=function collectStyles(e){if(this.sealed)throw new P(2);return u.a.createElement(qe,{sheet:this.instance},e)},ServerStyleSheet.prototype.getStyleTags=function getStyleTags(){return this.seal(),this.instance.toHTML()},ServerStyleSheet.prototype.getStyleElement=function getStyleElement(){return this.seal(),this.instance.toReactElements()},ServerStyleSheet.prototype.interleaveWithNodeStream=function interleaveWithNodeStream(e){throw new P(3)}}(),Object(s.createContext)()),Ve=Ue.Consumer,qe=function(e){function StyleSheetManager(t){m(this,StyleSheetManager);var n=_(this,e.call(this,t));return n.getContext=Object(p.a)(n.getContext),n}return b(StyleSheetManager,e),StyleSheetManager.prototype.getContext=function getContext(e,t){if(e)return e;if(t)return new fe(t);throw new P(4)},StyleSheetManager.prototype.render=function render(){var e=this.props,t=e.children,n=e.sheet,r=e.target;return u.a.createElement(Ue.Provider,{value:this.getContext(n,r)},t)},StyleSheetManager}(s.Component),We=(new Set,{});function generateId(e,t,n){var r="string"!=typeof t?"sc":escape(t),i=(We[r]||0)+1;We[r]=i;var a=r+"-"+e.generateName(r+i);return n?n+"-"+a:a}var ze=function(e){function StyledComponent(){m(this,StyledComponent);var t=_(this,e.call(this));return t.attrs={},t.renderOuter=t.renderOuter.bind(t),t.renderInner=t.renderInner.bind(t),t}return b(StyledComponent,e),StyledComponent.prototype.render=function render(){return u.a.createElement(Ve,null,this.renderOuter)},StyledComponent.prototype.renderOuter=function renderOuter(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fe.master;return this.styleSheet=e,this.props.forwardedComponent.componentStyle.isStatic?this.renderInner():u.a.createElement(Fe,null,this.renderInner)},StyledComponent.prototype.renderInner=function renderInner(e){var t=this.props.forwardedComponent,n=t.componentStyle,r=t.defaultProps,i=(t.displayName,t.foldedComponentIds),a=t.styledComponentId,o=t.target,u=void 0;u=n.isStatic?this.generateAndInjectStyles(S,this.props):void 0!==e?this.generateAndInjectStyles(ke(this.props,e,r),this.props):this.generateAndInjectStyles(this.props.theme||S,this.props);var c=this.props.as||this.attrs.as||o,l=isTag(c),p={},h=y({},this.attrs,this.props),d=void 0;for(d in h)"forwardedComponent"!==d&&"as"!==d&&("forwardedRef"===d?p.ref=h[d]:l&&!Object(f.a)(d)||(p[d]=h[d]));return this.props.style&&this.attrs.style&&(p.style=y({},this.attrs.style,this.props.style)),p.className=Array.prototype.concat(i,this.props.className,a,this.attrs.className,u).filter(Boolean).join(" "),Object(s.createElement)(c,p)},StyledComponent.prototype.buildExecutionContext=function buildExecutionContext(e,t,n){var r=this,i=y({},t,{theme:e});return n.length?(this.attrs={},n.forEach(function(e){var t,n=e,a=!1,o=void 0,s=void 0;for(s in isFunction(n)&&(n=n(i),a=!0),n)o=n[s],a||!isFunction(o)||(t=o)&&t.prototype&&t.prototype.isReactComponent||isStyledComponent(o)||(o=o(i)),r.attrs[s]=o,i[s]=o}),i):i},StyledComponent.prototype.generateAndInjectStyles=function generateAndInjectStyles(e,t){var n=t.forwardedComponent,r=n.attrs,i=n.componentStyle;n.warnTooManyClasses;return i.isStatic&&!r.length?i.generateAndInjectStyles(S,this.styleSheet):i.generateAndInjectStyles(this.buildExecutionContext(e,t,r),this.styleSheet)},StyledComponent}(s.Component);function createStyledComponent(e,t,n){var r=isStyledComponent(e),i=!isTag(e),a=t.displayName,o=void 0===a?generateDisplayName(e):a,s=t.componentId,c=void 0===s?generateId(Se,t.displayName,t.parentComponentId):s,l=t.ParentComponent,p=void 0===l?ze:l,f=t.attrs,h=void 0===f?w:f,d=t.displayName&&t.componentId?escape(t.displayName)+"-"+t.componentId:t.componentId||c,m=r&&e.attrs?Array.prototype.concat(e.attrs,h).filter(Boolean):h,g=new Se(r?e.componentStyle.rules.concat(n):n,m,d),b=u.a.forwardRef(function(e,t){return u.a.createElement(p,y({},e,{forwardedComponent:b,forwardedRef:t}))});return b.attrs=m,b.componentStyle=g,b.displayName=o,b.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):w,b.styledComponentId=d,b.target=r?e.target:e,b.withComponent=function withComponent(e){var r=t.componentId,i=v(t,["componentId"]),a=r&&r+"-"+(isTag(e)?e:escape(getComponentName(e)));return createStyledComponent(e,y({},i,{attrs:m,componentId:a,ParentComponent:p}),n)},b.toString=function(){return"."+b.styledComponentId},i&&hoistNonReactStatics(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,styledComponentId:!0,target:!0,withComponent:!0}),b}var He=function styled(e){return constructWithOptions(createStyledComponent,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){He[e]=He(e)});!function(){function GlobalStyle(e,t){m(this,GlobalStyle),this.rules=e,this.componentId=t,this.isStatic=isStaticRules(e,w),fe.master.hasId(t)||fe.master.deferredInject(t,[])}GlobalStyle.prototype.createStyles=function createStyles(e,t){var n=stringifyRules(flatten(this.rules,e,t),"");t.inject(this.componentId,n)},GlobalStyle.prototype.removeStyles=function removeStyles(e){var t=this.componentId;e.hasId(t)&&e.remove(t)},GlobalStyle.prototype.renderStyles=function renderStyles(e,t){this.removeStyles(t),this.createStyles(e,t)}}();E&&(window.scCGSHMRCache={});var Ge=function replaceWhitespace(e){return e.replace(/\s|\\n/g,"")};function keyframes(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r"+i+""};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*i(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(13),i=n(47);e.exports=n(14)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(72),i=n(38);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(204),i="object"==typeof self&&self&&self.Object===Object&&self,a=r||i||Function("return this")();e.exports=a},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(5);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(73),i=n(47),a=n(24),o=n(41),s=n(22),u=n(167),c=Object.getOwnPropertyDescriptor;t.f=n(14)?c:function getOwnPropertyDescriptor(e,t){if(e=a(e),t=o(t,!0),u)try{return c(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(2),i=n(15),a=n(5);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",o)}},function(e,t,n){var r=n(35),i=n(72),a=n(20),o=n(12),s=n(357);e.exports=function(e,t){var n=1==e,u=2==e,c=3==e,l=4==e,p=6==e,f=5==e||p,h=t||s;return function(t,s,d){for(var m,g,y=a(t),b=i(y),v=r(s,d,3),_=o(b.length),x=0,w=n?h(t,_):u?h(t,0):void 0;_>x;x++)if((f||x in b)&&(g=v(m=b[x],x,y),e))if(n)w[x]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return x;case 2:w.push(m)}else if(l)return!1;return p?-1:c||l?l:w}}},function(e,t){e.exports=function isObject(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(3),u=n(4),c=n.n(u),l=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function TextRenderer(e){var t,n=e.classes,r=e.semantic,a=e.size,o=e.color,s=e.underlined,u=e.children,p=_objectWithoutProperties(e,["classes","semantic","size","color","underlined","children"]),f=r||"span",h=c()(n.text,n[a+"Size"],n[o+"Color"],(_defineProperty(t={},n[r],r),_defineProperty(t,n.isUnderlined,s),t));return i.a.createElement(f,l({},p,{className:h}),u)}TextRenderer.propTypes={classes:o.a.object.isRequired,semantic:o.a.oneOf(["em","strong"]),size:o.a.oneOf(["inherit","small","base","text"]),color:o.a.oneOf(["base","light"]),underlined:o.a.bool,children:o.a.node.isRequired},TextRenderer.defaultProps={size:"inherit",color:"base",underlined:!1};var p=Object(s.a)(function styles(e){var t=e.fontFamily,n=e.fontSize,r=e.color;return{text:{fontFamily:t.base},inheritSize:{fontSize:"inherit"},smallSize:{fontSize:n.small},baseSize:{fontSize:n.base},textSize:{fontSize:n.text},baseColor:{color:r.base},lightColor:{color:r.light},em:{fontStyle:"italic"},strong:{fontWeight:"bold"},isUnderlined:{borderBottom:[[1,"dotted",r.lightest]]}}})(TextRenderer);n.d(t,"a",function(){return p})},function(e,t,n){var r=n(36);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";if(n(14)){var r=n(49),i=n(7),a=n(5),o=n(2),s=n(90),u=n(140),c=n(35),l=n(62),p=n(47),f=n(23),h=n(63),d=n(29),m=n(12),g=n(193),y=n(51),b=n(41),v=n(22),_=n(74),x=n(8),w=n(20),S=n(132),k=n(52),E=n(54),C=n(53).f,P=n(134),O=n(48),T=n(10),R=n(32),j=n(80),A=n(75),I=n(136),N=n(59),M=n(83),L=n(61),D=n(135),B=n(184),F=n(13),U=n(30),V=F.f,q=U.f,W=i.RangeError,z=i.TypeError,H=i.Uint8Array,G=Array.prototype,K=u.ArrayBuffer,J=u.DataView,X=R(0),$=R(2),Z=R(3),Q=R(4),Y=R(5),ee=R(6),te=j(!0),ne=j(!1),re=I.values,ie=I.keys,ae=I.entries,oe=G.lastIndexOf,se=G.reduce,ue=G.reduceRight,ce=G.join,le=G.sort,pe=G.slice,fe=G.toString,he=G.toLocaleString,de=T("iterator"),me=T("toStringTag"),ge=O("typed_constructor"),ye=O("def_constructor"),be=s.CONSTR,ve=s.TYPED,_e=s.VIEW,xe=R(1,function(e,t){return Ce(A(e,e[ye]),t)}),we=a(function(){return 1===new H(new Uint16Array([1]).buffer)[0]}),Se=!!H&&!!H.prototype.set&&a(function(){new H(1).set({})}),ke=function(e,t){var n=d(e);if(n<0||n%t)throw W("Wrong offset!");return n},Ee=function(e){if(x(e)&&ve in e)return e;throw z(e+" is not a typed array!")},Ce=function(e,t){if(!(x(e)&&ge in e))throw z("It is not a typed array constructor!");return new e(t)},Pe=function(e,t){return Oe(A(e,e[ye]),t)},Oe=function(e,t){for(var n=0,r=t.length,i=Ce(e,r);r>n;)i[n]=t[n++];return i},Te=function(e,t,n){V(e,t,{get:function(){return this._d[n]}})},Re=function from(e){var t,n,r,i,a,o,s=w(e),u=arguments.length,l=u>1?arguments[1]:void 0,p=void 0!==l,f=P(s);if(null!=f&&!S(f)){for(o=f.call(s),r=[],t=0;!(a=o.next()).done;t++)r.push(a.value);s=r}for(p&&u>2&&(l=c(l,arguments[2],2)),t=0,n=m(s.length),i=Ce(this,n);n>t;t++)i[t]=p?l(s[t],t):s[t];return i},je=function of(){for(var e=0,t=arguments.length,n=Ce(this,t);t>e;)n[e]=arguments[e++];return n},Ae=!!H&&a(function(){he.call(new H(1))}),Ie=function toLocaleString(){return he.apply(Ae?pe.call(Ee(this)):Ee(this),arguments)},Ne={copyWithin:function copyWithin(e,t){return B.call(Ee(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function every(e){return Q(Ee(this),e,arguments.length>1?arguments[1]:void 0)},fill:function fill(e){return D.apply(Ee(this),arguments)},filter:function filter(e){return Pe(this,$(Ee(this),e,arguments.length>1?arguments[1]:void 0))},find:function find(e){return Y(Ee(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function findIndex(e){return ee(Ee(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function forEach(e){X(Ee(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function indexOf(e){return ne(Ee(this),e,arguments.length>1?arguments[1]:void 0)},includes:function includes(e){return te(Ee(this),e,arguments.length>1?arguments[1]:void 0)},join:function join(e){return ce.apply(Ee(this),arguments)},lastIndexOf:function lastIndexOf(e){return oe.apply(Ee(this),arguments)},map:function map(e){return xe(Ee(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function reduce(e){return se.apply(Ee(this),arguments)},reduceRight:function reduceRight(e){return ue.apply(Ee(this),arguments)},reverse:function reverse(){for(var e,t=Ee(this).length,n=Math.floor(t/2),r=0;r1?arguments[1]:void 0)},sort:function sort(e){return le.call(Ee(this),e)},subarray:function subarray(e,t){var n=Ee(this),r=n.length,i=y(e,r);return new(A(n,n[ye]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,m((void 0===t?r:y(t,r))-i))}},Me=function slice(e,t){return Pe(this,pe.call(Ee(this),e,t))},Le=function set(e){Ee(this);var t=ke(arguments[1],1),n=this.length,r=w(e),i=m(r.length),a=0;if(i+t>n)throw W("Wrong length!");for(;a255?255:255&r),i.v[h](n*t+i.o,r,we)},T=function(e,t){V(e,t,{get:function(){return P(this,t)},set:function(e){return O(this,t,e)},enumerable:!0})};v?(d=n(function(e,n,r,i){l(e,d,c,"_d");var a,o,s,u,p=0,h=0;if(x(n)){if(!(n instanceof K||"ArrayBuffer"==(u=_(n))||"SharedArrayBuffer"==u))return ve in n?Oe(d,n):Re.call(d,n);a=n,h=ke(r,t);var y=n.byteLength;if(void 0===i){if(y%t)throw W("Wrong length!");if((o=y-h)<0)throw W("Wrong length!")}else if((o=m(i)*t)+h>y)throw W("Wrong length!");s=o/t}else s=g(n),a=new K(o=s*t);for(f(e,"_d",{b:a,o:h,l:o,e:s,v:new J(a)});p=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;ndocument.F=Object<\/script>"),e.close(),u=e.F;r--;)delete u.prototype[a[r]];return u()};e.exports=Object.create||function create(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[o]=e):n=u(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(169),i=n(118).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return r(e,i)}},function(e,t,n){var r=n(22),i=n(20),a=n(117)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,n){var r=n(485),i=n(490);e.exports=function getNative(e,t){var n=i(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(95),i=n(486),a=n(487),o="[object Null]",s="[object Undefined]",u=r?r.toStringTag:void 0;e.exports=function baseGetTag(e){return null==e?void 0===e?s:o:u&&u in Object(e)?i(e):a(e)}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(3),u=n(4),c=n.n(u);function NameRenderer(e){var t,n,r,a=e.classes,o=e.children,s=e.deprecated,u=c()(a.name,(t={},n=a.isDeprecated,r=s,n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t));return i.a.createElement("code",{className:u},o)}NameRenderer.propTypes={classes:o.a.object.isRequired,children:o.a.node.isRequired,deprecated:o.a.bool};var l=Object(s.a)(function styles(e){var t=e.fontFamily,n=e.fontSize,r=e.color;return{name:{fontFamily:t.monospace,fontSize:n.small,color:r.name},isDeprecated:{color:r.light,textDecoration:"line-through"}}})(NameRenderer);n.d(t,"a",function(){return l})},function(e,t,n){var r=n(13).f,i=n(22),a=n(10)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t){e.exports={}},function(e,t,n){var r=n(10)("unscopables"),i=Array.prototype;null==i[r]&&n(23)(i,r,{}),e.exports=function(e){i[r][e]=!0}},function(e,t,n){"use strict";var r=n(7),i=n(13),a=n(14),o=n(10)("species");e.exports=function(e){var t=r[e];a&&t&&!t[o]&&i.f(t,o,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(19);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){var r=n(8);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function HeadingRenderer(e){var t=e.classes,n=e.level,r=e.children,a=_objectWithoutProperties(e,["classes","level","children"]),o="h"+n,s=u()(t.heading,t["heading"+n]);return i.a.createElement(o,l({},a,{className:s}),r)}HeadingRenderer.propTypes={classes:o.a.object.isRequired,level:o.a.oneOf([1,2,3,4,5,6]).isRequired,children:o.a.node};var p=Object(c.a)(function styles(e){var t=e.color,n=e.fontFamily,r=e.fontSize;return{heading:{margin:0,color:t.base,fontFamily:n.base,fontWeight:"normal"},heading1:{fontSize:r.h1},heading2:{fontSize:r.h2},heading3:{fontSize:r.h3},heading4:{fontSize:r.h4},heading5:{fontSize:r.h5,fontWeight:"bold"},heading6:{fontSize:r.h6,fontStyle:"italic"}}})(HeadingRenderer);n.d(t,"a",function(){return p})},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(3),u=n(11),c=n(57),l=n(46),p=n(79),f=n.n(p),h=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function ArgumentRenderer(e){var t=e.classes,n=e.name,r=e.type,a=e.description,o=e.returns,s=e.block,p=_objectWithoutProperties(e,["classes","name","type","description","returns","block"]),d=r&&"OptionalType"===r.type,m=p.default;return d&&(r=r.expression),i.a.createElement(f.a,h({className:s&&t.block},p),o&&"Returns",n&&i.a.createElement("span",null,i.a.createElement(c.a,null,n),r&&":"),r&&i.a.createElement(l.a,null,r.name,d&&"?",!!m&&"="+m),r&&a&&" — ",a&&i.a.createElement(u.a,{text:""+a,inline:!0}))}ArgumentRenderer.propTypes={classes:o.a.object.isRequired,name:o.a.string,type:o.a.object,default:o.a.string,description:o.a.string,returns:o.a.bool,block:o.a.bool};var d=Object(s.a)(function styles(e){return{block:{marginBottom:e.space[2]}}})(ArgumentRenderer);n.d(t,"a",function(){return d})},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(11),u=n(249),c=n.n(u),l=function plural(e,t){return 1===e.length?t:t+"s"},p=function list(e){return e.map(function(e){return e.description}).join(", ")},f=function paragraphs(e){return e.map(function(e){return e.description}).join("\n\n")},h={deprecated:function deprecated(e){return"**Deprecated:** "+e[0].description},see:function see(e){return f(e)},link:function link(e){return f(e)},author:function author(e){return l(e,"Author")+": "+p(e)},version:function version(e){return"Version: "+e[0].description},since:function since(e){return"Since: "+e[0].description}};function getMarkdown(e){return c()(h,function(t,n){return e[n]&&t(e[n])}).filter(Boolean).join("\n\n")}function JsDoc(e){var t=getMarkdown(e);return t?i.a.createElement(s.a,{text:t}):null}JsDoc.propTypes={deprecated:o.a.array,see:o.a.array,link:o.a.array,author:o.a.array,version:o.a.array,since:o.a.array},n.d(t,"a",function(){return JsDoc})},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(3);function ParaRenderer(e){var t=e.classes,n=e.semantic,r=e.children,a=n||"div";return i.a.createElement(a,{className:t.para},r)}ParaRenderer.propTypes={classes:o.a.object.isRequired,semantic:o.a.oneOf(["p"]),children:o.a.node.isRequired};var u=Object(s.a)(function styles(e){var t=e.space,n=e.color,r=e.fontFamily;return{para:{marginTop:0,marginBottom:t[2],color:n.base,fontFamily:r.base,fontSize:"inherit",lineHeight:1.5}}})(ParaRenderer);n.d(t,"a",function(){return u})},function(e,t,n){var r=n(220),i=n(221),a=n(99),o=n(28),s=n(45),u=n(100),c=n(98),l=n(101),p="[object Map]",f="[object Set]",h=Object.prototype.hasOwnProperty;e.exports=function isEmpty(e){if(null==e)return!0;if(s(e)&&(o(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||l(e)||a(e)))return!e.length;var t=i(e);if(t==p||t==f)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(h.call(e,n))return!1;return!0}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(4),u=n.n(s),c=n(3);function CodeRenderer(e){var t=e.classes,n=e.className,r=e.children,a=u()(n,t.code);return n&&-1!==n.indexOf("lang-")?i.a.createElement("code",{className:a,dangerouslySetInnerHTML:{__html:r}}):i.a.createElement("code",{className:a},r)}CodeRenderer.propTypes={classes:o.a.object.isRequired,className:o.a.string,children:o.a.node.isRequired};var l=Object(c.a)(function styles(e){return{code:{fontFamily:e.fontFamily.monospace,fontSize:"inherit",color:"inherit",background:"transparent",whiteSpace:"inherit"}}})(CodeRenderer);n.d(t,"a",function(){return l})},function(e,t,n){var r=n(37);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(37),i=n(10)("toStringTag"),a="Arguments"==r(function(){return arguments}()),o=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=o(t=Object(e),i))?n:a?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){var r=n(6),i=n(36),a=n(10)("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||null==(n=r(o)[a])?t:i(n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t1&&(n=[t.shift()],t.forEach(function(e,t){if(a){var o="separator-"+(e.key||t);i=r.cloneElement(i,{key:o})}return n.push(i,e)})),r.createElement(e.inline?"span":"div",{className:e.className},n)}Group.propTypes={children:i.node,inline:i.bool,separator:i.node,className:i.string},Group.defaultProps={separator:" "},e.exports=Group},function(e,t,n){var r=n(24),i=n(12),a=n(51);e.exports=function(e){return function(t,n,o){var s,u=r(t),c=i(u.length),l=a(o,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(2),i=n(38),a=n(5),o=n(122),s="["+o+"]",u=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),l=function(e,t,n){var i={},s=a(function(){return!!o[e]()||"​…"!="​…"[e]()}),u=i[e]=s?t(p):o[e];n&&(i[n]=u),r(r.P+r.F*s,"String",i)},p=l.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(c,"")),e};e.exports=l},function(e,t,n){var r=n(10)("iterator"),i=!1;try{var a=[7][r]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a=[7],o=a[r]();o.next=function(){return{done:n=!0}},a[r]=function(){return o},e(a)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(6);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(74),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var a=n.call(e,t);if("object"!=typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},function(e,t,n){"use strict";n(186);var r=n(19),i=n(23),a=n(5),o=n(38),s=n(10),u=n(137),c=s("species"),l=!a(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}),p=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var f=s(e),h=!a(function(){var t={};return t[f]=function(){return 7},7!=""[e](t)}),d=h?!a(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!t}):void 0;if(!h||!d||"replace"===e&&!l||"split"===e&&!p){var m=/./[f],g=n(o,f,""[e],function maybeCallNative(e,t,n,r,i){return t.exec===u?h&&!i?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),y=g[0],b=g[1];r(String.prototype,e,y),i(RegExp.prototype,f,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}}},function(e,t,n){var r=n(35),i=n(182),a=n(132),o=n(6),s=n(12),u=n(134),c={},l={};(t=e.exports=function(e,t,n,p,f){var h,d,m,g,y=f?function(){return e}:u(e),b=r(n,p,t?2:1),v=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(a(y)){for(h=s(e.length);h>v;v++)if((g=t?b(o(d=e[v])[0],d[1]):b(e[v]))===c||g===l)return g}else for(m=y.call(e);!(d=m.next()).done;)if((g=i(m,b,d.value,t))===c||g===l)return g}).BREAK=c,t.RETURN=l},function(e,t,n){var r=n(7).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){"use strict";var r=n(7),i=n(2),a=n(19),o=n(63),s=n(42),u=n(87),c=n(62),l=n(8),p=n(5),f=n(83),h=n(58),d=n(123);e.exports=function(e,t,n,m,g,y){var b=r[e],v=b,_=g?"set":"add",x=v&&v.prototype,w={},S=function(e){var t=x[e];a(x,e,"delete"==e?function(e){return!(y&&!l(e))&&t.call(this,0===e?0:e)}:"has"==e?function has(e){return!(y&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function get(e){return y&&!l(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function add(e){return t.call(this,0===e?0:e),this}:function set(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof v&&(y||x.forEach&&!p(function(){(new v).entries().next()}))){var k=new v,E=k[_](y?{}:-0,1)!=k,C=p(function(){k.has(1)}),P=f(function(e){new v(e)}),O=!y&&p(function(){for(var e=new v,t=5;t--;)e[_](t,t);return!e.has(-0)});P||((v=t(function(t,n){c(t,v,e);var r=d(new b,t,v);return null!=n&&u(n,g,r[_],r),r})).prototype=x,x.constructor=v),(C||O)&&(S("delete"),S("has"),g&&S("get")),(O||E)&&S(_),y&&x.clear&&delete x.clear}else v=m.getConstructor(t,e,g,_),o(v.prototype,n),s.NEED=!0;return h(v,e),w[e]=v,i(i.G+i.W+i.F*(v!=b),w),y||m.setStrong(v,e,g),v}},function(e,t,n){for(var r,i=n(7),a=n(23),o=n(48),s=o("typed_array"),u=o("view"),c=!(!i.ArrayBuffer||!i.DataView),l=c,p=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");p<9;)(r=i[f[p++]])?(a(r.prototype,s,!0),a(r.prototype,u,!0)):l=!1;e.exports={ABV:c,CONSTR:l,TYPED:s,VIEW:u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function toCssValue(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:"unnamed",t=arguments[1],n=arguments[2],o=n.jss,s=(0,a.default)(t),u=o.plugins.onCreateRule(e,s,n);if(u)return u;"@"===e[0]&&(0,r.default)(!1,"[JSS] Unknown at-rule %s",e);return new i.default(e,s,n)};var r=_interopRequireDefault(n(43)),i=_interopRequireDefault(n(65)),a=_interopRequireDefault(n(452));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){var r=n(475),i=n(476),a=n(477),o=n(478),s=n(479);function ListCache(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}var p=function mapSizeToStyle(e){return{xs:l.a.xs,sm:l.a.sm,md:l.a.md,lg:l.a.lg,"extra-small":l.a.xs,small:l.a.sm,medium:l.a.md,large:l.a.lg}[e]},f=function ModalContent(e){var t=e.className,n=e.size,r=_objectWithoutProperties(e,["className","size"]);return u.a.createElement("div",_extends({},r,{className:i()(t,l.a.modalContent,p(n))}))};f.propTypes={size:o.a.oneOf(["","xs","sm","md","lg","large","medium","small","extra-small"])},t.a=f},function(e,t,n){var r=n(577)(n(578));e.exports=r},function(e,t){e.exports={HOMEPAGE:"https://react-styleguidist.js.org/",BUGS:"https://github.com/styleguidist/react-styleguidist/issues",DOCS_CONFIG:"https://react-styleguidist.js.org/docs/configuration.html",DOCS_COMPONENTS:"https://react-styleguidist.js.org/docs/components.html",DOCS_WEBPACK:"https://react-styleguidist.js.org/docs/webpack.html",DOCS_DOCUMENTING:"https://react-styleguidist.js.org/docs/documenting.html",DOCS_THIRDPARTIES:"https://react-styleguidist.js.org/docs/thirdparties.html"}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(3);function TableRenderer(e){var t=e.classes,n=e.columns,r=e.rows,a=e.getRowKey;return i.a.createElement("table",{className:t.table},i.a.createElement("thead",{className:t.tableHead},i.a.createElement("tr",null,n.map(function(e){var n=e.caption;return i.a.createElement("th",{key:n,className:t.cellHeading},n)}))),i.a.createElement("tbody",null,r.map(function(e){return i.a.createElement("tr",{key:a(e)},n.map(function(n,r){var a=n.render;return i.a.createElement("td",{key:r,className:t.cell},a(e))}))})))}TableRenderer.propTypes={classes:o.a.object.isRequired,columns:o.a.arrayOf(o.a.shape({caption:o.a.string.isRequired,render:o.a.func.isRequired})).isRequired,rows:o.a.arrayOf(o.a.object).isRequired,getRowKey:o.a.func.isRequired};var u=Object(s.a)(function styles(e){var t=e.space,n=e.color,r=e.fontFamily,i=e.fontSize;return{table:{width:"100%",borderCollapse:"collapse",marginBottom:t[4]},tableHead:{borderBottom:[[1,n.border,"solid"]]},cellHeading:{color:n.base,paddingRight:t[2],paddingBottom:t[1],textAlign:"left",fontFamily:r.base,fontWeight:"bold",fontSize:i.small,whiteSpace:"nowrap"},cell:{color:n.base,paddingRight:t[2],paddingTop:t[1],paddingBottom:t[1],verticalAlign:"top",fontFamily:r.base,fontSize:i.small,"&:last-child":{isolate:!1,width:"99%",paddingRight:0},"& p:last-child":{isolate:!1,marginBottom:0}}}})(TableRenderer);n.d(t,"a",function(){return u})},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(4),u=n.n(s),c=n(3),l=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function LinkRenderer(e){var t=e.classes,n=e.children,r=_objectWithoutProperties(e,["classes","children"]);return i.a.createElement("a",l({},r,{className:u()(t.link,r.className)}),n)}LinkRenderer.propTypes={children:o.a.node,className:o.a.string,classes:o.a.object.isRequired};var p=Object(c.a)(function styles(e){var t=e.color;return{link:{"&, &:link, &:visited":{fontSize:"inherit",color:t.link,textDecoration:"none"},"&:hover, &:active":{isolate:!1,color:t.linkHover,cursor:"pointer"}}}})(LinkRenderer);n.d(t,"a",function(){return p})},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(67),u=n(66),c=n(3),l=Object.assign||function(e){for(var t=1;t=0&&p.splice(t,1)}function createStyleElement(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var n=getNonce();n&&(e.attrs.nonce=n)}return addAttrs(t,e.attrs),insertStyleElement(e,t),t}function createLinkElement(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",addAttrs(t,e.attrs),insertStyleElement(e,t),t}function addAttrs(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function getNonce(){return n.nc}function addStyle(e,t){var n,r,i,a;if(t.transform&&e.css){if(!(a="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=a}if(t.singleton){var o=l++;n=c||(c=createStyleElement(t)),r=applyToSingletonTag.bind(null,n,o,!1),i=applyToSingletonTag.bind(null,n,o,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=createLinkElement(t),r=updateLink.bind(null,n,t),i=function(){removeStyleElement(n),n.href&&URL.revokeObjectURL(n.href)}):(n=createStyleElement(t),r=applyToTag.bind(null,n),i=function(){removeStyleElement(n)});return r(e),function updateStyle(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=o()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=listToStyles(e,t);return addStylesToDom(n,t),function update(e){for(var r=[],i=0;i0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},function(e,t){e.exports=Math.sign||function sign(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function expm1(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t,n){var r=n(29),i=n(38);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),c=s.length;return u<0||u>=c?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===c||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(49),i=n(2),a=n(19),o=n(23),s=n(59),u=n(181),c=n(58),l=n(54),p=n(10)("iterator"),f=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,d,m,g,y){u(n,t,d);var b,v,_,x=function(e){if(!f&&e in E)return E[e];switch(e){case"keys":return function keys(){return new n(this,e)};case"values":return function values(){return new n(this,e)}}return function entries(){return new n(this,e)}},w=t+" Iterator",S="values"==m,k=!1,E=e.prototype,C=E[p]||E["@@iterator"]||m&&E[m],P=C||x(m),O=m?S?x("entries"):P:void 0,T="Array"==t&&E.entries||C;if(T&&(_=l(T.call(new e)))!==Object.prototype&&_.next&&(c(_,w,!0),r||"function"==typeof _[p]||o(_,p,h)),S&&C&&"values"!==C.name&&(k=!0,P=function values(){return C.call(this)}),r&&!y||!f&&!k&&E[p]||o(E,p,P),s[t]=P,s[w]=h,m)if(b={values:S?P:x("values"),keys:g?P:x("keys"),entries:O},y)for(v in b)v in E||a(E,v,b[v]);else i(i.P+i.F*(f||k),t,b);return b}},function(e,t,n){var r=n(130),i=n(38);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},function(e,t,n){var r=n(8),i=n(37),a=n(10)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},function(e,t,n){var r=n(10)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){var r=n(59),i=n(10)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},function(e,t,n){"use strict";var r=n(13),i=n(47);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){var r=n(74),i=n(10)("iterator"),a=n(59);e.exports=n(15).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||a[r(e)]}},function(e,t,n){"use strict";var r=n(20),i=n(51),a=n(12);e.exports=function fill(e){for(var t=r(this),n=a(t.length),o=arguments.length,s=i(o>1?arguments[1]:void 0,n),u=o>2?arguments[2]:void 0,c=void 0===u?n:i(u,n);c>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var r=n(60),i=n(185),a=n(59),o=n(24);e.exports=n(128)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r,i,a=n(84),o=RegExp.prototype.exec,s=String.prototype.replace,u=o,c=(r=/a/,i=/b*/g,o.call(r,"a"),o.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),l=void 0!==/()??/.exec("")[1];(c||l)&&(u=function exec(e){var t,n,r,i,u=this;return l&&(n=new RegExp("^"+u.source+"$(?!\\s)",a.call(u))),c&&(t=u.lastIndex),r=o.call(u,e),c&&r&&(u.lastIndex=u.global?r.index+r[0].length:t),l&&r&&r.length>1&&s.call(r[0],n,function(){for(i=1;in;)t.push(arguments[n++]);return y[++g]=function(){s("function"==typeof e?e:Function(e),t)},r(g),g},h=function clearImmediate(e){delete y[e]},"process"==n(37)(p)?r=function(e){p.nextTick(o(b,e,1))}:m&&m.now?r=function(e){m.now(o(b,e,1))}:d?(a=(i=new d).port2,i.port1.onmessage=v,r=o(a.postMessage,a,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(e){l.postMessage(e+"","*")},l.addEventListener("message",v,!1)):r="onreadystatechange"in c("script")?function(e){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),b.call(e)}}:function(e){setTimeout(o(b,e,1),0)}),e.exports={set:f,clear:h}},function(e,t,n){"use strict";var r=n(7),i=n(14),a=n(49),o=n(90),s=n(23),u=n(63),c=n(5),l=n(62),p=n(29),f=n(12),h=n(193),d=n(53).f,m=n(13).f,g=n(135),y=n(58),b="prototype",v="Wrong index!",_=r.ArrayBuffer,x=r.DataView,w=r.Math,S=r.RangeError,k=r.Infinity,E=_,C=w.abs,P=w.pow,O=w.floor,T=w.log,R=w.LN2,j=i?"_b":"buffer",A=i?"_l":"byteLength",I=i?"_o":"byteOffset";function packIEEE754(e,t,n){var r,i,a,o=new Array(n),s=8*n-t-1,u=(1<>1,l=23===t?P(2,-24)-P(2,-77):0,p=0,f=e<0||0===e&&1/e<0?1:0;for((e=C(e))!=e||e===k?(i=e!=e?1:0,r=u):(r=O(T(e)/R),e*(a=P(2,-r))<1&&(r--,a*=2),(e+=r+c>=1?l/a:l*P(2,1-c))*a>=2&&(r++,a/=2),r+c>=u?(i=0,r=u):r+c>=1?(i=(e*a-1)*P(2,t),r+=c):(i=e*P(2,c-1)*P(2,t),r=0));t>=8;o[p++]=255&i,i/=256,t-=8);for(r=r<0;o[p++]=255&r,r/=256,s-=8);return o[--p]|=128*f,o}function unpackIEEE754(e,t,n){var r,i=8*n-t-1,a=(1<>1,s=i-7,u=n-1,c=e[u--],l=127&c;for(c>>=7;s>0;l=256*l+e[u],u--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=t;s>0;r=256*r+e[u],u--,s-=8);if(0===l)l=1-o;else{if(l===a)return r?NaN:c?-k:k;r+=P(2,t),l-=o}return(c?-1:1)*r*P(2,l-t)}function unpackI32(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function packI8(e){return[255&e]}function packI16(e){return[255&e,e>>8&255]}function packI32(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function packF64(e){return packIEEE754(e,52,8)}function packF32(e){return packIEEE754(e,23,4)}function addGetter(e,t,n){m(e[b],t,{get:function(){return this[n]}})}function get(e,t,n,r){var i=h(+n);if(i+t>e[A])throw S(v);var a=e[j]._b,o=i+e[I],s=a.slice(o,o+t);return r?s:s.reverse()}function set(e,t,n,r,i,a){var o=h(+n);if(o+t>e[A])throw S(v);for(var s=e[j]._b,u=o+e[I],c=r(+i),l=0;lD;)(N=L[D++])in _||s(_,N,E[N]);a||(M.constructor=_)}var B=new x(new _(2)),F=x[b].setInt8;B.setInt8(0,2147483648),B.setInt8(1,2147483649),!B.getInt8(0)&&B.getInt8(1)||u(x[b],{setInt8:function setInt8(e,t){F.call(this,e,t<<24>>24)},setUint8:function setUint8(e,t){F.call(this,e,t<<24>>24)}},!0)}else _=function ArrayBuffer(e){l(this,_,"ArrayBuffer");var t=h(e);this._b=g.call(new Array(t),0),this[A]=t},x=function DataView(e,t,n){l(this,x,"DataView"),l(e,_,"DataView");var r=e[A],i=p(t);if(i<0||i>r)throw S("Wrong offset!");if(i+(n=void 0===n?r-i:f(n))>r)throw S("Wrong length!");this[j]=e,this[I]=i,this[A]=n},i&&(addGetter(_,"byteLength","_l"),addGetter(x,"buffer","_b"),addGetter(x,"byteLength","_l"),addGetter(x,"byteOffset","_o")),u(x[b],{getInt8:function getInt8(e){return get(this,1,e)[0]<<24>>24},getUint8:function getUint8(e){return get(this,1,e)[0]},getInt16:function getInt16(e){var t=get(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function getUint16(e){var t=get(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function getInt32(e){return unpackI32(get(this,4,e,arguments[1]))},getUint32:function getUint32(e){return unpackI32(get(this,4,e,arguments[1]))>>>0},getFloat32:function getFloat32(e){return unpackIEEE754(get(this,4,e,arguments[1]),23,4)},getFloat64:function getFloat64(e){return unpackIEEE754(get(this,8,e,arguments[1]),52,8)},setInt8:function setInt8(e,t){set(this,1,e,packI8,t)},setUint8:function setUint8(e,t){set(this,1,e,packI8,t)},setInt16:function setInt16(e,t){set(this,2,e,packI16,t,arguments[2])},setUint16:function setUint16(e,t){set(this,2,e,packI16,t,arguments[2])},setInt32:function setInt32(e,t){set(this,4,e,packI32,t,arguments[2])},setUint32:function setUint32(e,t){set(this,4,e,packI32,t,arguments[2])},setFloat32:function setFloat32(e,t){set(this,4,e,packF32,t,arguments[2])},setFloat64:function setFloat64(e,t){set(this,8,e,packF64,t,arguments[2])}});y(_,"ArrayBuffer"),y(x,"DataView"),s(x[b],o.VIEW,!0),t.ArrayBuffer=_,t.DataView=x},function(e,t){var n,r,i=e.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(e){if(n===setTimeout)return setTimeout(e,0);if((n===defaultSetTimout||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}function runClearTimeout(e){if(r===clearTimeout)return clearTimeout(e);if((r===defaultClearTimeout||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){n=defaultSetTimout}try{r="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){r=defaultClearTimeout}}();var a,o=[],s=!1,u=-1;function cleanUpNextTick(){s&&a&&(s=!1,a.length?o=a.concat(o):u=-1,o.length&&drainQueue())}function drainQueue(){if(!s){var e=runTimeout(cleanUpNextTick);s=!0;for(var t=o.length;t;){for(a=o,o=[];++u1)for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:{},i="";if(!t)return i;var a=n.indent,o=void 0===a?0:a,s=t.fallbacks;if(o++,s)if(Array.isArray(s))for(var u=0;u-1&&e%1==0&&e<=n}},function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=function isIndex(e,t){var i=typeof e;return!!(t=null==t?n:t)&&("number"==i||"symbol"!=i&&r.test(e))&&e>-1&&e%1==0&&e=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var o=function IconBase(e,t){var n=e.children,a=e.color,o=e.size,s=e.style,u=e.width,c=e.height,l=_objectWithoutProperties(e,["children","color","size","style","width","height"]),p=t.reactIconBase,f=void 0===p?{}:p,h=o||f.size||"1em";return i.default.createElement("svg",r({children:n,fill:"currentColor",preserveAspectRatio:"xMidYMid meet",height:c||h,width:u||h},f,l,{style:r({verticalAlign:"middle",color:a||f.color},f.style||{},s)}))};o.propTypes={color:a.default.string,size:a.default.oneOfType([a.default.string,a.default.number]),width:a.default.oneOfType([a.default.string,a.default.number]),height:a.default.oneOfType([a.default.string,a.default.number]),style:a.default.object},o.contextTypes={reactIconBase:a.default.shape(o.propTypes)},t.default=o,e.exports=t.default},function(e,t,n){"use strict";n.r(t);var r=n(4),i=n.n(r),a=n(0),o=n.n(a),s=n(1),u=n.n(s),c=n(9),l=n.n(c);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n])/g,b=/([[}=:>])\s+/g,v=/(\{[^{]+?);(?=\})/g,_=/\s{2,}/g,x=/([^\(])(:+) */g,w=/[svh]\w+-[tblr]{2}/,S=/\(\s*(.*)\s*\)/g,k=/([\s\S]*?);/g,E=/-self|flex-/g,C=/[^]*?(:[rp][el]a[\w-]+)[^]*/,P=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,T="-webkit-",R="-moz-",j="-ms-",A=59,I=125,N=123,M=40,L=41,D=91,B=93,F=10,U=13,V=9,q=64,W=32,z=38,H=45,G=95,K=42,J=44,X=58,$=39,Z=34,Q=47,Y=62,ee=43,te=126,ne=0,re=12,ie=11,ae=107,oe=109,se=115,ue=112,ce=111,le=105,pe=99,fe=100,he=112,de=1,me=1,ge=0,ye=1,be=1,ve=1,_e=0,xe=0,we=0,Se=[],ke=[],Ee=0,Ce=null,Oe=-2,je=-1,Ae=0,Ne=1,De=2,Be=3,Fe=0,Ue=1,Ve="",qe="",We="";function He(e,t,i,a,o){for(var s,u,l=0,p=0,f=0,h=0,y=0,b=0,v=0,_=0,w=0,k=0,E=0,C=0,P=0,O=0,G=0,_e=0,ke=0,Ce=0,Oe=0,Te=i.length,Re=Te-1,je="",ze="",Ge="",Je="",Xe="",$e="";G0&&(ze=ze.replace(r,"")),ze.trim().length>0)){switch(v){case W:case V:case A:case U:case F:break;default:ze+=i.charAt(G)}v=A}if(1===ke)switch(v){case N:case I:case A:case Z:case $:case M:case L:case J:ke=0;case V:case U:case F:case W:break;default:for(ke=0,Oe=G,y=v,G--,v=A;Oe0&&(++G,v=y);case N:Oe=Te}}switch(v){case N:for(y=(ze=ze.trim()).charCodeAt(0),E=1,Oe=++G;G0&&(ze=ze.replace(r,"")),b=ze.charCodeAt(1)){case fe:case oe:case se:case H:s=t;break;default:s=Se}if(Oe=(Ge=He(t,s,Ge,b,o+1)).length,we>0&&0===Oe&&(Oe=ze.length),Ee>0&&(s=Ie(Se,ze,Ce),u=Pe(Be,Ge,s,t,me,de,Oe,b,o,a),ze=s.join(""),void 0!==u&&0===(Oe=(Ge=u.trim()).length)&&(b=0,Ge="")),Oe>0)switch(b){case se:ze=ze.replace(S,Me);case fe:case oe:case H:Ge=ze+"{"+Ge+"}";break;case ae:Ge=(ze=ze.replace(d,"$1 $2"+(Ue>0?Ve:"")))+"{"+Ge+"}",Ge=1===be||2===be&&Le("@"+Ge,3)?"@"+T+Ge+"@"+Ge:"@"+Ge;break;default:Ge=ze+Ge,a===he&&(Je+=Ge,Ge="")}else Ge="";break;default:Ge=He(t,Ie(t,ze,Ce),Ge,a,o+1)}Xe+=Ge,C=0,ke=0,O=0,_e=0,Ce=0,P=0,ze="",Ge="",v=i.charCodeAt(++G);break;case I:case A:if((Oe=(ze=(_e>0?ze.replace(r,""):ze).trim()).length)>1)switch(0===O&&((y=ze.charCodeAt(0))===H||y>96&&y<123)&&(Oe=(ze=ze.replace(" ",":")).length),Ee>0&&void 0!==(u=Pe(Ne,ze,t,e,me,de,Je.length,a,o,a))&&0===(Oe=(ze=u.trim()).length)&&(ze="\0\0"),y=ze.charCodeAt(0),b=ze.charCodeAt(1),y){case ne:break;case q:if(b===le||b===pe){$e+=ze+i.charAt(G);break}default:if(ze.charCodeAt(Oe-1)===X)break;Je+=Ke(ze,y,b,ze.charCodeAt(2))}C=0,ke=0,O=0,_e=0,Ce=0,ze="",v=i.charCodeAt(++G)}}switch(v){case U:case F:if(p+h+f+l+xe===0)switch(k){case L:case $:case Z:case q:case te:case Y:case K:case ee:case Q:case H:case X:case J:case A:case N:case I:break;default:O>0&&(ke=1)}p===Q?p=0:ye+C===0&&a!==ae&&ze.length>0&&(_e=1,ze+="\0"),Ee*Fe>0&&Pe(Ae,ze,t,e,me,de,Je.length,a,o,a),de=1,me++;break;case A:case I:if(p+h+f+l===0){de++;break}default:switch(de++,je=i.charAt(G),v){case V:case W:if(h+l+p===0)switch(_){case J:case X:case V:case W:je="";break;default:v!==W&&(je=" ")}break;case ne:je="\\0";break;case re:je="\\f";break;case ie:je="\\v";break;case z:h+p+l===0&&ye>0&&(Ce=1,_e=1,je="\f"+je);break;case 108:if(h+p+l+ge===0&&O>0)switch(G-O){case 2:_===ue&&i.charCodeAt(G-3)===X&&(ge=_);case 8:w===ce&&(ge=w)}break;case X:h+p+l===0&&(O=G);break;case J:p+f+h+l===0&&(_e=1,je+="\r");break;case Z:case $:0===p&&(h=h===v?0:0===h?v:h);break;case D:h+p+f===0&&l++;break;case B:h+p+f===0&&l--;break;case L:h+p+l===0&&f--;break;case M:if(h+p+l===0){if(0===C)switch(2*_+3*w){case 533:break;default:E=0,C=1}f++}break;case q:p+f+h+l+O+P===0&&(P=1);break;case K:case Q:if(h+l+f>0)break;switch(p){case 0:switch(2*v+3*i.charCodeAt(G+1)){case 235:p=Q;break;case 220:Oe=G,p=K}break;case K:v===Q&&_===K&&Oe+2!==G&&(33===i.charCodeAt(Oe+2)&&(Je+=i.substring(Oe,G+1)),je="",p=0)}}if(0===p){if(ye+h+l+P===0&&a!==ae&&v!==A)switch(v){case J:case te:case Y:case ee:case L:case M:if(0===C){switch(_){case V:case W:case F:case U:je+="\0";break;default:je="\0"+je+(v===J?"":"\0")}_e=1}else switch(v){case M:O+7===G&&108===_&&(O=0),C=++E;break;case L:0==(C=--E)&&(_e=1,je+="\0")}break;case V:case W:switch(_){case ne:case N:case I:case A:case J:case re:case V:case W:case F:case U:break;default:0===C&&(_e=1,je+="\0")}}ze+=je,v!==W&&v!==V&&(k=v)}}w=_,_=v,G++}if(Oe=Je.length,we>0&&0===Oe&&0===Xe.length&&0===t[0].length==0&&(a!==oe||1===t.length&&(ye>0?qe:We)===t[0])&&(Oe=t.join(",").length+2),Oe>0){if(s=0===ye&&a!==ae?function(e){for(var t,n,i=0,a=e.length,o=Array(a);i1)){if(f=u.charCodeAt(u.length-1),h=n.charCodeAt(0),t="",0!==l)switch(f){case K:case te:case Y:case ee:case W:case M:break;default:t=" "}switch(h){case z:n=t+qe;case te:case Y:case ee:case W:case L:case M:break;case D:n=t+n+qe;break;case X:switch(2*n.charCodeAt(1)+3*n.charCodeAt(2)){case 530:if(ve>0){n=t+n.substring(8,p-1);break}default:(l<1||s[l-1].length<1)&&(n=t+qe+n)}break;case J:t="";default:n=p>1&&n.indexOf(":")>0?t+n.replace(x,"$1"+qe+"$2"):t+n+qe}u+=n}o[i]=u.replace(r,"").trim()}return o}(t):t,Ee>0&&void 0!==(u=Pe(De,Je,s,e,me,de,Oe,a,o,a))&&0===(Je=u).length)return $e+Je+Xe;if(Je=s.join(",")+"{"+Je+"}",be*ge!=0){switch(2!==be||Le(Je,2)||(ge=0),ge){case ce:Je=Je.replace(g,":"+R+"$1")+Je;break;case ue:Je=Je.replace(m,"::"+T+"input-$1")+Je.replace(m,"::"+R+"$1")+Je.replace(m,":"+j+"input-$1")+Je}ge=0}}return $e+Je+Xe}function Ie(e,t,n){var r=t.trim().split(l),i=r,a=r.length,o=e.length;switch(o){case 0:case 1:for(var s=0,u=0===o?"":e[0]+" ";s0&&ye>0)return i.replace(f,"$1").replace(p,"$1"+We);break;default:return e.trim()+i.replace(p,"$1"+e.trim())}default:if(n*ye>0&&i.indexOf("\f")>0)return i.replace(p,(e.charCodeAt(0)===X?"":"$1")+e.trim())}return e+i}function Ke(e,t,n,r){var c,l=0,p=e+";",f=2*t+3*n+4*r;if(944===f)return function(e){var t=e.length,n=e.indexOf(":",9)+1,r=e.substring(0,n).trim(),i=e.substring(n,t-1).trim();switch(e.charCodeAt(9)*Ue){case 0:break;case H:if(110!==e.charCodeAt(10))break;default:for(var a=i.split((i="",s)),o=0,n=0,t=a.length;oq&&p<90||p>96&&p<123||p===G||p===H&&c.charCodeAt(1)!==H))switch(isNaN(parseFloat(c))+(-1!==c.indexOf("("))){case 1:switch(c){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:c+=Ve}}l[n++]=c}i+=(0===o?"":",")+l.join(" ")}}return i=r+i+";",1===be||2===be&&Le(i,1)?T+i+i:i}(p);if(0===be||2===be&&!Le(p,1))return p;switch(f){case 1015:return 97===p.charCodeAt(10)?T+p+p:p;case 951:return 116===p.charCodeAt(3)?T+p+p:p;case 963:return 110===p.charCodeAt(5)?T+p+p:p;case 1009:if(100!==p.charCodeAt(4))break;case 969:case 942:return T+p+p;case 978:return T+p+R+p+p;case 1019:case 983:return T+p+R+p+j+p+p;case 883:return p.charCodeAt(8)===H?T+p+p:p.indexOf("image-set(",11)>0?p.replace(O,"$1"+T+"$2")+p:p;case 932:if(p.charCodeAt(4)===H)switch(p.charCodeAt(5)){case 103:return T+"box-"+p.replace("-grow","")+T+p+j+p.replace("grow","positive")+p;case 115:return T+p+j+p.replace("shrink","negative")+p;case 98:return T+p+j+p.replace("basis","preferred-size")+p}return T+p+j+p+p;case 964:return T+p+j+"flex-"+p+p;case 1023:if(99!==p.charCodeAt(8))break;return c=p.substring(p.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),T+"box-pack"+c+T+p+j+"flex-pack"+c+p;case 1005:return a.test(p)?p.replace(i,":"+T)+p.replace(i,":"+R)+p:p;case 1e3:switch(l=(c=p.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(l)){case 226:c=p.replace(w,"tb");break;case 232:c=p.replace(w,"tb-rl");break;case 220:c=p.replace(w,"lr");break;default:return p}return T+p+j+c+p;case 1017:if(-1===p.indexOf("sticky",9))return p;case 975:switch(l=(p=e).length-10,f=(c=(33===p.charCodeAt(l)?p.substring(0,l):p).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(c.charCodeAt(8)<111)break;case 115:p=p.replace(c,T+c)+";"+p;break;case 207:case 102:p=p.replace(c,T+(f>102?"inline-":"")+"box")+";"+p.replace(c,T+c)+";"+p.replace(c,j+c+"box")+";"+p}return p+";";case 938:if(p.charCodeAt(5)===H)switch(p.charCodeAt(6)){case 105:return c=p.replace("-items",""),T+p+T+"box-"+c+j+"flex-"+c+p;case 115:return T+p+j+"flex-item-"+p.replace(E,"")+p;default:return T+p+j+"flex-line-pack"+p.replace("align-content","").replace(E,"")+p}break;case 973:case 989:if(p.charCodeAt(3)!==H||122===p.charCodeAt(4))break;case 931:case 953:if(!0===P.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?Ke(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):p.replace(c,T+c)+p.replace(c,R+c.replace("fill-",""))+p;break;case 962:if(p=T+p+(102===p.charCodeAt(5)?j+p:"")+p,n+r===211&&105===p.charCodeAt(13)&&p.indexOf("transform",10)>0)return p.substring(0,p.indexOf(";",27)+1).replace(o,"$1"+T+"$2")+p}return p}function Le(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10),i=e.substring(n+1,e.length-1);return Ce(2!==t?r:r.replace(C,"$1"),i,t)}function Me(e,t){var n=Ke(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(k," or ($1)").substring(4):"("+t+")"}function Pe(e,t,n,r,i,a,o,s,u,c){for(var l,p=0,f=t;p0&&(Ve=i.replace(h,a===D?"":"-")),a=1,1===ye?We=i:qe=i;var o,s=[We];Ee>0&&void 0!==(o=Pe(je,n,s,s,me,de,0,0,0,0))&&"string"==typeof o&&(n=o);var u=He(Se,s,n,0,0);return Ee>0&&void 0!==(o=Pe(Oe,u,s,s,me,de,u.length,0,0,0))&&"string"!=typeof(u=o)&&(a=0),Ve="",We="",qe="",ge=0,me=1,de=1,_e*a==0?u:u.replace(r,"").replace(y,"").replace(b,"$1").replace(v,"$1").replace(_," ")}return Te.use=function e(t){switch(t){case void 0:case null:Ee=ke.length=0;break;default:if("function"==typeof t)ke[Ee++]=t;else if("object"==typeof t)for(var n=0,r=t.length;nu;)r(s,n=t[u++])&&(~a(c,n)||c.push(n));return c}},function(e,t,n){var r=n(13),i=n(6),a=n(50);e.exports=n(14)?Object.defineProperties:function defineProperties(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){var r=n(24),i=n(53).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(e){return o.slice()}};e.exports.f=function getOwnPropertyNames(e){return o&&"[object Window]"==a.call(e)?s(e):i(r(e))}},function(e,t,n){"use strict";var r=n(50),i=n(81),a=n(73),o=n(20),s=n(72),u=Object.assign;e.exports=!u||n(5)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r})?function assign(e,t){for(var n=o(e),u=arguments.length,c=1,l=i.f,p=a.f;u>c;)for(var f,h=s(arguments[c++]),d=l?r(h).concat(l(h)):r(h),m=d.length,g=0;m>g;)p.call(h,f=d[g++])&&(n[f]=h[f]);return n}:u},function(e,t){e.exports=Object.is||function is(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(36),i=n(8),a=n(175),o=[].slice,s={},u=function(e,t,n){if(!(t in s)){for(var r=[],i=0;i>>0||(o.test(n)?16:10))}:r},function(e,t,n){var r=n(7).parseFloat,i=n(82).trim;e.exports=1/r(n(122)+"-0")!=-1/0?function parseFloat(e){var t=i(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(37);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(8),i=Math.floor;e.exports=function isInteger(e){return!r(e)&&isFinite(e)&&i(e)===e}},function(e,t){e.exports=Math.log1p||function log1p(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){"use strict";var r=n(52),i=n(47),a=n(58),o={};n(23)(o,n(10)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(6);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},function(e,t,n){var r=n(36),i=n(20),a=n(72),o=n(12);e.exports=function(e,t,n,s,u){r(t);var c=i(e),l=a(c),p=o(c.length),f=u?p-1:0,h=u?-1:1;if(n<2)for(;;){if(f in l){s=l[f],f+=h;break}if(f+=h,u?f<0:p<=f)throw TypeError("Reduce of empty array with no initial value")}for(;u?f>=0:p>f;f+=h)f in l&&(s=t(s,l[f],f,c));return s}},function(e,t,n){"use strict";var r=n(20),i=n(51),a=n(12);e.exports=[].copyWithin||function copyWithin(e,t){var n=r(this),o=a(n.length),s=i(e,o),u=i(t,o),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?o:i(c,o))-u,o-s),p=1;for(u0;)u in n?n[s]=n[u]:delete n[s],s+=p,u+=p;return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(137);n(2)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(14)&&"g"!=/./g.flags&&n(13).f(RegExp.prototype,"flags",{configurable:!0,get:n(84)})},function(e,t,n){"use strict";var r,i,a,o,s=n(49),u=n(7),c=n(35),l=n(74),p=n(2),f=n(8),h=n(36),d=n(62),m=n(87),g=n(75),y=n(139).set,b=n(378)(),v=n(189),_=n(379),x=n(88),w=n(190),S=u.TypeError,k=u.process,E=k&&k.versions,C=E&&E.v8||"",P=u.Promise,O="process"==l(k),T=function(){},R=i=v.f,j=!!function(){try{var e=P.resolve(1),t=(e.constructor={})[n(10)("species")]=function(e){e(T,T)};return(O||"function"==typeof PromiseRejectionEvent)&&e.then(T)instanceof t&&0!==C.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(e){}}(),A=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},I=function(e,t){if(!e._n){e._n=!0;var n=e._c;b(function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o,s=i?t.ok:t.fail,u=t.resolve,c=t.reject,l=t.domain;try{s?(i||(2==e._h&&L(e),e._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),o=!0)),n===t.promise?c(S("Promise-chain cycle")):(a=A(n))?a.call(n,u,c):u(n)):c(r)}catch(e){l&&!o&&l.exit(),c(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&N(e)})}},N=function(e){y.call(u,function(){var t,n,r,i=e._v,a=M(e);if(a&&(t=_(function(){O?k.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=O||M(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},M=function(e){return 1!==e._h&&0===(e._a||e._c).length},L=function(e){y.call(u,function(){var t;O?k.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},D=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),I(t,!0))},B=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw S("Promise can't be resolved itself");(t=A(e))?b(function(){var r={_w:n,_d:!1};try{t.call(e,c(B,r,1),c(D,r,1))}catch(e){D.call(r,e)}}):(n._v=e,n._s=1,I(n,!1))}catch(e){D.call({_w:n,_d:!1},e)}}};j||(P=function Promise(e){d(this,P,"Promise","_h"),h(e),r.call(this);try{e(c(B,this,1),c(D,this,1))}catch(e){D.call(this,e)}},(r=function Promise(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(63)(P.prototype,{then:function then(e,t){var n=R(g(this,P));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=O?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=c(B,e,1),this.reject=c(D,e,1)},v.f=R=function(e){return e===P||e===o?new a(e):i(e)}),p(p.G+p.W+p.F*!j,{Promise:P}),n(58)(P,"Promise"),n(61)("Promise"),o=n(15).Promise,p(p.S+p.F*!j,"Promise",{reject:function reject(e){var t=R(this);return(0,t.reject)(e),t.promise}}),p(p.S+p.F*(s||!j),"Promise",{resolve:function resolve(e){return w(s&&this===o?P:this,e)}}),p(p.S+p.F*!(j&&n(83)(function(e){P.all(e).catch(T)})),"Promise",{all:function all(e){var t=this,n=R(t),r=n.resolve,i=n.reject,a=_(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,u=!1;n.push(void 0),o++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function race(e){var t=this,n=R(t),r=n.reject,i=_(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t,n){"use strict";var r=n(36);function PromiseCapability(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new PromiseCapability(e)}},function(e,t,n){var r=n(6),i=n(8),a=n(189);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(13).f,i=n(52),a=n(63),o=n(35),s=n(62),u=n(87),c=n(128),l=n(185),p=n(61),f=n(14),h=n(42).fastKey,d=n(64),m=f?"_s":"size",g=function(e,t){var n,r=h(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,c){var l=e(function(e,r){s(e,l,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[m]=0,null!=r&&u(r,n,e[c],e)});return a(l.prototype,{clear:function clear(){for(var e=d(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=d(this,t),r=g(n,e);if(r){var i=r.n,a=r.p;delete n._i[r.i],r.r=!0,a&&(a.n=i),i&&(i.p=a),n._f==r&&(n._f=i),n._l==r&&(n._l=a),n[m]--}return!!r},forEach:function forEach(e){d(this,t);for(var n,r=o(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function has(e){return!!g(d(this,t),e)}}),f&&r(l.prototype,"size",{get:function(){return d(this,t)[m]}}),l},def:function(e,t,n){var r,i,a=g(e,t);return a?a.v=n:(e._l=a={i:i=h(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=a),r&&(r.n=a),e[m]++,"F"!==i&&(e._i[i]=a)),e},getEntry:g,setStrong:function(e,t,n){c(e,t,function(e,n){this._t=d(e,t),this._k=n,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?l(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,l(1))},n?"entries":"values",!n,!0),p(t)}}},function(e,t,n){"use strict";var r=n(63),i=n(42).getWeak,a=n(6),o=n(8),s=n(62),u=n(87),c=n(32),l=n(22),p=n(64),f=c(5),h=c(6),d=0,m=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},y=function(e,t){return f(e.a,function(e){return e[0]===t})};g.prototype={get:function(e){var t=y(this,e);if(t)return t[1]},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=h(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,a){var c=e(function(e,r){s(e,c,t,"_i"),e._t=t,e._i=d++,e._l=void 0,null!=r&&u(r,n,e[a],e)});return r(c.prototype,{delete:function(e){if(!o(e))return!1;var n=i(e);return!0===n?m(p(this,t)).delete(e):n&&l(n,this._i)&&delete n[this._i]},has:function has(e){if(!o(e))return!1;var n=i(e);return!0===n?m(p(this,t)).has(e):n&&l(n,this._i)}}),c},def:function(e,t,n){var r=i(a(t),!0);return!0===r?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},function(e,t,n){var r=n(29),i=n(12);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var r=n(53),i=n(81),a=n(6),o=n(7).Reflect;e.exports=o&&o.ownKeys||function ownKeys(e){var t=r.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(12),i=n(124),a=n(38);e.exports=function(e,t,n,o){var s=String(a(e)),u=s.length,c=void 0===n?" ":String(n),l=r(t);if(l<=u||""==c)return s;var p=l-u,f=i.call(c,Math.ceil(p/c.length));return f.length>p&&(f=f.slice(0,p)),o?f+s:s+f}},function(e,t,n){var r=n(50),i=n(24),a=n(73).f;e.exports=function(e){return function(t){for(var n,o=i(t),s=r(o),u=s.length,c=0,l=[];u>c;)a.call(o,n=s[c++])&&l.push(e?[n,o[n]]:o[n]);return l}}},function(e,t,n){"use strict";function cssWithMappingToString(e,t){var n,r,i=e[1]||"",a=e[3];if(!a)return i;if(t&&"function"==typeof btoa){var o=(n=a,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),"/*# "+("sourceMappingURL=data:application/json;charset=utf-8;base64,"+r)+" */"),s=a.sources.map(function(e){return"/*# sourceURL="+a.sourceRoot+e+" */"});return[i].concat(s).concat([o]).join("\n")}return[i].join("\n")}e.exports=function(e){var t=[];return t.toString=function toString(){return this.map(function(t){var n=cssWithMappingToString(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)}},{key:"reset",value:function reset(){this.registry=[]}},{key:"remove",value:function remove(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)}},{key:"toString",value:function toString(e){return this.registry.filter(function(e){return e.attached}).map(function(t){return t.toString(e)}).join("\n")}},{key:"index",get:function get(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),SheetsRegistry}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(453));t.default=function(e){return e&&e[r.default]&&e===e[r.default]()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function linkRule(e,t){e.renderable=t,e.rules&&t.cssRules&&e.rules.link(t.cssRules)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=_interopRequireDefault(n(43)),i=(_interopRequireDefault(n(203)),_interopRequireDefault(n(456)));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.default=function(){var e=0;return function(t,n){(e+=1)>1e10&&(0,r.default)(!1,"[JSS] You might have a memory leak. Rule counter is at %s.",e);var a="c",o="";return n&&(a=n.options.classNamePrefix||"c",null!=n.options.jss.id&&(o+=n.options.jss.id)),""+a+i.default+o+e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t-1)return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Code__WEBPACK_IMPORTED_MODULE_6__.a,null,Object(_util__WEBPACK_IMPORTED_MODULE_14__.b)(Object(_util__WEBPACK_IMPORTED_MODULE_14__.c)(prop.defaultValue.value)));if("func"===propName||"function"===propName)return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_11__.a,{size:"small",color:"light",underlined:!0,title:Object(_util__WEBPACK_IMPORTED_MODULE_14__.b)(Object(_util__WEBPACK_IMPORTED_MODULE_14__.c)(prop.defaultValue.value))},"Function");if("shape"===propName||"object"===propName)try{var object=eval("("+prop.defaultValue.value+")");return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_11__.a,{size:"small",color:"light",underlined:!0,title:javascript_stringify__WEBPACK_IMPORTED_MODULE_3___default()(object,null,2)},"Shape")}catch(e){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_11__.a,{size:"small",color:"light",underlined:!0,title:prop.defaultValue.value},"Shape")}}return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Code__WEBPACK_IMPORTED_MODULE_6__.a,null,Object(_util__WEBPACK_IMPORTED_MODULE_14__.b)(Object(_util__WEBPACK_IMPORTED_MODULE_14__.c)(prop.defaultValue.value)))}return prop.required?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_11__.a,{size:"small",color:"light"},"Required"):""}function renderDescription(e){var t=e.description,n=e.tags,r=void 0===n?{}:n,i=renderExtra(e),a=[].concat(_toConsumableArray(r.arg||[]),_toConsumableArray(r.argument||[]),_toConsumableArray(r.param||[])),o=r.return&&r.return[0]||r.returns&&r.returns[0];return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",null,t&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Markdown__WEBPACK_IMPORTED_MODULE_8__.a,{text:t}),i&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Para__WEBPACK_IMPORTED_MODULE_12__.a,null,i),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_JsDoc__WEBPACK_IMPORTED_MODULE_7__.a,r),a.length>0&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Arguments__WEBPACK_IMPORTED_MODULE_4__.a,{args:a,heading:!0}),o&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Argument__WEBPACK_IMPORTED_MODULE_5__.a,_extends({},o,{returns:!0})))}function renderExtra(e){var t=Object(_util__WEBPACK_IMPORTED_MODULE_14__.a)(e);if(!t)return null;switch(t.name){case"enum":return renderEnum(e);case"union":return renderUnion(e);case"shape":return renderShape(e.type.value);case"arrayOf":case"objectOf":return"shape"===t.value.name?renderShape(e.type.value.value):null;default:return null}}function renderUnion(e){var t=Object(_util__WEBPACK_IMPORTED_MODULE_14__.a)(e);if(!Array.isArray(t.value))return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span",null,t.value);var n=t.value.map(function(e,t){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Type__WEBPACK_IMPORTED_MODULE_10__.a,{key:e.name+"-"+t},renderType(e))});return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span",null,"One of type:"," ",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_group__WEBPACK_IMPORTED_MODULE_2___default.a,{separator:", ",inline:!0},n))}function renderName(e){var t=e.name,n=e.tags,r=void 0===n?{}:n;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Name__WEBPACK_IMPORTED_MODULE_9__.a,{deprecated:!!r.deprecated},t)}function renderTypeColumn(e){return e.flowType?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Type__WEBPACK_IMPORTED_MODULE_10__.a,null,renderFlowType(Object(_util__WEBPACK_IMPORTED_MODULE_14__.a)(e))):react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Type__WEBPACK_IMPORTED_MODULE_10__.a,null,renderType(Object(_util__WEBPACK_IMPORTED_MODULE_14__.a)(e)))}function getRowKey(e){return e.name}var columns=[{caption:"Prop name",render:renderName},{caption:"Type",render:renderTypeColumn},{caption:"Default",render:renderDefault},{caption:"Description",render:renderDescription}];function PropsRenderer(e){var t=e.props;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Table__WEBPACK_IMPORTED_MODULE_13__.a,{columns:columns,rows:t,getRowKey:getRowKey})}PropsRenderer.propTypes={props:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array.isRequired}},function(e,t,n){"use strict";(function(e){ -/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */ -var r=n(533),i=n(534),a=n(535);function kMaxLength(){return Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function createBuffer(e,t){if(kMaxLength()=kMaxLength())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kMaxLength().toString(16)+" bytes");return 0|e}function byteLength(e,t){if(Buffer.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return utf8ToBytes(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return base64ToBytes(e).length;default:if(r)return utf8ToBytes(e).length;t=(""+t).toLowerCase(),r=!0}}function slowToString(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return hexSlice(this,t,n);case"utf8":case"utf-8":return utf8Slice(this,t,n);case"ascii":return asciiSlice(this,t,n);case"latin1":case"binary":return latin1Slice(this,t,n);case"base64":return base64Slice(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function swap(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function bidirectionalIndexOf(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=Buffer.from(t,r)),Buffer.isBuffer(t))return 0===t.length?-1:arrayIndexOf(e,t,n,r,i);if("number"==typeof t)return t&=255,Buffer.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):arrayIndexOf(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(e,t,n,r,i){var a,o=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,u/=2,n/=2}function read(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(a=n;as&&(n=s-u),a=n;a>=0;a--){for(var l=!0,p=0;pi&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o239?4:c>223?3:c>191?2:1;if(i+p<=n)switch(p){case 1:c<128&&(l=c);break;case 2:128==(192&(a=e[i+1]))&&(u=(31&c)<<6|63&a)>127&&(l=u);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(u=(15&c)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(u=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,p=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=p}return decodeCodePointsArray(r)}t.Buffer=Buffer,t.SlowBuffer=function SlowBuffer(e){+e!=e&&(e=0);return Buffer.alloc(+e)},t.INSPECT_MAX_BYTES=50,Buffer.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function typedArraySupport(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=kMaxLength(),Buffer.poolSize=8192,Buffer._augment=function(e){return e.__proto__=Buffer.prototype,e},Buffer.from=function(e,t,n){return from(null,e,t,n)},Buffer.TYPED_ARRAY_SUPPORT&&(Buffer.prototype.__proto__=Uint8Array.prototype,Buffer.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Buffer[Symbol.species]===Buffer&&Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:!0})),Buffer.alloc=function(e,t,n){return alloc(null,e,t,n)},Buffer.allocUnsafe=function(e){return allocUnsafe(null,e)},Buffer.allocUnsafeSlow=function(e){return allocUnsafe(null,e)},Buffer.isBuffer=function isBuffer(e){return!(null==e||!e._isBuffer)},Buffer.compare=function compare(e,t){if(!Buffer.isBuffer(e)||!Buffer.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},Buffer.prototype.compare=function compare(e,t,n,r,i){if(!Buffer.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),s=Math.min(a,o),u=this.slice(r,i),c=e.slice(t,n),l=0;li)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return hexWrite(this,e,t,n);case"utf8":case"utf-8":return utf8Write(this,e,t,n);case"ascii":return asciiWrite(this,e,t,n);case"latin1":case"binary":return latin1Write(this,e,t,n);case"base64":return base64Write(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var o=4096;function decodeCodePointsArray(e){var t=e.length;if(t<=o)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var i="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function checkInt(e,t,n,r,i,a){if(!Buffer.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function objectWriteUInt16(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function objectWriteUInt32(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function checkIEEE754(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function writeFloat(e,t,n,r,a){return a||checkIEEE754(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function writeDouble(e,t,n,r,a){return a||checkIEEE754(e,0,n,8),i.write(e,t,n,r,52,8),n+8}Buffer.prototype.slice=function slice(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},Buffer.prototype.readUInt8=function readUInt8(e,t){return t||checkOffset(e,1,this.length),this[e]},Buffer.prototype.readUInt16LE=function readUInt16LE(e,t){return t||checkOffset(e,2,this.length),this[e]|this[e+1]<<8},Buffer.prototype.readUInt16BE=function readUInt16BE(e,t){return t||checkOffset(e,2,this.length),this[e]<<8|this[e+1]},Buffer.prototype.readUInt32LE=function readUInt32LE(e,t){return t||checkOffset(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Buffer.prototype.readUInt32BE=function readUInt32BE(e,t){return t||checkOffset(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Buffer.prototype.readIntLE=function readIntLE(e,t,n){e|=0,t|=0,n||checkOffset(e,t,this.length);for(var r=this[e],i=1,a=0;++a=(i*=128)&&(r-=Math.pow(2,8*t)),r},Buffer.prototype.readIntBE=function readIntBE(e,t,n){e|=0,t|=0,n||checkOffset(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},Buffer.prototype.readInt8=function readInt8(e,t){return t||checkOffset(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Buffer.prototype.readInt16LE=function readInt16LE(e,t){t||checkOffset(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},Buffer.prototype.readInt16BE=function readInt16BE(e,t){t||checkOffset(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},Buffer.prototype.readInt32LE=function readInt32LE(e,t){return t||checkOffset(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Buffer.prototype.readInt32BE=function readInt32BE(e,t){return t||checkOffset(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Buffer.prototype.readFloatLE=function readFloatLE(e,t){return t||checkOffset(e,4,this.length),i.read(this,e,!0,23,4)},Buffer.prototype.readFloatBE=function readFloatBE(e,t){return t||checkOffset(e,4,this.length),i.read(this,e,!1,23,4)},Buffer.prototype.readDoubleLE=function readDoubleLE(e,t){return t||checkOffset(e,8,this.length),i.read(this,e,!0,52,8)},Buffer.prototype.readDoubleBE=function readDoubleBE(e,t){return t||checkOffset(e,8,this.length),i.read(this,e,!1,52,8)},Buffer.prototype.writeUIntLE=function writeUIntLE(e,t,n,r){(e=+e,t|=0,n|=0,r)||checkInt(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+n},Buffer.prototype.writeUInt8=function writeUInt8(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,1,255,0),Buffer.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Buffer.prototype.writeUInt16LE=function writeUInt16LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):objectWriteUInt16(this,e,t,!0),t+2},Buffer.prototype.writeUInt16BE=function writeUInt16BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):objectWriteUInt16(this,e,t,!1),t+2},Buffer.prototype.writeUInt32LE=function writeUInt32LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):objectWriteUInt32(this,e,t,!0),t+4},Buffer.prototype.writeUInt32BE=function writeUInt32BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):objectWriteUInt32(this,e,t,!1),t+4},Buffer.prototype.writeIntLE=function writeIntLE(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);checkInt(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+n},Buffer.prototype.writeIntBE=function writeIntBE(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);checkInt(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},Buffer.prototype.writeInt8=function writeInt8(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,1,127,-128),Buffer.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Buffer.prototype.writeInt16LE=function writeInt16LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):objectWriteUInt16(this,e,t,!0),t+2},Buffer.prototype.writeInt16BE=function writeInt16BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):objectWriteUInt16(this,e,t,!1),t+2},Buffer.prototype.writeInt32LE=function writeInt32LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,2147483647,-2147483648),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):objectWriteUInt32(this,e,t,!0),t+4},Buffer.prototype.writeInt32BE=function writeInt32BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):objectWriteUInt32(this,e,t,!1),t+4},Buffer.prototype.writeFloatLE=function writeFloatLE(e,t,n){return writeFloat(this,e,t,!0,n)},Buffer.prototype.writeFloatBE=function writeFloatBE(e,t,n){return writeFloat(this,e,t,!1,n)},Buffer.prototype.writeDoubleLE=function writeDoubleLE(e,t,n){return writeDouble(this,e,t,!0,n)},Buffer.prototype.writeDoubleBE=function writeDoubleBE(e,t,n){return writeDouble(this,e,t,!1,n)},Buffer.prototype.copy=function copy(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(a<1e3||!Buffer.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function asciiToBytes(e){for(var t=[],n=0;n>8,i=n%256,a.push(i),a.push(r);return a}function base64ToBytes(e){return r.toByteArray(base64clean(e))}function blitBuffer(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(26))},function(e,t){e.exports=function arrayMap(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++nf))return!1;var d=l.get(e);if(d&&l.get(t))return d==t;var m=-1,g=!0,y=n&s?new r:void 0;for(l.set(e,t),l.set(t,e);++m=t||n<0||y&&e-m>=p}function timerExpired(){var e=i();if(shouldInvoke(e))return trailingEdge(e);h=setTimeout(timerExpired,remainingWait(e))}function trailingEdge(e){return h=void 0,b&&c?invokeFunc(e):(c=l=void 0,f)}function debounced(){var e=i(),n=shouldInvoke(e);if(c=arguments,l=this,d=e,n){if(void 0===h)return leadingEdge(d);if(y)return h=setTimeout(timerExpired,t),invokeFunc(d)}return void 0===h&&(h=setTimeout(timerExpired,t)),f}return t=a(t)||0,r(n)&&(g=!!n.leading,p=(y="maxWait"in n)?s(a(n.maxWait)||0,t):p,b="trailing"in n?!!n.trailing:b),debounced.cancel=function cancel(){void 0!==h&&clearTimeout(h),m=0,c=d=l=h=void 0},debounced.flush=function flush(){return void 0===h?f:trailingEdge(i())},debounced}},function(e,t,n){var r=n(33),i=n(103),a=NaN,o=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function toNumber(e){if("number"==typeof e)return e;if(i(e))return a;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=u.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):s.test(e)?a:+e}},function(e,t,n){ -/*! react-buttons v1.3.1 | (c) 2018 Trend Micro Inc. | MIT | https://github.com/trendmicro-frontend/react-buttons */ -e.exports=function(e){var t={};function __webpack_require__(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,__webpack_require__),r.l=!0,r.exports}return __webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,n){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},__webpack_require__.n=function(e){var t=e&&e.__esModule?function getDefault(){return e.default}:function getModuleExports(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=6)}([function(e,t){e.exports=n(4)},function(e,t){e.exports=n(1)},function(e,t){e.exports={btn:"buttons---btn---2jZHN",active:"buttons---active---2-a32",focus:"buttons---focus---1kVJZ",hover:"buttons---hover---42FF2",disabled:"buttons---disabled---eCY9b","btn-default":"buttons---btn-default---1wWXD",btnDefault:"buttons---btn-default---1wWXD","btn-primary":"buttons---btn-primary---Wp1wb",btnPrimary:"buttons---btn-primary---Wp1wb","btn-danger":"buttons---btn-danger---1UUqU",btnDanger:"buttons---btn-danger---1UUqU","btn-border":"buttons---btn-border---1O58b",btnBorder:"buttons---btn-border---1O58b",open:"buttons---open---1ju75","dropdown-toggle":"buttons---dropdown-toggle---vMtjL",dropdownToggle:"buttons---dropdown-toggle---vMtjL","btn-link":"buttons---btn-link---1xwS4",btnLink:"buttons---btn-link---1xwS4","btn-lg":"buttons---btn-lg---2xtUV",btnLg:"buttons---btn-lg---2xtUV","btn-group-lg":"buttons---btn-group-lg---3C8An",btnGroupLg:"buttons---btn-group-lg---3C8An","btn-compact":"buttons---btn-compact---mXDAU",btnCompact:"buttons---btn-compact---mXDAU","btn-md":"buttons---btn-md---HRR_F",btnMd:"buttons---btn-md---HRR_F","btn-group-md":"buttons---btn-group-md---3FQVP",btnGroupMd:"buttons---btn-group-md---3FQVP","btn-sm":"buttons---btn-sm---3cNnY",btnSm:"buttons---btn-sm---3cNnY","btn-group-sm":"buttons---btn-group-sm---3_QLf",btnGroupSm:"buttons---btn-group-sm---3_QLf","btn-xs":"buttons---btn-xs---2eEDQ",btnXs:"buttons---btn-xs---2eEDQ","btn-group-xs":"buttons---btn-group-xs---1c4pb",btnGroupXs:"buttons---btn-group-xs---1c4pb","btn-block":"buttons---btn-block---1nSNV",btnBlock:"buttons---btn-block---1nSNV","btn-group":"buttons---btn-group---1jaDo",btnGroup:"buttons---btn-group---1jaDo","btn-group-vertical":"buttons---btn-group-vertical---3Lm1e",btnGroupVertical:"buttons---btn-group-vertical---3Lm1e","btn-toolbar":"buttons---btn-toolbar---2-GfJ",btnToolbar:"buttons---btn-toolbar---2-GfJ","input-group":"buttons---input-group---1T18I",inputGroup:"buttons---input-group---1T18I","btn-group-justified":"buttons---btn-group-justified---3qB9u",btnGroupJustified:"buttons---btn-group-justified---3qB9u","dropdown-menu":"buttons---dropdown-menu---1fkH0",dropdownMenu:"buttons---dropdown-menu---1fkH0"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i,a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=(i=r=function(e){function Button(){return _classCallCheck(this,Button),_possibleConstructorReturn(this,(Button.__proto__||Object.getPrototypeOf(Button)).apply(this,arguments))}return _inherits(Button,c.PureComponent),o(Button,[{key:"render",value:function render(){var e,t=this.props,n=t.className,r=t.componentClass,i=t.type,o=t.btnSize,u=t.btnStyle,c=t.active,p=t.hover,h=t.focus,d=t.disabled,m=t.block,g=t.compact,y=t.iconOnly,b=t.dropdownToggle,v=_objectWithoutProperties(t,["className","componentClass","type","btnSize","btnStyle","active","hover","focus","disabled","block","compact","iconOnly","dropdownToggle"]),_=(_defineProperty(e={},f.default.btn,!0),_defineProperty(e,f.default.btnLg,"large"===o||"lg"===o),_defineProperty(e,f.default.btnMd,"medium"===o||"md"===o),_defineProperty(e,f.default.btnSm,"small"===o||"sm"===o),_defineProperty(e,f.default.btnXs,"extra-small"===o||"xs"===o),_defineProperty(e,f.default.btnDefault,"default"===u),_defineProperty(e,f.default.btnPrimary,"primary"===u),_defineProperty(e,f.default.btnDanger,"danger"===u||"emphasis"===u),_defineProperty(e,f.default.btnBorder,"border"===u||"flat"===u),_defineProperty(e,f.default.btnLink,"link"===u),_defineProperty(e,f.default.btnBlock,m),_defineProperty(e,f.default.btnCompact,g||y),_defineProperty(e,f.default.hover,p),_defineProperty(e,f.default.active,c),_defineProperty(e,f.default.focus,h),_defineProperty(e,f.default.dropdownToggle,b),e);return l.default.createElement(r,a({},v,{type:i,className:(0,s.default)(n,_),disabled:d}))}}]),Button}(),r.propTypes={componentClass:u.default.oneOfType([u.default.func,u.default.string]),type:u.default.oneOf(["button","reset","submit"]),btnSize:u.default.oneOf(p.btnSizes),btnStyle:u.default.oneOf(p.btnStyles),active:u.default.bool,hover:u.default.bool,focus:u.default.bool,disabled:u.default.bool,block:u.default.bool,compact:u.default.bool,iconOnly:u.default.bool,dropdownToggle:u.default.bool},r.defaultProps={componentClass:"button",type:"button",btnSize:"md",btnStyle:"default",active:!1,hover:!1,focus:!1,disabled:!1,block:!1,compact:!1,iconOnly:!1,dropdownToggle:!1},i);t.default=h},function(e,t){e.exports=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.btnSizes=["lg","md","sm","xs","large","medium","small","extra-small"],t.btnStyles=["default","primary","danger","emphasis","border","flat","link"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonToolbar=t.ButtonGroup=t.Button=void 0;var r=_interopRequireDefault(n(3)),i=_interopRequireDefault(n(7)),a=_interopRequireDefault(n(8));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.Button=r.default,t.ButtonGroup=i.default,t.ButtonToolbar=a.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var p=function getComponentType(e){return e?s.default.createElement(e,null).type:void 0},f=function ButtonGroup(e){var t,n=e.btnSize,a=e.btnStyle,f=e.vertical,h=e.dropdownOpen,d=e.children,m=e.className,g=_objectWithoutProperties(e,["btnSize","btnStyle","vertical","dropdownOpen","children","className"]),y=(_defineProperty(t={},l.default.btnGroup,!0),_defineProperty(t,l.default.btnGroupLg,"large"===n||"lg"===n),_defineProperty(t,l.default.btnGroupMd,"medium"===n||"md"===n),_defineProperty(t,l.default.btnGroupSm,"small"===n||"sm"===n),_defineProperty(t,l.default.btnGroupXs,"extra-small"===n||"xs"===n),_defineProperty(t,l.default.btnGroupVertical,f),_defineProperty(t,l.default.open,h),t);return s.default.createElement("div",r({},g,{className:(0,i.default)(m,y)}),s.default.Children.map(d,function(e){if(s.default.isValidElement(e)&&e.type===p(u.default)){var t={};return c.btnSizes.indexOf(n)>=0&&(t.btnSize=n),c.btnStyles.indexOf(a)>=0&&(t.btnStyle=a),(0,o.cloneElement)(e,t)}return e}))};f.propTypes={btnSize:a.default.oneOf(c.btnSizes),btnStyle:a.default.oneOf(c.btnStyles),vertical:a.default.bool,dropdownOpen:a.default.bool},f.defaultProps={vertical:!1,dropdownOpen:!1},t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}t.default=function ButtonToolbar(e){var t=e.className,n=_objectWithoutProperties(e,["className"]);return a.default.createElement("div",r({},n,{className:(0,i.default)(t,o.default.btnToolbar)}))}}])},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(17);function _templateObject3(){var e=_taggedTemplateLiteral(["\n display: inline-block;\n visibility: visible;\n animation: "," ","ms ease-in-out;\n transition: visibility ","ms ease-in-out;\n"]);return _templateObject3=function _templateObject3(){return e},e}function _templateObject2(){var e=_taggedTemplateLiteral(["",""]);return _templateObject2=function _templateObject2(){return e},e}function _templateObject(){var e=_taggedTemplateLiteral(["\n from {\n transform: scale(.25);\n opacity: 0;\n }\n to {\n transform: scale(1);\n opacity: 1;\n }\n"]);return _templateObject=function _templateObject(){return e},e}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var o=Object(a.c)(_templateObject()),s=a.b.div(_templateObject2(),function(e){var t=e.delay,n=void 0===t?400:t;return Object(a.a)(_templateObject3(),o,n,n)});s.propTypes={delay:i.a.number},t.a=s},function(e,t,n){e.exports=function(){"use strict";return function(e){function toSheet(t){if(t)try{e(t+"}")}catch(e){}}return function ruleSheet(t,n,r,i,a,o,s,u,c,l){switch(t){case 1:if(0===c&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===u)return n+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(r[0]+n),"";default:return n+(0===l?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(toSheet)}}}}()},function(e,t,n){"use strict";t.a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(17);function _templateObject3(){var e=_taggedTemplateLiteral(["\n display: inline-block;\n visibility: hidden;\n animation: "," ","ms ease-in-out;\n transition: visibility ","ms ease-in-out;\n"]);return _templateObject3=function _templateObject3(){return e},e}function _templateObject2(){var e=_taggedTemplateLiteral(["",""]);return _templateObject2=function _templateObject2(){return e},e}function _templateObject(){var e=_taggedTemplateLiteral(["\n from {\n transform: scale(1);\n opacity: 1;\n }\n to {\n transform: scale(.25);\n opacity: 0;\n }\n"]);return _templateObject=function _templateObject(){return e},e}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var o=Object(a.c)(_templateObject()),s=a.b.div(_templateObject2(),function(e){var t=e.delay,n=void 0===t?400:t;return Object(a.a)(_templateObject3(),o,n,n)});s.propTypes={delay:i.a.number},t.a=s},function(e,t,n){"use strict";function _templateObject(){var e=_taggedTemplateLiteral(["\n margin-bottom: 1rem;\n"]);return _templateObject=function _templateObject(){return e},e}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var r=n(17).b.div(_templateObject());t.a=r},function(e,t,n){"use strict";function _templateObject(){var e=_taggedTemplateLiteral(["\n display: block;\n width: 100%;\n height: 32px;\n padding: 5px 12px;\n font-size: 13px;\n color: #222222;\n background-color: #ffffff;\n background-image: none;\n border: 1px solid #cccccc;\n border-radius: 3px;\n"]);return _templateObject=function _templateObject(){return e},e}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var r=n(17).b.input(_templateObject());t.a=r},function(e,t,n){"use strict";function _templateObject(){var e=_taggedTemplateLiteral(["\n display: inline-block;\n margin-bottom: .5rem;\n"]);return _templateObject=function _templateObject(){return e},e}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var r=n(17).b.label(_templateObject());t.a=r},function(e,t,n){"use strict";var r=n(40),i=n(105),a=n(106),o=n(156),s=n(157),u=n(158),c=n(159);r.default.Overlay=i.a,r.default.Content=a.a,r.default.Header=o.default,r.default.Title=s.default,r.default.Body=u.default,r.default.Footer=c.default,t.a=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_interopRequireDefault(n(18)),i=_interopRequireDefault(n(441)),a=_interopRequireDefault(n(442));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var o=r.default.createPortal?i.default:a.default;t.default=o},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(18),o=n.n(a);t.a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return new Promise(function(n,r){var a=null;t||((a=document.createElement("div")).setAttribute("data-portal",""),document&&document.body&&document.body.appendChild(a)),o.a.render(i.a.createElement(e,{onClose:function onClose(){setTimeout(function(){t?o.a.unmountComponentAtNode(t):a&&(o.a.unmountComponentAtNode(a),document&&document.body&&document.body.removeChild(a),a=null),n()},0)}}),t||a)})}},function(e,t,n){"use strict";function symbolObservablePonyfill(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",function(){return symbolObservablePonyfill})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=!1,n=[],r=void 0,i=void 0,a=function setSelector(){i.selector=n.join(",\n")},o=f(a);return{onProcessRule:function onProcessRule(a,u){if(!u||u===r||"style"!==a.type)return;if(!p(a,u,e))return;i||(r=a.options.jss.createStyleSheet(null,s),i=r.addRule("reset",c(e.reset)),r.attach());var l=a.selector;-1===n.indexOf(l)&&(n.push(l),t=o())},onProcessSheet:function onProcessSheet(){!t&&n.length&&a()}}};var a=_interopRequireDefault(n(470)),o=_interopRequireDefault(n(471));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var s={meta:"jss-isolate",index:-1/0,link:!0},u={inherited:a.default,all:o.default},c=function getStyle(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"inherited";if("string"==typeof e)return u[e];if("object"===(void 0===e?"undefined":i(e))){if(Array.isArray(e)){var t=e[0],n=e[1];return r({},u[t],n)}return r({},a.default,e)}return a.default},l={keyframes:!0,conditional:!0},p=function shouldIsolate(e,t,n){var r=e.options.parent;if(r&&l[r.type])return!1;var i=null==n.isolate||n.isolate;return null!=t.options.isolate&&(i=t.options.isolate),null!=e.style.isolate&&(i=e.style.isolate,delete e.style.isolate),"string"==typeof i?i===e.key:i},f=function createDebounced(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Date.now();return function(){var r=Date.now();return!(r-n0&&void 0!==arguments[0]?arguments[0]:{});return{onProcessStyle:function onProcessStyle(t,n){if("style"!==n.type)return t;for(var r in t)t[r]=iterate(r,t[r],e);return t},onChangeValue:function onChangeValue(t,n){return iterate(n,t,e)}}};var i=addCamelCasedVersion(function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(473)).default);function iterate(e,t,n){if(!t)return t;var a=t,o=void 0===t?"undefined":r(t);switch("object"===o&&Array.isArray(t)&&(o="array"),o){case"object":if("fallbacks"===e){for(var s in t)t[s]=iterate(s,t[s],n);break}for(var u in t)t[u]=iterate(e+"-"+u,t[u],n);break;case"array":for(var c=0;c-1)return registerClass(e,t.split(" "));var i=e.options.parent;if("$"===t[0]){var a=i.getRule(t.substr(1));return a?a===e?((0,r.default)(!1,"[JSS] Cyclic composition detected. \r\n%s",e),!1):(i.classes[e.key]+=" "+i.classes[a.key],!0):((0,r.default)(!1,"[JSS] Referenced rule is not defined. \r\n%s",e),!1)}return e.options.parent.classes[e.key]+=" "+t,!0}},function(e,t,n){(function(t){e.exports=function(){var e=/[\\\'\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'",'"':'\\"',"\\":"\\\\"};function escapeChar(e){var t=n[e];return t||"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}var r={};"break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield".split(" ").map(function(e){r[e]=!0});var i=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function isValidVariableName(e){return!r[e]&&i.test(e)}function toGlobalVariable(e){return"Function("+stringify("return this;")+")()"}function toPath(e){for(var t="",n=0;n-1)return void f.push(u.slice(),p[r]);l.push(e),p.push(u.slice())}if(!(u.length>i||s--<=0))return t(e,n,next)}:function(e,t){var r=c.indexOf(e);if(!(r>-1||u.length>i||s--<=0)){c.push(e);var e=t(e,n,next);return c.pop(),e}};if("function"==typeof t){var d=h;h=function(e,n){return d(e,function(e,r,i){return t(e,r,function(e){return n(e,r,i)})})}}var m=h(e,stringify);if(f.length){for(var g=n?"\n":"",y=n?" = ":"=",b=";"+g,d=n?"(function () {":"(function(){",v=["var x"+y+m],_=0;_",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},o=/^[\da-fA-F]+$/,s=/^\d+$/,u="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function createCommonjsModule(e,t){return e(t={exports:{}},t.exports),t.exports}var c=createCommonjsModule(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function injectDynamicImport(e){var t=e.tokTypes;function parseDynamicImport(){var e=this.startNode();return this.next(),this.type!==t.parenL&&this.unexpected(),this.finishNode(e,n)}function peekNext(){return this.input[this.pos]}return t._import.startsExpr=!0,e.plugins.dynamicImport=function dynamicImportPlugin(e){e.extend("parseStatement",function(e){return function parseStatement(){var n=this.startNode();if(this.type===t._import&&peekNext.call(this)===t.parenL.label){var r=this.parseExpression();return this.parseExpressionStatement(n,r)}for(var i=arguments.length,a=Array(i),o=0;ot)return{line:n+1,column:t-a,char:n};a=o}throw new Error("Could not determine location of character")}function repeat(e,t){for(var n="";t--;)n+=e;return n}function getSnippet(e,t,n){void 0===n&&(n=1);var r=Math.max(t.line-5,0),i=t.line,a=String(i).length,o=e.split("\n").slice(r,i),s=o[o.length-1].slice(0,t.column).replace(/\t/g," ").length,u=o.map(function(e,t){return n=a,(i=String(t+r+1))+repeat(" ",n-i.length)+" : "+e.replace(/\t/g," ");var n,i}).join("\n");return u+="\n"+repeat(" ",a+3+s)+repeat("^",n)}"do if in for let new try var case else enum eval null this true void with await break catch class const false super throw while yield delete export import public return static switch typeof default extends finally package private continue debugger function arguments interface protected implements instanceof".split(" ").forEach(function(e){return h[e]=!0}),Scope.prototype={addDeclaration:function addDeclaration(e,t){for(var n=0,r=extractNames(e);n1&&(l=t(a),s.push(function(t,n,s){e.prependRight(i.start,(o?"":n+"var ")+l+" = "),e.overwrite(i.start,r=i.start+1,a),e.appendLeft(r,s),e.overwrite(i.start,r=i.start+1,(o?"":n+"var ")+l+" = "+a+s),e.move(i.start,r,t)})),destructureObjectPattern(e,t,n,i,l,o,s);break;case"ArrayPattern":if(e.remove(r,r=i.start),i.elements.filter(Boolean).length>1){var p=t(a);s.push(function(t,n,s){e.prependRight(i.start,(o?"":n+"var ")+p+" = "),e.overwrite(i.start,r=i.start+1,a,{contentOnly:!0}),e.appendLeft(r,s),e.move(i.start,r,t)}),i.elements.forEach(function(i,a){i&&("RestElement"===i.type?handleProperty(e,t,n,r,i.argument,p+".slice("+a+")",o,s):handleProperty(e,t,n,r,i,p+"["+a+"]",o,s),r=i.end)})}else{var f=findIndex(i.elements,Boolean),h=i.elements[f];"RestElement"===h.type?handleProperty(e,t,n,r,h.argument,a+".slice("+f+")",o,s):handleProperty(e,t,n,r,h,a+"["+f+"]",o,s),r=h.end}e.remove(r,i.end);break;default:throw new Error("Unexpected node type in destructuring ("+i.type+")")}}var g=function(e){function BlockStatement(){e.apply(this,arguments)}return e&&(BlockStatement.__proto__=e),BlockStatement.prototype=Object.create(e&&e.prototype),BlockStatement.prototype.constructor=BlockStatement,BlockStatement.prototype.createScope=function createScope(){var e=this;this.parentIsFunction=/Function/.test(this.parent.type),this.isFunctionBlock=this.parentIsFunction||"Root"===this.parent.type,this.scope=new Scope({block:!this.isFunctionBlock,parent:this.parent.findScope(!1),declare:function(t){return e.createdDeclarations.push(t)}}),this.parentIsFunction&&this.parent.params.forEach(function(t){e.scope.addDeclaration(t,"param")})},BlockStatement.prototype.initialise=function initialise(e){this.thisAlias=null,this.argumentsAlias=null,this.defaultParameters=[],this.createdDeclarations=[],this.scope||this.createScope(),this.body.forEach(function(t){return t.initialise(e)}),this.scope.consolidate()},BlockStatement.prototype.findLexicalBoundary=function findLexicalBoundary(){return"Program"===this.type?this:/^Function/.test(this.parent.type)?this:this.parent.findLexicalBoundary()},BlockStatement.prototype.findScope=function findScope(e){return e&&!this.isFunctionBlock?this.parent.findScope(e):this.scope},BlockStatement.prototype.getArgumentsAlias=function getArgumentsAlias(){return this.argumentsAlias||(this.argumentsAlias=this.scope.createIdentifier("arguments")),this.argumentsAlias},BlockStatement.prototype.getArgumentsArrayAlias=function getArgumentsArrayAlias(){return this.argumentsArrayAlias||(this.argumentsArrayAlias=this.scope.createIdentifier("argsArray")),this.argumentsArrayAlias},BlockStatement.prototype.getThisAlias=function getThisAlias(){return this.thisAlias||(this.thisAlias=this.scope.createIdentifier("this")),this.thisAlias},BlockStatement.prototype.getIndentation=function getIndentation(){if(void 0===this.indentation){for(var e=this.program.magicString.original,t=this.synthetic||!this.body.length,n=t?this.start:this.body[0].start;n&&"\n"!==e[n];)n-=1;for(this.indentation="";;){var r=e[n+=1];if(" "!==r&&"\t"!==r)break;this.indentation+=r}for(var i=this.program.magicString.getIndentString(),a=this.parent;a;)"constructor"!==a.kind||a.parent.parent.superClass||(this.indentation=this.indentation.replace(i,"")),a=a.parent;t&&(this.indentation+=i)}return this.indentation},BlockStatement.prototype.transpile=function transpile(t,n){var r,i,a=this,o=this.getIndentation(),s=[];if(this.argumentsAlias&&s.push(function(e,n,r){var i=n+"var "+a.argumentsAlias+" = arguments"+r;t.appendLeft(e,i)}),this.thisAlias&&s.push(function(e,n,r){var i=n+"var "+a.thisAlias+" = this"+r;t.appendLeft(e,i)}),this.argumentsArrayAlias&&s.push(function(e,n,r){var i=a.scope.createIdentifier("i"),s=n+"var "+i+" = arguments.length, "+a.argumentsArrayAlias+" = Array("+i+");\n"+o+"while ( "+i+"-- ) "+a.argumentsArrayAlias+"["+i+"] = arguments["+i+"]"+r;t.appendLeft(e,s)}),/Function/.test(this.parent.type)?this.transpileParameters(this.parent.params,t,n,o,s):"CatchClause"===this.parent.type&&this.transpileParameters([this.parent.param],t,n,o,s),n.letConst&&this.isFunctionBlock&&this.transpileBlockScopedIdentifiers(t),e.prototype.transpile.call(this,t,n),this.createdDeclarations.length&&s.push(function(e,n,r){var i=n+"var "+a.createdDeclarations.join(", ")+r;t.appendLeft(e,i)}),this.synthetic)if("ArrowFunctionExpression"===this.parent.type){var u=this.body[0];s.length?(t.appendLeft(this.start,"{").prependRight(this.end,this.parent.getIndentation()+"}"),t.prependRight(u.start,"\n"+o+"return "),t.appendLeft(u.end,";\n")):n.arrow&&(t.prependRight(u.start,"{ return "),t.appendLeft(u.end,"; }"))}else s.length&&t.prependRight(this.start,"{").appendLeft(this.end,"}");i=this.body[0],r=i&&"ExpressionStatement"===i.type&&"Literal"===i.expression.type&&"use strict"===i.expression.value?this.body[0].end:this.synthetic||"Root"===this.parent.type?this.start:this.start+1;var c="\n"+o,l=";";s.forEach(function(e,t){t===s.length-1&&(l=";\n"),e(r,c,l)})},BlockStatement.prototype.transpileParameters=function transpileParameters(e,t,n,r,i){var a=this;e.forEach(function(o){if("AssignmentPattern"===o.type&&"Identifier"===o.left.type)n.defaultParameter&&i.push(function(e,n,r){var i=n+"if ( "+o.left.name+" === void 0 ) "+o.left.name;t.prependRight(o.left.end,i).move(o.left.end,o.right.end,e).appendLeft(o.right.end,r)});else if("RestElement"===o.type)n.spreadRest&&i.push(function(n,i,s){var u=e[e.length-2];if(u)t.remove(u?u.end:o.start,o.end);else{for(var c=o.start,l=o.end;/\s/.test(t.original[c-1]);)c-=1;for(;/\s/.test(t.original[l]);)l+=1;t.remove(c,l)}var p=o.argument.name,f=a.scope.createIdentifier("len"),h=e.length-1;h?t.prependRight(n,i+"var "+p+" = [], "+f+" = arguments.length - "+h+";\n"+r+"while ( "+f+"-- > 0 ) "+p+"[ "+f+" ] = arguments[ "+f+" + "+h+" ]"+s):t.prependRight(n,i+"var "+p+" = [], "+f+" = arguments.length;\n"+r+"while ( "+f+"-- ) "+p+"[ "+f+" ] = arguments[ "+f+" ]"+s)});else if("Identifier"!==o.type&&n.parameterDestructuring){var s=a.scope.createIdentifier("ref");destructure(t,function(e){return a.scope.createIdentifier(e)},function(e){var t=e.name;return a.scope.resolveName(t)},o,s,!1,i),t.prependRight(o.start,s)}})},BlockStatement.prototype.transpileBlockScopedIdentifiers=function transpileBlockScopedIdentifiers(e){var t=this;Object.keys(this.scope.blockScopedDeclarations).forEach(function(n){for(var r=0,i=t.scope.blockScopedDeclarations[n];r0},ArrowFunctionExpression}(p);function checkConst(e,t){var n=t.findDeclaration(e.name);if(n&&"const"===n.kind)throw new d(e.name+" is read-only",e)}var v=function(e){function AssignmentExpression(){e.apply(this,arguments)}return e&&(AssignmentExpression.__proto__=e),AssignmentExpression.prototype=Object.create(e&&e.prototype),AssignmentExpression.prototype.constructor=AssignmentExpression,AssignmentExpression.prototype.initialise=function initialise(t){if("Identifier"===this.left.type){var n=this.findScope(!1).findDeclaration(this.left.name),r=n&&n.node.ancestor(3);r&&"ForStatement"===r.type&&r.body.contains(this)&&(r.reassigned[this.left.name]=!0)}e.prototype.initialise.call(this,t)},AssignmentExpression.prototype.transpile=function transpile(t,n){"Identifier"===this.left.type&&checkConst(this.left,this.findScope(!1)),"**="===this.operator&&n.exponentiation?this.transpileExponentiation(t,n):/Pattern/.test(this.left.type)&&n.destructuring&&this.transpileDestructuring(t,n),e.prototype.transpile.call(this,t,n)},AssignmentExpression.prototype.transpileDestructuring=function transpileDestructuring(e){var t=this,n=this.findScope(!0),r=this.findScope(!1),i=n.createDeclaration("assign");e.appendRight(this.left.end,"("+i),e.appendLeft(this.right.end,", ");var a=[];destructure(e,function(e){return n.createDeclaration(e)},function(e){var t=r.resolveName(e.name);return checkConst(e,r),t},this.left,i,!0,a);var o=", ";a.forEach(function(e,n){n===a.length-1&&(o=""),e(t.end,"",o)}),"ExpressionStatement"===this.unparenthesizedParent().type?e.prependRight(this.end,")"):e.appendRight(this.end,", "+i+")")},AssignmentExpression.prototype.transpileExponentiation=function transpileExponentiation(e){for(var t,n=this.findScope(!1),r=this.left.end;"*"!==e.original[r];)r+=1;e.remove(r,r+2);var i=this.left.unparenthesize();if("Identifier"===i.type)t=n.resolveName(i.name);else if("MemberExpression"===i.type){var a,o,s=!1,u=!1,c=this.findNearest(/(?:Statement|Declaration)$/),l=c.getIndentation();"Identifier"===i.property.type?o=i.computed?n.resolveName(i.property.name):i.property.name:(o=n.createDeclaration("property"),u=!0),"Identifier"===i.object.type?a=n.resolveName(i.object.name):(a=n.createDeclaration("object"),s=!0),i.start===c.start?s&&u?(e.prependRight(c.start,a+" = "),e.overwrite(i.object.end,i.property.start,";\n"+l+o+" = "),e.overwrite(i.property.end,i.end,";\n"+l+a+"["+o+"]")):s?(e.prependRight(c.start,a+" = "),e.appendLeft(i.object.end,";\n"+l),e.appendLeft(i.object.end,a)):u&&(e.prependRight(i.property.start,o+" = "),e.appendLeft(i.property.end,";\n"+l),e.move(i.property.start,i.property.end,this.start),e.appendLeft(i.object.end,"["+o+"]"),e.remove(i.object.end,i.property.start),e.remove(i.property.end,i.end)):(s&&u?(e.prependRight(i.start,"( "+a+" = "),e.overwrite(i.object.end,i.property.start,", "+o+" = "),e.overwrite(i.property.end,i.end,", "+a+"["+o+"]")):s?(e.prependRight(i.start,"( "+a+" = "),e.appendLeft(i.object.end,", "+a)):u&&(e.prependRight(i.property.start,"( "+o+" = "),e.appendLeft(i.property.end,", "),e.move(i.property.start,i.property.end,i.start),e.overwrite(i.object.end,i.property.start,"["+o+"]"),e.remove(i.property.end,i.end)),u&&e.appendLeft(this.end," )")),t=a+(i.computed||u?"["+o+"]":"."+o)}e.prependRight(this.right.start,"Math.pow( "+t+", "),e.appendLeft(this.right.end," )")},AssignmentExpression}(p),_=function(e){function BinaryExpression(){e.apply(this,arguments)}return e&&(BinaryExpression.__proto__=e),BinaryExpression.prototype=Object.create(e&&e.prototype),BinaryExpression.prototype.constructor=BinaryExpression,BinaryExpression.prototype.transpile=function transpile(t,n){"**"===this.operator&&n.exponentiation&&(t.prependRight(this.start,"Math.pow( "),t.overwrite(this.left.end,this.right.start,", "),t.appendLeft(this.end," )")),e.prototype.transpile.call(this,t,n)},BinaryExpression}(p),x=/(?:For(?:In|Of)?|While)Statement/,w=function(e){function BreakStatement(){e.apply(this,arguments)}return e&&(BreakStatement.__proto__=e),BreakStatement.prototype=Object.create(e&&e.prototype),BreakStatement.prototype.constructor=BreakStatement,BreakStatement.prototype.initialise=function initialise(){var e=this.findNearest(x),t=this.findNearest("SwitchCase");e&&(!t||e.depth>t.depth)&&(e.canBreak=!0,this.loop=e)},BreakStatement.prototype.transpile=function transpile(e){if(this.loop&&this.loop.shouldRewriteAsFunction){if(this.label)throw new d("Labels are not currently supported in a loop with locally-scoped variables",this);e.overwrite(this.start,this.start+5,"return 'break'")}},BreakStatement}(p),S=function(e){function CallExpression(){e.apply(this,arguments)}return e&&(CallExpression.__proto__=e),CallExpression.prototype=Object.create(e&&e.prototype),CallExpression.prototype.constructor=CallExpression,CallExpression.prototype.initialise=function initialise(t){if(t.spreadRest&&this.arguments.length>1)for(var n=this.findLexicalBoundary(),r=this.arguments.length;r--;){var i=this.arguments[r];"SpreadElement"===i.type&&isArguments(i.argument)&&(this.argumentsArrayAlias=n.getArgumentsArrayAlias())}e.prototype.initialise.call(this,t)},CallExpression.prototype.transpile=function transpile(t,n){if(n.spreadRest&&this.arguments.length){var r,i=!1,a=this.arguments[0];if(1===this.arguments.length?"SpreadElement"===a.type&&(t.remove(a.start,a.argument.start),i=!0):i=spread(t,this.arguments,a.start,this.argumentsArrayAlias),i){var o=null;if("Super"===this.callee.type?o=this.callee:"MemberExpression"===this.callee.type&&"Super"===this.callee.object.type&&(o=this.callee.object),o||"MemberExpression"!==this.callee.type)r="void 0";else if("Identifier"===this.callee.object.type)r=this.callee.object.name;else{r=this.findScope(!0).createDeclaration("ref");var s=this.callee.object;t.prependRight(s.start,"("+r+" = "),t.appendLeft(s.end,")")}t.appendLeft(this.callee.end,".apply"),o?(o.noCall=!0,this.arguments.length>1&&("SpreadElement"!==a.type&&t.prependRight(a.start,"[ "),t.appendLeft(this.arguments[this.arguments.length-1].end," )"))):1===this.arguments.length?t.prependRight(a.start,r+", "):("SpreadElement"===a.type?t.appendLeft(a.start,r+", "):t.appendLeft(a.start,r+", [ "),t.appendLeft(this.arguments[this.arguments.length-1].end," )"))}}n.trailingFunctionCommas&&this.arguments.length&&removeTrailingComma(t,this.arguments[this.arguments.length-1].end),e.prototype.transpile.call(this,t,n)},CallExpression}(p),k=function(e){function ClassBody(){e.apply(this,arguments)}return e&&(ClassBody.__proto__=e),ClassBody.prototype=Object.create(e&&e.prototype),ClassBody.prototype.constructor=ClassBody,ClassBody.prototype.transpile=function transpile(t,n,r,i){var a=this;if(n.classes){var o=this.parent.name,s=t.getIndentString(),u=this.getIndentation()+(r?s:""),c=u+s,l=findIndex(this.body,function(e){return"constructor"===e.kind}),p=this.body[l],f="",d="";if(this.body.length?(t.remove(this.start,this.body[0].start),t.remove(this.body[this.body.length-1].end,this.end)):t.remove(this.start,this.end),p){p.value.body.isConstructorBody=!0;var m=this.body[l-1],g=this.body[l+1];l>0&&(t.remove(m.end,p.start),t.move(p.start,g?g.start:this.end-1,this.body[0].start)),r||t.appendLeft(p.end,";")}var y=!1!==this.program.options.namedFunctionExpressions,b=y||this.parent.superClass||"ClassDeclaration"!==this.parent.type;if(this.parent.superClass){var v="if ( "+i+" ) "+o+".__proto__ = "+i+";\n"+u+o+".prototype = Object.create( "+i+" && "+i+".prototype );\n"+u+o+".prototype.constructor = "+o+";";if(p)f+="\n\n"+u+v;else f+=(v="function "+o+" () {"+(i?"\n"+c+i+".apply(this, arguments);\n"+u+"}":"}")+(r?"":";")+(this.body.length?"\n\n"+u:"")+v)+"\n\n"+u}else if(!p){var _="function "+(b?o+" ":"")+"() {}";"ClassDeclaration"===this.parent.type&&(_+=";"),this.body.length&&(_+="\n\n"+u),f+=_}var x,w,S=this.findScope(!1),k=[],E=[];if(this.body.forEach(function(e,n){if("constructor"!==e.kind){if(e.static){var r=" "==t.original[e.start+6]?7:6;t.remove(e.start,e.start+r)}var i,s="method"!==e.kind,c=e.key.name;(h[c]||e.value.body.scope.references[c])&&(c=S.createIdentifier(c));var p=!1;if(e.computed||"Literal"!==e.key.type||(p=!0,e.computed=!0),s){if(e.computed)throw new Error("Computed accessor properties are not currently supported");t.remove(e.start,e.key.start),e.static?(~E.indexOf(e.key.name)||E.push(e.key.name),w||(w=S.createIdentifier("staticAccessors")),i=""+w):(~k.indexOf(e.key.name)||k.push(e.key.name),x||(x=S.createIdentifier("prototypeAccessors")),i=""+x)}else i=e.static?""+o:o+".prototype";e.computed||(i+="."),(l>0&&n===l+1||0===n&&l===a.body.length-1)&&(i="\n\n"+u+i);var f=e.key.end;if(e.computed)if(p)t.prependRight(e.key.start,"["),t.appendLeft(e.key.end,"]");else{for(;"]"!==t.original[f];)f+=1;f+=1}var d=e.computed||s||!y?"":c+" ",m=(s?"."+e.kind:"")+" = function"+(e.value.generator?"* ":" ")+d;t.remove(f,e.value.start),t.prependRight(e.value.start,m),t.appendLeft(e.end,";"),e.value.generator&&t.remove(e.start,e.key.start),t.prependRight(e.start,i)}else{var g=b?" "+o:"";t.overwrite(e.key.start,e.key.end,"function"+g)}}),k.length||E.length){var C=[],P=[];k.length&&(C.push("var "+x+" = { "+k.map(function(e){return e+": { configurable: true }"}).join(",")+" };"),P.push("Object.defineProperties( "+o+".prototype, "+x+" );")),E.length&&(C.push("var "+w+" = { "+E.map(function(e){return e+": { configurable: true }"}).join(",")+" };"),P.push("Object.defineProperties( "+o+", "+w+" );")),p&&(f+="\n\n"+u),f+=C.join("\n"+u),p||(f+="\n\n"+u),d+="\n\n"+u+P.join("\n"+u)}p?t.appendLeft(p.end,f):t.prependRight(this.start,f),t.appendLeft(this.end,d)}e.prototype.transpile.call(this,t,n)},ClassBody}(p);function deindent(e,t){var n=e.start,r=e.end,i=t.getIndentString(),a=i.length,o=n-a;e.program.indentExclusions[o]||t.original.slice(o,n)!==i||t.remove(o,n);for(var s,u=new RegExp(i+"\\S","g"),c=t.original.slice(n,r);s=u.exec(c);){var l=n+s.index;e.program.indentExclusions[l]||t.remove(l,l+a)}}var E=function(e){function ClassDeclaration(){e.apply(this,arguments)}return e&&(ClassDeclaration.__proto__=e),ClassDeclaration.prototype=Object.create(e&&e.prototype),ClassDeclaration.prototype.constructor=ClassDeclaration,ClassDeclaration.prototype.initialise=function initialise(t){this.id?(this.name=this.id.name,this.findScope(!0).addDeclaration(this.id,"class")):this.name=this.findScope(!0).createIdentifier("defaultExport"),e.prototype.initialise.call(this,t)},ClassDeclaration.prototype.transpile=function transpile(e,t){if(t.classes){this.superClass||deindent(this.body,e);var n=this.superClass&&(this.superClass.name||"superclass"),r=this.getIndentation(),i=r+e.getIndentString(),a="ExportDefaultDeclaration"===this.parent.type;a&&e.remove(this.parent.start,this.start);var o=this.start;this.id?(e.overwrite(o,this.id.start,"var "),o=this.id.end):e.prependLeft(o,"var "+this.name),this.superClass?this.superClass.end===this.body.start?(e.remove(o,this.superClass.start),e.appendLeft(o," = (function ("+n+") {\n"+i)):(e.overwrite(o,this.superClass.start," = "),e.overwrite(this.superClass.end,this.body.start,"(function ("+n+") {\n"+i)):o===this.body.start?e.appendLeft(o," = "):e.overwrite(o,this.body.start," = "),this.body.transpile(e,t,!!this.superClass,n);var s=a?"\n\n"+r+"export default "+this.name+";":"";this.superClass?(e.appendLeft(this.end,"\n\n"+i+"return "+this.name+";\n"+r+"}("),e.move(this.superClass.start,this.superClass.end,this.end),e.prependRight(this.end,"));"+s)):s&&e.prependRight(this.end,s)}else this.body.transpile(e,t,!1,null)},ClassDeclaration}(p),C=function(e){function ClassExpression(){e.apply(this,arguments)}return e&&(ClassExpression.__proto__=e),ClassExpression.prototype=Object.create(e&&e.prototype),ClassExpression.prototype.constructor=ClassExpression,ClassExpression.prototype.initialise=function initialise(t){this.name=(this.id?this.id.name:"VariableDeclarator"===this.parent.type?this.parent.id.name:"AssignmentExpression"!==this.parent.type?null:"Identifier"===this.parent.left.type?this.parent.left.name:"MemberExpression"===this.parent.left.type?this.parent.left.property.name:null)||this.findScope(!0).createIdentifier("anonymous"),e.prototype.initialise.call(this,t)},ClassExpression.prototype.transpile=function transpile(e,t){if(t.classes){var n=this.superClass&&(this.superClass.name||"superclass"),r=this.getIndentation(),i=r+e.getIndentString();this.superClass?(e.remove(this.start,this.superClass.start),e.remove(this.superClass.end,this.body.start),e.appendLeft(this.start,"(function ("+n+") {\n"+i)):e.overwrite(this.start,this.body.start,"(function () {\n"+i),this.body.transpile(e,t,!0,n);var a="\n\n"+i+"return "+this.name+";\n"+r+"}(";this.superClass?(e.appendLeft(this.end,a),e.move(this.superClass.start,this.superClass.end,this.end),e.prependRight(this.end,"))")):e.appendLeft(this.end,"\n\n"+i+"return "+this.name+";\n"+r+"}())")}else this.body.transpile(e,t,!1)},ClassExpression}(p),P=function(e){function ContinueStatement(){e.apply(this,arguments)}return e&&(ContinueStatement.__proto__=e),ContinueStatement.prototype=Object.create(e&&e.prototype),ContinueStatement.prototype.constructor=ContinueStatement,ContinueStatement.prototype.transpile=function transpile(e){if(this.findNearest(x).shouldRewriteAsFunction){if(this.label)throw new d("Labels are not currently supported in a loop with locally-scoped variables",this);e.overwrite(this.start,this.start+8,"return")}},ContinueStatement}(p),O=function(e){function ExportDefaultDeclaration(){e.apply(this,arguments)}return e&&(ExportDefaultDeclaration.__proto__=e),ExportDefaultDeclaration.prototype=Object.create(e&&e.prototype),ExportDefaultDeclaration.prototype.constructor=ExportDefaultDeclaration,ExportDefaultDeclaration.prototype.initialise=function initialise(t){if(t.moduleExport)throw new d("export is not supported",this);e.prototype.initialise.call(this,t)},ExportDefaultDeclaration}(p),T=function(e){function ExportNamedDeclaration(){e.apply(this,arguments)}return e&&(ExportNamedDeclaration.__proto__=e),ExportNamedDeclaration.prototype=Object.create(e&&e.prototype),ExportNamedDeclaration.prototype.constructor=ExportNamedDeclaration,ExportNamedDeclaration.prototype.initialise=function initialise(t){if(t.moduleExport)throw new d("export is not supported",this);e.prototype.initialise.call(this,t)},ExportNamedDeclaration}(p),R=function(e){function LoopStatement(){e.apply(this,arguments)}return e&&(LoopStatement.__proto__=e),LoopStatement.prototype=Object.create(e&&e.prototype),LoopStatement.prototype.constructor=LoopStatement,LoopStatement.prototype.findScope=function findScope(e){return e||!this.createdScope?this.parent.findScope(e):this.body.scope},LoopStatement.prototype.initialise=function initialise(t){if(this.body.createScope(),this.createdScope=!0,this.reassigned=Object.create(null),this.aliases=Object.create(null),e.prototype.initialise.call(this,t),t.letConst)for(var n=Object.keys(this.body.scope.declarations),r=n.length;r--;){for(var i=n[r],a=this.body.scope.declarations[i],o=a.instances.length;o--;){var s=a.instances[o].findNearest(/Function/);if(s&&s.depth>this.depth){this.shouldRewriteAsFunction=!0;break}}if(this.shouldRewriteAsFunction)break}},LoopStatement.prototype.transpile=function transpile(t,n){var r="ForOfStatement"!=this.type&&("BlockStatement"!==this.body.type||"BlockStatement"===this.body.type&&this.body.synthetic);if(this.shouldRewriteAsFunction){var i=this.getIndentation(),a=i+t.getIndentString(),o=this.args?" "+this.args.join(", ")+" ":"",s=this.params?" "+this.params.join(", ")+" ":"",u=this.findScope(!0),c=u.createIdentifier("loop"),l="var "+c+" = function ("+s+") "+(this.body.synthetic?"{\n"+i+t.getIndentString():""),p=(this.body.synthetic?"\n"+i+"}":"")+";\n\n"+i;if(t.prependRight(this.body.start,l),t.appendLeft(this.body.end,p),t.move(this.start,this.body.start,this.body.end),this.canBreak||this.canReturn){var f=u.createIdentifier("returned"),h="{\n"+a+"var "+f+" = "+c+"("+o+");\n";this.canBreak&&(h+="\n"+a+"if ( "+f+" === 'break' ) break;"),this.canReturn&&(h+="\n"+a+"if ( "+f+" ) return "+f+".v;"),h+="\n"+i+"}",t.prependRight(this.body.end,h)}else{var d=c+"("+o+");";"DoWhileStatement"===this.type?t.overwrite(this.start,this.body.start,"do {\n"+a+d+"\n"+i+"}"):t.prependRight(this.body.end,d)}}else r&&(t.appendLeft(this.body.start,"{ "),t.prependRight(this.body.end," }"));e.prototype.transpile.call(this,t,n)},LoopStatement}(p),j=function(e){function ForStatement(){e.apply(this,arguments)}return e&&(ForStatement.__proto__=e),ForStatement.prototype=Object.create(e&&e.prototype),ForStatement.prototype.constructor=ForStatement,ForStatement.prototype.findScope=function findScope(e){return e||!this.createdScope?this.parent.findScope(e):this.body.scope},ForStatement.prototype.transpile=function transpile(t,n){var r=this,i=this.getIndentation()+t.getIndentString();if(this.shouldRewriteAsFunction){var a="VariableDeclaration"===this.init.type?this.init.declarations.map(function(e){return extractNames(e.id)}):[],o=this.aliases;this.args=a.map(function(e){return e in r.aliases?r.aliases[e].outer:e}),this.params=a.map(function(e){return e in r.aliases?r.aliases[e].inner:e});var s=Object.keys(this.reassigned).map(function(e){return o[e].outer+" = "+o[e].inner+";"});if(s.length)if(this.body.synthetic)t.appendLeft(this.body.body[0].end,"; "+s.join(" "));else{var u=this.body.body[this.body.body.length-1];t.appendLeft(u.end,"\n\n"+i+s.join("\n"+i))}}e.prototype.transpile.call(this,t,n)},ForStatement}(R),A=function(e){function ForInStatement(){e.apply(this,arguments)}return e&&(ForInStatement.__proto__=e),ForInStatement.prototype=Object.create(e&&e.prototype),ForInStatement.prototype.constructor=ForInStatement,ForInStatement.prototype.findScope=function findScope(e){return e||!this.createdScope?this.parent.findScope(e):this.body.scope},ForInStatement.prototype.transpile=function transpile(t,n){var r=this,i="VariableDeclaration"===this.left.type;if(this.shouldRewriteAsFunction){var a=i?this.left.declarations.map(function(e){return extractNames(e.id)}):[];this.args=a.map(function(e){return e in r.aliases?r.aliases[e].outer:e}),this.params=a.map(function(e){return e in r.aliases?r.aliases[e].inner:e})}e.prototype.transpile.call(this,t,n);var o=i?this.left.declarations[0].id:this.left;"Identifier"!==o.type&&this.destructurePattern(t,o,i)},ForInStatement.prototype.destructurePattern=function destructurePattern(e,t,n){var r=this.findScope(!0),i=this.getIndentation()+e.getIndentString(),a=r.createIdentifier("ref"),o=this.body.body.length?this.body.body[0].start:this.body.start+1;e.move(t.start,t.end,o),e.prependRight(t.end,n?a:"var "+a);var s=[];destructure(e,function(e){return r.createIdentifier(e)},function(e){var t=e.name;return r.resolveName(t)},t,a,!1,s);var u=";\n"+i;s.forEach(function(e,t){t===s.length-1&&(u=";\n\n"+i),e(o,"",u)})},ForInStatement}(R),I=function(e){function ForOfStatement(){e.apply(this,arguments)}return e&&(ForOfStatement.__proto__=e),ForOfStatement.prototype=Object.create(e&&e.prototype),ForOfStatement.prototype.constructor=ForOfStatement,ForOfStatement.prototype.initialise=function initialise(t){if(t.forOf&&!t.dangerousForOf)throw new d("for...of statements are not supported. Use `transforms: { forOf: false }` to skip transformation and disable this error, or `transforms: { dangerousForOf: true }` if you know what you're doing",this);e.prototype.initialise.call(this,t)},ForOfStatement.prototype.transpile=function transpile(t,n){if(e.prototype.transpile.call(this,t,n),n.dangerousForOf)if(this.body.body[0]){var r=this.findScope(!0),i=this.getIndentation(),a=i+t.getIndentString(),o=r.createIdentifier("i"),s=r.createIdentifier("list");this.body.synthetic&&(t.prependRight(this.left.start,"{\n"+a),t.appendLeft(this.body.body[0].end,"\n"+i+"}"));var u=this.body.body[0].start;t.remove(this.left.end,this.right.start),t.move(this.left.start,this.left.end,u),t.prependRight(this.right.start,"var "+o+" = 0, "+s+" = "),t.appendLeft(this.right.end,"; "+o+" < "+s+".length; "+o+" += 1");var c="VariableDeclaration"===this.left.type,l=c?this.left.declarations[0].id:this.left;if("Identifier"!==l.type){var p=[],f=r.createIdentifier("ref");destructure(t,function(e){return r.createIdentifier(e)},function(e){var t=e.name;return r.resolveName(t)},l,f,!c,p);var h=";\n"+a;p.forEach(function(e,t){t===p.length-1&&(h=";\n\n"+a),e(u,"",h)}),c?(t.appendLeft(this.left.start+this.left.kind.length+1,f),t.appendLeft(this.left.end," = "+s+"["+o+"];\n"+a)):t.appendLeft(this.left.end,"var "+f+" = "+s+"["+o+"];\n"+a)}else t.appendLeft(this.left.end," = "+s+"["+o+"];\n\n"+a)}else"VariableDeclaration"===this.left.type&&"var"===this.left.kind?(t.remove(this.start,this.left.start),t.appendLeft(this.left.end,";"),t.remove(this.left.end,this.end)):t.remove(this.start,this.end)},ForOfStatement}(R),N=function(e){function FunctionDeclaration(){e.apply(this,arguments)}return e&&(FunctionDeclaration.__proto__=e),FunctionDeclaration.prototype=Object.create(e&&e.prototype),FunctionDeclaration.prototype.constructor=FunctionDeclaration,FunctionDeclaration.prototype.initialise=function initialise(t){if(this.generator&&t.generator)throw new d("Generators are not supported",this);this.body.createScope(),this.id&&this.findScope(!0).addDeclaration(this.id,"function"),e.prototype.initialise.call(this,t)},FunctionDeclaration.prototype.transpile=function transpile(t,n){e.prototype.transpile.call(this,t,n),n.trailingFunctionCommas&&this.params.length&&removeTrailingComma(t,this.params[this.params.length-1].end)},FunctionDeclaration}(p),M=function(e){function FunctionExpression(){e.apply(this,arguments)}return e&&(FunctionExpression.__proto__=e),FunctionExpression.prototype=Object.create(e&&e.prototype),FunctionExpression.prototype.constructor=FunctionExpression,FunctionExpression.prototype.initialise=function initialise(t){if(this.generator&&t.generator)throw new d("Generators are not supported",this);this.body.createScope(),this.id&&this.body.scope.addDeclaration(this.id,"function"),e.prototype.initialise.call(this,t);var n,r=this.parent;if(t.conciseMethodProperty&&"Property"===r.type&&"init"===r.kind&&r.method&&"Identifier"===r.key.type?n=r.key.name:t.classes&&"MethodDefinition"===r.type&&"method"===r.kind&&"Identifier"===r.key.type?n=r.key.name:this.id&&"Identifier"===this.id.type&&(n=this.id.alias||this.id.name),n)for(var i=0,a=this.params;it.depth&&(this.alias=t.getArgumentsAlias()),r&&r.body.contains(this)&&r.depth>t.depth&&(this.alias=t.getArgumentsAlias())}this.findScope(!1).addReference(this)}},Identifier.prototype.transpile=function transpile(e){this.alias&&e.overwrite(this.start,this.end,this.alias,{storeName:!0,contentOnly:!0})},Identifier}(p),D=function(e){function IfStatement(){e.apply(this,arguments)}return e&&(IfStatement.__proto__=e),IfStatement.prototype=Object.create(e&&e.prototype),IfStatement.prototype.constructor=IfStatement,IfStatement.prototype.initialise=function initialise(t){e.prototype.initialise.call(this,t)},IfStatement.prototype.transpile=function transpile(t,n){("BlockStatement"!==this.consequent.type||"BlockStatement"===this.consequent.type&&this.consequent.synthetic)&&(t.appendLeft(this.consequent.start,"{ "),t.prependRight(this.consequent.end," }")),this.alternate&&"IfStatement"!==this.alternate.type&&("BlockStatement"!==this.alternate.type||"BlockStatement"===this.alternate.type&&this.alternate.synthetic)&&(t.appendLeft(this.alternate.start,"{ "),t.prependRight(this.alternate.end," }")),e.prototype.transpile.call(this,t,n)},IfStatement}(p),B=function(e){function ImportDeclaration(){e.apply(this,arguments)}return e&&(ImportDeclaration.__proto__=e),ImportDeclaration.prototype=Object.create(e&&e.prototype),ImportDeclaration.prototype.constructor=ImportDeclaration,ImportDeclaration.prototype.initialise=function initialise(t){if(t.moduleImport)throw new d("import is not supported",this);e.prototype.initialise.call(this,t)},ImportDeclaration}(p),F=function(e){function ImportDefaultSpecifier(){e.apply(this,arguments)}return e&&(ImportDefaultSpecifier.__proto__=e),ImportDefaultSpecifier.prototype=Object.create(e&&e.prototype),ImportDefaultSpecifier.prototype.constructor=ImportDefaultSpecifier,ImportDefaultSpecifier.prototype.initialise=function initialise(t){this.findScope(!0).addDeclaration(this.local,"import"),e.prototype.initialise.call(this,t)},ImportDefaultSpecifier}(p),U=function(e){function ImportSpecifier(){e.apply(this,arguments)}return e&&(ImportSpecifier.__proto__=e),ImportSpecifier.prototype=Object.create(e&&e.prototype),ImportSpecifier.prototype.constructor=ImportSpecifier,ImportSpecifier.prototype.initialise=function initialise(t){this.findScope(!0).addDeclaration(this.local,"import"),e.prototype.initialise.call(this,t)},ImportSpecifier}(p),V=function(e){function JSXAttribute(){e.apply(this,arguments)}return e&&(JSXAttribute.__proto__=e),JSXAttribute.prototype=Object.create(e&&e.prototype),JSXAttribute.prototype.constructor=JSXAttribute,JSXAttribute.prototype.transpile=function transpile(t,n){var r,i=this.name,a=i.start,o=i.name,s=this.value?this.value.start:this.name.end;t.overwrite(a,s,(/-/.test(r=o)?"'"+r+"'":r)+": "+(this.value?"":"true")),e.prototype.transpile.call(this,t,n)},JSXAttribute}(p);var q=function(e){function JSXClosingElement(){e.apply(this,arguments)}return e&&(JSXClosingElement.__proto__=e),JSXClosingElement.prototype=Object.create(e&&e.prototype),JSXClosingElement.prototype.constructor=JSXClosingElement,JSXClosingElement.prototype.transpile=function transpile(e){var t,n=!0,r=this.parent.children[this.parent.children.length-1];(r&&("JSXText"===(t=r).type&&!/\S/.test(t.value)&&/\n/.test(t.value))||this.parent.openingElement.attributes.length)&&(n=!1),e.overwrite(this.start,this.end,n?" )":")")},JSXClosingElement}(p);var W=function(e){function JSXClosingFragment(){e.apply(this,arguments)}return e&&(JSXClosingFragment.__proto__=e),JSXClosingFragment.prototype=Object.create(e&&e.prototype),JSXClosingFragment.prototype.constructor=JSXClosingFragment,JSXClosingFragment.prototype.transpile=function transpile(e){var t,n=!0,r=this.parent.children[this.parent.children.length-1];r&&("JSXText"===(t=r).type&&!/\S/.test(t.value)&&/\n/.test(t.value))&&(n=!1),e.overwrite(this.start,this.end,n?" )":")")},JSXClosingFragment}(p);function normalise(e,t){return e=e.replace(/\u00a0/g," "),t&&/\n/.test(e)&&(e=e.replace(/\s+$/,"")),e=e.replace(/^\n\r?\s+/,"").replace(/\s*\n\r?\s*/gm," "),JSON.stringify(e)}var z=function(e){function JSXElement(){e.apply(this,arguments)}return e&&(JSXElement.__proto__=e),JSXElement.prototype=Object.create(e&&e.prototype),JSXElement.prototype.constructor=JSXElement,JSXElement.prototype.transpile=function transpile(t,n){e.prototype.transpile.call(this,t,n);var r=this.children.filter(function(e){return"JSXText"!==e.type||(/\S/.test(e.raw)||!/\n/.test(e.raw))});if(r.length){var i,a=this.openingElement.end;for(i=0;i0&&(l.start===a?t.prependRight(a,", "):t.overwrite(a,l.start,", ")),c&&"JSXSpreadAttribute"!==l.type){var p=this.attributes[o-1],f=this.attributes[o+1];p&&"JSXSpreadAttribute"!==p.type||t.prependRight(l.start,"{ "),f&&"JSXSpreadAttribute"!==f.type||t.appendLeft(l.end," }")}a=l.end}if(c)if(1===i)u=r?"',":",";else{if(!this.program.options.objectAssign)throw new d("Mixed JSX attributes ending in spread requires specified objectAssign option with 'Object.assign' or polyfill helper.",this);u=r?"', "+this.program.options.objectAssign+"({},":", "+this.program.options.objectAssign+"({},",s=")"}else u=r?"', {":", {",s=" }";t.prependRight(this.name.end,u),s&&t.appendLeft(this.attributes[i-1].end,s)}else t.appendLeft(this.name.end,r?"', null":", null"),a=this.name.end;this.selfClosing?t.overwrite(a,this.end,this.attributes.length?")":" )"):t.remove(a,this.end)},JSXOpeningElement}(p),J=function(e){function JSXOpeningFragment(){e.apply(this,arguments)}return e&&(JSXOpeningFragment.__proto__=e),JSXOpeningFragment.prototype=Object.create(e&&e.prototype),JSXOpeningFragment.prototype.constructor=JSXOpeningFragment,JSXOpeningFragment.prototype.transpile=function transpile(e){e.overwrite(this.start,this.end,this.program.jsx+"( React.Fragment, null")},JSXOpeningFragment}(p),X=function(e){function JSXSpreadAttribute(){e.apply(this,arguments)}return e&&(JSXSpreadAttribute.__proto__=e),JSXSpreadAttribute.prototype=Object.create(e&&e.prototype),JSXSpreadAttribute.prototype.constructor=JSXSpreadAttribute,JSXSpreadAttribute.prototype.transpile=function transpile(t,n){t.remove(this.start,this.argument.start),t.remove(this.argument.end,this.end),e.prototype.transpile.call(this,t,n)},JSXSpreadAttribute}(p),$=createCommonjsModule(function(e,t){ -/*! - * regjsgen 0.3.0 - * Copyright 2014-2016 Benjamin Tan - * Available under MIT license - */ -(function(){var n={function:!0,object:!0},r=n[typeof window]&&window||this,i=n.object&&t,a=n.object&&e&&!e.nodeType&&e,o=i&&a&&"object"==typeof u&&u;!o||o.global!==o&&o.window!==o&&o.self!==o||(r=o);var s=Object.prototype.hasOwnProperty,c=String.fromCharCode,l=Math.floor;function fromCodePoint(){var e,t,n=[],r=-1,i=arguments.length;if(!i)return"";for(var a="";++r1114111||l(o)!=o)throw RangeError("Invalid code point: "+o);o<=65535?n.push(o):(e=55296+((o-=65536)>>10),t=o%1024+56320,n.push(e,t)),(r+1==i||n.length>16384)&&(a+=c.apply(null,n),n.length=0)}return a}var p={};function assertType(e,t){if(-1==t.indexOf("|")){if(e==t)return;throw Error("Invalid node type: "+e+"; expected type: "+t)}if(!(t=s.call(p,t)?p[t]:p[t]=RegExp("^(?:"+t+")$")).test(e))throw Error("Invalid node type: "+e+"; expected types: "+t)}function generate(e){var t=e.type;if(s.call(f,t))return f[t](e);throw Error("Invalid node type: "+t)}function generateAtom(e){return assertType(e.type,"anchor|characterClass|characterClassEscape|dot|group|reference|value"),generate(e)}function generateClassAtom(e){return assertType(e.type,"anchor|characterClassEscape|characterClassRange|dot|value"),generate(e)}function generateTerm(e){return assertType(e.type,"anchor|characterClass|characterClassEscape|empty|group|quantifier|reference|unicodePropertyEscape|value"),generate(e)}var f={alternative:function generateAlternative(e){assertType(e.type,"alternative");for(var t=e.body,n=-1,r=t.length,i="";++n=55296&&r<=56319&&(t=lookahead().charCodeAt(0))>=56320&&t<=57343?createValue("symbol",1024*(r-55296)+t-56320+65536,++s-2,s):createValue("symbol",r,s-1,s)}function createDisjunction(e,t,n){return addRaw({type:"disjunction",body:e,range:[t,n]})}function createGroup(e,t,n,r){return addRaw({type:"group",behavior:e,body:t,range:[n,r]})}function createQuantifier(e,t,n,r){return null==r&&(n=s-1,r=s),addRaw({type:"quantifier",min:e,max:t,greedy:!0,body:null,range:[n,r]})}function createAlternative(e,t,n){return addRaw({type:"alternative",body:e,range:[t,n]})}function createCharacterClass(e,t,n,r){return addRaw({type:"characterClass",body:e,negative:t,range:[n,r]})}function createClassRange(e,t,n,r){return e.codePoint>t.codePoint&&bail("invalid range in character class",e.raw+"-"+t.raw,n,r),addRaw({type:"characterClassRange",min:e,max:t,range:[n,r]})}function flattenBody(e){return"alternative"===e.type?e.body:[e]}function incr(t){t=t||1;var n=e.substring(s,s+t);return s+=t||1,n}function skip(e){match(e)||bail("character",e)}function match(t){if(e.indexOf(t,s)===s)return incr(t.length)}function lookahead(){return e[s]}function current(t){return e.indexOf(t,s)===s}function next(t){return e[s+1]===t}function matchReg(t){var n=e.substring(s).match(t);return n&&(n.range=[],n.range[0]=s,incr(n[0].length),n.range[1]=s),n}function parseDisjunction(){var e=[],t=s;for(e.push(parseAlternative());match("|");)e.push(parseAlternative());return 1===e.length?e[0]:createDisjunction(e,t,s)}function parseAlternative(){for(var e,t=[],n=s;e=parseTerm();)t.push(e);return 1===t.length?t[0]:createAlternative(t,n,s)}function parseTerm(){if(s>=e.length||current("|")||current(")"))return null;var t=match("^")?createAnchor("start",1):match("$")?createAnchor("end",1):match("\\b")?createAnchor("boundary",2):match("\\B")?createAnchor("not-boundary",2):parseGroup("(?=","lookahead","(?!","negativeLookahead");if(t)return t;var n,r=(n=matchReg(/^[^^$\\.*+?(){[|]/))?createCharacter(n):match(".")?addRaw({type:"dot",range:[s-1,s]}):match("\\")?((n=parseAtomEscape())||bail("atomEscape"),n):(n=parseCharacterClass())?n:parseGroup("(?:","ignore","(","normal");r||bail("Expected atom");var i=parseQuantifier()||!1;return i?(i.body=flattenBody(r),updateRawStart(i,r.range[0]),i):r}function parseGroup(e,t,n,r){var o=null,u=s;if(match(e))o=t;else{if(!match(n))return!1;o=r}var c=parseDisjunction();c||bail("Expected disjunction"),skip(")");var l=createGroup(o,flattenBody(c),u,s);return"normal"==o&&a&&i++,l}function parseQuantifier(){var e,t,n,r,i=s;return match("*")?t=createQuantifier(0):match("+")?t=createQuantifier(1):match("?")?t=createQuantifier(0,1):(e=matchReg(/^\{([0-9]+)\}/))?t=createQuantifier(n=parseInt(e[1],10),n,e.range[0],e.range[1]):(e=matchReg(/^\{([0-9]+),\}/))?t=createQuantifier(n=parseInt(e[1],10),void 0,e.range[0],e.range[1]):(e=matchReg(/^\{([0-9]+),([0-9]+)\}/))&&((n=parseInt(e[1],10))>(r=parseInt(e[2],10))&&bail("numbers out of order in {} quantifier","",i,s),t=createQuantifier(n,r,e.range[0],e.range[1])),t&&match("?")&&(t.greedy=!1,t.range[1]+=1),t}function parseUnicodeSurrogatePairEscape(e){var t,n;if(o&&"unicodeEscape"==e.kind&&(t=e.codePoint)>=55296&&t<=56319&¤t("\\")&&next("u")){var r=s;s++;var i=parseClassEscape();"unicodeEscape"==i.kind&&(n=i.codePoint)>=56320&&n<=57343?(e.range[1]=i.range[1],e.codePoint=1024*(t-55296)+n-56320+65536,e.type="value",e.kind="unicodeCodePointEscape",addRaw(e)):s=r}return e}function parseClassEscape(){return parseAtomEscape(!0)}function parseAtomEscape(e){var t,n=s;if(t=parseDecimalEscape())return t;if(e){if(match("b"))return createEscaped("singleEscape",8,"\\b");match("B")&&bail("\\B not possible inside of CharacterClass","",n)}return t=parseCharacterEscape()}function parseDecimalEscape(){var e,t,n;if(e=matchReg(/^(?!0)\d+/)){t=e[0];var a=parseInt(e[0],10);return a<=i?(n=e[0],addRaw({type:"reference",matchIndex:parseInt(n,10),range:[s-1-n.length,s]})):(r.push(a),incr(-e[0].length),(e=matchReg(/^[0-7]{1,3}/))?createEscaped("octal",parseInt(e[0],8),e[0],1):updateRawStart(e=createCharacter(matchReg(/^[89]/)),e.range[0]-1))}return(e=matchReg(/^[0-7]{1,3}/))?(t=e[0],/^0{1,3}$/.test(t)?createEscaped("null",0,"0",t.length+1):createEscaped("octal",parseInt(t,8),t,1)):!!(e=matchReg(/^[dDsSwW]/))&&addRaw({type:"characterClassEscape",value:e[0],range:[s-2,s]})}function parseCharacterEscape(){var e,t,r,i;if(e=matchReg(/^[fnrtv]/)){var a=0;switch(e[0]){case"t":a=9;break;case"n":a=10;break;case"v":a=11;break;case"f":a=12;break;case"r":a=13}return createEscaped("singleEscape",a,"\\"+e[0])}return(e=matchReg(/^c([a-zA-Z])/))?createEscaped("controlLetter",e[1].charCodeAt(0)%32,e[1],2):(e=matchReg(/^x([0-9a-fA-F]{2})/))?createEscaped("hexadecimalEscape",parseInt(e[1],16),e[1],2):(e=matchReg(/^u([0-9a-fA-F]{4})/))?parseUnicodeSurrogatePairEscape(createEscaped("unicodeEscape",parseInt(e[1],16),e[1],2)):o&&(e=matchReg(/^u\{([0-9a-fA-F]+)\}/))?createEscaped("unicodeCodePointEscape",parseInt(e[1],16),e[1],4):n.unicodePropertyEscape&&o&&(e=matchReg(/^([pP])\{([^\}]+)\}/))?addRaw({type:"unicodePropertyEscape",negative:"P"===e[1],value:e[2],range:[e.range[0]-1,e.range[1]],raw:e[0]}):(r=lookahead(),i=new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԯԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠ-ࢲࣤ-ॣ०-९ॱ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఀ-ఃఅ-ఌఎ-ఐఒ-నప-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಁ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲഁ-ഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟ෦-෯ෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤞᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧ᪰-᪽ᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶ᳸᳹ᴀ-᷵᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚝꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞭꞰꞱꟷ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꧠ-ꧾꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭟꭤꭥꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︭︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),36===r||95===r||r>=65&&r<=90||r>=97&&r<=122||r>=48&&r<=57||92===r||r>=128&&i.test(String.fromCharCode(r))?match("‌")?createEscaped("identifier",8204,"‌"):match("‍")?createEscaped("identifier",8205,"‍"):null:createEscaped("identifier",(t=incr()).charCodeAt(0),t,1))}function parseCharacterClass(){var e,t=s;return(e=matchReg(/^\[\^/))?(e=parseClassRanges(),skip("]"),createCharacterClass(e,!0,t,s)):match("[")?(e=parseClassRanges(),skip("]"),createCharacterClass(e,!1,t,s)):null}function parseClassRanges(){var e,t;return current("]")?[]:((t=parseClassAtom())||bail("classAtom"),(e=current("]")?[t]:parseHelperClassRanges(t))||bail("nonEmptyClassRanges"),e)}function parseHelperClassRanges(e){var t,n,r;if(current("-")&&!next("]")){skip("-"),(r=parseClassAtom())||bail("classAtom"),n=s;var i=parseClassRanges();return i||bail("classRanges"),t=e.range[0],"empty"===i.type?[createClassRange(e,r,t,n)]:[createClassRange(e,r,t,n)].concat(i)}return(r=parseNonemptyClassRangesNoDash())||bail("nonEmptyClassRangesNoDash"),[e].concat(r)}function parseNonemptyClassRangesNoDash(){var e=parseClassAtom();return e||bail("classAtom"),current("]")?e:parseHelperClassRanges(e)}function parseClassAtom(){return match("-")?createCharacter("-"):(e=matchReg(/^[^\\\]-]/))?createCharacter(e[0]):match("\\")?((e=parseClassEscape())||bail("classEscape"),parseUnicodeSurrogatePairEscape(e)):void 0;var e}function bail(t,n,r,i){r=null==r?s:r,i=null==i?r:i;var a=Math.max(0,r-10),o=Math.min(i+10,e.length),u=" "+e.substring(a,o),c=" "+new Array(r-a+1).join(" ")+"^";throw SyntaxError(t+" at position "+r+(n?": "+n:"")+"\n"+u+"\n"+c)}n||(n={});var r=[],i=0,a=!0,o=-1!==(t||"").indexOf("u"),s=0;""===(e=String(e))&&(e="(?:)");var u=parseDisjunction();u.range[1]!==e.length&&bail("Could not parse entire input - got stuck","",u.range[1]);for(var c=0;c=n&&tn)return e;if(t<=r&&n>=i)e.splice(a,2);else{if(t>=r&&n=r&&t<=i)e[a+1]=t;else if(n>=r&&n<=i)return e[a]=n+1,e;a+=2}}return e},w=function(e,t){var n,r,i=0,a=null,o=e.length;if(t<0||t>1114111)throw RangeError(s);for(;i=n&&tt)return e.splice(null!=a?a+2:0,0,t,t+1),e;if(t==r)return t+1==e[i+2]?(e.splice(i,4,n,e[i+3]),e):(e[i+1]=t+1,e);a=i,i+=2}return e.push(t,t+1),e},S=function(e,t){for(var n,r,i=0,a=e.slice(),o=t.length;i1114111||n<0||n>1114111)throw RangeError(s);for(var r,i,a=0,u=!1,c=e.length;an)return e;r>=t&&r<=n&&(i>t&&i-1<=n?(e.splice(a,2),a-=2):(e.splice(a-1,2),a-=2))}else{if(r==n+1)return e[a]=t,e;if(r>n)return e.splice(a,0,t,n+1),e;if(t>=r&&t=r&&t=i&&(e[a]=t,e[a+1]=n+1,u=!0)}a+=2}return u||e.push(t,n+1),e},C=function(e,t){var n=0,r=e.length,i=e[n],a=e[r-1];if(r>=2&&(ta))return!1;for(;n=i&&t=40&&e<=43||e>=45&&e<=47||63==e||e>=91&&e<=94||e>=123&&e<=125?"\\"+N(e):e>=32&&e<=126?N(e):e<=255?"\\x"+g(y(e),2):"\\u"+g(y(e),4)},L=function(e){return e<=65535?M(e):"\\u{"+e.toString(16).toUpperCase()+"}"},D=function(e){var t=e.length,n=e.charCodeAt(0);return n>=55296&&n<=56319&&t>1?1024*(n-55296)+e.charCodeAt(1)-56320+65536:n},B=function(e){var t,n,r="",i=0,a=e.length;if(T(e))return M(e[0]);for(;i=55296&&n<=56319&&(a.push(t,55296),r.push(55296,n+1)),n>=56320&&n<=57343&&(a.push(t,55296),r.push(55296,56320),i.push(56320,n+1)),n>57343&&(a.push(t,55296),r.push(55296,56320),i.push(56320,57344),n<=65535?a.push(57344,n+1):(a.push(57344,65536),o.push(65536,n+1)))):t>=55296&&t<=56319?(n>=55296&&n<=56319&&r.push(t,n+1),n>=56320&&n<=57343&&(r.push(t,56320),i.push(56320,n+1)),n>57343&&(r.push(t,56320),i.push(56320,57344),n<=65535?a.push(57344,n+1):(a.push(57344,65536),o.push(65536,n+1)))):t>=56320&&t<=57343?(n>=56320&&n<=57343&&i.push(t,n+1),n>57343&&(i.push(t,57344),n<=65535?a.push(57344,n+1):(a.push(57344,65536),o.push(65536,n+1)))):t>57343&&t<=65535?n<=65535?a.push(t,n+1):(a.push(t,65536),o.push(65536,n+1)):o.push(t,n+1),s+=2;return{loneHighSurrogates:r,loneLowSurrogates:i,bmp:a,astral:o}},V=function(e){for(var t,n,r,i,a,o,s=[],u=[],c=!1,l=-1,p=e.length;++l1&&(e=b.call(arguments)),this instanceof G?(this.data=[],e?this.add(e):this):(new G).add(e)};G.version="1.3.3";var K=G.prototype;!function(e,t){var n;for(n in t)p.call(t,n)&&(e[n]=t[n])}(K,{add:function(e){var t=this;return null==e?t:e instanceof G?(t.data=S(t.data,e.data),t):(arguments.length>1&&(e=b.call(arguments)),d(e)?(f(e,function(e){t.add(e)}),t):(t.data=w(t.data,m(e)?e:D(e)),t))},remove:function(e){var t=this;return null==e?t:e instanceof G?(t.data=k(t.data,e.data),t):(arguments.length>1&&(e=b.call(arguments)),d(e)?(f(e,function(e){t.remove(e)}),t):(t.data=_(t.data,m(e)?e:D(e)),t))},addRange:function(e,t){return this.data=E(this.data,m(e)?e:D(e),m(t)?t:D(t)),this},removeRange:function(e,t){var n=m(e)?e:D(e),r=m(t)?t:D(t);return this.data=x(this.data,n,r),this},intersection:function(e){var t=e instanceof G?R(e.data):e;return this.data=P(this.data,t),this},contains:function(e){return C(this.data,m(e)?e:D(e))},clone:function(){var e=new G;return e.data=this.data.slice(0),e},toString:function(e){var t=H(this.data,!!e&&e.bmpOnly,!!e&&e.hasUnicodeFlag);return t?t.replace(c,"\\0$1"):"[]"},toRegExp:function(e){var t=this.toString(e&&-1!=e.indexOf("u")?{hasUnicodeFlag:!0}:null);return RegExp(t,e||"")},valueOf:function(){return R(this.data)}}),K.toArray=K.valueOf,r&&!r.nodeType?i?i.exports=G:r.regenerate=G:n.regenerate=G}(u)}),Y=new Set(["General_Category","Script","Script_Extensions","Alphabetic","Any","ASCII","ASCII_Hex_Digit","Assigned","Bidi_Control","Bidi_Mirrored","Case_Ignorable","Cased","Changes_When_Casefolded","Changes_When_Casemapped","Changes_When_Lowercased","Changes_When_NFKC_Casefolded","Changes_When_Titlecased","Changes_When_Uppercased","Dash","Default_Ignorable_Code_Point","Deprecated","Diacritic","Emoji","Emoji_Component","Emoji_Modifier","Emoji_Modifier_Base","Emoji_Presentation","Extender","Grapheme_Base","Grapheme_Extend","Hex_Digit","ID_Continue","ID_Start","Ideographic","IDS_Binary_Operator","IDS_Trinary_Operator","Join_Control","Logical_Order_Exception","Lowercase","Math","Noncharacter_Code_Point","Pattern_Syntax","Pattern_White_Space","Quotation_Mark","Radical","Regional_Indicator","Sentence_Terminal","Soft_Dotted","Terminal_Punctuation","Unified_Ideograph","Uppercase","Variation_Selector","White_Space","XID_Continue","XID_Start"]),ee=new Map([["scx","Script_Extensions"],["sc","Script"],["gc","General_Category"],["AHex","ASCII_Hex_Digit"],["Alpha","Alphabetic"],["Bidi_C","Bidi_Control"],["Bidi_M","Bidi_Mirrored"],["Cased","Cased"],["CI","Case_Ignorable"],["CWCF","Changes_When_Casefolded"],["CWCM","Changes_When_Casemapped"],["CWKCF","Changes_When_NFKC_Casefolded"],["CWL","Changes_When_Lowercased"],["CWT","Changes_When_Titlecased"],["CWU","Changes_When_Uppercased"],["Dash","Dash"],["Dep","Deprecated"],["DI","Default_Ignorable_Code_Point"],["Dia","Diacritic"],["Ext","Extender"],["Gr_Base","Grapheme_Base"],["Gr_Ext","Grapheme_Extend"],["Hex","Hex_Digit"],["IDC","ID_Continue"],["Ideo","Ideographic"],["IDS","ID_Start"],["IDSB","IDS_Binary_Operator"],["IDST","IDS_Trinary_Operator"],["Join_C","Join_Control"],["LOE","Logical_Order_Exception"],["Lower","Lowercase"],["Math","Math"],["NChar","Noncharacter_Code_Point"],["Pat_Syn","Pattern_Syntax"],["Pat_WS","Pattern_White_Space"],["QMark","Quotation_Mark"],["Radical","Radical"],["RI","Regional_Indicator"],["SD","Soft_Dotted"],["STerm","Sentence_Terminal"],["Term","Terminal_Punctuation"],["UIdeo","Unified_Ideograph"],["Upper","Uppercase"],["VS","Variation_Selector"],["WSpace","White_Space"],["space","White_Space"],["XIDC","XID_Continue"],["XIDS","XID_Start"]]),te=function(e){if(Y.has(e))return e;if(ee.has(e))return ee.get(e);throw new Error("Unknown property: "+e)},ne=new Map([["General_Category",new Map([["C","Other"],["Cc","Control"],["cntrl","Control"],["Cf","Format"],["Cn","Unassigned"],["Co","Private_Use"],["Cs","Surrogate"],["L","Letter"],["LC","Cased_Letter"],["Ll","Lowercase_Letter"],["Lm","Modifier_Letter"],["Lo","Other_Letter"],["Lt","Titlecase_Letter"],["Lu","Uppercase_Letter"],["M","Mark"],["Combining_Mark","Mark"],["Mc","Spacing_Mark"],["Me","Enclosing_Mark"],["Mn","Nonspacing_Mark"],["N","Number"],["Nd","Decimal_Number"],["digit","Decimal_Number"],["Nl","Letter_Number"],["No","Other_Number"],["P","Punctuation"],["punct","Punctuation"],["Pc","Connector_Punctuation"],["Pd","Dash_Punctuation"],["Pe","Close_Punctuation"],["Pf","Final_Punctuation"],["Pi","Initial_Punctuation"],["Po","Other_Punctuation"],["Ps","Open_Punctuation"],["S","Symbol"],["Sc","Currency_Symbol"],["Sk","Modifier_Symbol"],["Sm","Math_Symbol"],["So","Other_Symbol"],["Z","Separator"],["Zl","Line_Separator"],["Zp","Paragraph_Separator"],["Zs","Space_Separator"],["Other","Other"],["Control","Control"],["Format","Format"],["Unassigned","Unassigned"],["Private_Use","Private_Use"],["Surrogate","Surrogate"],["Letter","Letter"],["Cased_Letter","Cased_Letter"],["Lowercase_Letter","Lowercase_Letter"],["Modifier_Letter","Modifier_Letter"],["Other_Letter","Other_Letter"],["Titlecase_Letter","Titlecase_Letter"],["Uppercase_Letter","Uppercase_Letter"],["Mark","Mark"],["Spacing_Mark","Spacing_Mark"],["Enclosing_Mark","Enclosing_Mark"],["Nonspacing_Mark","Nonspacing_Mark"],["Number","Number"],["Decimal_Number","Decimal_Number"],["Letter_Number","Letter_Number"],["Other_Number","Other_Number"],["Punctuation","Punctuation"],["Connector_Punctuation","Connector_Punctuation"],["Dash_Punctuation","Dash_Punctuation"],["Close_Punctuation","Close_Punctuation"],["Final_Punctuation","Final_Punctuation"],["Initial_Punctuation","Initial_Punctuation"],["Other_Punctuation","Other_Punctuation"],["Open_Punctuation","Open_Punctuation"],["Symbol","Symbol"],["Currency_Symbol","Currency_Symbol"],["Modifier_Symbol","Modifier_Symbol"],["Math_Symbol","Math_Symbol"],["Other_Symbol","Other_Symbol"],["Separator","Separator"],["Line_Separator","Line_Separator"],["Paragraph_Separator","Paragraph_Separator"],["Space_Separator","Space_Separator"]])],["Script",new Map([["Adlm","Adlam"],["Aghb","Caucasian_Albanian"],["Ahom","Ahom"],["Arab","Arabic"],["Armi","Imperial_Aramaic"],["Armn","Armenian"],["Avst","Avestan"],["Bali","Balinese"],["Bamu","Bamum"],["Bass","Bassa_Vah"],["Batk","Batak"],["Beng","Bengali"],["Bhks","Bhaiksuki"],["Bopo","Bopomofo"],["Brah","Brahmi"],["Brai","Braille"],["Bugi","Buginese"],["Buhd","Buhid"],["Cakm","Chakma"],["Cans","Canadian_Aboriginal"],["Cari","Carian"],["Cham","Cham"],["Cher","Cherokee"],["Copt","Coptic"],["Qaac","Coptic"],["Cprt","Cypriot"],["Cyrl","Cyrillic"],["Deva","Devanagari"],["Dsrt","Deseret"],["Dupl","Duployan"],["Egyp","Egyptian_Hieroglyphs"],["Elba","Elbasan"],["Ethi","Ethiopic"],["Geor","Georgian"],["Glag","Glagolitic"],["Gonm","Masaram_Gondi"],["Goth","Gothic"],["Gran","Grantha"],["Grek","Greek"],["Gujr","Gujarati"],["Guru","Gurmukhi"],["Hang","Hangul"],["Hani","Han"],["Hano","Hanunoo"],["Hatr","Hatran"],["Hebr","Hebrew"],["Hira","Hiragana"],["Hluw","Anatolian_Hieroglyphs"],["Hmng","Pahawh_Hmong"],["Hrkt","Katakana_Or_Hiragana"],["Hung","Old_Hungarian"],["Ital","Old_Italic"],["Java","Javanese"],["Kali","Kayah_Li"],["Kana","Katakana"],["Khar","Kharoshthi"],["Khmr","Khmer"],["Khoj","Khojki"],["Knda","Kannada"],["Kthi","Kaithi"],["Lana","Tai_Tham"],["Laoo","Lao"],["Latn","Latin"],["Lepc","Lepcha"],["Limb","Limbu"],["Lina","Linear_A"],["Linb","Linear_B"],["Lisu","Lisu"],["Lyci","Lycian"],["Lydi","Lydian"],["Mahj","Mahajani"],["Mand","Mandaic"],["Mani","Manichaean"],["Marc","Marchen"],["Mend","Mende_Kikakui"],["Merc","Meroitic_Cursive"],["Mero","Meroitic_Hieroglyphs"],["Mlym","Malayalam"],["Modi","Modi"],["Mong","Mongolian"],["Mroo","Mro"],["Mtei","Meetei_Mayek"],["Mult","Multani"],["Mymr","Myanmar"],["Narb","Old_North_Arabian"],["Nbat","Nabataean"],["Newa","Newa"],["Nkoo","Nko"],["Nshu","Nushu"],["Ogam","Ogham"],["Olck","Ol_Chiki"],["Orkh","Old_Turkic"],["Orya","Oriya"],["Osge","Osage"],["Osma","Osmanya"],["Palm","Palmyrene"],["Pauc","Pau_Cin_Hau"],["Perm","Old_Permic"],["Phag","Phags_Pa"],["Phli","Inscriptional_Pahlavi"],["Phlp","Psalter_Pahlavi"],["Phnx","Phoenician"],["Plrd","Miao"],["Prti","Inscriptional_Parthian"],["Rjng","Rejang"],["Runr","Runic"],["Samr","Samaritan"],["Sarb","Old_South_Arabian"],["Saur","Saurashtra"],["Sgnw","SignWriting"],["Shaw","Shavian"],["Shrd","Sharada"],["Sidd","Siddham"],["Sind","Khudawadi"],["Sinh","Sinhala"],["Sora","Sora_Sompeng"],["Soyo","Soyombo"],["Sund","Sundanese"],["Sylo","Syloti_Nagri"],["Syrc","Syriac"],["Tagb","Tagbanwa"],["Takr","Takri"],["Tale","Tai_Le"],["Talu","New_Tai_Lue"],["Taml","Tamil"],["Tang","Tangut"],["Tavt","Tai_Viet"],["Telu","Telugu"],["Tfng","Tifinagh"],["Tglg","Tagalog"],["Thaa","Thaana"],["Thai","Thai"],["Tibt","Tibetan"],["Tirh","Tirhuta"],["Ugar","Ugaritic"],["Vaii","Vai"],["Wara","Warang_Citi"],["Xpeo","Old_Persian"],["Xsux","Cuneiform"],["Yiii","Yi"],["Zanb","Zanabazar_Square"],["Zinh","Inherited"],["Qaai","Inherited"],["Zyyy","Common"],["Zzzz","Unknown"],["Adlam","Adlam"],["Caucasian_Albanian","Caucasian_Albanian"],["Arabic","Arabic"],["Imperial_Aramaic","Imperial_Aramaic"],["Armenian","Armenian"],["Avestan","Avestan"],["Balinese","Balinese"],["Bamum","Bamum"],["Bassa_Vah","Bassa_Vah"],["Batak","Batak"],["Bengali","Bengali"],["Bhaiksuki","Bhaiksuki"],["Bopomofo","Bopomofo"],["Brahmi","Brahmi"],["Braille","Braille"],["Buginese","Buginese"],["Buhid","Buhid"],["Chakma","Chakma"],["Canadian_Aboriginal","Canadian_Aboriginal"],["Carian","Carian"],["Cherokee","Cherokee"],["Coptic","Coptic"],["Cypriot","Cypriot"],["Cyrillic","Cyrillic"],["Devanagari","Devanagari"],["Deseret","Deseret"],["Duployan","Duployan"],["Egyptian_Hieroglyphs","Egyptian_Hieroglyphs"],["Elbasan","Elbasan"],["Ethiopic","Ethiopic"],["Georgian","Georgian"],["Glagolitic","Glagolitic"],["Masaram_Gondi","Masaram_Gondi"],["Gothic","Gothic"],["Grantha","Grantha"],["Greek","Greek"],["Gujarati","Gujarati"],["Gurmukhi","Gurmukhi"],["Hangul","Hangul"],["Han","Han"],["Hanunoo","Hanunoo"],["Hatran","Hatran"],["Hebrew","Hebrew"],["Hiragana","Hiragana"],["Anatolian_Hieroglyphs","Anatolian_Hieroglyphs"],["Pahawh_Hmong","Pahawh_Hmong"],["Katakana_Or_Hiragana","Katakana_Or_Hiragana"],["Old_Hungarian","Old_Hungarian"],["Old_Italic","Old_Italic"],["Javanese","Javanese"],["Kayah_Li","Kayah_Li"],["Katakana","Katakana"],["Kharoshthi","Kharoshthi"],["Khmer","Khmer"],["Khojki","Khojki"],["Kannada","Kannada"],["Kaithi","Kaithi"],["Tai_Tham","Tai_Tham"],["Lao","Lao"],["Latin","Latin"],["Lepcha","Lepcha"],["Limbu","Limbu"],["Linear_A","Linear_A"],["Linear_B","Linear_B"],["Lycian","Lycian"],["Lydian","Lydian"],["Mahajani","Mahajani"],["Mandaic","Mandaic"],["Manichaean","Manichaean"],["Marchen","Marchen"],["Mende_Kikakui","Mende_Kikakui"],["Meroitic_Cursive","Meroitic_Cursive"],["Meroitic_Hieroglyphs","Meroitic_Hieroglyphs"],["Malayalam","Malayalam"],["Mongolian","Mongolian"],["Mro","Mro"],["Meetei_Mayek","Meetei_Mayek"],["Multani","Multani"],["Myanmar","Myanmar"],["Old_North_Arabian","Old_North_Arabian"],["Nabataean","Nabataean"],["Nko","Nko"],["Nushu","Nushu"],["Ogham","Ogham"],["Ol_Chiki","Ol_Chiki"],["Old_Turkic","Old_Turkic"],["Oriya","Oriya"],["Osage","Osage"],["Osmanya","Osmanya"],["Palmyrene","Palmyrene"],["Pau_Cin_Hau","Pau_Cin_Hau"],["Old_Permic","Old_Permic"],["Phags_Pa","Phags_Pa"],["Inscriptional_Pahlavi","Inscriptional_Pahlavi"],["Psalter_Pahlavi","Psalter_Pahlavi"],["Phoenician","Phoenician"],["Miao","Miao"],["Inscriptional_Parthian","Inscriptional_Parthian"],["Rejang","Rejang"],["Runic","Runic"],["Samaritan","Samaritan"],["Old_South_Arabian","Old_South_Arabian"],["Saurashtra","Saurashtra"],["SignWriting","SignWriting"],["Shavian","Shavian"],["Sharada","Sharada"],["Siddham","Siddham"],["Khudawadi","Khudawadi"],["Sinhala","Sinhala"],["Sora_Sompeng","Sora_Sompeng"],["Soyombo","Soyombo"],["Sundanese","Sundanese"],["Syloti_Nagri","Syloti_Nagri"],["Syriac","Syriac"],["Tagbanwa","Tagbanwa"],["Takri","Takri"],["Tai_Le","Tai_Le"],["New_Tai_Lue","New_Tai_Lue"],["Tamil","Tamil"],["Tangut","Tangut"],["Tai_Viet","Tai_Viet"],["Telugu","Telugu"],["Tifinagh","Tifinagh"],["Tagalog","Tagalog"],["Thaana","Thaana"],["Tibetan","Tibetan"],["Tirhuta","Tirhuta"],["Ugaritic","Ugaritic"],["Vai","Vai"],["Warang_Citi","Warang_Citi"],["Old_Persian","Old_Persian"],["Cuneiform","Cuneiform"],["Yi","Yi"],["Zanabazar_Square","Zanabazar_Square"],["Inherited","Inherited"],["Common","Common"],["Unknown","Unknown"]])],["Script_Extensions",new Map([["Adlm","Adlam"],["Aghb","Caucasian_Albanian"],["Ahom","Ahom"],["Arab","Arabic"],["Armi","Imperial_Aramaic"],["Armn","Armenian"],["Avst","Avestan"],["Bali","Balinese"],["Bamu","Bamum"],["Bass","Bassa_Vah"],["Batk","Batak"],["Beng","Bengali"],["Bhks","Bhaiksuki"],["Bopo","Bopomofo"],["Brah","Brahmi"],["Brai","Braille"],["Bugi","Buginese"],["Buhd","Buhid"],["Cakm","Chakma"],["Cans","Canadian_Aboriginal"],["Cari","Carian"],["Cham","Cham"],["Cher","Cherokee"],["Copt","Coptic"],["Qaac","Coptic"],["Cprt","Cypriot"],["Cyrl","Cyrillic"],["Deva","Devanagari"],["Dsrt","Deseret"],["Dupl","Duployan"],["Egyp","Egyptian_Hieroglyphs"],["Elba","Elbasan"],["Ethi","Ethiopic"],["Geor","Georgian"],["Glag","Glagolitic"],["Gonm","Masaram_Gondi"],["Goth","Gothic"],["Gran","Grantha"],["Grek","Greek"],["Gujr","Gujarati"],["Guru","Gurmukhi"],["Hang","Hangul"],["Hani","Han"],["Hano","Hanunoo"],["Hatr","Hatran"],["Hebr","Hebrew"],["Hira","Hiragana"],["Hluw","Anatolian_Hieroglyphs"],["Hmng","Pahawh_Hmong"],["Hrkt","Katakana_Or_Hiragana"],["Hung","Old_Hungarian"],["Ital","Old_Italic"],["Java","Javanese"],["Kali","Kayah_Li"],["Kana","Katakana"],["Khar","Kharoshthi"],["Khmr","Khmer"],["Khoj","Khojki"],["Knda","Kannada"],["Kthi","Kaithi"],["Lana","Tai_Tham"],["Laoo","Lao"],["Latn","Latin"],["Lepc","Lepcha"],["Limb","Limbu"],["Lina","Linear_A"],["Linb","Linear_B"],["Lisu","Lisu"],["Lyci","Lycian"],["Lydi","Lydian"],["Mahj","Mahajani"],["Mand","Mandaic"],["Mani","Manichaean"],["Marc","Marchen"],["Mend","Mende_Kikakui"],["Merc","Meroitic_Cursive"],["Mero","Meroitic_Hieroglyphs"],["Mlym","Malayalam"],["Modi","Modi"],["Mong","Mongolian"],["Mroo","Mro"],["Mtei","Meetei_Mayek"],["Mult","Multani"],["Mymr","Myanmar"],["Narb","Old_North_Arabian"],["Nbat","Nabataean"],["Newa","Newa"],["Nkoo","Nko"],["Nshu","Nushu"],["Ogam","Ogham"],["Olck","Ol_Chiki"],["Orkh","Old_Turkic"],["Orya","Oriya"],["Osge","Osage"],["Osma","Osmanya"],["Palm","Palmyrene"],["Pauc","Pau_Cin_Hau"],["Perm","Old_Permic"],["Phag","Phags_Pa"],["Phli","Inscriptional_Pahlavi"],["Phlp","Psalter_Pahlavi"],["Phnx","Phoenician"],["Plrd","Miao"],["Prti","Inscriptional_Parthian"],["Rjng","Rejang"],["Runr","Runic"],["Samr","Samaritan"],["Sarb","Old_South_Arabian"],["Saur","Saurashtra"],["Sgnw","SignWriting"],["Shaw","Shavian"],["Shrd","Sharada"],["Sidd","Siddham"],["Sind","Khudawadi"],["Sinh","Sinhala"],["Sora","Sora_Sompeng"],["Soyo","Soyombo"],["Sund","Sundanese"],["Sylo","Syloti_Nagri"],["Syrc","Syriac"],["Tagb","Tagbanwa"],["Takr","Takri"],["Tale","Tai_Le"],["Talu","New_Tai_Lue"],["Taml","Tamil"],["Tang","Tangut"],["Tavt","Tai_Viet"],["Telu","Telugu"],["Tfng","Tifinagh"],["Tglg","Tagalog"],["Thaa","Thaana"],["Thai","Thai"],["Tibt","Tibetan"],["Tirh","Tirhuta"],["Ugar","Ugaritic"],["Vaii","Vai"],["Wara","Warang_Citi"],["Xpeo","Old_Persian"],["Xsux","Cuneiform"],["Yiii","Yi"],["Zanb","Zanabazar_Square"],["Zinh","Inherited"],["Qaai","Inherited"],["Zyyy","Common"],["Zzzz","Unknown"],["Adlam","Adlam"],["Caucasian_Albanian","Caucasian_Albanian"],["Arabic","Arabic"],["Imperial_Aramaic","Imperial_Aramaic"],["Armenian","Armenian"],["Avestan","Avestan"],["Balinese","Balinese"],["Bamum","Bamum"],["Bassa_Vah","Bassa_Vah"],["Batak","Batak"],["Bengali","Bengali"],["Bhaiksuki","Bhaiksuki"],["Bopomofo","Bopomofo"],["Brahmi","Brahmi"],["Braille","Braille"],["Buginese","Buginese"],["Buhid","Buhid"],["Chakma","Chakma"],["Canadian_Aboriginal","Canadian_Aboriginal"],["Carian","Carian"],["Cherokee","Cherokee"],["Coptic","Coptic"],["Cypriot","Cypriot"],["Cyrillic","Cyrillic"],["Devanagari","Devanagari"],["Deseret","Deseret"],["Duployan","Duployan"],["Egyptian_Hieroglyphs","Egyptian_Hieroglyphs"],["Elbasan","Elbasan"],["Ethiopic","Ethiopic"],["Georgian","Georgian"],["Glagolitic","Glagolitic"],["Masaram_Gondi","Masaram_Gondi"],["Gothic","Gothic"],["Grantha","Grantha"],["Greek","Greek"],["Gujarati","Gujarati"],["Gurmukhi","Gurmukhi"],["Hangul","Hangul"],["Han","Han"],["Hanunoo","Hanunoo"],["Hatran","Hatran"],["Hebrew","Hebrew"],["Hiragana","Hiragana"],["Anatolian_Hieroglyphs","Anatolian_Hieroglyphs"],["Pahawh_Hmong","Pahawh_Hmong"],["Katakana_Or_Hiragana","Katakana_Or_Hiragana"],["Old_Hungarian","Old_Hungarian"],["Old_Italic","Old_Italic"],["Javanese","Javanese"],["Kayah_Li","Kayah_Li"],["Katakana","Katakana"],["Kharoshthi","Kharoshthi"],["Khmer","Khmer"],["Khojki","Khojki"],["Kannada","Kannada"],["Kaithi","Kaithi"],["Tai_Tham","Tai_Tham"],["Lao","Lao"],["Latin","Latin"],["Lepcha","Lepcha"],["Limbu","Limbu"],["Linear_A","Linear_A"],["Linear_B","Linear_B"],["Lycian","Lycian"],["Lydian","Lydian"],["Mahajani","Mahajani"],["Mandaic","Mandaic"],["Manichaean","Manichaean"],["Marchen","Marchen"],["Mende_Kikakui","Mende_Kikakui"],["Meroitic_Cursive","Meroitic_Cursive"],["Meroitic_Hieroglyphs","Meroitic_Hieroglyphs"],["Malayalam","Malayalam"],["Mongolian","Mongolian"],["Mro","Mro"],["Meetei_Mayek","Meetei_Mayek"],["Multani","Multani"],["Myanmar","Myanmar"],["Old_North_Arabian","Old_North_Arabian"],["Nabataean","Nabataean"],["Nko","Nko"],["Nushu","Nushu"],["Ogham","Ogham"],["Ol_Chiki","Ol_Chiki"],["Old_Turkic","Old_Turkic"],["Oriya","Oriya"],["Osage","Osage"],["Osmanya","Osmanya"],["Palmyrene","Palmyrene"],["Pau_Cin_Hau","Pau_Cin_Hau"],["Old_Permic","Old_Permic"],["Phags_Pa","Phags_Pa"],["Inscriptional_Pahlavi","Inscriptional_Pahlavi"],["Psalter_Pahlavi","Psalter_Pahlavi"],["Phoenician","Phoenician"],["Miao","Miao"],["Inscriptional_Parthian","Inscriptional_Parthian"],["Rejang","Rejang"],["Runic","Runic"],["Samaritan","Samaritan"],["Old_South_Arabian","Old_South_Arabian"],["Saurashtra","Saurashtra"],["SignWriting","SignWriting"],["Shavian","Shavian"],["Sharada","Sharada"],["Siddham","Siddham"],["Khudawadi","Khudawadi"],["Sinhala","Sinhala"],["Sora_Sompeng","Sora_Sompeng"],["Soyombo","Soyombo"],["Sundanese","Sundanese"],["Syloti_Nagri","Syloti_Nagri"],["Syriac","Syriac"],["Tagbanwa","Tagbanwa"],["Takri","Takri"],["Tai_Le","Tai_Le"],["New_Tai_Lue","New_Tai_Lue"],["Tamil","Tamil"],["Tangut","Tangut"],["Tai_Viet","Tai_Viet"],["Telugu","Telugu"],["Tifinagh","Tifinagh"],["Tagalog","Tagalog"],["Thaana","Thaana"],["Tibetan","Tibetan"],["Tirhuta","Tirhuta"],["Ugaritic","Ugaritic"],["Vai","Vai"],["Warang_Citi","Warang_Citi"],["Old_Persian","Old_Persian"],["Cuneiform","Cuneiform"],["Yi","Yi"],["Zanabazar_Square","Zanabazar_Square"],["Inherited","Inherited"],["Common","Common"],["Unknown","Unknown"]])]]),re=function(e,t){var n=ne.get(e);if(!n)throw new Error("Unknown property `"+e+"`.");var r=n.get(t);if(r)return r;throw new Error("Unknown value `"+t+"` for property `"+e+"`.")},ie=new Map([[75,8490],[83,383],[107,8490],[115,383],[181,924],[197,8491],[223,7838],[229,8491],[383,83],[452,453],[453,452],[455,456],[456,455],[458,459],[459,458],[497,498],[498,497],[618,42926],[669,42930],[837,8126],[914,976],[917,1013],[920,1012],[921,8126],[922,1008],[924,181],[928,982],[929,1009],[931,962],[934,981],[937,8486],[952,1012],[962,931],[969,8486],[976,914],[977,1012],[981,934],[982,928],[1008,922],[1009,929],[1012,[920,977,952]],[1013,917],[1042,7296],[1044,7297],[1054,7298],[1057,7299],[1058,7301],[1066,7302],[1074,7296],[1076,7297],[1086,7298],[1089,7299],[1090,[7300,7301]],[1098,7302],[1122,7303],[1123,7303],[5024,43888],[5025,43889],[5026,43890],[5027,43891],[5028,43892],[5029,43893],[5030,43894],[5031,43895],[5032,43896],[5033,43897],[5034,43898],[5035,43899],[5036,43900],[5037,43901],[5038,43902],[5039,43903],[5040,43904],[5041,43905],[5042,43906],[5043,43907],[5044,43908],[5045,43909],[5046,43910],[5047,43911],[5048,43912],[5049,43913],[5050,43914],[5051,43915],[5052,43916],[5053,43917],[5054,43918],[5055,43919],[5056,43920],[5057,43921],[5058,43922],[5059,43923],[5060,43924],[5061,43925],[5062,43926],[5063,43927],[5064,43928],[5065,43929],[5066,43930],[5067,43931],[5068,43932],[5069,43933],[5070,43934],[5071,43935],[5072,43936],[5073,43937],[5074,43938],[5075,43939],[5076,43940],[5077,43941],[5078,43942],[5079,43943],[5080,43944],[5081,43945],[5082,43946],[5083,43947],[5084,43948],[5085,43949],[5086,43950],[5087,43951],[5088,43952],[5089,43953],[5090,43954],[5091,43955],[5092,43956],[5093,43957],[5094,43958],[5095,43959],[5096,43960],[5097,43961],[5098,43962],[5099,43963],[5100,43964],[5101,43965],[5102,43966],[5103,43967],[5104,5112],[5105,5113],[5106,5114],[5107,5115],[5108,5116],[5109,5117],[5112,5104],[5113,5105],[5114,5106],[5115,5107],[5116,5108],[5117,5109],[7296,[1042,1074]],[7297,[1044,1076]],[7298,[1054,1086]],[7299,[1057,1089]],[7300,[7301,1090]],[7301,[1058,7300,1090]],[7302,[1066,1098]],[7303,[1122,1123]],[7304,[42570,42571]],[7776,7835],[7835,7776],[7838,223],[8064,8072],[8065,8073],[8066,8074],[8067,8075],[8068,8076],[8069,8077],[8070,8078],[8071,8079],[8072,8064],[8073,8065],[8074,8066],[8075,8067],[8076,8068],[8077,8069],[8078,8070],[8079,8071],[8080,8088],[8081,8089],[8082,8090],[8083,8091],[8084,8092],[8085,8093],[8086,8094],[8087,8095],[8088,8080],[8089,8081],[8090,8082],[8091,8083],[8092,8084],[8093,8085],[8094,8086],[8095,8087],[8096,8104],[8097,8105],[8098,8106],[8099,8107],[8100,8108],[8101,8109],[8102,8110],[8103,8111],[8104,8096],[8105,8097],[8106,8098],[8107,8099],[8108,8100],[8109,8101],[8110,8102],[8111,8103],[8115,8124],[8124,8115],[8126,[837,921]],[8131,8140],[8140,8131],[8179,8188],[8188,8179],[8486,[937,969]],[8490,75],[8491,[197,229]],[42570,7304],[42571,7304],[42926,618],[42930,669],[42931,43859],[42932,42933],[42933,42932],[42934,42935],[42935,42934],[43859,42931],[43888,5024],[43889,5025],[43890,5026],[43891,5027],[43892,5028],[43893,5029],[43894,5030],[43895,5031],[43896,5032],[43897,5033],[43898,5034],[43899,5035],[43900,5036],[43901,5037],[43902,5038],[43903,5039],[43904,5040],[43905,5041],[43906,5042],[43907,5043],[43908,5044],[43909,5045],[43910,5046],[43911,5047],[43912,5048],[43913,5049],[43914,5050],[43915,5051],[43916,5052],[43917,5053],[43918,5054],[43919,5055],[43920,5056],[43921,5057],[43922,5058],[43923,5059],[43924,5060],[43925,5061],[43926,5062],[43927,5063],[43928,5064],[43929,5065],[43930,5066],[43931,5067],[43932,5068],[43933,5069],[43934,5070],[43935,5071],[43936,5072],[43937,5073],[43938,5074],[43939,5075],[43940,5076],[43941,5077],[43942,5078],[43943,5079],[43944,5080],[43945,5081],[43946,5082],[43947,5083],[43948,5084],[43949,5085],[43950,5086],[43951,5087],[43952,5088],[43953,5089],[43954,5090],[43955,5091],[43956,5092],[43957,5093],[43958,5094],[43959,5095],[43960,5096],[43961,5097],[43962,5098],[43963,5099],[43964,5100],[43965,5101],[43966,5102],[43967,5103],[66560,66600],[66561,66601],[66562,66602],[66563,66603],[66564,66604],[66565,66605],[66566,66606],[66567,66607],[66568,66608],[66569,66609],[66570,66610],[66571,66611],[66572,66612],[66573,66613],[66574,66614],[66575,66615],[66576,66616],[66577,66617],[66578,66618],[66579,66619],[66580,66620],[66581,66621],[66582,66622],[66583,66623],[66584,66624],[66585,66625],[66586,66626],[66587,66627],[66588,66628],[66589,66629],[66590,66630],[66591,66631],[66592,66632],[66593,66633],[66594,66634],[66595,66635],[66596,66636],[66597,66637],[66598,66638],[66599,66639],[66600,66560],[66601,66561],[66602,66562],[66603,66563],[66604,66564],[66605,66565],[66606,66566],[66607,66567],[66608,66568],[66609,66569],[66610,66570],[66611,66571],[66612,66572],[66613,66573],[66614,66574],[66615,66575],[66616,66576],[66617,66577],[66618,66578],[66619,66579],[66620,66580],[66621,66581],[66622,66582],[66623,66583],[66624,66584],[66625,66585],[66626,66586],[66627,66587],[66628,66588],[66629,66589],[66630,66590],[66631,66591],[66632,66592],[66633,66593],[66634,66594],[66635,66595],[66636,66596],[66637,66597],[66638,66598],[66639,66599],[66736,66776],[66737,66777],[66738,66778],[66739,66779],[66740,66780],[66741,66781],[66742,66782],[66743,66783],[66744,66784],[66745,66785],[66746,66786],[66747,66787],[66748,66788],[66749,66789],[66750,66790],[66751,66791],[66752,66792],[66753,66793],[66754,66794],[66755,66795],[66756,66796],[66757,66797],[66758,66798],[66759,66799],[66760,66800],[66761,66801],[66762,66802],[66763,66803],[66764,66804],[66765,66805],[66766,66806],[66767,66807],[66768,66808],[66769,66809],[66770,66810],[66771,66811],[66776,66736],[66777,66737],[66778,66738],[66779,66739],[66780,66740],[66781,66741],[66782,66742],[66783,66743],[66784,66744],[66785,66745],[66786,66746],[66787,66747],[66788,66748],[66789,66749],[66790,66750],[66791,66751],[66792,66752],[66793,66753],[66794,66754],[66795,66755],[66796,66756],[66797,66757],[66798,66758],[66799,66759],[66800,66760],[66801,66761],[66802,66762],[66803,66763],[66804,66764],[66805,66765],[66806,66766],[66807,66767],[66808,66768],[66809,66769],[66810,66770],[66811,66771],[68736,68800],[68737,68801],[68738,68802],[68739,68803],[68740,68804],[68741,68805],[68742,68806],[68743,68807],[68744,68808],[68745,68809],[68746,68810],[68747,68811],[68748,68812],[68749,68813],[68750,68814],[68751,68815],[68752,68816],[68753,68817],[68754,68818],[68755,68819],[68756,68820],[68757,68821],[68758,68822],[68759,68823],[68760,68824],[68761,68825],[68762,68826],[68763,68827],[68764,68828],[68765,68829],[68766,68830],[68767,68831],[68768,68832],[68769,68833],[68770,68834],[68771,68835],[68772,68836],[68773,68837],[68774,68838],[68775,68839],[68776,68840],[68777,68841],[68778,68842],[68779,68843],[68780,68844],[68781,68845],[68782,68846],[68783,68847],[68784,68848],[68785,68849],[68786,68850],[68800,68736],[68801,68737],[68802,68738],[68803,68739],[68804,68740],[68805,68741],[68806,68742],[68807,68743],[68808,68744],[68809,68745],[68810,68746],[68811,68747],[68812,68748],[68813,68749],[68814,68750],[68815,68751],[68816,68752],[68817,68753],[68818,68754],[68819,68755],[68820,68756],[68821,68757],[68822,68758],[68823,68759],[68824,68760],[68825,68761],[68826,68762],[68827,68763],[68828,68764],[68829,68765],[68830,68766],[68831,68767],[68832,68768],[68833,68769],[68834,68770],[68835,68771],[68836,68772],[68837,68773],[68838,68774],[68839,68775],[68840,68776],[68841,68777],[68842,68778],[68843,68779],[68844,68780],[68845,68781],[68846,68782],[68847,68783],[68848,68784],[68849,68785],[68850,68786],[71840,71872],[71841,71873],[71842,71874],[71843,71875],[71844,71876],[71845,71877],[71846,71878],[71847,71879],[71848,71880],[71849,71881],[71850,71882],[71851,71883],[71852,71884],[71853,71885],[71854,71886],[71855,71887],[71856,71888],[71857,71889],[71858,71890],[71859,71891],[71860,71892],[71861,71893],[71862,71894],[71863,71895],[71864,71896],[71865,71897],[71866,71898],[71867,71899],[71868,71900],[71869,71901],[71870,71902],[71871,71903],[71872,71840],[71873,71841],[71874,71842],[71875,71843],[71876,71844],[71877,71845],[71878,71846],[71879,71847],[71880,71848],[71881,71849],[71882,71850],[71883,71851],[71884,71852],[71885,71853],[71886,71854],[71887,71855],[71888,71856],[71889,71857],[71890,71858],[71891,71859],[71892,71860],[71893,71861],[71894,71862],[71895,71863],[71896,71864],[71897,71865],[71898,71866],[71899,71867],[71900,71868],[71901,71869],[71902,71870],[71903,71871],[125184,125218],[125185,125219],[125186,125220],[125187,125221],[125188,125222],[125189,125223],[125190,125224],[125191,125225],[125192,125226],[125193,125227],[125194,125228],[125195,125229],[125196,125230],[125197,125231],[125198,125232],[125199,125233],[125200,125234],[125201,125235],[125202,125236],[125203,125237],[125204,125238],[125205,125239],[125206,125240],[125207,125241],[125208,125242],[125209,125243],[125210,125244],[125211,125245],[125212,125246],[125213,125247],[125214,125248],[125215,125249],[125216,125250],[125217,125251],[125218,125184],[125219,125185],[125220,125186],[125221,125187],[125222,125188],[125223,125189],[125224,125190],[125225,125191],[125226,125192],[125227,125193],[125228,125194],[125229,125195],[125230,125196],[125231,125197],[125232,125198],[125233,125199],[125234,125200],[125235,125201],[125236,125202],[125237,125203],[125238,125204],[125239,125205],[125240,125206],[125241,125207],[125242,125208],[125243,125209],[125244,125210],[125245,125211],[125246,125212],[125247,125213],[125248,125214],[125249,125215],[125250,125216],[125251,125217]]),ae={REGULAR:new Map([["d",Q().addRange(48,57)],["D",Q().addRange(0,47).addRange(58,65535)],["s",Q(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",Q().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,65535)],["w",Q(95).addRange(48,57).addRange(65,90).addRange(97,122)],["W",Q(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,65535)]]),UNICODE:new Map([["d",Q().addRange(48,57)],["D",Q().addRange(0,47).addRange(58,1114111)],["s",Q(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",Q().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111)],["w",Q(95).addRange(48,57).addRange(65,90).addRange(97,122)],["W",Q(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)]]),UNICODE_IGNORE_CASE:new Map([["d",Q().addRange(48,57)],["D",Q().addRange(0,47).addRange(58,1114111)],["s",Q(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",Q().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111)],["w",Q(95,383,8490).addRange(48,57).addRange(65,90).addRange(97,122)],["W",Q(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,382).addRange(384,8489).addRange(8491,1114111)]])},oe=createCommonjsModule(function(e){var t=$.generate,n=Z.parse,r=Q().addRange(0,1114111),i=Q().addRange(0,65535),a=r.clone().remove(10,13,8232,8233),o=a.clone().intersection(i),s=function(e,t,n){return t?n?ae.UNICODE_IGNORE_CASE.get(e):ae.UNICODE.get(e):ae.REGULAR.get(e)},u=function(e,t){try{return commonjsRequire()}catch(n){throw new Error("Failed to recognize value `"+t+"` for property `"+e+"`.")}},c=function(e){try{var t=re("General_Category",e);return u("General_Category",t)}catch(e){}var n=te(e);return u(n)},l=function(e,t){var n,i=e.split("="),a=i[0];if(1==i.length)n=c(a);else{var o=te(a),s=re(o,i[1]);n=u(o,s)}return t?r.clone().remove(n):n.clone()};Q.prototype.iuAddRange=function(e,t){do{var n=h(e);n&&this.add(n)}while(++e<=t);return this};var p=function(e,t){var r=n(t,g.useUnicodeFlag?"u":"");switch(r.type){case"characterClass":case"group":case"value":break;default:r=f(r,t)}Object.assign(e,r)},f=function(e,t){return{type:"group",behavior:"ignore",body:[e],raw:"(?:"+t+")"}},h=function(e){return ie.get(e)||!1},d=function(e,t){for(var n=Q(),a=0,o=e.body;aR&&t.remove(R,C.value.start),t.prependLeft(R," = ")):t.overwrite(C.start,C.key.end+1,"["+t.slice(C.start,C.key.end)+"] = "),!C.method||!C.computed&&n.conciseMethodProperty||(C.value.generator&&t.remove(C.start,C.key.start),t.prependRight(C.value.start,"function"+(C.value.generator?"*":"")+" "))}else"SpreadElement"===C.type?y&&E>0&&(x||(x=this.properties[E-1]),t.appendLeft(x.end,", "+y+" )"),x=null,y=null):(!k&&a&&(t.prependRight(C.start,"{"),t.appendLeft(C.end,"}")),S=!0);if(k&&("SpreadElement"===C.type||C.computed)){var j=S?this.properties[this.properties.length-1].end:this.end-1;","==t.original[j]&&++j;var A=t.slice(j,_);t.prependLeft(P,A),t.remove(j,_),k=!1}var I=C.end;if(Ethis.nearestFunction.depth)&&(this.loop.canReturn=!0,this.shouldWrap=!0),this.argument&&this.argument.initialise(e)},ReturnStatement.prototype.transpile=function transpile(e,t){var n=this.shouldWrap&&this.loop&&this.loop.shouldRewriteAsFunction;this.argument?(n&&e.prependRight(this.argument.start,"{ v: "),this.argument.transpile(e,t),n&&e.appendLeft(this.argument.end," }")):n&&e.appendLeft(this.start+6," {}")},ReturnStatement}(p),SpreadElement:function(e){function SpreadElement(){e.apply(this,arguments)}return e&&(SpreadElement.__proto__=e),SpreadElement.prototype=Object.create(e&&e.prototype),SpreadElement.prototype.constructor=SpreadElement,SpreadElement.prototype.transpile=function transpile(t,n){"ObjectExpression"==this.parent.type&&(t.remove(this.start,this.argument.start),t.remove(this.argument.end,this.end)),e.prototype.transpile.call(this,t,n)},SpreadElement}(p),Super:function(e){function Super(){e.apply(this,arguments)}return e&&(Super.__proto__=e),Super.prototype=Object.create(e&&e.prototype),Super.prototype.constructor=Super,Super.prototype.initialise=function initialise(e){if(e.classes){if(this.method=this.findNearest("MethodDefinition"),!this.method)throw new d("use of super outside class method",this);var t=this.findNearest("ClassBody").parent;if(this.superClassName=t.superClass&&(t.superClass.name||"superclass"),!this.superClassName)throw new d("super used in base class",this);if(this.isCalled="CallExpression"===this.parent.type&&this===this.parent.callee,"constructor"!==this.method.kind&&this.isCalled)throw new d("super() not allowed outside class constructor",this);if(this.isMember="MemberExpression"===this.parent.type,!this.isCalled&&!this.isMember)throw new d("Unexpected use of `super` (expected `super(...)` or `super.*`)",this)}if(e.arrow){var n=this.findLexicalBoundary(),r=this.findNearest("ArrowFunctionExpression"),i=this.findNearest(x);r&&r.depth>n.depth&&(this.thisAlias=n.getThisAlias()),i&&i.body.contains(this)&&i.depth>n.depth&&(this.thisAlias=n.getThisAlias())}},Super.prototype.transpile=function transpile(e,t){if(t.classes){var n=this.isCalled||this.method.static?this.superClassName:this.superClassName+".prototype";e.overwrite(this.start,this.end,n,{storeName:!0,contentOnly:!0});var r=this.isCalled?this.parent:this.parent.parent;if(r&&"CallExpression"===r.type){this.noCall||e.appendLeft(r.callee.end,".call");var i=this.thisAlias||"this";r.arguments.length?e.appendLeft(r.arguments[0].start,i+", "):e.appendLeft(r.end-1,""+i)}}},Super}(p),TaggedTemplateExpression:function(e){function TaggedTemplateExpression(){e.apply(this,arguments)}return e&&(TaggedTemplateExpression.__proto__=e),TaggedTemplateExpression.prototype=Object.create(e&&e.prototype),TaggedTemplateExpression.prototype.constructor=TaggedTemplateExpression,TaggedTemplateExpression.prototype.initialise=function initialise(t){if(t.templateString&&!t.dangerousTaggedTemplateString)throw new d("Tagged template strings are not supported. Use `transforms: { templateString: false }` to skip transformation and disable this error, or `transforms: { dangerousTaggedTemplateString: true }` if you know what you're doing",this);e.prototype.initialise.call(this,t)},TaggedTemplateExpression.prototype.transpile=function transpile(t,n){if(n.templateString&&n.dangerousTaggedTemplateString){var r=this.quasi.expressions.concat(this.quasi.quasis).sort(function(e,t){return e.start-t.start}),i=this.program.body.scope,a=this.quasi.quasis.map(function(e){return JSON.stringify(e.value.cooked)}).join(", "),o=this.program.templateLiteralQuasis[a];o||(o=i.createIdentifier("templateObject"),t.prependRight(this.program.prependAt,"var "+o+" = Object.freeze(["+a+"]);\n"),this.program.templateLiteralQuasis[a]=o),t.overwrite(this.tag.end,r[0].start,"("+o);var s=r[0].start;r.forEach(function(e){"TemplateElement"===e.type?t.remove(s,e.end):t.overwrite(s,e.start,", "),s=e.end}),t.overwrite(s,this.end,")")}e.prototype.transpile.call(this,t,n)},TaggedTemplateExpression}(p),TemplateElement:function(e){function TemplateElement(){e.apply(this,arguments)}return e&&(TemplateElement.__proto__=e),TemplateElement.prototype=Object.create(e&&e.prototype),TemplateElement.prototype.constructor=TemplateElement,TemplateElement.prototype.initialise=function initialise(){this.program.indentExclusionElements.push(this)},TemplateElement}(p),TemplateLiteral:function(e){function TemplateLiteral(){e.apply(this,arguments)}return e&&(TemplateLiteral.__proto__=e),TemplateLiteral.prototype=Object.create(e&&e.prototype),TemplateLiteral.prototype.constructor=TemplateLiteral,TemplateLiteral.prototype.transpile=function transpile(t,n){if(e.prototype.transpile.call(this,t,n),n.templateString&&"TaggedTemplateExpression"!==this.parent.type){var r=this.expressions.concat(this.quasis).sort(function(e,t){return e.start-t.start||e.end-t.end}).filter(function(e,t){return"TemplateElement"!==e.type||(!!e.value.raw||!t)});if(r.length>=3){var i=r[0],a=r[2];"TemplateElement"===i.type&&""===i.value.raw&&"TemplateElement"===a.type&&r.shift()}var o=!(1===this.quasis.length&&0===this.expressions.length||"TemplateLiteral"===this.parent.type||"AssignmentExpression"===this.parent.type||"AssignmentPattern"===this.parent.type||"VariableDeclarator"===this.parent.type||"BinaryExpression"===this.parent.type&&"+"===this.parent.operator);o&&t.appendRight(this.start,"(");var s=this.start;r.forEach(function(e,n){var r=0===n?o?"(":"":" + ";if("TemplateElement"===e.type)t.overwrite(s,e.end,r+JSON.stringify(e.value.cooked));else{var i="Identifier"!==e.type;i&&(r+="("),t.remove(s,e.start),r&&t.prependRight(e.start,r),i&&t.appendLeft(e.end,")")}s=e.end}),o&&t.appendLeft(s,")"),t.overwrite(s,this.end,"",{contentOnly:!0})}},TemplateLiteral}(p),ThisExpression:function(e){function ThisExpression(){e.apply(this,arguments)}return e&&(ThisExpression.__proto__=e),ThisExpression.prototype=Object.create(e&&e.prototype),ThisExpression.prototype.constructor=ThisExpression,ThisExpression.prototype.initialise=function initialise(e){if(e.arrow){var t=this.findLexicalBoundary(),n=this.findNearest("ArrowFunctionExpression"),r=this.findNearest(x);(n&&n.depth>t.depth||r&&r.body.contains(this)&&r.depth>t.depth||r&&r.right&&r.right.contains(this))&&(this.alias=t.getThisAlias())}},ThisExpression.prototype.transpile=function transpile(e){this.alias&&e.overwrite(this.start,this.end,this.alias,{storeName:!0,contentOnly:!0})},ThisExpression}(p),UpdateExpression:function(e){function UpdateExpression(){e.apply(this,arguments)}return e&&(UpdateExpression.__proto__=e),UpdateExpression.prototype=Object.create(e&&e.prototype),UpdateExpression.prototype.constructor=UpdateExpression,UpdateExpression.prototype.initialise=function initialise(t){if("Identifier"===this.argument.type){var n=this.findScope(!1).findDeclaration(this.argument.name),r=n&&n.node.ancestor(3);r&&"ForStatement"===r.type&&r.body.contains(this)&&(r.reassigned[this.argument.name]=!0)}e.prototype.initialise.call(this,t)},UpdateExpression.prototype.transpile=function transpile(t,n){"Identifier"===this.argument.type&&checkConst(this.argument,this.findScope(!1)),e.prototype.transpile.call(this,t,n)},UpdateExpression}(p),VariableDeclaration:function(e){function VariableDeclaration(){e.apply(this,arguments)}return e&&(VariableDeclaration.__proto__=e),VariableDeclaration.prototype=Object.create(e&&e.prototype),VariableDeclaration.prototype.constructor=VariableDeclaration,VariableDeclaration.prototype.initialise=function initialise(e){this.scope=this.findScope("var"===this.kind),this.declarations.forEach(function(t){return t.initialise(e)})},VariableDeclaration.prototype.transpile=function transpile(e,t){var n=this,r=this.getIndentation(),i=this.kind;if(t.letConst&&"var"!==i&&(i="var",e.overwrite(this.start,this.start+this.kind.length,i,{contentOnly:!0,storeName:!0})),t.destructuring&&"ForOfStatement"!==this.parent.type&&"ForInStatement"!==this.parent.type){var a,o=this.start;this.declarations.forEach(function(i,s){if(i.transpile(e,t),"Identifier"===i.id.type)s>0&&"Identifier"!==n.declarations[s-1].id.type&&e.overwrite(o,i.id.start,"var ");else{var u=x.test(n.parent.type);0===s?e.remove(o,i.id.start):e.overwrite(o,i.id.start,";\n"+r);var c="Identifier"===i.init.type&&!i.init.rewritten,l=c?i.init.alias||i.init.name:i.findScope(!0).createIdentifier("ref");o=i.start;var p=[];c?e.remove(i.id.end,i.end):p.push(function(t,n,r){e.prependRight(i.id.end,"var "+l),e.appendLeft(i.init.end,""+r),e.move(i.id.end,i.end,t)});var f=i.findScope(!1);destructure(e,function(e){return f.createIdentifier(e)},function(e){var t=e.name;return f.resolveName(t)},i.id,l,u,p);var h=u?"var ":"",d=u?", ":";\n"+r;p.forEach(function(e,t){s===n.declarations.length-1&&t===p.length-1&&(d=u?"":";"),e(i.start,0===t?h:"",d)})}o=i.end,a="Identifier"!==i.id.type}),a&&this.end>o&&e.overwrite(o,this.end,"",{contentOnly:!0})}else this.declarations.forEach(function(n){n.transpile(e,t)})},VariableDeclaration}(p),VariableDeclarator:function(e){function VariableDeclarator(){e.apply(this,arguments)}return e&&(VariableDeclarator.__proto__=e),VariableDeclarator.prototype=Object.create(e&&e.prototype),VariableDeclarator.prototype.constructor=VariableDeclarator,VariableDeclarator.prototype.initialise=function initialise(t){var n=this.parent.kind;"let"===n&&"ForStatement"===this.parent.parent.type&&(n="for.let"),this.parent.scope.addDeclaration(this.id,n),e.prototype.initialise.call(this,t)},VariableDeclarator.prototype.transpile=function transpile(e,t){if(!this.init&&t.letConst&&"var"!==this.parent.kind){var n=this.findNearest(/Function|^For(In|Of)?Statement|^(?:Do)?WhileStatement/);!n||/Function/.test(n.type)||this.isLeftDeclaratorOfLoop()||e.appendLeft(this.id.end," = (void 0)")}this.id&&this.id.transpile(e,t),this.init&&this.init.transpile(e,t)},VariableDeclarator.prototype.isLeftDeclaratorOfLoop=function isLeftDeclaratorOfLoop(){return this.parent&&"VariableDeclaration"===this.parent.type&&this.parent.parent&&("ForInStatement"===this.parent.parent.type||"ForOfStatement"===this.parent.parent.type)&&this.parent.parent.left&&this.parent.parent.left.declarations[0]===this},VariableDeclarator}(p),WhileStatement:R},ue={Program:["body"],Literal:[]},ce={IfStatement:"consequent",ForStatement:"body",ForInStatement:"body",ForOfStatement:"body",WhileStatement:"body",DoWhileStatement:"body",ArrowFunctionExpression:"body"};function wrap(e,t){if(e)if("length"in e)for(var n=e.length;n--;)wrap(e[n],t);else if(!e.__wrapped){e.__wrapped=!0,ue[e.type]||(ue[e.type]=Object.keys(e).filter(function(t){return"object"==typeof e[t]}));var r=ce[e.type];if(r&&"BlockStatement"!==e[r].type){var i=e[r];e[r]={start:i.start,end:i.end,type:"BlockStatement",body:[i],synthetic:!0}}e.parent=t,e.program=t.program||t,e.depth=t.depth+1,e.keys=ue[e.type],e.indentation=void 0;for(var a=0,o=ue[e.type];a...",!0,!0),t.jsxName=new e.TokenType("jsxName"),t.jsxText=new e.TokenType("jsxText",{beforeExpr:!0}),t.jsxTagStart=new e.TokenType("jsxTagStart"),t.jsxTagEnd=new e.TokenType("jsxTagEnd"),t.jsxTagStart.updateContext=function(){this.context.push(n.j_expr),this.context.push(n.j_oTag),this.exprAllowed=!1},t.jsxTagEnd.updateContext=function(e){var r=this.context.pop();r===n.j_oTag&&e===t.slash||r===n.j_cTag?(this.context.pop(),this.exprAllowed=this.curContext()===n.j_expr):this.exprAllowed=!0};var r=e.Parser.prototype;function getQualifiedJSXName(e){return e?"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property):void 0:e}return r.jsx_readToken=function(){for(var n="",r=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");var i=this.input.charCodeAt(this.pos);switch(i){case 60:case 123:return this.pos===this.start?60===i&&this.exprAllowed?(++this.pos,this.finishToken(t.jsxTagStart)):this.getTokenFromCode(i):(n+=this.input.slice(r,this.pos),this.finishToken(t.jsxText,n));case 38:n+=this.input.slice(r,this.pos),n+=this.jsx_readEntity(),r=this.pos;break;default:e.isNewLine(i)?(n+=this.input.slice(r,this.pos),n+=this.jsx_readNewLine(!0),r=this.pos):++this.pos}}},r.jsx_readNewLine=function(e){var t,n=this.input.charCodeAt(this.pos);return++this.pos,13===n&&10===this.input.charCodeAt(this.pos)?(++this.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(n),this.options.locations&&(++this.curLine,this.lineStart=this.pos),t},r.jsx_readString=function(n){for(var r="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var a=this.input.charCodeAt(this.pos);if(a===n)break;38===a?(r+=this.input.slice(i,this.pos),r+=this.jsx_readEntity(),i=this.pos):e.isNewLine(a)?(r+=this.input.slice(i,this.pos),r+=this.jsx_readNewLine(!1),i=this.pos):++this.pos}return r+=this.input.slice(i,this.pos++),this.finishToken(t.string,r)},r.jsx_readEntity=function(){var e,t="",n=0,r=this.input[this.pos];"&"!==r&&this.raise(this.pos,"Entity must start with an ampersand");for(var i=++this.pos;this.pos")}return r.openingElement=a,r.closingElement=o,r.children=i,this.type===t.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(r,a.name?"JSXElement":"JSXFragment")},r.jsx_parseText=function(e){var t=this.parseLiteral(e);return t.type="JSXText",t},r.jsx_parseElement=function(){var e=this.start,t=this.startLoc;return this.next(),this.jsx_parseElementAt(e,t)},e.plugins.jsx=function(r,i){i&&("object"!=typeof i&&(i={}),r.options.plugins.jsx={allowNamespaces:!1!==i.allowNamespaces,allowNamespacedObjects:!!i.allowNamespacedObjects},r.extend("parseExprAtom",function(e){return function(n){return this.type===t.jsxText?this.jsx_parseText(this.value):this.type===t.jsxTagStart?this.jsx_parseElement():e.call(this,n)}}),r.extend("readToken",function(r){return function(i){var a=this.curContext();if(a===n.j_expr)return this.jsx_readToken();if(a===n.j_oTag||a===n.j_cTag){if(e.isIdentifierStart(i))return this.jsx_readWord();if(62==i)return++this.pos,this.finishToken(t.jsxTagEnd);if((34===i||39===i)&&a==n.j_oTag)return this.jsx_readString(i)}return 60===i&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(t.jsxTagStart)):r.call(this,i)}}),r.extend("updateContext",function(e){return function(r){if(this.type==t.braceL){var i=this.curContext();i==n.j_oTag?this.context.push(n.b_expr):i==n.j_expr?this.context.push(n.b_tmpl):e.call(this,r),this.exprAllowed=!0}else{if(this.type!==t.slash||r!==t.jsxTagStart)return e.call(this,r);this.context.length-=2,this.context.push(n.j_cTag),this.exprAllowed=!1}}}))},e},l].reduce(function(e,t){return t(e)},i).parse,he=["dangerousTaggedTemplateString","dangerousForOf"];function target(e){var t=Object.keys(e).length?1048575:262144;Object.keys(e).forEach(function(n){var r=le[n];if(!r)throw new Error("Unknown environment '"+n+"'. Please raise an issue at https://github.com/Rich-Harris/buble/issues");var i=e[n];if(!(i in r))throw new Error("Support data exists for the following versions of "+n+": "+Object.keys(r).join(", ")+". Please raise an issue at https://github.com/Rich-Harris/buble/issues");var a=r[i];t&=a});var n=Object.create(null);return pe.forEach(function(e,r){n[e]=!(t&1<=r.length)return"\t";var i=r.reduce(function(e,t){var n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return new Array(i+1).join(" ")}function getRelativePath(e,t){var n=e.split(/[\/\\]/),r=t.split(/[\/\\]/);for(n.pop();n[0]===r[0];)n.shift(),r.shift();if(n.length)for(var i=n.length;i--;)n[i]="..";return n.concat(r).join("/")}SourceMap.prototype={toString:function toString(){return JSON.stringify(this)},toUrl:function toUrl(){return"data:application/json;charset=utf-8;base64,"+a(this.toString())}};var o=Object.prototype.toString;function isObject(e){return"[object Object]"===o.call(e)}function getLocator(e){var t=e.split("\n"),n=0,r=t.map(function(e,t){var r=n+e.length+1,i={start:n,end:r,line:t};return n=r,i}),i=0;function rangeContains(e,t){return e.start<=t&&t=t.end?1:-1;t;){if(rangeContains(t,e))return getLocation(t,e);t=r[i+=n]}}}function Mappings(e){var t=this,n={generatedCodeColumn:0,sourceIndex:0,sourceCodeLine:0,sourceCodeColumn:0,sourceCodeName:0},r=0,a=0;this.raw=[];var o=this.raw[r]=[],s=null;this.addEdit=function(e,n,r,i,u){n.length?o.push([a,e,i.line,i.column,u]):s&&o.push(s),t.advance(n),s=null},this.addUneditedChunk=function(n,i,u,c,l){for(var p=i.start,f=!0;p=e&&n<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(n);var r=this.byStart[e],i=this.byEnd[t],a=r.previous,o=i.next,s=this.byStart[n];if(!s&&i===this.lastChunk)return this;var u=s?s.previous:this.lastChunk;return a&&(a.next=o),o&&(o.previous=a),u&&(u.next=r),s&&(s.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=u,i.next=s||null,u||(this.firstChunk=r),s||(this.lastChunk=i),this},overwrite:function overwrite(e,t,n,r){if("string"!=typeof n)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===r&&(u.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),u.storeName=!0),r={storeName:!0});var i=void 0!==r&&r.storeName,a=void 0!==r&&r.contentOnly;if(i){var o=this.original.slice(e,t);this.storedNames[o]=!0}var s=this.byStart[e],c=this.byEnd[t];if(s){if(t>s.end&&s.next!==this.byStart[s.end])throw new Error("Cannot overwrite across a split point");if(s.edit(n,i,a),s!==c){for(var l=s.next;l!==c;)l.edit("",!1),l=l.next;l.edit("",!1)}}else{var p=new Chunk(e,t,"").edit(n,i);c.next=p,p.previous=c}return this},prepend:function prepend(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},prependLeft:function prependLeft(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this},prependRight:function prependRight(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this},remove:function remove(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);for(var n=this.byStart[e];n;)n.intro="",n.outro="",n.edit(""),n=t>n.end?this.byStart[n.end]:null;return this},slice:function slice(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var n="",r=this.firstChunk;r&&(r.start>e||r.end<=e);){if(r.start=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var i=r;r;){!r.intro||i===r&&r.start!==e||(n+=r.intro);var a=r.start=t;if(a&&r.edited&&r.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var o=i===r?e-r.start:0,s=a?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(o,s),!r.outro||a&&r.end!==t||(n+=r.outro),a)break;r=r.next}return n},snip:function snip(e,t){var n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n},_split:function _split(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,n=e>t.end;;){if(t.contains(e))return this._splitChunk(t,e);t=n?this.byStart[t.end]:this.byEnd[t.start]}},_splitChunk:function _splitChunk(e,t){if(e.edited&&e.content.length){var n=getLocator(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+n.line+":"+n.column+' – "'+e.original+'")')}var r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0},toString:function toString(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},trimLines:function trimLines(){return this.trim("[\\r\\n]")},trim:function trim(e){return this.trimStart(e).trimEnd(e)},trimEnd:function trimEnd(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return this;var n=this.lastChunk;do{var r=n.end,i=n.trimEnd(t);if(n.end!==r&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.previous}while(n);return this},trimStart:function trimStart(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return this;var n=this.firstChunk;do{var r=n.end,i=n.trimStart(t);if(n.end!==r&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.next}while(n);return this}};var c=Object.prototype.hasOwnProperty;function Bundle(e){void 0===e&&(e={}),this.intro=e.intro||"",this.separator=void 0!==e.separator?e.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}Bundle.prototype={addSource:function addSource(e){if(e instanceof MagicString$1)return this.addSource({content:e,filename:e.filename,separator:this.separator});if(!isObject(e)||!e.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach(function(t){c.call(e,t)||(e[t]=e.content[t])}),void 0===e.separator&&(e.separator=this.separator),e.filename)if(c.call(this.uniqueSourceIndexByFilename,e.filename)){var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content)throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}else this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:e.filename,content:e.content.original});return this.sources.push(e),this},append:function append(e,t){return this.addSource({content:new MagicString$1(e),separator:t&&t.separator||""}),this},clone:function clone(){var e=new Bundle({intro:this.intro,separator:this.separator});return this.sources.forEach(function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})}),e},generateMap:function generateMap(e){var t=this;void 0===e&&(e={});var n=[];this.sources.forEach(function(e){Object.keys(e.content.storedNames).forEach(function(e){~n.indexOf(e)||n.push(e)})});var r=new Mappings(e.hires);return this.intro&&r.advance(this.intro),this.sources.forEach(function(e,i){i>0&&r.advance(t.separator);var a=e.filename?t.uniqueSourceIndexByFilename[e.filename]:-1,o=e.content,s=getLocator(o.original);o.intro&&r.advance(o.intro),o.firstChunk.eachNext(function(t){var i=s(t.start);t.intro.length&&r.advance(t.intro),e.filename?t.edited?r.addEdit(a,t.content,t.original,i,t.storeName?n.indexOf(t.original):-1):r.addUneditedChunk(a,t,o.original,i,o.sourcemapLocations):r.advance(t.content),t.outro.length&&r.advance(t.outro)}),o.outro&&r.advance(o.outro)}),new SourceMap({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:this.uniqueSources.map(function(t){return e.file?getRelativePath(e.file,t.filename):t.filename}),sourcesContent:this.uniqueSources.map(function(t){return e.includeContent?t.content:null}),names:n,mappings:r.encode()})},getIndentString:function getIndentString(){var e={};return this.sources.forEach(function(t){var n=t.content.indentStr;null!==n&&(e[n]||(e[n]=0),e[n]+=1)}),Object.keys(e).sort(function(t,n){return e[t]-e[n]})[0]||"\t"},indent:function indent(e){var t=this;if(arguments.length||(e=this.getIndentString()),""===e)return this;var n=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach(function(r,i){var a=void 0!==r.separator?r.separator:t.separator,o=n||i>0&&/\r?\n$/.test(a);r.content.indent(e,{exclude:r.indentExclusionRanges,indentStart:o}),n="\n"===r.content.toString().slice(0,-1)}),this.intro&&(this.intro=e+this.intro.replace(/^[^\n]/gm,function(t,n){return n>0?e+t:t})),this},prepend:function prepend(e){return this.intro=e+this.intro,this},toString:function toString(){var e=this,t=this.sources.map(function(t,n){var r=void 0!==t.separator?t.separator:e.separator;return(n>0?r:"")+t.content.toString()}).join("");return this.intro+t},trimLines:function trimLines(){return this.trim("[\\r\\n]")},trim:function trim(e){return this.trimStart(e).trimEnd(e)},trimStart:function trimStart(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),!this.intro){var n,r=0;do{if(!(n=this.sources[r]))break;n.content.trimStart(e),r+=1}while(""===n.content.toString())}return this},trimEnd:function trimEnd(e){var t,n=new RegExp((e||"\\s")+"+$"),r=this.sources.length-1;do{if(!(t=this.sources[r])){this.intro=this.intro.replace(n,"");break}t.content.trimEnd(e),r-=1}while(""===t.content.toString());return this}},t.a=MagicString$1}).call(this,n(216).Buffer,n(141))},function(e,t,n){"use strict";n.d(t,"a",function(){return encode});var r={},i={};function encode(e){var t;if("number"==typeof e)t=encodeInteger(e);else{t="";for(var n=0;n>=5)>0&&(n|=32),t+=i[n]}while(e>0);return t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){r[e]=t,i[t]=e})},function(e,t,n){"use strict";n.r(t),n.d(t,"version",function(){return re}),n.d(t,"parse",function(){return parse}),n.d(t,"parseExpressionAt",function(){return parseExpressionAt}),n.d(t,"tokenizer",function(){return tokenizer}),n.d(t,"parse_dammit",function(){return ee}),n.d(t,"LooseParser",function(){return te}),n.d(t,"pluginsLoose",function(){return ne}),n.d(t,"addLooseExports",function(){return addLooseExports}),n.d(t,"Parser",function(){return R}),n.d(t,"plugins",function(){return T}),n.d(t,"defaultOptions",function(){return O}),n.d(t,"Position",function(){return C}),n.d(t,"SourceLocation",function(){return P}),n.d(t,"getLineInfo",function(){return getLineInfo}),n.d(t,"Node",function(){return W}),n.d(t,"TokenType",function(){return h}),n.d(t,"tokTypes",function(){return y}),n.d(t,"keywordTypes",function(){return g}),n.d(t,"TokContext",function(){return H}),n.d(t,"tokContexts",function(){return G}),n.d(t,"isIdentifierChar",function(){return isIdentifierChar}),n.d(t,"isIdentifierStart",function(){return isIdentifierStart}),n.d(t,"Token",function(){return Z}),n.d(t,"isNewLine",function(){return isNewLine}),n.d(t,"lineBreak",function(){return b}),n.d(t,"lineBreakG",function(){return v}),n.d(t,"nonASCIIwhitespace",function(){return _});var r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",a={5:i,6:i+" const class extends export import super"},o=/^in(stanceof)?$/,s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿯ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞹꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",c=new RegExp("["+s+"]"),l=new RegExp("["+s+u+"]");s=u=null;var p=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,477,28,11,0,9,21,190,52,76,44,33,24,27,35,30,0,12,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,26,230,43,117,63,32,0,257,0,11,39,8,0,22,0,12,39,3,3,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,270,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,68,12,0,67,12,65,1,31,6129,15,754,9486,286,82,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,15,7472,3104,541],f=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,525,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,4,9,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,280,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239];function isInAstralSet(e,t){for(var n=65536,r=0;re)return!1;if((n+=t[r+1])>=e)return!0}}function isIdentifierStart(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&isInAstralSet(e,p)))}function isIdentifierChar(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&(isInAstralSet(e,p)||isInAstralSet(e,f)))))}var h=function TokenType(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function binop(e,t){return new h(e,{beforeExpr:!0,binop:t})}var d={beforeExpr:!0},m={startsExpr:!0},g={};function kw(e,t){return void 0===t&&(t={}),t.keyword=e,g[e]=new h(e,t)}var y={num:new h("num",m),regexp:new h("regexp",m),string:new h("string",m),name:new h("name",m),eof:new h("eof"),bracketL:new h("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new h("]"),braceL:new h("{",{beforeExpr:!0,startsExpr:!0}),braceR:new h("}"),parenL:new h("(",{beforeExpr:!0,startsExpr:!0}),parenR:new h(")"),comma:new h(",",d),semi:new h(";",d),colon:new h(":",d),dot:new h("."),question:new h("?",d),arrow:new h("=>",d),template:new h("template"),invalidTemplate:new h("invalidTemplate"),ellipsis:new h("...",d),backQuote:new h("`",m),dollarBraceL:new h("${",{beforeExpr:!0,startsExpr:!0}),eq:new h("=",{beforeExpr:!0,isAssign:!0}),assign:new h("_=",{beforeExpr:!0,isAssign:!0}),incDec:new h("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new h("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new h("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new h("**",{beforeExpr:!0}),_break:kw("break"),_case:kw("case",d),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",d),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",d),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",m),_if:kw("if"),_return:kw("return",d),_switch:kw("switch"),_throw:kw("throw",d),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",m),_super:kw("super",m),_class:kw("class",m),_extends:kw("extends",d),_export:kw("export"),_import:kw("import"),_null:kw("null",m),_true:kw("true",m),_false:kw("false",m),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},b=/\r\n?|\n|\u2028|\u2029/,v=new RegExp(b.source,"g");function isNewLine(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var _=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,x=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,w=Object.prototype,S=w.hasOwnProperty,k=w.toString;function has(e,t){return S.call(e,t)}var E=Array.isArray||function(e){return"[object Array]"===k.call(e)},C=function Position(e,t){this.line=e,this.column=t};C.prototype.offset=function offset(e){return new C(this.line,this.column+e)};var P=function SourceLocation(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function getLineInfo(e,t){for(var n=1,r=0;;){v.lastIndex=r;var i=v.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),E(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return E(t.onComment)&&(t.onComment=pushComment(t,t.onComment)),t}function pushComment(e,t){return function(n,r,i,a,o,s){var u={type:n?"Block":"Line",value:r,start:i,end:a};e.locations&&(u.loc=new P(this,o,s)),e.ranges&&(u.range=[i,a]),t.push(u)}}var T={};function keywordRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var R=function Parser(e,t,n){this.options=e=getOptions(e),this.sourceFile=e.sourceFile,this.keywords=keywordRegexp(a[e.ecmaVersion>=6?6:5]);var i="";if(!e.allowReserved){for(var o=e.ecmaVersion;!(i=r[o]);o--);"module"===e.sourceType&&(i+=" await")}this.reservedWords=keywordRegexp(i);var s=(i?i+" ":"")+r.strict;this.reservedWordsStrict=keywordRegexp(s),this.reservedWordsStrictBind=keywordRegexp(s+" "+r.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(b).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=y.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterFunctionScope(),this.regexpState=null};R.prototype.isKeyword=function isKeyword(e){return this.keywords.test(e)},R.prototype.isReservedWord=function isReservedWord(e){return this.reservedWords.test(e)},R.prototype.extend=function extend(e,t){this[e]=t(this[e])},R.prototype.loadPlugins=function loadPlugins(e){for(var t in e){var n=T[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},R.prototype.parse=function parse(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var j=R.prototype,A=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)"|;)/;function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}j.strictDirective=function(e){for(;;){x.lastIndex=e,e+=x.exec(this.input)[0].length;var t=A.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2]))return!0;e+=t[0].length}},j.eat=function(e){return this.type===e&&(this.next(),!0)},j.isContextual=function(e){return this.type===y.name&&this.value===e&&!this.containsEsc},j.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},j.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},j.canInsertSemicolon=function(){return this.type===y.eof||this.type===y.braceR||b.test(this.input.slice(this.lastTokEnd,this.start))},j.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},j.semicolon=function(){this.eat(y.semi)||this.insertSemicolon()||this.unexpected()},j.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},j.expect=function(e){this.eat(e)||this.unexpected()},j.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},j.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},j.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},j.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var N={kind:"loop"},M={kind:"switch"};I.isLet=function(){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;x.lastIndex=this.pos;var e=x.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123===n)return!0;if(isIdentifierStart(n,!0)){for(var r=t+1;isIdentifierChar(this.input.charCodeAt(r),!0);)++r;var i=this.input.slice(t,r);if(!o.test(i))return!0}return!1},I.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;x.lastIndex=this.pos;var e=x.exec(this.input),t=this.pos+e[0].length;return!(b.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!==this.input.length&&isIdentifierChar(this.input.charAt(t+8)))},I.parseStatement=function(e,t,n){var r,i=this.type,a=this.startNode();switch(this.isLet()&&(i=y._var,r="let"),i){case y._break:case y._continue:return this.parseBreakContinueStatement(a,i.keyword);case y._debugger:return this.parseDebuggerStatement(a);case y._do:return this.parseDoStatement(a);case y._for:return this.parseForStatement(a);case y._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1);case y._class:return e||this.unexpected(),this.parseClass(a,!0);case y._if:return this.parseIfStatement(a);case y._return:return this.parseReturnStatement(a);case y._switch:return this.parseSwitchStatement(a);case y._throw:return this.parseThrowStatement(a);case y._try:return this.parseTryStatement(a);case y._const:case y._var:return r=r||this.value,e||"var"===r||this.unexpected(),this.parseVarStatement(a,r);case y._while:return this.parseWhileStatement(a);case y._with:return this.parseWithStatement(a);case y.braceL:return this.parseBlock();case y.semi:return this.parseEmptyStatement(a);case y._export:case y._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===y._import?this.parseImport(a):this.parseExport(a,n);default:if(this.isAsyncFunction())return e||this.unexpected(),this.next(),this.parseFunctionStatement(a,!0);var o=this.value,s=this.parseExpression();return i===y.name&&"Identifier"===s.type&&this.eat(y.colon)?this.parseLabeledStatement(a,o,s):this.parseExpressionStatement(a,s)}},I.parseBreakContinueStatement=function(e,t){var n="break"===t;this.next(),this.eat(y.semi)||this.insertSemicolon()?e.label=null:this.type!==y.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(y.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},I.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(N),this.enterLexicalScope(),this.expect(y.parenL),this.type===y.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===y._var||this.type===y._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),!(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==r.declarations.length||"var"!==i&&r.declarations[0].init?(t>-1&&this.unexpected(t),this.parseFor(e,r)):(this.options.ecmaVersion>=9&&(this.type===y._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r))}var a=new DestructuringErrors,o=this.parseExpression(!0,a);return this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===y._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,a),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},I.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},I.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.type===y._function),e.alternate=this.eat(y._else)?this.parseStatement(!this.strict&&this.type===y._function):null,this.finishNode(e,"IfStatement")},I.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(y.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},I.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(y.braceL),this.labels.push(M),this.enterLexicalScope();for(var n=!1;this.type!==y.braceR;)if(this.type===y._case||this.type===y._default){var r=this.type===y._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(y.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(!0));return this.exitLexicalScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},I.parseThrowStatement=function(e){return this.next(),b.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var L=[];I.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===y._catch){var t=this.startNode();this.next(),this.eat(y.parenL)?(t.param=this.parseBindingAtom(),this.enterLexicalScope(),this.checkLVal(t.param,"let"),this.expect(y.parenR)):(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterLexicalScope()),t.body=this.parseBlock(!1),this.exitLexicalScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(y._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},I.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},I.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(N),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},I.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},I.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},I.parseLabeledStatement=function(e,t,n){for(var r=0,i=this.labels;r=0;o--){var s=this.labels[o];if(s.statementStart!==e.start)break;s.statementStart=this.start,s.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(!0),("ClassDeclaration"===e.body.type||"VariableDeclaration"===e.body.type&&"var"!==e.body.kind||"FunctionDeclaration"===e.body.type&&(this.strict||e.body.generator||e.body.async))&&this.raiseRecoverable(e.body.start,"Invalid labeled declaration"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},I.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},I.parseBlock=function(e){void 0===e&&(e=!0);var t=this.startNode();for(t.body=[],this.expect(y.braceL),e&&this.enterLexicalScope();!this.eat(y.braceR);){var n=this.parseStatement(!0);t.body.push(n)}return e&&this.exitLexicalScope(),this.finishNode(t,"BlockStatement")},I.parseFor=function(e,t){return e.init=t,this.expect(y.semi),e.test=this.type===y.semi?null:this.parseExpression(),this.expect(y.semi),e.update=this.type===y.parenR?null:this.parseExpression(),this.expect(y.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},I.parseForIn=function(e,t){var n=this.type===y._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"===n&&("AssignmentPattern"===t.type||"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(this.strict||"Identifier"!==t.declarations[0].id.type))&&this.raise(t.start,"Invalid assignment in for-in loop head"),e.left=t,e.right="ForInStatement"===n?this.parseExpression():this.parseMaybeAssign(),this.expect(y.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},I.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(y.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===r.id.type||t&&(this.type===y._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(y.comma))break}return e},I.parseVarId=function(e,t){e.id=this.parseBindingAtom(t),this.checkLVal(e.id,t,!1)},I.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(e.generator=this.eat(y.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&&(e.id="nullableID"===t&&this.type!==y.name?null:this.parseIdent(),e.id&&this.checkLVal(e.id,this.inModule&&!this.inFunction?"let":"var"));var i=this.inGenerator,a=this.inAsync,o=this.yieldPos,s=this.awaitPos,u=this.inFunction;return this.inGenerator=e.generator,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),t||(e.id=this.type===y.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=a,this.yieldPos=o,this.awaitPos=s,this.inFunction=u,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},I.parseFunctionParams=function(e){this.expect(y.parenL),e.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},I.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),r=!1;for(n.body=[],this.expect(y.braceL);!this.eat(y.braceR);){var i=this.parseClassMember(n);i&&"MethodDefinition"===i.type&&"constructor"===i.kind&&(r&&this.raise(i.start,"Duplicate constructor in the same class"),r=!0)}return e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},I.parseClassMember=function(e){var t=this;if(this.eat(y.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,a=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===y.parenL||r&&t.canInsertSemicolon())||(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,a),n.key.name=e,t.finishNode(n.key,"Identifier"),!1))};n.kind="method",n.static=r("static");var i=this.eat(y.star),a=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(y.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),i&&this.raise(o.start,"Constructor can't be a generator"),a&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor"),this.parseClassMethod(e,n,i,a),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},I.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},I.parseClassId=function(e,t){e.id=this.type===y.name?this.parseIdent():!0===t?this.unexpected():null},I.parseClassSuper=function(e){e.superClass=this.eat(y._extends)?this.parseExprSubscripts():null},I.parseExport=function(e,t){if(this.next(),this.eat(y.star))return this.expectContextual("from"),this.type!==y.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(y._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===y._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,"nullableID",!1,n)}else if(this.type===y._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==y.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,i=e.key;switch(i.type){case"Identifier":r=i.name;break;case"Literal":r=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===a&&(t.proto&&(n&&n.doubleProto<0?n.doubleProto=i.start:this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);else{var o=t[r="$"+r];if(o)("init"===a?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(i.start,"Redefinition of property");else o=t[r]={init:!1,get:!1,set:!1};o[a]=!0}}},B.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===y.comma){var a=this.startNodeAt(n,r);for(a.expressions=[i];this.eat(y.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i},B.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1,i=-1,a=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new DestructuringErrors,r=!0);var o=this.start,s=this.startLoc;this.type!==y.parenL&&this.type!==y.name||(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(n&&(u=n.call(this,u,o,s)),this.type.isAssign){var c=this.startNodeAt(o,s);return c.operator=this.value,c.left=this.type===y.eq?this.toAssignable(u,!1,t):u,r||DestructuringErrors.call(t),t.shorthandAssign=-1,this.checkLVal(u),this.next(),c.right=this.parseMaybeAssign(e),this.finishNode(c,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),u},B.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(y.question)){var a=this.startNodeAt(n,r);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(y.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i},B.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:i.start===n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,e)},B.parseExprOp=function(e,t,n,r,i){var a=this.type.binop;if(null!=a&&(!i||this.type!==y._in)&&a>r){var o=this.type===y.logicalOR||this.type===y.logicalAND,s=this.value;this.next();var u=this.start,c=this.startLoc,l=this.parseExprOp(this.parseMaybeUnary(null,!1),u,c,a,i),p=this.buildBinary(t,n,e,l,s,o);return this.parseExprOp(p,t,n,r,i)}return e},B.buildBinary=function(e,t,n,r,i,a){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")},B.parseMaybeUnary=function(e,t){var n,r=this.start,i=this.startLoc;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))n=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),o=this.type===y.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),o?this.checkLVal(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(a,o?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(r,i);s.operator=this.value,s.prefix=!1,s.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(s,"UpdateExpression")}}return!t&&this.eat(y.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n},B.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||i)return r;var a=this.parseSubscripts(r,t,n);return e&&"MemberExpression"===a.type&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1)),a},B.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end),a=void 0;;)if((a=this.eat(y.bracketL))||this.eat(y.dot)){var o=this.startNodeAt(t,n);o.object=e,o.property=a?this.parseExpression():this.parseIdent(!0),o.computed=!!a,a&&this.expect(y.bracketR),e=this.finishNode(o,"MemberExpression")}else if(!r&&this.eat(y.parenL)){var s=new DestructuringErrors,u=this.yieldPos,c=this.awaitPos;this.yieldPos=0,this.awaitPos=0;var l=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1,s);if(i&&!this.canInsertSemicolon()&&this.eat(y.arrow))return this.checkPatternErrors(s,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=u,this.awaitPos=c,this.parseArrowExpression(this.startNodeAt(t,n),l,!0);this.checkExpressionErrors(s,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=c||this.awaitPos;var p=this.startNodeAt(t,n);p.callee=e,p.arguments=l,e=this.finishNode(p,"CallExpression")}else{if(this.type!==y.backQuote)return e;var f=this.startNodeAt(t,n);f.tag=e,f.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(f,"TaggedTemplateExpression")}},B.parseExprAtom=function(e){var t,n=this.potentialArrowAt===this.start;switch(this.type){case y._super:return this.inFunction||this.raise(this.start,"'super' outside of function or class"),t=this.startNode(),this.next(),this.type!==y.dot&&this.type!==y.bracketL&&this.type!==y.parenL&&this.unexpected(),this.finishNode(t,"Super");case y._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case y.name:var r=this.start,i=this.startLoc,a=this.containsEsc,o=this.parseIdent(this.type!==y.name);if(this.options.ecmaVersion>=8&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(y._function))return this.parseFunction(this.startNodeAt(r,i),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(y.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===y.name&&!a)return o=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(y.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[o],!0)}return o;case y.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;case y.num:case y.string:return this.parseLiteral(this.value);case y._null:case y._true:case y._false:return(t=this.startNode()).value=this.type===y._null?null:this.type===y._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case y.parenL:var u=this.start,c=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),c;case y.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(y.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case y.braceL:return this.parseObj(!1,e);case y._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case y._class:return this.parseClass(this.startNode(),!1);case y._new:return this.parseNew();case y.backQuote:return this.parseTemplate();default:this.unexpected()}},B.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},B.parseParenExpression=function(){this.expect(y.parenL);var e=this.parseExpression();return this.expect(y.parenR),e},B.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,s=this.startLoc,u=[],c=!0,l=!1,p=new DestructuringErrors,f=this.yieldPos,h=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==y.parenR;){if(c?c=!1:this.expect(y.comma),i&&this.afterTrailingComma(y.parenR,!0)){l=!0;break}if(this.type===y.ellipsis){a=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,p,this.parseParenItem))}var d=this.start,m=this.startLoc;if(this.expect(y.parenR),e&&!this.canInsertSemicolon()&&this.eat(y.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=f,this.awaitPos=h,this.parseParenArrowList(n,r,u);u.length&&!l||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(p,!0),this.yieldPos=f||this.yieldPos,this.awaitPos=h||this.awaitPos,u.length>1?((t=this.startNodeAt(o,s)).expressions=u,this.finishNodeAt(t,"SequenceExpression",d,m)):t=u[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var g=this.startNodeAt(n,r);return g.expression=t,this.finishNode(g,"ParenthesizedExpression")}return t},B.parseParenItem=function(e){return e},B.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var F=[];B.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(y.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||n)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),this.eat(y.parenL)?e.arguments=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1):e.arguments=F,this.finishNode(e,"NewExpression")},B.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===y.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===y.backQuote,this.finishNode(n,"TemplateElement")},B.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===y.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(y.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(y.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},B.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===y.name||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===y.star)&&!b.test(this.input.slice(this.lastTokEnd,this.start))},B.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(y.braceR);){if(r)r=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),n.properties.push(a)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},B.parseProperty=function(e,t){var n,r,i,a,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(y.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===y.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,t),this.type===y.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(i=this.start,a=this.startLoc),e||(n=this.eat(y.star)));var s=this.containsEsc;return this.parsePropertyName(o),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(y.star),this.parsePropertyName(o,t)):r=!1,this.parsePropertyValue(o,e,n,r,i,a,t,s),this.finishNode(o,"Property")},B.parsePropertyValue=function(e,t,n,r,i,a,o,s){if((n||r)&&this.type===y.colon&&this.unexpected(),this.eat(y.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===y.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===y.comma||this.type===y.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?(this.checkUnreserved(e.key),e.kind="init",t?e.value=this.parseMaybeDefault(i,a,e.key):this.type===y.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var c=e.value.start;"get"===e.kind?this.raiseRecoverable(c,"getter should have no params"):this.raiseRecoverable(c,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},B.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(y.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(y.bracketR),e.key;e.computed=!1}return e.key=this.type===y.num||this.type===y.string?this.parseExprAtom():this.parseIdent(!0)},B.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},B.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.inGenerator=n.generator,this.inAsync=n.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),this.expect(y.parenL),n.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(n,"FunctionExpression")},B.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.enterFunctionScope(),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(e,"ArrowFunctionExpression")},B.parseFunctionBody=function(e,t){var n=t&&this.type!==y.braceL,r=this.strict,i=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!a||(i=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!r&&!i&&!t&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=o}this.exitFunctionScope(),this.strict&&e.id&&this.checkLVal(e.id,"none"),this.strict=r},B.isSimpleParamList=function(e){for(var t=0,n=e;t0;)t[n]=arguments[n+1];for(var r=0,i=t;r=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},K.updateContext=function(e){var t,n=this.type;n.keyword&&e===y.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},y.parenR.updateContext=y.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===G.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},y.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?G.b_stat:G.b_expr),this.exprAllowed=!0},y.dollarBraceL.updateContext=function(){this.context.push(G.b_tmpl),this.exprAllowed=!0},y.parenL.updateContext=function(e){var t=e===y._if||e===y._for||e===y._with||e===y._while;this.context.push(t?G.p_stat:G.p_expr),this.exprAllowed=!0},y.incDec.updateContext=function(){},y._function.updateContext=y._class.updateContext=function(e){e.beforeExpr&&e!==y.semi&&e!==y._else&&(e!==y.colon&&e!==y.braceL||this.curContext()!==G.b_stat)?this.context.push(G.f_expr):this.context.push(G.f_stat),this.exprAllowed=!1},y.backQuote.updateContext=function(){this.curContext()===G.q_tmpl?this.context.pop():this.context.push(G.q_tmpl),this.exprAllowed=!1},y.star.updateContext=function(e){if(e===y._function){var t=this.context.length-1;this.context[t]===G.f_expr?this.context[t]=G.f_expr_gen:this.context[t]=G.f_gen}this.exprAllowed=!0},y.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==y.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var J={$LONE:["ASCII","ASCII_Hex_Digit","AHex","Alphabetic","Alpha","Any","Assigned","Bidi_Control","Bidi_C","Bidi_Mirrored","Bidi_M","Case_Ignorable","CI","Cased","Changes_When_Casefolded","CWCF","Changes_When_Casemapped","CWCM","Changes_When_Lowercased","CWL","Changes_When_NFKC_Casefolded","CWKCF","Changes_When_Titlecased","CWT","Changes_When_Uppercased","CWU","Dash","Default_Ignorable_Code_Point","DI","Deprecated","Dep","Diacritic","Dia","Emoji","Emoji_Component","Emoji_Modifier","Emoji_Modifier_Base","Emoji_Presentation","Extender","Ext","Grapheme_Base","Gr_Base","Grapheme_Extend","Gr_Ext","Hex_Digit","Hex","IDS_Binary_Operator","IDSB","IDS_Trinary_Operator","IDST","ID_Continue","IDC","ID_Start","IDS","Ideographic","Ideo","Join_Control","Join_C","Logical_Order_Exception","LOE","Lowercase","Lower","Math","Noncharacter_Code_Point","NChar","Pattern_Syntax","Pat_Syn","Pattern_White_Space","Pat_WS","Quotation_Mark","QMark","Radical","Regional_Indicator","RI","Sentence_Terminal","STerm","Soft_Dotted","SD","Terminal_Punctuation","Term","Unified_Ideograph","UIdeo","Uppercase","Upper","Variation_Selector","VS","White_Space","space","XID_Continue","XIDC","XID_Start","XIDS"],General_Category:["Cased_Letter","LC","Close_Punctuation","Pe","Connector_Punctuation","Pc","Control","Cc","cntrl","Currency_Symbol","Sc","Dash_Punctuation","Pd","Decimal_Number","Nd","digit","Enclosing_Mark","Me","Final_Punctuation","Pf","Format","Cf","Initial_Punctuation","Pi","Letter","L","Letter_Number","Nl","Line_Separator","Zl","Lowercase_Letter","Ll","Mark","M","Combining_Mark","Math_Symbol","Sm","Modifier_Letter","Lm","Modifier_Symbol","Sk","Nonspacing_Mark","Mn","Number","N","Open_Punctuation","Ps","Other","C","Other_Letter","Lo","Other_Number","No","Other_Punctuation","Po","Other_Symbol","So","Paragraph_Separator","Zp","Private_Use","Co","Punctuation","P","punct","Separator","Z","Space_Separator","Zs","Spacing_Mark","Mc","Surrogate","Cs","Symbol","S","Titlecase_Letter","Lt","Unassigned","Cn","Uppercase_Letter","Lu"],Script:["Adlam","Adlm","Ahom","Anatolian_Hieroglyphs","Hluw","Arabic","Arab","Armenian","Armn","Avestan","Avst","Balinese","Bali","Bamum","Bamu","Bassa_Vah","Bass","Batak","Batk","Bengali","Beng","Bhaiksuki","Bhks","Bopomofo","Bopo","Brahmi","Brah","Braille","Brai","Buginese","Bugi","Buhid","Buhd","Canadian_Aboriginal","Cans","Carian","Cari","Caucasian_Albanian","Aghb","Chakma","Cakm","Cham","Cherokee","Cher","Common","Zyyy","Coptic","Copt","Qaac","Cuneiform","Xsux","Cypriot","Cprt","Cyrillic","Cyrl","Deseret","Dsrt","Devanagari","Deva","Duployan","Dupl","Egyptian_Hieroglyphs","Egyp","Elbasan","Elba","Ethiopic","Ethi","Georgian","Geor","Glagolitic","Glag","Gothic","Goth","Grantha","Gran","Greek","Grek","Gujarati","Gujr","Gurmukhi","Guru","Han","Hani","Hangul","Hang","Hanunoo","Hano","Hatran","Hatr","Hebrew","Hebr","Hiragana","Hira","Imperial_Aramaic","Armi","Inherited","Zinh","Qaai","Inscriptional_Pahlavi","Phli","Inscriptional_Parthian","Prti","Javanese","Java","Kaithi","Kthi","Kannada","Knda","Katakana","Kana","Kayah_Li","Kali","Kharoshthi","Khar","Khmer","Khmr","Khojki","Khoj","Khudawadi","Sind","Lao","Laoo","Latin","Latn","Lepcha","Lepc","Limbu","Limb","Linear_A","Lina","Linear_B","Linb","Lisu","Lycian","Lyci","Lydian","Lydi","Mahajani","Mahj","Malayalam","Mlym","Mandaic","Mand","Manichaean","Mani","Marchen","Marc","Masaram_Gondi","Gonm","Meetei_Mayek","Mtei","Mende_Kikakui","Mend","Meroitic_Cursive","Merc","Meroitic_Hieroglyphs","Mero","Miao","Plrd","Modi","Mongolian","Mong","Mro","Mroo","Multani","Mult","Myanmar","Mymr","Nabataean","Nbat","New_Tai_Lue","Talu","Newa","Nko","Nkoo","Nushu","Nshu","Ogham","Ogam","Ol_Chiki","Olck","Old_Hungarian","Hung","Old_Italic","Ital","Old_North_Arabian","Narb","Old_Permic","Perm","Old_Persian","Xpeo","Old_South_Arabian","Sarb","Old_Turkic","Orkh","Oriya","Orya","Osage","Osge","Osmanya","Osma","Pahawh_Hmong","Hmng","Palmyrene","Palm","Pau_Cin_Hau","Pauc","Phags_Pa","Phag","Phoenician","Phnx","Psalter_Pahlavi","Phlp","Rejang","Rjng","Runic","Runr","Samaritan","Samr","Saurashtra","Saur","Sharada","Shrd","Shavian","Shaw","Siddham","Sidd","SignWriting","Sgnw","Sinhala","Sinh","Sora_Sompeng","Sora","Soyombo","Soyo","Sundanese","Sund","Syloti_Nagri","Sylo","Syriac","Syrc","Tagalog","Tglg","Tagbanwa","Tagb","Tai_Le","Tale","Tai_Tham","Lana","Tai_Viet","Tavt","Takri","Takr","Tamil","Taml","Tangut","Tang","Telugu","Telu","Thaana","Thaa","Thai","Tibetan","Tibt","Tifinagh","Tfng","Tirhuta","Tirh","Ugaritic","Ugar","Vai","Vaii","Warang_Citi","Wara","Yi","Yiii","Zanabazar_Square","Zanb"]};Array.prototype.push.apply(J.$LONE,J.General_Category),J.gc=J.General_Category,J.sc=J.Script_Extensions=J.scx=J.Script;var X=R.prototype,$=function RegExpValidationState(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function codePointToString$1(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function isSyntaxCharacter(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function isRegExpIdentifierStart(e){return isIdentifierStart(e,!0)||36===e||95===e}function isRegExpIdentifierPart(e){return isIdentifierChar(e,!0)||36===e||95===e||8204===e||8205===e}function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}function isCharacterClassEscape(e){return 100===e||68===e||115===e||83===e||119===e||87===e}function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||95===e}function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}function isDecimalDigit(e){return e>=48&&e<=57}function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function isOctalDigit(e){return e>=48&&e<=55}$.prototype.reset=function reset(e,t,n){var r=-1!==n.indexOf("u");this.start=0|e,this.source=t+"",this.flags=n,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},$.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},$.prototype.at=function at(e){var t=this.source,n=t.length;if(e>=n)return-1;var r=t.charCodeAt(e);return!this.switchU||r<=55295||r>=57344||e+1>=n?r:(r<<10)+t.charCodeAt(e+1)-56613888},$.prototype.nextIndex=function nextIndex(e){var t=this.source,n=t.length;if(e>=n)return n;var r=t.charCodeAt(e);return!this.switchU||r<=55295||r>=57344||e+1>=n?e+1:e+2},$.prototype.current=function current(){return this.at(this.pos)},$.prototype.lookahead=function lookahead(){return this.at(this.nextIndex(this.pos))},$.prototype.advance=function advance(){this.pos=this.nextIndex(this.pos)},$.prototype.eat=function eat(e){return this.current()===e&&(this.advance(),!0)},X.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=0;r-1&&this.raise(e.start,"Duplicate regular expression flag")}},X.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},X.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},X.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},X.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},X.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return-1!==i&&i=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},X.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},X.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},X.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!isSyntaxCharacter(t)&&(e.lastIntValue=t,e.advance(),!0)},X.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;-1!==(n=e.current())&&!isSyntaxCharacter(n);)e.advance();return e.pos!==t},X.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t)&&(e.advance(),!0)},X.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},X.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},X.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=codePointToString$1(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=codePointToString$1(e.lastIntValue);return!0}return!1},X.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=e.current();return e.advance(),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(n=e.lastIntValue),isRegExpIdentifierStart(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},X.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=e.current();return e.advance(),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(n=e.lastIntValue),isRegExpIdentifierPart(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},X.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},X.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},X.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},X.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},X.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},X.regexp_eatZero=function(e){return 48===e.current()&&!isDecimalDigit(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},X.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},X.regexp_eatControlLetter=function(e){var t=e.current();return!!isControlLetter(t)&&(e.lastIntValue=t%32,e.advance(),!0)},X.regexp_eatRegExpUnicodeEscapeSequence=function(e){var t,n=e.pos;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var r=e.lastIntValue;if(e.switchU&&r>=55296&&r<=56319){var i=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=1024*(r-55296)+(a-56320)+65536,!0}e.pos=i,e.lastIntValue=r}return!0}if(e.switchU&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&((t=e.lastIntValue)>=0&&t<=1114111))return!0;e.switchU&&e.raise("Invalid unicode escape"),e.pos=n}return!1},X.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t)&&(e.lastIntValue=t,e.advance(),!0)},X.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1},X.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},X.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1},X.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){J.hasOwnProperty(t)&&-1!==J[t].indexOf(n)||e.raise("Invalid property name")},X.regexp_validateUnicodePropertyNameOrValue=function(e,t){-1===J.$LONE.indexOf(t)&&e.raise("Invalid property name")},X.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";isUnicodePropertyNameCharacter(t=e.current());)e.lastStringValue+=codePointToString$1(t),e.advance();return""!==e.lastStringValue},X.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";isUnicodePropertyValueCharacter(t=e.current());)e.lastStringValue+=codePointToString$1(t),e.advance();return""!==e.lastStringValue},X.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},X.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},X.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;!e.switchU||-1!==t&&-1!==n||e.raise("Invalid character class"),-1!==t&&-1!==n&&t>n&&e.raise("Range out of order in character class")}}},X.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(99===n||isOctalDigit(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},X.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},X.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!isDecimalDigit(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},X.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},X.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;isDecimalDigit(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},X.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;isHexDigit(n=e.current());)e.lastIntValue=16*e.lastIntValue+hexToInt(n),e.advance();return e.pos!==t},X.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*n+e.lastIntValue:e.lastIntValue=8*t+n}else e.lastIntValue=t;return!0}return!1},X.regexp_eatOctalDigit=function(e){var t=e.current();return isOctalDigit(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},X.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r>10),56320+(1023&e)))}Q.next=function(){this.options.onToken&&this.options.onToken(new Z(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Q.getToken=function(){return this.next(),new Z(this)},"undefined"!=typeof Symbol&&(Q[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===y.eof,value:t}}}}),Q.curContext=function(){return this.context[this.context.length-1]},Q.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(y.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Q.readToken=function(e){return isIdentifierStart(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},Q.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},Q.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(v.lastIndex=n;(e=v.exec(this.input))&&e.index8&&e<14||e>=5760&&_.test(String.fromCharCode(e))))break e;++this.pos}}},Q.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},Q.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(y.ellipsis)):(++this.pos,this.finishToken(y.dot))},Q.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(y.assign,2):this.finishOp(y.slash,1)},Q.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?y.star:y.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++n,r=y.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(y.assign,n+1):this.finishOp(r,n)},Q.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?y.logicalOR:y.logicalAND,2):61===t?this.finishOp(y.assign,2):this.finishOp(124===e?y.bitwiseOR:y.bitwiseAND,1)},Q.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(y.assign,2):this.finishOp(y.bitwiseXOR,1)},Q.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!b.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(y.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(y.assign,2):this.finishOp(y.plusMin,1)},Q.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(y.assign,n+1):this.finishOp(y.bitShift,n)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(y.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Q.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(y.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(y.arrow)):this.finishOp(61===e?y.eq:y.prefix,1)},Q.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(y.parenL);case 41:return++this.pos,this.finishToken(y.parenR);case 59:return++this.pos,this.finishToken(y.semi);case 44:return++this.pos,this.finishToken(y.comma);case 91:return++this.pos,this.finishToken(y.bracketL);case 93:return++this.pos,this.finishToken(y.bracketR);case 123:return++this.pos,this.finishToken(y.braceL);case 125:return++this.pos,this.finishToken(y.braceR);case 58:return++this.pos,this.finishToken(y.colon);case 63:return++this.pos,this.finishToken(y.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(y.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(y.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString(e)+"'")},Q.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},Q.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(b.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if("["===r)t=!0;else if("]"===r&&t)t=!1;else if("/"===r&&!t)break;e="\\"===r}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var a=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(a);var s=this.regexpState||(this.regexpState=new $(this));s.reset(n,i,o),this.validateRegExpFlags(s),this.validateRegExpPattern(s);var u=null;try{u=new RegExp(i,o)}catch(e){}return this.finishToken(y.regexp,{pattern:i,flags:o,value:u})},Q.readInt=function(e,t){for(var n=this.pos,r=0,i=0,a=null==t?1/0:t;i=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=e)break;++this.pos,r=r*e+s}return this.pos===n||null!=t&&this.pos-n!==t?null:r},Q.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,t)},Q.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number"),n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1);var r=this.input.charCodeAt(this.pos);46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i=this.input.slice(t,this.pos),a=n?parseInt(i,8):parseFloat(i);return this.finishToken(y.num,a)},Q.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},Q.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(isNewLine(r,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(y.string,t)};var Y={};Q.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==Y)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Q.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Y;this.raise(e,t)},Q.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==y.template&&this.type!==y.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(y.template,e)):36===n?(this.pos+=2,this.finishToken(y.dollarBraceL)):(++this.pos,this.finishToken(y.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(isNewLine(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Q.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}return String.fromCharCode(t)}},Q.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},Q.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.posi;)K(e,n=r[i++],t[n]);return e},X=function propertyIsEnumerable(e){var t=L.call(this,e=x(e,!0));return!(this===U&&i(B,e)&&!i(F,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,N)&&this[N][e])||t)},$=function getOwnPropertyDescriptor(e,t){if(e=_(e),t=x(t,!0),e!==U||!i(B,t)||i(F,t)){var n=O(e,t);return!n||!i(B,t)||i(e,N)&&e[N][t]||(n.enumerable=!0),n}},Z=function getOwnPropertyNames(e){for(var t,n=R(_(e)),r=[],a=0;n.length>a;)i(B,t=n[a++])||t==N||t==u||r.push(t);return r},Q=function getOwnPropertySymbols(e){for(var t,n=e===U,r=R(n?F:_(e)),a=[],o=0;r.length>o;)!i(B,t=r[o++])||n&&!i(U,t)||a.push(B[t]);return a};V||(s((j=function Symbol(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===U&&t.call(F,n),i(this,N)&&i(this[N],e)&&(this[N][e]=!1),z(this,e,w(1,n))};return a&&W&&z(U,e,{configurable:!0,set:t}),H(e)}).prototype,"toString",function toString(){return this._k}),E.f=$,C.f=K,n(53).f=k.f=Z,n(73).f=X,n(81).f=Q,a&&!n(49)&&s(U,"propertyIsEnumerable",X,!0),d.f=function(e){return H(h(e))}),o(o.G+o.W+o.F*!V,{Symbol:j});for(var Y="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Y.length>ee;)h(Y[ee++]);for(var te=P(h.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!V,"Symbol",{for:function(e){return i(D,e+="")?D[e]:D[e]=j(e)},keyFor:function keyFor(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in D)if(D[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),o(o.S+o.F*!V,"Object",{create:function create(e,t){return void 0===t?S(e):J(S(e),t)},defineProperty:K,defineProperties:J,getOwnPropertyDescriptor:$,getOwnPropertyNames:Z,getOwnPropertySymbols:Q}),A&&o(o.S+o.F*(!V||c(function(){var e=j();return"[null]"!=I([e])||"{}"!=I({a:e})||"{}"!=I(Object(e))})),"JSON",{stringify:function stringify(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(v(t)||void 0!==e)&&!G(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,I.apply(A,r)}}),j.prototype[M]||n(23)(j.prototype,M,j.prototype.valueOf),p(j,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(e,t,n){var r=n(50),i=n(81),a=n(73);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,c=0;s.length>c;)u.call(e,o=s[c++])&&t.push(o);return t}},function(e,t,n){var r=n(2);r(r.S,"Object",{create:n(52)})},function(e,t,n){var r=n(2);r(r.S+r.F*!n(14),"Object",{defineProperty:n(13).f})},function(e,t,n){var r=n(2);r(r.S+r.F*!n(14),"Object",{defineProperties:n(170)})},function(e,t,n){var r=n(24),i=n(30).f;n(31)("getOwnPropertyDescriptor",function(){return function getOwnPropertyDescriptor(e,t){return i(r(e),t)}})},function(e,t,n){var r=n(20),i=n(54);n(31)("getPrototypeOf",function(){return function getPrototypeOf(e){return i(r(e))}})},function(e,t,n){var r=n(20),i=n(50);n(31)("keys",function(){return function keys(e){return i(r(e))}})},function(e,t,n){n(31)("getOwnPropertyNames",function(){return n(171).f})},function(e,t,n){var r=n(8),i=n(42).onFreeze;n(31)("freeze",function(e){return function freeze(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(8),i=n(42).onFreeze;n(31)("seal",function(e){return function seal(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(8),i=n(42).onFreeze;n(31)("preventExtensions",function(e){return function preventExtensions(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(8);n(31)("isFrozen",function(e){return function isFrozen(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(8);n(31)("isSealed",function(e){return function isSealed(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(8);n(31)("isExtensible",function(e){return function isExtensible(t){return!!r(t)&&(!e||e(t))}})},function(e,t,n){var r=n(2);r(r.S+r.F,"Object",{assign:n(172)})},function(e,t,n){var r=n(2);r(r.S,"Object",{is:n(173)})},function(e,t,n){var r=n(2);r(r.S,"Object",{setPrototypeOf:n(121).set})},function(e,t,n){"use strict";var r=n(74),i={};i[n(10)("toStringTag")]="z",i+""!="[object z]"&&n(19)(Object.prototype,"toString",function toString(){return"[object "+r(this)+"]"},!0)},function(e,t,n){var r=n(2);r(r.P,"Function",{bind:n(174)})},function(e,t,n){var r=n(13).f,i=Function.prototype,a=/^\s*function ([^ (]*)/;"name"in i||n(14)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(8),i=n(54),a=n(10)("hasInstance"),o=Function.prototype;a in o||n(13).f(o,a,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(2),i=n(176);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(e,t,n){var r=n(2),i=n(177);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(e,t,n){"use strict";var r=n(7),i=n(22),a=n(37),o=n(123),s=n(41),u=n(5),c=n(53).f,l=n(30).f,p=n(13).f,f=n(82).trim,h=r.Number,d=h,m=h.prototype,g="Number"==a(n(52)(m)),y="trim"in String.prototype,b=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){var n,r,i,a=(t=y?t.trim():f(t,3)).charCodeAt(0);if(43===a||45===a){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===a){switch(t.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+t}for(var o,u=t.slice(2),c=0,l=u.length;ci)return NaN;return parseInt(u,r)}}return+t};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function Number(e){var t=arguments.length<1?0:e,n=this;return n instanceof h&&(g?u(function(){m.valueOf.call(n)}):"Number"!=a(n))?o(new d(b(t)),n,h):b(t)};for(var v,_=n(14)?c(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;_.length>x;x++)i(d,v=_[x])&&!i(h,v)&&p(h,v,l(d,v));h.prototype=m,m.constructor=h,n(19)(r,"Number",h)}},function(e,t,n){"use strict";var r=n(2),i=n(29),a=n(178),o=n(124),s=1..toFixed,u=Math.floor,c=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",p=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*c[n],c[n]=r%1e7,r=u(r/1e7)},f=function(e){for(var t=6,n=0;--t>=0;)n+=c[t],c[t]=u(n/e),n=n%e*1e7},h=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==c[e]){var n=String(c[e]);t=""===t?n:t+o.call("0",7-n.length)+n}return t},d=function(e,t,n){return 0===t?n:t%2==1?d(e,t-1,n*e):d(e*e,t/2,n)},m=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(5)(function(){s.call({})})),"Number",{toFixed:function toFixed(e){var t,n,r,s,u=a(this,l),c=i(e),g="",y="0";if(c<0||c>20)throw RangeError(l);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(g="-",u=-u),u>1e-21)if(n=(t=m(u*d(2,69,1))-69)<0?u*d(2,-t,1):u/d(2,t,1),n*=4503599627370496,(t=52-t)>0){for(p(0,n),r=c;r>=7;)p(1e7,0),r-=7;for(p(d(10,r,1),0),r=t-1;r>=23;)f(1<<23),r-=23;f(1<0?g+((s=y.length)<=c?"0."+o.call("0",c-s)+y:y.slice(0,s-c)+"."+y.slice(s-c)):g+y}})},function(e,t,n){"use strict";var r=n(2),i=n(5),a=n(178),o=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==o.call(1,void 0)})||!i(function(){o.call({})})),"Number",{toPrecision:function toPrecision(e){var t=a(this,"Number#toPrecision: incorrect invocation!");return void 0===e?o.call(t):o.call(t,e)}})},function(e,t,n){var r=n(2);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(2),i=n(7).isFinite;r(r.S,"Number",{isFinite:function isFinite(e){return"number"==typeof e&&i(e)}})},function(e,t,n){var r=n(2);r(r.S,"Number",{isInteger:n(179)})},function(e,t,n){var r=n(2);r(r.S,"Number",{isNaN:function isNaN(e){return e!=e}})},function(e,t,n){var r=n(2),i=n(179),a=Math.abs;r(r.S,"Number",{isSafeInteger:function isSafeInteger(e){return i(e)&&a(e)<=9007199254740991}})},function(e,t,n){var r=n(2);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(2);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(2),i=n(177);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(e,t,n){var r=n(2),i=n(176);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(e,t,n){var r=n(2),i=n(180),a=Math.sqrt,o=Math.acosh;r(r.S+r.F*!(o&&710==Math.floor(o(Number.MAX_VALUE))&&o(1/0)==1/0),"Math",{acosh:function acosh(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:i(e-1+a(e-1)*a(e+1))}})},function(e,t,n){var r=n(2),i=Math.asinh;r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:function asinh(e){return isFinite(e=+e)&&0!=e?e<0?-asinh(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(e,t,n){var r=n(2),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function atanh(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(2),i=n(125);r(r.S,"Math",{cbrt:function cbrt(e){return i(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{clz32:function clz32(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(2),i=Math.exp;r(r.S,"Math",{cosh:function cosh(e){return(i(e=+e)+i(-e))/2}})},function(e,t,n){var r=n(2),i=n(126);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(e,t,n){var r=n(2);r(r.S,"Math",{fround:n(311)})},function(e,t,n){var r=n(125),i=Math.pow,a=i(2,-52),o=i(2,-23),s=i(2,127)*(2-o),u=i(2,-126);e.exports=Math.fround||function fround(e){var t,n,i=Math.abs(e),c=r(e);return is||n!=n?c*(1/0):c*n}},function(e,t,n){var r=n(2),i=Math.abs;r(r.S,"Math",{hypot:function hypot(e,t){for(var n,r,a=0,o=0,s=arguments.length,u=0;o0?(r=n/u)*r:n;return u===1/0?1/0:u*Math.sqrt(a)}})},function(e,t,n){var r=n(2),i=Math.imul;r(r.S+r.F*n(5)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function imul(e,t){var n=+e,r=+t,i=65535&n,a=65535&r;return 0|i*a+((65535&n>>>16)*a+i*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{log10:function log10(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(2);r(r.S,"Math",{log1p:n(180)})},function(e,t,n){var r=n(2);r(r.S,"Math",{log2:function log2(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(2);r(r.S,"Math",{sign:n(125)})},function(e,t,n){var r=n(2),i=n(126),a=Math.exp;r(r.S+r.F*n(5)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function sinh(e){return Math.abs(e=+e)<1?(i(e)-i(-e))/2:(a(e-1)-a(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(2),i=n(126),a=Math.exp;r(r.S,"Math",{tanh:function tanh(e){var t=i(e=+e),n=i(-e);return t==1/0?1:n==1/0?-1:(t-n)/(a(e)+a(-e))}})},function(e,t,n){var r=n(2);r(r.S,"Math",{trunc:function trunc(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){var r=n(2),i=n(51),a=String.fromCharCode,o=String.fromCodePoint;r(r.S+r.F*(!!o&&1!=o.length),"String",{fromCodePoint:function fromCodePoint(e){for(var t,n=[],r=arguments.length,o=0;r>o;){if(t=+arguments[o++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?a(t):a(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){var r=n(2),i=n(24),a=n(12);r(r.S,"String",{raw:function raw(e){for(var t=i(e.raw),n=a(t.length),r=arguments.length,o=[],s=0;n>s;)o.push(String(t[s++])),s=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";var r=n(2),i=n(127)(!1);r(r.P,"String",{codePointAt:function codePointAt(e){return i(this,e)}})},function(e,t,n){"use strict";var r=n(2),i=n(12),a=n(129),o="".endsWith;r(r.P+r.F*n(131)("endsWith"),"String",{endsWith:function endsWith(e){var t=a(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=i(t.length),s=void 0===n?r:Math.min(i(n),r),u=String(e);return o?o.call(t,u,s):t.slice(s-u.length,s)===u}})},function(e,t,n){"use strict";var r=n(2),i=n(129);r(r.P+r.F*n(131)("includes"),"String",{includes:function includes(e){return!!~i(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(2);r(r.P,"String",{repeat:n(124)})},function(e,t,n){"use strict";var r=n(2),i=n(12),a=n(129),o="".startsWith;r(r.P+r.F*n(131)("startsWith"),"String",{startsWith:function startsWith(e){var t=a(this,e,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return o?o.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n(21)("anchor",function(e){return function anchor(t){return e(this,"a","name",t)}})},function(e,t,n){"use strict";n(21)("big",function(e){return function big(){return e(this,"big","","")}})},function(e,t,n){"use strict";n(21)("blink",function(e){return function blink(){return e(this,"blink","","")}})},function(e,t,n){"use strict";n(21)("bold",function(e){return function bold(){return e(this,"b","","")}})},function(e,t,n){"use strict";n(21)("fixed",function(e){return function fixed(){return e(this,"tt","","")}})},function(e,t,n){"use strict";n(21)("fontcolor",function(e){return function fontcolor(t){return e(this,"font","color",t)}})},function(e,t,n){"use strict";n(21)("fontsize",function(e){return function fontsize(t){return e(this,"font","size",t)}})},function(e,t,n){"use strict";n(21)("italics",function(e){return function italics(){return e(this,"i","","")}})},function(e,t,n){"use strict";n(21)("link",function(e){return function link(t){return e(this,"a","href",t)}})},function(e,t,n){"use strict";n(21)("small",function(e){return function small(){return e(this,"small","","")}})},function(e,t,n){"use strict";n(21)("strike",function(e){return function strike(){return e(this,"strike","","")}})},function(e,t,n){"use strict";n(21)("sub",function(e){return function sub(){return e(this,"sub","","")}})},function(e,t,n){"use strict";n(21)("sup",function(e){return function sup(){return e(this,"sup","","")}})},function(e,t,n){var r=n(2);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(2),i=n(20),a=n(41);r(r.P+r.F*n(5)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function toJSON(e){var t=i(this),n=a(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(2),i=n(346);r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(e,t,n){"use strict";var r=n(5),i=Date.prototype.getTime,a=Date.prototype.toISOString,o=function(e){return e>9?e:"0"+e};e.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=a.call(new Date(-5e13-1))})||!r(function(){a.call(new Date(NaN))})?function toISOString(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+o(e.getUTCMonth()+1)+"-"+o(e.getUTCDate())+"T"+o(e.getUTCHours())+":"+o(e.getUTCMinutes())+":"+o(e.getUTCSeconds())+"."+(n>99?n:"0"+o(n))+"Z"}:a},function(e,t,n){var r=Date.prototype,i=r.toString,a=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(19)(r,"toString",function toString(){var e=a.call(this);return e==e?i.call(this):"Invalid Date"})},function(e,t,n){var r=n(10)("toPrimitive"),i=Date.prototype;r in i||n(23)(i,r,n(349))},function(e,t,n){"use strict";var r=n(6),i=n(41);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return i(r(this),"number"!=e)}},function(e,t,n){var r=n(2);r(r.S,"Array",{isArray:n(119)})},function(e,t,n){"use strict";var r=n(35),i=n(2),a=n(20),o=n(182),s=n(132),u=n(12),c=n(133),l=n(134);i(i.S+i.F*!n(83)(function(e){Array.from(e)}),"Array",{from:function from(e){var t,n,i,p,f=a(e),h="function"==typeof this?this:Array,d=arguments.length,m=d>1?arguments[1]:void 0,g=void 0!==m,y=0,b=l(f);if(g&&(m=r(m,d>2?arguments[2]:void 0,2)),null==b||h==Array&&s(b))for(n=new h(t=u(f.length));t>y;y++)c(n,y,g?m(f[y],y):f[y]);else for(p=b.call(f),n=new h;!(i=p.next()).done;y++)c(n,y,g?o(p,m,[i.value,y],!0):i.value);return n.length=y,n}})},function(e,t,n){"use strict";var r=n(2),i=n(133);r(r.S+r.F*n(5)(function(){function F(){}return!(Array.of.call(F)instanceof F)}),"Array",{of:function of(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(2),i=n(24),a=[].join;r(r.P+r.F*(n(72)!=Object||!n(27)(a)),"Array",{join:function join(e){return a.call(i(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(2),i=n(120),a=n(37),o=n(51),s=n(12),u=[].slice;r(r.P+r.F*n(5)(function(){i&&u.call(i)}),"Array",{slice:function slice(e,t){var n=s(this.length),r=a(this);if(t=void 0===t?n:t,"Array"==r)return u.call(this,e,t);for(var i=o(e,n),c=o(t,n),l=s(c-i),p=new Array(l),f=0;f1&&(r=Math.min(r,a(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},function(e,t,n){var r=n(2);r(r.P,"Array",{copyWithin:n(184)}),n(60)("copyWithin")},function(e,t,n){var r=n(2);r(r.P,"Array",{fill:n(135)}),n(60)("fill")},function(e,t,n){"use strict";var r=n(2),i=n(32)(5),a=!0;"find"in[]&&Array(1).find(function(){a=!1}),r(r.P+r.F*a,"Array",{find:function find(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(60)("find")},function(e,t,n){"use strict";var r=n(2),i=n(32)(6),a="findIndex",o=!0;a in[]&&Array(1)[a](function(){o=!1}),r(r.P+r.F*o,"Array",{findIndex:function findIndex(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(60)(a)},function(e,t,n){n(61)("Array")},function(e,t,n){var r=n(7),i=n(123),a=n(13).f,o=n(53).f,s=n(130),u=n(84),c=r.RegExp,l=c,p=c.prototype,f=/a/g,h=/a/g,d=new c(f)!==f;if(n(14)&&(!d||n(5)(function(){return h[n(10)("match")]=!1,c(f)!=f||c(h)==h||"/a/i"!=c(f,"i")}))){c=function RegExp(e,t){var n=this instanceof c,r=s(e),a=void 0===t;return!n&&r&&e.constructor===c&&a?e:i(d?new l(r&&!a?e.source:e,t):l((r=e instanceof c)?e.source:e,r&&a?u.call(e):t),n?this:p,c)};for(var m=function(e){e in c||a(c,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})},g=o(l),y=0;g.length>y;)m(g[y++]);p.constructor=c,c.prototype=p,n(19)(r,"RegExp",c)}n(61)("RegExp")},function(e,t,n){"use strict";n(187);var r=n(6),i=n(84),a=n(14),o=/./.toString,s=function(e){n(19)(RegExp.prototype,"toString",e,!0)};n(5)(function(){return"/a/b"!=o.call({source:"a",flags:"b"})})?s(function toString(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!a&&e instanceof RegExp?i.call(e):void 0)}):"toString"!=o.name&&s(function toString(){return o.call(this)})},function(e,t,n){"use strict";var r=n(6),i=n(12),a=n(138),o=n(85);n(86)("match",1,function(e,t,n,s){return[function match(n){var r=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=s(n,e,this);if(t.done)return t.value;var u=r(e),c=String(this);if(!u.global)return o(u,c);var l=u.unicode;u.lastIndex=0;for(var p,f=[],h=0;null!==(p=o(u,c));){var d=String(p[0]);f[h]=d,""===d&&(u.lastIndex=a(c,i(u.lastIndex),l)),h++}return 0===h?null:f}]})},function(e,t,n){"use strict";var r=n(6),i=n(20),a=n(12),o=n(29),s=n(138),u=n(85),c=Math.max,l=Math.min,p=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;n(86)("replace",2,function(e,t,n,d){return[function replace(r,i){var a=e(this),o=null==r?void 0:r[t];return void 0!==o?o.call(r,a,i):n.call(String(a),r,i)},function(e,t){var i=d(n,e,this,t);if(i.done)return i.value;var p=r(e),f=String(this),h="function"==typeof t;h||(t=String(t));var m=p.global;if(m){var g=p.unicode;p.lastIndex=0}for(var y=[];;){var b=u(p,f);if(null===b)break;if(y.push(b),!m)break;""===String(b[0])&&(p.lastIndex=s(f,a(p.lastIndex),g))}for(var v,_="",x=0,w=0;w=x&&(_+=f.slice(x,k)+T,x=k+S.length)}return _+f.slice(x)}];function getSubstitution(e,t,r,a,o,s){var u=r+e.length,c=a.length,l=h;return void 0!==o&&(o=i(o),l=f),n.call(s,l,function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(u);case"<":s=o[i.slice(1,-1)];break;default:var l=+i;if(0===l)return n;if(l>c){var f=p(l/10);return 0===f?n:f<=c?void 0===a[f-1]?i.charAt(1):a[f-1]+i.charAt(1):n}s=a[l-1]}return void 0===s?"":s})}})},function(e,t,n){"use strict";var r=n(6),i=n(173),a=n(85);n(86)("search",1,function(e,t,n,o){return[function search(n){var r=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=o(n,e,this);if(t.done)return t.value;var s=r(e),u=String(this),c=s.lastIndex;i(c,0)||(s.lastIndex=0);var l=a(s,u);return i(s.lastIndex,c)||(s.lastIndex=c),null===l?-1:l.index}]})},function(e,t,n){"use strict";var r=n(130),i=n(6),a=n(75),o=n(138),s=n(12),u=n(85),c=n(137),l=Math.min,p=[].push,f=!!function(){try{return new RegExp("x","y")}catch(e){}}();n(86)("split",2,function(e,t,n,h){var d;return d="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(i,e,t);for(var a,o,s,u=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,h=void 0===t?4294967295:t>>>0,d=new RegExp(e.source,l+"g");(a=c.call(d,i))&&!((o=d.lastIndex)>f&&(u.push(i.slice(f,a.index)),a.length>1&&a.index=h));)d.lastIndex===a.index&&d.lastIndex++;return f===i.length?!s&&d.test("")||u.push(""):u.push(i.slice(f)),u.length>h?u.slice(0,h):u}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function split(n,r){var i=e(this),a=null==n?void 0:n[t];return void 0!==a?a.call(n,i,r):d.call(String(i),n,r)},function(e,t){var r=h(d,e,this,t,d!==n);if(r.done)return r.value;var c=i(e),p=String(this),m=a(c,RegExp),g=c.unicode,y=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(f?"y":"g"),b=new m(f?c:"^(?:"+c.source+")",y),v=void 0===t?4294967295:t>>>0;if(0===v)return[];if(0===p.length)return null===u(b,p)?[p]:[];for(var _=0,x=0,w=[];x0?arguments[0]:void 0)}},{get:function get(e){var t=r.getEntry(i(this,"Map"),e);return t&&t.v},set:function set(e,t){return r.def(i(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){"use strict";var r=n(191),i=n(64);e.exports=n(89)("Set",function(e){return function Set(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function add(e){return r.def(i(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r,i=n(32)(0),a=n(19),o=n(42),s=n(172),u=n(192),c=n(8),l=n(5),p=n(64),f=o.getWeak,h=Object.isExtensible,d=u.ufstore,m={},g=function(e){return function WeakMap(){return e(this,arguments.length>0?arguments[0]:void 0)}},y={get:function get(e){if(c(e)){var t=f(e);return!0===t?d(p(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function set(e,t){return u.def(p(this,"WeakMap"),e,t)}},b=e.exports=n(89)("WeakMap",g,y,u,!0,!0);l(function(){return 7!=(new b).set((Object.freeze||Object)(m),7).get(m)})&&(s((r=u.getConstructor(g,"WeakMap")).prototype,y),o.NEED=!0,i(["delete","has","get","set"],function(e){var t=b.prototype,n=t[e];a(t,e,function(t,i){if(c(t)&&!h(t)){this._f||(this._f=new r);var a=this._f[e](t,i);return"set"==e?this:a}return n.call(this,t,i)})}))},function(e,t,n){"use strict";var r=n(192),i=n(64);n(89)("WeakSet",function(e){return function WeakSet(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function add(e){return r.def(i(this,"WeakSet"),e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(2),i=n(90),a=n(140),o=n(6),s=n(51),u=n(12),c=n(8),l=n(7).ArrayBuffer,p=n(75),f=a.ArrayBuffer,h=a.DataView,d=i.ABV&&l.isView,m=f.prototype.slice,g=i.VIEW;r(r.G+r.W+r.F*(l!==f),{ArrayBuffer:f}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function isView(e){return d&&d(e)||c(e)&&g in e}}),r(r.P+r.U+r.F*n(5)(function(){return!new f(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function slice(e,t){if(void 0!==m&&void 0===t)return m.call(o(this),e);for(var n=o(this).byteLength,r=s(e,n),i=s(void 0===t?n:t,n),a=new(p(this,f))(u(i-r)),c=new h(this),l=new h(a),d=0;r=t.length)return{value:void 0,done:!0}}while(!((e=t[this._i++])in this._t));return{value:e,done:!1}}),r(r.S,"Reflect",{enumerate:function enumerate(e){return new a(e)}})},function(e,t,n){var r=n(30),i=n(54),a=n(22),o=n(2),s=n(8),u=n(6);o(o.S,"Reflect",{get:function get(e,t){var n,o,c=arguments.length<3?e:arguments[2];return u(e)===c?e[t]:(n=r.f(e,t))?a(n,"value")?n.value:void 0!==n.get?n.get.call(c):void 0:s(o=i(e))?get(o,t,c):void 0}})},function(e,t,n){var r=n(30),i=n(2),a=n(6);i(i.S,"Reflect",{getOwnPropertyDescriptor:function getOwnPropertyDescriptor(e,t){return r.f(a(e),t)}})},function(e,t,n){var r=n(2),i=n(54),a=n(6);r(r.S,"Reflect",{getPrototypeOf:function getPrototypeOf(e){return i(a(e))}})},function(e,t,n){var r=n(2);r(r.S,"Reflect",{has:function has(e,t){return t in e}})},function(e,t,n){var r=n(2),i=n(6),a=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function isExtensible(e){return i(e),!a||a(e)}})},function(e,t,n){var r=n(2);r(r.S,"Reflect",{ownKeys:n(194)})},function(e,t,n){var r=n(2),i=n(6),a=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function preventExtensions(e){i(e);try{return a&&a(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(13),i=n(30),a=n(54),o=n(22),s=n(2),u=n(47),c=n(6),l=n(8);s(s.S,"Reflect",{set:function set(e,t,n){var s,p,f=arguments.length<4?e:arguments[3],h=i.f(c(e),t);if(!h){if(l(p=a(e)))return set(p,t,n,f);h=u(0)}if(o(h,"value")){if(!1===h.writable||!l(f))return!1;if(s=i.f(f,t)){if(s.get||s.set||!1===s.writable)return!1;s.value=n,r.f(f,t,s)}else r.f(f,t,u(0,n));return!0}return void 0!==h.set&&(h.set.call(f,n),!0)}})},function(e,t,n){var r=n(2),i=n(121);i&&r(r.S,"Reflect",{setPrototypeOf:function setPrototypeOf(e,t){i.check(e,t);try{return i.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){n(410),e.exports=n(15).Array.includes},function(e,t,n){"use strict";var r=n(2),i=n(80)(!0);r(r.P,"Array",{includes:function includes(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(60)("includes")},function(e,t,n){n(412),e.exports=n(15).String.padStart},function(e,t,n){"use strict";var r=n(2),i=n(195),a=n(88);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(a),"String",{padStart:function padStart(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){n(414),e.exports=n(15).String.padEnd},function(e,t,n){"use strict";var r=n(2),i=n(195),a=n(88);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(a),"String",{padEnd:function padEnd(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){n(416),e.exports=n(116).f("asyncIterator")},function(e,t,n){n(168)("asyncIterator")},function(e,t,n){n(418),e.exports=n(15).Object.getOwnPropertyDescriptors},function(e,t,n){var r=n(2),i=n(194),a=n(24),o=n(30),s=n(133);r(r.S,"Object",{getOwnPropertyDescriptors:function getOwnPropertyDescriptors(e){for(var t,n,r=a(e),u=o.f,c=i(r),l={},p=0;c.length>p;)void 0!==(n=u(r,t=c[p++]))&&s(l,t,n);return l}})},function(e,t,n){n(420),e.exports=n(15).Object.values},function(e,t,n){var r=n(2),i=n(196)(!1);r(r.S,"Object",{values:function values(e){return i(e)}})},function(e,t,n){n(422),e.exports=n(15).Object.entries},function(e,t,n){var r=n(2),i=n(196)(!0);r(r.S,"Object",{entries:function entries(e){return i(e)}})},function(e,t,n){"use strict";n(188),n(424),e.exports=n(15).Promise.finally},function(e,t,n){"use strict";var r=n(2),i=n(15),a=n(7),o=n(75),s=n(190);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){n(426),n(427),n(428),e.exports=n(15)},function(e,t,n){var r=n(7),i=n(2),a=n(88),o=[].slice,s=/MSIE .\./.test(a),u=function(e){return function(t,n){var r=arguments.length>2,i=!!r&&o.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,n)}};i(i.G+i.B+i.F*s,{setTimeout:u(r.setTimeout),setInterval:u(r.setInterval)})},function(e,t,n){var r=n(2),i=n(139);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){for(var r=n(136),i=n(50),a=n(19),o=n(7),s=n(23),u=n(59),c=n(10),l=c("iterator"),p=c("toStringTag"),f=u.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=i(h),m=0;m=0;--r){var a=this.tryEntries[r],o=a.completion;if("root"===a.tryLoc)return handle("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(s&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),resetTryEntry(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;resetTryEntry(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:values(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function wrap(e,t,n,r){var i=t&&t.prototype instanceof Generator?t:Generator,a=Object.create(i.prototype),o=new Context(r||[]);return a._invoke=makeInvokeMethod(e,n,o),a}function tryCatch(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}function defineIteratorMethods(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function AsyncIterator(e){function invoke(t,n,r,a){var o=tryCatch(e[t],e,n);if("throw"!==o.type){var s=o.arg,u=s.value;return u&&"object"==typeof u&&i.call(u,"__await")?Promise.resolve(u.__await).then(function(e){invoke("next",e,r,a)},function(e){invoke("throw",e,r,a)}):Promise.resolve(u).then(function(e){s.value=e,r(s)},function(e){return invoke("throw",e,r,a)})}a(o.arg)}var t;this._invoke=function enqueue(e,n){function callInvokeWithMethodAndArg(){return new Promise(function(t,r){invoke(e,n,t,r)})}return t=t?t.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}function makeInvokeMethod(e,t,n){var r=p;return function invoke(i,a){if(r===h)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return doneResult()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=maybeInvokeDelegate(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var u=tryCatch(e,t,n);if("normal"===u.type){if(r=n.done?d:f,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}function maybeInvokeDelegate(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,maybeInvokeDelegate(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=tryCatch(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function pushTryEntry(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function resetTryEntry(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function next(){for(;++r [class*="loader-container"] {\n display: inline-block;\n}\n.buttons---btn---2jZHN > [class*="loader-container"] > [class*="loader"] {\n margin-top: 2px;\n margin-right: 8px;\n}\n.buttons---btn-default---1wWXD {\n color: #222;\n background-color: #fbfbfb;\n background-image: -webkit-linear-gradient(top, #fbfbfb 0%, #ececec 100%);\n background-image: -moz-linear-gradient(top, #fbfbfb 0%, #ececec 100%);\n background-image: -o-linear-gradient(top, #fbfbfb 0%, #ececec 100%);\n background-image: -ms-linear-gradient(top, #fbfbfb 0%, #ececec 100%);\n background-image: linear-gradient(to bottom, #fbfbfb 0%, #ececec 100%);\n background-repeat: repeat-x;\n border-color: #ccc;\n}\n.buttons---btn-default---1wWXD:active,\n.buttons---btn-default---1wWXD.buttons---active---2-a32 {\n color: #222;\n background-color: #eee;\n background-image: none;\n border-color: #bbb;\n -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.1) inset;\n box-shadow: 0 1px 4px rgba(0,0,0,0.1) inset;\n}\n.buttons---btn-default---1wWXD:focus,\n.buttons---btn-default---1wWXD.buttons---focus---1kVJZ {\n color: #222;\n border-color: #0096cc;\n}\n.buttons---btn-default---1wWXD:hover,\n.buttons---btn-default---1wWXD.buttons---hover---42FF2 {\n color: #222;\n background-color: #fff;\n background-image: -webkit-linear-gradient(top, #fff 0%, #f5f5f5 100%);\n background-image: -moz-linear-gradient(top, #fff 0%, #f5f5f5 100%);\n background-image: -o-linear-gradient(top, #fff 0%, #f5f5f5 100%);\n background-image: -ms-linear-gradient(top, #fff 0%, #f5f5f5 100%);\n background-image: linear-gradient(to bottom, #fff 0%, #f5f5f5 100%);\n background-repeat: repeat-x;\n border-color: #999;\n}\n.buttons---btn-default---1wWXD.buttons---disabled---eCY9b:hover,\n.buttons---btn-default---1wWXD[disabled]:hover,\nfieldset[disabled] .buttons---btn-default---1wWXD:hover,\n.buttons---btn-default---1wWXD.buttons---disabled---eCY9b.buttons---hover---42FF2,\n.buttons---btn-default---1wWXD[disabled].buttons---hover---42FF2,\nfieldset[disabled] .buttons---btn-default---1wWXD.buttons---hover---42FF2,\n.buttons---btn-default---1wWXD.buttons---disabled---eCY9b:focus,\n.buttons---btn-default---1wWXD[disabled]:focus,\nfieldset[disabled] .buttons---btn-default---1wWXD:focus,\n.buttons---btn-default---1wWXD.buttons---disabled---eCY9b.buttons---focus---1kVJZ,\n.buttons---btn-default---1wWXD[disabled].buttons---focus---1kVJZ,\nfieldset[disabled] .buttons---btn-default---1wWXD.buttons---focus---1kVJZ {\n background-color: #fbfbfb;\n background-image: -webkit-linear-gradient(top, #fbfbfb 0%, #ececec 100%);\n background-image: -moz-linear-gradient(top, #fbfbfb 0%, #ececec 100%);\n background-image: -o-linear-gradient(top, #fbfbfb 0%, #ececec 100%);\n background-image: -ms-linear-gradient(top, #fbfbfb 0%, #ececec 100%);\n background-image: linear-gradient(to bottom, #fbfbfb 0%, #ececec 100%);\n background-repeat: repeat-x;\n border-color: #ccc;\n}\n.buttons---btn-primary---Wp1wb {\n color: #fff;\n background-color: #0096cc;\n background-image: -webkit-linear-gradient(top, #00a7e6 0%, #0096cc 100%);\n background-image: -moz-linear-gradient(top, #00a7e6 0%, #0096cc 100%);\n background-image: -o-linear-gradient(top, #00a7e6 0%, #0096cc 100%);\n background-image: -ms-linear-gradient(top, #00a7e6 0%, #0096cc 100%);\n background-image: linear-gradient(to bottom, #00a7e6 0%, #0096cc 100%);\n background-repeat: repeat-x;\n border-color: #0095ce;\n}\n.buttons---btn-primary---Wp1wb > [class*="loader-container"] > [class*="loader"] {\n border-color: rgba(255,255,255,0.4);\n border-left-color: #fff;\n}\n.buttons---btn-primary---Wp1wb:active,\n.buttons---btn-primary---Wp1wb.buttons---active---2-a32 {\n color: #fff;\n background-color: #009ed8;\n background-image: none;\n border-color: #00759f;\n -webkit-box-shadow: 0 1px 6px rgba(0,0,0,0.15) inset;\n box-shadow: 0 1px 6px rgba(0,0,0,0.15) inset;\n}\n.buttons---btn-primary---Wp1wb:focus,\n.buttons---btn-primary---Wp1wb.buttons---focus---1kVJZ {\n color: #fff;\n border-color: #444;\n -webkit-box-shadow: 0 0 1px #fff inset;\n box-shadow: 0 0 1px #fff inset;\n}\n.buttons---btn-primary---Wp1wb:hover,\n.buttons---btn-primary---Wp1wb.buttons---hover---42FF2 {\n color: #fff;\n background-color: #1daee5;\n background-image: -webkit-linear-gradient(top, #1daee5 0%, #00a3df 100%);\n background-image: -moz-linear-gradient(top, #1daee5 0%, #00a3df 100%);\n background-image: -o-linear-gradient(top, #1daee5 0%, #00a3df 100%);\n background-image: -ms-linear-gradient(top, #1daee5 0%, #00a3df 100%);\n background-image: linear-gradient(to bottom, #1daee5 0%, #00a3df 100%);\n background-repeat: repeat-x;\n border-color: #00759f;\n}\n.buttons---btn-primary---Wp1wb.buttons---disabled---eCY9b:hover,\n.buttons---btn-primary---Wp1wb[disabled]:hover,\nfieldset[disabled] .buttons---btn-primary---Wp1wb:hover,\n.buttons---btn-primary---Wp1wb.buttons---disabled---eCY9b.buttons---hover---42FF2,\n.buttons---btn-primary---Wp1wb[disabled].buttons---hover---42FF2,\nfieldset[disabled] .buttons---btn-primary---Wp1wb.buttons---hover---42FF2,\n.buttons---btn-primary---Wp1wb.buttons---disabled---eCY9b:focus,\n.buttons---btn-primary---Wp1wb[disabled]:focus,\nfieldset[disabled] .buttons---btn-primary---Wp1wb:focus,\n.buttons---btn-primary---Wp1wb.buttons---disabled---eCY9b.buttons---focus---1kVJZ,\n.buttons---btn-primary---Wp1wb[disabled].buttons---focus---1kVJZ,\nfieldset[disabled] .buttons---btn-primary---Wp1wb.buttons---focus---1kVJZ {\n background-color: #0096cc;\n background-image: -webkit-linear-gradient(top, #00a7e6 0%, #0096cc 100%);\n background-image: -moz-linear-gradient(top, #00a7e6 0%, #0096cc 100%);\n background-image: -o-linear-gradient(top, #00a7e6 0%, #0096cc 100%);\n background-image: -ms-linear-gradient(top, #00a7e6 0%, #0096cc 100%);\n background-image: linear-gradient(to bottom, #00a7e6 0%, #0096cc 100%);\n background-repeat: repeat-x;\n border-color: #0095ce;\n}\n.buttons---btn-danger---1UUqU {\n color: #fff;\n background-color: #db3d44;\n background-image: -webkit-linear-gradient(top, #e15054 0%, #db3d44 100%);\n background-image: -moz-linear-gradient(top, #e15054 0%, #db3d44 100%);\n background-image: -o-linear-gradient(top, #e15054 0%, #db3d44 100%);\n background-image: -ms-linear-gradient(top, #e15054 0%, #db3d44 100%);\n background-image: linear-gradient(to bottom, #e15054 0%, #db3d44 100%);\n background-repeat: repeat-x;\n border-color: #d8262b;\n}\n.buttons---btn-danger---1UUqU:active,\n.buttons---btn-danger---1UUqU.buttons---active---2-a32 {\n color: #fff;\n background-color: #e15054;\n background-image: none;\n border-color: #c22327;\n -webkit-box-shadow: 0 1px 6px rgba(0,0,0,0.15) inset;\n box-shadow: 0 1px 6px rgba(0,0,0,0.15) inset;\n}\n.buttons---btn-danger---1UUqU:focus,\n.buttons---btn-danger---1UUqU.buttons---focus---1kVJZ {\n color: #fff;\n border-color: #444;\n -webkit-box-shadow: 0 0 1px #fff inset;\n box-shadow: 0 0 1px #fff inset;\n}\n.buttons---btn-danger---1UUqU:hover,\n.buttons---btn-danger---1UUqU.buttons---hover---42FF2 {\n color: #fff;\n background-color: #e15f5f;\n background-image: -webkit-linear-gradient(top, #e15f5f 0%, #e15054 100%);\n background-image: -moz-linear-gradient(top, #e15f5f 0%, #e15054 100%);\n background-image: -o-linear-gradient(top, #e15f5f 0%, #e15054 100%);\n background-image: -ms-linear-gradient(top, #e15f5f 0%, #e15054 100%);\n background-image: linear-gradient(to bottom, #e15f5f 0%, #e15054 100%);\n background-repeat: repeat-x;\n border-color: #c22327;\n}\n.buttons---btn-danger---1UUqU.buttons---disabled---eCY9b:hover,\n.buttons---btn-danger---1UUqU[disabled]:hover,\nfieldset[disabled] .buttons---btn-danger---1UUqU:hover,\n.buttons---btn-danger---1UUqU.buttons---disabled---eCY9b.buttons---hover---42FF2,\n.buttons---btn-danger---1UUqU[disabled].buttons---hover---42FF2,\nfieldset[disabled] .buttons---btn-danger---1UUqU.buttons---hover---42FF2,\n.buttons---btn-danger---1UUqU.buttons---disabled---eCY9b:focus,\n.buttons---btn-danger---1UUqU[disabled]:focus,\nfieldset[disabled] .buttons---btn-danger---1UUqU:focus,\n.buttons---btn-danger---1UUqU.buttons---disabled---eCY9b.buttons---focus---1kVJZ,\n.buttons---btn-danger---1UUqU[disabled].buttons---focus---1kVJZ,\nfieldset[disabled] .buttons---btn-danger---1UUqU.buttons---focus---1kVJZ {\n background-color: #db3d44;\n background-image: -webkit-linear-gradient(top, #e15054 0%, #db3d44 100%);\n background-image: -moz-linear-gradient(top, #e15054 0%, #db3d44 100%);\n background-image: -o-linear-gradient(top, #e15054 0%, #db3d44 100%);\n background-image: -ms-linear-gradient(top, #e15054 0%, #db3d44 100%);\n background-image: linear-gradient(to bottom, #e15054 0%, #db3d44 100%);\n background-repeat: repeat-x;\n border-color: #d8262b;\n}\n.buttons---btn-border---1O58b {\n color: #222;\n background-color: #fff;\n background-image: -webkit-linear-gradient(top, #fff 0%, #fff 100%);\n background-image: -moz-linear-gradient(top, #fff 0%, #fff 100%);\n background-image: -o-linear-gradient(top, #fff 0%, #fff 100%);\n background-image: -ms-linear-gradient(top, #fff 0%, #fff 100%);\n background-image: linear-gradient(to bottom, #fff 0%, #fff 100%);\n background-repeat: repeat-x;\n border-color: #ccc;\n -webkit-transition: all 0.2s linear 0s;\n -moz-transition: all 0.2s linear 0s;\n -o-transition: all 0.2s linear 0s;\n -ms-transition: all 0.2s linear 0s;\n transition: all 0.2s linear 0s;\n}\n.buttons---btn-border---1O58b:hover,\n.buttons---btn-border---1O58b.buttons---hover---42FF2 {\n color: #222;\n background-color: #f4f4f4;\n background-image: -webkit-linear-gradient(top, #f4f4f4 0%, #f4f4f4 100%);\n background-image: -moz-linear-gradient(top, #f4f4f4 0%, #f4f4f4 100%);\n background-image: -o-linear-gradient(top, #f4f4f4 0%, #f4f4f4 100%);\n background-image: -ms-linear-gradient(top, #f4f4f4 0%, #f4f4f4 100%);\n background-image: linear-gradient(to bottom, #f4f4f4 0%, #f4f4f4 100%);\n background-repeat: repeat-x;\n border-color: #999;\n}\n.buttons---btn-border---1O58b:focus,\n.buttons---btn-border---1O58b.buttons---focus---1kVJZ {\n color: #222;\n border-color: #0096cc;\n}\n.buttons---btn-border---1O58b:active,\n.buttons---btn-border---1O58b.buttons---active---2-a32,\n.buttons---open---1ju75 > .buttons---dropdown-toggle---vMtjL.buttons---btn-border---1O58b {\n color: #222;\n background-color: #eee;\n background-image: none;\n border-color: #bbb;\n -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.1) inset;\n box-shadow: 0px 1px 2px rgba(0,0,0,0.1) inset;\n}\n.buttons---btn-border---1O58b:active:hover,\n.buttons---btn-border---1O58b.buttons---active---2-a32:hover,\n.buttons---open---1ju75 > .buttons---dropdown-toggle---vMtjL.buttons---btn-border---1O58b:hover,\n.buttons---btn-border---1O58b:active.buttons---hover---42FF2,\n.buttons---btn-border---1O58b.buttons---active---2-a32.buttons---hover---42FF2,\n.buttons---open---1ju75 > .buttons---dropdown-toggle---vMtjL.buttons---btn-border---1O58b.buttons---hover---42FF2,\n.buttons---btn-border---1O58b:active:focus,\n.buttons---btn-border---1O58b.buttons---active---2-a32:focus,\n.buttons---open---1ju75 > .buttons---dropdown-toggle---vMtjL.buttons---btn-border---1O58b:focus,\n.buttons---btn-border---1O58b:active.buttons---focus---1kVJZ,\n.buttons---btn-border---1O58b.buttons---active---2-a32.buttons---focus---1kVJZ,\n.buttons---open---1ju75 > .buttons---dropdown-toggle---vMtjL.buttons---btn-border---1O58b.buttons---focus---1kVJZ {\n color: #222;\n border-color: #bbb;\n -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1) inset;\n box-shadow: 0 1px 2px rgba(0,0,0,0.1) inset;\n}\n.buttons---btn-border---1O58b.buttons---disabled---eCY9b,\n.buttons---btn-border---1O58b[disabled],\nfieldset[disabled] .buttons---btn-border---1O58b {\n opacity: 0.4;\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";\n filter: alpha(opacity=40);\n cursor: not-allowed;\n}\n.buttons---btn-border---1O58b.buttons---disabled---eCY9b:hover,\n.buttons---btn-border---1O58b[disabled]:hover,\nfieldset[disabled] .buttons---btn-border---1O58b:hover,\n.buttons---btn-border---1O58b.buttons---disabled---eCY9b.buttons---hover---42FF2,\n.buttons---btn-border---1O58b[disabled].buttons---hover---42FF2,\nfieldset[disabled] .buttons---btn-border---1O58b.buttons---hover---42FF2,\n.buttons---btn-border---1O58b.buttons---disabled---eCY9b:focus,\n.buttons---btn-border---1O58b[disabled]:focus,\nfieldset[disabled] .buttons---btn-border---1O58b:focus,\n.buttons---btn-border---1O58b.buttons---disabled---eCY9b.buttons---focus---1kVJZ,\n.buttons---btn-border---1O58b[disabled].buttons---focus---1kVJZ,\nfieldset[disabled] .buttons---btn-border---1O58b.buttons---focus---1kVJZ {\n background-color: #fff;\n background-image: -webkit-linear-gradient(top, #fff 0%, #fff 100%);\n background-image: -moz-linear-gradient(top, #fff 0%, #fff 100%);\n background-image: -o-linear-gradient(top, #fff 0%, #fff 100%);\n background-image: -ms-linear-gradient(top, #fff 0%, #fff 100%);\n background-image: linear-gradient(to bottom, #fff 0%, #fff 100%);\n background-repeat: repeat-x;\n border-color: #ccc;\n}\n.buttons---btn-link---1xwS4 {\n padding-right: 0;\n padding-left: 0;\n font-weight: normal;\n color: #0096cc;\n border-radius: 0;\n}\n.buttons---btn-link---1xwS4,\n.buttons---btn-link---1xwS4:active,\n.buttons---btn-link---1xwS4.buttons---active---2-a32,\n.buttons---btn-link---1xwS4.buttons---disabled---eCY9b,\n.buttons---btn-link---1xwS4[disabled],\nfieldset[disabled] .buttons---btn-link---1xwS4 {\n background-color: transparent;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.buttons---btn-link---1xwS4,\n.buttons---btn-link---1xwS4:hover,\n.buttons---btn-link---1xwS4.buttons---hover---42FF2,\n.buttons---btn-link---1xwS4:focus,\n.buttons---btn-link---1xwS4:active {\n border-color: transparent;\n}\n.buttons---btn-link---1xwS4:hover,\n.buttons---btn-link---1xwS4.buttons---hover---42FF2,\n.buttons---btn-link---1xwS4:focus {\n color: #db3d44;\n text-decoration: underline;\n background-color: transparent;\n}\n.buttons---btn-link---1xwS4.buttons---disabled---eCY9b:hover,\n.buttons---btn-link---1xwS4[disabled]:hover,\nfieldset[disabled] .buttons---btn-link---1xwS4:hover,\n.buttons---btn-link---1xwS4.buttons---disabled---eCY9b.buttons---hover---42FF2,\n.buttons---btn-link---1xwS4[disabled].buttons---hover---42FF2,\nfieldset[disabled] .buttons---btn-link---1xwS4.buttons---hover---42FF2,\n.buttons---btn-link---1xwS4.buttons---disabled---eCY9b:focus,\n.buttons---btn-link---1xwS4[disabled]:focus,\nfieldset[disabled] .buttons---btn-link---1xwS4:focus,\n.buttons---btn-link---1xwS4.buttons---disabled---eCY9b.buttons---focus---1kVJZ,\n.buttons---btn-link---1xwS4[disabled].buttons---focus---1kVJZ,\nfieldset[disabled] .buttons---btn-link---1xwS4.buttons---focus---1kVJZ {\n color: #e6e6e6;\n text-decoration: none;\n}\n.buttons---btn-lg---2xtUV,\n.buttons---btn-group-lg---3C8An > .buttons---btn---2jZHN {\n padding: 9px 12px;\n font-size: 16px;\n line-height: 24px;\n border-radius: 3px;\n}\n.buttons---btn-lg---2xtUV.buttons---btn-compact---mXDAU,\n.buttons---btn-group-lg---3C8An > .buttons---btn---2jZHN.buttons---btn-compact---mXDAU {\n padding-left: 0;\n padding-right: 0;\n min-width: 58px;\n}\n.buttons---btn-md---HRR_F,\n.buttons---btn-group-md---3FQVP > .buttons---btn---2jZHN {\n padding: 5px 12px;\n font-size: 13px;\n line-height: 20px;\n border-radius: 3px;\n}\n.buttons---btn-md---HRR_F.buttons---btn-compact---mXDAU,\n.buttons---btn-group-md---3FQVP > .buttons---btn---2jZHN.buttons---btn-compact---mXDAU {\n padding-left: 0;\n padding-right: 0;\n min-width: 42px;\n}\n.buttons---btn-sm---3cNnY,\n.buttons---btn-group-sm---3_QLf > .buttons---btn---2jZHN {\n padding: 4px 12px;\n font-size: 12px;\n line-height: 18px;\n border-radius: 3px;\n}\n.buttons---btn-sm---3cNnY.buttons---btn-compact---mXDAU,\n.buttons---btn-group-sm---3_QLf > .buttons---btn---2jZHN.buttons---btn-compact---mXDAU {\n padding-left: 0;\n padding-right: 0;\n min-width: 36px;\n}\n.buttons---btn-xs---2eEDQ,\n.buttons---btn-group-xs---1c4pb > .buttons---btn---2jZHN {\n padding: 1px 12px;\n font-size: 12px;\n line-height: 18px;\n border-radius: 3px;\n}\n.buttons---btn-xs---2eEDQ.buttons---btn-compact---mXDAU,\n.buttons---btn-group-xs---1c4pb > .buttons---btn---2jZHN.buttons---btn-compact---mXDAU {\n padding-left: 0;\n padding-right: 0;\n min-width: 28px;\n}\n.buttons---btn-block---1nSNV {\n display: block;\n width: 100%;\n}\n.buttons---btn-block---1nSNV.buttons---btn---2jZHN + .buttons---btn-block---1nSNV.buttons---btn---2jZHN,\n.buttons---btn-block---1nSNV + .buttons---btn-block---1nSNV {\n margin-left: 0;\n margin-top: 8px;\n}\ninput[type="submit"].buttons---btn-block---1nSNV,\ninput[type="reset"].buttons---btn-block---1nSNV,\ninput[type="button"].buttons---btn-block---1nSNV {\n width: 100%;\n}\n.buttons---btn-group---1jaDo,\n.buttons---btn-group-vertical---3Lm1e {\n position: relative;\n display: inline-block;\n vertical-align: top;\n}\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN {\n position: relative;\n float: left;\n}\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN:hover,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN:hover,\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN.buttons---hover---42FF2,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN.buttons---hover---42FF2,\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN:active,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN:active,\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN.buttons---active---2-a32,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN.buttons---active---2-a32 {\n z-index: 2;\n}\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN:focus,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN:focus,\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN.buttons---focus---1kVJZ,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN.buttons---focus---1kVJZ {\n z-index: 3;\n}\n.buttons---btn-group---1jaDo .buttons---btn---2jZHN + .buttons---btn---2jZHN,\n.buttons---btn-group---1jaDo .buttons---btn---2jZHN + .buttons---btn-group---1jaDo,\n.buttons---btn-group---1jaDo .buttons---btn-group---1jaDo + .buttons---btn---2jZHN,\n.buttons---btn-group---1jaDo .buttons---btn-group---1jaDo + .buttons---btn-group---1jaDo {\n margin-left: -1px;\n}\n.buttons---btn-group---1jaDo + .buttons---btn-group---1jaDo {\n margin-left: 8px;\n}\n.buttons---btn-toolbar---2-GfJ {\n margin-left: -5px;\n zoom: 1;\n}\n.buttons---btn-toolbar---2-GfJ:before,\n.buttons---btn-toolbar---2-GfJ:after {\n content: "";\n display: table;\n}\n.buttons---btn-toolbar---2-GfJ:after {\n clear: both;\n}\n.buttons---btn-toolbar---2-GfJ .buttons---btn---2jZHN,\n.buttons---btn-toolbar---2-GfJ .buttons---btn-group---1jaDo,\n.buttons---btn-toolbar---2-GfJ .buttons---input-group---1T18I {\n float: left;\n}\n.buttons---btn-toolbar---2-GfJ > .buttons---btn---2jZHN,\n.buttons---btn-toolbar---2-GfJ > .buttons---btn-group---1jaDo,\n.buttons---btn-toolbar---2-GfJ > .buttons---input-group---1T18I {\n margin-left: 5px;\n}\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN:not(:first-child):not(:last-child):not(.buttons---dropdown-toggle---vMtjL) {\n border-radius: 0;\n}\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN:first-child {\n margin-left: 0;\n}\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN:first-child:not(:last-child):not(.buttons---dropdown-toggle---vMtjL) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN:last-child:not(:first-child),\n.buttons---btn-group---1jaDo > .buttons---dropdown-toggle---vMtjL:not(:first-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.buttons---btn-group---1jaDo > .buttons---btn-group---1jaDo {\n float: left;\n}\n.buttons---btn-group---1jaDo > .buttons---btn-group---1jaDo:not(:first-child):not(:last-child) > .buttons---btn---2jZHN {\n border-radius: 0;\n}\n.buttons---btn-group---1jaDo > .buttons---btn-group---1jaDo:first-child:not(:last-child) > .buttons---btn---2jZHN:last-child,\n.buttons---btn-group---1jaDo > .buttons---btn-group---1jaDo:first-child:not(:last-child) > .buttons---dropdown-toggle---vMtjL {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.buttons---btn-group---1jaDo > .buttons---btn-group---1jaDo:last-child:not(:first-child) > .buttons---btn---2jZHN:first-child {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.buttons---btn-group---1jaDo .buttons---dropdown-toggle---vMtjL:active,\n.buttons---btn-group---1jaDo.buttons---open---1ju75 .buttons---dropdown-toggle---vMtjL {\n outline: 0;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo > .buttons---btn---2jZHN {\n display: block;\n float: none;\n width: 100%;\n max-width: 100%;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo {\n zoom: 1;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo:before,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo:after {\n content: "";\n display: table;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo:after {\n clear: both;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo > .buttons---btn---2jZHN {\n float: none;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN + .buttons---btn---2jZHN,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN + .buttons---btn-group---1jaDo,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo + .buttons---btn---2jZHN,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo + .buttons---btn-group---1jaDo {\n margin-top: -1px;\n margin-left: 0;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN:first-child:not(:last-child) {\n border-top-radius: 3px;\n border-bottom-radius: 0;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN:last-child:not(:first-child) {\n border-top-radius: 0;\n border-bottom-radius: 3px;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo:not(:first-child):not(:last-child) > .buttons---btn---2jZHN {\n border-radius: 0;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo:first-child:not(:last-child) > .buttons---btn---2jZHN:last-child,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo:first-child:not(:last-child) > .buttons---dropdown-toggle---vMtjL {\n border-bottom-radius: 0;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo:last-child:not(:first-child) > .buttons---btn---2jZHN:first-child {\n border-top-radius: 0;\n}\n.buttons---btn-group-justified---3qB9u {\n display: table;\n width: 100%;\n table-layout: fixed;\n border-collapse: separate;\n}\n.buttons---btn-group-justified---3qB9u > .buttons---btn---2jZHN,\n.buttons---btn-group-justified---3qB9u > .buttons---btn-group---1jaDo {\n float: none;\n display: table-cell;\n width: 1%;\n}\n.buttons---btn-group-justified---3qB9u > .buttons---btn-group---1jaDo .buttons---btn---2jZHN {\n width: 100%;\n}\n.buttons---btn-group-justified---3qB9u > .buttons---btn-group---1jaDo .buttons---dropdown-menu---1fkH0 {\n left: auto;\n}\n.buttons---dropdown-toggle---vMtjL {\n min-width: 0;\n}\n.buttons---dropdown-toggle---vMtjL.buttons---btn---2jZHN {\n text-align: left;\n padding-left: 12px;\n padding-right: 12px;\n}\n.buttons---dropdown-toggle---vMtjL.buttons---btn-compact---mXDAU {\n text-align: center;\n}\n.buttons---dropdown-toggle---vMtjL.buttons---btn-link---1xwS4 {\n color: #222;\n padding-left: 0;\n padding-right: 0;\n text-decoration: none;\n}\n.buttons---dropdown-toggle---vMtjL.buttons---btn-link---1xwS4:hover,\n.buttons---dropdown-toggle---vMtjL.buttons---btn-link---1xwS4:hover > * {\n color: #0096cc;\n}\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN + .buttons---dropdown-toggle---vMtjL {\n padding-left: 8px;\n padding-right: 8px;\n min-width: 0;\n}\n.buttons---btn-group---1jaDo > .buttons---btn-lg---2xtUV + .buttons---dropdown-toggle---vMtjL {\n padding-left: 12px;\n padding-right: 12px;\n}\n[data-toggle="buttons"] > .buttons---btn---2jZHN input[type="radio"],\n[data-toggle="buttons"] > .buttons---btn-group---1jaDo > .buttons---btn---2jZHN input[type="radio"],\n[data-toggle="buttons"] > .buttons---btn---2jZHN input[type="checkbox"],\n[data-toggle="buttons"] > .buttons---btn-group---1jaDo > .buttons---btn---2jZHN input[type="checkbox"] {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n pointer-events: none;\n}\n.buttons---btn---2jZHN.buttons---btn-compact---mXDAU .fa {\n margin-right: 0;\n}\n.buttons---btn---2jZHN .fa {\n font-size: 14px;\n margin-right: 8px;\n}\n.buttons---btn---2jZHN i.fa,\n.buttons---btn---2jZHN span.fa {\n font-size: 14px;\n color: #666;\n}\n.buttons---btn-primary---Wp1wb i.fa,\n.buttons---btn-danger---1UUqU i.fa,\n.buttons---btn-primary---Wp1wb span.fa,\n.buttons---btn-danger---1UUqU span.fa {\n color: inherit;\n}\n.buttons---btn-lg---2xtUV.buttons---btn---2jZHN i.fa,\n.buttons---btn-sm---3cNnY.buttons---btn---2jZHN i.fa,\n.buttons---btn-xs---2eEDQ.buttons---btn---2jZHN i.fa,\n.buttons---btn-lg---2xtUV.buttons---btn---2jZHN span.fa,\n.buttons---btn-sm---3cNnY.buttons---btn---2jZHN span.fa,\n.buttons---btn-xs---2eEDQ.buttons---btn---2jZHN span.fa {\n font-size: inherit;\n}\n.buttons---btn-lg---2xtUV.buttons---btn---2jZHN i.svg,\n.buttons---btn-lg---2xtUV.buttons---btn---2jZHN span.svg {\n width: 24px;\n height: 24px;\n}\n.buttons---btn---2jZHN i.svg,\n.buttons---btn---2jZHN span.svg {\n width: 16px;\n height: 16px;\n}\n.buttons---btn-sm---3cNnY.buttons---btn---2jZHN i.svg,\n.buttons---btn-xs---2eEDQ.buttons---btn---2jZHN i.svg,\n.buttons---btn-sm---3cNnY.buttons---btn---2jZHN span.svg,\n.buttons---btn-xs---2eEDQ.buttons---btn---2jZHN span.svg {\n width: 12px;\n height: 12px;\n}',""])},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var i,a=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(a)?e:(i=0===a.indexOf("//")?a:0===a.indexOf("/")?n+a:r+a.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")})}},function(e,t,n){"use strict"; -/** @license React v16.7.0 - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var r=n(198),i="function"==typeof Symbol&&Symbol.for,a=i?Symbol.for("react.element"):60103,o=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,u=i?Symbol.for("react.strict_mode"):60108,c=i?Symbol.for("react.profiler"):60114,l=i?Symbol.for("react.provider"):60109,p=i?Symbol.for("react.context"):60110,f=i?Symbol.for("react.concurrent_mode"):60111,h=i?Symbol.for("react.forward_ref"):60112,d=i?Symbol.for("react.suspense"):60113,m=i?Symbol.for("react.memo"):60115,g=i?Symbol.for("react.lazy"):60116,y="function"==typeof Symbol&&Symbol.iterator;function aa(e,t,n,r,i,a,o,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,a,o,s],c=0;(e=Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}function D(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rC.length&&C.push(e)}function T(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var s=!1;if(null===e)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case a:case o:s=!0}}if(s)return n(r,e,""===t?"."+U(e,0):t),1;if(s=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;uthis.eventPool.length&&this.eventPool.push(e)}function jb(e){e.eventPool=[],e.getPooled=kb,e.release=lb}s(z.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=hb)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=hb)},persist:function(){this.isPersistent=hb},isPersistent:ib,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=ib,this._dispatchInstances=this._dispatchListeners=null}}),z.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},z.extend=function(e){function b(){}function c(){return t.apply(this,arguments)}var t=this;b.prototype=t.prototype;var n=new b;return s(n,c.prototype),c.prototype=n,c.prototype.constructor=c,c.Interface=s({},t.Interface,e),c.extend=t.extend,jb(c),c},jb(z);var Ee=z.extend({data:null}),Te=z.extend({data:null}),Ae=[9,13,27,32],Ie=X&&"CompositionEvent"in window,Le=null;X&&"documentMode"in document&&(Le=document.documentMode);var De=X&&"TextEvent"in window&&!Le,Ue=X&&(!Ie||Le&&8=Le),qe=String.fromCharCode(32),ze={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Ke=!1;function wb(e,t){switch(e){case"keyup":return-1!==Ae.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function xb(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Je=!1;function zb(e,t){switch(e){case"compositionend":return xb(t);case"keypress":return 32!==t.which?null:(Ke=!0,qe);case"textInput":return(e=t.data)===qe&&Ke?null:e;default:return null}}function Ab(e,t){if(Je)return"compositionend"===e||!Ie&&wb(e,t)?(e=gb(),ke=_e=be=null,Je=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1t}return!1}function E(e,t,n,r,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t}var Ct={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ct[e]=new E(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ct[t]=new E(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ct[e]=new E(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ct[e]=new E(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ct[e]=new E(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){Ct[e]=new E(e,3,!0,e,null)}),["capture","download"].forEach(function(e){Ct[e]=new E(e,4,!1,e,null)}),["cols","rows","size","span"].forEach(function(e){Ct[e]=new E(e,6,!1,e,null)}),["rowSpan","start"].forEach(function(e){Ct[e]=new E(e,5,!1,e.toLowerCase(),null)});var Pt=/[\-:]([a-z])/g;function wc(e){return e[1].toUpperCase()}function xc(e,t,n,r){var i=Ct.hasOwnProperty(t)?Ct[t]:null;(null!==i?0===i.type:!r&&(2on.length&&on.push(e)}}}var un={},cn=0,ln="_reactListenersID"+(""+Math.random()).slice(2);function Od(e){return Object.prototype.hasOwnProperty.call(e,ln)||(e[ln]=cn++,un[e[ln]]={}),un[e[ln]]}function Pd(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}}function Qd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Rd(e,t){var n,r=Qd(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Qd(r)}}function Sd(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Sd(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Td(){for(var e=window,t=Pd();t instanceof e.HTMLIFrameElement;){try{e=t.contentDocument.defaultView}catch(e){break}t=Pd(e.document)}return t}function Ud(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var pn=X&&"documentMode"in document&&11>=document.documentMode,fn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},hn=null,dn=null,mn=null,gn=!1;function ae(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return gn||null==hn||hn!==Pd(n)?null:("selectionStart"in(n=hn)&&Ud(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},mn&&jd(mn,n)?null:(mn=n,(e=z.getPooled(fn.select,dn,e,t)).type="select",e.target=hn,Ra(e),e))}var yn={eventTypes:fn,extractEvents:function(e,t,n,r){var i,a=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(i=!a)){e:{a=Od(a),i=L.onSelect;for(var o=0;o=n.length||t("93"),n=n[0]),r=n),null==r&&(r="")),e._wrapperState={initialValue:yc(r)}}function ie(e,t){var n=yc(t.value),r=yc(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function je(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}q.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),D=La,F=Ja,U=Ka,q.injectEventPluginsByName({SimpleEventPlugin:rn,EnterLeaveEventPlugin:qt,ChangeEventPlugin:At,SelectEventPlugin:yn,BeforeInputEventPlugin:et});var bn={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function me(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var vn,_n=void 0,xn=(vn=function(e,t){if(e.namespaceURI!==bn.svg||"innerHTML"in e)e.innerHTML=t;else{for((_n=_n||document.createElement("div")).innerHTML=""+t+"",t=_n.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return vn(e,t)})}:vn);function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var wn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!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},Sn=["Webkit","ms","Moz","O"];function se(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||wn.hasOwnProperty(e)&&wn[e]?(""+t).trim():t+"px"}function te(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=se(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(wn).forEach(function(e){Sn.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),wn[t]=wn[e]})});var kn=s({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ve(e,n){n&&(kn[e]&&(null!=n.children||null!=n.dangerouslySetInnerHTML)&&t("137",e,""),null!=n.dangerouslySetInnerHTML&&(null!=n.children&&t("60"),"object"==typeof n.dangerouslySetInnerHTML&&"__html"in n.dangerouslySetInnerHTML||t("61")),null!=n.style&&"object"!=typeof n.style&&t("62",""))}function we(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function xe(e,t){var n=Od(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=L[t];for(var r=0;rRn||(e.current=Tn[Rn],Tn[Rn]=null,Rn--)}function J(e,t){Tn[++Rn]=e.current,e.current=t}var jn={},An={current:jn},In={current:!1},Nn=jn;function Me(e,t){var n=e.type.contextTypes;if(!n)return jn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function M(e){return null!=(e=e.childContextTypes)}function Ne(e){I(In),I(An)}function Oe(e){I(In),I(An)}function Pe(e,n,r){An.current!==jn&&t("168"),J(An,n),J(In,r)}function Qe(e,n,r){var i=e.stateNode;if(e=n.childContextTypes,"function"!=typeof i.getChildContext)return r;for(var a in i=i.getChildContext())a in e||t("108",mc(n)||"Unknown",a);return s({},r,i)}function Re(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||jn,Nn=An.current,J(An,t),J(In,In.current),!0}function Se(e,n,r){var i=e.stateNode;i||t("169"),r?(n=Qe(e,n,Nn),i.__reactInternalMemoizedMergedChildContext=n,I(In),I(An),J(An,n)):I(In),J(In,r)}var Mn=null,Ln=null;function Ve(e){return function(t){try{return e(t)}catch(e){}}}function We(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Mn=Ve(function(e){return t.onCommitFiberRoot(n,e)}),Ln=Ve(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function Xe(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.firstContextDependency=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function N(e,t,n,r){return new Xe(e,t,n,r)}function Ye(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ze(e){if("function"==typeof e)return Ye(e)?1:0;if(null!=e){if((e=e.$$typeof)===yt)return 11;if(e===vt)return 14}return 2}function $e(e,t){var n=e.alternate;return null===n?((n=N(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.firstContextDependency=e.firstContextDependency,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function af(e,n,r,i,a,o){var s=2;if(i=e,"function"==typeof e)Ye(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case pt:return bf(r.children,a,o,n);case gt:return cf(r,3|a,o,n);case ft:return cf(r,2|a,o,n);case ht:return(e=N(12,r,n,4|a)).elementType=ht,e.type=ht,e.expirationTime=o,e;case bt:return(e=N(13,r,n,a)).elementType=bt,e.type=bt,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case dt:s=10;break e;case mt:s=9;break e;case yt:s=11;break e;case vt:s=14;break e;case _t:s=16,i=null;break e}t("130",null==e?e:typeof e,"")}return(n=N(s,r,n,a)).elementType=e,n.type=i,n.expirationTime=o,n}function bf(e,t,n,r){return(e=N(7,e,r,t)).expirationTime=n,e}function cf(e,t,n,r){return e=N(8,e,r,t),t=0==(1&t)?ft:gt,e.elementType=t,e.type=t,e.expirationTime=n,e}function df(e,t,n){return(e=N(6,e,null,t)).expirationTime=n,e}function ef(e,t,n){return(t=N(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ff(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:nt&&(e.latestPendingTime=t),gf(t,e)}function hf(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,r=e.latestPendingTime;n===t?e.earliestPendingTime=r===t?e.latestPendingTime=0:r:r===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,r=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:nt&&(e.latestSuspendedTime=t),gf(t,e)}function jf(e,t){var n=e.earliestPendingTime;return n>t&&(t=n),(e=e.earliestSuspendedTime)>t&&(t=e),t}function gf(e,t){var n=t.earliestSuspendedTime,r=t.latestSuspendedTime,i=t.earliestPendingTime,a=t.latestPingedTime;0===(i=0!==i?i:a)&&(0===e||re&&(e=n),t.nextExpirationTimeToWorkOn=i,t.expirationTime=e}var Dn=!1;function lf(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function mf(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function nf(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function of(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function pf(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,i=null;null===r&&(r=e.updateQueue=lf(e.memoizedState))}else r=e.updateQueue,i=n.updateQueue,null===r?null===i?(r=e.updateQueue=lf(e.memoizedState),i=n.updateQueue=lf(n.memoizedState)):r=e.updateQueue=mf(i):null===i&&(i=n.updateQueue=mf(r));null===i||r===i?of(r,t):null===r.lastUpdate||null===i.lastUpdate?(of(r,t),of(i,t)):(of(r,t),i.lastUpdate=t)}function qf(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=lf(e.memoizedState):rf(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function rf(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=mf(t)),t}function sf(e,t,n,r,i,a){switch(n.tag){case 1:return"function"==typeof(e=n.payload)?e.call(a,r,i):e;case 3:e.effectTag=-2049&e.effectTag|64;case 0:if(null==(i="function"==typeof(e=n.payload)?e.call(a,r,i):e))break;return s({},r,i);case 2:Dn=!0}return r}function tf(e,t,n,r,i){Dn=!1;for(var a=(t=rf(e,t)).baseState,o=null,s=0,u=t.firstUpdate,c=a;null!==u;){var l=u.expirationTime;ll?(p=u,u=null):p=u.sibling;var h=w(e,u,i[l],a);if(null===h){null===u&&(u=p);break}n&&u&&null===h.alternate&&b(e,u),t=f(h,t,l),null===s?o=h:s.sibling=h,s=h,u=p}if(l===i.length)return c(e,u),o;if(null===u){for(;lp?(h=l,l=null):h=l.sibling;var g=w(e,l,m.value,o);if(null===g){l||(l=h);break}n&&l&&null===g.alternate&&b(e,l),i=f(g,i,p),null===u?s=g:u.sibling=g,u=g,l=h}if(m.done)return c(e,l),s;if(null===l){for(;!m.done;p++,m=a.next())null!==(m=r(e,m.value,o))&&(i=f(m,i,p),null===u?s=m:u.sibling=m,u=m);return s}for(l=d(e,l);!m.done;p++,m=a.next())null!==(m=y(l,e,p,m.value,o))&&(n&&null!==m.alternate&&l.delete(null===m.key?p:m.key),i=f(m,i,p),null===u?s=m:u.sibling=m,u=m);return n&&l.forEach(function(t){return b(e,t)}),s}return function(n,r,i,a){var o="object"==typeof i&&null!==i&&i.type===pt&&null===i.key;o&&(i=i.props.children);var s="object"==typeof i&&null!==i;if(s)switch(i.$$typeof){case ct:e:{for(s=i.key,o=r;null!==o;){if(o.key===s){if(7===o.tag?i.type===pt:o.elementType===i.type){c(n,o.sibling),(r=e(o,i.type===pt?i.props.children:i.props)).ref=bg(n,o,i),r.return=n,n=r;break e}c(n,o);break}b(n,o),o=o.sibling}i.type===pt?((r=bf(i.props.children,n.mode,a,i.key)).return=n,n=r):((a=af(i.type,i.key,i.props,null,n.mode,a)).ref=bg(n,r,i),a.return=n,n=a)}return g(n);case lt:e:{for(o=i.key;null!==r;){if(r.key===o){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){c(n,r.sibling),(r=e(r,i.children||[])).return=n,n=r;break e}c(n,r);break}b(n,r),r=r.sibling}(r=ef(i,n.mode,a)).return=n,n=r}return g(n)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(c(n,r.sibling),(r=e(r,i)).return=n,n=r):(c(n,r),(r=df(i,n.mode,a)).return=n,n=r),g(n);if(Xn(i))return B(n,r,i,a);if(lc(i))return R(n,r,i,a);if(s&&cg(n,i),void 0===i&&!o)switch(n.tag){case 1:case 0:t("152",(a=n.type).displayName||a.name||"Component")}return c(n,r)}}var $n=dg(!0),Zn=dg(!1),Qn=null,Yn=null,er=!1;function jg(e,t){var n=N(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function kg(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function lg(e){if(er){var t=Yn;if(t){var n=t;if(!kg(e,t)){if(!(t=Ge(n))||!kg(e,t))return e.effectTag|=2,er=!1,void(Qn=e);jg(Qn,n)}Qn=e,Yn=He(t)}else e.effectTag|=2,er=!1,Qn=e}}function mg(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;Qn=e}function ng(e){if(e!==Qn)return!1;if(!er)return mg(e),er=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Ce(t,e.memoizedProps))for(t=Yn;t;)jg(e,t),t=Ge(t);return mg(e),Yn=Qn?Ge(e.stateNode):null,!0}function og(){Yn=Qn=null,er=!1}var tr=ot.ReactCurrentOwner;function Q(e,t,n,r){t.child=null===e?Zn(t,null,n,r):$n(t,e.child,n,r)}function qg(e,t,n,r,i){n=n.render;var a=t.ref;return Df(t),r=n(r,a),t.effectTag|=1,Q(e,t,r,i),t.child}function rg(e,t,n,r,i,a){if(null===e){var o=n.type;return"function"!=typeof o||Ye(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=af(n.type,null,r,null,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,sg(e,t,o,r,i,a))}return o=e.child,i=r?zg(e,n,r):null!==(n=tg(e,n,r))?n.sibling:null}return tg(e,n,r)}switch(n.expirationTime=0,n.tag){case 2:i=n.elementType,null!==e&&(e.alternate=null,n.alternate=null,n.effectTag|=2),e=n.pendingProps;var a=Me(n,An.current);if(Df(n),a=i(e,a),n.effectTag|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(n.tag=1,M(i)){var o=!0;Re(n)}else o=!1;n.memoizedState=null!==a.state&&void 0!==a.state?a.state:null;var s=i.getDerivedStateFromProps;"function"==typeof s&&Qf(n,i,s,e),a.updater=Jn,n.stateNode=a,a._reactInternalFiber=n,$f(n,i,e,r),n=xg(null,n,i,!0,o,r)}else n.tag=0,Q(null,n,a,r),n=n.child;return n;case 16:switch(a=n.elementType,null!==e&&(e.alternate=null,n.alternate=null,n.effectTag|=2),o=n.pendingProps,e=Nf(a),n.type=e,a=n.tag=Ze(e),o=P(e,o),s=void 0,a){case 0:s=ug(null,n,e,o,r);break;case 1:s=wg(null,n,e,o,r);break;case 11:s=qg(null,n,e,o,r);break;case 14:s=rg(null,n,e,P(e.type,o),i,r);break;default:t("306",e,"")}return s;case 0:return i=n.type,a=n.pendingProps,ug(e,n,i,a=n.elementType===i?a:P(i,a),r);case 1:return i=n.type,a=n.pendingProps,wg(e,n,i,a=n.elementType===i?a:P(i,a),r);case 3:return yg(n),null===(i=n.updateQueue)&&t("282"),a=null!==(a=n.memoizedState)?a.element:null,tf(n,i,n.pendingProps,null,r),(i=n.memoizedState.element)===a?(og(),n=tg(e,n,r)):(a=n.stateNode,(a=(null===e||null===e.child)&&a.hydrate)&&(Yn=He(n.stateNode.containerInfo),Qn=n,a=er=!0),a?(n.effectTag|=2,n.child=Zn(n,null,i,r)):(Q(e,n,i,r),og()),n=n.child),n;case 5:return Lf(n),null===e&&lg(n),i=n.type,a=n.pendingProps,o=null!==e?e.memoizedProps:null,s=a.children,Ce(i,a)?s=null:null!==o&&Ce(i,o)&&(n.effectTag|=16),vg(e,n),1!==r&&1&n.mode&&a.hidden?(n.expirationTime=1,n=null):(Q(e,n,s,r),n=n.child),n;case 6:return null===e&&lg(n),null;case 13:return zg(e,n,r);case 4:return Jf(n,n.stateNode.containerInfo),i=n.pendingProps,null===e?n.child=$n(n,null,i,r):Q(e,n,i,r),n.child;case 11:return i=n.type,a=n.pendingProps,qg(e,n,i,a=n.elementType===i?a:P(i,a),r);case 7:return Q(e,n,n.pendingProps,r),n.child;case 8:case 12:return Q(e,n,n.pendingProps.children,r),n.child;case 10:e:{if(i=n.type._context,a=n.pendingProps,s=n.memoizedProps,Bf(n,o=a.value),null!==s){var u=s.value;if(0===(o=u===o&&(0!==u||1/u==1/o)||u!=u&&o!=o?0:0|("function"==typeof i._calculateChangedBits?i._calculateChangedBits(u,o):1073741823))){if(s.children===a.children&&!In.current){n=tg(e,n,r);break e}}else for(null!==(s=n.child)&&(s.return=n);null!==s;){if(null!==(u=s.firstContextDependency))do{if(u.context===i&&0!=(u.observedBits&o)){if(1===s.tag){var c=nf(r);c.tag=2,pf(s,c)}s.expirationTime<\/script>",p=a.removeChild(a.firstChild)):"string"==typeof h.is?p=p.createElement(a,{is:h.is}):(p=p.createElement(a),"select"===a&&h.multiple&&(p.multiple=!0)):p=p.createElementNS(l,a),(a=p)[G]=f,a[K]=u,nr(a,n,!1,!1),h=a;var d=c,m=we(p=o,f=u);switch(p){case"iframe":case"object":H("load",h),c=f;break;case"video":case"audio":for(c=0;cu&&(u=a),(c=o.childExpirationTime)>u&&(u=c),o=o.sibling;n.childExpirationTime=u}if(null!==hr)return hr;null!==r&&0==(1024&r.effectTag)&&(null===r.firstEffect&&(r.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==r.lastEffect&&(r.lastEffect.nextEffect=e.firstEffect),r.lastEffect=e.lastEffect),1=d?f=0:(-1===f||d component higher in the tree to provide a loading indicator or placeholder to display."+nc(c))}yr=!0,l=wf(l,c),s=u;do{switch(s.tag){case 3:s.effectTag|=2048,s.expirationTime=o,qf(s,o=Vg(s,l,o));break e;case 1:if(p=l,f=s.type,h=s.stateNode,0==(64&s.effectTag)&&("function"==typeof f.getDerivedStateFromError||null!==h&&"function"==typeof h.componentDidCatch&&(null===wr||!wr.has(h)))){s.effectTag|=2048,s.expirationTime=o,qf(s,o=Xg(s,p,o));break e}}s=s.return}while(null!==s)}hr=kh(a);continue}i=!0,Wg(n)}}break}if(fr=!1,Vn=Un=Fn=cr.currentDispatcher=null,i)dr=null,e.finishedWork=null;else if(null!==hr)e.finishedWork=null;else{if(null===(i=e.current.alternate)&&t("281"),dr=null,yr){if(a=e.latestPendingTime,o=e.latestSuspendedTime,s=e.latestPingedTime,0!==a&&an?0:n)):(e.pendingCommitExpirationTime=r,e.finishedWork=i)}}function Mg(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===wr||!wr.has(r)))return pf(n,e=Xg(n,e=wf(t,e),1073741823)),void Uf(n,1073741823);break;case 3:return pf(n,e=Vg(n,e=wf(t,e),1073741823)),void Uf(n,1073741823)}n=n.return}3===e.tag&&(pf(e,n=Vg(e,n=wf(t,e),1073741823)),Uf(e,1073741823))}function Sf(e,t){return 0!==pr?e=pr:fr?e=vr?1073741823:mr:1&t.mode?(e=Mr?1073741822-10*(1+((1073741822-e+15)/10|0)):1073741822-25*(1+((1073741822-e+500)/25|0)),null!==dr&&e===mr&&--e):e=1073741823,Mr&&(0===Rr||e=r&&(e.didError=!1,(0===(t=e.latestPingedTime)||t>n)&&(e.latestPingedTime=n),gf(n,e),0!==(n=e.expirationTime)&&sh(e,n)))}function Tg(e,t){var n=e.stateNode;null!==n&&n.delete(t),null!==(e=th(e,t=Sf(t=Rf(),e)))&&(ff(e,t),0!==(t=e.expirationTime)&&sh(e,t))}function th(e,t){e.expirationTimemr&&jh(),ff(e,n),fr&&!vr&&dr===e||sh(e,e.expirationTime),Vr>Ur&&(Vr=0,t("185")))}function wh(e,t,n,r,i){var a=pr;pr=1073741823;try{return e(t,n,r,i)}finally{pr=a}}var Sr=null,kr=null,Er=0,Cr=void 0,Pr=!1,Or=null,Tr=0,Rr=0,jr=!1,Ar=null,Ir=!1,Nr=!1,Mr=!1,Lr=null,Dr=u.unstable_now(),Br=1073741822-(Dr/10|0),Fr=Br,Ur=50,Vr=0,qr=null;function Jh(){Br=1073741822-((u.unstable_now()-Dr)/10|0)}function Kh(e,t){if(0!==Er){if(te.expirationTime&&(e.expirationTime=t),Pr||(Ir?Nr&&(Or=e,Tr=1073741823,Ph(e,1073741823,!1)):1073741823===t?Qh(1073741823,!1):Kh(e,t))}function Oh(){var e=0,n=null;if(null!==kr)for(var r=kr,i=Sr;null!==i;){var a=i.expirationTime;if(0===a){if((null===r||null===kr)&&t("244"),i===i.nextScheduledRoot){Sr=kr=i.nextScheduledRoot=null;break}if(i===Sr)Sr=a=i.nextScheduledRoot,kr.nextScheduledRoot=a,i.nextScheduledRoot=null;else{if(i===kr){(kr=r).nextScheduledRoot=Sr,i.nextScheduledRoot=null;break}r.nextScheduledRoot=i.nextScheduledRoot,i.nextScheduledRoot=null}i=r.nextScheduledRoot}else{if(a>e&&(e=a,n=i),i===kr)break;if(1073741823===e)break;r=i,i=i.nextScheduledRoot}}Or=n,Tr=e}var Wr=!1;function nh(){return!!Wr||!!u.unstable_shouldYield()&&(Wr=!0)}function Lh(){try{if(!nh()&&null!==Sr){Jh();var e=Sr;do{var t=e.expirationTime;0!==t&&Br<=t&&(e.nextExpirationTimeToWorkOn=Br),e=e.nextScheduledRoot}while(e!==Sr)}Qh(0,!0)}finally{Wr=!1}}function Qh(e,t){if(Oh(),t)for(Jh(),Fr=Br;null!==Or&&0!==Tr&&e<=Tr&&!(Wr&&Br>Tr);)Ph(Or,Tr,Br>Tr),Oh(),Jh(),Fr=Br;else for(;null!==Or&&0!==Tr&&e<=Tr;)Ph(Or,Tr,!1),Oh();if(t&&(Er=0,Cr=null),0!==Tr&&Kh(Or,Tr),Vr=0,qr=null,null!==Lr)for(e=Lr,Lr=null,t=0;t=r&&(null===Lr?Lr=[i]:Lr.push(i),i._defer))return e.finishedWork=n,void(e.expirationTime=0);e.finishedWork=null,e===qr?Vr++:(qr=e,Vr=0),vr=fr=!0,e.current===n&&t("177"),0===(r=e.pendingCommitExpirationTime)&&t("261"),e.pendingCommitExpirationTime=0,i=n.expirationTime;var a=n.childExpirationTime;if(i=a>i?a:i,e.didError=!1,0===i?(e.earliestPendingTime=0,e.latestPendingTime=0,e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0):(ii?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>i&&(e.earliestPendingTime=e.latestPendingTime)),0===(a=e.earliestSuspendedTime)?ff(e,i):ia&&ff(e,i)),gf(0,e),cr.current=null,1b&&(v=b,b=C,C=v),v=Rd(S,C),_=Rd(S,b),v&&_&&(1!==E.rangeCount||E.anchorNode!==v.node||E.anchorOffset!==v.offset||E.focusNode!==_.node||E.focusOffset!==_.offset)&&((k=k.createRange()).setStart(v.node,v.offset),E.removeAllRanges(),C>b?(E.addRange(k),E.extend(_.node,_.offset)):(k.setEnd(_.node,_.offset),E.addRange(k))))),k=[];for(E=S;E=E.parentNode;)1===E.nodeType&&k.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof S.focus&&S.focus(),S=0;SO?n:O)&&(wr=null),e.expirationTime=n,e.finishedWork=null}function Wg(e){null===Or&&t("246"),Or.expirationTime=0,jr||(jr=!0,Ar=e)}function Th(e,t){var n=Ir;Ir=!0;try{return e(t)}finally{(Ir=n)||Pr||Qh(1073741823,!1)}}function Uh(e,t){if(Ir&&!Nr){Nr=!0;try{return e(t)}finally{Nr=!1}}return e(t)}function Wh(e,t,n){if(Mr)return e(t,n);Ir||Pr||0===Rr||(Qh(Rr,!1),Rr=0);var r=Mr,i=Ir;Ir=Mr=!0;try{return e(t,n)}finally{Mr=r,(Ir=i)||Pr||Qh(1073741823,!1)}}function Xh(e,n,r,i,a){var o=n.current;e:if(r){t:{2===kd(r=r._reactInternalFiber)&&1===r.tag||t("170");var s=r;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(M(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);t("171"),s=void 0}if(1===r.tag){var u=r.type;if(M(u)){r=Qe(r,u,s);break e}}r=s}else r=jn;return null===n.context?n.context=r:n.pendingContext=r,n=a,(a=nf(i)).payload={element:e},null!==(n=void 0===n?null:n)&&(a.callback=n),Tf(),pf(o,a),Uf(o,i),i}function Yh(e,t,n,r){var i=t.current;return Xh(e,t,n,i=Sf(Rf(),i),r)}function Zh(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function $h(e,t,n){var r=3=lr&&(t=lr-1),this._expirationTime=lr=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function bi(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function ci(e,t,n){e={current:t=N(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function di(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ei(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new ci(e,!1,t)}function fi(e,n,r,i,a){di(r)||t("200");var o=r._reactRootContainer;if(o){if("function"==typeof a){var s=a;a=function(){var e=Zh(o._internalRoot);s.call(e)}}null!=e?o.legacy_renderSubtreeIntoContainer(e,n,a):o.render(n,a)}else{if(o=r._reactRootContainer=ei(r,i),"function"==typeof a){var u=a;a=function(){var e=Zh(o._internalRoot);u.call(e)}}Uh(function(){null!=e?o.legacy_renderSubtreeIntoContainer(e,n,a):o.render(n,a)})}return Zh(o._internalRoot)}function gi(e,n){var r=2=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},Kb=Th,Lb=Wh,Mb=function(){Pr||0===Rr||(Qh(Rr,!1),Rr=0)};var zr={createPortal:gi,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var n=e._reactInternalFiber;return void 0===n&&("function"==typeof e.render?t("188"):t("268",Object.keys(e))),e=null===(e=nd(n))?null:e.stateNode},hydrate:function(e,t,n){return fi(null,e,t,!0,n)},render:function(e,t,n){return fi(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,n,r,i){return(null==e||void 0===e._reactInternalFiber)&&t("38"),fi(e,n,r,!1,i)},unmountComponentAtNode:function(e){return di(e)||t("40"),!!e._reactRootContainer&&(Uh(function(){fi(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return gi.apply(void 0,arguments)},unstable_batchedUpdates:Th,unstable_interactiveUpdates:Wh,flushSync:function(e,n){Pr&&t("187");var r=Ir;Ir=!0;try{return wh(e,n)}finally{Ir=r,Qh(1073741823,!1)}},unstable_createRoot:function hi(e,n){return di(e)||t("299","unstable_createRoot"),new ci(e,!0,null!=n&&!0===n.hydrate)},unstable_flushControlled:function(e){var t=Ir;Ir=!0;try{wh(e)}finally{(Ir=t)||Pr||Qh(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[Ja,Ka,La,q.injectEventPluginsByName,j,Ra,function(e){za(e,Qa)},Ib,Jb,Jd,Ea]}};!function(e){var t=e.findFiberByHostInstance;We(s({},e,{overrideProps:null,findHostInstanceByFiber:function(e){return null===(e=nd(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}({findFiberByHostInstance:Ia,bundleType:0,version:"16.7.0",rendererPackageName:"react-dom"});var Hr={default:zr},Gr=Hr&&zr||Hr;n.exports=Gr.default||Gr},function(e,t,n){"use strict";e.exports=n(440)},function(e,n,r){"use strict";(function(e){ -/** @license React v0.12.0 - * scheduler.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -Object.defineProperty(n,"__esModule",{value:!0});var r=null,i=!1,a=3,o=-1,s=-1,c=!1,l=!1;function p(){if(!c){var e=r.expirationTime;l?w():l=!0,x(t,e)}}function u(){var e=r,t=r.next;if(r===t)r=null;else{var n=r.previous;r=n.next=t,t.previous=n}e.next=e.previous=null,n=e.callback,t=e.expirationTime,e=e.priorityLevel;var i=a,o=s;a=e,s=t;try{var u=n()}finally{a=i,s=o}if("function"==typeof u)if(u={callback:u,priorityLevel:e,expirationTime:t,next:null,previous:null},null===r)r=u.next=u.previous=u;else{n=null,e=r;do{if(e.expirationTime>=t){n=e;break}e=e.next}while(e!==r);null===n?n=r:n===r&&(r=u,p()),(t=n.previous).next=n.previous=u,u.next=n,u.previous=t}}function v(){if(-1===o&&null!==r&&1===r.priorityLevel){c=!0;try{do{u()}while(null!==r&&1===r.priorityLevel)}finally{c=!1,null!==r?p():l=!1}}}function t(e){c=!0;var t=i;i=e;try{if(e)for(;null!==r;){var a=n.unstable_now();if(!(r.expirationTime<=a))break;do{u()}while(null!==r&&r.expirationTime<=a)}else if(null!==r)do{u()}while(null!==r&&!S())}finally{c=!1,i=t,null!==r?p():l=!1,v()}}var f,h,d=Date,m="function"==typeof setTimeout?setTimeout:void 0,g="function"==typeof clearTimeout?clearTimeout:void 0,y="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,b="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function E(e){f=y(function(t){g(h),e(t)}),h=m(function(){b(f),e(n.unstable_now())},100)}if("object"==typeof performance&&"function"==typeof performance.now){var _=performance;n.unstable_now=function(){return _.now()}}else n.unstable_now=function(){return d.now()};var x,w,S,k=null;if("undefined"!=typeof window?k=window:void 0!==e&&(k=e),k&&k._schedMock){var C=k._schedMock;x=C[0],w=C[1],S=C[2],n.unstable_now=C[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var P=null,O=function(e){if(null!==P)try{P(e)}finally{P=null}};x=function(e){null!==P?setTimeout(x,0,e):(P=e,setTimeout(O,0,!1))},w=function(){P=null},S=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof y&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof b&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var T=null,R=!1,j=-1,A=!1,I=!1,N=0,M=33,L=33;S=function(){return N<=n.unstable_now()};var D=new MessageChannel,B=D.port2;D.port1.onmessage=function(){R=!1;var e=T,t=j;T=null,j=-1;var r=n.unstable_now(),i=!1;if(0>=N-r){if(!(-1!==t&&t<=r))return A||(A=!0,E(F)),T=e,void(j=t);i=!0}if(null!==e){I=!0;try{e(i)}finally{I=!1}}};var F=function(e){if(null!==T){E(F);var t=e-N+L;tt&&(t=8),L=tt?B.postMessage(void 0):A||(A=!0,E(F))},w=function(){T=null,R=!1,j=-1}}n.unstable_ImmediatePriority=1,n.unstable_UserBlockingPriority=2,n.unstable_NormalPriority=3,n.unstable_IdlePriority=5,n.unstable_LowPriority=4,n.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=a,i=o;a=e,o=n.unstable_now();try{return t()}finally{a=r,o=i,v()}},n.unstable_scheduleCallback=function(e,t){var i=-1!==o?o:n.unstable_now();if("object"==typeof t&&null!==t&&"number"==typeof t.timeout)t=i+t.timeout;else switch(a){case 1:t=i+-1;break;case 2:t=i+250;break;case 5:t=i+1073741823;break;case 4:t=i+1e4;break;default:t=i+5e3}if(e={callback:e,priorityLevel:a,expirationTime:t,next:null,previous:null},null===r)r=e.next=e.previous=e,p();else{i=null;var s=r;do{if(s.expirationTime>t){i=s;break}s=s.next}while(s!==r);null===i?i=r:i===r&&(r=e,p()),(t=i.previous).next=i.previous=e,e.next=i,e.previous=t}return e},n.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)r=null;else{e===r&&(r=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},n.unstable_wrapCallback=function(e){var t=a;return function(){var r=a,i=o;a=t,o=n.unstable_now();try{return e.apply(this,arguments)}finally{a=r,o=i,v()}}},n.unstable_getCurrentPriorityLevel=function(){return a},n.unstable_shouldYield=function(){return!i&&(null!==r&&r.expirationTime0&&(this.refs[t]--,0===this.refs[t]&&this.sheets[t].detach()):(0,i.default)(!1,"SheetsManager: can't find sheet to unmanage")}},{key:"size",get:function get(){return this.keys.length}}]),SheetsManager}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function cloneStyle(e){if(null==e)return e;var t=void 0===e?"undefined":r(e);if("string"===t||"number"===t||"function"===t)return e;if(a(e))return e.map(cloneStyle);if((0,i.default)(e))return e;var n={};for(var o in e){var s=e[o];"object"!==(void 0===s?"undefined":r(s))?n[o]=s:n[o]=cloneStyle(s)}return n};var i=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(200));var a=Array.isArray},function(e,t,n){"use strict";n.r(t),function(e,r){var i,a=n(240);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var o=Object(a.a)(i);t.default=o}.call(this,n(26),n(454)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});e.CSS;t.default=function(e){return e}}).call(this,n(26))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n="2f1acc6c3a606b082e5eef5e54414ffb";null==e[n]&&(e[n]=0),t.default=e[n]++}).call(this,n(26))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};return e.createGenerateClassName&&(this.options.createGenerateClassName=e.createGenerateClassName,this.generateClassName=e.createGenerateClassName()),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),(e.virtual||e.Renderer)&&(this.options.Renderer=e.Renderer||(e.virtual?y.default:g.default)),e.plugins&&this.use.apply(this,e.plugins),this}},{key:"createStyleSheet",value:function createStyleSheet(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index;"number"!=typeof n&&(n=0===f.default.index?0:f.default.index+1);var r=new s.default(e,i({},t,{jss:this,generateClassName:t.generateClassName||this.generateClassName,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r}},{key:"removeStyleSheet",value:function removeStyleSheet(e){return e.detach(),f.default.remove(e),this}},{key:"createRule",value:function createRule(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};"object"===(void 0===e?"undefined":r(e))&&(n=t,t=e,e=void 0);var i=n;i.jss=this,i.Renderer=this.options.Renderer,i.generateClassName||(i.generateClassName=this.generateClassName),i.classes||(i.classes={});var a=(0,m.default)(e,t,i);return!i.selector&&a instanceof h.default&&(a.selector="."+i.generateClassName(a)),this.plugins.onProcessRule(a),a}},{key:"use",value:function use(){for(var e=this,t=arguments.length,n=Array(t),r=0;r0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t&&(t+="\n"),this.key+" {\n"+t+"}"}}]),KeyframesRule}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t?this.key+" {\n"+t+"\n}":""}}]),ConditionalRule}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function defineProperties(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:0;return e.substr(t,e.indexOf("{")-1)},function(e){if(e.type===l)return e.selectorText;if(e.type===p){var t=e.name;if(t)return"@keyframes "+t;var n=e.cssText;return"@"+c(n,n.indexOf("keyframes"))}return c(e.cssText)});function setSelector(e,t){return e.selectorText=t,e.selectorText===t}var h,d,m=u(function(){return document.head||document.getElementsByTagName("head")[0]}),g=(h=void 0,d=!1,function(e){var t={};h||(h=document.createElement("style"));for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}function findHighestSheet(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}function findCommentNode(e){for(var t=m(),n=0;n0){var n=findHigherSheet(t,e);if(n)return n.renderer.element;if(n=findHighestSheet(t,e))return n.renderer.element.nextElementSibling}var r=e.insertionPoint;if(r&&"string"==typeof r){var o=findCommentNode(r);if(o)return o.nextSibling;(0,i.default)("jss"===r,'[JSS] Insertion point "%s" not found.',r)}return null}function insertStyle(e,t){var n=t.insertionPoint,r=findPrevNode(t);if(r){var a=r.parentNode;a&&a.insertBefore(e,r)}else if(n&&"number"==typeof n.nodeType){var o=n,s=o.parentNode;s?s.insertBefore(e,o.nextSibling):(0,i.default)(!1,"[JSS] Insertion point is not in the DOM.")}else m().insertBefore(e,r)}var y=u(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),b=function(){function DomRenderer(e){_classCallCheck(this,DomRenderer),this.getPropertyValue=getPropertyValue,this.setProperty=setProperty,this.removeProperty=removeProperty,this.setSelector=setSelector,this.getKey=f,this.getUnescapedKeysMap=g,this.hasInsertedRules=!1,e&&a.default.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,i=t.element;this.element=i||document.createElement("style"),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=y();o&&this.element.setAttribute("nonce",o)}return r(DomRenderer,[{key:"attach",value:function attach(){!this.element.parentNode&&this.sheet&&(this.hasInsertedRules&&(this.deploy(),this.hasInsertedRules=!1),insertStyle(this.element,this.sheet.options))}},{key:"detach",value:function detach(){this.element.parentNode.removeChild(this.element)}},{key:"deploy",value:function deploy(){this.sheet&&(this.element.textContent="\n"+this.sheet.toString()+"\n")}},{key:"insertRule",value:function insertRule(e,t){var n=this.element.sheet,r=n.cssRules,a=e.toString();if(t||(t=r.length),!a)return!1;try{n.insertRule(a,t)}catch(t){return(0,i.default)(!1,"[JSS] Can not insert an unsupported rule \n\r%s",e),!1}return this.hasInsertedRules=!0,r[t]}},{key:"deleteRule",value:function deleteRule(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),!0)}},{key:"indexOf",value:function indexOf(e){for(var t=this.element.sheet.cssRules,n=0;n-1}},function(e,t,n){var r=n(94);e.exports=function listCacheSet(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},function(e,t,n){var r=n(93);e.exports=function stackClear(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function stackDelete(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function stackGet(e){return this.__data__.get(e)}},function(e,t){e.exports=function stackHas(e){return this.__data__.has(e)}},function(e,t,n){var r=n(93),i=n(145),a=n(147),o=200;e.exports=function stackSet(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length1?n[a-1]:void 0,s=a>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(a--,o):void 0,s&&i(n[0],n[1],s)&&(o=a<3?void 0:o,a=1),t=Object(t);++r0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r=n(77),i=n(45),a=n(151),o=n(33);e.exports=function isIterateeCall(e,t,n){if(!o(n))return!1;var s=typeof t;return!!("number"==s?i(n)&&a(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},function(e,t,n){"use strict";t.byteLength=function byteLength(e){var t=getLens(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function toByteArray(e){for(var t,n=getLens(e),r=n[0],o=n[1],s=new a(_byteLength(e,r,o)),u=0,c=o>0?r-4:r,l=0;l>16&255,s[u++]=t>>8&255,s[u++]=255&t;2===o&&(t=i[e.charCodeAt(l)]<<2|i[e.charCodeAt(l+1)]>>4,s[u++]=255&t);1===o&&(t=i[e.charCodeAt(l)]<<10|i[e.charCodeAt(l+1)]<<4|i[e.charCodeAt(l+2)]>>2,s[u++]=t>>8&255,s[u++]=255&t);return s},t.fromByteArray=function fromByteArray(e){for(var t,n=e.length,i=n%3,a=[],o=0,s=n-i;os?s:o+16383));1===i?(t=e[n-1],a.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],a.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return a.join("")};for(var r=[],i=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=o.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function _byteLength(e,t,n){return 3*(t+n)/4-n}function encodeChunk(e,t,n){for(var i,a,o=[],s=t;s>18&63]+r[a>>12&63]+r[a>>6&63]+r[63&a]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,i){var a,o,s=8*i-r-1,u=(1<>1,l=-7,p=n?i-1:0,f=n?-1:1,h=e[t+p];for(p+=f,a=h&(1<<-l)-1,h>>=-l,l+=s;l>0;a=256*a+e[t+p],p+=f,l-=8);for(o=a&(1<<-l)-1,a>>=-l,l+=r;l>0;o=256*o+e[t+p],p+=f,l-=8);if(0===a)a=1-c;else{if(a===u)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,r),a-=c}return(h?-1:1)*o*Math.pow(2,a-r)},t.write=function(e,t,n,r,i,a){var o,s,u,c=8*a-i-1,l=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:a-1,d=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),(t+=o+p>=1?f/u:f*Math.pow(2,1-p))*u>=2&&(o++,u/=2),o+p>=l?(s=0,o=l):o+p>=1?(s=(t*u-1)*Math.pow(2,i),o+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;e[n+h]=255&s,h+=d,s/=256,i-=8);for(o=o<0;e[n+h]=255&o,h+=d,o/=256,c-=8);e[n+h-d]|=128*m}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){var r=n(537);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(113)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(263)(!1)).push([e.i,"/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */\n\n/* Tomorrow Comment */\n.hljs-comment,\n.hljs-quote {\n color: #8e908c;\n}\n\n/* Tomorrow Red */\n.hljs-variable,\n.hljs-template-variable,\n.hljs-tag,\n.hljs-name,\n.hljs-selector-id,\n.hljs-selector-class,\n.hljs-regexp,\n.hljs-deletion {\n color: #c82829;\n}\n\n/* Tomorrow Orange */\n.hljs-number,\n.hljs-built_in,\n.hljs-builtin-name,\n.hljs-literal,\n.hljs-type,\n.hljs-params,\n.hljs-meta,\n.hljs-link {\n color: #f5871f;\n}\n\n/* Tomorrow Yellow */\n.hljs-attribute {\n color: #eab700;\n}\n\n/* Tomorrow Green */\n.hljs-string,\n.hljs-symbol,\n.hljs-bullet,\n.hljs-addition {\n color: #718c00;\n}\n\n/* Tomorrow Blue */\n.hljs-title,\n.hljs-section {\n color: #4271ae;\n}\n\n/* Tomorrow Purple */\n.hljs-keyword,\n.hljs-selector-tag {\n color: #8959a8;\n}\n\n.hljs {\n display: block;\n overflow-x: auto;\n background: white;\n color: #4d4d4c;\n padding: 0.5em;\n}\n\n.hljs-emphasis {\n font-style: italic;\n}\n\n.hljs-strong {\n font-weight: bold;\n}\n",""])},function(e,t,n){var r=n(539),i=n(561),a=n(223);e.exports=function baseMatches(e){var t=i(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(144),i=n(218),a=1,o=2;e.exports=function baseIsMatch(e,t,n,s){var u=n.length,c=u,l=!s;if(null==e)return!c;for(e=Object(e);u--;){var p=n[u];if(l&&p[2]?p[1]!==e[p[0]]:!(p[0]in e))return!1}for(;++u-1?s[u?t[c]:c]:void 0}}},function(e,t,n){var r=n(579),i=n(153),a=n(580),o=Math.max;e.exports=function findIndex(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var u=null==n?0:a(n);return u<0&&(u=o(s+u,0)),r(e,i(t,3),u)}},function(e,t){e.exports=function baseFindIndex(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a\n \n \n Modal title\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n',settings:{},evalInContext:a},{type:"code",content:"\n \n
\n \n
\n \n

The storage space is running out. Select a folder with adequate storage space and try again.

\n
\n
\n
\n \n \n \n \n
",settings:{},evalInContext:a},{type:"markdown",content:"### Sizes"},{type:"code",content:"const loremIpsum = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.';\n\nconst launchModal = ({ size, ...props }) => (event) => {\n portal(({ onClose }) => (\n \n \n {loremIpsum}\n \n \n \n \n \n ));\n};\n\n\n \n Launch modal\n \n \n Extra small modal\n \n \n Small modal\n \n \n Medium modal\n \n \n Large modal\n \n",settings:{},evalInContext:a},{type:"markdown",content:"### Disable overlay click"},{type:"code",content:'const launchModal = () => {\n portal(({ onClose }) => (\n \n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\n \n \n \n \n \n ));\n};\n\n\n Launch modal\n',settings:{},evalInContext:a},{type:"markdown",content:"### Nested modals"},{type:"code",content:'const launchModal = (event) => {\n portal(({ onClose }) => (\n \n \n \n Modal title\n \n \n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\n \n \n \n Cancel\n \n {\n portal(({ onClose }) => (\n \n \n \n Delete item\n \n \n \n Are you sure you want to delete this item?\n \n \n \n No\n \n \n Yes\n \n \n \n ));\n }}\n >\n Delete\n \n \n \n ));\n};\n\n\n Launch modal\n',settings:{},evalInContext:a}]},function(e,t){e.exports=function requireInRuntime(e,t){if(!(t in e))throw new Error('require() statements can be added only by editing a Markdown example file: require("'+t+'")');return e[t]}},function(e,t){e.exports=function evalInContext(e,t,n){return new Function("require","state","setState",e+n).bind(null,t)}},function(e,t,n){e.exports={description:"",displayName:"Modal",methods:[],props:[{type:{name:"bool"},required:!1,description:"",tags:{},name:"disableOverlay"},{type:{name:"bool"},required:!1,description:"",defaultValue:{value:"false",computed:!1},tags:{},name:"disableOverlayClick"},{type:{name:"func"},required:!1,description:"",tags:{},name:"onClose"},{type:{name:"string"},required:!1,description:"",tags:{},name:"overlayClassName"},{type:{name:"object"},required:!1,description:"",tags:{},name:"overlayStyle"},{type:{name:"bool"},required:!1,description:"",defaultValue:{value:"true",computed:!1},tags:{},name:"show"},{type:{name:"bool"},required:!1,description:"",defaultValue:{value:"true",computed:!1},tags:{},name:"showCloseButton"},{type:{name:"bool"},required:!1,description:"",defaultValue:{value:"true",computed:!1},tags:{},name:"showOverlay"},{type:{name:"enum",value:[{value:"''",computed:!1},{value:"'xs'",computed:!1},{value:"'sm'",computed:!1},{value:"'md'",computed:!1},{value:"'lg'",computed:!1},{value:"'large'",computed:!1},{value:"'medium'",computed:!1},{value:"'small'",computed:!1},{value:"'extra-small'",computed:!1}]},required:!1,description:"",defaultValue:{value:"''",computed:!1},tags:{},name:"size"}],doclets:{},examples:[]}},function(e,t,n){e.exports={description:"",displayName:"ModalHeader",methods:[],props:[{type:{name:"union",value:[{name:"bool"},{name:"string"}]},required:!1,description:"",defaultValue:{value:"true",computed:!1},tags:{},name:"padding"}],doclets:{},examples:[]}},function(e,t,n){e.exports={description:"",displayName:"ModalTitle",methods:[],doclets:{},examples:[]}},function(e,t,n){e.exports={description:"",displayName:"ModalBody",methods:[],props:[{type:{name:"union",value:[{name:"bool"},{name:"string"}]},required:!1,description:"",defaultValue:{value:"true",computed:!1},tags:{},name:"padding"}],doclets:{},examples:[]}},function(e,t,n){e.exports={description:"",displayName:"ModalFooter",methods:[],props:[{type:{name:"union",value:[{name:"bool"},{name:"string"}]},required:!1,description:"",defaultValue:{value:"true",computed:!1},tags:{},name:"padding"}],doclets:{},examples:[]}},function(e,t,n){"use strict";n.r(t);n(445),n(446),n(448);var r=n(78).a.createStyleSheet({body:{isolate:!1,margin:0,padding:0,minWidth:0,maxWidth:"100%",border:0}}).attach().classes.body;document.body.classList.add(r);var i=n(18),a=n.n(i),o=n(1),s=n.n(o),u=n(0),c=n.n(u),l=n(3);function EditorLoaderRenderer(e){var t=e.classes;return s.a.createElement("div",{className:t.root},"Loading…")}EditorLoaderRenderer.propTypes={classes:c.a.object.isRequired};var p=Object(l.a)(function styles(e){var t=e.fontFamily,n=e.color,r=e.space,i=e.fontSize;return{root:{padding:[[r[1],r[2],r[1],r[1]]],fontFamily:t.base,fontSize:i.small,color:n.light,backgroundColor:n.codeBackground}}})(EditorLoaderRenderer),f=function(){function defineProperties(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=e.slug,r=e.example,i=e.anchor,a=e.isolated,o=e.nochrome,s=e.absolute,u=e.hashPath,c=e.id,l=e.takeHash,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location,f=p.origin,h=p.pathname,d=p.hash,m=h;return l&&(d.indexOf("?")>-1?m+=d.substring(0,d.indexOf("?")):m+=d),o&&(m+="?nochrome"),i?m+="#"+n:(a||o)&&(m+="#!/"+t),u&&(c||(u=[].concat(_toConsumableArray(u),[t])),m+="#/"+u.join("/")),c&&(m+="?id="+n),void 0!==r&&(m+="/"+r),s?f+m:m}var I=function IsolateButton(e){var t=e.name,n=e.example;return e.isolated?s.a.createElement(A,{href:getUrl({anchor:!0,slug:"/"}),title:"Show all components"},s.a.createElement(T.a,null)):s.a.createElement(A,{href:getUrl({name:t,example:n,isolated:!0}),title:"Open isolated"},s.a.createElement(P.a,null))};I.propTypes={name:c.a.string.isRequired,example:c.a.number,isolated:c.a.bool};var N=I;function TabButtonRenderer(e){var t,n,r,i=e.classes,a=e.name,o=e.className,u=e.onClick,c=e.active,l=e.children,p=j()(i.button,o,(t={},n=i.isActive,r=c,n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t));return s.a.createElement("button",{type:"button",name:a,className:p,onClick:u},l)}TabButtonRenderer.propTypes={classes:c.a.object.isRequired,name:c.a.string,className:c.a.string,onClick:c.a.func,active:c.a.bool,children:c.a.node};var M=Object(l.a)(function styles(e){var t=e.space,n=e.color,r=e.fontFamily,i=e.fontSize,a=e.buttonTextTransform;return{button:{padding:[[t[1],0]],fontFamily:r.base,fontSize:i.base,color:n.light,background:"transparent",textTransform:a,transition:"color 750ms ease-out",border:"none",cursor:"pointer","&:hover, &:focus":{isolate:!1,outline:0,color:n.linkHover,transition:"color 150ms ease-in"},"&:focus:not($isActive)":{isolate:!1,outline:[[1,"dotted",n.linkHover]]},"& + &":{isolate:!1,marginLeft:t[1]}},isActive:{borderBottom:[[2,n.linkHover,"solid"]]}}})(TabButtonRenderer),L=function CodeTabButton(e){return s.a.createElement(M,e,"View Code")};L.propTypes={onClick:c.a.func.isRequired,name:c.a.string.isRequired,active:c.a.bool};var D=L,B=function UsageTabButton(e){var t=e.props;return!E()(t.props)||!E()(t.methods)?s.a.createElement(M,e,"Props & methods"):null};B.propTypes={onClick:c.a.func.isRequired,name:c.a.string.isRequired,props:c.a.shape({props:c.a.array,methods:c.a.array}).isRequired,active:c.a.bool};var F=B,U="rsg-code-editor",V="rsg-usage",q=function(){var e=[N];return{sectionToolbar:e,componentToolbar:e,exampleToolbar:e,exampleTabButtons:[{id:U,render:D}],exampleTabs:[{id:U,render:h}],docsTabButtons:[{id:V,render:F}],docsTabs:[{id:V,render:Usage}]}},W=n(110),z=n(252),H=n.n(z),G="#/",K=/(.*)\?/;function trimHash(e,t){if(!e)return"";var n=new RegExp("^"+H()(t||G),"g");return e.replace(n,"")}var J=function trimParams(e){var t=K.exec(e);return t&&t[1]||e},X=function hasInHash(e,t){return""!==e&&e.indexOf(t)>-1},$=function getHash(e,t){return decodeURIComponent(J(trimHash(e,t)))},Z=function getHashAsArray(e,t){return $(e,t).split("/")},Q=function getParameterByName(e,t){t=t.replace(/[[\]]/g,"\\$&");var n=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null};function ComponentsListRenderer(e){var t=e.classes,n=e.items;if(!(n=n.filter(function(e){return e.visibleName})).length)return null;var r=window.location.pathname+$(window.location.hash);return s.a.createElement("ul",{className:t.list},n.map(function(e){var n=e.heading,i=e.visibleName,a=e.href,o=e.content,u=e.external,c=X(r,a);return s.a.createElement("li",{className:j()(t.item,(!o||!o.props.items.length)&&t.isChild,c&&t.isSelected),key:a},s.a.createElement(W.a,{className:j()(n&&t.heading),href:a,target:u?"_blank":void 0},i),o)}))}ComponentsListRenderer.propTypes={items:c.a.array.isRequired,classes:c.a.object.isRequired};var Y=Object(l.a)(function styles(e){var t,n,r,i=e.color,a=e.fontFamily,o=e.fontSize,s=e.space,u=e.mq;return{list:{margin:0,paddingLeft:s[2]},item:{color:i.base,display:"block",margin:[[s[1],0,s[1],0]],fontFamily:a.base,fontSize:o.base,listStyle:"none",overflow:"hidden",textOverflow:"ellipsis"},isChild:(t={},n=u.small,r={display:"inline-block",margin:[[0,s[1],0,0]]},n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t),heading:{color:i.base,marginTop:s[1],fontFamily:a.base,fontWeight:"bold"},isSelected:{fontWeight:"bold"}}})(ComponentsListRenderer),ee=Object.assign||function(e){for(var t=1;t0||e.sections.length>0||n.test(e.name)})}var ie=function(){function defineProperties(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=e.map(function(e){var a=[].concat(TableOfContents_toConsumableArray(e.sections||[]),TableOfContents_toConsumableArray(e.components||[])),o=e.sectionDepth||0,s=0===o&&i?r:[].concat(TableOfContents_toConsumableArray(r),[e.name]);return Object.assign({},e,{heading:!!e.name&&a.length>0,content:a.length>0&&n.renderLevel(a,t,s,0===o)})});return s.a.createElement(te,{items:a,hashPath:r,useHashId:i,useRouterLinks:t})}},{key:"renderSections",value:function renderSections(){var e=this.state.searchTerm,t=this.props,n=t.sections,r=t.useRouterLinks,i=filterSectionsByName(1===n.length?n[0].components:n,e);return this.renderLevel(i,r)}},{key:"render",value:function render(){var e=this,t=this.state.searchTerm;return s.a.createElement(ne,{searchTerm:t,onSearchTermChange:function onSearchTermChange(t){return e.setState({searchTerm:t})}},this.renderSections())}}]),TableOfContents}();ae.propTypes={sections:c.a.array.isRequired,useRouterLinks:c.a.bool};var oe=ae;function LogoRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("h1",{className:t.logo},n)}LogoRenderer.propTypes={classes:c.a.object.isRequired,children:c.a.node};var se=Object(l.a)(function styles(e){var t=e.color,n=e.fontFamily,r=e.fontSize;return{logo:{color:t.base,margin:0,fontFamily:n.base,fontSize:r.h4,fontWeight:"normal"}}})(LogoRenderer);function RibbonRenderer(e){var t=e.classes,n=e.url,r=e.text;return s.a.createElement("div",{className:t.root},s.a.createElement("a",{href:n,className:t.link},r))}RibbonRenderer.defaultProps={text:"Fork me on GitHub"},RibbonRenderer.propTypes={classes:c.a.object.isRequired,url:c.a.string.isRequired,text:c.a.string};var ue=Object(l.a)(function styles(e){var t=e.color,n=e.space,r=e.fontSize;return{root:{position:"fixed",top:0,right:0,width:149,height:149,zIndex:999},link:{fontFamily:e.fontFamily.base,position:"relative",right:-37,top:-22,display:"block",width:190,padding:[[n[0],n[2]]],textAlign:"center",color:t.ribbonText,fontSize:r.base,background:t.ribbonBackground,textDecoration:"none",textShadow:[[0,"-1px",0,"rgba(0,0,0,.15)"]],transformOrigin:[[0,0]],transform:"rotate(45deg)",cursor:"pointer"}}})(RibbonRenderer);function Ribbon(e,t){var n=t.config.ribbon;return n?s.a.createElement(ue,n):null}Ribbon.contextTypes={config:c.a.object};function VersionRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("p",{"aria-label":"version",className:t.version},n)}VersionRenderer.propTypes={classes:c.a.object.isRequired,children:c.a.node};var ce=Object(l.a)(function styles(e){var t=e.color,n=e.fontFamily,r=e.fontSize;return{version:{color:t.light,margin:[[5,0,0,0]],fontFamily:n.base,fontSize:r.base,fontWeight:"normal"}}})(VersionRenderer);function StyleGuideRenderer_defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function StyleGuideRenderer(e){var t=e.classes,n=e.title,r=e.version,i=e.homepageUrl,a=e.children,o=e.toc,u=e.hasSidebar;return s.a.createElement("div",{className:j()(t.root,u&&t.hasSidebar)},s.a.createElement("main",{className:t.content},a,s.a.createElement("footer",{className:t.footer},s.a.createElement(m.a,{text:"Generated with [React Styleguidist]("+i+")"}))),u&&s.a.createElement("div",{className:t.sidebar},s.a.createElement("div",{className:t.logo},s.a.createElement(se,null,n),r&&s.a.createElement(ce,null,r)),o),s.a.createElement(Ribbon,null))}StyleGuideRenderer.propTypes={classes:c.a.object.isRequired,title:c.a.string.isRequired,version:c.a.string,homepageUrl:c.a.string.isRequired,children:c.a.node.isRequired,toc:c.a.node.isRequired,hasSidebar:c.a.bool};var le=Object(l.a)(function styles(e){var t,n=e.color,r=e.fontFamily,i=e.fontSize,a=e.sidebarWidth,o=e.mq,s=e.space,u=e.maxWidth;return{root:{minHeight:"100vh",backgroundColor:n.baseBackground},hasSidebar:StyleGuideRenderer_defineProperty({paddingLeft:a},o.small,{paddingLeft:0}),content:(t={maxWidth:u,padding:[[s[2],s[4]]],margin:[[0,"auto"]]},StyleGuideRenderer_defineProperty(t,o.small,{padding:s[2]}),StyleGuideRenderer_defineProperty(t,"display","block"),t),sidebar:StyleGuideRenderer_defineProperty({backgroundColor:n.sidebarBackground,border:[[n.border,"solid"]],borderWidth:[[0,1,0,0]],position:"fixed",top:0,left:0,bottom:0,width:a,overflow:"auto",WebkitOverflowScrolling:"touch"},o.small,{position:"static",width:"auto",borderWidth:[[1,0,0,0]],paddingBottom:s[0]}),logo:{padding:s[2],borderBottom:[[1,n.border,"solid"]]},footer:{display:"block",color:n.light,fontFamily:r.base,fontSize:i.small}}})(StyleGuideRenderer);function componentWillMount(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function componentWillReceiveProps(e){this.setState(function updater(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function componentWillUpdate(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}componentWillMount.__suppressDeprecationWarning=!0,componentWillReceiveProps.__suppressDeprecationWarning=!0,componentWillUpdate.__suppressDeprecationWarning=!0;var pe=n(227),fe=n.n(pe);function PlaygroundErrorRenderer(e){var t=e.classes,n=e.message;return s.a.createElement("pre",{className:t.root},n)}PlaygroundErrorRenderer.propTypes={classes:c.a.object.isRequired,message:c.a.string.isRequired};var he=Object(l.a)(function styles(e){var t=e.fontFamily,n=e.fontSize,r=e.color;return{root:{margin:0,lineHeight:1.2,fontSize:n.small,fontFamily:t.monospace,color:r.error,whiteSpace:"pre-wrap"}}})(PlaygroundErrorRenderer),de=n(253),me=function(){function defineProperties(e,t){for(var n=0;ne)return!1;if((n+=t[r+1])>=e)return!0}}function isIdentifierStart(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&ke.test(String.fromCharCode(e)):!1!==t&&isInAstralSet(e,Ce)))}function isIdentifierChar(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&Ee.test(String.fromCharCode(e)):!1!==t&&(isInAstralSet(e,Ce)||isInAstralSet(e,Pe)))))}var Oe=function TokenType(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function binop(e,t){return new Oe(e,{beforeExpr:!0,binop:t})}var Te={beforeExpr:!0},Re={startsExpr:!0},je={};function kw(e,t){return void 0===t&&(t={}),t.keyword=e,je[e]=new Oe(e,t)}var Ae={num:new Oe("num",Re),regexp:new Oe("regexp",Re),string:new Oe("string",Re),name:new Oe("name",Re),eof:new Oe("eof"),bracketL:new Oe("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Oe("]"),braceL:new Oe("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Oe("}"),parenL:new Oe("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Oe(")"),comma:new Oe(",",Te),semi:new Oe(";",Te),colon:new Oe(":",Te),dot:new Oe("."),question:new Oe("?",Te),arrow:new Oe("=>",Te),template:new Oe("template"),invalidTemplate:new Oe("invalidTemplate"),ellipsis:new Oe("...",Te),backQuote:new Oe("`",Re),dollarBraceL:new Oe("${",{beforeExpr:!0,startsExpr:!0}),eq:new Oe("=",{beforeExpr:!0,isAssign:!0}),assign:new Oe("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Oe("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Oe("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new Oe("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new Oe("**",{beforeExpr:!0}),_break:kw("break"),_case:kw("case",Te),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",Te),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",Te),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",Re),_if:kw("if"),_return:kw("return",Te),_switch:kw("switch"),_throw:kw("throw",Te),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",Re),_super:kw("super",Re),_class:kw("class",Re),_extends:kw("extends",Te),_export:kw("export"),_import:kw("import"),_null:kw("null",Re),_true:kw("true",Re),_false:kw("false",Re),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Ie=/\r\n?|\n|\u2028|\u2029/,Ne=new RegExp(Ie.source,"g");function isNewLine(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var Me=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Le=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,De=Object.prototype,Be=De.hasOwnProperty,Fe=De.toString;function has(e,t){return Be.call(e,t)}var Ue=Array.isArray||function(e){return"[object Array]"===Fe.call(e)},Ve=function Position(e,t){this.line=e,this.column=t};Ve.prototype.offset=function offset(e){return new Ve(this.line,this.column+e)};var qe=function SourceLocation(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function getLineInfo(e,t){for(var n=1,r=0;;){Ne.lastIndex=r;var i=Ne.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),Ue(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return Ue(t.onComment)&&(t.onComment=pushComment(t,t.onComment)),t}function pushComment(e,t){return function(n,r,i,a,o,s){var u={type:n?"Block":"Line",value:r,start:i,end:a};e.locations&&(u.loc=new qe(this,o,s)),e.ranges&&(u.range=[i,a]),t.push(u)}}var ze={};function keywordRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var He=function Parser(e,t,n){this.options=e=getOptions(e),this.sourceFile=e.sourceFile,this.keywords=keywordRegexp(_e[e.ecmaVersion>=6?6:5]);var r="";if(!e.allowReserved){for(var i=e.ecmaVersion;!(r=be[i]);i--);"module"===e.sourceType&&(r+=" await")}this.reservedWords=keywordRegexp(r);var a=(r?r+" ":"")+be.strict;this.reservedWordsStrict=keywordRegexp(a),this.reservedWordsStrictBind=keywordRegexp(a+" "+be.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Ie).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=Ae.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterFunctionScope(),this.regexpState=null};He.prototype.isKeyword=function isKeyword(e){return this.keywords.test(e)},He.prototype.isReservedWord=function isReservedWord(e){return this.reservedWords.test(e)},He.prototype.extend=function extend(e,t){this[e]=t(this[e])},He.prototype.loadPlugins=function loadPlugins(e){for(var t in e){var n=ze[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},He.prototype.parse=function parse(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var Ge=He.prototype,Ke=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)"|;)/;function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}Ge.strictDirective=function(e){for(;;){Le.lastIndex=e,e+=Le.exec(this.input)[0].length;var t=Ke.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2]))return!0;e+=t[0].length}},Ge.eat=function(e){return this.type===e&&(this.next(),!0)},Ge.isContextual=function(e){return this.type===Ae.name&&this.value===e&&!this.containsEsc},Ge.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},Ge.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},Ge.canInsertSemicolon=function(){return this.type===Ae.eof||this.type===Ae.braceR||Ie.test(this.input.slice(this.lastTokEnd,this.start))},Ge.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Ge.semicolon=function(){this.eat(Ae.semi)||this.insertSemicolon()||this.unexpected()},Ge.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},Ge.expect=function(e){this.eat(e)||this.unexpected()},Ge.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},Ge.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},Ge.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},Ge.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var Xe={kind:"loop"},$e={kind:"switch"};Je.isLet=function(){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Le.lastIndex=this.pos;var e=Le.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123===n)return!0;if(isIdentifierStart(n,!0)){for(var r=t+1;isIdentifierChar(this.input.charCodeAt(r),!0);)++r;var i=this.input.slice(t,r);if(!xe.test(i))return!0}return!1},Je.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Le.lastIndex=this.pos;var e=Le.exec(this.input),t=this.pos+e[0].length;return!(Ie.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!==this.input.length&&isIdentifierChar(this.input.charAt(t+8)))},Je.parseStatement=function(e,t,n){var r,i=this.type,a=this.startNode();switch(this.isLet()&&(i=Ae._var,r="let"),i){case Ae._break:case Ae._continue:return this.parseBreakContinueStatement(a,i.keyword);case Ae._debugger:return this.parseDebuggerStatement(a);case Ae._do:return this.parseDoStatement(a);case Ae._for:return this.parseForStatement(a);case Ae._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1);case Ae._class:return e||this.unexpected(),this.parseClass(a,!0);case Ae._if:return this.parseIfStatement(a);case Ae._return:return this.parseReturnStatement(a);case Ae._switch:return this.parseSwitchStatement(a);case Ae._throw:return this.parseThrowStatement(a);case Ae._try:return this.parseTryStatement(a);case Ae._const:case Ae._var:return r=r||this.value,e||"var"===r||this.unexpected(),this.parseVarStatement(a,r);case Ae._while:return this.parseWhileStatement(a);case Ae._with:return this.parseWithStatement(a);case Ae.braceL:return this.parseBlock();case Ae.semi:return this.parseEmptyStatement(a);case Ae._export:case Ae._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===Ae._import?this.parseImport(a):this.parseExport(a,n);default:if(this.isAsyncFunction())return e||this.unexpected(),this.next(),this.parseFunctionStatement(a,!0);var o=this.value,s=this.parseExpression();return i===Ae.name&&"Identifier"===s.type&&this.eat(Ae.colon)?this.parseLabeledStatement(a,o,s):this.parseExpressionStatement(a,s)}},Je.parseBreakContinueStatement=function(e,t){var n="break"===t;this.next(),this.eat(Ae.semi)||this.insertSemicolon()?e.label=null:this.type!==Ae.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(Ae.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},Je.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Xe),this.enterLexicalScope(),this.expect(Ae.parenL),this.type===Ae.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===Ae._var||this.type===Ae._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),!(this.type===Ae._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==r.declarations.length||"var"!==i&&r.declarations[0].init?(t>-1&&this.unexpected(t),this.parseFor(e,r)):(this.options.ecmaVersion>=9&&(this.type===Ae._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r))}var a=new DestructuringErrors,o=this.parseExpression(!0,a);return this.type===Ae._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===Ae._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,a),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},Je.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},Je.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.type===Ae._function),e.alternate=this.eat(Ae._else)?this.parseStatement(!this.strict&&this.type===Ae._function):null,this.finishNode(e,"IfStatement")},Je.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(Ae.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},Je.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(Ae.braceL),this.labels.push($e),this.enterLexicalScope();for(var n=!1;this.type!==Ae.braceR;)if(this.type===Ae._case||this.type===Ae._default){var r=this.type===Ae._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(Ae.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(!0));return this.exitLexicalScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},Je.parseThrowStatement=function(e){return this.next(),Ie.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Ze=[];Je.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===Ae._catch){var t=this.startNode();this.next(),this.eat(Ae.parenL)?(t.param=this.parseBindingAtom(),this.enterLexicalScope(),this.checkLVal(t.param,"let"),this.expect(Ae.parenR)):(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterLexicalScope()),t.body=this.parseBlock(!1),this.exitLexicalScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(Ae._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},Je.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},Je.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Xe),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},Je.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},Je.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},Je.parseLabeledStatement=function(e,t,n){for(var r=0,i=this.labels;r=0;o--){var s=this.labels[o];if(s.statementStart!==e.start)break;s.statementStart=this.start,s.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(!0),("ClassDeclaration"===e.body.type||"VariableDeclaration"===e.body.type&&"var"!==e.body.kind||"FunctionDeclaration"===e.body.type&&(this.strict||e.body.generator||e.body.async))&&this.raiseRecoverable(e.body.start,"Invalid labeled declaration"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},Je.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},Je.parseBlock=function(e){void 0===e&&(e=!0);var t=this.startNode();for(t.body=[],this.expect(Ae.braceL),e&&this.enterLexicalScope();!this.eat(Ae.braceR);){var n=this.parseStatement(!0);t.body.push(n)}return e&&this.exitLexicalScope(),this.finishNode(t,"BlockStatement")},Je.parseFor=function(e,t){return e.init=t,this.expect(Ae.semi),e.test=this.type===Ae.semi?null:this.parseExpression(),this.expect(Ae.semi),e.update=this.type===Ae.parenR?null:this.parseExpression(),this.expect(Ae.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},Je.parseForIn=function(e,t){var n=this.type===Ae._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"===n&&("AssignmentPattern"===t.type||"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(this.strict||"Identifier"!==t.declarations[0].id.type))&&this.raise(t.start,"Invalid assignment in for-in loop head"),e.left=t,e.right="ForInStatement"===n?this.parseExpression():this.parseMaybeAssign(),this.expect(Ae.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},Je.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(Ae.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===Ae._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===r.id.type||t&&(this.type===Ae._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(Ae.comma))break}return e},Je.parseVarId=function(e,t){e.id=this.parseBindingAtom(t),this.checkLVal(e.id,t,!1)},Je.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(e.generator=this.eat(Ae.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&&(e.id="nullableID"===t&&this.type!==Ae.name?null:this.parseIdent(),e.id&&this.checkLVal(e.id,this.inModule&&!this.inFunction?"let":"var"));var i=this.inGenerator,a=this.inAsync,o=this.yieldPos,s=this.awaitPos,u=this.inFunction;return this.inGenerator=e.generator,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),t||(e.id=this.type===Ae.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=a,this.yieldPos=o,this.awaitPos=s,this.inFunction=u,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},Je.parseFunctionParams=function(e){this.expect(Ae.parenL),e.params=this.parseBindingList(Ae.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Je.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),r=!1;for(n.body=[],this.expect(Ae.braceL);!this.eat(Ae.braceR);){var i=this.parseClassMember(n);i&&"MethodDefinition"===i.type&&"constructor"===i.kind&&(r&&this.raise(i.start,"Duplicate constructor in the same class"),r=!0)}return e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},Je.parseClassMember=function(e){var t=this;if(this.eat(Ae.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,a=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===Ae.parenL||r&&t.canInsertSemicolon())||(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,a),n.key.name=e,t.finishNode(n.key,"Identifier"),!1))};n.kind="method",n.static=r("static");var i=this.eat(Ae.star),a=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(Ae.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),i&&this.raise(o.start,"Constructor can't be a generator"),a&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor"),this.parseClassMethod(e,n,i,a),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},Je.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},Je.parseClassId=function(e,t){e.id=this.type===Ae.name?this.parseIdent():!0===t?this.unexpected():null},Je.parseClassSuper=function(e){e.superClass=this.eat(Ae._extends)?this.parseExprSubscripts():null},Je.parseExport=function(e,t){if(this.next(),this.eat(Ae.star))return this.expectContextual("from"),this.type!==Ae.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(Ae._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===Ae._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,"nullableID",!1,n)}else if(this.type===Ae._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==Ae.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,i=e.key;switch(i.type){case"Identifier":r=i.name;break;case"Literal":r=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===a&&(t.proto&&(n&&n.doubleProto<0?n.doubleProto=i.start:this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);else{var o=t[r="$"+r];if(o)("init"===a?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(i.start,"Redefinition of property");else o=t[r]={init:!1,get:!1,set:!1};o[a]=!0}}},Ye.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===Ae.comma){var a=this.startNodeAt(n,r);for(a.expressions=[i];this.eat(Ae.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i},Ye.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1,i=-1,a=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new DestructuringErrors,r=!0);var o=this.start,s=this.startLoc;this.type!==Ae.parenL&&this.type!==Ae.name||(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(n&&(u=n.call(this,u,o,s)),this.type.isAssign){var c=this.startNodeAt(o,s);return c.operator=this.value,c.left=this.type===Ae.eq?this.toAssignable(u,!1,t):u,r||DestructuringErrors.call(t),t.shorthandAssign=-1,this.checkLVal(u),this.next(),c.right=this.parseMaybeAssign(e),this.finishNode(c,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),u},Ye.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(Ae.question)){var a=this.startNodeAt(n,r);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(Ae.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i},Ye.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:i.start===n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,e)},Ye.parseExprOp=function(e,t,n,r,i){var a=this.type.binop;if(null!=a&&(!i||this.type!==Ae._in)&&a>r){var o=this.type===Ae.logicalOR||this.type===Ae.logicalAND,s=this.value;this.next();var u=this.start,c=this.startLoc,l=this.parseExprOp(this.parseMaybeUnary(null,!1),u,c,a,i),p=this.buildBinary(t,n,e,l,s,o);return this.parseExprOp(p,t,n,r,i)}return e},Ye.buildBinary=function(e,t,n,r,i,a){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")},Ye.parseMaybeUnary=function(e,t){var n,r=this.start,i=this.startLoc;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))n=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),o=this.type===Ae.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),o?this.checkLVal(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(a,o?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(r,i);s.operator=this.value,s.prefix=!1,s.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(s,"UpdateExpression")}}return!t&&this.eat(Ae.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n},Ye.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||i)return r;var a=this.parseSubscripts(r,t,n);return e&&"MemberExpression"===a.type&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1)),a},Ye.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end),a=void 0;;)if((a=this.eat(Ae.bracketL))||this.eat(Ae.dot)){var o=this.startNodeAt(t,n);o.object=e,o.property=a?this.parseExpression():this.parseIdent(!0),o.computed=!!a,a&&this.expect(Ae.bracketR),e=this.finishNode(o,"MemberExpression")}else if(!r&&this.eat(Ae.parenL)){var s=new DestructuringErrors,u=this.yieldPos,c=this.awaitPos;this.yieldPos=0,this.awaitPos=0;var l=this.parseExprList(Ae.parenR,this.options.ecmaVersion>=8,!1,s);if(i&&!this.canInsertSemicolon()&&this.eat(Ae.arrow))return this.checkPatternErrors(s,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=u,this.awaitPos=c,this.parseArrowExpression(this.startNodeAt(t,n),l,!0);this.checkExpressionErrors(s,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=c||this.awaitPos;var p=this.startNodeAt(t,n);p.callee=e,p.arguments=l,e=this.finishNode(p,"CallExpression")}else{if(this.type!==Ae.backQuote)return e;var f=this.startNodeAt(t,n);f.tag=e,f.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(f,"TaggedTemplateExpression")}},Ye.parseExprAtom=function(e){var t,n=this.potentialArrowAt===this.start;switch(this.type){case Ae._super:return this.inFunction||this.raise(this.start,"'super' outside of function or class"),t=this.startNode(),this.next(),this.type!==Ae.dot&&this.type!==Ae.bracketL&&this.type!==Ae.parenL&&this.unexpected(),this.finishNode(t,"Super");case Ae._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case Ae.name:var r=this.start,i=this.startLoc,a=this.containsEsc,o=this.parseIdent(this.type!==Ae.name);if(this.options.ecmaVersion>=8&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(Ae._function))return this.parseFunction(this.startNodeAt(r,i),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(Ae.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===Ae.name&&!a)return o=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(Ae.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[o],!0)}return o;case Ae.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;case Ae.num:case Ae.string:return this.parseLiteral(this.value);case Ae._null:case Ae._true:case Ae._false:return(t=this.startNode()).value=this.type===Ae._null?null:this.type===Ae._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case Ae.parenL:var u=this.start,c=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),c;case Ae.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(Ae.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case Ae.braceL:return this.parseObj(!1,e);case Ae._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case Ae._class:return this.parseClass(this.startNode(),!1);case Ae._new:return this.parseNew();case Ae.backQuote:return this.parseTemplate();default:this.unexpected()}},Ye.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},Ye.parseParenExpression=function(){this.expect(Ae.parenL);var e=this.parseExpression();return this.expect(Ae.parenR),e},Ye.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,s=this.startLoc,u=[],c=!0,l=!1,p=new DestructuringErrors,f=this.yieldPos,h=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==Ae.parenR;){if(c?c=!1:this.expect(Ae.comma),i&&this.afterTrailingComma(Ae.parenR,!0)){l=!0;break}if(this.type===Ae.ellipsis){a=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===Ae.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,p,this.parseParenItem))}var d=this.start,m=this.startLoc;if(this.expect(Ae.parenR),e&&!this.canInsertSemicolon()&&this.eat(Ae.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=f,this.awaitPos=h,this.parseParenArrowList(n,r,u);u.length&&!l||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(p,!0),this.yieldPos=f||this.yieldPos,this.awaitPos=h||this.awaitPos,u.length>1?((t=this.startNodeAt(o,s)).expressions=u,this.finishNodeAt(t,"SequenceExpression",d,m)):t=u[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var g=this.startNodeAt(n,r);return g.expression=t,this.finishNode(g,"ParenthesizedExpression")}return t},Ye.parseParenItem=function(e){return e},Ye.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var et=[];Ye.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(Ae.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||n)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),this.eat(Ae.parenL)?e.arguments=this.parseExprList(Ae.parenR,this.options.ecmaVersion>=8,!1):e.arguments=et,this.finishNode(e,"NewExpression")},Ye.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===Ae.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===Ae.backQuote,this.finishNode(n,"TemplateElement")},Ye.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===Ae.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(Ae.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(Ae.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},Ye.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===Ae.name||this.type===Ae.num||this.type===Ae.string||this.type===Ae.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Ae.star)&&!Ie.test(this.input.slice(this.lastTokEnd,this.start))},Ye.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(Ae.braceR);){if(r)r=!1;else if(this.expect(Ae.comma),this.afterTrailingComma(Ae.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),n.properties.push(a)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},Ye.parseProperty=function(e,t){var n,r,i,a,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(Ae.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===Ae.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===Ae.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,t),this.type===Ae.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(i=this.start,a=this.startLoc),e||(n=this.eat(Ae.star)));var s=this.containsEsc;return this.parsePropertyName(o),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(Ae.star),this.parsePropertyName(o,t)):r=!1,this.parsePropertyValue(o,e,n,r,i,a,t,s),this.finishNode(o,"Property")},Ye.parsePropertyValue=function(e,t,n,r,i,a,o,s){if((n||r)&&this.type===Ae.colon&&this.unexpected(),this.eat(Ae.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===Ae.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===Ae.comma||this.type===Ae.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?(this.checkUnreserved(e.key),e.kind="init",t?e.value=this.parseMaybeDefault(i,a,e.key):this.type===Ae.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var c=e.value.start;"get"===e.kind?this.raiseRecoverable(c,"getter should have no params"):this.raiseRecoverable(c,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},Ye.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(Ae.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(Ae.bracketR),e.key;e.computed=!1}return e.key=this.type===Ae.num||this.type===Ae.string?this.parseExprAtom():this.parseIdent(!0)},Ye.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},Ye.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.inGenerator=n.generator,this.inAsync=n.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),this.expect(Ae.parenL),n.params=this.parseBindingList(Ae.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(n,"FunctionExpression")},Ye.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.enterFunctionScope(),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(e,"ArrowFunctionExpression")},Ye.parseFunctionBody=function(e,t){var n=t&&this.type!==Ae.braceL,r=this.strict,i=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!a||(i=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!r&&!i&&!t&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=o}this.exitFunctionScope(),this.strict&&e.id&&this.checkLVal(e.id,"none"),this.strict=r},Ye.isSimpleParamList=function(e){for(var t=0,n=e;t0;)t[n]=arguments[n+1];for(var r=0,i=t;r=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},ut.updateContext=function(e){var t,n=this.type;n.keyword&&e===Ae.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},Ae.parenR.updateContext=Ae.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===st.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},Ae.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?st.b_stat:st.b_expr),this.exprAllowed=!0},Ae.dollarBraceL.updateContext=function(){this.context.push(st.b_tmpl),this.exprAllowed=!0},Ae.parenL.updateContext=function(e){var t=e===Ae._if||e===Ae._for||e===Ae._with||e===Ae._while;this.context.push(t?st.p_stat:st.p_expr),this.exprAllowed=!0},Ae.incDec.updateContext=function(){},Ae._function.updateContext=Ae._class.updateContext=function(e){e.beforeExpr&&e!==Ae.semi&&e!==Ae._else&&(e!==Ae.colon&&e!==Ae.braceL||this.curContext()!==st.b_stat)?this.context.push(st.f_expr):this.context.push(st.f_stat),this.exprAllowed=!1},Ae.backQuote.updateContext=function(){this.curContext()===st.q_tmpl?this.context.pop():this.context.push(st.q_tmpl),this.exprAllowed=!1},Ae.star.updateContext=function(e){if(e===Ae._function){var t=this.context.length-1;this.context[t]===st.f_expr?this.context[t]=st.f_expr_gen:this.context[t]=st.f_gen}this.exprAllowed=!0},Ae.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==Ae.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var ct={$LONE:["ASCII","ASCII_Hex_Digit","AHex","Alphabetic","Alpha","Any","Assigned","Bidi_Control","Bidi_C","Bidi_Mirrored","Bidi_M","Case_Ignorable","CI","Cased","Changes_When_Casefolded","CWCF","Changes_When_Casemapped","CWCM","Changes_When_Lowercased","CWL","Changes_When_NFKC_Casefolded","CWKCF","Changes_When_Titlecased","CWT","Changes_When_Uppercased","CWU","Dash","Default_Ignorable_Code_Point","DI","Deprecated","Dep","Diacritic","Dia","Emoji","Emoji_Component","Emoji_Modifier","Emoji_Modifier_Base","Emoji_Presentation","Extender","Ext","Grapheme_Base","Gr_Base","Grapheme_Extend","Gr_Ext","Hex_Digit","Hex","IDS_Binary_Operator","IDSB","IDS_Trinary_Operator","IDST","ID_Continue","IDC","ID_Start","IDS","Ideographic","Ideo","Join_Control","Join_C","Logical_Order_Exception","LOE","Lowercase","Lower","Math","Noncharacter_Code_Point","NChar","Pattern_Syntax","Pat_Syn","Pattern_White_Space","Pat_WS","Quotation_Mark","QMark","Radical","Regional_Indicator","RI","Sentence_Terminal","STerm","Soft_Dotted","SD","Terminal_Punctuation","Term","Unified_Ideograph","UIdeo","Uppercase","Upper","Variation_Selector","VS","White_Space","space","XID_Continue","XIDC","XID_Start","XIDS"],General_Category:["Cased_Letter","LC","Close_Punctuation","Pe","Connector_Punctuation","Pc","Control","Cc","cntrl","Currency_Symbol","Sc","Dash_Punctuation","Pd","Decimal_Number","Nd","digit","Enclosing_Mark","Me","Final_Punctuation","Pf","Format","Cf","Initial_Punctuation","Pi","Letter","L","Letter_Number","Nl","Line_Separator","Zl","Lowercase_Letter","Ll","Mark","M","Combining_Mark","Math_Symbol","Sm","Modifier_Letter","Lm","Modifier_Symbol","Sk","Nonspacing_Mark","Mn","Number","N","Open_Punctuation","Ps","Other","C","Other_Letter","Lo","Other_Number","No","Other_Punctuation","Po","Other_Symbol","So","Paragraph_Separator","Zp","Private_Use","Co","Punctuation","P","punct","Separator","Z","Space_Separator","Zs","Spacing_Mark","Mc","Surrogate","Cs","Symbol","S","Titlecase_Letter","Lt","Unassigned","Cn","Uppercase_Letter","Lu"],Script:["Adlam","Adlm","Ahom","Anatolian_Hieroglyphs","Hluw","Arabic","Arab","Armenian","Armn","Avestan","Avst","Balinese","Bali","Bamum","Bamu","Bassa_Vah","Bass","Batak","Batk","Bengali","Beng","Bhaiksuki","Bhks","Bopomofo","Bopo","Brahmi","Brah","Braille","Brai","Buginese","Bugi","Buhid","Buhd","Canadian_Aboriginal","Cans","Carian","Cari","Caucasian_Albanian","Aghb","Chakma","Cakm","Cham","Cherokee","Cher","Common","Zyyy","Coptic","Copt","Qaac","Cuneiform","Xsux","Cypriot","Cprt","Cyrillic","Cyrl","Deseret","Dsrt","Devanagari","Deva","Duployan","Dupl","Egyptian_Hieroglyphs","Egyp","Elbasan","Elba","Ethiopic","Ethi","Georgian","Geor","Glagolitic","Glag","Gothic","Goth","Grantha","Gran","Greek","Grek","Gujarati","Gujr","Gurmukhi","Guru","Han","Hani","Hangul","Hang","Hanunoo","Hano","Hatran","Hatr","Hebrew","Hebr","Hiragana","Hira","Imperial_Aramaic","Armi","Inherited","Zinh","Qaai","Inscriptional_Pahlavi","Phli","Inscriptional_Parthian","Prti","Javanese","Java","Kaithi","Kthi","Kannada","Knda","Katakana","Kana","Kayah_Li","Kali","Kharoshthi","Khar","Khmer","Khmr","Khojki","Khoj","Khudawadi","Sind","Lao","Laoo","Latin","Latn","Lepcha","Lepc","Limbu","Limb","Linear_A","Lina","Linear_B","Linb","Lisu","Lycian","Lyci","Lydian","Lydi","Mahajani","Mahj","Malayalam","Mlym","Mandaic","Mand","Manichaean","Mani","Marchen","Marc","Masaram_Gondi","Gonm","Meetei_Mayek","Mtei","Mende_Kikakui","Mend","Meroitic_Cursive","Merc","Meroitic_Hieroglyphs","Mero","Miao","Plrd","Modi","Mongolian","Mong","Mro","Mroo","Multani","Mult","Myanmar","Mymr","Nabataean","Nbat","New_Tai_Lue","Talu","Newa","Nko","Nkoo","Nushu","Nshu","Ogham","Ogam","Ol_Chiki","Olck","Old_Hungarian","Hung","Old_Italic","Ital","Old_North_Arabian","Narb","Old_Permic","Perm","Old_Persian","Xpeo","Old_South_Arabian","Sarb","Old_Turkic","Orkh","Oriya","Orya","Osage","Osge","Osmanya","Osma","Pahawh_Hmong","Hmng","Palmyrene","Palm","Pau_Cin_Hau","Pauc","Phags_Pa","Phag","Phoenician","Phnx","Psalter_Pahlavi","Phlp","Rejang","Rjng","Runic","Runr","Samaritan","Samr","Saurashtra","Saur","Sharada","Shrd","Shavian","Shaw","Siddham","Sidd","SignWriting","Sgnw","Sinhala","Sinh","Sora_Sompeng","Sora","Soyombo","Soyo","Sundanese","Sund","Syloti_Nagri","Sylo","Syriac","Syrc","Tagalog","Tglg","Tagbanwa","Tagb","Tai_Le","Tale","Tai_Tham","Lana","Tai_Viet","Tavt","Takri","Takr","Tamil","Taml","Tangut","Tang","Telugu","Telu","Thaana","Thaa","Thai","Tibetan","Tibt","Tifinagh","Tfng","Tirhuta","Tirh","Ugaritic","Ugar","Vai","Vaii","Warang_Citi","Wara","Yi","Yiii","Zanabazar_Square","Zanb"]};Array.prototype.push.apply(ct.$LONE,ct.General_Category),ct.gc=ct.General_Category,ct.sc=ct.Script_Extensions=ct.scx=ct.Script;var lt=He.prototype,pt=function RegExpValidationState(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function codePointToString$1(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function isSyntaxCharacter(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function isRegExpIdentifierStart(e){return isIdentifierStart(e,!0)||36===e||95===e}function isRegExpIdentifierPart(e){return isIdentifierChar(e,!0)||36===e||95===e||8204===e||8205===e}function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}function isCharacterClassEscape(e){return 100===e||68===e||115===e||83===e||119===e||87===e}function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||95===e}function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}function isDecimalDigit(e){return e>=48&&e<=57}function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function isOctalDigit(e){return e>=48&&e<=55}pt.prototype.reset=function reset(e,t,n){var r=-1!==n.indexOf("u");this.start=0|e,this.source=t+"",this.flags=n,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},pt.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},pt.prototype.at=function at(e){var t=this.source,n=t.length;if(e>=n)return-1;var r=t.charCodeAt(e);return!this.switchU||r<=55295||r>=57344||e+1>=n?r:(r<<10)+t.charCodeAt(e+1)-56613888},pt.prototype.nextIndex=function nextIndex(e){var t=this.source,n=t.length;if(e>=n)return n;var r=t.charCodeAt(e);return!this.switchU||r<=55295||r>=57344||e+1>=n?e+1:e+2},pt.prototype.current=function current(){return this.at(this.pos)},pt.prototype.lookahead=function lookahead(){return this.at(this.nextIndex(this.pos))},pt.prototype.advance=function advance(){this.pos=this.nextIndex(this.pos)},pt.prototype.eat=function eat(e){return this.current()===e&&(this.advance(),!0)},lt.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=0;r-1&&this.raise(e.start,"Duplicate regular expression flag")}},lt.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},lt.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},lt.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},lt.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},lt.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return-1!==i&&i=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},lt.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},lt.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},lt.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!isSyntaxCharacter(t)&&(e.lastIntValue=t,e.advance(),!0)},lt.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;-1!==(n=e.current())&&!isSyntaxCharacter(n);)e.advance();return e.pos!==t},lt.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t)&&(e.advance(),!0)},lt.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},lt.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},lt.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=codePointToString$1(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=codePointToString$1(e.lastIntValue);return!0}return!1},lt.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=e.current();return e.advance(),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(n=e.lastIntValue),isRegExpIdentifierStart(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},lt.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=e.current();return e.advance(),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(n=e.lastIntValue),isRegExpIdentifierPart(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},lt.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},lt.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},lt.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},lt.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},lt.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},lt.regexp_eatZero=function(e){return 48===e.current()&&!isDecimalDigit(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},lt.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},lt.regexp_eatControlLetter=function(e){var t=e.current();return!!isControlLetter(t)&&(e.lastIntValue=t%32,e.advance(),!0)},lt.regexp_eatRegExpUnicodeEscapeSequence=function(e){var t,n=e.pos;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var r=e.lastIntValue;if(e.switchU&&r>=55296&&r<=56319){var i=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=1024*(r-55296)+(a-56320)+65536,!0}e.pos=i,e.lastIntValue=r}return!0}if(e.switchU&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&((t=e.lastIntValue)>=0&&t<=1114111))return!0;e.switchU&&e.raise("Invalid unicode escape"),e.pos=n}return!1},lt.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t)&&(e.lastIntValue=t,e.advance(),!0)},lt.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1},lt.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},lt.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1},lt.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){ct.hasOwnProperty(t)&&-1!==ct[t].indexOf(n)||e.raise("Invalid property name")},lt.regexp_validateUnicodePropertyNameOrValue=function(e,t){-1===ct.$LONE.indexOf(t)&&e.raise("Invalid property name")},lt.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";isUnicodePropertyNameCharacter(t=e.current());)e.lastStringValue+=codePointToString$1(t),e.advance();return""!==e.lastStringValue},lt.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";isUnicodePropertyValueCharacter(t=e.current());)e.lastStringValue+=codePointToString$1(t),e.advance();return""!==e.lastStringValue},lt.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},lt.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},lt.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;!e.switchU||-1!==t&&-1!==n||e.raise("Invalid character class"),-1!==t&&-1!==n&&t>n&&e.raise("Range out of order in character class")}}},lt.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(99===n||isOctalDigit(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},lt.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},lt.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!isDecimalDigit(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},lt.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},lt.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;isDecimalDigit(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},lt.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;isHexDigit(n=e.current());)e.lastIntValue=16*e.lastIntValue+hexToInt(n),e.advance();return e.pos!==t},lt.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*n+e.lastIntValue:e.lastIntValue=8*t+n}else e.lastIntValue=t;return!0}return!1},lt.regexp_eatOctalDigit=function(e){var t=e.current();return isOctalDigit(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},lt.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r>10),56320+(1023&e)))}ht.next=function(){this.options.onToken&&this.options.onToken(new ft(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},ht.getToken=function(){return this.next(),new ft(this)},"undefined"!=typeof Symbol&&(ht[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===Ae.eof,value:t}}}}),ht.curContext=function(){return this.context[this.context.length-1]},ht.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(Ae.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},ht.readToken=function(e){return isIdentifierStart(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},ht.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},ht.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(Ne.lastIndex=n;(e=Ne.exec(this.input))&&e.index8&&e<14||e>=5760&&Me.test(String.fromCharCode(e))))break e;++this.pos}}},ht.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},ht.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(Ae.ellipsis)):(++this.pos,this.finishToken(Ae.dot))},ht.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(Ae.assign,2):this.finishOp(Ae.slash,1)},ht.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?Ae.star:Ae.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++n,r=Ae.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(Ae.assign,n+1):this.finishOp(r,n)},ht.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?Ae.logicalOR:Ae.logicalAND,2):61===t?this.finishOp(Ae.assign,2):this.finishOp(124===e?Ae.bitwiseOR:Ae.bitwiseAND,1)},ht.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(Ae.assign,2):this.finishOp(Ae.bitwiseXOR,1)},ht.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!Ie.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(Ae.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(Ae.assign,2):this.finishOp(Ae.plusMin,1)},ht.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(Ae.assign,n+1):this.finishOp(Ae.bitShift,n)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(Ae.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},ht.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(Ae.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(Ae.arrow)):this.finishOp(61===e?Ae.eq:Ae.prefix,1)},ht.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(Ae.parenL);case 41:return++this.pos,this.finishToken(Ae.parenR);case 59:return++this.pos,this.finishToken(Ae.semi);case 44:return++this.pos,this.finishToken(Ae.comma);case 91:return++this.pos,this.finishToken(Ae.bracketL);case 93:return++this.pos,this.finishToken(Ae.bracketR);case 123:return++this.pos,this.finishToken(Ae.braceL);case 125:return++this.pos,this.finishToken(Ae.braceR);case 58:return++this.pos,this.finishToken(Ae.colon);case 63:return++this.pos,this.finishToken(Ae.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(Ae.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(Ae.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString(e)+"'")},ht.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},ht.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(Ie.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if("["===r)t=!0;else if("]"===r&&t)t=!1;else if("/"===r&&!t)break;e="\\"===r}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var a=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(a);var s=this.regexpState||(this.regexpState=new pt(this));s.reset(n,i,o),this.validateRegExpFlags(s),this.validateRegExpPattern(s);var u=null;try{u=new RegExp(i,o)}catch(e){}return this.finishToken(Ae.regexp,{pattern:i,flags:o,value:u})},ht.readInt=function(e,t){for(var n=this.pos,r=0,i=0,a=null==t?1/0:t;i=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=e)break;++this.pos,r=r*e+s}return this.pos===n||null!=t&&this.pos-n!==t?null:r},ht.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(Ae.num,t)},ht.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number"),n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1);var r=this.input.charCodeAt(this.pos);46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i=this.input.slice(t,this.pos),a=n?parseInt(i,8):parseFloat(i);return this.finishToken(Ae.num,a)},ht.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},ht.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(isNewLine(r,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(Ae.string,t)};var dt={};ht.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==dt)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},ht.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw dt;this.raise(e,t)},ht.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==Ae.template&&this.type!==Ae.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(Ae.template,e)):36===n?(this.pos+=2,this.finishToken(Ae.dollarBraceL)):(++this.pos,this.finishToken(Ae.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(isNewLine(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},ht.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}return String.fromCharCode(t)}},ht.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},ht.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos"+e+";"},wt=function(e){function StateHolder(){var e,t,n;ReactExample_classCallCheck(this,StateHolder);for(var r=arguments.length,i=Array(r),a=0;a0&&console.clear(),this.executeCode()}},{key:"shouldComponentUpdate",value:function shouldComponentUpdate(e,t){return this.state.error!==t.error||this.props.code!==e.code}},{key:"componentDidUpdate",value:function componentDidUpdate(e){this.props.code!==e.code&&this.executeCode()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.unmountPreview()}},{key:"unmountPreview",value:function unmountPreview(){this.mountNode&&a.a.unmountComponentAtNode(this.mountNode)}},{key:"executeCode",value:function executeCode(){var e=this;this.setState({error:null});var t=this.props.code;if(t){var n=s.a.createElement(kt,{code:t,evalInContext:this.props.evalInContext,onError:this.handleError,compilerConfig:this.context.config.compilerConfig});window.requestAnimationFrame(function(){e.unmountPreview();try{a.a.render(n,e.mountNode)}catch(t){e.handleError(t)}})}}},{key:"render",value:function render(){var e=this,t=this.state.error;return s.a.createElement(Ct,null,s.a.createElement("div",{ref:function ref(t){return e.mountNode=t}}),t&&s.a.createElement(he,{message:t}))}}]),Preview}();Pt.propTypes={code:c.a.string.isRequired,evalInContext:c.a.func.isRequired},Pt.contextTypes={config:c.a.object.isRequired,codeRevision:c.a.number.isRequired};var Ot=Pt,Tt=n(69),Rt=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function PlaygroundRenderer(e){var t=e.classes,n=e.name,r=e.preview,i=e.previewProps,a=e.tabButtons,o=e.tabBody,u=e.toolbar,c=i.className,l=_objectWithoutProperties(i,["className"]);return s.a.createElement("div",{className:t.root},s.a.createElement("div",jt({className:j()(t.preview,c)},l,{"data-preview":n}),r),s.a.createElement("div",{className:t.controls},s.a.createElement("div",{className:t.tabs},a),s.a.createElement("div",{className:t.toolbar},u)),s.a.createElement("div",{className:t.tab},o))}PlaygroundRenderer.propTypes={classes:c.a.object.isRequired,name:c.a.string.isRequired,preview:c.a.node.isRequired,previewProps:c.a.object.isRequired,tabButtons:c.a.node.isRequired,tabBody:c.a.node.isRequired,toolbar:c.a.node.isRequired};var At=Object(l.a)(function styles(e){var t=e.space,n=e.color,r=e.borderRadius;return{root:{marginBottom:t[4]},preview:{padding:t[2],border:[[1,n.border,"solid"]],borderRadius:r,width:"100%",display:"inline-block"},controls:{display:"flex",alignItems:"center"},toolbar:{marginLeft:"auto"},tab:{}}})(PlaygroundRenderer),It=Object.freeze({all:"all",section:"section",component:"component",example:"example",notFound:"notFound"}),Nt=Object.freeze({hide:"hide",collapse:"collapse",expand:"expand"}),Mt=Object.freeze({hide:"hide",collapse:"collapse",expand:"expand"}),Lt=function(){function defineProperties(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function SectionHeading(e){var t=e.slotName,n=e.slotProps,r=e.children,i=e.id,a=e.pagePerSection,o=SectionHeading_objectWithoutProperties(e,["slotName","slotProps","children","id","pagePerSection"]),u=getUrl(a?{slug:i,id:1!==o.depth,takeHash:!0}:{slug:i,anchor:!0});return s.a.createElement(Vt,qt({toolbar:s.a.createElement(Slot,{name:t,props:n}),id:i,href:u},o),r)}SectionHeading.propTypes={children:c.a.node,id:c.a.string.isRequired,slotName:c.a.string.isRequired,slotProps:c.a.object.isRequired,depth:c.a.number.isRequired,deprecated:c.a.bool,pagePerSection:c.a.bool};var Wt=n(257),zt=n.n(Wt),Ht=n(258),Gt=n.n(Ht);function PathlineRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("div",{className:t.pathline},n,s.a.createElement(A,{small:!0,className:t.copyButton,onClick:function onClick(){return zt()(n)},title:"Copy to clipboard"},s.a.createElement(Gt.a,null)))}PathlineRenderer.propTypes={classes:c.a.object.isRequired,children:c.a.string};var Kt=Object(l.a)(function styles(e){var t=e.space,n=e.fontFamily,r=e.fontSize,i=e.color;return{pathline:{fontFamily:n.monospace,fontSize:r.small,color:i.light,wordBreak:"break-all"},copyButton:{marginLeft:t[0]}}})(PathlineRenderer);function ReactComponentRenderer(e){var t=e.classes,n=e.name,r=e.heading,i=e.pathLine,a=e.description,o=e.docs,u=e.examples,c=e.tabButtons,l=e.tabBody;return s.a.createElement("div",{className:t.root,id:n+"-container"},s.a.createElement("header",{className:t.header},r,i&&s.a.createElement(Kt,null,i)),(a||o)&&s.a.createElement("div",{className:t.docs},a,o),c&&s.a.createElement("div",{className:t.tabs},s.a.createElement("div",{className:t.tabButtons},c),s.a.createElement("div",{className:t.tabBody},l)),u)}ReactComponentRenderer.propTypes={classes:c.a.object.isRequired,name:c.a.string.isRequired,heading:c.a.node.isRequired,filepath:c.a.string,pathLine:c.a.string,tabButtons:c.a.node,tabBody:c.a.node,description:c.a.node,docs:c.a.node,examples:c.a.node,isolated:c.a.bool};var Jt=Object(l.a)(function styles(e){var t=e.color,n=e.fontSize,r=e.space;return{root:{marginBottom:r[6]},header:{marginBottom:r[3]},tabs:{marginBottom:r[3]},tabButtons:{marginBottom:r[2]},tabBody:{overflowX:"auto",maxWidth:"100%",WebkitOverflowScrolling:"touch"},docs:{color:t.base,fontSize:n.text}}})(ReactComponentRenderer),Xt=Object.assign||function(e){for(var t=1;t0?s.a.createElement(Examples,{examples:_,name:l,exampleMode:c}):s.a.createElement(Zt,{name:l}),tabButtons:S&&s.a.createElement(Slot,{name:"docsTabButtons",active:e,props:Xt({},a,{onClick:this.handleTabChange})}),tabBody:s.a.createElement(Slot,{name:"docsTabs",active:e,onlyActive:!0,props:a})})}}]),ReactComponent}();Qt.propTypes={component:c.a.object.isRequired,depth:c.a.number.isRequired,exampleMode:c.a.string.isRequired,usageMode:c.a.string.isRequired},Qt.contextTypes={config:c.a.object.isRequired,displayMode:c.a.string};var Yt=Qt;function ComponentsRenderer(e){var t=e.children;return s.a.createElement("div",null,t)}function Components(e){var t=e.components,n=e.depth,r=e.exampleMode,i=e.usageMode;return s.a.createElement(ComponentsRenderer,null,t.map(function(e){return s.a.createElement(Yt,{key:e.filepath,component:e,exampleMode:r,usageMode:i,depth:n})}))}ComponentsRenderer.propTypes={children:c.a.node.isRequired},Components.propTypes={components:c.a.array.isRequired,depth:c.a.number.isRequired,exampleMode:c.a.string.isRequired,usageMode:c.a.string.isRequired};function SectionRenderer(e){var t=e.classes,n=e.name,r=e.slug,i=e.content,a=e.components,o=e.sections,u=e.depth,c=e.description,l=e.pagePerSection;return s.a.createElement("section",{className:t.root},n&&s.a.createElement(SectionHeading,{depth:u,id:r,slotName:"sectionToolbar",pagePerSection:l,slotProps:e},n),c&&s.a.createElement(m.a,{text:c}),i,o,a)}SectionRenderer.propTypes={classes:c.a.object.isRequired,name:c.a.string,description:c.a.string,slug:c.a.string,filepath:c.a.string,content:c.a.node,components:c.a.node,sections:c.a.node,isolated:c.a.bool,depth:c.a.number.isRequired,pagePerSection:c.a.bool};var en=Object(l.a)(function styles(e){return{root:{marginBottom:e.space[4]}}})(SectionRenderer);function Section(e,t){var n=e.section,r=e.depth,i=t.displayMode,a=t.config.pagePerSection,o=n.name,u=n.slug,c=n.filepath,l=n.content,p=n.components,f=n.sections,h=n.description,d=n.exampleMode,m=n.usageMode,g=l&&s.a.createElement(Examples,{examples:l,name:o,exampleMode:d}),y=p&&s.a.createElement(Components,{usageMode:m,exampleMode:d,components:p,depth:r+1}),b=f&&s.a.createElement(Sections,{sections:f,depth:r+1});return s.a.createElement(en,{description:h,pagePerSection:a,name:o,slug:u,filepath:c,content:g,components:y,sections:b,isolated:i!==It.all,depth:r})}Section.propTypes={section:c.a.object.isRequired,depth:c.a.number.isRequired},Section.contextTypes={displayMode:c.a.string,config:c.a.object.isRequired};function SectionsRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("section",{className:t.root},n)}SectionsRenderer.propTypes={classes:c.a.object.isRequired,children:c.a.node};var tn=Object(l.a)(function styles(){return{root:{}}})(SectionsRenderer);function Sections(e){var t=e.sections,n=e.depth;return s.a.createElement(tn,null,t.filter(function(e){return!e.href}).map(function(e,t){return s.a.createElement(Section,{key:t,section:e,depth:n})}))}Sections.propTypes={sections:c.a.array.isRequired,root:c.a.bool,depth:c.a.number.isRequired};var nn=n(108);function WelcomeRenderer(e){var t=e.classes,n=e.patterns;return s.a.createElement("div",{className:t.root},s.a.createElement(m.a,{text:"\n# Welcome to React Styleguidist!\n\n**We couldn’t find any components** using these patterns:\n\n"+n.map(function(e){return"- `"+e+"`"}).join("\n")+"\n\nCreate **styleguide.config.js** file in your project root directory like this:\n\n module.exports = {\n components: 'src/components/**/*.js'\n };\n\nRead more in the [locating components guide]("+nn.DOCS_COMPONENTS+").\n\t\t\t\t"}))}WelcomeRenderer.propTypes={classes:c.a.object.isRequired,patterns:c.a.array.isRequired};var rn=Object(l.a)(function styles(e){var t=e.space;return{root:{maxWidth:e.maxWidth,margin:[[0,"auto"]],padding:t[4]}}})(WelcomeRenderer);function ErrorRenderer(e){var t=e.classes,n=e.error,r=e.info;return s.a.createElement("div",{className:t.root},s.a.createElement("pre",{className:t.stack},n.toString(),r.componentStack.toString()),s.a.createElement("div",{className:t.message},s.a.createElement("p",null,"This may be due to an error in a component you are overriding, or a bug in React Styleguidist."),s.a.createElement("p",null,"If you believe this is a bug, ",s.a.createElement("a",{style:{color:"inherit"},href:"https://github.com/styleguidist/react-styleguidist/issues"},"please submit an issue"),".")))}ErrorRenderer.propTypes={classes:c.a.object.isRequired,error:c.a.object.isRequired,info:c.a.shape({componentStack:c.a.any.isRequired}).isRequired};var an=Object(l.a)(function styles(e){var t=e.fontFamily,n=e.fontSize,r=e.color;return{root:{margin:e.space[2],lineHeight:1.2,fontSize:n.small},stack:{color:r.error,whiteSpace:"pre-wrap",fontFamily:t.monospace},message:{color:r.error,fontFamily:t.base}}})(ErrorRenderer);function NotFoundRenderer(e){var t=e.classes;return s.a.createElement("div",{className:t.root},s.a.createElement(m.a,{text:"\n# Page not found\nThe link you followed may be broken, or the page may have been removed.\n"}))}NotFoundRenderer.propTypes={classes:c.a.object.isRequired};var on=Object(l.a)(function styles(e){return{root:{maxWidth:e.maxWidth,margin:[[0,"auto"]]}}})(NotFoundRenderer),sn=function(){function defineProperties(e,t){for(var n=0;n0&&i&&(r=bn({},r,{sections:[],components:[]})),e=[r]}else e=[]}}),e.length||(l=It.notFound),o=s[s.length-1];else if((p=filterComponentsInSectionsByExactName(e,o,!0)).length)e=p,l=It.component;else{var f=findSection(e,o);e=f?[f]:[],l=It.section}if(hn()(u))if(1===p.length){var h=p[0].components;e=[bn({},p[0],{components:[(r=h[0],i=u,dn({},r,{props:dn({},r.props,{examples:[r.props.examples[i]]})}))]})],l=It.example}else 1===e.length&&(e=[filterSectionExamples(e[0],u)],l=It.example)}return{sections:e,displayMode:l}}var vn=n(260);function globalizeComponents(e){e.forEach(function(e){e.components&&e.components.forEach(vn.a),e.sections&&globalizeComponents(e.sections)})}var _n=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:window.location,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:document,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:window.history,a=processSections(e.sections);globalizeComponents(a);var o=e.config,u=o.title,c=o.pagePerSection,l=getRouteData(a,n.hash,c),p=l.sections,f=l.displayMode;if(r.title=getPageTitle(p,u,f),"#/"===n.hash){var h=n.pathname+n.search;i.replaceState("",r.title,h)}return s.a.createElement(cn,{codeRevision:t,config:e.config,slots:q(e.config),welcomeScreen:e.welcomeScreen,patterns:e.patterns,sections:p,allSections:a,displayMode:f,pagePerSection:c})}var wn=function render(){var e=n(583);a.a.render(renderStyleguide(e,0),document.getElementById(e.config.mountPointId))};window.addEventListener("hashchange",wn),window.addEventListener("hashchange",function scrollToOrigin(){var e=window.location.hash;if(X(e,"#/")||X(e,"#!/")){var t=Q(e,"id"),n=0;if(t){var r=document.getElementById(t);r&&r.offsetTop&&(n=r.offsetTop)}window.scrollTo(0,n)}}),wn()}]); \ No newline at end of file diff --git a/docs/build/bundle.83494be5.js b/docs/build/bundle.83494be5.js new file mode 100644 index 0000000..e4664f9 --- /dev/null +++ b/docs/build/bundle.83494be5.js @@ -0,0 +1,67 @@ +!function(e){function webpackJsonpCallback(t){for(var r,i,o=t[0],s=t[1],u=0,l=[];u",lt:"<",nbsp:" ",quot:"“"},v=["style","script"],_=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,x=/mailto:/i,w=/\n{2,}$/,k=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,S=/^ *> ?/gm,E=/^ {2,}\n/,C=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,P=/^\s*(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n *)+\n?/,O=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,T=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,R=/^(?:\n *)*\n/,A=/\r\n?/g,I=/^\[\^(.*)\](:.*)\n/,M=/^\[\^(.*)\]/,N=/\f/g,L=/^\s*?\[(x|\s)\]/,D=/^ *(#{1,6}) *([^\n]+)\n{0,2}/,B=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,F=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,U=/&([a-z]+);/g,V=/^/,q=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,z=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,W=/^\{.*\}$/,H=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,G=/^<([^ >]+@[^ >]+)>/,K=/^<([^ >]+:\/[^ >]+)>/,J=/ *\n+$/,$=/(?:^|\n)( *)$/,X=/-([a-z])?/gi,Z=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,Y=/^((?:[^\n]|\n(?! *\n))+)(?:\n *)+\n/,Q=/^\[([^\]]*)\]:\s*(\S+)\s*("([^"]*)")?/,ee=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,te=/^\[([^\]]*)\] ?\[([^\]]*)\]/,ne=/(\[|\])/g,re=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,ie=/\t/g,oe=/^ *\| */,ae=/(^ *\||\| *$)/g,se=/ *$/,ue=/^ *:-+: *$/,le=/^ *:-+ *$/,ce=/^ *-+: *$/,pe=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,fe=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1)/,he=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,de=/^\\([^0-9A-Za-z\s])/,me=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,ge=/(^\n+|\n+$|\s+$)/g,ye=/^([ \t]*)/,be=/\\([^0-9A-Z\s])/gi,ve=/^( *)((?:[*+-]|\d+\.)) +/,_e=/( *)((?:[*+-]|\d+\.)) +[^\n]*(?:\n(?!\1(?:[*+-]|\d+\.) )[^\n]*)*(\n|$)/gm,xe=/^( *)((?:[*+-]|\d+\.)) [\s\S]+?(?:\n{2,}(?! )(?!\1(?:[*+-]|\d+\.) (?!(?:[*+-]|\d+\.) ))\n*|\s*\n*$)/,we=/^\[((?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*)\]\(\s*?(?:\s+['"]([\s\S]*?)['"])?\s*\)/,ke=/^!\[((?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*)\]\(\s*?(?:\s+['"]([\s\S]*?)['"])?\s*\)/,Se=[k,O,P,D,B,F,V,z,_e,xe,Z,Y];function slugify(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function parseTableAlignCapture(e){return ce.test(e)?"right":ue.test(e)?"center":le.test(e)?"left":null}function parseTableRow(e,t,n){var r=n.inTable;n.inTable=!0;var i=t(e.trim(),n);n.inTable=r;var o=[[]];return i.forEach((function(e,t){"tableSeparator"===e.type?0!==t&&t!==i.length-1&&o.push([]):("text"===e.type&&(null==i[t+1]||"tableSeparator"===i[t+1].type)&&(e.content=e.content.replace(se,"")),o[o.length-1].push(e))})),o}function parseTable(e,t,n){n.inline=!0;var r=parseTableRow(e[1],t,n),i=function parseTableAlign(e){return e.replace(ae,"").split("|").map(parseTableAlignCapture)}(e[2]),o=function parseTableCells(e,t,n){return e.trim().split("\n").map((function(e){return parseTableRow(e,t,n)}))}(e[3],t,n);return n.inline=!1,{align:i,cells:o,header:r,type:"table"}}function getTableStyle(e,t){return null==e.align[t]?{}:{textAlign:e.align[t]}}function parserFor(e){function b(n,r){for(var i=[],o="";n;)for(var a=0;a2?o-2:0),s=2;s1?i=d(t?"span":"div",{key:"outer"},r):1===r.length?"string"==typeof(i=r[0])&&(i=d("span",{key:"outer"},i)):i=d("span",{key:"outer"}),i}function e(e){var t=e.match(_);return t?t.reduce((function(e,t,n){var r=t.indexOf("=");if(-1!==r){var i=function normalizeAttributeKey(e){return-1!==e.indexOf("-")&&null===e.match(q)&&(e=e.replace(X,(function(e,t){return t.toUpperCase()}))),e}(t.slice(0,r)).trim(),o=p()(t.slice(r+1).trim()),a=g[i]||i,u=e[a]=function attributeValueToJSXPropValue(e,t){return"style"===e?t.split(/;\s?/).reduce((function(e,t){var n=t.slice(0,t.indexOf(":")),r=n.replace(/(-[a-z])/g,(function(e){return e[1].toUpperCase()}));return e[r]=t.slice(n.length+1).trim(),e}),{}):"href"===e?sanitizeUrl(t):(t.match(W)&&(t=t.slice(1,t.length-1)),"true"===t||"false"!==t&&t)}(i,o);(F.test(u)||z.test(u))&&(e[a]=s.a.cloneElement(c(u.trim()),{key:n}))}else e[g[t]||t]=!0;return e}),{}):void 0}(n=n||{}).overrides=n.overrides||{},n.slugify=n.slugify||slugify,n.namedCodesToUnicode=n.namedCodesToUnicode?h({},y,n.namedCodesToUnicode):y;var r=n.createElement||s.a.createElement;var i=[],o={},a={blockQuote:{match:blockRegex(k),order:Ce,parse:function d(e,t,n){return{content:t(e[0].replace(S,""),n)}},react:function e(t,n,r){return d("blockquote",{key:r.key},n(t.content,r))}},breakLine:{match:anyScopeRegex(E),order:Ce,parse:captureNothing,react:function e(t,n,r){return d("br",{key:r.key})}},breakThematic:{match:blockRegex(C),order:Ce,parse:captureNothing,react:function e(t,n,r){return d("hr",{key:r.key})}},codeBlock:{match:blockRegex(O),order:Ee,parse:function c(e){return{content:e[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}},react:function e(t,n,r){return d("pre",{key:r.key},d("code",{className:t.lang?"lang-"+t.lang:""},t.content))}},codeFenced:{match:blockRegex(P),order:Ee,parse:function b(e){return{content:e[3],lang:e[2]||void 0,type:"codeBlock"}}},codeInline:{match:simpleInlineRegex(T),order:Oe,parse:function b(e){return{content:e[2]}},react:function e(t,n,r){return d("code",{key:r.key},t.content)}},footnote:{match:blockRegex(I),order:Ee,parse:function b(e){return i.push({footnote:e[2],identifier:e[1]}),{}},react:renderNothing},footnoteReference:{match:inlineRegex(M),order:Ce,parse:function b(e){return{content:e[1],target:"#"+e[1]}},react:function e(t,n,r){return d("a",{key:r.key,href:sanitizeUrl(t.target)},d("sup",{key:r.key},t.content))}},gfmTask:{match:inlineRegex(L),order:Ce,parse:function b(e){return{completed:"x"===e[1].toLowerCase()}},react:function e(t,n,r){return d("input",{checked:t.completed,key:r.key,readOnly:!0,type:"checkbox"})}},heading:{match:blockRegex(D),order:Ce,parse:function e(t,r,i){return{content:parseInline(r,t[2],i),id:n.slugify(t[2]),level:t[1].length}},react:function f(e,t,n){return d("h"+e.level,{id:e.id,key:n.key},t(e.content,n))}},headingSetext:{match:blockRegex(B),order:Ee,parse:function d(e,t,n){return{content:parseInline(t,e[1],n),level:"="===e[2]?1:2,type:"heading"}}},htmlBlock:{match:anyScopeRegex(F),order:Ce,parse:function l(t,n,r){var i=t[3].match(ye)[1],o=new RegExp("^"+i,"gm"),a=t[3].replace(o,""),s=function containsBlockSyntax(e){return Se.some((function(t){return t.test(e)}))}(a)?parseBlock:parseInline,u=t[1].toLowerCase(),c=-1!==v.indexOf(u);return{attrs:e(t[2]),content:c?t[3]:s(n,a,r),noInnerParse:c,tag:c?u:t[1]}},react:function e(t,n,r){return d(t.tag,h({key:r.key},t.attrs),t.noInnerParse?t.content:n(t.content,r))}},htmlComment:{match:anyScopeRegex(V),order:Ce,parse:function a(){return{}},react:renderNothing},htmlSelfClosing:{match:anyScopeRegex(z),order:Ce,parse:function b(t){return{attrs:e(t[2]||""),tag:t[1]}},react:function e(t,n,r){return d(t.tag,h({},t.attrs,{key:r.key}))}},image:{match:simpleInlineRegex(ke),order:Ce,parse:function b(e){return{alt:e[1],target:unescapeUrl(e[2]),title:e[3]}},react:function e(t,n,r){return d("img",{key:r.key,alt:t.alt||void 0,title:t.title||void 0,src:sanitizeUrl(t.target)})}},link:{match:inlineRegex(we),order:Oe,parse:function d(e,t,n){return{content:parseSimpleInline(t,e[1],n),target:unescapeUrl(e[2]),title:e[3]}},react:function e(t,n,r){return d("a",{key:r.key,href:sanitizeUrl(t.target),title:t.title},n(t.content,r))}},linkAngleBraceStyleDetector:{match:inlineRegex(K),order:Ee,parse:function b(e){return{content:[{content:e[1],type:"text"}],target:e[1],type:"link"}}},linkBareUrlDetector:{match:inlineRegex(H),order:Ee,parse:function b(e){return{content:[{content:e[1],type:"text"}],target:e[1],title:void 0,type:"link"}}},linkMailtoDetector:{match:inlineRegex(G),order:Ee,parse:function d(e){var t=e[1],n=e[1];return x.test(n)||(n="mailto:"+n),{content:[{content:t.replace("mailto:",""),type:"text"}],target:n,type:"link"}}},list:{match:function f(e,t,n){var r=$.exec(n),i=t._list||!t.inline;return r&&i?(e=r[1]+e,xe.exec(e)):null},order:Ce,parse:function j(e,t,n){var r=e[2],i=r.length>1,o=i?+r:void 0,a=e[0].replace(w,"\n").match(_e),s=!1;return{items:a.map((function(e,r){var i=ve.exec(e)[0].length,o=new RegExp("^ {1,"+i+"}","gm"),u=e.replace(o,"").replace(ve,""),l=r===a.length-1,c=-1!==u.indexOf("\n\n")||l&&s;s=c;var p,f=n.inline,h=n._list;n._list=!0,c?(n.inline=!1,p=u.replace(J,"\n\n")):(n.inline=!0,p=u.replace(J,""));var d=t(p,n);return n.inline=f,n._list=h,d})),ordered:i,start:o}},react:function f(e,t,n){return d(e.ordered?"ol":"ul",{key:n.key,start:e.start},e.items.map((function(e,r){return d("li",{key:r},t(e,n))})))}},newlineCoalescer:{match:blockRegex(R),order:Oe,parse:captureNothing,react:function a(){return"\n"}},paragraph:{match:blockRegex(Y),order:Oe,parse:parseCaptureInline,react:function e(t,n,r){return d("p",{key:r.key},n(t.content,r))}},ref:{match:inlineRegex(Q),order:Ee,parse:function b(e){return o[e[1]]={target:e[2],title:e[4]},{}},react:renderNothing},refImage:{match:simpleInlineRegex(ee),order:Ee,parse:function b(e){return{alt:e[1]||void 0,ref:e[2]}},react:function e(t,n,r){return d("img",{key:r.key,alt:t.alt,src:sanitizeUrl(o[t.ref].target),title:o[t.ref].title})}},refLink:{match:inlineRegex(te),order:Ee,parse:function d(e,t,n){return{content:t(e[1],n),fallbackContent:t(e[0].replace(ne,"\\$1"),n),ref:e[2]}},react:function e(t,n,r){return o[t.ref]?d("a",{key:r.key,href:sanitizeUrl(o[t.ref].target),title:o[t.ref].title},n(t.content,r)):d("span",{key:r.key},n(t.fallbackContent,r))}},table:{match:blockRegex(Z),order:Ce,parse:parseTable,react:function f(e,t,n){return d("table",{key:n.key},d("thead",null,d("tr",null,e.header.map((function(r,i){return d("th",{key:i,style:getTableStyle(e,i)},t(r,n))})))),d("tbody",null,e.cells.map((function(r,i){return d("tr",{key:i},r.map((function(r,i){return d("td",{key:i,style:getTableStyle(e,i)},t(r,n))})))}))))}},tableSeparator:{match:function c(e,t){return t.inTable?oe.exec(e):null},order:Ce,parse:function a(){return{type:"tableSeparator"}},react:function a(){return" | "}},text:{match:anyScopeRegex(me),order:Te,parse:function c(e){return{content:e[0].replace(U,(function(e,t){return n.namedCodesToUnicode[t]?n.namedCodesToUnicode[t]:e}))}},react:function b(e){return e.content}},textBolded:{match:simpleInlineRegex(pe),order:Pe,parse:function d(e,t,n){return{content:t(e[2],n)}},react:function e(t,n,r){return d("strong",{key:r.key},n(t.content,r))}},textEmphasized:{match:simpleInlineRegex(fe),order:Oe,parse:function d(e,t,n){return{content:t(e[2],n)}},react:function e(t,n,r){return d("em",{key:r.key},n(t.content,r))}},textEscaped:{match:simpleInlineRegex(de),order:Ce,parse:function b(e){return{content:e[1],type:"text"}}},textStrikethroughed:{match:simpleInlineRegex(he),order:Oe,parse:parseCaptureInline,react:function e(t,n,r){return d("del",{key:r.key},n(t.content,r))}}},u=parserFor(a),m=function reactFor(e){return function b(t,n){if(n=n||{},Array.isArray(t)){for(var r=n.key,i=[],o=!1,a=0;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["classes"]);return s.a.createElement("input",qe({},n,{type:"checkbox",className:t.input}))}CheckboxRenderer.propTypes={classes:o.a.object.isRequired};var ze=Object(Ie.a)((function styles(){return{input:{isolate:!1,display:"inline-block",verticalAlign:"middle"}}}))(CheckboxRenderer);function HrRenderer(e){var t=e.classes;return s.a.createElement("hr",{className:t.hr})}HrRenderer.propTypes={classes:o.a.object.isRequired};var We=Object(Ie.a)((function styles(e){var t=e.space;return{hr:{borderBottom:[[1,e.color.border,"solid"]],marginTop:0,marginBottom:t[2]}}}))(HrRenderer);function DetailsRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("details",{className:t.details},n)}DetailsRenderer.propTypes={classes:o.a.object.isRequired,children:o.a.node.isRequired};var He=Object(Ie.a)((function styles(e){var t=e.space,n=e.color,r=e.fontSize,i=e.fontFamily;return{details:{marginBottom:t[2],fontFamily:i.base,fontSize:r.base,color:n.base}}}))(DetailsRenderer);function DetailsSummaryRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("summary",{className:t.summary},n)}DetailsSummaryRenderer.propTypes={classes:o.a.object.isRequired,children:o.a.node.isRequired};var Ge=Object(Ie.a)((function styles(e){var t=e.space,n=e.color,r=e.fontSize,i=e.fontFamily;return{summary:{marginBottom:t[1],fontFamily:i.base,fontSize:r.base,color:n.base,cursor:"pointer","&:focus":{isolate:!1,outline:[[1,"dotted",n.linkHover]],outlineOffset:2}}}}))(DetailsSummaryRenderer);function TableRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("table",{className:t.table},n)}TableRenderer.propTypes={classes:o.a.object.isRequired,children:o.a.node.isRequired};var Ke=Object(Ie.a)((function styles(e){return{table:{marginTop:0,marginBottom:e.space[2],borderCollapse:"collapse"}}}))(TableRenderer);function TableHeadRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("thead",{className:t.thead},n)}TableHeadRenderer.propTypes={classes:o.a.object.isRequired,children:o.a.node.isRequired};var Je=Object(Ie.a)((function styles(e){return{thead:{borderBottom:[[1,e.color.border,"solid"]]}}}))(TableHeadRenderer);function TableBodyRenderer(e){var t=e.children;return s.a.createElement("tbody",null,t)}TableBodyRenderer.propTypes={children:o.a.node.isRequired};var $e=TableBodyRenderer;function TableRowRenderer(e){var t=e.children;return s.a.createElement("tr",null,t)}TableRowRenderer.propTypes={children:o.a.node.isRequired};var Xe=TableRowRenderer;function TableCellRenderer(e){var t=e.classes,n=e.header,r=e.children;return n?s.a.createElement("th",{className:t.th},r):s.a.createElement("td",{className:t.td},r)}TableCellRenderer.propTypes={classes:o.a.object.isRequired,header:o.a.bool,children:o.a.node.isRequired},TableCellRenderer.defaultProps={header:!1};var Ze=Object(Ie.a)((function styles(e){var t=e.space,n=e.color,r=e.fontSize,i=e.fontFamily;return{td:{padding:[[t[0],t[2],t[0],0]],fontFamily:i.base,fontSize:r.base,color:n.base,lineHeight:1.5},th:{composes:"$td",fontWeight:"bold"}}}))(TableCellRenderer),Ye=Object.assign||function(e){for(var t=1;t0?i(r(e),9007199254740991):0}},function(e,t,n){e.exports=!n(6)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(7),i=n(169),o=n(42),a=Object.defineProperty;t.f=n(13)?Object.defineProperty:function defineProperty(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){"use strict";n.d(t,"c",(function(){return unquote})),n.d(t,"a",(function(){return getType})),n.d(t,"b",(function(){return showSpaces}));var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},possibleConstructorReturn=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},isPlainObject=function(e){return"object"===(void 0===e?"undefined":h(e))&&e.constructor===Object},g=Object.freeze([]),y=Object.freeze({});function isFunction(e){return"function"==typeof e}function getComponentName(e){return e.displayName||e.name||"Component"}function isStyledComponent(e){return e&&"string"==typeof e.styledComponentId}var b=void 0!==e&&Object({NODE_ENV:"production"}).SC_ATTR||"data-styled",v="undefined"!=typeof window&&"HTMLElement"in window,_="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||!1;var x=function(e){function StyledComponentsError(t){classCallCheck(this,StyledComponentsError);for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i0&&-1!==n.slice(0,t).indexOf(R)&&n.slice(t-R.length,t)!==R?"."+T:e};E.use([function selfReferenceReplacementPlugin(e,t,n){2===e&&n.length&&n[0].lastIndexOf(R)>0&&(n[0]=n[0].replace(j,A))},O,P]),S.use([O,P]);var I=function splitByRules(e){return S("",e)};function stringifyRules(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",i=e.join("").replace(k,""),o=t&&n?n+" "+t+" { "+i+" }":i;return T=r,R=t,j=new RegExp("\\"+R+"\\b","g"),E(n||!t?"":t,o)}var getNonce=function(){return n.nc},M=function addNameForId(e,t,n){n&&((e[t]||(e[t]=Object.create(null)))[n]=!0)},N=function resetIdNames(e,t){e[t]=Object.create(null)},L=function hasNameForId(e){return function(t,n){return void 0!==e[t]&&e[t][n]}},D=function stringifyNames(e){var t="";for(var n in e)t+=Object.keys(e[n]).join(" ")+" ";return t.trim()},B=function sheetForTag(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets.length,n=0;n"+e()+""}},z=function wrapAsElement(e,t){return function(){var n,r=((n={})[b]=D(t),n["data-styled-version"]="4.1.3",n),i=getNonce();return i&&(r.nonce=i),u.a.createElement("style",m({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},W=function getIdsFromMarkersFactory(e){return function(){return Object.keys(e)}},H=function makeTextNode(e){return document.createTextNode(U(e))},G=function makeServerTag(e,t){var n=void 0===e?Object.create(null):e,r=void 0===t?Object.create(null):t,i=function insertMarker(e){var t=r[e];return void 0!==t?t:r[e]=[""]},o=function css(){var e="";for(var t in r){var n=r[t][0];n&&(e+=U(t)+n)}return e};return{clone:function clone(){var e=function cloneNames(e){var t=Object.create(null);for(var n in e)t[n]=m({},e[n]);return t}(n),t=Object.create(null);for(var i in r)t[i]=[r[i][0]];return makeServerTag(e,t)},css:o,getIds:W(r),hasNameForId:L(n),insertMarker:i,insertRules:function insertRules(e,t,r){i(e)[0]+=t.join(" "),M(n,e,r)},removeRules:function removeRules(e){var t=r[e];void 0!==t&&(t[0]="",N(n,e))},sealed:!1,styleTag:null,toElement:z(o,n),toHTML:q(o,n)}},K=function makeTag(e,t,n,r,i){if(v&&!n){var o=function makeStyleTag(e,t,n){var r=document.createElement("style");r.setAttribute(b,""),r.setAttribute("data-styled-version","4.1.3");var i=getNonce();if(i&&r.setAttribute("nonce",i),r.appendChild(document.createTextNode("")),e&&!t)e.appendChild(r);else{if(!t||!e||!t.parentNode)throw new x(6);t.parentNode.insertBefore(r,n?t:t.nextSibling)}return r}(e,t,r);return _?function makeBrowserTag(e,t){var n=Object.create(null),r=Object.create(null),i=void 0!==t,o=!1,a=function insertMarker(t){var i=r[t];return void 0!==i?i:(r[t]=H(t),e.appendChild(r[t]),n[t]=Object.create(null),r[t])},s=function css(){var e="";for(var t in r)e+=r[t].data;return e};return{clone:function clone(){throw new x(5)},css:s,getIds:W(r),hasNameForId:L(n),insertMarker:a,insertRules:function insertRules(e,r,s){for(var u=a(e),l=[],c=r.length,p=0;p0&&(o=!0,t().insertRules(e+"-import",l))},removeRules:function removeRules(a){var s=r[a];if(void 0!==s){var u=H(a);e.replaceChild(u,s),r[a]=u,N(n,a),i&&o&&t().removeRules(a+"-import")}},sealed:!1,styleTag:e,toElement:z(s,n),toHTML:q(s,n)}}(o,i):function makeSpeedyTag(e,t){var n=Object.create(null),r=Object.create(null),i=[],o=void 0!==t,a=!1,s=function insertMarker(e){var t=r[e];return void 0!==t?t:(r[e]=i.length,i.push(0),N(n,e),r[e])},u=function css(){var t=B(e).cssRules,n="";for(var o in r){n+=U(o);for(var a=r[o],s=V(i,a),u=s-i[a];u0&&(a=!0,t().insertRules(r+"-import",d)),i[c]+=h,M(n,r,l)},removeRules:function removeRules(s){var u=r[s];if(void 0!==u){var l=i[u];!function deleteRules(e,t,n){for(var r=t-n,i=t;i>r;i-=1)e.deleteRule(i)}(B(e),V(i,u)-1,l),i[u]=0,N(n,s),o&&a&&t().removeRules(s+"-import")}},sealed:!1,styleTag:e,toElement:z(u,n),toHTML:q(u,n)}}(o,i)}return G()},J=/\s+/,$=void 0;$=v?_?40:1e3:-1;var X=0,Z=void 0,Y=function(){function StyleSheet(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v?document.head:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];classCallCheck(this,StyleSheet),this.getImportRuleTag=function(){var t=e.importRuleTag;if(void 0!==t)return t;var n=e.tags[0];return e.importRuleTag=K(e.target,n?n.styleTag:null,e.forceServer,!0)},X+=1,this.id=X,this.forceServer=n,this.target=n?null:t,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return StyleSheet.prototype.rehydrate=function rehydrate$$1(){if(!v||this.forceServer)return this;var e=[],t=[],n=!1,r=document.querySelectorAll("style["+b+'][data-styled-version="4.1.3"]'),i=r.length;if(!i)return this;for(var o=0;o0&&void 0!==arguments[0]&&arguments[0];Z=new StyleSheet(void 0,e).rehydrate()},StyleSheet.prototype.clone=function clone(){var e=new StyleSheet(this.target,this.forceServer);return this.clones.push(e),e.tags=this.tags.map((function(t){for(var n=t.getIds(),r=t.clone(),i=0;i1?t-1:0),r=1;r=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++i;switch(n){case 3:r^=(255&e.charCodeAt(i+2))<<16;case 2:r^=(255&e.charCodeAt(i+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(i)))+((1540483477*(r>>>16)&65535)<<16)}return((r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16))^r>>>15)>>>0}var ie=52,oe=function getAlphabeticChar(e){return String.fromCharCode(e+(e>25?39:97))};function generateAlphabeticName(e){var t="",n=void 0;for(n=e;n>ie;n=Math.floor(n/ie))t=oe(n%ie)+t;return oe(n%ie)+t}function isStaticRules(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:y,r=!!n&&e.theme===n.theme,i=e.theme&&!r?e.theme:t||n.theme;return i},ce=/[[\].#*$><+~=|^:(),"'`-]+/g,pe=/(^-|-$)/g;function escape(e){return e.replace(ce,"-").replace(pe,"")}function isTag(e){return"string"==typeof e&&!0}var fe={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},he={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},de=((ae={})[c.ForwardRef]={$$typeof:!0,render:!0},ae),me=Object.defineProperty,ge=Object.getOwnPropertyNames,ye=Object.getOwnPropertySymbols,be=void 0===ye?function(){return[]}:ye,ve=Object.getOwnPropertyDescriptor,_e=Object.getPrototypeOf,xe=Object.prototype,we=Array.prototype;function hoistNonReactStatics(e,t,n){if("string"!=typeof t){var r=_e(t);r&&r!==xe&&hoistNonReactStatics(e,r,n);for(var i=we.concat(ge(t),be(t)),o=de[e.$$typeof]||fe,a=de[t.$$typeof]||fe,s=i.length,u=void 0,l=void 0;s--;)if(l=i[s],!(he[l]||n&&n[l]||a&&a[l]||o&&o[l])&&(u=ve(t,l)))try{me(e,l,u)}catch(e){}return e}return e}var ke=Object(s.createContext)(),Se=ke.Consumer,Ee=(function(e){function ThemeProvider(t){classCallCheck(this,ThemeProvider);var n=possibleConstructorReturn(this,e.call(this,t));return n.getContext=Object(p.a)(n.getContext.bind(n)),n.renderInner=n.renderInner.bind(n),n}inherits(ThemeProvider,e),ThemeProvider.prototype.render=function render(){return this.props.children?u.a.createElement(ke.Consumer,null,this.renderInner):null},ThemeProvider.prototype.renderInner=function renderInner(e){var t=this.getContext(this.props.theme,e);return u.a.createElement(ke.Provider,{value:t},u.a.Children.only(this.props.children))},ThemeProvider.prototype.getTheme=function getTheme(e,t){if(isFunction(e))return e(t);if(null===e||Array.isArray(e)||"object"!==(void 0===e?"undefined":h(e)))throw new x(8);return m({},t,e)},ThemeProvider.prototype.getContext=function getContext(e,t){return this.getTheme(e,t)}}(s.Component),function(){function ServerStyleSheet(){classCallCheck(this,ServerStyleSheet),this.masterSheet=Y.master,this.instance=this.masterSheet.clone(),this.sealed=!1}ServerStyleSheet.prototype.seal=function seal(){if(!this.sealed){var e=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(e,1),this.sealed=!0}},ServerStyleSheet.prototype.collectStyles=function collectStyles(e){if(this.sealed)throw new x(2);return u.a.createElement(Pe,{sheet:this.instance},e)},ServerStyleSheet.prototype.getStyleTags=function getStyleTags(){return this.seal(),this.instance.toHTML()},ServerStyleSheet.prototype.getStyleElement=function getStyleElement(){return this.seal(),this.instance.toReactElements()},ServerStyleSheet.prototype.interleaveWithNodeStream=function interleaveWithNodeStream(e){throw new x(3)}}(),Object(s.createContext)()),Ce=Ee.Consumer,Pe=function(e){function StyleSheetManager(t){classCallCheck(this,StyleSheetManager);var n=possibleConstructorReturn(this,e.call(this,t));return n.getContext=Object(p.a)(n.getContext),n}return inherits(StyleSheetManager,e),StyleSheetManager.prototype.getContext=function getContext(e,t){if(e)return e;if(t)return new Y(t);throw new x(4)},StyleSheetManager.prototype.render=function render(){var e=this.props,t=e.children,n=e.sheet,r=e.target;return u.a.createElement(Ee.Provider,{value:this.getContext(n,r)},t)},StyleSheetManager}(s.Component),Oe=(new Set,{});var Te=function(e){function StyledComponent(){classCallCheck(this,StyledComponent);var t=possibleConstructorReturn(this,e.call(this));return t.attrs={},t.renderOuter=t.renderOuter.bind(t),t.renderInner=t.renderInner.bind(t),t}return inherits(StyledComponent,e),StyledComponent.prototype.render=function render(){return u.a.createElement(Ce,null,this.renderOuter)},StyledComponent.prototype.renderOuter=function renderOuter(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y.master;return this.styleSheet=e,this.props.forwardedComponent.componentStyle.isStatic?this.renderInner():u.a.createElement(Se,null,this.renderInner)},StyledComponent.prototype.renderInner=function renderInner(e){var t=this.props.forwardedComponent,n=t.componentStyle,r=t.defaultProps,i=(t.displayName,t.foldedComponentIds),o=t.styledComponentId,a=t.target,u=void 0;u=n.isStatic?this.generateAndInjectStyles(y,this.props):void 0!==e?this.generateAndInjectStyles(determineTheme(this.props,e,r),this.props):this.generateAndInjectStyles(this.props.theme||y,this.props);var l=this.props.as||this.attrs.as||a,c=isTag(l),p={},h=m({},this.attrs,this.props),d=void 0;for(d in h)"forwardedComponent"!==d&&"as"!==d&&("forwardedRef"===d?p.ref=h[d]:c&&!Object(f.a)(d)||(p[d]=h[d]));return this.props.style&&this.attrs.style&&(p.style=m({},this.attrs.style,this.props.style)),p.className=Array.prototype.concat(i,this.props.className,o,this.attrs.className,u).filter(Boolean).join(" "),Object(s.createElement)(l,p)},StyledComponent.prototype.buildExecutionContext=function buildExecutionContext(e,t,n){var r=this,i=m({},t,{theme:e});return n.length?(this.attrs={},n.forEach((function(e){var t,n=e,o=!1,a=void 0,s=void 0;for(s in isFunction(n)&&(n=n(i),o=!0),n)a=n[s],o||!isFunction(a)||(t=a)&&t.prototype&&t.prototype.isReactComponent||isStyledComponent(a)||(a=a(i)),r.attrs[s]=a,i[s]=a})),i):i},StyledComponent.prototype.generateAndInjectStyles=function generateAndInjectStyles(e,t){var n=t.forwardedComponent,r=n.attrs,i=n.componentStyle;n.warnTooManyClasses;return i.isStatic&&!r.length?i.generateAndInjectStyles(y,this.styleSheet):i.generateAndInjectStyles(this.buildExecutionContext(e,t,r),this.styleSheet)},StyledComponent}(s.Component);function createStyledComponent(e,t,n){var r=isStyledComponent(e),i=!isTag(e),o=t.displayName,a=void 0===o?function generateDisplayName(e){return isTag(e)?"styled."+e:"Styled("+getComponentName(e)+")"}(e):o,s=t.componentId,l=void 0===s?function generateId(e,t,n){var r="string"!=typeof t?"sc":escape(t),i=(Oe[r]||0)+1;Oe[r]=i;var o=r+"-"+e.generateName(r+i);return n?n+"-"+o:o}(le,t.displayName,t.parentComponentId):s,c=t.ParentComponent,p=void 0===c?Te:c,f=t.attrs,h=void 0===f?g:f,d=t.displayName&&t.componentId?escape(t.displayName)+"-"+t.componentId:t.componentId||l,y=r&&e.attrs?Array.prototype.concat(e.attrs,h).filter(Boolean):h,b=new le(r?e.componentStyle.rules.concat(n):n,y,d),v=u.a.forwardRef((function(e,t){return u.a.createElement(p,m({},e,{forwardedComponent:v,forwardedRef:t}))}));return v.attrs=y,v.componentStyle=b,v.displayName=a,v.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):g,v.styledComponentId=d,v.target=r?e.target:e,v.withComponent=function withComponent(e){var r=t.componentId,i=objectWithoutProperties(t,["componentId"]),o=r&&r+"-"+(isTag(e)?e:escape(getComponentName(e)));return createStyledComponent(e,m({},i,{attrs:y,componentId:o,ParentComponent:p}),n)},v.toString=function(){return"."+v.styledComponentId},i&&hoistNonReactStatics(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var Re=function styled(e){return function constructWithOptions(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;if(!Object(c.isValidElementType)(t))throw new x(1,String(t));var r=function templateFunction(){return e(t,n,css.apply(void 0,arguments))};return r.withConfig=function(r){return constructWithOptions(e,t,m({},n,r))},r.attrs=function(r){return constructWithOptions(e,t,m({},n,{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},r}(createStyledComponent,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Re[e]=Re(e)}));!function(){function GlobalStyle(e,t){classCallCheck(this,GlobalStyle),this.rules=e,this.componentId=t,this.isStatic=isStaticRules(e,g),Y.master.hasId(t)||Y.master.deferredInject(t,[])}GlobalStyle.prototype.createStyles=function createStyles(e,t){var n=stringifyRules(flatten(this.rules,e,t),"");t.inject(this.componentId,n)},GlobalStyle.prototype.removeStyles=function removeStyles(e){var t=this.componentId;e.hasId(t)&&e.remove(t)},GlobalStyle.prototype.renderStyles=function renderStyles(e,t){this.removeStyles(t),this.createStyles(e,t)}}();v&&(window.scCGSHMRCache={});var je=function replaceWhitespace(e){return e.replace(/\s|\\n/g,"")};function keyframes(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r"+i+""};e.exports=function(e,t){var n={};n[e]=t(createHTML),r(r.P+r.F*i((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(14),i=n(48);e.exports=n(13)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(74),i=n(39);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(206),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(75),i=n(48),o=n(24),a=n(42),s=n(22),u=n(169),l=Object.getOwnPropertyDescriptor;t.f=n(13)?l:function getOwnPropertyDescriptor(e,t){if(e=o(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(2),i=n(15),o=n(6);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},function(e,t,n){var r=n(36),i=n(74),o=n(18),a=n(12),s=n(361);e.exports=function(e,t){var n=1==e,u=2==e,l=3==e,c=4==e,p=6==e,f=5==e||p,h=t||s;return function(t,s,d){for(var m,g,y=o(t),b=i(y),v=r(s,d,3),_=a(b.length),x=0,w=n?h(t,_):u?h(t,0):void 0;_>x;x++)if((f||x in b)&&(g=v(m=b[x],x,y),e))if(n)w[x]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return x;case 2:w.push(m)}else if(c)return!1;return p?-1:l||c?c:w}}},function(e,t){e.exports=function isObject(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";n.d(t,"e",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return p}));var r=n(1),i=n.n(r),o=n(0),a=n.n(o);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _defineProperties(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};t.setState((function(t){return{modals:t.modals.concat({component:e,props:n})}}))},closeModal:function closeModal(){t.setState((function(e){return{modals:e.modals.slice(0,e.modals.length-1)}}))}})),_defineProperty(_assertThisInitialized(t),"settings",Object.freeze({showCloseButton:void 0===t.props.showCloseButton||t.props.showCloseButton,showOverlay:void 0===t.props.showOverlay||t.props.showOverlay,disableOverlayClick:void 0!==t.props.disableOverlayClick&&t.props.disableOverlayClick})),t}return function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}(ModalProvider,e),function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}(ModalProvider,[{key:"render",value:function render(){return i.a.createElement(s.Provider,{value:this.state},i.a.createElement(u.Provider,{value:this.settings},i.a.createElement(l.Provider,{value:this.action},this.props.children)))}}]),ModalProvider}(r.Component);_defineProperty(c,"propTypes",{showCloseButton:a.a.bool,showOverlay:a.a.bool,disableOverlayClick:a.a.bool}),_defineProperty(c,"defaultProps",{showCloseButton:!0,showOverlay:!0,disableOverlayClick:!1});var p=l.Consumer},function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(0),a=n.n(o),s=n(3),u=n(4),l=n.n(u),c=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["classes","semantic","size","color","underlined","children"]),f=r||"span",h=l()(n.text,n[o+"Size"],n[a+"Color"],(_defineProperty(t={},n[r],r),_defineProperty(t,n.isUnderlined,s),t));return i.a.createElement(f,c({},p,{className:h}),u)}TextRenderer.propTypes={classes:a.a.object.isRequired,semantic:a.a.oneOf(["em","strong"]),size:a.a.oneOf(["inherit","small","base","text"]),color:a.a.oneOf(["base","light"]),underlined:a.a.bool,children:a.a.node.isRequired},TextRenderer.defaultProps={size:"inherit",color:"base",underlined:!1};var p=Object(s.a)((function styles(e){var t=e.fontFamily,n=e.fontSize,r=e.color;return{text:{fontFamily:t.base},inheritSize:{fontSize:"inherit"},smallSize:{fontSize:n.small},baseSize:{fontSize:n.base},textSize:{fontSize:n.text},baseColor:{color:r.base},lightColor:{color:r.light},em:{fontStyle:"italic"},strong:{fontWeight:"bold"},isUnderlined:{borderBottom:[[1,"dotted",r.lightest]]}}}))(TextRenderer);n.d(t,"a",(function(){return p}))},function(e,t,n){var r=n(37);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";if(n(13)){var r=n(50),i=n(5),o=n(6),a=n(2),s=n(93),u=n(142),l=n(36),c=n(64),p=n(48),f=n(23),h=n(65),d=n(29),m=n(12),g=n(195),y=n(52),b=n(42),v=n(22),_=n(76),x=n(8),w=n(18),k=n(134),S=n(53),E=n(55),C=n(54).f,P=n(136),O=n(49),T=n(10),R=n(32),j=n(83),A=n(77),I=n(138),M=n(61),N=n(86),L=n(63),D=n(137),B=n(186),F=n(14),U=n(30),V=F.f,q=U.f,z=i.RangeError,W=i.TypeError,H=i.Uint8Array,G=Array.prototype,K=u.ArrayBuffer,J=u.DataView,$=R(0),X=R(2),Z=R(3),Y=R(4),Q=R(5),ee=R(6),te=j(!0),ne=j(!1),re=I.values,ie=I.keys,oe=I.entries,ae=G.lastIndexOf,se=G.reduce,ue=G.reduceRight,le=G.join,ce=G.sort,pe=G.slice,fe=G.toString,he=G.toLocaleString,de=T("iterator"),me=T("toStringTag"),ge=O("typed_constructor"),ye=O("def_constructor"),be=s.CONSTR,ve=s.TYPED,_e=s.VIEW,xe=R(1,(function(e,t){return allocate(A(e,e[ye]),t)})),we=o((function(){return 1===new H(new Uint16Array([1]).buffer)[0]})),ke=!!H&&!!H.prototype.set&&o((function(){new H(1).set({})})),toOffset=function(e,t){var n=d(e);if(n<0||n%t)throw z("Wrong offset!");return n},validate=function(e){if(x(e)&&ve in e)return e;throw W(e+" is not a typed array!")},allocate=function(e,t){if(!(x(e)&&ge in e))throw W("It is not a typed array constructor!");return new e(t)},speciesFromList=function(e,t){return fromList(A(e,e[ye]),t)},fromList=function(e,t){for(var n=0,r=t.length,i=allocate(e,r);r>n;)i[n]=t[n++];return i},addGetter=function(e,t,n){V(e,t,{get:function(){return this._d[n]}})},Se=function from(e){var t,n,r,i,o,a,s=w(e),u=arguments.length,c=u>1?arguments[1]:void 0,p=void 0!==c,f=P(s);if(null!=f&&!k(f)){for(a=f.call(s),r=[],t=0;!(o=a.next()).done;t++)r.push(o.value);s=r}for(p&&u>2&&(c=l(c,arguments[2],2)),t=0,n=m(s.length),i=allocate(this,n);n>t;t++)i[t]=p?c(s[t],t):s[t];return i},Ee=function of(){for(var e=0,t=arguments.length,n=allocate(this,t);t>e;)n[e]=arguments[e++];return n},Ce=!!H&&o((function(){he.call(new H(1))})),Pe=function toLocaleString(){return he.apply(Ce?pe.call(validate(this)):validate(this),arguments)},Oe={copyWithin:function copyWithin(e,t){return B.call(validate(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function every(e){return Y(validate(this),e,arguments.length>1?arguments[1]:void 0)},fill:function fill(e){return D.apply(validate(this),arguments)},filter:function filter(e){return speciesFromList(this,X(validate(this),e,arguments.length>1?arguments[1]:void 0))},find:function find(e){return Q(validate(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function findIndex(e){return ee(validate(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function forEach(e){$(validate(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function indexOf(e){return ne(validate(this),e,arguments.length>1?arguments[1]:void 0)},includes:function includes(e){return te(validate(this),e,arguments.length>1?arguments[1]:void 0)},join:function join(e){return le.apply(validate(this),arguments)},lastIndexOf:function lastIndexOf(e){return ae.apply(validate(this),arguments)},map:function map(e){return xe(validate(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function reduce(e){return se.apply(validate(this),arguments)},reduceRight:function reduceRight(e){return ue.apply(validate(this),arguments)},reverse:function reverse(){for(var e,t=validate(this).length,n=Math.floor(t/2),r=0;r1?arguments[1]:void 0)},sort:function sort(e){return ce.call(validate(this),e)},subarray:function subarray(e,t){var n=validate(this),r=n.length,i=y(e,r);return new(A(n,n[ye]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,m((void 0===t?r:y(t,r))-i))}},Te=function slice(e,t){return speciesFromList(this,pe.call(validate(this),e,t))},Re=function set(e){validate(this);var t=toOffset(arguments[1],1),n=this.length,r=w(e),i=m(r.length),o=0;if(i+t>n)throw z("Wrong length!");for(;o255?255:255&r),i.v[h](n*t+i.o,r,we)}(this,n,e)},enumerable:!0})};v?(d=n((function(e,n,r,i){c(e,d,l,"_d");var o,a,s,u,p=0,h=0;if(x(n)){if(!(n instanceof K||"ArrayBuffer"==(u=_(n))||"SharedArrayBuffer"==u))return ve in n?fromList(d,n):Se.call(d,n);o=n,h=toOffset(r,t);var y=n.byteLength;if(void 0===i){if(y%t)throw z("Wrong length!");if((a=y-h)<0)throw z("Wrong length!")}else if((a=m(i)*t)+h>y)throw z("Wrong length!");s=a/t}else s=g(n),o=new K(a=s*t);for(f(e,"_d",{b:o,o:h,l:a,e:s,v:new J(o)});p=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _defineProperties(e,t){for(var n=0;ndocument.F=Object<\/script>"),e.close(),createDict=e.F;r--;)delete createDict.prototype[o[r]];return createDict()};e.exports=Object.create||function create(e,t){var n;return null!==e?(Empty.prototype=r(e),n=new Empty,Empty.prototype=null,n[a]=e):n=createDict(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(171),i=n(120).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return r(e,i)}},function(e,t,n){var r=n(22),i=n(18),o=n(119)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(8);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){var r=n(489),i=n(494);e.exports=function getNative(e,t){var n=i(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(98),i=n(490),o=n(491),a="[object Null]",s="[object Undefined]",u=r?r.toStringTag:void 0;e.exports=function baseGetTag(e){return null==e?void 0===e?s:a:u&&u in Object(e)?i(e):o(e)}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(0),a=n.n(o),s=n(3),u=n(4),l=n.n(u);function NameRenderer(e){var t=e.classes,n=e.children,r=e.deprecated,o=l()(t.name,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t.isDeprecated,r));return i.a.createElement("code",{className:o},n)}NameRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node.isRequired,deprecated:a.a.bool};var c=Object(s.a)((function styles(e){var t=e.fontFamily,n=e.fontSize,r=e.color;return{name:{fontFamily:t.monospace,fontSize:n.small,color:r.name},isDeprecated:{color:r.light,textDecoration:"line-through"}}}))(NameRenderer);n.d(t,"a",(function(){return c}))},function(e,t,n){var r=n(14).f,i=n(22),o=n(10)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t){e.exports={}},function(e,t,n){var r=n(10)("unscopables"),i=Array.prototype;null==i[r]&&n(23)(i,r,{}),e.exports=function(e){i[r][e]=!0}},function(e,t,n){"use strict";var r=n(5),i=n(14),o=n(13),a=n(10)("species");e.exports=function(e){var t=r[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(20);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["classes","level","children"]),a="h"+n,s=u()(t.heading,t["heading"+n]);return i.a.createElement(a,c({},o,{className:s}),r)}HeadingRenderer.propTypes={classes:a.a.object.isRequired,level:a.a.oneOf([1,2,3,4,5,6]).isRequired,children:a.a.node};var p=Object(l.a)((function styles(e){var t=e.color,n=e.fontFamily,r=e.fontSize;return{heading:{margin:0,color:t.base,fontFamily:n.base,fontWeight:"normal"},heading1:{fontSize:r.h1},heading2:{fontSize:r.h2},heading3:{fontSize:r.h3},heading4:{fontSize:r.h4},heading5:{fontSize:r.h5,fontWeight:"bold"},heading6:{fontSize:r.h6,fontStyle:"italic"}}}))(HeadingRenderer);n.d(t,"a",(function(){return p}))},function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(0),a=n.n(o),s=n(3),u=n(11),l=n(59),c=n(47),p=n(81),f=n.n(p),h=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["classes","name","type","description","returns","block"]),d=r&&"OptionalType"===r.type,m=p.default;return d&&(r=r.expression),i.a.createElement(f.a,h({className:s&&t.block},p),a&&"Returns",n&&i.a.createElement("span",null,i.a.createElement(l.a,null,n),r&&":"),r&&i.a.createElement(c.a,null,r.name,d&&"?",!!m&&"="+m),r&&o&&" — ",o&&i.a.createElement(u.a,{text:""+o,inline:!0}))}ArgumentRenderer.propTypes={classes:a.a.object.isRequired,name:a.a.string,type:a.a.object,default:a.a.string,description:a.a.string,returns:a.a.bool,block:a.a.bool};var d=Object(s.a)((function styles(e){return{block:{marginBottom:e.space[2]}}}))(ArgumentRenderer);n.d(t,"a",(function(){return d}))},function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(0),a=n.n(o),s=n(11),u=n(252),l=n.n(u),c=function paragraphs(e){return e.map((function(e){return e.description})).join("\n\n")},p={deprecated:function deprecated(e){return"**Deprecated:** "+e[0].description},see:function see(e){return c(e)},link:function link(e){return c(e)},author:function author(e){return function plural(e,t){return 1===e.length?t:t+"s"}(e,"Author")+": "+function list(e){return e.map((function(e){return e.description})).join(", ")}(e)},version:function version(e){return"Version: "+e[0].description},since:function since(e){return"Since: "+e[0].description}};function JsDoc(e){var t=function getMarkdown(e){return l()(p,(function(t,n){return e[n]&&t(e[n])})).filter(Boolean).join("\n\n")}(e);return t?i.a.createElement(s.a,{text:t}):null}JsDoc.propTypes={deprecated:a.a.array,see:a.a.array,link:a.a.array,author:a.a.array,version:a.a.array,since:a.a.array},n.d(t,"a",(function(){return JsDoc}))},function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(0),a=n.n(o),s=n(3);function ParaRenderer(e){var t=e.classes,n=e.semantic,r=e.children,o=n||"div";return i.a.createElement(o,{className:t.para},r)}ParaRenderer.propTypes={classes:a.a.object.isRequired,semantic:a.a.oneOf(["p"]),children:a.a.node.isRequired};var u=Object(s.a)((function styles(e){var t=e.space,n=e.color,r=e.fontFamily;return{para:{marginTop:0,marginBottom:t[2],color:n.base,fontFamily:r.base,fontSize:"inherit",lineHeight:1.5}}}))(ParaRenderer);n.d(t,"a",(function(){return u}))},function(e,t,n){var r=n(222),i=n(223),o=n(102),a=n(27),s=n(46),u=n(103),l=n(101),c=n(104),p="[object Map]",f="[object Set]",h=Object.prototype.hasOwnProperty;e.exports=function isEmpty(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||c(e)||o(e)))return!e.length;var t=i(e);if(t==p||t==f)return!e.size;if(l(e))return!r(e).length;for(var n in e)if(h.call(e,n))return!1;return!0}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(0),a=n.n(o),s=n(4),u=n.n(s),l=n(3);function CodeRenderer(e){var t=e.classes,n=e.className,r=e.children,o=u()(n,t.code);return n&&-1!==n.indexOf("lang-")?i.a.createElement("code",{className:o,dangerouslySetInnerHTML:{__html:r}}):i.a.createElement("code",{className:o},r)}CodeRenderer.propTypes={classes:a.a.object.isRequired,className:a.a.string,children:a.a.node.isRequired};var c=Object(l.a)((function styles(e){return{code:{fontFamily:e.fontFamily.monospace,fontSize:"inherit",color:"inherit",background:"transparent",whiteSpace:"inherit"}}}))(CodeRenderer);n.d(t,"a",(function(){return c}))},function(e,t,n){"use strict";var r=n(41),i=n(108),o=n(109),a=n(158),s=n(159),u=n(160),l=n(161),c=n(34),p=n(1),f=n.n(p);function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0];if(!p.useContext)throw new Error("The `useContext` hook is not available with your React version.");var e=Object(p.useContext)(c.a);if(!e)throw new Error("The `useModal` hook must be called from a descendent of the `ModalProvider`.");var t=e.openModal,n=e.closeModal;return{openModal:t,closeModal:n}};n.d(t,"b",(function(){return c.c})),n.d(t,"a",(function(){return c.b})),n.d(t,"c",(function(){return h})),n.d(t,"e",(function(){return d})),r.default.Overlay=i.a,r.default.Content=o.a,r.default.Header=a.default,r.default.Title=s.default,r.default.Body=u.default,r.default.Footer=l.default;t.d=r.default},function(e,t,n){var r=n(38);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(38),i=n(10)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(7),i=n(37),o=n(10)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t1&&(n=[t.shift()],t.forEach((function(e,t){if(o){var a="separator-"+(e.key||t);i=r.cloneElement(i,{key:a})}return n.push(i,e)}))),r.createElement(e.inline?"span":"div",{className:e.className},n)}Group.propTypes={children:i.node,inline:i.bool,separator:i.node,className:i.string},Group.defaultProps={separator:" "},e.exports=Group},function(e,t,n){var r=n(15),i=n(5),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(50)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(24),i=n(12),o=n(52);e.exports=function(e){return function(t,n,a){var s,u=r(t),l=i(u.length),c=o(a,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(2),i=n(39),o=n(6),a=n(124),s="["+a+"]",u=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),exporter=function(e,t,n){var i={},s=o((function(){return!!a[e]()||"​…"!="​…"[e]()})),u=i[e]=s?t(c):a[e];n&&(i[n]=u),r(r.P+r.F*s,"String",i)},c=exporter.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(l,"")),e};e.exports=exporter},function(e,t,n){var r=n(10)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(7);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(76),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},function(e,t,n){"use strict";n(188);var r=n(20),i=n(23),o=n(6),a=n(39),s=n(10),u=n(139),l=s("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$
")})),p=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var f=s(e),h=!o((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),d=h?!o((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[l]=function(){return n}),n[f](""),!t})):void 0;if(!h||!d||"replace"===e&&!c||"split"===e&&!p){var m=/./[f],g=n(a,f,""[e],(function maybeCallNative(e,t,n,r,i){return t.exec===u?h&&!i?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),y=g[0],b=g[1];r(String.prototype,e,y),i(RegExp.prototype,f,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}}},function(e,t,n){var r=n(36),i=n(184),o=n(134),a=n(7),s=n(12),u=n(136),l={},c={};(t=e.exports=function(e,t,n,p,f){var h,d,m,g,y=f?function(){return e}:u(e),b=r(n,p,t?2:1),v=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(o(y)){for(h=s(e.length);h>v;v++)if((g=t?b(a(d=e[v])[0],d[1]):b(e[v]))===l||g===c)return g}else for(m=y.call(e);!(d=m.next()).done;)if((g=i(m,b,d.value,t))===l||g===c)return g}).BREAK=l,t.RETURN=c},function(e,t,n){var r=n(5).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){"use strict";var r=n(5),i=n(2),o=n(20),a=n(65),s=n(43),u=n(90),l=n(64),c=n(8),p=n(6),f=n(86),h=n(60),d=n(125);e.exports=function(e,t,n,m,g,y){var b=r[e],v=b,_=g?"set":"add",x=v&&v.prototype,w={},fixMethod=function(e){var t=x[e];o(x,e,"delete"==e?function(e){return!(y&&!c(e))&&t.call(this,0===e?0:e)}:"has"==e?function has(e){return!(y&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function get(e){return y&&!c(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function add(e){return t.call(this,0===e?0:e),this}:function set(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof v&&(y||x.forEach&&!p((function(){(new v).entries().next()})))){var k=new v,S=k[_](y?{}:-0,1)!=k,E=p((function(){k.has(1)})),C=f((function(e){new v(e)})),P=!y&&p((function(){for(var e=new v,t=5;t--;)e[_](t,t);return!e.has(-0)}));C||((v=t((function(t,n){l(t,v,e);var r=d(new b,t,v);return null!=n&&u(n,g,r[_],r),r}))).prototype=x,x.constructor=v),(E||P)&&(fixMethod("delete"),fixMethod("has"),g&&fixMethod("get")),(P||S)&&fixMethod(_),y&&x.clear&&delete x.clear}else v=m.getConstructor(t,e,g,_),a(v.prototype,n),s.NEED=!0;return h(v,e),w[e]=v,i(i.G+i.W+i.F*(v!=b),w),y||m.setStrong(v,e,g),v}},function(e,t,n){for(var r,i=n(5),o=n(23),a=n(49),s=a("typed_array"),u=a("view"),l=!(!i.ArrayBuffer||!i.DataView),c=l,p=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");p<9;)(r=i[f[p++]])?(o(r.prototype,s,!0),o(r.prototype,u,!0)):c=!1;e.exports={ABV:l,CONSTR:c,TYPED:s,VIEW:u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function toCssValue(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:"unnamed",t=arguments[1],n=arguments[2],a=n.jss,s=(0,o.default)(t),u=a.plugins.onCreateRule(e,s,n);if(u)return u;"@"===e[0]&&(0,r.default)(!1,"[JSS] Unknown at-rule %s",e);return new i.default(e,s,n)};var r=_interopRequireDefault(n(44)),i=_interopRequireDefault(n(66)),o=_interopRequireDefault(n(456));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){var r=n(479),i=n(480),o=n(481),a=n(482),s=n(483);function ListCache(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _defineProperties(e,t){for(var n=0;n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var p=function mapSizeToStyle(e){return{xs:c.a.xs,sm:c.a.sm,md:c.a.md,lg:c.a.lg,"extra-small":c.a.xs,small:c.a.sm,medium:c.a.md,large:c.a.lg}[e]},f=function ModalContent(e){var t=e.className,n=e.size,r=_objectWithoutProperties(e,["className","size"]);return u.a.createElement("div",_extends({},r,{className:i()(t,c.a.modalContent,p(n))}))};f.propTypes={size:a.a.oneOf(["","xs","sm","md","lg","large","medium","small","extra-small"])},t.a=f},function(e,t,n){var r=n(581)(n(582));e.exports=r},function(e,t){e.exports={HOMEPAGE:"https://react-styleguidist.js.org/",BUGS:"https://github.com/styleguidist/react-styleguidist/issues",DOCS_CONFIG:"https://react-styleguidist.js.org/docs/configuration.html",DOCS_COMPONENTS:"https://react-styleguidist.js.org/docs/components.html",DOCS_WEBPACK:"https://react-styleguidist.js.org/docs/webpack.html",DOCS_DOCUMENTING:"https://react-styleguidist.js.org/docs/documenting.html",DOCS_THIRDPARTIES:"https://react-styleguidist.js.org/docs/thirdparties.html"}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(0),a=n.n(o),s=n(3);function TableRenderer(e){var t=e.classes,n=e.columns,r=e.rows,o=e.getRowKey;return i.a.createElement("table",{className:t.table},i.a.createElement("thead",{className:t.tableHead},i.a.createElement("tr",null,n.map((function(e){var n=e.caption;return i.a.createElement("th",{key:n,className:t.cellHeading},n)})))),i.a.createElement("tbody",null,r.map((function(e){return i.a.createElement("tr",{key:o(e)},n.map((function(n,r){var o=n.render;return i.a.createElement("td",{key:r,className:t.cell},o(e))})))}))))}TableRenderer.propTypes={classes:a.a.object.isRequired,columns:a.a.arrayOf(a.a.shape({caption:a.a.string.isRequired,render:a.a.func.isRequired})).isRequired,rows:a.a.arrayOf(a.a.object).isRequired,getRowKey:a.a.func.isRequired};var u=Object(s.a)((function styles(e){var t=e.space,n=e.color,r=e.fontFamily,i=e.fontSize;return{table:{width:"100%",borderCollapse:"collapse",marginBottom:t[4]},tableHead:{borderBottom:[[1,n.border,"solid"]]},cellHeading:{color:n.base,paddingRight:t[2],paddingBottom:t[1],textAlign:"left",fontFamily:r.base,fontWeight:"bold",fontSize:i.small,whiteSpace:"nowrap"},cell:{color:n.base,paddingRight:t[2],paddingTop:t[1],paddingBottom:t[1],verticalAlign:"top",fontFamily:r.base,fontSize:i.small,"&:last-child":{isolate:!1,width:"99%",paddingRight:0},"& p:last-child":{isolate:!1,marginBottom:0}}}}))(TableRenderer);n.d(t,"a",(function(){return u}))},function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(0),a=n.n(o),s=n(68),u=n(67),l=n(3),c=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["classes","children"]);return i.a.createElement("a",c({},r,{className:u()(t.link,r.className)}),n)}LinkRenderer.propTypes={children:a.a.node,className:a.a.string,classes:a.a.object.isRequired};var p=Object(l.a)((function styles(e){var t=e.color;return{link:{"&, &:link, &:visited":{fontSize:"inherit",color:t.link,textDecoration:"none"},"&:hover, &:active":{isolate:!1,color:t.linkHover,cursor:"pointer"}}}}))(LinkRenderer);n.d(t,"a",(function(){return p}))},function(e,t,n){"use strict";e.exports=n(441)},function(e,t,n){var r,i,o={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===i&&(i=r.apply(this,arguments)),i}),getTarget=function(e,t){return t?t.querySelector(e):document.querySelector(e)},s=function(e){var t={};return function(e,n){if("function"==typeof e)return e();if(void 0===t[e]){var r=getTarget.call(this,e,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}}(),u=null,l=0,c=[],p=n(437);function addStylesToDom(e,t){for(var n=0;n=0&&c.splice(t,1)}function createStyleElement(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var r=function getNonce(){0;return n.nc}();r&&(e.attrs.nonce=r)}return addAttrs(t,e.attrs),insertStyleElement(e,t),t}function addAttrs(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function addStyle(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=o}if(t.singleton){var a=l++;n=u||(u=createStyleElement(t)),r=applyToSingletonTag.bind(null,n,a,!1),i=applyToSingletonTag.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function createLinkElement(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",addAttrs(t,e.attrs),insertStyleElement(e,t),t}(t),r=updateLink.bind(null,n,t),i=function(){removeStyleElement(n),n.href&&URL.revokeObjectURL(n.href)}):(n=createStyleElement(t),r=applyToTag.bind(null,n),i=function(){removeStyleElement(n)});return r(e),function updateStyle(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=listToStyles(e,t);return addStylesToDom(n,t),function update(e){for(var r=[],i=0;i0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},function(e,t){e.exports=Math.sign||function sign(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function expm1(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t,n){var r=n(29),i=n(39);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===l||(a=s.charCodeAt(u+1))<56320||a>57343?e?s.charAt(u):o:e?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(50),i=n(2),o=n(20),a=n(23),s=n(61),u=n(183),l=n(60),c=n(55),p=n(10)("iterator"),f=!([].keys&&"next"in[].keys()),returnThis=function(){return this};e.exports=function(e,t,n,h,d,m,g){u(n,t,h);var y,b,v,getMethod=function(e){if(!f&&e in k)return k[e];switch(e){case"keys":return function keys(){return new n(this,e)};case"values":return function values(){return new n(this,e)}}return function entries(){return new n(this,e)}},_=t+" Iterator",x="values"==d,w=!1,k=e.prototype,S=k[p]||k["@@iterator"]||d&&k[d],E=S||getMethod(d),C=d?x?getMethod("entries"):E:void 0,P="Array"==t&&k.entries||S;if(P&&(v=c(P.call(new e)))!==Object.prototype&&v.next&&(l(v,_,!0),r||"function"==typeof v[p]||a(v,p,returnThis)),x&&S&&"values"!==S.name&&(w=!0,E=function values(){return S.call(this)}),r&&!g||!f&&!w&&k[p]||a(k,p,E),s[t]=E,s[_]=returnThis,d)if(y={values:x?E:getMethod("values"),keys:m?E:getMethod("keys"),entries:C},g)for(b in y)b in k||o(k,b,y[b]);else i(i.P+i.F*(f||w),t,y);return y}},function(e,t,n){var r=n(132),i=n(39);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},function(e,t,n){var r=n(8),i=n(38),o=n(10)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,n){var r=n(10)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){var r=n(61),i=n(10)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},function(e,t,n){"use strict";var r=n(14),i=n(48);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){var r=n(76),i=n(10)("iterator"),o=n(61);e.exports=n(15).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){"use strict";var r=n(18),i=n(52),o=n(12);e.exports=function fill(e){for(var t=r(this),n=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,l=void 0===u?n:i(u,n);l>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var r=n(62),i=n(187),o=n(61),a=n(24);e.exports=n(130)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r,i,o=n(87),a=RegExp.prototype.exec,s=String.prototype.replace,u=a,l=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),c=void 0!==/()??/.exec("")[1];(l||c)&&(u=function exec(e){var t,n,r,i,u=this;return c&&(n=new RegExp("^"+u.source+"$(?!\\s)",o.call(u))),l&&(t=u.lastIndex),r=a.call(u,e),l&&r&&(u.lastIndex=u.global?r.index+r[0].length:t),c&&r&&r.length>1&&s.call(r[0],n,(function(){for(i=1;in;)t.push(arguments[n++]);return y[++g]=function(){s("function"==typeof e?e:Function(e),t)},r(g),g},h=function clearImmediate(e){delete y[e]},"process"==n(38)(p)?r=function(e){p.nextTick(a(run,e,1))}:m&&m.now?r=function(e){m.now(a(run,e,1))}:d?(o=(i=new d).port2,i.port1.onmessage=listener,r=a(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",listener,!1)):r="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),run.call(e)}}:function(e){setTimeout(a(run,e,1),0)}),e.exports={set:f,clear:h}},function(e,t,n){"use strict";var r=n(5),i=n(13),o=n(50),a=n(93),s=n(23),u=n(65),l=n(6),c=n(64),p=n(29),f=n(12),h=n(195),d=n(54).f,m=n(14).f,g=n(137),y=n(60),b="prototype",v="Wrong index!",_=r.ArrayBuffer,x=r.DataView,w=r.Math,k=r.RangeError,S=r.Infinity,E=_,C=w.abs,P=w.pow,O=w.floor,T=w.log,R=w.LN2,j=i?"_b":"buffer",A=i?"_l":"byteLength",I=i?"_o":"byteOffset";function packIEEE754(e,t,n){var r,i,o,a=new Array(n),s=8*n-t-1,u=(1<>1,c=23===t?P(2,-24)-P(2,-77):0,p=0,f=e<0||0===e&&1/e<0?1:0;for((e=C(e))!=e||e===S?(i=e!=e?1:0,r=u):(r=O(T(e)/R),e*(o=P(2,-r))<1&&(r--,o*=2),(e+=r+l>=1?c/o:c*P(2,1-l))*o>=2&&(r++,o/=2),r+l>=u?(i=0,r=u):r+l>=1?(i=(e*o-1)*P(2,t),r+=l):(i=e*P(2,l-1)*P(2,t),r=0));t>=8;a[p++]=255&i,i/=256,t-=8);for(r=r<0;a[p++]=255&r,r/=256,s-=8);return a[--p]|=128*f,a}function unpackIEEE754(e,t,n){var r,i=8*n-t-1,o=(1<>1,s=i-7,u=n-1,l=e[u--],c=127&l;for(l>>=7;s>0;c=256*c+e[u],u--,s-=8);for(r=c&(1<<-s)-1,c>>=-s,s+=t;s>0;r=256*r+e[u],u--,s-=8);if(0===c)c=1-a;else{if(c===o)return r?NaN:l?-S:S;r+=P(2,t),c-=a}return(l?-1:1)*r*P(2,c-t)}function unpackI32(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function packI8(e){return[255&e]}function packI16(e){return[255&e,e>>8&255]}function packI32(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function packF64(e){return packIEEE754(e,52,8)}function packF32(e){return packIEEE754(e,23,4)}function addGetter(e,t,n){m(e[b],t,{get:function(){return this[n]}})}function get(e,t,n,r){var i=h(+n);if(i+t>e[A])throw k(v);var o=e[j]._b,a=i+e[I],s=o.slice(a,a+t);return r?s:s.reverse()}function set(e,t,n,r,i,o){var a=h(+n);if(a+t>e[A])throw k(v);for(var s=e[j]._b,u=a+e[I],l=r(+i),c=0;cD;)(M=L[D++])in _||s(_,M,E[M]);o||(N.constructor=_)}var B=new x(new _(2)),F=x[b].setInt8;B.setInt8(0,2147483648),B.setInt8(1,2147483649),!B.getInt8(0)&&B.getInt8(1)||u(x[b],{setInt8:function setInt8(e,t){F.call(this,e,t<<24>>24)},setUint8:function setUint8(e,t){F.call(this,e,t<<24>>24)}},!0)}else _=function ArrayBuffer(e){c(this,_,"ArrayBuffer");var t=h(e);this._b=g.call(new Array(t),0),this[A]=t},x=function DataView(e,t,n){c(this,x,"DataView"),c(e,_,"DataView");var r=e[A],i=p(t);if(i<0||i>r)throw k("Wrong offset!");if(i+(n=void 0===n?r-i:f(n))>r)throw k("Wrong length!");this[j]=e,this[I]=i,this[A]=n},i&&(addGetter(_,"byteLength","_l"),addGetter(x,"buffer","_b"),addGetter(x,"byteLength","_l"),addGetter(x,"byteOffset","_o")),u(x[b],{getInt8:function getInt8(e){return get(this,1,e)[0]<<24>>24},getUint8:function getUint8(e){return get(this,1,e)[0]},getInt16:function getInt16(e){var t=get(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function getUint16(e){var t=get(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function getInt32(e){return unpackI32(get(this,4,e,arguments[1]))},getUint32:function getUint32(e){return unpackI32(get(this,4,e,arguments[1]))>>>0},getFloat32:function getFloat32(e){return unpackIEEE754(get(this,4,e,arguments[1]),23,4)},getFloat64:function getFloat64(e){return unpackIEEE754(get(this,8,e,arguments[1]),52,8)},setInt8:function setInt8(e,t){set(this,1,e,packI8,t)},setUint8:function setUint8(e,t){set(this,1,e,packI8,t)},setInt16:function setInt16(e,t){set(this,2,e,packI16,t,arguments[2])},setUint16:function setUint16(e,t){set(this,2,e,packI16,t,arguments[2])},setInt32:function setInt32(e,t){set(this,4,e,packI32,t,arguments[2])},setUint32:function setUint32(e,t){set(this,4,e,packI32,t,arguments[2])},setFloat32:function setFloat32(e,t){set(this,4,e,packF32,t,arguments[2])},setFloat64:function setFloat64(e,t){set(this,8,e,packF64,t,arguments[2])}});y(_,"ArrayBuffer"),y(x,"DataView"),s(x[b],a.VIEW,!0),t.ArrayBuffer=_,t.DataView=x},function(e,t){var n,r,i=e.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(e){if(n===setTimeout)return setTimeout(e,0);if((n===defaultSetTimout||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){n=defaultSetTimout}try{r="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){r=defaultClearTimeout}}();var o,a=[],s=!1,u=-1;function cleanUpNextTick(){s&&o&&(s=!1,o.length?a=o.concat(a):u=-1,a.length&&drainQueue())}function drainQueue(){if(!s){var e=runTimeout(cleanUpNextTick);s=!0;for(var t=a.length;t;){for(o=a,a=[];++u1)for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:{},i="";if(!t)return i;var o=n.indent,a=void 0===o?0:o,s=t.fallbacks;if(a++,s)if(Array.isArray(s))for(var u=0;u-1&&e%1==0&&e<=n}},function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=function isIndex(e,t){var i=typeof e;return!!(t=null==t?n:t)&&("number"==i||"symbol"!=i&&r.test(e))&&e>-1&&e%1==0&&e=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","color","size","style","width","height"]),p=t.reactIconBase,f=void 0===p?{}:p,h=a||f.size||"1em";return i.default.createElement("svg",r({children:n,fill:"currentColor",preserveAspectRatio:"xMidYMid meet",height:l||h,width:u||h},f,c,{style:r({verticalAlign:"middle",color:o||f.color},f.style||{},s)}))};a.propTypes={color:o.default.string,size:o.default.oneOfType([o.default.string,o.default.number]),width:o.default.oneOfType([o.default.string,o.default.number]),height:o.default.oneOfType([o.default.string,o.default.number]),style:o.default.object},a.contextTypes={reactIconBase:o.default.shape(a.propTypes)},t.default=a,e.exports=t.default},function(e,t,n){"use strict";n.r(t);var r=n(4),i=n.n(r),o=n(0),a=n.n(o),s=n(1),u=n.n(s),l=n(9),c=n.n(l);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _defineProperties(e,t){for(var n=0;n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _defineProperties(e,t){for(var n=0;n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _defineProperties(e,t){for(var n=0;n])/g,b=/([[}=:>])\s+/g,v=/(\{[^{]+?);(?=\})/g,_=/\s{2,}/g,x=/([^\(])(:+) */g,w=/[svh]\w+-[tblr]{2}/,k=/\(\s*(.*)\s*\)/g,S=/([\s\S]*?);/g,E=/-self|flex-/g,C=/[^]*?(:[rp][el]a[\w-]+)[^]*/,P=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,T="-webkit-",R="-moz-",j="-ms-",A=59,I=125,M=123,N=40,L=41,D=91,B=93,F=10,U=13,V=9,q=64,z=32,W=38,H=45,G=95,K=42,J=44,$=58,X=39,Z=34,Y=47,Q=62,ee=43,te=126,ne=0,re=12,ie=11,oe=107,ae=109,se=115,ue=112,le=111,ce=105,pe=99,fe=100,he=112,de=1,me=1,ge=0,ye=1,be=1,ve=1,_e=0,xe=0,we=0,ke=[],Se=[],Ee=0,Ce=null,Oe=-2,je=-1,Ae=0,Ne=1,De=2,Be=3,Fe=0,Ue=1,Ve="",qe="",ze="";function He(e,t,i,o,a){for(var s,u,c=0,p=0,f=0,h=0,y=0,b=0,v=0,_=0,w=0,S=0,E=0,C=0,P=0,O=0,G=0,_e=0,Se=0,Ce=0,Oe=0,Te=i.length,Re=Te-1,je="",We="",Ge="",Je="",$e="",Xe="";G0&&(We=We.replace(r,"")),We.trim().length>0)){switch(v){case z:case V:case A:case U:case F:break;default:We+=i.charAt(G)}v=A}if(1===Se)switch(v){case M:case I:case A:case Z:case X:case N:case L:case J:Se=0;case V:case U:case F:case z:break;default:for(Se=0,Oe=G,y=v,G--,v=A;Oe0&&(++G,v=y);case M:Oe=Te}}switch(v){case M:for(y=(We=We.trim()).charCodeAt(0),E=1,Oe=++G;G0&&(We=We.replace(r,"")),b=We.charCodeAt(1)){case fe:case ae:case se:case H:s=t;break;default:s=ke}if(Oe=(Ge=He(t,s,Ge,b,a+1)).length,we>0&&0===Oe&&(Oe=We.length),Ee>0&&(s=Ie(ke,We,Ce),u=Pe(Be,Ge,s,t,me,de,Oe,b,a,o),We=s.join(""),void 0!==u&&0===(Oe=(Ge=u.trim()).length)&&(b=0,Ge="")),Oe>0)switch(b){case se:We=We.replace(k,Me);case fe:case ae:case H:Ge=We+"{"+Ge+"}";break;case oe:Ge=(We=We.replace(d,"$1 $2"+(Ue>0?Ve:"")))+"{"+Ge+"}",Ge=1===be||2===be&&Le("@"+Ge,3)?"@"+T+Ge+"@"+Ge:"@"+Ge;break;default:Ge=We+Ge,o===he&&(Je+=Ge,Ge="")}else Ge="";break;default:Ge=He(t,Ie(t,We,Ce),Ge,o,a+1)}$e+=Ge,C=0,Se=0,O=0,_e=0,Ce=0,P=0,We="",Ge="",v=i.charCodeAt(++G);break;case I:case A:if((Oe=(We=(_e>0?We.replace(r,""):We).trim()).length)>1)switch(0===O&&((y=We.charCodeAt(0))===H||y>96&&y<123)&&(Oe=(We=We.replace(" ",":")).length),Ee>0&&void 0!==(u=Pe(Ne,We,t,e,me,de,Je.length,o,a,o))&&0===(Oe=(We=u.trim()).length)&&(We="\0\0"),y=We.charCodeAt(0),b=We.charCodeAt(1),y){case ne:break;case q:if(b===ce||b===pe){Xe+=We+i.charAt(G);break}default:if(We.charCodeAt(Oe-1)===$)break;Je+=Ke(We,y,b,We.charCodeAt(2))}C=0,Se=0,O=0,_e=0,Ce=0,We="",v=i.charCodeAt(++G)}}switch(v){case U:case F:if(p+h+f+c+xe===0)switch(S){case L:case X:case Z:case q:case te:case Q:case K:case ee:case Y:case H:case $:case J:case A:case M:case I:break;default:O>0&&(Se=1)}p===Y?p=0:ye+C===0&&o!==oe&&We.length>0&&(_e=1,We+="\0"),Ee*Fe>0&&Pe(Ae,We,t,e,me,de,Je.length,o,a,o),de=1,me++;break;case A:case I:if(p+h+f+c===0){de++;break}default:switch(de++,je=i.charAt(G),v){case V:case z:if(h+c+p===0)switch(_){case J:case $:case V:case z:je="";break;default:v!==z&&(je=" ")}break;case ne:je="\\0";break;case re:je="\\f";break;case ie:je="\\v";break;case W:h+p+c===0&&ye>0&&(Ce=1,_e=1,je="\f"+je);break;case 108:if(h+p+c+ge===0&&O>0)switch(G-O){case 2:_===ue&&i.charCodeAt(G-3)===$&&(ge=_);case 8:w===le&&(ge=w)}break;case $:h+p+c===0&&(O=G);break;case J:p+f+h+c===0&&(_e=1,je+="\r");break;case Z:case X:0===p&&(h=h===v?0:0===h?v:h);break;case D:h+p+f===0&&c++;break;case B:h+p+f===0&&c--;break;case L:h+p+c===0&&f--;break;case N:if(h+p+c===0){if(0===C)switch(2*_+3*w){case 533:break;default:E=0,C=1}f++}break;case q:p+f+h+c+O+P===0&&(P=1);break;case K:case Y:if(h+c+f>0)break;switch(p){case 0:switch(2*v+3*i.charCodeAt(G+1)){case 235:p=Y;break;case 220:Oe=G,p=K}break;case K:v===Y&&_===K&&Oe+2!==G&&(33===i.charCodeAt(Oe+2)&&(Je+=i.substring(Oe,G+1)),je="",p=0)}}if(0===p){if(ye+h+c+P===0&&o!==oe&&v!==A)switch(v){case J:case te:case Q:case ee:case L:case N:if(0===C){switch(_){case V:case z:case F:case U:je+="\0";break;default:je="\0"+je+(v===J?"":"\0")}_e=1}else switch(v){case N:O+7===G&&108===_&&(O=0),C=++E;break;case L:0==(C=--E)&&(_e=1,je+="\0")}break;case V:case z:switch(_){case ne:case M:case I:case A:case J:case re:case V:case z:case F:case U:break;default:0===C&&(_e=1,je+="\0")}}We+=je,v!==z&&v!==V&&(S=v)}}w=_,_=v,G++}if(Oe=Je.length,we>0&&0===Oe&&0===$e.length&&0===t[0].length==0&&(o!==ae||1===t.length&&(ye>0?qe:ze)===t[0])&&(Oe=t.join(",").length+2),Oe>0){if(s=0===ye&&o!==oe?function(e){for(var t,n,i=0,o=e.length,a=Array(o);i1)){if(f=u.charCodeAt(u.length-1),h=n.charCodeAt(0),t="",0!==c)switch(f){case K:case te:case Q:case ee:case z:case N:break;default:t=" "}switch(h){case W:n=t+qe;case te:case Q:case ee:case z:case L:case N:break;case D:n=t+n+qe;break;case $:switch(2*n.charCodeAt(1)+3*n.charCodeAt(2)){case 530:if(ve>0){n=t+n.substring(8,p-1);break}default:(c<1||s[c-1].length<1)&&(n=t+qe+n)}break;case J:t="";default:n=p>1&&n.indexOf(":")>0?t+n.replace(x,"$1"+qe+"$2"):t+n+qe}u+=n}a[i]=u.replace(r,"").trim()}return a}(t):t,Ee>0&&void 0!==(u=Pe(De,Je,s,e,me,de,Oe,o,a,o))&&0===(Je=u).length)return Xe+Je+$e;if(Je=s.join(",")+"{"+Je+"}",be*ge!=0){switch(2!==be||Le(Je,2)||(ge=0),ge){case le:Je=Je.replace(g,":"+R+"$1")+Je;break;case ue:Je=Je.replace(m,"::"+T+"input-$1")+Je.replace(m,"::"+R+"$1")+Je.replace(m,":"+j+"input-$1")+Je}ge=0}}return Xe+Je+$e}function Ie(e,t,n){var r=t.trim().split(c),i=r,o=r.length,a=e.length;switch(a){case 0:case 1:for(var s=0,u=0===a?"":e[0]+" ";s0&&ye>0)return i.replace(f,"$1").replace(p,"$1"+ze);break;default:return e.trim()+i.replace(p,"$1"+e.trim())}default:if(n*ye>0&&i.indexOf("\f")>0)return i.replace(p,(e.charCodeAt(0)===$?"":"$1")+e.trim())}return e+i}function Ke(e,t,n,r){var l,c=0,p=e+";",f=2*t+3*n+4*r;if(944===f)return function(e){var t=e.length,n=e.indexOf(":",9)+1,r=e.substring(0,n).trim(),i=e.substring(n,t-1).trim();switch(e.charCodeAt(9)*Ue){case 0:break;case H:if(110!==e.charCodeAt(10))break;default:var o=i.split((i="",s)),a=0;for(n=0,t=o.length;aq&&p<90||p>96&&p<123||p===G||p===H&&l.charCodeAt(1)!==H))switch(isNaN(parseFloat(l))+(-1!==l.indexOf("("))){case 1:switch(l){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:l+=Ve}}c[n++]=l}i+=(0===a?"":",")+c.join(" ")}}return i=r+i+";",1===be||2===be&&Le(i,1)?T+i+i:i}(p);if(0===be||2===be&&!Le(p,1))return p;switch(f){case 1015:return 97===p.charCodeAt(10)?T+p+p:p;case 951:return 116===p.charCodeAt(3)?T+p+p:p;case 963:return 110===p.charCodeAt(5)?T+p+p:p;case 1009:if(100!==p.charCodeAt(4))break;case 969:case 942:return T+p+p;case 978:return T+p+R+p+p;case 1019:case 983:return T+p+R+p+j+p+p;case 883:return p.charCodeAt(8)===H?T+p+p:p.indexOf("image-set(",11)>0?p.replace(O,"$1"+T+"$2")+p:p;case 932:if(p.charCodeAt(4)===H)switch(p.charCodeAt(5)){case 103:return T+"box-"+p.replace("-grow","")+T+p+j+p.replace("grow","positive")+p;case 115:return T+p+j+p.replace("shrink","negative")+p;case 98:return T+p+j+p.replace("basis","preferred-size")+p}return T+p+j+p+p;case 964:return T+p+j+"flex-"+p+p;case 1023:if(99!==p.charCodeAt(8))break;return l=p.substring(p.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),T+"box-pack"+l+T+p+j+"flex-pack"+l+p;case 1005:return o.test(p)?p.replace(i,":"+T)+p.replace(i,":"+R)+p:p;case 1e3:switch(c=(l=p.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(c)){case 226:l=p.replace(w,"tb");break;case 232:l=p.replace(w,"tb-rl");break;case 220:l=p.replace(w,"lr");break;default:return p}return T+p+j+l+p;case 1017:if(-1===p.indexOf("sticky",9))return p;case 975:switch(c=(p=e).length-10,f=(l=(33===p.charCodeAt(c)?p.substring(0,c):p).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(l.charCodeAt(8)<111)break;case 115:p=p.replace(l,T+l)+";"+p;break;case 207:case 102:p=p.replace(l,T+(f>102?"inline-":"")+"box")+";"+p.replace(l,T+l)+";"+p.replace(l,j+l+"box")+";"+p}return p+";";case 938:if(p.charCodeAt(5)===H)switch(p.charCodeAt(6)){case 105:return l=p.replace("-items",""),T+p+T+"box-"+l+j+"flex-"+l+p;case 115:return T+p+j+"flex-item-"+p.replace(E,"")+p;default:return T+p+j+"flex-line-pack"+p.replace("align-content","").replace(E,"")+p}break;case 973:case 989:if(p.charCodeAt(3)!==H||122===p.charCodeAt(4))break;case 931:case 953:if(!0===P.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?Ke(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):p.replace(l,T+l)+p.replace(l,R+l.replace("fill-",""))+p;break;case 962:if(p=T+p+(102===p.charCodeAt(5)?j+p:"")+p,n+r===211&&105===p.charCodeAt(13)&&p.indexOf("transform",10)>0)return p.substring(0,p.indexOf(";",27)+1).replace(a,"$1"+T+"$2")+p}return p}function Le(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10),i=e.substring(n+1,e.length-1);return Ce(2!==t?r:r.replace(C,"$1"),i,t)}function Me(e,t){var n=Ke(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(S," or ($1)").substring(4):"("+t+")"}function Pe(e,t,n,r,i,o,a,s,u,l){for(var c,p=0,f=t;p0&&(Ve=i.replace(h,o===D?"":"-")),o=1,1===ye?ze=i:qe=i;var a,s=[ze];Ee>0&&void 0!==(a=Pe(je,n,s,s,me,de,0,0,0,0))&&"string"==typeof a&&(n=a);var u=He(ke,s,n,0,0);return Ee>0&&void 0!==(a=Pe(Oe,u,s,s,me,de,u.length,0,0,0))&&"string"!=typeof(u=a)&&(o=0),Ve="",ze="",qe="",ge=0,me=1,de=1,_e*o==0?u:u.replace(r,"").replace(y,"").replace(b,"$1").replace(v,"$1").replace(_," ")}return Te.use=function e(t){switch(t){case void 0:case null:Ee=Se.length=0;break;default:if("function"==typeof t)Se[Ee++]=t;else if("object"==typeof t)for(var n=0,r=t.length;nu;)r(s,n=t[u++])&&(~o(l,n)||l.push(n));return l}},function(e,t,n){var r=n(14),i=n(7),o=n(51);e.exports=n(13)?Object.defineProperties:function defineProperties(e,t){i(e);for(var n,a=o(t),s=a.length,u=0;s>u;)r.f(e,n=a[u++],t[n]);return e}},function(e,t,n){var r=n(24),i=n(54).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function getOwnPropertyNames(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(r(e))}},function(e,t,n){"use strict";var r=n(13),i=n(51),o=n(84),a=n(75),s=n(18),u=n(74),l=Object.assign;e.exports=!l||n(6)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r}))?function assign(e,t){for(var n=s(e),l=arguments.length,c=1,p=o.f,f=a.f;l>c;)for(var h,d=u(arguments[c++]),m=p?i(d).concat(p(d)):i(d),g=m.length,y=0;g>y;)h=m[y++],r&&!f.call(d,h)||(n[h]=d[h]);return n}:l},function(e,t){e.exports=Object.is||function is(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(37),i=n(8),o=n(177),a=[].slice,s={},construct=function(e,t,n){if(!(t in s)){for(var r=[],i=0;i>>0||(a.test(n)?16:10))}:r},function(e,t,n){var r=n(5).parseFloat,i=n(85).trim;e.exports=1/r(n(124)+"-0")!=-1/0?function parseFloat(e){var t=i(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(38);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(8),i=Math.floor;e.exports=function isInteger(e){return!r(e)&&isFinite(e)&&i(e)===e}},function(e,t){e.exports=Math.log1p||function log1p(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){"use strict";var r=n(53),i=n(48),o=n(60),a={};n(23)(a,n(10)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(7);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){var r=n(37),i=n(18),o=n(74),a=n(12);e.exports=function(e,t,n,s,u){r(t);var l=i(e),c=o(l),p=a(l.length),f=u?p-1:0,h=u?-1:1;if(n<2)for(;;){if(f in c){s=c[f],f+=h;break}if(f+=h,u?f<0:p<=f)throw TypeError("Reduce of empty array with no initial value")}for(;u?f>=0:p>f;f+=h)f in c&&(s=t(s,c[f],f,l));return s}},function(e,t,n){"use strict";var r=n(18),i=n(52),o=n(12);e.exports=[].copyWithin||function copyWithin(e,t){var n=r(this),a=o(n.length),s=i(e,a),u=i(t,a),l=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===l?a:i(l,a))-u,a-s),p=1;for(u0;)u in n?n[s]=n[u]:delete n[s],s+=p,u+=p;return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(139);n(2)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(13)&&"g"!=/./g.flags&&n(14).f(RegExp.prototype,"flags",{configurable:!0,get:n(87)})},function(e,t,n){"use strict";var r,i,o,a,s=n(50),u=n(5),l=n(36),c=n(76),p=n(2),f=n(8),h=n(37),d=n(64),m=n(90),g=n(77),y=n(141).set,b=n(382)(),v=n(191),_=n(383),x=n(91),w=n(192),k=u.TypeError,S=u.process,E=S&&S.versions,C=E&&E.v8||"",P=u.Promise,O="process"==c(S),empty=function(){},T=i=v.f,R=!!function(){try{var e=P.resolve(1),t=(e.constructor={})[n(10)("species")]=function(e){e(empty,empty)};return(O||"function"==typeof PromiseRejectionEvent)&&e.then(empty)instanceof t&&0!==C.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(e){}}(),isThenable=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},notify=function(e,t){if(!e._n){e._n=!0;var n=e._c;b((function(){for(var r=e._v,i=1==e._s,o=0,run=function(t){var n,o,a,s=i?t.ok:t.fail,u=t.resolve,l=t.reject,c=t.domain;try{s?(i||(2==e._h&&onHandleUnhandled(e),e._h=1),!0===s?n=r:(c&&c.enter(),n=s(r),c&&(c.exit(),a=!0)),n===t.promise?l(k("Promise-chain cycle")):(o=isThenable(n))?o.call(n,u,l):u(n)):l(r)}catch(e){c&&!a&&c.exit(),l(e)}};n.length>o;)run(n[o++]);e._c=[],e._n=!1,t&&!e._h&&onUnhandled(e)}))}},onUnhandled=function(e){y.call(u,(function(){var t,n,r,i=e._v,o=isUnhandled(e);if(o&&(t=_((function(){O?S.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)})),e._h=O||isUnhandled(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},isUnhandled=function(e){return 1!==e._h&&0===(e._a||e._c).length},onHandleUnhandled=function(e){y.call(u,(function(){var t;O?S.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})}))},$reject=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),notify(t,!0))},$resolve=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw k("Promise can't be resolved itself");(t=isThenable(e))?b((function(){var r={_w:n,_d:!1};try{t.call(e,l($resolve,r,1),l($reject,r,1))}catch(e){$reject.call(r,e)}})):(n._v=e,n._s=1,notify(n,!1))}catch(e){$reject.call({_w:n,_d:!1},e)}}};R||(P=function Promise(e){d(this,P,"Promise","_h"),h(e),r.call(this);try{e(l($resolve,this,1),l($reject,this,1))}catch(e){$reject.call(this,e)}},(r=function Promise(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(65)(P.prototype,{then:function then(e,t){var n=T(g(this,P));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=O?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&¬ify(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r;this.promise=e,this.resolve=l($resolve,e,1),this.reject=l($reject,e,1)},v.f=T=function(e){return e===P||e===a?new o(e):i(e)}),p(p.G+p.W+p.F*!R,{Promise:P}),n(60)(P,"Promise"),n(63)("Promise"),a=n(15).Promise,p(p.S+p.F*!R,"Promise",{reject:function reject(e){var t=T(this);return(0,t.reject)(e),t.promise}}),p(p.S+p.F*(s||!R),"Promise",{resolve:function resolve(e){return w(s&&this===a?P:this,e)}}),p(p.S+p.F*!(R&&n(86)((function(e){P.all(e).catch(empty)}))),"Promise",{all:function all(e){var t=this,n=T(t),r=n.resolve,i=n.reject,o=_((function(){var n=[],o=0,a=1;m(e,!1,(function(e){var s=o++,u=!1;n.push(void 0),a++,t.resolve(e).then((function(e){u||(u=!0,n[s]=e,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function race(e){var t=this,n=T(t),r=n.reject,i=_((function(){m(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},function(e,t,n){"use strict";var r=n(37);function PromiseCapability(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new PromiseCapability(e)}},function(e,t,n){var r=n(7),i=n(8),o=n(191);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(14).f,i=n(53),o=n(65),a=n(36),s=n(64),u=n(90),l=n(130),c=n(187),p=n(63),f=n(13),h=n(43).fastKey,d=n(56),m=f?"_s":"size",getEntry=function(e,t){var n,r=h(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,l){var c=e((function(e,r){s(e,c,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[m]=0,null!=r&&u(r,n,e[l],e)}));return o(c.prototype,{clear:function clear(){for(var e=d(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=d(this,t),r=getEntry(n,e);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[m]--}return!!r},forEach:function forEach(e){d(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function has(e){return!!getEntry(d(this,t),e)}}),f&&r(c.prototype,"size",{get:function(){return d(this,t)[m]}}),c},def:function(e,t,n){var r,i,o=getEntry(e,t);return o?o.v=n:(e._l=o={i:i=h(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=o),r&&(r.n=o),e[m]++,"F"!==i&&(e._i[i]=o)),e},getEntry:getEntry,setStrong:function(e,t,n){l(e,t,(function(e,n){this._t=d(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?c(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,c(1))}),n?"entries":"values",!n,!0),p(t)}}},function(e,t,n){"use strict";var r=n(65),i=n(43).getWeak,o=n(7),a=n(8),s=n(64),u=n(90),l=n(32),c=n(22),p=n(56),f=l(5),h=l(6),d=0,uncaughtFrozenStore=function(e){return e._l||(e._l=new UncaughtFrozenStore)},UncaughtFrozenStore=function(){this.a=[]},findUncaughtFrozen=function(e,t){return f(e.a,(function(e){return e[0]===t}))};UncaughtFrozenStore.prototype={get:function(e){var t=findUncaughtFrozen(this,e);if(t)return t[1]},has:function(e){return!!findUncaughtFrozen(this,e)},set:function(e,t){var n=findUncaughtFrozen(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=h(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,o){var l=e((function(e,r){s(e,l,t,"_i"),e._t=t,e._i=d++,e._l=void 0,null!=r&&u(r,n,e[o],e)}));return r(l.prototype,{delete:function(e){if(!a(e))return!1;var n=i(e);return!0===n?uncaughtFrozenStore(p(this,t)).delete(e):n&&c(n,this._i)&&delete n[this._i]},has:function has(e){if(!a(e))return!1;var n=i(e);return!0===n?uncaughtFrozenStore(p(this,t)).has(e):n&&c(n,this._i)}}),l},def:function(e,t,n){var r=i(o(t),!0);return!0===r?uncaughtFrozenStore(e).set(t,n):r[e._i]=n,e},ufstore:uncaughtFrozenStore}},function(e,t,n){var r=n(29),i=n(12);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var r=n(54),i=n(84),o=n(7),a=n(5).Reflect;e.exports=a&&a.ownKeys||function ownKeys(e){var t=r.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(12),i=n(126),o=n(39);e.exports=function(e,t,n,a){var s=String(o(e)),u=s.length,l=void 0===n?" ":String(n),c=r(t);if(c<=u||""==l)return s;var p=c-u,f=i.call(l,Math.ceil(p/l.length));return f.length>p&&(f=f.slice(0,p)),a?f+s:s+f}},function(e,t,n){var r=n(13),i=n(51),o=n(24),a=n(75).f;e.exports=function(e){return function(t){for(var n,s=o(t),u=i(s),l=u.length,c=0,p=[];l>c;)n=u[c++],r&&!a.call(s,n)||p.push(e?[n,s[n]]:s[n]);return p}}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function toString(){return this.map((function(t){var n=function cssWithMappingToString(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=function toComment(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(r),o=r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"}));return[n].concat(o).concat([i]).join("\n")}return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)}},{key:"reset",value:function reset(){this.registry=[]}},{key:"remove",value:function remove(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)}},{key:"toString",value:function toString(e){return this.registry.filter((function(e){return e.attached})).map((function(t){return t.toString(e)})).join("\n")}},{key:"index",get:function get(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),SheetsRegistry}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(457));t.default=function(e){return e&&e[r.default]&&e===e[r.default]()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function linkRule(e,t){e.renderable=t,e.rules&&t.cssRules&&e.rules.link(t.cssRules)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=_interopRequireDefault(n(44)),i=(_interopRequireDefault(n(205)),_interopRequireDefault(n(460)));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.default=function(){var e=0;return function(t,n){(e+=1)>1e10&&(0,r.default)(!1,"[JSS] You might have a memory leak. Rule counter is at %s.",e);var o="c",a="";return n&&(o=n.options.classNamePrefix||"c",null!=n.options.jss.id&&(a+=n.options.jss.id)),""+o+i.default+a+e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t-1)return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Code__WEBPACK_IMPORTED_MODULE_6__.a,null,Object(_util__WEBPACK_IMPORTED_MODULE_14__.b)(Object(_util__WEBPACK_IMPORTED_MODULE_14__.c)(prop.defaultValue.value)));if("func"===propName||"function"===propName)return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_11__.a,{size:"small",color:"light",underlined:!0,title:Object(_util__WEBPACK_IMPORTED_MODULE_14__.b)(Object(_util__WEBPACK_IMPORTED_MODULE_14__.c)(prop.defaultValue.value))},"Function");if("shape"===propName||"object"===propName)try{var object=eval("("+prop.defaultValue.value+")");return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_11__.a,{size:"small",color:"light",underlined:!0,title:javascript_stringify__WEBPACK_IMPORTED_MODULE_3___default()(object,null,2)},"Shape")}catch(e){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_11__.a,{size:"small",color:"light",underlined:!0,title:prop.defaultValue.value},"Shape")}}return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Code__WEBPACK_IMPORTED_MODULE_6__.a,null,Object(_util__WEBPACK_IMPORTED_MODULE_14__.b)(Object(_util__WEBPACK_IMPORTED_MODULE_14__.c)(prop.defaultValue.value)))}return prop.required?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_11__.a,{size:"small",color:"light"},"Required"):""}function renderDescription(e){var t=e.description,n=e.tags,r=void 0===n?{}:n,i=renderExtra(e),o=[].concat(_toConsumableArray(r.arg||[]),_toConsumableArray(r.argument||[]),_toConsumableArray(r.param||[])),a=r.return&&r.return[0]||r.returns&&r.returns[0];return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",null,t&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Markdown__WEBPACK_IMPORTED_MODULE_8__.a,{text:t}),i&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Para__WEBPACK_IMPORTED_MODULE_12__.a,null,i),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_JsDoc__WEBPACK_IMPORTED_MODULE_7__.a,r),o.length>0&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Arguments__WEBPACK_IMPORTED_MODULE_4__.a,{args:o,heading:!0}),a&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Argument__WEBPACK_IMPORTED_MODULE_5__.a,_extends({},a,{returns:!0})))}function renderExtra(e){var t=Object(_util__WEBPACK_IMPORTED_MODULE_14__.a)(e);if(!t)return null;switch(t.name){case"enum":return renderEnum(e);case"union":return renderUnion(e);case"shape":return renderShape(e.type.value);case"arrayOf":case"objectOf":return"shape"===t.value.name?renderShape(e.type.value.value):null;default:return null}}function renderUnion(e){var t=Object(_util__WEBPACK_IMPORTED_MODULE_14__.a)(e);if(!Array.isArray(t.value))return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span",null,t.value);var n=t.value.map((function(e,t){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Type__WEBPACK_IMPORTED_MODULE_10__.a,{key:e.name+"-"+t},renderType(e))}));return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span",null,"One of type:"," ",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_group__WEBPACK_IMPORTED_MODULE_2___default.a,{separator:", ",inline:!0},n))}function renderName(e){var t=e.name,n=e.tags,r=void 0===n?{}:n;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Name__WEBPACK_IMPORTED_MODULE_9__.a,{deprecated:!!r.deprecated},t)}function renderTypeColumn(e){return e.flowType?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Type__WEBPACK_IMPORTED_MODULE_10__.a,null,renderFlowType(Object(_util__WEBPACK_IMPORTED_MODULE_14__.a)(e))):react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Type__WEBPACK_IMPORTED_MODULE_10__.a,null,renderType(Object(_util__WEBPACK_IMPORTED_MODULE_14__.a)(e)))}function getRowKey(e){return e.name}var columns=[{caption:"Prop name",render:renderName},{caption:"Type",render:renderTypeColumn},{caption:"Default",render:renderDefault},{caption:"Description",render:renderDescription}];function PropsRenderer(e){var t=e.props;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Table__WEBPACK_IMPORTED_MODULE_13__.a,{columns:columns,rows:t,getRowKey:getRowKey})}PropsRenderer.propTypes={props:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array.isRequired}},function(e,t,n){"use strict";(function(e){ +/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */ +var r=n(537),i=n(538),o=n(539);function kMaxLength(){return Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function createBuffer(e,t){if(kMaxLength()=kMaxLength())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kMaxLength().toString(16)+" bytes");return 0|e}function byteLength(e,t){if(Buffer.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return utf8ToBytes(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return base64ToBytes(e).length;default:if(r)return utf8ToBytes(e).length;t=(""+t).toLowerCase(),r=!0}}function slowToString(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return hexSlice(this,t,n);case"utf8":case"utf-8":return utf8Slice(this,t,n);case"ascii":return asciiSlice(this,t,n);case"latin1":case"binary":return latin1Slice(this,t,n);case"base64":return base64Slice(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function swap(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function bidirectionalIndexOf(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=Buffer.from(t,r)),Buffer.isBuffer(t))return 0===t.length?-1:arrayIndexOf(e,t,n,r,i);if("number"==typeof t)return t&=255,Buffer.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):arrayIndexOf(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function read(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){for(var c=!0,p=0;pi&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function base64Slice(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function utf8Slice(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+f<=n)switch(f){case 1:c<128&&(p=c);break;case 2:128==(192&(o=e[i+1]))&&(l=(31&c)<<6|63&o)>127&&(p=l);break;case 3:o=e[i+1],s=e[i+2],128==(192&o)&&128==(192&s)&&(l=(15&c)<<12|(63&o)<<6|63&s)>2047&&(l<55296||l>57343)&&(p=l);break;case 4:o=e[i+1],s=e[i+2],u=e[i+3],128==(192&o)&&128==(192&s)&&128==(192&u)&&(l=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&u)>65535&&l<1114112&&(p=l)}null===p?(p=65533,f=1):p>65535&&(p-=65536,r.push(p>>>10&1023|55296),p=56320|1023&p),r.push(p),i+=f}return function decodeCodePointsArray(e){var t=e.length;if(t<=a)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},Buffer.prototype.compare=function compare(e,t,n,r,i){if(!Buffer.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),u=this.slice(r,i),l=e.slice(t,n),c=0;ci)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return hexWrite(this,e,t,n);case"utf8":case"utf-8":return utf8Write(this,e,t,n);case"ascii":return asciiWrite(this,e,t,n);case"latin1":case"binary":return latin1Write(this,e,t,n);case"base64":return base64Write(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var a=4096;function asciiSlice(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function checkInt(e,t,n,r,i,o){if(!Buffer.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function objectWriteUInt16(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function objectWriteUInt32(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function checkIEEE754(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function writeFloat(e,t,n,r,o){return o||checkIEEE754(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function writeDouble(e,t,n,r,o){return o||checkIEEE754(e,0,n,8),i.write(e,t,n,r,52,8),n+8}Buffer.prototype.slice=function slice(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},Buffer.prototype.readUInt8=function readUInt8(e,t){return t||checkOffset(e,1,this.length),this[e]},Buffer.prototype.readUInt16LE=function readUInt16LE(e,t){return t||checkOffset(e,2,this.length),this[e]|this[e+1]<<8},Buffer.prototype.readUInt16BE=function readUInt16BE(e,t){return t||checkOffset(e,2,this.length),this[e]<<8|this[e+1]},Buffer.prototype.readUInt32LE=function readUInt32LE(e,t){return t||checkOffset(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Buffer.prototype.readUInt32BE=function readUInt32BE(e,t){return t||checkOffset(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Buffer.prototype.readIntLE=function readIntLE(e,t,n){e|=0,t|=0,n||checkOffset(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},Buffer.prototype.readIntBE=function readIntBE(e,t,n){e|=0,t|=0,n||checkOffset(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},Buffer.prototype.readInt8=function readInt8(e,t){return t||checkOffset(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Buffer.prototype.readInt16LE=function readInt16LE(e,t){t||checkOffset(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},Buffer.prototype.readInt16BE=function readInt16BE(e,t){t||checkOffset(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},Buffer.prototype.readInt32LE=function readInt32LE(e,t){return t||checkOffset(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Buffer.prototype.readInt32BE=function readInt32BE(e,t){return t||checkOffset(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Buffer.prototype.readFloatLE=function readFloatLE(e,t){return t||checkOffset(e,4,this.length),i.read(this,e,!0,23,4)},Buffer.prototype.readFloatBE=function readFloatBE(e,t){return t||checkOffset(e,4,this.length),i.read(this,e,!1,23,4)},Buffer.prototype.readDoubleLE=function readDoubleLE(e,t){return t||checkOffset(e,8,this.length),i.read(this,e,!0,52,8)},Buffer.prototype.readDoubleBE=function readDoubleBE(e,t){return t||checkOffset(e,8,this.length),i.read(this,e,!1,52,8)},Buffer.prototype.writeUIntLE=function writeUIntLE(e,t,n,r){(e=+e,t|=0,n|=0,r)||checkInt(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},Buffer.prototype.writeUInt8=function writeUInt8(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,1,255,0),Buffer.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Buffer.prototype.writeUInt16LE=function writeUInt16LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):objectWriteUInt16(this,e,t,!0),t+2},Buffer.prototype.writeUInt16BE=function writeUInt16BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):objectWriteUInt16(this,e,t,!1),t+2},Buffer.prototype.writeUInt32LE=function writeUInt32LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):objectWriteUInt32(this,e,t,!0),t+4},Buffer.prototype.writeUInt32BE=function writeUInt32BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):objectWriteUInt32(this,e,t,!1),t+4},Buffer.prototype.writeIntLE=function writeIntLE(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);checkInt(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},Buffer.prototype.writeIntBE=function writeIntBE(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);checkInt(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},Buffer.prototype.writeInt8=function writeInt8(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,1,127,-128),Buffer.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Buffer.prototype.writeInt16LE=function writeInt16LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):objectWriteUInt16(this,e,t,!0),t+2},Buffer.prototype.writeInt16BE=function writeInt16BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):objectWriteUInt16(this,e,t,!1),t+2},Buffer.prototype.writeInt32LE=function writeInt32LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,2147483647,-2147483648),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):objectWriteUInt32(this,e,t,!0),t+4},Buffer.prototype.writeInt32BE=function writeInt32BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):objectWriteUInt32(this,e,t,!1),t+4},Buffer.prototype.writeFloatLE=function writeFloatLE(e,t,n){return writeFloat(this,e,t,!0,n)},Buffer.prototype.writeFloatBE=function writeFloatBE(e,t,n){return writeFloat(this,e,t,!1,n)},Buffer.prototype.writeDoubleLE=function writeDoubleLE(e,t,n){return writeDouble(this,e,t,!0,n)},Buffer.prototype.writeDoubleBE=function writeDoubleBE(e,t,n){return writeDouble(this,e,t,!1,n)},Buffer.prototype.copy=function copy(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!Buffer.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function base64ToBytes(e){return r.toByteArray(function base64clean(e){if((e=function stringtrim(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(s,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function blitBuffer(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(28))},function(e,t){e.exports=function arrayMap(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++nf))return!1;var d=c.get(e);if(d&&c.get(t))return d==t;var m=-1,g=!0,y=n&s?new r:void 0;for(c.set(e,t),c.set(t,e);++m=t||n<0||y&&e-m>=p}function timerExpired(){var e=i();if(shouldInvoke(e))return trailingEdge(e);h=setTimeout(timerExpired,function remainingWait(e){var n=t-(e-d);return y?u(n,p-(e-m)):n}(e))}function trailingEdge(e){return h=void 0,b&&l?invokeFunc(e):(l=c=void 0,f)}function debounced(){var e=i(),n=shouldInvoke(e);if(l=arguments,c=this,d=e,n){if(void 0===h)return function leadingEdge(e){return m=e,h=setTimeout(timerExpired,t),g?invokeFunc(e):f}(d);if(y)return clearTimeout(h),h=setTimeout(timerExpired,t),invokeFunc(d)}return void 0===h&&(h=setTimeout(timerExpired,t)),f}return t=o(t)||0,r(n)&&(g=!!n.leading,p=(y="maxWait"in n)?s(o(n.maxWait)||0,t):p,b="trailing"in n?!!n.trailing:b),debounced.cancel=function cancel(){void 0!==h&&clearTimeout(h),m=0,l=d=c=h=void 0},debounced.flush=function flush(){return void 0===h?f:trailingEdge(i())},debounced}},function(e,t,n){var r=n(33),i=n(106),o=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function toNumber(e){if("number"==typeof e)return e;if(i(e))return o;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=u.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):s.test(e)?o:+e}},function(e,t){e.exports=function requireInRuntime(e,t){if(!(t in e))throw new Error('require() statements can be added only by editing a Markdown example file: require("'+t+'")');return e[t]}},function(e,t){e.exports=function evalInContext(e,t,n){return new Function("require","state","setState",e+n).bind(null,t)}},function(e,t,n){ +/*! react-buttons v1.3.1 | (c) 2018 Trend Micro Inc. | MIT | https://github.com/trendmicro-frontend/react-buttons */ +e.exports=function(e){var t={};function __webpack_require__(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,__webpack_require__),r.l=!0,r.exports}return __webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,n){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},__webpack_require__.n=function(e){var t=e&&e.__esModule?function getDefault(){return e.default}:function getModuleExports(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=6)}([function(e,t){e.exports=n(4)},function(e,t){e.exports=n(1)},function(e,t){e.exports={btn:"buttons---btn---2jZHN",active:"buttons---active---2-a32",focus:"buttons---focus---1kVJZ",hover:"buttons---hover---42FF2",disabled:"buttons---disabled---eCY9b","btn-default":"buttons---btn-default---1wWXD",btnDefault:"buttons---btn-default---1wWXD","btn-primary":"buttons---btn-primary---Wp1wb",btnPrimary:"buttons---btn-primary---Wp1wb","btn-danger":"buttons---btn-danger---1UUqU",btnDanger:"buttons---btn-danger---1UUqU","btn-border":"buttons---btn-border---1O58b",btnBorder:"buttons---btn-border---1O58b",open:"buttons---open---1ju75","dropdown-toggle":"buttons---dropdown-toggle---vMtjL",dropdownToggle:"buttons---dropdown-toggle---vMtjL","btn-link":"buttons---btn-link---1xwS4",btnLink:"buttons---btn-link---1xwS4","btn-lg":"buttons---btn-lg---2xtUV",btnLg:"buttons---btn-lg---2xtUV","btn-group-lg":"buttons---btn-group-lg---3C8An",btnGroupLg:"buttons---btn-group-lg---3C8An","btn-compact":"buttons---btn-compact---mXDAU",btnCompact:"buttons---btn-compact---mXDAU","btn-md":"buttons---btn-md---HRR_F",btnMd:"buttons---btn-md---HRR_F","btn-group-md":"buttons---btn-group-md---3FQVP",btnGroupMd:"buttons---btn-group-md---3FQVP","btn-sm":"buttons---btn-sm---3cNnY",btnSm:"buttons---btn-sm---3cNnY","btn-group-sm":"buttons---btn-group-sm---3_QLf",btnGroupSm:"buttons---btn-group-sm---3_QLf","btn-xs":"buttons---btn-xs---2eEDQ",btnXs:"buttons---btn-xs---2eEDQ","btn-group-xs":"buttons---btn-group-xs---1c4pb",btnGroupXs:"buttons---btn-group-xs---1c4pb","btn-block":"buttons---btn-block---1nSNV",btnBlock:"buttons---btn-block---1nSNV","btn-group":"buttons---btn-group---1jaDo",btnGroup:"buttons---btn-group---1jaDo","btn-group-vertical":"buttons---btn-group-vertical---3Lm1e",btnGroupVertical:"buttons---btn-group-vertical---3Lm1e","btn-toolbar":"buttons---btn-toolbar---2-GfJ",btnToolbar:"buttons---btn-toolbar---2-GfJ","input-group":"buttons---input-group---1T18I",inputGroup:"buttons---input-group---1T18I","btn-group-justified":"buttons---btn-group-justified---3qB9u",btnGroupJustified:"buttons---btn-group-justified---3qB9u","dropdown-menu":"buttons---dropdown-menu---1fkH0",dropdownMenu:"buttons---dropdown-menu---1fkH0"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i,o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["className","componentClass","type","btnSize","btnStyle","active","hover","focus","disabled","block","compact","iconOnly","dropdownToggle"]),_=(_defineProperty(e={},f.default.btn,!0),_defineProperty(e,f.default.btnLg,"large"===a||"lg"===a),_defineProperty(e,f.default.btnMd,"medium"===a||"md"===a),_defineProperty(e,f.default.btnSm,"small"===a||"sm"===a),_defineProperty(e,f.default.btnXs,"extra-small"===a||"xs"===a),_defineProperty(e,f.default.btnDefault,"default"===u),_defineProperty(e,f.default.btnPrimary,"primary"===u),_defineProperty(e,f.default.btnDanger,"danger"===u||"emphasis"===u),_defineProperty(e,f.default.btnBorder,"border"===u||"flat"===u),_defineProperty(e,f.default.btnLink,"link"===u),_defineProperty(e,f.default.btnBlock,m),_defineProperty(e,f.default.btnCompact,g||y),_defineProperty(e,f.default.hover,p),_defineProperty(e,f.default.active,l),_defineProperty(e,f.default.focus,h),_defineProperty(e,f.default.dropdownToggle,b),e);return c.default.createElement(r,o({},v,{type:i,className:(0,s.default)(n,_),disabled:d}))}}]),Button}(l.PureComponent),r.propTypes={componentClass:u.default.oneOfType([u.default.func,u.default.string]),type:u.default.oneOf(["button","reset","submit"]),btnSize:u.default.oneOf(p.btnSizes),btnStyle:u.default.oneOf(p.btnStyles),active:u.default.bool,hover:u.default.bool,focus:u.default.bool,disabled:u.default.bool,block:u.default.bool,compact:u.default.bool,iconOnly:u.default.bool,dropdownToggle:u.default.bool},r.defaultProps={componentClass:"button",type:"button",btnSize:"md",btnStyle:"default",active:!1,hover:!1,focus:!1,disabled:!1,block:!1,compact:!1,iconOnly:!1,dropdownToggle:!1},i);t.default=h},function(e,t){e.exports=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.btnSizes=["lg","md","sm","xs","large","medium","small","extra-small"],t.btnStyles=["default","primary","danger","emphasis","border","flat","link"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonToolbar=t.ButtonGroup=t.Button=void 0;var r=_interopRequireDefault(n(3)),i=_interopRequireDefault(n(7)),o=_interopRequireDefault(n(8));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.Button=r.default,t.ButtonGroup=i.default,t.ButtonToolbar=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["btnSize","btnStyle","vertical","dropdownOpen","children","className"]),g=(_defineProperty(t={},c.default.btnGroup,!0),_defineProperty(t,c.default.btnGroupLg,"large"===n||"lg"===n),_defineProperty(t,c.default.btnGroupMd,"medium"===n||"md"===n),_defineProperty(t,c.default.btnGroupSm,"small"===n||"sm"===n),_defineProperty(t,c.default.btnGroupXs,"extra-small"===n||"xs"===n),_defineProperty(t,c.default.btnGroupVertical,p),_defineProperty(t,c.default.open,f),t);return s.default.createElement("div",r({},m,{className:(0,i.default)(d,g)}),s.default.Children.map(h,(function(e){if(s.default.isValidElement(e)&&e.type===function getComponentType(e){return e?s.default.createElement(e,null).type:void 0}(u.default)){var t={};return l.btnSizes.indexOf(n)>=0&&(t.btnSize=n),l.btnStyles.indexOf(o)>=0&&(t.btnStyle=o),(0,a.cloneElement)(e,t)}return e})))};p.propTypes={btnSize:o.default.oneOf(l.btnSizes),btnStyle:o.default.oneOf(l.btnStyles),vertical:o.default.bool,dropdownOpen:o.default.bool},p.defaultProps={vertical:!1,dropdownOpen:!1},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className"]);return o.default.createElement("div",r({},n,{className:(0,i.default)(t,a.default.btnToolbar)}))}}])},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(17);function _templateObject3(){var e=_taggedTemplateLiteral(["\n display: inline-block;\n visibility: visible;\n animation: "," ","ms ease-in-out;\n transition: visibility ","ms ease-in-out;\n"]);return _templateObject3=function _templateObject3(){return e},e}function _templateObject2(){var e=_taggedTemplateLiteral(["",""]);return _templateObject2=function _templateObject2(){return e},e}function _templateObject(){var e=_taggedTemplateLiteral(["\n from {\n transform: scale(.25);\n opacity: 0;\n }\n to {\n transform: scale(1);\n opacity: 1;\n }\n"]);return _templateObject=function _templateObject(){return e},e}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var a=Object(o.c)(_templateObject()),s=o.b.div(_templateObject2(),(function(e){var t=e.delay,n=void 0===t?400:t;return Object(o.a)(_templateObject3(),a,n,n)}));s.propTypes={delay:i.a.number},t.a=s},function(e,t,n){e.exports=function(){"use strict";return function(e){function toSheet(t){if(t)try{e(t+"}")}catch(e){}}return function ruleSheet(t,n,r,i,o,a,s,u,l,c){switch(t){case 1:if(0===l&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===u)return n+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(r[0]+n),"";default:return n+(0===c?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(toSheet)}}}}()},function(e,t,n){"use strict";t.a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(17);function _templateObject3(){var e=_taggedTemplateLiteral(["\n display: inline-block;\n visibility: hidden;\n animation: "," ","ms ease-in-out;\n transition: visibility ","ms ease-in-out;\n"]);return _templateObject3=function _templateObject3(){return e},e}function _templateObject2(){var e=_taggedTemplateLiteral(["",""]);return _templateObject2=function _templateObject2(){return e},e}function _templateObject(){var e=_taggedTemplateLiteral(["\n from {\n transform: scale(1);\n opacity: 1;\n }\n to {\n transform: scale(.25);\n opacity: 0;\n }\n"]);return _templateObject=function _templateObject(){return e},e}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var a=Object(o.c)(_templateObject()),s=o.b.div(_templateObject2(),(function(e){var t=e.delay,n=void 0===t?400:t;return Object(o.a)(_templateObject3(),a,n,n)}));s.propTypes={delay:i.a.number},t.a=s},function(e,t,n){"use strict";function _templateObject(){var e=function _taggedTemplateLiteral(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n margin-bottom: 12px;\n"]);return _templateObject=function _templateObject(){return e},e}var r=n(17).b.div(_templateObject());t.a=r},function(e,t,n){"use strict";function _templateObject(){var e=function _taggedTemplateLiteral(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n display: block;\n width: 100%;\n height: 32px;\n padding: 5px 12px;\n font-size: 13px;\n color: #222222;\n background-color: #ffffff;\n background-image: none;\n border: 1px solid #cccccc;\n border-radius: 3px;\n"]);return _templateObject=function _templateObject(){return e},e}var r=n(17).b.input(_templateObject());t.a=r},function(e,t,n){"use strict";function _templateObject(){var e=function _taggedTemplateLiteral(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n display: inline-block;\n margin-bottom: .5rem;\n"]);return _templateObject=function _templateObject(){return e},e}var r=n(17).b.label(_templateObject());t.a=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_interopRequireDefault(n(19)),i=_interopRequireDefault(n(445)),o=_interopRequireDefault(n(446));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=r.default.createPortal?i.default:o.default;t.default=a},function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(19),a=n.n(o);t.a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return new Promise((function(n,r){var o=null;t||((o=document.createElement("div")).setAttribute("data-portal",""),document&&document.body&&document.body.appendChild(o)),a.a.render(i.a.createElement(e,{onClose:function onClose(){setTimeout((function(){t?a.a.unmountComponentAtNode(t):o&&(a.a.unmountComponentAtNode(o),document&&document.body&&document.body.removeChild(o),o=null),n()}),0)}}),t||o)}))}},function(e,t,n){"use strict";function symbolObservablePonyfill(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return symbolObservablePonyfill}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=!1,n=[],r=void 0,i=void 0,o=function setSelector(){i.selector=n.join(",\n")},a=f(o);return{onProcessRule:function onProcessRule(o,u){if(u&&u!==r&&"style"===o.type&&p(o,u,e)){i||(r=o.options.jss.createStyleSheet(null,s),i=r.addRule("reset",l(e.reset)),r.attach());var c=o.selector;-1===n.indexOf(c)&&(n.push(c),t=a())}},onProcessSheet:function onProcessSheet(){!t&&n.length&&o()}}};var o=_interopRequireDefault(n(474)),a=_interopRequireDefault(n(475));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var s={meta:"jss-isolate",index:-1/0,link:!0},u={inherited:o.default,all:a.default},l=function getStyle(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"inherited";if("string"==typeof e)return u[e];if("object"===(void 0===e?"undefined":i(e))){if(Array.isArray(e)){var t=e[0],n=e[1];return r({},u[t],n)}return r({},o.default,e)}return o.default},c={keyframes:!0,conditional:!0},p=function shouldIsolate(e,t,n){var r=e.options.parent;if(r&&c[r.type])return!1;var i=null==n.isolate||n.isolate;return null!=t.options.isolate&&(i=t.options.isolate),null!=e.style.isolate&&(i=e.style.isolate,delete e.style.isolate),"string"==typeof i?i===e.key:i},f=function createDebounced(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Date.now();return function(){var r=Date.now();return!(r-n0&&void 0!==arguments[0]?arguments[0]:{});return{onProcessStyle:function onProcessStyle(t,n){if("style"!==n.type)return t;for(var r in t)t[r]=iterate(r,t[r],e);return t},onChangeValue:function onChangeValue(t,n){return iterate(n,t,e)}}};var i=addCamelCasedVersion(function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(477)).default);function iterate(e,t,n){if(!t)return t;var o=t,a=void 0===t?"undefined":r(t);switch("object"===a&&Array.isArray(t)&&(a="array"),a){case"object":if("fallbacks"===e){for(var s in t)t[s]=iterate(s,t[s],n);break}for(var u in t)t[u]=iterate(e+"-"+u,t[u],n);break;case"array":for(var l=0;l-1)return registerClass(e,t.split(" "));var i=e.options.parent;if("$"===t[0]){var o=i.getRule(t.substr(1));return o?o===e?((0,r.default)(!1,"[JSS] Cyclic composition detected. \r\n%s",e),!1):(i.classes[e.key]+=" "+i.classes[o.key],!0):((0,r.default)(!1,"[JSS] Referenced rule is not defined. \r\n%s",e),!1)}return e.options.parent.classes[e.key]+=" "+t,!0}(t,e.composes),delete e.composes,e):e}}};var r=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(44))},function(e,t,n){(function(t){e.exports=function(){var e=/[\\\'\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'",'"':'\\"',"\\":"\\\\"};function escapeChar(e){return n[e]||"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}var r={};"break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield".split(" ").map((function(e){r[e]=!0}));var i=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function isValidVariableName(e){return!r[e]&&i.test(e)}function toGlobalVariable(e){return"Function("+stringify("return this;")+")()"}function toPath(e){for(var t="",n=0;n-1)return void f.push(u.slice(),p[r]);c.push(e),p.push(u.slice())}if(!(u.length>i||s--<=0))return t(e,n,next)}:function(e,t){if(!(l.indexOf(e)>-1||u.length>i||s--<=0))return l.push(e),e=t(e,n,next),l.pop(),e};if("function"==typeof t){var d=h;h=function(e,n){return d(e,(function(e,r,i){return t(e,r,(function(e){return n(e,r,i)}))}))}}var m=h(e,stringify);if(f.length){for(var g=n?"\n":"",y=n?" = ":"=",b=";"+g,v=(d=n?"(function () {":"(function(){",["var x"+y+m]),_=0;_",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},a=/^[\da-fA-F]+$/,s=/^\d+$/,u="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};function createCommonjsModule(e,t){return e(t={exports:{}},t.exports),t.exports}var l=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function injectDynamicImport(e){var t=e.tokTypes;function parseDynamicImport(){var e=this.startNode();return this.next(),this.type!==t.parenL&&this.unexpected(),this.finishNode(e,n)}function peekNext(){return this.input[this.pos]}return t._import.startsExpr=!0,e.plugins.dynamicImport=function(){return function dynamicImportPlugin(e){e.extend("parseStatement",(function(e){return function parseStatement(){var n=this.startNode();if(this.type===t._import&&peekNext.call(this)===t.parenL.label){var r=this.parseExpression();return this.parseExpressionStatement(n,r)}for(var i=arguments.length,o=Array(i),a=0;at)return{line:n+1,column:t-o,char:n};o=a}throw new Error("Could not determine location of character")}function repeat(e,t){for(var n="";t--;)n+=e;return n}function getSnippet(e,t,n){void 0===n&&(n=1);var r=Math.max(t.line-5,0),i=t.line,o=String(i).length,a=e.split("\n").slice(r,i),s=a[a.length-1].slice(0,t.column).replace(/\t/g," ").length,u=a.map((function(e,t){return function pad(e,t){var n=String(e);return n+repeat(" ",t-n.length)}(t+r+1,o)+" : "+e.replace(/\t/g," ")})).join("\n");return u+="\n"+repeat(" ",o+3+s)+repeat("^",n)}"do if in for let new try var case else enum eval null this true void with await break catch class const false super throw while yield delete export import public return static switch typeof default extends finally package private continue debugger function arguments interface protected implements instanceof".split(" ").forEach((function(e){return h[e]=!0})),Scope.prototype={addDeclaration:function addDeclaration(e,t){for(var n=0,r=extractNames(e);n1&&(c=t(o),s.push((function(t,n,s){e.prependRight(i.start,(a?"":n+"var ")+c+" = "),e.overwrite(i.start,r=i.start+1,o),e.appendLeft(r,s),e.overwrite(i.start,r=i.start+1,(a?"":n+"var ")+c+" = "+o+s),e.move(i.start,r,t)}))),destructureObjectPattern(e,t,n,i,c,a,s);break;case"ArrayPattern":if(e.remove(r,r=i.start),i.elements.filter(Boolean).length>1){var p=t(o);s.push((function(t,n,s){e.prependRight(i.start,(a?"":n+"var ")+p+" = "),e.overwrite(i.start,r=i.start+1,o,{contentOnly:!0}),e.appendLeft(r,s),e.move(i.start,r,t)})),i.elements.forEach((function(i,o){i&&("RestElement"===i.type?handleProperty(e,t,n,r,i.argument,p+".slice("+o+")",a,s):handleProperty(e,t,n,r,i,p+"["+o+"]",a,s),r=i.end)}))}else{var f=findIndex(i.elements,Boolean),h=i.elements[f];"RestElement"===h.type?handleProperty(e,t,n,r,h.argument,o+".slice("+f+")",a,s):handleProperty(e,t,n,r,h,o+"["+f+"]",a,s),r=h.end}e.remove(r,i.end);break;default:throw new Error("Unexpected node type in destructuring ("+i.type+")")}}var g=function(e){function BlockStatement(){e.apply(this,arguments)}return e&&(BlockStatement.__proto__=e),BlockStatement.prototype=Object.create(e&&e.prototype),BlockStatement.prototype.constructor=BlockStatement,BlockStatement.prototype.createScope=function createScope(){var e=this;this.parentIsFunction=/Function/.test(this.parent.type),this.isFunctionBlock=this.parentIsFunction||"Root"===this.parent.type,this.scope=new Scope({block:!this.isFunctionBlock,parent:this.parent.findScope(!1),declare:function(t){return e.createdDeclarations.push(t)}}),this.parentIsFunction&&this.parent.params.forEach((function(t){e.scope.addDeclaration(t,"param")}))},BlockStatement.prototype.initialise=function initialise(e){this.thisAlias=null,this.argumentsAlias=null,this.defaultParameters=[],this.createdDeclarations=[],this.scope||this.createScope(),this.body.forEach((function(t){return t.initialise(e)})),this.scope.consolidate()},BlockStatement.prototype.findLexicalBoundary=function findLexicalBoundary(){return"Program"===this.type?this:/^Function/.test(this.parent.type)?this:this.parent.findLexicalBoundary()},BlockStatement.prototype.findScope=function findScope(e){return e&&!this.isFunctionBlock?this.parent.findScope(e):this.scope},BlockStatement.prototype.getArgumentsAlias=function getArgumentsAlias(){return this.argumentsAlias||(this.argumentsAlias=this.scope.createIdentifier("arguments")),this.argumentsAlias},BlockStatement.prototype.getArgumentsArrayAlias=function getArgumentsArrayAlias(){return this.argumentsArrayAlias||(this.argumentsArrayAlias=this.scope.createIdentifier("argsArray")),this.argumentsArrayAlias},BlockStatement.prototype.getThisAlias=function getThisAlias(){return this.thisAlias||(this.thisAlias=this.scope.createIdentifier("this")),this.thisAlias},BlockStatement.prototype.getIndentation=function getIndentation(){if(void 0===this.indentation){for(var e=this.program.magicString.original,t=this.synthetic||!this.body.length,n=t?this.start:this.body[0].start;n&&"\n"!==e[n];)n-=1;for(this.indentation="";;){var r=e[n+=1];if(" "!==r&&"\t"!==r)break;this.indentation+=r}for(var i=this.program.magicString.getIndentString(),o=this.parent;o;)"constructor"!==o.kind||o.parent.parent.superClass||(this.indentation=this.indentation.replace(i,"")),o=o.parent;t&&(this.indentation+=i)}return this.indentation},BlockStatement.prototype.transpile=function transpile(t,n){var r,i=this,o=this.getIndentation(),a=[];if(this.argumentsAlias&&a.push((function(e,n,r){var o=n+"var "+i.argumentsAlias+" = arguments"+r;t.appendLeft(e,o)})),this.thisAlias&&a.push((function(e,n,r){var o=n+"var "+i.thisAlias+" = this"+r;t.appendLeft(e,o)})),this.argumentsArrayAlias&&a.push((function(e,n,r){var a=i.scope.createIdentifier("i"),s=n+"var "+a+" = arguments.length, "+i.argumentsArrayAlias+" = Array("+a+");\n"+o+"while ( "+a+"-- ) "+i.argumentsArrayAlias+"["+a+"] = arguments["+a+"]"+r;t.appendLeft(e,s)})),/Function/.test(this.parent.type)?this.transpileParameters(this.parent.params,t,n,o,a):"CatchClause"===this.parent.type&&this.transpileParameters([this.parent.param],t,n,o,a),n.letConst&&this.isFunctionBlock&&this.transpileBlockScopedIdentifiers(t),e.prototype.transpile.call(this,t,n),this.createdDeclarations.length&&a.push((function(e,n,r){var o=n+"var "+i.createdDeclarations.join(", ")+r;t.appendLeft(e,o)})),this.synthetic)if("ArrowFunctionExpression"===this.parent.type){var s=this.body[0];a.length?(t.appendLeft(this.start,"{").prependRight(this.end,this.parent.getIndentation()+"}"),t.prependRight(s.start,"\n"+o+"return "),t.appendLeft(s.end,";\n")):n.arrow&&(t.prependRight(s.start,"{ return "),t.appendLeft(s.end,"; }"))}else a.length&&t.prependRight(this.start,"{").appendLeft(this.end,"}");r=function isUseStrict(e){return!!e&&("ExpressionStatement"===e.type&&("Literal"===e.expression.type&&"use strict"===e.expression.value))}(this.body[0])?this.body[0].end:this.synthetic||"Root"===this.parent.type?this.start:this.start+1;var u="\n"+o,l=";";a.forEach((function(e,t){t===a.length-1&&(l=";\n"),e(r,u,l)}))},BlockStatement.prototype.transpileParameters=function transpileParameters(e,t,n,r,i){var o=this;e.forEach((function(a){if("AssignmentPattern"===a.type&&"Identifier"===a.left.type)n.defaultParameter&&i.push((function(e,n,r){var i=n+"if ( "+a.left.name+" === void 0 ) "+a.left.name;t.prependRight(a.left.end,i).move(a.left.end,a.right.end,e).appendLeft(a.right.end,r)}));else if("RestElement"===a.type)n.spreadRest&&i.push((function(n,i,s){var u=e[e.length-2];if(u)t.remove(u?u.end:a.start,a.end);else{for(var l=a.start,c=a.end;/\s/.test(t.original[l-1]);)l-=1;for(;/\s/.test(t.original[c]);)c+=1;t.remove(l,c)}var p=a.argument.name,f=o.scope.createIdentifier("len"),h=e.length-1;h?t.prependRight(n,i+"var "+p+" = [], "+f+" = arguments.length - "+h+";\n"+r+"while ( "+f+"-- > 0 ) "+p+"[ "+f+" ] = arguments[ "+f+" + "+h+" ]"+s):t.prependRight(n,i+"var "+p+" = [], "+f+" = arguments.length;\n"+r+"while ( "+f+"-- ) "+p+"[ "+f+" ] = arguments[ "+f+" ]"+s)}));else if("Identifier"!==a.type&&n.parameterDestructuring){var s=o.scope.createIdentifier("ref");destructure(t,(function(e){return o.scope.createIdentifier(e)}),(function(e){var t=e.name;return o.scope.resolveName(t)}),a,s,!1,i),t.prependRight(a.start,s)}}))},BlockStatement.prototype.transpileBlockScopedIdentifiers=function transpileBlockScopedIdentifiers(e){var t=this;Object.keys(this.scope.blockScopedDeclarations).forEach((function(n){for(var r=0,i=t.scope.blockScopedDeclarations[n];r0},ArrowFunctionExpression}(p);function checkConst(e,t){var n=t.findDeclaration(e.name);if(n&&"const"===n.kind)throw new d(e.name+" is read-only",e)}var v=function(e){function AssignmentExpression(){e.apply(this,arguments)}return e&&(AssignmentExpression.__proto__=e),AssignmentExpression.prototype=Object.create(e&&e.prototype),AssignmentExpression.prototype.constructor=AssignmentExpression,AssignmentExpression.prototype.initialise=function initialise(t){if("Identifier"===this.left.type){var n=this.findScope(!1).findDeclaration(this.left.name),r=n&&n.node.ancestor(3);r&&"ForStatement"===r.type&&r.body.contains(this)&&(r.reassigned[this.left.name]=!0)}e.prototype.initialise.call(this,t)},AssignmentExpression.prototype.transpile=function transpile(t,n){"Identifier"===this.left.type&&checkConst(this.left,this.findScope(!1)),"**="===this.operator&&n.exponentiation?this.transpileExponentiation(t,n):/Pattern/.test(this.left.type)&&n.destructuring&&this.transpileDestructuring(t,n),e.prototype.transpile.call(this,t,n)},AssignmentExpression.prototype.transpileDestructuring=function transpileDestructuring(e){var t=this,n=this.findScope(!0),r=this.findScope(!1),i=n.createDeclaration("assign");e.appendRight(this.left.end,"("+i),e.appendLeft(this.right.end,", ");var o=[];destructure(e,(function(e){return n.createDeclaration(e)}),(function(e){var t=r.resolveName(e.name);return checkConst(e,r),t}),this.left,i,!0,o);var a=", ";o.forEach((function(e,n){n===o.length-1&&(a=""),e(t.end,"",a)})),"ExpressionStatement"===this.unparenthesizedParent().type?e.prependRight(this.end,")"):e.appendRight(this.end,", "+i+")")},AssignmentExpression.prototype.transpileExponentiation=function transpileExponentiation(e){for(var t,n=this.findScope(!1),r=this.left.end;"*"!==e.original[r];)r+=1;e.remove(r,r+2);var i=this.left.unparenthesize();if("Identifier"===i.type)t=n.resolveName(i.name);else if("MemberExpression"===i.type){var o,a,s=!1,u=!1,l=this.findNearest(/(?:Statement|Declaration)$/),c=l.getIndentation();"Identifier"===i.property.type?a=i.computed?n.resolveName(i.property.name):i.property.name:(a=n.createDeclaration("property"),u=!0),"Identifier"===i.object.type?o=n.resolveName(i.object.name):(o=n.createDeclaration("object"),s=!0),i.start===l.start?s&&u?(e.prependRight(l.start,o+" = "),e.overwrite(i.object.end,i.property.start,";\n"+c+a+" = "),e.overwrite(i.property.end,i.end,";\n"+c+o+"["+a+"]")):s?(e.prependRight(l.start,o+" = "),e.appendLeft(i.object.end,";\n"+c),e.appendLeft(i.object.end,o)):u&&(e.prependRight(i.property.start,a+" = "),e.appendLeft(i.property.end,";\n"+c),e.move(i.property.start,i.property.end,this.start),e.appendLeft(i.object.end,"["+a+"]"),e.remove(i.object.end,i.property.start),e.remove(i.property.end,i.end)):(s&&u?(e.prependRight(i.start,"( "+o+" = "),e.overwrite(i.object.end,i.property.start,", "+a+" = "),e.overwrite(i.property.end,i.end,", "+o+"["+a+"]")):s?(e.prependRight(i.start,"( "+o+" = "),e.appendLeft(i.object.end,", "+o)):u&&(e.prependRight(i.property.start,"( "+a+" = "),e.appendLeft(i.property.end,", "),e.move(i.property.start,i.property.end,i.start),e.overwrite(i.object.end,i.property.start,"["+a+"]"),e.remove(i.property.end,i.end)),u&&e.appendLeft(this.end," )")),t=o+(i.computed||u?"["+a+"]":"."+a)}e.prependRight(this.right.start,"Math.pow( "+t+", "),e.appendLeft(this.right.end," )")},AssignmentExpression}(p),_=function(e){function BinaryExpression(){e.apply(this,arguments)}return e&&(BinaryExpression.__proto__=e),BinaryExpression.prototype=Object.create(e&&e.prototype),BinaryExpression.prototype.constructor=BinaryExpression,BinaryExpression.prototype.transpile=function transpile(t,n){"**"===this.operator&&n.exponentiation&&(t.prependRight(this.start,"Math.pow( "),t.overwrite(this.left.end,this.right.start,", "),t.appendLeft(this.end," )")),e.prototype.transpile.call(this,t,n)},BinaryExpression}(p),x=/(?:For(?:In|Of)?|While)Statement/,w=function(e){function BreakStatement(){e.apply(this,arguments)}return e&&(BreakStatement.__proto__=e),BreakStatement.prototype=Object.create(e&&e.prototype),BreakStatement.prototype.constructor=BreakStatement,BreakStatement.prototype.initialise=function initialise(){var e=this.findNearest(x),t=this.findNearest("SwitchCase");e&&(!t||e.depth>t.depth)&&(e.canBreak=!0,this.loop=e)},BreakStatement.prototype.transpile=function transpile(e){if(this.loop&&this.loop.shouldRewriteAsFunction){if(this.label)throw new d("Labels are not currently supported in a loop with locally-scoped variables",this);e.overwrite(this.start,this.start+5,"return 'break'")}},BreakStatement}(p),k=function(e){function CallExpression(){e.apply(this,arguments)}return e&&(CallExpression.__proto__=e),CallExpression.prototype=Object.create(e&&e.prototype),CallExpression.prototype.constructor=CallExpression,CallExpression.prototype.initialise=function initialise(t){if(t.spreadRest&&this.arguments.length>1)for(var n=this.findLexicalBoundary(),r=this.arguments.length;r--;){var i=this.arguments[r];"SpreadElement"===i.type&&isArguments(i.argument)&&(this.argumentsArrayAlias=n.getArgumentsArrayAlias())}e.prototype.initialise.call(this,t)},CallExpression.prototype.transpile=function transpile(t,n){if(n.spreadRest&&this.arguments.length){var r,i=!1,o=this.arguments[0];if(1===this.arguments.length?"SpreadElement"===o.type&&(t.remove(o.start,o.argument.start),i=!0):i=spread(t,this.arguments,o.start,this.argumentsArrayAlias),i){var a=null;if("Super"===this.callee.type?a=this.callee:"MemberExpression"===this.callee.type&&"Super"===this.callee.object.type&&(a=this.callee.object),a||"MemberExpression"!==this.callee.type)r="void 0";else if("Identifier"===this.callee.object.type)r=this.callee.object.name;else{r=this.findScope(!0).createDeclaration("ref");var s=this.callee.object;t.prependRight(s.start,"("+r+" = "),t.appendLeft(s.end,")")}t.appendLeft(this.callee.end,".apply"),a?(a.noCall=!0,this.arguments.length>1&&("SpreadElement"!==o.type&&t.prependRight(o.start,"[ "),t.appendLeft(this.arguments[this.arguments.length-1].end," )"))):1===this.arguments.length?t.prependRight(o.start,r+", "):("SpreadElement"===o.type?t.appendLeft(o.start,r+", "):t.appendLeft(o.start,r+", [ "),t.appendLeft(this.arguments[this.arguments.length-1].end," )"))}}n.trailingFunctionCommas&&this.arguments.length&&removeTrailingComma(t,this.arguments[this.arguments.length-1].end),e.prototype.transpile.call(this,t,n)},CallExpression}(p),S=function(e){function ClassBody(){e.apply(this,arguments)}return e&&(ClassBody.__proto__=e),ClassBody.prototype=Object.create(e&&e.prototype),ClassBody.prototype.constructor=ClassBody,ClassBody.prototype.transpile=function transpile(t,n,r,i){var o=this;if(n.classes){var a=this.parent.name,s=t.getIndentString(),u=this.getIndentation()+(r?s:""),l=u+s,c=findIndex(this.body,(function(e){return"constructor"===e.kind})),p=this.body[c],f="",d="";if(this.body.length?(t.remove(this.start,this.body[0].start),t.remove(this.body[this.body.length-1].end,this.end)):t.remove(this.start,this.end),p){p.value.body.isConstructorBody=!0;var m=this.body[c-1],g=this.body[c+1];c>0&&(t.remove(m.end,p.start),t.move(p.start,g?g.start:this.end-1,this.body[0].start)),r||t.appendLeft(p.end,";")}var y=!1!==this.program.options.namedFunctionExpressions,b=y||this.parent.superClass||"ClassDeclaration"!==this.parent.type;if(this.parent.superClass){var v="if ( "+i+" ) "+a+".__proto__ = "+i+";\n"+u+a+".prototype = Object.create( "+i+" && "+i+".prototype );\n"+u+a+".prototype.constructor = "+a+";";if(p)f+="\n\n"+u+v;else f+=(v="function "+a+" () {"+(i?"\n"+l+i+".apply(this, arguments);\n"+u+"}":"}")+(r?"":";")+(this.body.length?"\n\n"+u:"")+v)+"\n\n"+u}else if(!p){var _="function "+(b?a+" ":"")+"() {}";"ClassDeclaration"===this.parent.type&&(_+=";"),this.body.length&&(_+="\n\n"+u),f+=_}var x,w,k=this.findScope(!1),S=[],E=[];if(this.body.forEach((function(e,n){if("constructor"!==e.kind){if(e.static){var r=" "==t.original[e.start+6]?7:6;t.remove(e.start,e.start+r)}var i,s="method"!==e.kind,l=e.key.name;(h[l]||e.value.body.scope.references[l])&&(l=k.createIdentifier(l));var p=!1;if(e.computed||"Literal"!==e.key.type||(p=!0,e.computed=!0),s){if(e.computed)throw new Error("Computed accessor properties are not currently supported");t.remove(e.start,e.key.start),e.static?(~E.indexOf(e.key.name)||E.push(e.key.name),w||(w=k.createIdentifier("staticAccessors")),i=""+w):(~S.indexOf(e.key.name)||S.push(e.key.name),x||(x=k.createIdentifier("prototypeAccessors")),i=""+x)}else i=e.static?""+a:a+".prototype";e.computed||(i+="."),(c>0&&n===c+1||0===n&&c===o.body.length-1)&&(i="\n\n"+u+i);var f=e.key.end;if(e.computed)if(p)t.prependRight(e.key.start,"["),t.appendLeft(e.key.end,"]");else{for(;"]"!==t.original[f];)f+=1;f+=1}var d=e.computed||s||!y?"":l+" ",m=(s?"."+e.kind:"")+" = function"+(e.value.generator?"* ":" ")+d;t.remove(f,e.value.start),t.prependRight(e.value.start,m),t.appendLeft(e.end,";"),e.value.generator&&t.remove(e.start,e.key.start),t.prependRight(e.start,i)}else{var g=b?" "+a:"";t.overwrite(e.key.start,e.key.end,"function"+g)}})),S.length||E.length){var C=[],P=[];S.length&&(C.push("var "+x+" = { "+S.map((function(e){return e+": { configurable: true }"})).join(",")+" };"),P.push("Object.defineProperties( "+a+".prototype, "+x+" );")),E.length&&(C.push("var "+w+" = { "+E.map((function(e){return e+": { configurable: true }"})).join(",")+" };"),P.push("Object.defineProperties( "+a+", "+w+" );")),p&&(f+="\n\n"+u),f+=C.join("\n"+u),p||(f+="\n\n"+u),d+="\n\n"+u+P.join("\n"+u)}p?t.appendLeft(p.end,f):t.prependRight(this.start,f),t.appendLeft(this.end,d)}e.prototype.transpile.call(this,t,n)},ClassBody}(p);var E=function(e){function ClassDeclaration(){e.apply(this,arguments)}return e&&(ClassDeclaration.__proto__=e),ClassDeclaration.prototype=Object.create(e&&e.prototype),ClassDeclaration.prototype.constructor=ClassDeclaration,ClassDeclaration.prototype.initialise=function initialise(t){this.id?(this.name=this.id.name,this.findScope(!0).addDeclaration(this.id,"class")):this.name=this.findScope(!0).createIdentifier("defaultExport"),e.prototype.initialise.call(this,t)},ClassDeclaration.prototype.transpile=function transpile(e,t){if(t.classes){this.superClass||function deindent(e,t){var n=e.start,r=e.end,i=t.getIndentString(),o=i.length,a=n-o;e.program.indentExclusions[a]||t.original.slice(a,n)!==i||t.remove(a,n);for(var s,u=new RegExp(i+"\\S","g"),l=t.original.slice(n,r);s=u.exec(l);){var c=n+s.index;e.program.indentExclusions[c]||t.remove(c,c+o)}}(this.body,e);var n=this.superClass&&(this.superClass.name||"superclass"),r=this.getIndentation(),i=r+e.getIndentString(),o="ExportDefaultDeclaration"===this.parent.type;o&&e.remove(this.parent.start,this.start);var a=this.start;this.id?(e.overwrite(a,this.id.start,"var "),a=this.id.end):e.prependLeft(a,"var "+this.name),this.superClass?this.superClass.end===this.body.start?(e.remove(a,this.superClass.start),e.appendLeft(a," = (function ("+n+") {\n"+i)):(e.overwrite(a,this.superClass.start," = "),e.overwrite(this.superClass.end,this.body.start,"(function ("+n+") {\n"+i)):a===this.body.start?e.appendLeft(a," = "):e.overwrite(a,this.body.start," = "),this.body.transpile(e,t,!!this.superClass,n);var s=o?"\n\n"+r+"export default "+this.name+";":"";this.superClass?(e.appendLeft(this.end,"\n\n"+i+"return "+this.name+";\n"+r+"}("),e.move(this.superClass.start,this.superClass.end,this.end),e.prependRight(this.end,"));"+s)):s&&e.prependRight(this.end,s)}else this.body.transpile(e,t,!1,null)},ClassDeclaration}(p),C=function(e){function ClassExpression(){e.apply(this,arguments)}return e&&(ClassExpression.__proto__=e),ClassExpression.prototype=Object.create(e&&e.prototype),ClassExpression.prototype.constructor=ClassExpression,ClassExpression.prototype.initialise=function initialise(t){this.name=(this.id?this.id.name:"VariableDeclarator"===this.parent.type?this.parent.id.name:"AssignmentExpression"!==this.parent.type?null:"Identifier"===this.parent.left.type?this.parent.left.name:"MemberExpression"===this.parent.left.type?this.parent.left.property.name:null)||this.findScope(!0).createIdentifier("anonymous"),e.prototype.initialise.call(this,t)},ClassExpression.prototype.transpile=function transpile(e,t){if(t.classes){var n=this.superClass&&(this.superClass.name||"superclass"),r=this.getIndentation(),i=r+e.getIndentString();this.superClass?(e.remove(this.start,this.superClass.start),e.remove(this.superClass.end,this.body.start),e.appendLeft(this.start,"(function ("+n+") {\n"+i)):e.overwrite(this.start,this.body.start,"(function () {\n"+i),this.body.transpile(e,t,!0,n);var o="\n\n"+i+"return "+this.name+";\n"+r+"}(";this.superClass?(e.appendLeft(this.end,o),e.move(this.superClass.start,this.superClass.end,this.end),e.prependRight(this.end,"))")):e.appendLeft(this.end,"\n\n"+i+"return "+this.name+";\n"+r+"}())")}else this.body.transpile(e,t,!1)},ClassExpression}(p),P=function(e){function ContinueStatement(){e.apply(this,arguments)}return e&&(ContinueStatement.__proto__=e),ContinueStatement.prototype=Object.create(e&&e.prototype),ContinueStatement.prototype.constructor=ContinueStatement,ContinueStatement.prototype.transpile=function transpile(e){if(this.findNearest(x).shouldRewriteAsFunction){if(this.label)throw new d("Labels are not currently supported in a loop with locally-scoped variables",this);e.overwrite(this.start,this.start+8,"return")}},ContinueStatement}(p),O=function(e){function ExportDefaultDeclaration(){e.apply(this,arguments)}return e&&(ExportDefaultDeclaration.__proto__=e),ExportDefaultDeclaration.prototype=Object.create(e&&e.prototype),ExportDefaultDeclaration.prototype.constructor=ExportDefaultDeclaration,ExportDefaultDeclaration.prototype.initialise=function initialise(t){if(t.moduleExport)throw new d("export is not supported",this);e.prototype.initialise.call(this,t)},ExportDefaultDeclaration}(p),T=function(e){function ExportNamedDeclaration(){e.apply(this,arguments)}return e&&(ExportNamedDeclaration.__proto__=e),ExportNamedDeclaration.prototype=Object.create(e&&e.prototype),ExportNamedDeclaration.prototype.constructor=ExportNamedDeclaration,ExportNamedDeclaration.prototype.initialise=function initialise(t){if(t.moduleExport)throw new d("export is not supported",this);e.prototype.initialise.call(this,t)},ExportNamedDeclaration}(p),R=function(e){function LoopStatement(){e.apply(this,arguments)}return e&&(LoopStatement.__proto__=e),LoopStatement.prototype=Object.create(e&&e.prototype),LoopStatement.prototype.constructor=LoopStatement,LoopStatement.prototype.findScope=function findScope(e){return e||!this.createdScope?this.parent.findScope(e):this.body.scope},LoopStatement.prototype.initialise=function initialise(t){if(this.body.createScope(),this.createdScope=!0,this.reassigned=Object.create(null),this.aliases=Object.create(null),e.prototype.initialise.call(this,t),t.letConst)for(var n=Object.keys(this.body.scope.declarations),r=n.length;r--;){for(var i=n[r],o=this.body.scope.declarations[i],a=o.instances.length;a--;){var s=o.instances[a].findNearest(/Function/);if(s&&s.depth>this.depth){this.shouldRewriteAsFunction=!0;break}}if(this.shouldRewriteAsFunction)break}},LoopStatement.prototype.transpile=function transpile(t,n){var r="ForOfStatement"!=this.type&&("BlockStatement"!==this.body.type||"BlockStatement"===this.body.type&&this.body.synthetic);if(this.shouldRewriteAsFunction){var i=this.getIndentation(),o=i+t.getIndentString(),a=this.args?" "+this.args.join(", ")+" ":"",s=this.params?" "+this.params.join(", ")+" ":"",u=this.findScope(!0),l=u.createIdentifier("loop"),c="var "+l+" = function ("+s+") "+(this.body.synthetic?"{\n"+i+t.getIndentString():""),p=(this.body.synthetic?"\n"+i+"}":"")+";\n\n"+i;if(t.prependRight(this.body.start,c),t.appendLeft(this.body.end,p),t.move(this.start,this.body.start,this.body.end),this.canBreak||this.canReturn){var f=u.createIdentifier("returned"),h="{\n"+o+"var "+f+" = "+l+"("+a+");\n";this.canBreak&&(h+="\n"+o+"if ( "+f+" === 'break' ) break;"),this.canReturn&&(h+="\n"+o+"if ( "+f+" ) return "+f+".v;"),h+="\n"+i+"}",t.prependRight(this.body.end,h)}else{var d=l+"("+a+");";"DoWhileStatement"===this.type?t.overwrite(this.start,this.body.start,"do {\n"+o+d+"\n"+i+"}"):t.prependRight(this.body.end,d)}}else r&&(t.appendLeft(this.body.start,"{ "),t.prependRight(this.body.end," }"));e.prototype.transpile.call(this,t,n)},LoopStatement}(p),j=function(e){function ForStatement(){e.apply(this,arguments)}return e&&(ForStatement.__proto__=e),ForStatement.prototype=Object.create(e&&e.prototype),ForStatement.prototype.constructor=ForStatement,ForStatement.prototype.findScope=function findScope(e){return e||!this.createdScope?this.parent.findScope(e):this.body.scope},ForStatement.prototype.transpile=function transpile(t,n){var r=this,i=this.getIndentation()+t.getIndentString();if(this.shouldRewriteAsFunction){var o="VariableDeclaration"===this.init.type?this.init.declarations.map((function(e){return extractNames(e.id)})):[],a=this.aliases;this.args=o.map((function(e){return e in r.aliases?r.aliases[e].outer:e})),this.params=o.map((function(e){return e in r.aliases?r.aliases[e].inner:e}));var s=Object.keys(this.reassigned).map((function(e){return a[e].outer+" = "+a[e].inner+";"}));if(s.length)if(this.body.synthetic)t.appendLeft(this.body.body[0].end,"; "+s.join(" "));else{var u=this.body.body[this.body.body.length-1];t.appendLeft(u.end,"\n\n"+i+s.join("\n"+i))}}e.prototype.transpile.call(this,t,n)},ForStatement}(R),A=function(e){function ForInStatement(){e.apply(this,arguments)}return e&&(ForInStatement.__proto__=e),ForInStatement.prototype=Object.create(e&&e.prototype),ForInStatement.prototype.constructor=ForInStatement,ForInStatement.prototype.findScope=function findScope(e){return e||!this.createdScope?this.parent.findScope(e):this.body.scope},ForInStatement.prototype.transpile=function transpile(t,n){var r=this,i="VariableDeclaration"===this.left.type;if(this.shouldRewriteAsFunction){var o=i?this.left.declarations.map((function(e){return extractNames(e.id)})):[];this.args=o.map((function(e){return e in r.aliases?r.aliases[e].outer:e})),this.params=o.map((function(e){return e in r.aliases?r.aliases[e].inner:e}))}e.prototype.transpile.call(this,t,n);var a=i?this.left.declarations[0].id:this.left;"Identifier"!==a.type&&this.destructurePattern(t,a,i)},ForInStatement.prototype.destructurePattern=function destructurePattern(e,t,n){var r=this.findScope(!0),i=this.getIndentation()+e.getIndentString(),o=r.createIdentifier("ref"),a=this.body.body.length?this.body.body[0].start:this.body.start+1;e.move(t.start,t.end,a),e.prependRight(t.end,n?o:"var "+o);var s=[];destructure(e,(function(e){return r.createIdentifier(e)}),(function(e){var t=e.name;return r.resolveName(t)}),t,o,!1,s);var u=";\n"+i;s.forEach((function(e,t){t===s.length-1&&(u=";\n\n"+i),e(a,"",u)}))},ForInStatement}(R),I=function(e){function ForOfStatement(){e.apply(this,arguments)}return e&&(ForOfStatement.__proto__=e),ForOfStatement.prototype=Object.create(e&&e.prototype),ForOfStatement.prototype.constructor=ForOfStatement,ForOfStatement.prototype.initialise=function initialise(t){if(t.forOf&&!t.dangerousForOf)throw new d("for...of statements are not supported. Use `transforms: { forOf: false }` to skip transformation and disable this error, or `transforms: { dangerousForOf: true }` if you know what you're doing",this);e.prototype.initialise.call(this,t)},ForOfStatement.prototype.transpile=function transpile(t,n){if(e.prototype.transpile.call(this,t,n),n.dangerousForOf)if(this.body.body[0]){var r=this.findScope(!0),i=this.getIndentation(),o=i+t.getIndentString(),a=r.createIdentifier("i"),s=r.createIdentifier("list");this.body.synthetic&&(t.prependRight(this.left.start,"{\n"+o),t.appendLeft(this.body.body[0].end,"\n"+i+"}"));var u=this.body.body[0].start;t.remove(this.left.end,this.right.start),t.move(this.left.start,this.left.end,u),t.prependRight(this.right.start,"var "+a+" = 0, "+s+" = "),t.appendLeft(this.right.end,"; "+a+" < "+s+".length; "+a+" += 1");var l="VariableDeclaration"===this.left.type,c=l?this.left.declarations[0].id:this.left;if("Identifier"!==c.type){var p=[],f=r.createIdentifier("ref");destructure(t,(function(e){return r.createIdentifier(e)}),(function(e){var t=e.name;return r.resolveName(t)}),c,f,!l,p);var h=";\n"+o;p.forEach((function(e,t){t===p.length-1&&(h=";\n\n"+o),e(u,"",h)})),l?(t.appendLeft(this.left.start+this.left.kind.length+1,f),t.appendLeft(this.left.end," = "+s+"["+a+"];\n"+o)):t.appendLeft(this.left.end,"var "+f+" = "+s+"["+a+"];\n"+o)}else t.appendLeft(this.left.end," = "+s+"["+a+"];\n\n"+o)}else"VariableDeclaration"===this.left.type&&"var"===this.left.kind?(t.remove(this.start,this.left.start),t.appendLeft(this.left.end,";"),t.remove(this.left.end,this.end)):t.remove(this.start,this.end)},ForOfStatement}(R),M=function(e){function FunctionDeclaration(){e.apply(this,arguments)}return e&&(FunctionDeclaration.__proto__=e),FunctionDeclaration.prototype=Object.create(e&&e.prototype),FunctionDeclaration.prototype.constructor=FunctionDeclaration,FunctionDeclaration.prototype.initialise=function initialise(t){if(this.generator&&t.generator)throw new d("Generators are not supported",this);this.body.createScope(),this.id&&this.findScope(!0).addDeclaration(this.id,"function"),e.prototype.initialise.call(this,t)},FunctionDeclaration.prototype.transpile=function transpile(t,n){e.prototype.transpile.call(this,t,n),n.trailingFunctionCommas&&this.params.length&&removeTrailingComma(t,this.params[this.params.length-1].end)},FunctionDeclaration}(p),N=function(e){function FunctionExpression(){e.apply(this,arguments)}return e&&(FunctionExpression.__proto__=e),FunctionExpression.prototype=Object.create(e&&e.prototype),FunctionExpression.prototype.constructor=FunctionExpression,FunctionExpression.prototype.initialise=function initialise(t){if(this.generator&&t.generator)throw new d("Generators are not supported",this);this.body.createScope(),this.id&&this.body.scope.addDeclaration(this.id,"function"),e.prototype.initialise.call(this,t);var n,r=this.parent;if(t.conciseMethodProperty&&"Property"===r.type&&"init"===r.kind&&r.method&&"Identifier"===r.key.type?n=r.key.name:t.classes&&"MethodDefinition"===r.type&&"method"===r.kind&&"Identifier"===r.key.type?n=r.key.name:this.id&&"Identifier"===this.id.type&&(n=this.id.alias||this.id.name),n)for(var i=0,o=this.params;it.depth&&(this.alias=t.getArgumentsAlias()),r&&r.body.contains(this)&&r.depth>t.depth&&(this.alias=t.getArgumentsAlias())}this.findScope(!1).addReference(this)}},Identifier.prototype.transpile=function transpile(e){this.alias&&e.overwrite(this.start,this.end,this.alias,{storeName:!0,contentOnly:!0})},Identifier}(p),D=function(e){function IfStatement(){e.apply(this,arguments)}return e&&(IfStatement.__proto__=e),IfStatement.prototype=Object.create(e&&e.prototype),IfStatement.prototype.constructor=IfStatement,IfStatement.prototype.initialise=function initialise(t){e.prototype.initialise.call(this,t)},IfStatement.prototype.transpile=function transpile(t,n){("BlockStatement"!==this.consequent.type||"BlockStatement"===this.consequent.type&&this.consequent.synthetic)&&(t.appendLeft(this.consequent.start,"{ "),t.prependRight(this.consequent.end," }")),this.alternate&&"IfStatement"!==this.alternate.type&&("BlockStatement"!==this.alternate.type||"BlockStatement"===this.alternate.type&&this.alternate.synthetic)&&(t.appendLeft(this.alternate.start,"{ "),t.prependRight(this.alternate.end," }")),e.prototype.transpile.call(this,t,n)},IfStatement}(p),B=function(e){function ImportDeclaration(){e.apply(this,arguments)}return e&&(ImportDeclaration.__proto__=e),ImportDeclaration.prototype=Object.create(e&&e.prototype),ImportDeclaration.prototype.constructor=ImportDeclaration,ImportDeclaration.prototype.initialise=function initialise(t){if(t.moduleImport)throw new d("import is not supported",this);e.prototype.initialise.call(this,t)},ImportDeclaration}(p),F=function(e){function ImportDefaultSpecifier(){e.apply(this,arguments)}return e&&(ImportDefaultSpecifier.__proto__=e),ImportDefaultSpecifier.prototype=Object.create(e&&e.prototype),ImportDefaultSpecifier.prototype.constructor=ImportDefaultSpecifier,ImportDefaultSpecifier.prototype.initialise=function initialise(t){this.findScope(!0).addDeclaration(this.local,"import"),e.prototype.initialise.call(this,t)},ImportDefaultSpecifier}(p),U=function(e){function ImportSpecifier(){e.apply(this,arguments)}return e&&(ImportSpecifier.__proto__=e),ImportSpecifier.prototype=Object.create(e&&e.prototype),ImportSpecifier.prototype.constructor=ImportSpecifier,ImportSpecifier.prototype.initialise=function initialise(t){this.findScope(!0).addDeclaration(this.local,"import"),e.prototype.initialise.call(this,t)},ImportSpecifier}(p),V=function(e){function JSXAttribute(){e.apply(this,arguments)}return e&&(JSXAttribute.__proto__=e),JSXAttribute.prototype=Object.create(e&&e.prototype),JSXAttribute.prototype.constructor=JSXAttribute,JSXAttribute.prototype.transpile=function transpile(t,n){var r,i=this.name,o=i.start,a=i.name,s=this.value?this.value.start:this.name.end;t.overwrite(o,s,(/-/.test(r=a)?"'"+r+"'":r)+": "+(this.value?"":"true")),e.prototype.transpile.call(this,t,n)},JSXAttribute}(p);var q=function(e){function JSXClosingElement(){e.apply(this,arguments)}return e&&(JSXClosingElement.__proto__=e),JSXClosingElement.prototype=Object.create(e&&e.prototype),JSXClosingElement.prototype.constructor=JSXClosingElement,JSXClosingElement.prototype.transpile=function transpile(e){var t=!0,n=this.parent.children[this.parent.children.length-1];(n&&function containsNewLine(e){return"JSXText"===e.type&&!/\S/.test(e.value)&&/\n/.test(e.value)}(n)||this.parent.openingElement.attributes.length)&&(t=!1),e.overwrite(this.start,this.end,t?" )":")")},JSXClosingElement}(p);var z=function(e){function JSXClosingFragment(){e.apply(this,arguments)}return e&&(JSXClosingFragment.__proto__=e),JSXClosingFragment.prototype=Object.create(e&&e.prototype),JSXClosingFragment.prototype.constructor=JSXClosingFragment,JSXClosingFragment.prototype.transpile=function transpile(e){var t=!0,n=this.parent.children[this.parent.children.length-1];n&&function containsNewLine$1(e){return"JSXText"===e.type&&!/\S/.test(e.value)&&/\n/.test(e.value)}(n)&&(t=!1),e.overwrite(this.start,this.end,t?" )":")")},JSXClosingFragment}(p);function normalise(e,t){return e=e.replace(/\u00a0/g," "),t&&/\n/.test(e)&&(e=e.replace(/\s+$/,"")),e=e.replace(/^\n\r?\s+/,"").replace(/\s*\n\r?\s*/gm," "),JSON.stringify(e)}var W=function(e){function JSXElement(){e.apply(this,arguments)}return e&&(JSXElement.__proto__=e),JSXElement.prototype=Object.create(e&&e.prototype),JSXElement.prototype.constructor=JSXElement,JSXElement.prototype.transpile=function transpile(t,n){e.prototype.transpile.call(this,t,n);var r=this.children.filter((function(e){return"JSXText"!==e.type||(/\S/.test(e.raw)||!/\n/.test(e.raw))}));if(r.length){var i,o=this.openingElement.end;for(i=0;i0&&(c.start===o?t.prependRight(o,", "):t.overwrite(o,c.start,", ")),l&&"JSXSpreadAttribute"!==c.type){var p=this.attributes[a-1],f=this.attributes[a+1];p&&"JSXSpreadAttribute"!==p.type||t.prependRight(c.start,"{ "),f&&"JSXSpreadAttribute"!==f.type||t.appendLeft(c.end," }")}o=c.end}if(l)if(1===i)u=r?"',":",";else{if(!this.program.options.objectAssign)throw new d("Mixed JSX attributes ending in spread requires specified objectAssign option with 'Object.assign' or polyfill helper.",this);u=r?"', "+this.program.options.objectAssign+"({},":", "+this.program.options.objectAssign+"({},",s=")"}else u=r?"', {":", {",s=" }";t.prependRight(this.name.end,u),s&&t.appendLeft(this.attributes[i-1].end,s)}else t.appendLeft(this.name.end,r?"', null":", null"),o=this.name.end;this.selfClosing?t.overwrite(o,this.end,this.attributes.length?")":" )"):t.remove(o,this.end)},JSXOpeningElement}(p),J=function(e){function JSXOpeningFragment(){e.apply(this,arguments)}return e&&(JSXOpeningFragment.__proto__=e),JSXOpeningFragment.prototype=Object.create(e&&e.prototype),JSXOpeningFragment.prototype.constructor=JSXOpeningFragment,JSXOpeningFragment.prototype.transpile=function transpile(e){e.overwrite(this.start,this.end,this.program.jsx+"( React.Fragment, null")},JSXOpeningFragment}(p),$=function(e){function JSXSpreadAttribute(){e.apply(this,arguments)}return e&&(JSXSpreadAttribute.__proto__=e),JSXSpreadAttribute.prototype=Object.create(e&&e.prototype),JSXSpreadAttribute.prototype.constructor=JSXSpreadAttribute,JSXSpreadAttribute.prototype.transpile=function transpile(t,n){t.remove(this.start,this.argument.start),t.remove(this.argument.end,this.end),e.prototype.transpile.call(this,t,n)},JSXSpreadAttribute}(p),X=createCommonjsModule((function(e,t){ +/*! + * regjsgen 0.3.0 + * Copyright 2014-2016 Benjamin Tan + * Available under MIT license + */ +(function(){var n={function:!0,object:!0},r=n[typeof window]&&window||this,i=n.object&&t,o=n.object&&e&&!e.nodeType&&e,a=i&&o&&"object"==typeof u&&u;!a||a.global!==a&&a.window!==a&&a.self!==a||(r=a);var s=Object.prototype.hasOwnProperty,l=String.fromCharCode,c=Math.floor;function fromCodePoint(){var e,t,n=[],r=-1,i=arguments.length;if(!i)return"";for(var o="";++r1114111||c(a)!=a)throw RangeError("Invalid code point: "+a);a<=65535?n.push(a):(e=55296+((a-=65536)>>10),t=a%1024+56320,n.push(e,t)),(r+1==i||n.length>16384)&&(o+=l.apply(null,n),n.length=0)}return o}var p={};function assertType(e,t){if(-1==t.indexOf("|")){if(e==t)return;throw Error("Invalid node type: "+e+"; expected type: "+t)}if(!(t=s.call(p,t)?p[t]:p[t]=RegExp("^(?:"+t+")$")).test(e))throw Error("Invalid node type: "+e+"; expected types: "+t)}function generate(e){var t=e.type;if(s.call(f,t))return f[t](e);throw Error("Invalid node type: "+t)}function generateClassAtom(e){return assertType(e.type,"anchor|characterClassEscape|characterClassRange|dot|value"),generate(e)}function generateTerm(e){return assertType(e.type,"anchor|characterClass|characterClassEscape|empty|group|quantifier|reference|unicodePropertyEscape|value"),generate(e)}var f={alternative:function generateAlternative(e){assertType(e.type,"alternative");for(var t=e.body,n=-1,r=t.length,i="";++n=55296&&r<=56319&&(t=lookahead().charCodeAt(0))>=56320&&t<=57343?createValue("symbol",1024*(r-55296)+t-56320+65536,++s-2,s):createValue("symbol",r,s-1,s)}function createQuantifier(e,t,n,r){return null==r&&(n=s-1,r=s),addRaw({type:"quantifier",min:e,max:t,greedy:!0,body:null,range:[n,r]})}function createCharacterClass(e,t,n,r){return addRaw({type:"characterClass",body:e,negative:t,range:[n,r]})}function createClassRange(e,t,n,r){return e.codePoint>t.codePoint&&bail("invalid range in character class",e.raw+"-"+t.raw,n,r),addRaw({type:"characterClassRange",min:e,max:t,range:[n,r]})}function flattenBody(e){return"alternative"===e.type?e.body:[e]}function incr(t){t=t||1;var n=e.substring(s,s+t);return s+=t||1,n}function skip(e){match(e)||bail("character",e)}function match(t){if(e.indexOf(t,s)===s)return incr(t.length)}function lookahead(){return e[s]}function current(t){return e.indexOf(t,s)===s}function next(t){return e[s+1]===t}function matchReg(t){var n=e.substring(s).match(t);return n&&(n.range=[],n.range[0]=s,incr(n[0].length),n.range[1]=s),n}function parseDisjunction(){var e=[],t=s;for(e.push(parseAlternative());match("|");)e.push(parseAlternative());return 1===e.length?e[0]:function createDisjunction(e,t,n){return addRaw({type:"disjunction",body:e,range:[t,n]})}(e,t,s)}function parseAlternative(){for(var e,t=[],n=s;e=parseTerm();)t.push(e);return 1===t.length?t[0]:function createAlternative(e,t,n){return addRaw({type:"alternative",body:e,range:[t,n]})}(t,n,s)}function parseTerm(){if(s>=e.length||current("|")||current(")"))return null;var t=function parseAnchor(){return match("^")?createAnchor("start",1):match("$")?createAnchor("end",1):match("\\b")?createAnchor("boundary",2):match("\\B")?createAnchor("not-boundary",2):parseGroup("(?=","lookahead","(?!","negativeLookahead")}();if(t)return t;var n=function parseAtom(){var e;return(e=matchReg(/^[^^$\\.*+?(){[|]/))?createCharacter(e):match(".")?function createDot(){return addRaw({type:"dot",range:[s-1,s]})}():match("\\")?((e=parseAtomEscape())||bail("atomEscape"),e):(e=function parseCharacterClass(){var e,t=s;return(e=matchReg(/^\[\^/))?(e=parseClassRanges(),skip("]"),createCharacterClass(e,!0,t,s)):match("[")?(e=parseClassRanges(),skip("]"),createCharacterClass(e,!1,t,s)):null}())?e:parseGroup("(?:","ignore","(","normal")}();n||bail("Expected atom");var r=function parseQuantifier(){var e,t,n,r,i=s;return match("*")?t=createQuantifier(0):match("+")?t=createQuantifier(1):match("?")?t=createQuantifier(0,1):(e=matchReg(/^\{([0-9]+)\}/))?(n=parseInt(e[1],10),t=createQuantifier(n,n,e.range[0],e.range[1])):(e=matchReg(/^\{([0-9]+),\}/))?(n=parseInt(e[1],10),t=createQuantifier(n,void 0,e.range[0],e.range[1])):(e=matchReg(/^\{([0-9]+),([0-9]+)\}/))&&(n=parseInt(e[1],10),r=parseInt(e[2],10),n>r&&bail("numbers out of order in {} quantifier","",i,s),t=createQuantifier(n,r,e.range[0],e.range[1])),t&&match("?")&&(t.greedy=!1,t.range[1]+=1),t}()||!1;return r?(r.body=flattenBody(n),updateRawStart(r,n.range[0]),r):n}function parseGroup(e,t,n,r){var a=null,u=s;if(match(e))a=t;else{if(!match(n))return!1;a=r}var l=parseDisjunction();l||bail("Expected disjunction"),skip(")");var c=function createGroup(e,t,n,r){return addRaw({type:"group",behavior:e,body:t,range:[n,r]})}(a,flattenBody(l),u,s);return"normal"==a&&o&&i++,c}function parseUnicodeSurrogatePairEscape(e){var t,n;if(a&&"unicodeEscape"==e.kind&&(t=e.codePoint)>=55296&&t<=56319&¤t("\\")&&next("u")){var r=s;s++;var i=parseClassEscape();"unicodeEscape"==i.kind&&(n=i.codePoint)>=56320&&n<=57343?(e.range[1]=i.range[1],e.codePoint=1024*(t-55296)+n-56320+65536,e.type="value",e.kind="unicodeCodePointEscape",addRaw(e)):s=r}return e}function parseClassEscape(){return parseAtomEscape(!0)}function parseAtomEscape(e){var t,o=s;if(t=function parseDecimalEscape(){var e,t;if(e=matchReg(/^(?!0)\d+/)){t=e[0];var n=parseInt(e[0],10);return n<=i?function createReference(e){return addRaw({type:"reference",matchIndex:parseInt(e,10),range:[s-1-e.length,s]})}(e[0]):(r.push(n),incr(-e[0].length),(e=matchReg(/^[0-7]{1,3}/))?createEscaped("octal",parseInt(e[0],8),e[0],1):updateRawStart(e=createCharacter(matchReg(/^[89]/)),e.range[0]-1))}return(e=matchReg(/^[0-7]{1,3}/))?(t=e[0],/^0{1,3}$/.test(t)?createEscaped("null",0,"0",t.length+1):createEscaped("octal",parseInt(t,8),t,1)):!!(e=matchReg(/^[dDsSwW]/))&&function createCharacterClassEscape(e){return addRaw({type:"characterClassEscape",value:e,range:[s-2,s]})}(e[0])}())return t;if(e){if(match("b"))return createEscaped("singleEscape",8,"\\b");match("B")&&bail("\\B not possible inside of CharacterClass","",o)}return t=function parseCharacterEscape(){var e;if(e=matchReg(/^[fnrtv]/)){var t=0;switch(e[0]){case"t":t=9;break;case"n":t=10;break;case"v":t=11;break;case"f":t=12;break;case"r":t=13}return createEscaped("singleEscape",t,"\\"+e[0])}return(e=matchReg(/^c([a-zA-Z])/))?createEscaped("controlLetter",e[1].charCodeAt(0)%32,e[1],2):(e=matchReg(/^x([0-9a-fA-F]{2})/))?createEscaped("hexadecimalEscape",parseInt(e[1],16),e[1],2):(e=matchReg(/^u([0-9a-fA-F]{4})/))?parseUnicodeSurrogatePairEscape(createEscaped("unicodeEscape",parseInt(e[1],16),e[1],2)):a&&(e=matchReg(/^u\{([0-9a-fA-F]+)\}/))?createEscaped("unicodeCodePointEscape",parseInt(e[1],16),e[1],4):n.unicodePropertyEscape&&a&&(e=matchReg(/^([pP])\{([^\}]+)\}/))?addRaw({type:"unicodePropertyEscape",negative:"P"===e[1],value:e[2],range:[e.range[0]-1,e.range[1]],raw:e[0]}):function parseIdentityEscape(){var e;return function isIdentifierPart(e){var t=new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԯԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠ-ࢲࣤ-ॣ०-९ॱ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఀ-ఃఅ-ఌఎ-ఐఒ-నప-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಁ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲഁ-ഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟ෦-෯ෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤞᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧ᪰-᪽ᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶ᳸᳹ᴀ-᷵᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚝꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞭꞰꞱꟷ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꧠ-ꧾꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭟꭤꭥꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︭︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]");return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||92===e||e>=128&&t.test(String.fromCharCode(e))}(lookahead())?match("‌")?createEscaped("identifier",8204,"‌"):match("‍")?createEscaped("identifier",8205,"‍"):null:createEscaped("identifier",(e=incr()).charCodeAt(0),e,1)}()}()}function parseClassRanges(){var e;return current("]")?[]:((e=function parseNonemptyClassRanges(){var e=parseClassAtom();return e||bail("classAtom"),current("]")?[e]:parseHelperClassRanges(e)}())||bail("nonEmptyClassRanges"),e)}function parseHelperClassRanges(e){var t,n,r;if(current("-")&&!next("]")){skip("-"),(r=parseClassAtom())||bail("classAtom"),n=s;var i=parseClassRanges();return i||bail("classRanges"),t=e.range[0],"empty"===i.type?[createClassRange(e,r,t,n)]:[createClassRange(e,r,t,n)].concat(i)}return(r=function parseNonemptyClassRangesNoDash(){var e=parseClassAtom();return e||bail("classAtom"),current("]")?e:parseHelperClassRanges(e)}())||bail("nonEmptyClassRangesNoDash"),[e].concat(r)}function parseClassAtom(){return match("-")?createCharacter("-"):function parseClassAtomNoDash(){var e;return(e=matchReg(/^[^\\\]-]/))?createCharacter(e[0]):match("\\")?((e=parseClassEscape())||bail("classEscape"),parseUnicodeSurrogatePairEscape(e)):void 0}()}function bail(t,n,r,i){r=null==r?s:r,i=null==i?r:i;var o=Math.max(0,r-10),a=Math.min(i+10,e.length),u=" "+e.substring(o,a),l=" "+new Array(r-o+1).join(" ")+"^";throw SyntaxError(t+" at position "+r+(n?": "+n:"")+"\n"+u+"\n"+l)}n||(n={});var r=[],i=0,o=!0,a=-1!==(t||"").indexOf("u"),s=0;""===(e=String(e))&&(e="(?:)");var u=parseDisjunction();u.range[1]!==e.length&&bail("Could not parse entire input - got stuck","",u.range[1]);for(var l=0;l=n&&tn)return e;if(t<=r&&n>=i)e.splice(o,2);else{if(t>=r&&n=r&&t<=i)e[o+1]=t;else if(n>=r&&n<=i)return e[o]=n+1,e;o+=2}}return e},dataAdd=function(e,t){var n,r,i=0,o=null,a=e.length;if(t<0||t>1114111)throw RangeError(s);for(;i=n&&tt)return e.splice(null!=o?o+2:0,0,t,t+1),e;if(t==r)return t+1==e[i+2]?(e.splice(i,4,n,e[i+3]),e):(e[i+1]=t+1,e);o=i,i+=2}return e.push(t,t+1),e},dataAddData=function(e,t){for(var n,r,i=0,o=e.slice(),a=t.length;i1114111||n<0||n>1114111)throw RangeError(s);for(var r,i,o=0,u=!1,l=e.length;on)return e;r>=t&&r<=n&&(i>t&&i-1<=n?(e.splice(o,2),o-=2):(e.splice(o-1,2),o-=2))}else{if(r==n+1)return e[o]=t,e;if(r>n)return e.splice(o,0,t,n+1),e;if(t>=r&&t=r&&t=i&&(e[o]=t,e[o+1]=n+1,u=!0)}o+=2}return u||e.push(t,n+1),e},dataContains=function(e,t){var n=0,r=e.length,i=e[n],o=e[r-1];if(r>=2&&(to))return!1;for(;n=i&&t=40&&e<=43||e>=45&&e<=47||63==e||e>=91&&e<=94||e>=123&&e<=125?"\\"+m(e):e>=32&&e<=126?m(e):e<=255?"\\x"+pad(hex(e),2):"\\u"+pad(hex(e),4)},codePointToStringUnicode=function(e){return e<=65535?codePointToString(e):"\\u{"+e.toString(16).toUpperCase()+"}"},symbolToCodePoint=function(e){var t=e.length,n=e.charCodeAt(0);return n>=55296&&n<=56319&&t>1?1024*(n-55296)+e.charCodeAt(1)-56320+65536:n},createBMPCharacterClasses=function(e){var t,n,r="",i=0,o=e.length;if(dataIsSingleton(e))return codePointToString(e[0]);for(;i=55296&&n<=56319&&(o.push(t,55296),r.push(55296,n+1)),n>=56320&&n<=57343&&(o.push(t,55296),r.push(55296,56320),i.push(56320,n+1)),n>57343&&(o.push(t,55296),r.push(55296,56320),i.push(56320,57344),n<=65535?o.push(57344,n+1):(o.push(57344,65536),a.push(65536,n+1)))):t>=55296&&t<=56319?(n>=55296&&n<=56319&&r.push(t,n+1),n>=56320&&n<=57343&&(r.push(t,56320),i.push(56320,n+1)),n>57343&&(r.push(t,56320),i.push(56320,57344),n<=65535?o.push(57344,n+1):(o.push(57344,65536),a.push(65536,n+1)))):t>=56320&&t<=57343?(n>=56320&&n<=57343&&i.push(t,n+1),n>57343&&(i.push(t,57344),n<=65535?o.push(57344,n+1):(o.push(57344,65536),a.push(65536,n+1)))):t>57343&&t<=65535?n<=65535?o.push(t,n+1):(o.push(t,65536),a.push(65536,n+1)):a.push(t,n+1),s+=2;return{loneHighSurrogates:r,loneLowSurrogates:i,bmp:o,astral:a}}(e),o=i.loneHighSurrogates,a=i.loneLowSurrogates,s=i.bmp,u=i.astral,l=!dataIsEmpty(o),c=!dataIsEmpty(a),p=surrogateSet(u);return t&&(s=dataAddData(s,o),l=!1,s=dataAddData(s,a),c=!1),dataIsEmpty(s)||r.push(createBMPCharacterClasses(s)),p.length&&r.push(function(e){var t=[];return forEach(e,(function(e){var n=e[0],r=e[1];t.push(createBMPCharacterClasses(n)+createBMPCharacterClasses(r))})),t.join("|")}(p)),l&&r.push(createBMPCharacterClasses(o)+"(?![\\uDC00-\\uDFFF])"),c&&r.push("(?:[^\\uD800-\\uDBFF]|^)"+createBMPCharacterClasses(a)),r.join("|")},regenerate=function(e){return arguments.length>1&&(e=h.call(arguments)),this instanceof regenerate?(this.data=[],e?this.add(e):this):(new regenerate).add(e)};regenerate.version="1.3.3";var g=regenerate.prototype;!function(e,t){var n;for(n in t)p.call(t,n)&&(e[n]=t[n])}(g,{add:function(e){var t=this;return null==e?t:e instanceof regenerate?(t.data=dataAddData(t.data,e.data),t):(arguments.length>1&&(e=h.call(arguments)),isArray(e)?(forEach(e,(function(e){t.add(e)})),t):(t.data=dataAdd(t.data,isNumber(e)?e:symbolToCodePoint(e)),t))},remove:function(e){var t=this;return null==e?t:e instanceof regenerate?(t.data=dataRemoveData(t.data,e.data),t):(arguments.length>1&&(e=h.call(arguments)),isArray(e)?(forEach(e,(function(e){t.remove(e)})),t):(t.data=dataRemove(t.data,isNumber(e)?e:symbolToCodePoint(e)),t))},addRange:function(e,t){return this.data=dataAddRange(this.data,isNumber(e)?e:symbolToCodePoint(e),isNumber(t)?t:symbolToCodePoint(t)),this},removeRange:function(e,t){var n=isNumber(e)?e:symbolToCodePoint(e),r=isNumber(t)?t:symbolToCodePoint(t);return this.data=dataRemoveRange(this.data,n,r),this},intersection:function(e){var t=e instanceof regenerate?dataToArray(e.data):e;return this.data=function(e,t){for(var n,r=0,i=t.length,o=[];rR&&t.remove(R,C.value.start),t.prependLeft(R," = ")):t.overwrite(C.start,C.key.end+1,"["+t.slice(C.start,C.key.end)+"] = "),!C.method||!C.computed&&n.conciseMethodProperty||(C.value.generator&&t.remove(C.start,C.key.start),t.prependRight(C.value.start,"function"+(C.value.generator?"*":"")+" "))}else"SpreadElement"===C.type?y&&E>0&&(x||(x=this.properties[E-1]),t.appendLeft(x.end,", "+y+" )"),x=null,y=null):(!S&&o&&(t.prependRight(C.start,"{"),t.appendLeft(C.end,"}")),k=!0);if(S&&("SpreadElement"===C.type||C.computed)){var j=k?this.properties[this.properties.length-1].end:this.end-1;","==t.original[j]&&++j;var A=t.slice(j,_);t.prependLeft(P,A),t.remove(j,_),S=!1}var I=C.end;if(Ethis.nearestFunction.depth)&&(this.loop.canReturn=!0,this.shouldWrap=!0),this.argument&&this.argument.initialise(e)},ReturnStatement.prototype.transpile=function transpile(e,t){var n=this.shouldWrap&&this.loop&&this.loop.shouldRewriteAsFunction;this.argument?(n&&e.prependRight(this.argument.start,"{ v: "),this.argument.transpile(e,t),n&&e.appendLeft(this.argument.end," }")):n&&e.appendLeft(this.start+6," {}")},ReturnStatement}(p),SpreadElement:function(e){function SpreadElement(){e.apply(this,arguments)}return e&&(SpreadElement.__proto__=e),SpreadElement.prototype=Object.create(e&&e.prototype),SpreadElement.prototype.constructor=SpreadElement,SpreadElement.prototype.transpile=function transpile(t,n){"ObjectExpression"==this.parent.type&&(t.remove(this.start,this.argument.start),t.remove(this.argument.end,this.end)),e.prototype.transpile.call(this,t,n)},SpreadElement}(p),Super:function(e){function Super(){e.apply(this,arguments)}return e&&(Super.__proto__=e),Super.prototype=Object.create(e&&e.prototype),Super.prototype.constructor=Super,Super.prototype.initialise=function initialise(e){if(e.classes){if(this.method=this.findNearest("MethodDefinition"),!this.method)throw new d("use of super outside class method",this);var t=this.findNearest("ClassBody").parent;if(this.superClassName=t.superClass&&(t.superClass.name||"superclass"),!this.superClassName)throw new d("super used in base class",this);if(this.isCalled="CallExpression"===this.parent.type&&this===this.parent.callee,"constructor"!==this.method.kind&&this.isCalled)throw new d("super() not allowed outside class constructor",this);if(this.isMember="MemberExpression"===this.parent.type,!this.isCalled&&!this.isMember)throw new d("Unexpected use of `super` (expected `super(...)` or `super.*`)",this)}if(e.arrow){var n=this.findLexicalBoundary(),r=this.findNearest("ArrowFunctionExpression"),i=this.findNearest(x);r&&r.depth>n.depth&&(this.thisAlias=n.getThisAlias()),i&&i.body.contains(this)&&i.depth>n.depth&&(this.thisAlias=n.getThisAlias())}},Super.prototype.transpile=function transpile(e,t){if(t.classes){var n=this.isCalled||this.method.static?this.superClassName:this.superClassName+".prototype";e.overwrite(this.start,this.end,n,{storeName:!0,contentOnly:!0});var r=this.isCalled?this.parent:this.parent.parent;if(r&&"CallExpression"===r.type){this.noCall||e.appendLeft(r.callee.end,".call");var i=this.thisAlias||"this";r.arguments.length?e.appendLeft(r.arguments[0].start,i+", "):e.appendLeft(r.end-1,""+i)}}},Super}(p),TaggedTemplateExpression:function(e){function TaggedTemplateExpression(){e.apply(this,arguments)}return e&&(TaggedTemplateExpression.__proto__=e),TaggedTemplateExpression.prototype=Object.create(e&&e.prototype),TaggedTemplateExpression.prototype.constructor=TaggedTemplateExpression,TaggedTemplateExpression.prototype.initialise=function initialise(t){if(t.templateString&&!t.dangerousTaggedTemplateString)throw new d("Tagged template strings are not supported. Use `transforms: { templateString: false }` to skip transformation and disable this error, or `transforms: { dangerousTaggedTemplateString: true }` if you know what you're doing",this);e.prototype.initialise.call(this,t)},TaggedTemplateExpression.prototype.transpile=function transpile(t,n){if(n.templateString&&n.dangerousTaggedTemplateString){var r=this.quasi.expressions.concat(this.quasi.quasis).sort((function(e,t){return e.start-t.start})),i=this.program.body.scope,o=this.quasi.quasis.map((function(e){return JSON.stringify(e.value.cooked)})).join(", "),a=this.program.templateLiteralQuasis[o];a||(a=i.createIdentifier("templateObject"),t.prependRight(this.program.prependAt,"var "+a+" = Object.freeze(["+o+"]);\n"),this.program.templateLiteralQuasis[o]=a),t.overwrite(this.tag.end,r[0].start,"("+a);var s=r[0].start;r.forEach((function(e){"TemplateElement"===e.type?t.remove(s,e.end):t.overwrite(s,e.start,", "),s=e.end})),t.overwrite(s,this.end,")")}e.prototype.transpile.call(this,t,n)},TaggedTemplateExpression}(p),TemplateElement:function(e){function TemplateElement(){e.apply(this,arguments)}return e&&(TemplateElement.__proto__=e),TemplateElement.prototype=Object.create(e&&e.prototype),TemplateElement.prototype.constructor=TemplateElement,TemplateElement.prototype.initialise=function initialise(){this.program.indentExclusionElements.push(this)},TemplateElement}(p),TemplateLiteral:function(e){function TemplateLiteral(){e.apply(this,arguments)}return e&&(TemplateLiteral.__proto__=e),TemplateLiteral.prototype=Object.create(e&&e.prototype),TemplateLiteral.prototype.constructor=TemplateLiteral,TemplateLiteral.prototype.transpile=function transpile(t,n){if(e.prototype.transpile.call(this,t,n),n.templateString&&"TaggedTemplateExpression"!==this.parent.type){var r=this.expressions.concat(this.quasis).sort((function(e,t){return e.start-t.start||e.end-t.end})).filter((function(e,t){return"TemplateElement"!==e.type||(!!e.value.raw||!t)}));if(r.length>=3){var i=r[0],o=r[2];"TemplateElement"===i.type&&""===i.value.raw&&"TemplateElement"===o.type&&r.shift()}var a=!(1===this.quasis.length&&0===this.expressions.length||"TemplateLiteral"===this.parent.type||"AssignmentExpression"===this.parent.type||"AssignmentPattern"===this.parent.type||"VariableDeclarator"===this.parent.type||"BinaryExpression"===this.parent.type&&"+"===this.parent.operator);a&&t.appendRight(this.start,"(");var s=this.start;r.forEach((function(e,n){var r=0===n?a?"(":"":" + ";if("TemplateElement"===e.type)t.overwrite(s,e.end,r+JSON.stringify(e.value.cooked));else{var i="Identifier"!==e.type;i&&(r+="("),t.remove(s,e.start),r&&t.prependRight(e.start,r),i&&t.appendLeft(e.end,")")}s=e.end})),a&&t.appendLeft(s,")"),t.overwrite(s,this.end,"",{contentOnly:!0})}},TemplateLiteral}(p),ThisExpression:function(e){function ThisExpression(){e.apply(this,arguments)}return e&&(ThisExpression.__proto__=e),ThisExpression.prototype=Object.create(e&&e.prototype),ThisExpression.prototype.constructor=ThisExpression,ThisExpression.prototype.initialise=function initialise(e){if(e.arrow){var t=this.findLexicalBoundary(),n=this.findNearest("ArrowFunctionExpression"),r=this.findNearest(x);(n&&n.depth>t.depth||r&&r.body.contains(this)&&r.depth>t.depth||r&&r.right&&r.right.contains(this))&&(this.alias=t.getThisAlias())}},ThisExpression.prototype.transpile=function transpile(e){this.alias&&e.overwrite(this.start,this.end,this.alias,{storeName:!0,contentOnly:!0})},ThisExpression}(p),UpdateExpression:function(e){function UpdateExpression(){e.apply(this,arguments)}return e&&(UpdateExpression.__proto__=e),UpdateExpression.prototype=Object.create(e&&e.prototype),UpdateExpression.prototype.constructor=UpdateExpression,UpdateExpression.prototype.initialise=function initialise(t){if("Identifier"===this.argument.type){var n=this.findScope(!1).findDeclaration(this.argument.name),r=n&&n.node.ancestor(3);r&&"ForStatement"===r.type&&r.body.contains(this)&&(r.reassigned[this.argument.name]=!0)}e.prototype.initialise.call(this,t)},UpdateExpression.prototype.transpile=function transpile(t,n){"Identifier"===this.argument.type&&checkConst(this.argument,this.findScope(!1)),e.prototype.transpile.call(this,t,n)},UpdateExpression}(p),VariableDeclaration:function(e){function VariableDeclaration(){e.apply(this,arguments)}return e&&(VariableDeclaration.__proto__=e),VariableDeclaration.prototype=Object.create(e&&e.prototype),VariableDeclaration.prototype.constructor=VariableDeclaration,VariableDeclaration.prototype.initialise=function initialise(e){this.scope=this.findScope("var"===this.kind),this.declarations.forEach((function(t){return t.initialise(e)}))},VariableDeclaration.prototype.transpile=function transpile(e,t){var n=this,r=this.getIndentation(),i=this.kind;if(t.letConst&&"var"!==i&&(i="var",e.overwrite(this.start,this.start+this.kind.length,i,{contentOnly:!0,storeName:!0})),t.destructuring&&"ForOfStatement"!==this.parent.type&&"ForInStatement"!==this.parent.type){var o,a=this.start;this.declarations.forEach((function(i,s){if(i.transpile(e,t),"Identifier"===i.id.type)s>0&&"Identifier"!==n.declarations[s-1].id.type&&e.overwrite(a,i.id.start,"var ");else{var u=x.test(n.parent.type);0===s?e.remove(a,i.id.start):e.overwrite(a,i.id.start,";\n"+r);var l="Identifier"===i.init.type&&!i.init.rewritten,c=l?i.init.alias||i.init.name:i.findScope(!0).createIdentifier("ref");a=i.start;var p=[];l?e.remove(i.id.end,i.end):p.push((function(t,n,r){e.prependRight(i.id.end,"var "+c),e.appendLeft(i.init.end,""+r),e.move(i.id.end,i.end,t)}));var f=i.findScope(!1);destructure(e,(function(e){return f.createIdentifier(e)}),(function(e){var t=e.name;return f.resolveName(t)}),i.id,c,u,p);var h=u?"var ":"",d=u?", ":";\n"+r;p.forEach((function(e,t){s===n.declarations.length-1&&t===p.length-1&&(d=u?"":";"),e(i.start,0===t?h:"",d)}))}a=i.end,o="Identifier"!==i.id.type})),o&&this.end>a&&e.overwrite(a,this.end,"",{contentOnly:!0})}else this.declarations.forEach((function(n){n.transpile(e,t)}))},VariableDeclaration}(p),VariableDeclarator:function(e){function VariableDeclarator(){e.apply(this,arguments)}return e&&(VariableDeclarator.__proto__=e),VariableDeclarator.prototype=Object.create(e&&e.prototype),VariableDeclarator.prototype.constructor=VariableDeclarator,VariableDeclarator.prototype.initialise=function initialise(t){var n=this.parent.kind;"let"===n&&"ForStatement"===this.parent.parent.type&&(n="for.let"),this.parent.scope.addDeclaration(this.id,n),e.prototype.initialise.call(this,t)},VariableDeclarator.prototype.transpile=function transpile(e,t){if(!this.init&&t.letConst&&"var"!==this.parent.kind){var n=this.findNearest(/Function|^For(In|Of)?Statement|^(?:Do)?WhileStatement/);!n||/Function/.test(n.type)||this.isLeftDeclaratorOfLoop()||e.appendLeft(this.id.end," = (void 0)")}this.id&&this.id.transpile(e,t),this.init&&this.init.transpile(e,t)},VariableDeclarator.prototype.isLeftDeclaratorOfLoop=function isLeftDeclaratorOfLoop(){return this.parent&&"VariableDeclaration"===this.parent.type&&this.parent.parent&&("ForInStatement"===this.parent.parent.type||"ForOfStatement"===this.parent.parent.type)&&this.parent.parent.left&&this.parent.parent.left.declarations[0]===this},VariableDeclarator}(p),WhileStatement:R},ae={Program:["body"],Literal:[]},se={IfStatement:"consequent",ForStatement:"body",ForInStatement:"body",ForOfStatement:"body",WhileStatement:"body",DoWhileStatement:"body",ArrowFunctionExpression:"body"};function Program(e,t,n,i){this.type="Root",this.jsx=i.jsx||"React.createElement",this.options=i,this.source=e,this.magicString=new r.a(e),this.ast=t,this.depth=0,function wrap(e,t){if(e)if("length"in e)for(var n=e.length;n--;)wrap(e[n],t);else if(!e.__wrapped){e.__wrapped=!0,ae[e.type]||(ae[e.type]=Object.keys(e).filter((function(t){return"object"==typeof e[t]})));var r=se[e.type];if(r&&"BlockStatement"!==e[r].type){var i=e[r];e[r]={start:i.start,end:i.end,type:"BlockStatement",body:[i],synthetic:!0}}e.parent=t,e.program=t.program||t,e.depth=t.depth+1,e.keys=ae[e.type],e.indentation=void 0;for(var o=0,a=ae[e.type];o...",!0,!0),t.jsxName=new e.TokenType("jsxName"),t.jsxText=new e.TokenType("jsxText",{beforeExpr:!0}),t.jsxTagStart=new e.TokenType("jsxTagStart"),t.jsxTagEnd=new e.TokenType("jsxTagEnd"),t.jsxTagStart.updateContext=function(){this.context.push(n.j_expr),this.context.push(n.j_oTag),this.exprAllowed=!1},t.jsxTagEnd.updateContext=function(e){var r=this.context.pop();r===n.j_oTag&&e===t.slash||r===n.j_cTag?(this.context.pop(),this.exprAllowed=this.curContext()===n.j_expr):this.exprAllowed=!0};var r=e.Parser.prototype;function getQualifiedJSXName(e){return e?"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property):void 0:e}return r.jsx_readToken=function(){for(var n="",r=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");var i=this.input.charCodeAt(this.pos);switch(i){case 60:case 123:return this.pos===this.start?60===i&&this.exprAllowed?(++this.pos,this.finishToken(t.jsxTagStart)):this.getTokenFromCode(i):(n+=this.input.slice(r,this.pos),this.finishToken(t.jsxText,n));case 38:n+=this.input.slice(r,this.pos),n+=this.jsx_readEntity(),r=this.pos;break;default:e.isNewLine(i)?(n+=this.input.slice(r,this.pos),n+=this.jsx_readNewLine(!0),r=this.pos):++this.pos}}},r.jsx_readNewLine=function(e){var t,n=this.input.charCodeAt(this.pos);return++this.pos,13===n&&10===this.input.charCodeAt(this.pos)?(++this.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(n),this.options.locations&&(++this.curLine,this.lineStart=this.pos),t},r.jsx_readString=function(n){for(var r="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var o=this.input.charCodeAt(this.pos);if(o===n)break;38===o?(r+=this.input.slice(i,this.pos),r+=this.jsx_readEntity(),i=this.pos):e.isNewLine(o)?(r+=this.input.slice(i,this.pos),r+=this.jsx_readNewLine(!1),i=this.pos):++this.pos}return r+=this.input.slice(i,this.pos++),this.finishToken(t.string,r)},r.jsx_readEntity=function(){var e,t="",n=0,r=this.input[this.pos];"&"!==r&&this.raise(this.pos,"Entity must start with an ampersand");for(var i=++this.pos;this.pos")}return r.openingElement=o,r.closingElement=a,r.children=i,this.type===t.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(r,o.name?"JSXElement":"JSXFragment")},r.jsx_parseText=function(e){var t=this.parseLiteral(e);return t.type="JSXText",t},r.jsx_parseElement=function(){var e=this.start,t=this.startLoc;return this.next(),this.jsx_parseElementAt(e,t)},e.plugins.jsx=function(r,i){i&&("object"!=typeof i&&(i={}),r.options.plugins.jsx={allowNamespaces:!1!==i.allowNamespaces,allowNamespacedObjects:!!i.allowNamespacedObjects},r.extend("parseExprAtom",(function(e){return function(n){return this.type===t.jsxText?this.jsx_parseText(this.value):this.type===t.jsxTagStart?this.jsx_parseElement():e.call(this,n)}})),r.extend("readToken",(function(r){return function(i){var o=this.curContext();if(o===n.j_expr)return this.jsx_readToken();if(o===n.j_oTag||o===n.j_cTag){if(e.isIdentifierStart(i))return this.jsx_readWord();if(62==i)return++this.pos,this.finishToken(t.jsxTagEnd);if((34===i||39===i)&&o==n.j_oTag)return this.jsx_readString(i)}return 60===i&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(t.jsxTagStart)):r.call(this,i)}})),r.extend("updateContext",(function(e){return function(r){if(this.type==t.braceL){var i=this.curContext();i==n.j_oTag?this.context.push(n.b_expr):i==n.j_expr?this.context.push(n.b_tmpl):e.call(this,r),this.exprAllowed=!0}else{if(this.type!==t.slash||r!==t.jsxTagStart)return e.call(this,r);this.context.length-=2,this.context.push(n.j_cTag),this.exprAllowed=!1}}})))},e},c].reduce((function(e,t){return t(e)}),i).parse,pe=["dangerousTaggedTemplateString","dangerousForOf"];function transform(e,t){var n;void 0===t&&(t={});var r=null;try{n=ce(e,{ecmaVersion:9,preserveParens:!0,sourceType:"module",onComment:function(e,t){if(!r){var n=/@jsx\s+([^\s]+)/.exec(t);n&&(r=n[1])}},plugins:{jsx:!0,dynamicImport:!0}}),t.jsx=r||t.jsx}catch(t){throw t.snippet=getSnippet(e,t.loc),t.toString=function(){return t.name+": "+t.message+"\n"+t.snippet},t}var i=function target(e){var t=Object.keys(e).length?1048575:262144;Object.keys(e).forEach((function(n){var r=ue[n];if(!r)throw new Error("Unknown environment '"+n+"'. Please raise an issue at https://github.com/Rich-Harris/buble/issues");var i=e[n];if(!(i in r))throw new Error("Support data exists for the following versions of "+n+": "+Object.keys(r).join(", ")+". Please raise an issue at https://github.com/Rich-Harris/buble/issues");var o=r[i];t&=o}));var n=Object.create(null);return le.forEach((function(e,r){n[e]=!(t&1<=r.length)return"\t";var i=r.reduce((function(e,t){var n=/^ +/.exec(t)[0].length;return Math.min(n,e)}),1/0);return new Array(i+1).join(" ")}function getRelativePath(e,t){var n=e.split(/[\/\\]/),r=t.split(/[\/\\]/);for(n.pop();n[0]===r[0];)n.shift(),r.shift();if(n.length)for(var i=n.length;i--;)n[i]="..";return n.concat(r).join("/")}SourceMap.prototype={toString:function toString(){return JSON.stringify(this)},toUrl:function toUrl(){return"data:application/json;charset=utf-8;base64,"+o(this.toString())}};var a=Object.prototype.toString;function isObject(e){return"[object Object]"===a.call(e)}function getLocator(e){var t=e.split("\n"),n=0,r=t.map((function(e,t){var r=n+e.length+1,i={start:n,end:r,line:t};return n=r,i})),i=0;function rangeContains(e,t){return e.start<=t&&t=t.end?1:-1;t;){if(rangeContains(t,e))return getLocation(t,e);t=r[i+=n]}}}function Mappings(e){var t=this,n={generatedCodeColumn:0,sourceIndex:0,sourceCodeLine:0,sourceCodeColumn:0,sourceCodeName:0},r=0,o=0;this.raw=[];var a=this.raw[r]=[],s=null;this.addEdit=function(e,n,r,i,u){n.length?a.push([o,e,i.line,i.column,u]):s&&a.push(s),t.advance(n),s=null},this.addUneditedChunk=function(n,i,u,l,c){for(var p=i.start,f=!0;p=e&&n<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(n);var r=this.byStart[e],i=this.byEnd[t],o=r.previous,a=i.next,s=this.byStart[n];if(!s&&i===this.lastChunk)return this;var u=s?s.previous:this.lastChunk;return o&&(o.next=a),a&&(a.previous=o),u&&(u.next=r),s&&(s.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=u,i.next=s||null,u||(this.firstChunk=r),s||(this.lastChunk=i),this},overwrite:function overwrite(e,t,n,r){if("string"!=typeof n)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===r&&(u.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),u.storeName=!0),r={storeName:!0});var i=void 0!==r&&r.storeName,o=void 0!==r&&r.contentOnly;if(i){var a=this.original.slice(e,t);this.storedNames[a]=!0}var s=this.byStart[e],l=this.byEnd[t];if(s){if(t>s.end&&s.next!==this.byStart[s.end])throw new Error("Cannot overwrite across a split point");if(s.edit(n,i,o),s!==l){for(var c=s.next;c!==l;)c.edit("",!1),c=c.next;c.edit("",!1)}}else{var p=new Chunk(e,t,"").edit(n,i);l.next=p,p.previous=l}return this},prepend:function prepend(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},prependLeft:function prependLeft(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this},prependRight:function prependRight(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this},remove:function remove(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);for(var n=this.byStart[e];n;)n.intro="",n.outro="",n.edit(""),n=t>n.end?this.byStart[n.end]:null;return this},slice:function slice(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var n="",r=this.firstChunk;r&&(r.start>e||r.end<=e);){if(r.start=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var i=r;r;){!r.intro||i===r&&r.start!==e||(n+=r.intro);var o=r.start=t;if(o&&r.edited&&r.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var a=i===r?e-r.start:0,s=o?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(a,s),!r.outro||o&&r.end!==t||(n+=r.outro),o)break;r=r.next}return n},snip:function snip(e,t){var n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n},_split:function _split(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,n=e>t.end;;){if(t.contains(e))return this._splitChunk(t,e);t=n?this.byStart[t.end]:this.byEnd[t.start]}},_splitChunk:function _splitChunk(e,t){if(e.edited&&e.content.length){var n=getLocator(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+n.line+":"+n.column+' – "'+e.original+'")')}var r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0},toString:function toString(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},trimLines:function trimLines(){return this.trim("[\\r\\n]")},trim:function trim(e){return this.trimStart(e).trimEnd(e)},trimEnd:function trimEnd(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return this;var n=this.lastChunk;do{var r=n.end,i=n.trimEnd(t);if(n.end!==r&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.previous}while(n);return this},trimStart:function trimStart(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return this;var n=this.firstChunk;do{var r=n.end,i=n.trimStart(t);if(n.end!==r&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.next}while(n);return this}};var l=Object.prototype.hasOwnProperty;function Bundle(e){void 0===e&&(e={}),this.intro=e.intro||"",this.separator=void 0!==e.separator?e.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}Bundle.prototype={addSource:function addSource(e){if(e instanceof MagicString$1)return this.addSource({content:e,filename:e.filename,separator:this.separator});if(!isObject(e)||!e.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach((function(t){l.call(e,t)||(e[t]=e.content[t])})),void 0===e.separator&&(e.separator=this.separator),e.filename)if(l.call(this.uniqueSourceIndexByFilename,e.filename)){var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content)throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}else this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:e.filename,content:e.content.original});return this.sources.push(e),this},append:function append(e,t){return this.addSource({content:new MagicString$1(e),separator:t&&t.separator||""}),this},clone:function clone(){var e=new Bundle({intro:this.intro,separator:this.separator});return this.sources.forEach((function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})})),e},generateMap:function generateMap(e){var t=this;void 0===e&&(e={});var n=[];this.sources.forEach((function(e){Object.keys(e.content.storedNames).forEach((function(e){~n.indexOf(e)||n.push(e)}))}));var r=new Mappings(e.hires);return this.intro&&r.advance(this.intro),this.sources.forEach((function(e,i){i>0&&r.advance(t.separator);var o=e.filename?t.uniqueSourceIndexByFilename[e.filename]:-1,a=e.content,s=getLocator(a.original);a.intro&&r.advance(a.intro),a.firstChunk.eachNext((function(t){var i=s(t.start);t.intro.length&&r.advance(t.intro),e.filename?t.edited?r.addEdit(o,t.content,t.original,i,t.storeName?n.indexOf(t.original):-1):r.addUneditedChunk(o,t,a.original,i,a.sourcemapLocations):r.advance(t.content),t.outro.length&&r.advance(t.outro)})),a.outro&&r.advance(a.outro)})),new SourceMap({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:this.uniqueSources.map((function(t){return e.file?getRelativePath(e.file,t.filename):t.filename})),sourcesContent:this.uniqueSources.map((function(t){return e.includeContent?t.content:null})),names:n,mappings:r.encode()})},getIndentString:function getIndentString(){var e={};return this.sources.forEach((function(t){var n=t.content.indentStr;null!==n&&(e[n]||(e[n]=0),e[n]+=1)})),Object.keys(e).sort((function(t,n){return e[t]-e[n]}))[0]||"\t"},indent:function indent(e){var t=this;if(arguments.length||(e=this.getIndentString()),""===e)return this;var n=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach((function(r,i){var o=void 0!==r.separator?r.separator:t.separator,a=n||i>0&&/\r?\n$/.test(o);r.content.indent(e,{exclude:r.indentExclusionRanges,indentStart:a}),n="\n"===r.content.toString().slice(0,-1)})),this.intro&&(this.intro=e+this.intro.replace(/^[^\n]/gm,(function(t,n){return n>0?e+t:t}))),this},prepend:function prepend(e){return this.intro=e+this.intro,this},toString:function toString(){var e=this,t=this.sources.map((function(t,n){var r=void 0!==t.separator?t.separator:e.separator;return(n>0?r:"")+t.content.toString()})).join("");return this.intro+t},trimLines:function trimLines(){return this.trim("[\\r\\n]")},trim:function trim(e){return this.trimStart(e).trimEnd(e)},trimStart:function trimStart(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),!this.intro){var n,r=0;do{if(!(n=this.sources[r]))break;n.content.trimStart(e),r+=1}while(""===n.content.toString())}return this},trimEnd:function trimEnd(e){var t,n=new RegExp((e||"\\s")+"+$"),r=this.sources.length-1;do{if(!(t=this.sources[r])){this.intro=this.intro.replace(n,"");break}t.content.trimEnd(e),r-=1}while(""===t.content.toString());return this}},t.a=MagicString$1}).call(this,n(218).Buffer,n(143))},function(e,t,n){"use strict";n.d(t,"a",(function(){return encode}));var r={},i={};function encode(e){var t;if("number"==typeof e)t=encodeInteger(e);else{t="";for(var n=0;n>=5)>0&&(n|=32),t+=i[n]}while(e>0);return t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach((function(e,t){r[e]=t,i[t]=e}))},function(e,t,n){"use strict";n.r(t),n.d(t,"version",(function(){return re})),n.d(t,"parse",(function(){return parse})),n.d(t,"parseExpressionAt",(function(){return parseExpressionAt})),n.d(t,"tokenizer",(function(){return tokenizer})),n.d(t,"parse_dammit",(function(){return ee})),n.d(t,"LooseParser",(function(){return te})),n.d(t,"pluginsLoose",(function(){return ne})),n.d(t,"addLooseExports",(function(){return addLooseExports})),n.d(t,"Parser",(function(){return R})),n.d(t,"plugins",(function(){return T})),n.d(t,"defaultOptions",(function(){return O})),n.d(t,"Position",(function(){return C})),n.d(t,"SourceLocation",(function(){return P})),n.d(t,"getLineInfo",(function(){return getLineInfo})),n.d(t,"Node",(function(){return z})),n.d(t,"TokenType",(function(){return h})),n.d(t,"tokTypes",(function(){return y})),n.d(t,"keywordTypes",(function(){return g})),n.d(t,"TokContext",(function(){return H})),n.d(t,"tokContexts",(function(){return G})),n.d(t,"isIdentifierChar",(function(){return isIdentifierChar})),n.d(t,"isIdentifierStart",(function(){return isIdentifierStart})),n.d(t,"Token",(function(){return Z})),n.d(t,"isNewLine",(function(){return isNewLine})),n.d(t,"lineBreak",(function(){return b})),n.d(t,"lineBreakG",(function(){return v})),n.d(t,"nonASCIIwhitespace",(function(){return _}));var r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",o={5:i,6:i+" const class extends export import super"},a=/^in(stanceof)?$/,s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿯ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞹꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",l=new RegExp("["+s+"]"),c=new RegExp("["+s+u+"]");s=u=null;var p=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,477,28,11,0,9,21,190,52,76,44,33,24,27,35,30,0,12,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,26,230,43,117,63,32,0,257,0,11,39,8,0,22,0,12,39,3,3,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,270,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,68,12,0,67,12,65,1,31,6129,15,754,9486,286,82,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,15,7472,3104,541],f=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,525,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,4,9,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,280,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239];function isInAstralSet(e,t){for(var n=65536,r=0;re)return!1;if((n+=t[r+1])>=e)return!0}}function isIdentifierStart(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&isInAstralSet(e,p)))}function isIdentifierChar(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&(isInAstralSet(e,p)||isInAstralSet(e,f)))))}var h=function TokenType(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function binop(e,t){return new h(e,{beforeExpr:!0,binop:t})}var d={beforeExpr:!0},m={startsExpr:!0},g={};function kw(e,t){return void 0===t&&(t={}),t.keyword=e,g[e]=new h(e,t)}var y={num:new h("num",m),regexp:new h("regexp",m),string:new h("string",m),name:new h("name",m),eof:new h("eof"),bracketL:new h("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new h("]"),braceL:new h("{",{beforeExpr:!0,startsExpr:!0}),braceR:new h("}"),parenL:new h("(",{beforeExpr:!0,startsExpr:!0}),parenR:new h(")"),comma:new h(",",d),semi:new h(";",d),colon:new h(":",d),dot:new h("."),question:new h("?",d),arrow:new h("=>",d),template:new h("template"),invalidTemplate:new h("invalidTemplate"),ellipsis:new h("...",d),backQuote:new h("`",m),dollarBraceL:new h("${",{beforeExpr:!0,startsExpr:!0}),eq:new h("=",{beforeExpr:!0,isAssign:!0}),assign:new h("_=",{beforeExpr:!0,isAssign:!0}),incDec:new h("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new h("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new h("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new h("**",{beforeExpr:!0}),_break:kw("break"),_case:kw("case",d),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",d),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",d),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",m),_if:kw("if"),_return:kw("return",d),_switch:kw("switch"),_throw:kw("throw",d),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",m),_super:kw("super",m),_class:kw("class",m),_extends:kw("extends",d),_export:kw("export"),_import:kw("import"),_null:kw("null",m),_true:kw("true",m),_false:kw("false",m),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},b=/\r\n?|\n|\u2028|\u2029/,v=new RegExp(b.source,"g");function isNewLine(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var _=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,x=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,w=Object.prototype,k=w.hasOwnProperty,S=w.toString;function has(e,t){return k.call(e,t)}var E=Array.isArray||function(e){return"[object Array]"===S.call(e)},C=function Position(e,t){this.line=e,this.column=t};C.prototype.offset=function offset(e){return new C(this.line,this.column+e)};var P=function SourceLocation(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function getLineInfo(e,t){for(var n=1,r=0;;){v.lastIndex=r;var i=v.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),E(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return E(t.onComment)&&(t.onComment=function pushComment(e,t){return function(n,r,i,o,a,s){var u={type:n?"Block":"Line",value:r,start:i,end:o};e.locations&&(u.loc=new P(this,a,s)),e.ranges&&(u.range=[i,o]),t.push(u)}}(t,t.onComment)),t}var T={};function keywordRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var R=function Parser(e,t,n){this.options=e=getOptions(e),this.sourceFile=e.sourceFile,this.keywords=keywordRegexp(o[e.ecmaVersion>=6?6:5]);var i="";if(!e.allowReserved){for(var a=e.ecmaVersion;!(i=r[a]);a--);"module"===e.sourceType&&(i+=" await")}this.reservedWords=keywordRegexp(i);var s=(i?i+" ":"")+r.strict;this.reservedWordsStrict=keywordRegexp(s),this.reservedWordsStrictBind=keywordRegexp(s+" "+r.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(b).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=y.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterFunctionScope(),this.regexpState=null};R.prototype.isKeyword=function isKeyword(e){return this.keywords.test(e)},R.prototype.isReservedWord=function isReservedWord(e){return this.reservedWords.test(e)},R.prototype.extend=function extend(e,t){this[e]=t(this[e])},R.prototype.loadPlugins=function loadPlugins(e){for(var t in e){var n=T[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},R.prototype.parse=function parse(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var j=R.prototype,A=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)"|;)/;function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}j.strictDirective=function(e){for(;;){x.lastIndex=e,e+=x.exec(this.input)[0].length;var t=A.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2]))return!0;e+=t[0].length}},j.eat=function(e){return this.type===e&&(this.next(),!0)},j.isContextual=function(e){return this.type===y.name&&this.value===e&&!this.containsEsc},j.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},j.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},j.canInsertSemicolon=function(){return this.type===y.eof||this.type===y.braceR||b.test(this.input.slice(this.lastTokEnd,this.start))},j.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},j.semicolon=function(){this.eat(y.semi)||this.insertSemicolon()||this.unexpected()},j.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},j.expect=function(e){this.eat(e)||this.unexpected()},j.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},j.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},j.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},j.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var M={kind:"loop"},N={kind:"switch"};I.isLet=function(){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;x.lastIndex=this.pos;var e=x.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123===n)return!0;if(isIdentifierStart(n,!0)){for(var r=t+1;isIdentifierChar(this.input.charCodeAt(r),!0);)++r;var i=this.input.slice(t,r);if(!a.test(i))return!0}return!1},I.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;x.lastIndex=this.pos;var e=x.exec(this.input),t=this.pos+e[0].length;return!(b.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!==this.input.length&&isIdentifierChar(this.input.charAt(t+8)))},I.parseStatement=function(e,t,n){var r,i=this.type,o=this.startNode();switch(this.isLet()&&(i=y._var,r="let"),i){case y._break:case y._continue:return this.parseBreakContinueStatement(o,i.keyword);case y._debugger:return this.parseDebuggerStatement(o);case y._do:return this.parseDoStatement(o);case y._for:return this.parseForStatement(o);case y._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(o,!1);case y._class:return e||this.unexpected(),this.parseClass(o,!0);case y._if:return this.parseIfStatement(o);case y._return:return this.parseReturnStatement(o);case y._switch:return this.parseSwitchStatement(o);case y._throw:return this.parseThrowStatement(o);case y._try:return this.parseTryStatement(o);case y._const:case y._var:return r=r||this.value,e||"var"===r||this.unexpected(),this.parseVarStatement(o,r);case y._while:return this.parseWhileStatement(o);case y._with:return this.parseWithStatement(o);case y.braceL:return this.parseBlock();case y.semi:return this.parseEmptyStatement(o);case y._export:case y._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===y._import?this.parseImport(o):this.parseExport(o,n);default:if(this.isAsyncFunction())return e||this.unexpected(),this.next(),this.parseFunctionStatement(o,!0);var a=this.value,s=this.parseExpression();return i===y.name&&"Identifier"===s.type&&this.eat(y.colon)?this.parseLabeledStatement(o,a,s):this.parseExpressionStatement(o,s)}},I.parseBreakContinueStatement=function(e,t){var n="break"===t;this.next(),this.eat(y.semi)||this.insertSemicolon()?e.label=null:this.type!==y.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(y.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},I.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(M),this.enterLexicalScope(),this.expect(y.parenL),this.type===y.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===y._var||this.type===y._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),!(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==r.declarations.length||"var"!==i&&r.declarations[0].init?(t>-1&&this.unexpected(t),this.parseFor(e,r)):(this.options.ecmaVersion>=9&&(this.type===y._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r))}var o=new DestructuringErrors,a=this.parseExpression(!0,o);return this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===y._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(a,!1,o),this.checkLVal(a),this.parseForIn(e,a)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,a))},I.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},I.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.type===y._function),e.alternate=this.eat(y._else)?this.parseStatement(!this.strict&&this.type===y._function):null,this.finishNode(e,"IfStatement")},I.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(y.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},I.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(y.braceL),this.labels.push(N),this.enterLexicalScope();for(var n=!1;this.type!==y.braceR;)if(this.type===y._case||this.type===y._default){var r=this.type===y._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(y.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(!0));return this.exitLexicalScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},I.parseThrowStatement=function(e){return this.next(),b.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var L=[];I.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===y._catch){var t=this.startNode();this.next(),this.eat(y.parenL)?(t.param=this.parseBindingAtom(),this.enterLexicalScope(),this.checkLVal(t.param,"let"),this.expect(y.parenR)):(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterLexicalScope()),t.body=this.parseBlock(!1),this.exitLexicalScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(y._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},I.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},I.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(M),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},I.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},I.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},I.parseLabeledStatement=function(e,t,n){for(var r=0,i=this.labels;r=0;a--){var s=this.labels[a];if(s.statementStart!==e.start)break;s.statementStart=this.start,s.kind=o}return this.labels.push({name:t,kind:o,statementStart:this.start}),e.body=this.parseStatement(!0),("ClassDeclaration"===e.body.type||"VariableDeclaration"===e.body.type&&"var"!==e.body.kind||"FunctionDeclaration"===e.body.type&&(this.strict||e.body.generator||e.body.async))&&this.raiseRecoverable(e.body.start,"Invalid labeled declaration"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},I.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},I.parseBlock=function(e){void 0===e&&(e=!0);var t=this.startNode();for(t.body=[],this.expect(y.braceL),e&&this.enterLexicalScope();!this.eat(y.braceR);){var n=this.parseStatement(!0);t.body.push(n)}return e&&this.exitLexicalScope(),this.finishNode(t,"BlockStatement")},I.parseFor=function(e,t){return e.init=t,this.expect(y.semi),e.test=this.type===y.semi?null:this.parseExpression(),this.expect(y.semi),e.update=this.type===y.parenR?null:this.parseExpression(),this.expect(y.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},I.parseForIn=function(e,t){var n=this.type===y._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"===n&&("AssignmentPattern"===t.type||"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(this.strict||"Identifier"!==t.declarations[0].id.type))&&this.raise(t.start,"Invalid assignment in for-in loop head"),e.left=t,e.right="ForInStatement"===n?this.parseExpression():this.parseMaybeAssign(),this.expect(y.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},I.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(y.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===r.id.type||t&&(this.type===y._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(y.comma))break}return e},I.parseVarId=function(e,t){e.id=this.parseBindingAtom(t),this.checkLVal(e.id,t,!1)},I.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(e.generator=this.eat(y.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&&(e.id="nullableID"===t&&this.type!==y.name?null:this.parseIdent(),e.id&&this.checkLVal(e.id,this.inModule&&!this.inFunction?"let":"var"));var i=this.inGenerator,o=this.inAsync,a=this.yieldPos,s=this.awaitPos,u=this.inFunction;return this.inGenerator=e.generator,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),t||(e.id=this.type===y.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=o,this.yieldPos=a,this.awaitPos=s,this.inFunction=u,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},I.parseFunctionParams=function(e){this.expect(y.parenL),e.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},I.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),r=!1;for(n.body=[],this.expect(y.braceL);!this.eat(y.braceR);){var i=this.parseClassMember(n);i&&"MethodDefinition"===i.type&&"constructor"===i.kind&&(r&&this.raise(i.start,"Duplicate constructor in the same class"),r=!0)}return e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},I.parseClassMember=function(e){var t=this;if(this.eat(y.semi))return null;var n=this.startNode(),tryContextual=function(e,r){void 0===r&&(r=!1);var i=t.start,o=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===y.parenL||r&&t.canInsertSemicolon())||(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,o),n.key.name=e,t.finishNode(n.key,"Identifier"),!1))};n.kind="method",n.static=tryContextual("static");var r=this.eat(y.star),i=!1;r||(this.options.ecmaVersion>=8&&tryContextual("async",!0)?(i=!0,r=this.options.ecmaVersion>=9&&this.eat(y.star)):tryContextual("get")?n.kind="get":tryContextual("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),r&&this.raise(o.start,"Constructor can't be a generator"),i&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor"),this.parseClassMethod(e,n,r,i),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},I.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},I.parseClassId=function(e,t){e.id=this.type===y.name?this.parseIdent():!0===t?this.unexpected():null},I.parseClassSuper=function(e){e.superClass=this.eat(y._extends)?this.parseExprSubscripts():null},I.parseExport=function(e,t){if(this.next(),this.eat(y.star))return this.expectContextual("from"),this.type!==y.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(y._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===y._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,"nullableID",!1,n)}else if(this.type===y._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==y.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var o=0,a=e.specifiers;o=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,i=e.key;switch(i.type){case"Identifier":r=i.name;break;case"Literal":r=String(i.value);break;default:return}var o=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===o&&(t.proto&&(n&&n.doubleProto<0?n.doubleProto=i.start:this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);else{var a=t[r="$"+r];if(a)("init"===o?this.strict&&a.init||a.get||a.set:a.init||a[o])&&this.raiseRecoverable(i.start,"Redefinition of property");else a=t[r]={init:!1,get:!1,set:!1};a[o]=!0}}},B.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===y.comma){var o=this.startNodeAt(n,r);for(o.expressions=[i];this.eat(y.comma);)o.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(o,"SequenceExpression")}return i},B.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1,i=-1,o=-1;t?(i=t.parenthesizedAssign,o=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new DestructuringErrors,r=!0);var a=this.start,s=this.startLoc;this.type!==y.parenL&&this.type!==y.name||(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(n&&(u=n.call(this,u,a,s)),this.type.isAssign){var l=this.startNodeAt(a,s);return l.operator=this.value,l.left=this.type===y.eq?this.toAssignable(u,!1,t):u,r||DestructuringErrors.call(t),t.shorthandAssign=-1,this.checkLVal(u),this.next(),l.right=this.parseMaybeAssign(e),this.finishNode(l,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),o>-1&&(t.trailingComma=o),u},B.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(y.question)){var o=this.startNodeAt(n,r);return o.test=i,o.consequent=this.parseMaybeAssign(),this.expect(y.colon),o.alternate=this.parseMaybeAssign(e),this.finishNode(o,"ConditionalExpression")}return i},B.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:i.start===n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,e)},B.parseExprOp=function(e,t,n,r,i){var o=this.type.binop;if(null!=o&&(!i||this.type!==y._in)&&o>r){var a=this.type===y.logicalOR||this.type===y.logicalAND,s=this.value;this.next();var u=this.start,l=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1),u,l,o,i),p=this.buildBinary(t,n,e,c,s,a);return this.parseExprOp(p,t,n,r,i)}return e},B.buildBinary=function(e,t,n,r,i,o){var a=this.startNodeAt(e,t);return a.left=n,a.operator=i,a.right=r,this.finishNode(a,o?"LogicalExpression":"BinaryExpression")},B.parseMaybeUnary=function(e,t){var n,r=this.start,i=this.startLoc;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))n=this.parseAwait(),t=!0;else if(this.type.prefix){var o=this.startNode(),a=this.type===y.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),a?this.checkLVal(o.argument):this.strict&&"delete"===o.operator&&"Identifier"===o.argument.type?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(o,a?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(r,i);s.operator=this.value,s.prefix=!1,s.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(s,"UpdateExpression")}}return!t&&this.eat(y.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n},B.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||i)return r;var o=this.parseSubscripts(r,t,n);return e&&"MemberExpression"===o.type&&(e.parenthesizedAssign>=o.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=o.start&&(e.parenthesizedBind=-1)),o},B.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end),o=void 0;;)if((o=this.eat(y.bracketL))||this.eat(y.dot)){var a=this.startNodeAt(t,n);a.object=e,a.property=o?this.parseExpression():this.parseIdent(!0),a.computed=!!o,o&&this.expect(y.bracketR),e=this.finishNode(a,"MemberExpression")}else if(!r&&this.eat(y.parenL)){var s=new DestructuringErrors,u=this.yieldPos,l=this.awaitPos;this.yieldPos=0,this.awaitPos=0;var c=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1,s);if(i&&!this.canInsertSemicolon()&&this.eat(y.arrow))return this.checkPatternErrors(s,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=u,this.awaitPos=l,this.parseArrowExpression(this.startNodeAt(t,n),c,!0);this.checkExpressionErrors(s,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=l||this.awaitPos;var p=this.startNodeAt(t,n);p.callee=e,p.arguments=c,e=this.finishNode(p,"CallExpression")}else{if(this.type!==y.backQuote)return e;var f=this.startNodeAt(t,n);f.tag=e,f.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(f,"TaggedTemplateExpression")}},B.parseExprAtom=function(e){var t,n=this.potentialArrowAt===this.start;switch(this.type){case y._super:return this.inFunction||this.raise(this.start,"'super' outside of function or class"),t=this.startNode(),this.next(),this.type!==y.dot&&this.type!==y.bracketL&&this.type!==y.parenL&&this.unexpected(),this.finishNode(t,"Super");case y._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case y.name:var r=this.start,i=this.startLoc,o=this.containsEsc,a=this.parseIdent(this.type!==y.name);if(this.options.ecmaVersion>=8&&!o&&"async"===a.name&&!this.canInsertSemicolon()&&this.eat(y._function))return this.parseFunction(this.startNodeAt(r,i),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(y.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[a],!1);if(this.options.ecmaVersion>=8&&"async"===a.name&&this.type===y.name&&!o)return a=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(y.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[a],!0)}return a;case y.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;case y.num:case y.string:return this.parseLiteral(this.value);case y._null:case y._true:case y._false:return(t=this.startNode()).value=this.type===y._null?null:this.type===y._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case y.parenL:var u=this.start,l=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),l;case y.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(y.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case y.braceL:return this.parseObj(!1,e);case y._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case y._class:return this.parseClass(this.startNode(),!1);case y._new:return this.parseNew();case y.backQuote:return this.parseTemplate();default:this.unexpected()}},B.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},B.parseParenExpression=function(){this.expect(y.parenL);var e=this.parseExpression();return this.expect(y.parenR),e},B.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o,a=this.start,s=this.startLoc,u=[],l=!0,c=!1,p=new DestructuringErrors,f=this.yieldPos,h=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==y.parenR;){if(l?l=!1:this.expect(y.comma),i&&this.afterTrailingComma(y.parenR,!0)){c=!0;break}if(this.type===y.ellipsis){o=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,p,this.parseParenItem))}var d=this.start,m=this.startLoc;if(this.expect(y.parenR),e&&!this.canInsertSemicolon()&&this.eat(y.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=f,this.awaitPos=h,this.parseParenArrowList(n,r,u);u.length&&!c||this.unexpected(this.lastTokStart),o&&this.unexpected(o),this.checkExpressionErrors(p,!0),this.yieldPos=f||this.yieldPos,this.awaitPos=h||this.awaitPos,u.length>1?((t=this.startNodeAt(a,s)).expressions=u,this.finishNodeAt(t,"SequenceExpression",d,m)):t=u[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var g=this.startNodeAt(n,r);return g.expression=t,this.finishNode(g,"ParenthesizedExpression")}return t},B.parseParenItem=function(e){return e},B.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var F=[];B.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(y.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||n)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),this.eat(y.parenL)?e.arguments=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1):e.arguments=F,this.finishNode(e,"NewExpression")},B.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===y.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===y.backQuote,this.finishNode(n,"TemplateElement")},B.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===y.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(y.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(y.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},B.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===y.name||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===y.star)&&!b.test(this.input.slice(this.lastTokEnd,this.start))},B.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(y.braceR);){if(r)r=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,i,t),n.properties.push(o)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},B.parseProperty=function(e,t){var n,r,i,o,a=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(y.ellipsis))return e?(a.argument=this.parseIdent(!1),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(this.type===y.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),a.argument=this.parseMaybeAssign(!1,t),this.type===y.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(a,"SpreadElement"));this.options.ecmaVersion>=6&&(a.method=!1,a.shorthand=!1,(e||t)&&(i=this.start,o=this.startLoc),e||(n=this.eat(y.star)));var s=this.containsEsc;return this.parsePropertyName(a),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(a)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(y.star),this.parsePropertyName(a,t)):r=!1,this.parsePropertyValue(a,e,n,r,i,o,t,s),this.finishNode(a,"Property")},B.parsePropertyValue=function(e,t,n,r,i,o,a,s){if((n||r)&&this.type===y.colon&&this.unexpected(),this.eat(y.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===y.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===y.comma||this.type===y.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?(this.checkUnreserved(e.key),e.kind="init",t?e.value=this.parseMaybeDefault(i,o,e.key):this.type===y.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,o,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var l=e.value.start;"get"===e.kind?this.raiseRecoverable(l,"getter should have no params"):this.raiseRecoverable(l,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},B.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(y.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(y.bracketR),e.key;e.computed=!1}return e.key=this.type===y.num||this.type===y.string?this.parseExprAtom():this.parseIdent(!0)},B.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},B.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,o=this.yieldPos,a=this.awaitPos,s=this.inFunction;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.inGenerator=n.generator,this.inAsync=n.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),this.expect(y.parenL),n.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=o,this.awaitPos=a,this.inFunction=s,this.finishNode(n,"FunctionExpression")},B.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,o=this.yieldPos,a=this.awaitPos,s=this.inFunction;return this.enterFunctionScope(),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=r,this.inAsync=i,this.yieldPos=o,this.awaitPos=a,this.inFunction=s,this.finishNode(e,"ArrowFunctionExpression")},B.parseFunctionBody=function(e,t){var n=t&&this.type!==y.braceL,r=this.strict,i=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!o||(i=this.strictDirective(this.end))&&o&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var a=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!r&&!i&&!t&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=a}this.exitFunctionScope(),this.strict&&e.id&&this.checkLVal(e.id,"none"),this.strict=r},B.isSimpleParamList=function(e){for(var t=0,n=e;t0;)t[n]=arguments[n+1];for(var r=0,i=t;r=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},K.updateContext=function(e){var t,n=this.type;n.keyword&&e===y.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},y.parenR.updateContext=y.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===G.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},y.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?G.b_stat:G.b_expr),this.exprAllowed=!0},y.dollarBraceL.updateContext=function(){this.context.push(G.b_tmpl),this.exprAllowed=!0},y.parenL.updateContext=function(e){var t=e===y._if||e===y._for||e===y._with||e===y._while;this.context.push(t?G.p_stat:G.p_expr),this.exprAllowed=!0},y.incDec.updateContext=function(){},y._function.updateContext=y._class.updateContext=function(e){e.beforeExpr&&e!==y.semi&&e!==y._else&&(e!==y.colon&&e!==y.braceL||this.curContext()!==G.b_stat)?this.context.push(G.f_expr):this.context.push(G.f_stat),this.exprAllowed=!1},y.backQuote.updateContext=function(){this.curContext()===G.q_tmpl?this.context.pop():this.context.push(G.q_tmpl),this.exprAllowed=!1},y.star.updateContext=function(e){if(e===y._function){var t=this.context.length-1;this.context[t]===G.f_expr?this.context[t]=G.f_expr_gen:this.context[t]=G.f_gen}this.exprAllowed=!0},y.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==y.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var J={$LONE:["ASCII","ASCII_Hex_Digit","AHex","Alphabetic","Alpha","Any","Assigned","Bidi_Control","Bidi_C","Bidi_Mirrored","Bidi_M","Case_Ignorable","CI","Cased","Changes_When_Casefolded","CWCF","Changes_When_Casemapped","CWCM","Changes_When_Lowercased","CWL","Changes_When_NFKC_Casefolded","CWKCF","Changes_When_Titlecased","CWT","Changes_When_Uppercased","CWU","Dash","Default_Ignorable_Code_Point","DI","Deprecated","Dep","Diacritic","Dia","Emoji","Emoji_Component","Emoji_Modifier","Emoji_Modifier_Base","Emoji_Presentation","Extender","Ext","Grapheme_Base","Gr_Base","Grapheme_Extend","Gr_Ext","Hex_Digit","Hex","IDS_Binary_Operator","IDSB","IDS_Trinary_Operator","IDST","ID_Continue","IDC","ID_Start","IDS","Ideographic","Ideo","Join_Control","Join_C","Logical_Order_Exception","LOE","Lowercase","Lower","Math","Noncharacter_Code_Point","NChar","Pattern_Syntax","Pat_Syn","Pattern_White_Space","Pat_WS","Quotation_Mark","QMark","Radical","Regional_Indicator","RI","Sentence_Terminal","STerm","Soft_Dotted","SD","Terminal_Punctuation","Term","Unified_Ideograph","UIdeo","Uppercase","Upper","Variation_Selector","VS","White_Space","space","XID_Continue","XIDC","XID_Start","XIDS"],General_Category:["Cased_Letter","LC","Close_Punctuation","Pe","Connector_Punctuation","Pc","Control","Cc","cntrl","Currency_Symbol","Sc","Dash_Punctuation","Pd","Decimal_Number","Nd","digit","Enclosing_Mark","Me","Final_Punctuation","Pf","Format","Cf","Initial_Punctuation","Pi","Letter","L","Letter_Number","Nl","Line_Separator","Zl","Lowercase_Letter","Ll","Mark","M","Combining_Mark","Math_Symbol","Sm","Modifier_Letter","Lm","Modifier_Symbol","Sk","Nonspacing_Mark","Mn","Number","N","Open_Punctuation","Ps","Other","C","Other_Letter","Lo","Other_Number","No","Other_Punctuation","Po","Other_Symbol","So","Paragraph_Separator","Zp","Private_Use","Co","Punctuation","P","punct","Separator","Z","Space_Separator","Zs","Spacing_Mark","Mc","Surrogate","Cs","Symbol","S","Titlecase_Letter","Lt","Unassigned","Cn","Uppercase_Letter","Lu"],Script:["Adlam","Adlm","Ahom","Anatolian_Hieroglyphs","Hluw","Arabic","Arab","Armenian","Armn","Avestan","Avst","Balinese","Bali","Bamum","Bamu","Bassa_Vah","Bass","Batak","Batk","Bengali","Beng","Bhaiksuki","Bhks","Bopomofo","Bopo","Brahmi","Brah","Braille","Brai","Buginese","Bugi","Buhid","Buhd","Canadian_Aboriginal","Cans","Carian","Cari","Caucasian_Albanian","Aghb","Chakma","Cakm","Cham","Cherokee","Cher","Common","Zyyy","Coptic","Copt","Qaac","Cuneiform","Xsux","Cypriot","Cprt","Cyrillic","Cyrl","Deseret","Dsrt","Devanagari","Deva","Duployan","Dupl","Egyptian_Hieroglyphs","Egyp","Elbasan","Elba","Ethiopic","Ethi","Georgian","Geor","Glagolitic","Glag","Gothic","Goth","Grantha","Gran","Greek","Grek","Gujarati","Gujr","Gurmukhi","Guru","Han","Hani","Hangul","Hang","Hanunoo","Hano","Hatran","Hatr","Hebrew","Hebr","Hiragana","Hira","Imperial_Aramaic","Armi","Inherited","Zinh","Qaai","Inscriptional_Pahlavi","Phli","Inscriptional_Parthian","Prti","Javanese","Java","Kaithi","Kthi","Kannada","Knda","Katakana","Kana","Kayah_Li","Kali","Kharoshthi","Khar","Khmer","Khmr","Khojki","Khoj","Khudawadi","Sind","Lao","Laoo","Latin","Latn","Lepcha","Lepc","Limbu","Limb","Linear_A","Lina","Linear_B","Linb","Lisu","Lycian","Lyci","Lydian","Lydi","Mahajani","Mahj","Malayalam","Mlym","Mandaic","Mand","Manichaean","Mani","Marchen","Marc","Masaram_Gondi","Gonm","Meetei_Mayek","Mtei","Mende_Kikakui","Mend","Meroitic_Cursive","Merc","Meroitic_Hieroglyphs","Mero","Miao","Plrd","Modi","Mongolian","Mong","Mro","Mroo","Multani","Mult","Myanmar","Mymr","Nabataean","Nbat","New_Tai_Lue","Talu","Newa","Nko","Nkoo","Nushu","Nshu","Ogham","Ogam","Ol_Chiki","Olck","Old_Hungarian","Hung","Old_Italic","Ital","Old_North_Arabian","Narb","Old_Permic","Perm","Old_Persian","Xpeo","Old_South_Arabian","Sarb","Old_Turkic","Orkh","Oriya","Orya","Osage","Osge","Osmanya","Osma","Pahawh_Hmong","Hmng","Palmyrene","Palm","Pau_Cin_Hau","Pauc","Phags_Pa","Phag","Phoenician","Phnx","Psalter_Pahlavi","Phlp","Rejang","Rjng","Runic","Runr","Samaritan","Samr","Saurashtra","Saur","Sharada","Shrd","Shavian","Shaw","Siddham","Sidd","SignWriting","Sgnw","Sinhala","Sinh","Sora_Sompeng","Sora","Soyombo","Soyo","Sundanese","Sund","Syloti_Nagri","Sylo","Syriac","Syrc","Tagalog","Tglg","Tagbanwa","Tagb","Tai_Le","Tale","Tai_Tham","Lana","Tai_Viet","Tavt","Takri","Takr","Tamil","Taml","Tangut","Tang","Telugu","Telu","Thaana","Thaa","Thai","Tibetan","Tibt","Tifinagh","Tfng","Tirhuta","Tirh","Ugaritic","Ugar","Vai","Vaii","Warang_Citi","Wara","Yi","Yiii","Zanabazar_Square","Zanb"]};Array.prototype.push.apply(J.$LONE,J.General_Category),J.gc=J.General_Category,J.sc=J.Script_Extensions=J.scx=J.Script;var $=R.prototype,X=function RegExpValidationState(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function codePointToString$1(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function isSyntaxCharacter(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||95===e}function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}function isDecimalDigit(e){return e>=48&&e<=57}function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function isOctalDigit(e){return e>=48&&e<=55}X.prototype.reset=function reset(e,t,n){var r=-1!==n.indexOf("u");this.start=0|e,this.source=t+"",this.flags=n,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},X.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},X.prototype.at=function at(e){var t=this.source,n=t.length;if(e>=n)return-1;var r=t.charCodeAt(e);return!this.switchU||r<=55295||r>=57344||e+1>=n?r:(r<<10)+t.charCodeAt(e+1)-56613888},X.prototype.nextIndex=function nextIndex(e){var t=this.source,n=t.length;if(e>=n)return n;var r=t.charCodeAt(e);return!this.switchU||r<=55295||r>=57344||e+1>=n?e+1:e+2},X.prototype.current=function current(){return this.at(this.pos)},X.prototype.lookahead=function lookahead(){return this.at(this.nextIndex(this.pos))},X.prototype.advance=function advance(){this.pos=this.nextIndex(this.pos)},X.prototype.eat=function eat(e){return this.current()===e&&(this.advance(),!0)},$.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=0;r-1&&this.raise(e.start,"Duplicate regular expression flag")}},$.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},$.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},$.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},$.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},$.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return-1!==i&&i=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},$.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},$.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},$.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!isSyntaxCharacter(t)&&(e.lastIntValue=t,e.advance(),!0)},$.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;-1!==(n=e.current())&&!isSyntaxCharacter(n);)e.advance();return e.pos!==t},$.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t)&&(e.advance(),!0)},$.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},$.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},$.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=codePointToString$1(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=codePointToString$1(e.lastIntValue);return!0}return!1},$.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=e.current();return e.advance(),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(n=e.lastIntValue),function isRegExpIdentifierStart(e){return isIdentifierStart(e,!0)||36===e||95===e}(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},$.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=e.current();return e.advance(),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(n=e.lastIntValue),function isRegExpIdentifierPart(e){return isIdentifierChar(e,!0)||36===e||95===e||8204===e||8205===e}(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},$.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},$.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},$.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},$.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},$.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},$.regexp_eatZero=function(e){return 48===e.current()&&!isDecimalDigit(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},$.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},$.regexp_eatControlLetter=function(e){var t=e.current();return!!isControlLetter(t)&&(e.lastIntValue=t%32,e.advance(),!0)},$.regexp_eatRegExpUnicodeEscapeSequence=function(e){var t=e.pos;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(e.switchU&&n>=55296&&n<=56319){var r=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(i>=56320&&i<=57343)return e.lastIntValue=1024*(n-55296)+(i-56320)+65536,!0}e.pos=r,e.lastIntValue=n}return!0}if(e.switchU&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&function isValidUnicode(e){return e>=0&&e<=1114111}(e.lastIntValue))return!0;e.switchU&&e.raise("Invalid unicode escape"),e.pos=t}return!1},$.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t)&&(e.lastIntValue=t,e.advance(),!0)},$.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1},$.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(function isCharacterClassEscape(e){return 100===e||68===e||115===e||83===e||119===e||87===e}(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},$.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1},$.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){J.hasOwnProperty(t)&&-1!==J[t].indexOf(n)||e.raise("Invalid property name")},$.regexp_validateUnicodePropertyNameOrValue=function(e,t){-1===J.$LONE.indexOf(t)&&e.raise("Invalid property name")},$.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";isUnicodePropertyNameCharacter(t=e.current());)e.lastStringValue+=codePointToString$1(t),e.advance();return""!==e.lastStringValue},$.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";isUnicodePropertyValueCharacter(t=e.current());)e.lastStringValue+=codePointToString$1(t),e.advance();return""!==e.lastStringValue},$.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},$.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},$.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;!e.switchU||-1!==t&&-1!==n||e.raise("Invalid character class"),-1!==t&&-1!==n&&t>n&&e.raise("Range out of order in character class")}}},$.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(99===n||isOctalDigit(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},$.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},$.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!isDecimalDigit(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},$.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},$.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;isDecimalDigit(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},$.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;isHexDigit(n=e.current());)e.lastIntValue=16*e.lastIntValue+hexToInt(n),e.advance();return e.pos!==t},$.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*n+e.lastIntValue:e.lastIntValue=8*t+n}else e.lastIntValue=t;return!0}return!1},$.regexp_eatOctalDigit=function(e){var t=e.current();return isOctalDigit(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},$.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r>10),56320+(1023&e)))}Y.next=function(){this.options.onToken&&this.options.onToken(new Z(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Y.getToken=function(){return this.next(),new Z(this)},"undefined"!=typeof Symbol&&(Y[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===y.eof,value:t}}}}),Y.curContext=function(){return this.context[this.context.length-1]},Y.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(y.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Y.readToken=function(e){return isIdentifierStart(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},Y.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},Y.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(v.lastIndex=n;(e=v.exec(this.input))&&e.index8&&e<14||e>=5760&&_.test(String.fromCharCode(e))))break e;++this.pos}}},Y.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},Y.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(y.ellipsis)):(++this.pos,this.finishToken(y.dot))},Y.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(y.assign,2):this.finishOp(y.slash,1)},Y.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?y.star:y.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++n,r=y.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(y.assign,n+1):this.finishOp(r,n)},Y.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?y.logicalOR:y.logicalAND,2):61===t?this.finishOp(y.assign,2):this.finishOp(124===e?y.bitwiseOR:y.bitwiseAND,1)},Y.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(y.assign,2):this.finishOp(y.bitwiseXOR,1)},Y.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!b.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(y.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(y.assign,2):this.finishOp(y.plusMin,1)},Y.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(y.assign,n+1):this.finishOp(y.bitShift,n)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(y.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Y.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(y.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(y.arrow)):this.finishOp(61===e?y.eq:y.prefix,1)},Y.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(y.parenL);case 41:return++this.pos,this.finishToken(y.parenR);case 59:return++this.pos,this.finishToken(y.semi);case 44:return++this.pos,this.finishToken(y.comma);case 91:return++this.pos,this.finishToken(y.bracketL);case 93:return++this.pos,this.finishToken(y.bracketR);case 123:return++this.pos,this.finishToken(y.braceL);case 125:return++this.pos,this.finishToken(y.braceR);case 58:return++this.pos,this.finishToken(y.colon);case 63:return++this.pos,this.finishToken(y.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(y.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(y.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString(e)+"'")},Y.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},Y.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(b.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if("["===r)t=!0;else if("]"===r&&t)t=!1;else if("/"===r&&!t)break;e="\\"===r}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var o=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(o);var s=this.regexpState||(this.regexpState=new X(this));s.reset(n,i,a),this.validateRegExpFlags(s),this.validateRegExpPattern(s);var u=null;try{u=new RegExp(i,a)}catch(e){}return this.finishToken(y.regexp,{pattern:i,flags:a,value:u})},Y.readInt=function(e,t){for(var n=this.pos,r=0,i=0,o=null==t?1/0:t;i=97?a-97+10:a>=65?a-65+10:a>=48&&a<=57?a-48:1/0)>=e)break;++this.pos,r=r*e+s}return this.pos===n||null!=t&&this.pos-n!==t?null:r},Y.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,t)},Y.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number"),n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1);var r=this.input.charCodeAt(this.pos);46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i=this.input.slice(t,this.pos),o=n?parseInt(i,8):parseFloat(i);return this.finishToken(y.num,o)},Y.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},Y.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(isNewLine(r,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(y.string,t)};var Q={};Y.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==Q)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Y.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Q;this.raise(e,t)},Y.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==y.template&&this.type!==y.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(y.template,e)):36===n?(this.pos+=2,this.finishToken(y.dollarBraceL)):(++this.pos,this.finishToken(y.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(isNewLine(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Y.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}return String.fromCharCode(t)}},Y.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},Y.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.posi;)J(e,n=r[i++],t[n]);return e},X=function propertyIsEnumerable(e){var t=B.call(this,e=w(e,!0));return!(this===q&&i(U,e)&&!i(V,e))&&(!(t||!i(this,e)||!i(U,e)||i(this,L)&&this[L][e])||t)},Z=function getOwnPropertyDescriptor(e,t){if(e=x(e),t=w(t,!0),e!==q||!i(U,t)||i(V,t)){var n=R(e,t);return!n||!i(U,t)||i(e,L)&&e[L][t]||(n.enumerable=!0),n}},Y=function getOwnPropertyNames(e){for(var t,n=A(x(e)),r=[],o=0;n.length>o;)i(U,t=n[o++])||t==L||t==u||r.push(t);return r},Q=function getOwnPropertySymbols(e){for(var t,n=e===q,r=A(n?V:x(e)),o=[],a=0;r.length>a;)!i(U,t=r[a++])||n&&!i(q,t)||o.push(U[t]);return o};z||(s((I=function Symbol(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),$set=function(t){this===q&&$set.call(V,t),i(this,L)&&i(this[L],e)&&(this[L][e]=!1),G(this,e,k(1,t))};return o&&H&&G(q,e,{configurable:!0,set:$set}),wrap(e)}).prototype,"toString",(function toString(){return this._k})),C.f=Z,O.f=J,n(54).f=E.f=Y,n(75).f=X,P.f=Q,o&&!n(50)&&s(q,"propertyIsEnumerable",X,!0),d.f=function(e){return wrap(h(e))}),a(a.G+a.W+a.F*!z,{Symbol:I});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)h(ee[te++]);for(var ne=T(h.store),re=0;ne.length>re;)m(ne[re++]);a(a.S+a.F*!z,"Symbol",{for:function(e){return i(F,e+="")?F[e]:F[e]=I(e)},keyFor:function keyFor(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a(a.S+a.F*!z,"Object",{create:function create(e,t){return void 0===t?S(e):$(S(e),t)},defineProperty:J,defineProperties:$,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Y,getOwnPropertySymbols:Q});var ie=l((function(){P.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function getOwnPropertySymbols(e){return P.f(_(e))}}),M&&a(a.S+a.F*(!z||l((function(){var e=I();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))}))),"JSON",{stringify:function stringify(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(v(t)||void 0!==e)&&!K(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,N.apply(M,r)}}),I.prototype[D]||n(23)(I.prototype,D,I.prototype.valueOf),p(I,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(e,t,n){e.exports=n(82)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(51),i=n(84),o=n(75);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),u=o.f,l=0;s.length>l;)u.call(e,a=s[l++])&&t.push(a);return t}},function(e,t,n){var r=n(2);r(r.S,"Object",{create:n(53)})},function(e,t,n){var r=n(2);r(r.S+r.F*!n(13),"Object",{defineProperty:n(14).f})},function(e,t,n){var r=n(2);r(r.S+r.F*!n(13),"Object",{defineProperties:n(172)})},function(e,t,n){var r=n(24),i=n(30).f;n(31)("getOwnPropertyDescriptor",(function(){return function getOwnPropertyDescriptor(e,t){return i(r(e),t)}}))},function(e,t,n){var r=n(18),i=n(55);n(31)("getPrototypeOf",(function(){return function getPrototypeOf(e){return i(r(e))}}))},function(e,t,n){var r=n(18),i=n(51);n(31)("keys",(function(){return function keys(e){return i(r(e))}}))},function(e,t,n){n(31)("getOwnPropertyNames",(function(){return n(173).f}))},function(e,t,n){var r=n(8),i=n(43).onFreeze;n(31)("freeze",(function(e){return function freeze(t){return e&&r(t)?e(i(t)):t}}))},function(e,t,n){var r=n(8),i=n(43).onFreeze;n(31)("seal",(function(e){return function seal(t){return e&&r(t)?e(i(t)):t}}))},function(e,t,n){var r=n(8),i=n(43).onFreeze;n(31)("preventExtensions",(function(e){return function preventExtensions(t){return e&&r(t)?e(i(t)):t}}))},function(e,t,n){var r=n(8);n(31)("isFrozen",(function(e){return function isFrozen(t){return!r(t)||!!e&&e(t)}}))},function(e,t,n){var r=n(8);n(31)("isSealed",(function(e){return function isSealed(t){return!r(t)||!!e&&e(t)}}))},function(e,t,n){var r=n(8);n(31)("isExtensible",(function(e){return function isExtensible(t){return!!r(t)&&(!e||e(t))}}))},function(e,t,n){var r=n(2);r(r.S+r.F,"Object",{assign:n(174)})},function(e,t,n){var r=n(2);r(r.S,"Object",{is:n(175)})},function(e,t,n){var r=n(2);r(r.S,"Object",{setPrototypeOf:n(123).set})},function(e,t,n){"use strict";var r=n(76),i={};i[n(10)("toStringTag")]="z",i+""!="[object z]"&&n(20)(Object.prototype,"toString",(function toString(){return"[object "+r(this)+"]"}),!0)},function(e,t,n){var r=n(2);r(r.P,"Function",{bind:n(176)})},function(e,t,n){var r=n(14).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||n(13)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(8),i=n(55),o=n(10)("hasInstance"),a=Function.prototype;o in a||n(14).f(a,o,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(2),i=n(178);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(e,t,n){var r=n(2),i=n(179);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(e,t,n){"use strict";var r=n(5),i=n(22),o=n(38),a=n(125),s=n(42),u=n(6),l=n(54).f,c=n(30).f,p=n(14).f,f=n(85).trim,h=r.Number,d=h,m=h.prototype,g="Number"==o(n(53)(m)),y="trim"in String.prototype,toNumber=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){var n,r,i,o=(t=y?t.trim():f(t,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+t}for(var a,u=t.slice(2),l=0,c=u.length;li)return NaN;return parseInt(u,r)}}return+t};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function Number(e){var t=arguments.length<1?0:e,n=this;return n instanceof h&&(g?u((function(){m.valueOf.call(n)})):"Number"!=o(n))?a(new d(toNumber(t)),n,h):toNumber(t)};for(var b,v=n(13)?l(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;v.length>_;_++)i(d,b=v[_])&&!i(h,b)&&p(h,b,c(d,b));h.prototype=m,m.constructor=h,n(20)(r,"Number",h)}},function(e,t,n){"use strict";var r=n(2),i=n(29),o=n(180),a=n(126),s=1..toFixed,u=Math.floor,l=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",multiply=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*l[n],l[n]=r%1e7,r=u(r/1e7)},divide=function(e){for(var t=6,n=0;--t>=0;)n+=l[t],l[t]=u(n/e),n=n%e*1e7},numToString=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==l[e]){var n=String(l[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t},pow=function(e,t,n){return 0===t?n:t%2==1?pow(e,t-1,n*e):pow(e*e,t/2,n)};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(6)((function(){s.call({})}))),"Number",{toFixed:function toFixed(e){var t,n,r,s,u=o(this,c),l=i(e),p="",f="0";if(l<0||l>20)throw RangeError(c);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(p="-",u=-u),u>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(u*pow(2,69,1))-69)<0?u*pow(2,-t,1):u/pow(2,t,1),n*=4503599627370496,(t=52-t)>0){for(multiply(0,n),r=l;r>=7;)multiply(1e7,0),r-=7;for(multiply(pow(10,r,1),0),r=t-1;r>=23;)divide(1<<23),r-=23;divide(1<0?p+((s=f.length)<=l?"0."+a.call("0",l-s)+f:f.slice(0,s-l)+"."+f.slice(s-l)):p+f}})},function(e,t,n){"use strict";var r=n(2),i=n(6),o=n(180),a=1..toPrecision;r(r.P+r.F*(i((function(){return"1"!==a.call(1,void 0)}))||!i((function(){a.call({})}))),"Number",{toPrecision:function toPrecision(e){var t=o(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},function(e,t,n){var r=n(2);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(2),i=n(5).isFinite;r(r.S,"Number",{isFinite:function isFinite(e){return"number"==typeof e&&i(e)}})},function(e,t,n){var r=n(2);r(r.S,"Number",{isInteger:n(181)})},function(e,t,n){var r=n(2);r(r.S,"Number",{isNaN:function isNaN(e){return e!=e}})},function(e,t,n){var r=n(2),i=n(181),o=Math.abs;r(r.S,"Number",{isSafeInteger:function isSafeInteger(e){return i(e)&&o(e)<=9007199254740991}})},function(e,t,n){var r=n(2);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(2);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(2),i=n(179);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(e,t,n){var r=n(2),i=n(178);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(e,t,n){var r=n(2),i=n(182),o=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function acosh(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:i(e-1+o(e-1)*o(e+1))}})},function(e,t,n){var r=n(2),i=Math.asinh;r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:function asinh(e){return isFinite(e=+e)&&0!=e?e<0?-asinh(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(e,t,n){var r=n(2),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function atanh(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(2),i=n(127);r(r.S,"Math",{cbrt:function cbrt(e){return i(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{clz32:function clz32(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(2),i=Math.exp;r(r.S,"Math",{cosh:function cosh(e){return(i(e=+e)+i(-e))/2}})},function(e,t,n){var r=n(2),i=n(128);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(e,t,n){var r=n(2);r(r.S,"Math",{fround:n(315)})},function(e,t,n){var r=n(127),i=Math.pow,o=i(2,-52),a=i(2,-23),s=i(2,127)*(2-a),u=i(2,-126);e.exports=Math.fround||function fround(e){var t,n,i=Math.abs(e),l=r(e);return is||n!=n?l*(1/0):l*n}},function(e,t,n){var r=n(2),i=Math.abs;r(r.S,"Math",{hypot:function hypot(e,t){for(var n,r,o=0,a=0,s=arguments.length,u=0;a0?(r=n/u)*r:n;return u===1/0?1/0:u*Math.sqrt(o)}})},function(e,t,n){var r=n(2),i=Math.imul;r(r.S+r.F*n(6)((function(){return-5!=i(4294967295,5)||2!=i.length})),"Math",{imul:function imul(e,t){var n=+e,r=+t,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{log10:function log10(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(2);r(r.S,"Math",{log1p:n(182)})},function(e,t,n){var r=n(2);r(r.S,"Math",{log2:function log2(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(2);r(r.S,"Math",{sign:n(127)})},function(e,t,n){var r=n(2),i=n(128),o=Math.exp;r(r.S+r.F*n(6)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function sinh(e){return Math.abs(e=+e)<1?(i(e)-i(-e))/2:(o(e-1)-o(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(2),i=n(128),o=Math.exp;r(r.S,"Math",{tanh:function tanh(e){var t=i(e=+e),n=i(-e);return t==1/0?1:n==1/0?-1:(t-n)/(o(e)+o(-e))}})},function(e,t,n){var r=n(2);r(r.S,"Math",{trunc:function trunc(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){var r=n(2),i=n(52),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function fromCodePoint(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){var r=n(2),i=n(24),o=n(12);r(r.S,"String",{raw:function raw(e){for(var t=i(e.raw),n=o(t.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var r=n(2),i=n(129)(!1);r(r.P,"String",{codePointAt:function codePointAt(e){return i(this,e)}})},function(e,t,n){"use strict";var r=n(2),i=n(12),o=n(131),a="".endsWith;r(r.P+r.F*n(133)("endsWith"),"String",{endsWith:function endsWith(e){var t=o(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=i(t.length),s=void 0===n?r:Math.min(i(n),r),u=String(e);return a?a.call(t,u,s):t.slice(s-u.length,s)===u}})},function(e,t,n){"use strict";var r=n(2),i=n(131);r(r.P+r.F*n(133)("includes"),"String",{includes:function includes(e){return!!~i(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(2);r(r.P,"String",{repeat:n(126)})},function(e,t,n){"use strict";var r=n(2),i=n(12),o=n(131),a="".startsWith;r(r.P+r.F*n(133)("startsWith"),"String",{startsWith:function startsWith(e){var t=o(this,e,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n(21)("anchor",(function(e){return function anchor(t){return e(this,"a","name",t)}}))},function(e,t,n){"use strict";n(21)("big",(function(e){return function big(){return e(this,"big","","")}}))},function(e,t,n){"use strict";n(21)("blink",(function(e){return function blink(){return e(this,"blink","","")}}))},function(e,t,n){"use strict";n(21)("bold",(function(e){return function bold(){return e(this,"b","","")}}))},function(e,t,n){"use strict";n(21)("fixed",(function(e){return function fixed(){return e(this,"tt","","")}}))},function(e,t,n){"use strict";n(21)("fontcolor",(function(e){return function fontcolor(t){return e(this,"font","color",t)}}))},function(e,t,n){"use strict";n(21)("fontsize",(function(e){return function fontsize(t){return e(this,"font","size",t)}}))},function(e,t,n){"use strict";n(21)("italics",(function(e){return function italics(){return e(this,"i","","")}}))},function(e,t,n){"use strict";n(21)("link",(function(e){return function link(t){return e(this,"a","href",t)}}))},function(e,t,n){"use strict";n(21)("small",(function(e){return function small(){return e(this,"small","","")}}))},function(e,t,n){"use strict";n(21)("strike",(function(e){return function strike(){return e(this,"strike","","")}}))},function(e,t,n){"use strict";n(21)("sub",(function(e){return function sub(){return e(this,"sub","","")}}))},function(e,t,n){"use strict";n(21)("sup",(function(e){return function sup(){return e(this,"sup","","")}}))},function(e,t,n){var r=n(2);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(2),i=n(18),o=n(42);r(r.P+r.F*n(6)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function toJSON(e){var t=i(this),n=o(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(2),i=n(350);r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(e,t,n){"use strict";var r=n(6),i=Date.prototype.getTime,o=Date.prototype.toISOString,lz=function(e){return e>9?e:"0"+e};e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))}))||!r((function(){o.call(new Date(NaN))}))?function toISOString(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+lz(e.getUTCMonth()+1)+"-"+lz(e.getUTCDate())+"T"+lz(e.getUTCHours())+":"+lz(e.getUTCMinutes())+":"+lz(e.getUTCSeconds())+"."+(n>99?n:"0"+lz(n))+"Z"}:o},function(e,t,n){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(20)(r,"toString",(function toString(){var e=o.call(this);return e==e?i.call(this):"Invalid Date"}))},function(e,t,n){var r=n(10)("toPrimitive"),i=Date.prototype;r in i||n(23)(i,r,n(353))},function(e,t,n){"use strict";var r=n(7),i=n(42);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return i(r(this),"number"!=e)}},function(e,t,n){var r=n(2);r(r.S,"Array",{isArray:n(121)})},function(e,t,n){"use strict";var r=n(36),i=n(2),o=n(18),a=n(184),s=n(134),u=n(12),l=n(135),c=n(136);i(i.S+i.F*!n(86)((function(e){Array.from(e)})),"Array",{from:function from(e){var t,n,i,p,f=o(e),h="function"==typeof this?this:Array,d=arguments.length,m=d>1?arguments[1]:void 0,g=void 0!==m,y=0,b=c(f);if(g&&(m=r(m,d>2?arguments[2]:void 0,2)),null==b||h==Array&&s(b))for(n=new h(t=u(f.length));t>y;y++)l(n,y,g?m(f[y],y):f[y]);else for(p=b.call(f),n=new h;!(i=p.next()).done;y++)l(n,y,g?a(p,m,[i.value,y],!0):i.value);return n.length=y,n}})},function(e,t,n){"use strict";var r=n(2),i=n(135);r(r.S+r.F*n(6)((function(){function F(){}return!(Array.of.call(F)instanceof F)})),"Array",{of:function of(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(2),i=n(24),o=[].join;r(r.P+r.F*(n(74)!=Object||!n(26)(o)),"Array",{join:function join(e){return o.call(i(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(2),i=n(122),o=n(38),a=n(52),s=n(12),u=[].slice;r(r.P+r.F*n(6)((function(){i&&u.call(i)})),"Array",{slice:function slice(e,t){var n=s(this.length),r=o(this);if(t=void 0===t?n:t,"Array"==r)return u.call(this,e,t);for(var i=a(e,n),l=a(t,n),c=s(l-i),p=new Array(c),f=0;f1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},function(e,t,n){var r=n(2);r(r.P,"Array",{copyWithin:n(186)}),n(62)("copyWithin")},function(e,t,n){var r=n(2);r(r.P,"Array",{fill:n(137)}),n(62)("fill")},function(e,t,n){"use strict";var r=n(2),i=n(32)(5),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),r(r.P+r.F*o,"Array",{find:function find(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(62)("find")},function(e,t,n){"use strict";var r=n(2),i=n(32)(6),o="findIndex",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function findIndex(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(62)(o)},function(e,t,n){n(63)("Array")},function(e,t,n){var r=n(5),i=n(125),o=n(14).f,a=n(54).f,s=n(132),u=n(87),l=r.RegExp,c=l,p=l.prototype,f=/a/g,h=/a/g,d=new l(f)!==f;if(n(13)&&(!d||n(6)((function(){return h[n(10)("match")]=!1,l(f)!=f||l(h)==h||"/a/i"!=l(f,"i")})))){l=function RegExp(e,t){var n=this instanceof l,r=s(e),o=void 0===t;return!n&&r&&e.constructor===l&&o?e:i(d?new c(r&&!o?e.source:e,t):c((r=e instanceof l)?e.source:e,r&&o?u.call(e):t),n?this:p,l)};for(var proxy=function(e){e in l||o(l,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})},m=a(c),g=0;m.length>g;)proxy(m[g++]);p.constructor=l,l.prototype=p,n(20)(r,"RegExp",l)}n(63)("RegExp")},function(e,t,n){"use strict";n(189);var r=n(7),i=n(87),o=n(13),a=/./.toString,define=function(e){n(20)(RegExp.prototype,"toString",e,!0)};n(6)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?define((function toString(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?i.call(e):void 0)})):"toString"!=a.name&&define((function toString(){return a.call(this)}))},function(e,t,n){"use strict";var r=n(7),i=n(12),o=n(140),a=n(88);n(89)("match",1,(function(e,t,n,s){return[function match(n){var r=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=s(n,e,this);if(t.done)return t.value;var u=r(e),l=String(this);if(!u.global)return a(u,l);var c=u.unicode;u.lastIndex=0;for(var p,f=[],h=0;null!==(p=a(u,l));){var d=String(p[0]);f[h]=d,""===d&&(u.lastIndex=o(l,i(u.lastIndex),c)),h++}return 0===h?null:f}]}))},function(e,t,n){"use strict";var r=n(7),i=n(18),o=n(12),a=n(29),s=n(140),u=n(88),l=Math.max,c=Math.min,p=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;n(89)("replace",2,(function(e,t,n,d){return[function replace(r,i){var o=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},function(e,t){var i=d(n,e,this,t);if(i.done)return i.value;var p=r(e),f=String(this),h="function"==typeof t;h||(t=String(t));var m=p.global;if(m){var g=p.unicode;p.lastIndex=0}for(var y=[];;){var b=u(p,f);if(null===b)break;if(y.push(b),!m)break;""===String(b[0])&&(p.lastIndex=s(f,o(p.lastIndex),g))}for(var v,_="",x=0,w=0;w=x&&(_+=f.slice(x,S)+T,x=S+k.length)}return _+f.slice(x)}];function getSubstitution(e,t,r,o,a,s){var u=r+e.length,l=o.length,c=h;return void 0!==a&&(a=i(a),c=f),n.call(s,c,(function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(u);case"<":s=a[i.slice(1,-1)];break;default:var c=+i;if(0===c)return n;if(c>l){var f=p(c/10);return 0===f?n:f<=l?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):n}s=o[c-1]}return void 0===s?"":s}))}}))},function(e,t,n){"use strict";var r=n(7),i=n(175),o=n(88);n(89)("search",1,(function(e,t,n,a){return[function search(n){var r=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var s=r(e),u=String(this),l=s.lastIndex;i(l,0)||(s.lastIndex=0);var c=o(s,u);return i(s.lastIndex,l)||(s.lastIndex=l),null===c?-1:c.index}]}))},function(e,t,n){"use strict";var r=n(132),i=n(7),o=n(77),a=n(140),s=n(12),u=n(88),l=n(139),c=n(6),p=Math.min,f=[].push,h=!c((function(){RegExp(4294967295,"y")}));n(89)("split",2,(function(e,t,n,c){var d;return d="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(i,e,t);for(var o,a,s,u=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,h=void 0===t?4294967295:t>>>0,d=new RegExp(e.source,c+"g");(o=l.call(d,i))&&!((a=d.lastIndex)>p&&(u.push(i.slice(p,o.index)),o.length>1&&o.index=h));)d.lastIndex===o.index&&d.lastIndex++;return p===i.length?!s&&d.test("")||u.push(""):u.push(i.slice(p)),u.length>h?u.slice(0,h):u}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function split(n,r){var i=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,r):d.call(String(i),n,r)},function(e,t){var r=c(d,e,this,t,d!==n);if(r.done)return r.value;var l=i(e),f=String(this),m=o(l,RegExp),g=l.unicode,y=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(h?"y":"g"),b=new m(h?l:"^(?:"+l.source+")",y),v=void 0===t?4294967295:t>>>0;if(0===v)return[];if(0===f.length)return null===u(b,f)?[f]:[];for(var _=0,x=0,w=[];x0?arguments[0]:void 0)}}),{get:function get(e){var t=r.getEntry(i(this,"Map"),e);return t&&t.v},set:function set(e,t){return r.def(i(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){"use strict";var r=n(193),i=n(56);e.exports=n(92)("Set",(function(e){return function Set(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function add(e){return r.def(i(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r,i=n(5),o=n(32)(0),a=n(20),s=n(43),u=n(174),l=n(194),c=n(8),p=n(56),f=n(56),h=!i.ActiveXObject&&"ActiveXObject"in i,d=s.getWeak,m=Object.isExtensible,g=l.ufstore,wrapper=function(e){return function WeakMap(){return e(this,arguments.length>0?arguments[0]:void 0)}},y={get:function get(e){if(c(e)){var t=d(e);return!0===t?g(p(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function set(e,t){return l.def(p(this,"WeakMap"),e,t)}},b=e.exports=n(92)("WeakMap",wrapper,y,l,!0,!0);f&&h&&(u((r=l.getConstructor(wrapper,"WeakMap")).prototype,y),s.NEED=!0,o(["delete","has","get","set"],(function(e){var t=b.prototype,n=t[e];a(t,e,(function(t,i){if(c(t)&&!m(t)){this._f||(this._f=new r);var o=this._f[e](t,i);return"set"==e?this:o}return n.call(this,t,i)}))})))},function(e,t,n){"use strict";var r=n(194),i=n(56);n(92)("WeakSet",(function(e){return function WeakSet(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function add(e){return r.def(i(this,"WeakSet"),e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(2),i=n(93),o=n(142),a=n(7),s=n(52),u=n(12),l=n(8),c=n(5).ArrayBuffer,p=n(77),f=o.ArrayBuffer,h=o.DataView,d=i.ABV&&c.isView,m=f.prototype.slice,g=i.VIEW;r(r.G+r.W+r.F*(c!==f),{ArrayBuffer:f}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function isView(e){return d&&d(e)||l(e)&&g in e}}),r(r.P+r.U+r.F*n(6)((function(){return!new f(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function slice(e,t){if(void 0!==m&&void 0===t)return m.call(a(this),e);for(var n=a(this).byteLength,r=s(e,n),i=s(void 0===t?n:t,n),o=new(p(this,f))(u(i-r)),l=new h(this),c=new h(o),d=0;r=t.length)return{value:void 0,done:!0}}while(!((e=t[this._i++])in this._t));return{value:e,done:!1}})),r(r.S,"Reflect",{enumerate:function enumerate(e){return new Enumerate(e)}})},function(e,t,n){var r=n(30),i=n(55),o=n(22),a=n(2),s=n(8),u=n(7);a(a.S,"Reflect",{get:function get(e,t){var n,a,l=arguments.length<3?e:arguments[2];return u(e)===l?e[t]:(n=r.f(e,t))?o(n,"value")?n.value:void 0!==n.get?n.get.call(l):void 0:s(a=i(e))?get(a,t,l):void 0}})},function(e,t,n){var r=n(30),i=n(2),o=n(7);i(i.S,"Reflect",{getOwnPropertyDescriptor:function getOwnPropertyDescriptor(e,t){return r.f(o(e),t)}})},function(e,t,n){var r=n(2),i=n(55),o=n(7);r(r.S,"Reflect",{getPrototypeOf:function getPrototypeOf(e){return i(o(e))}})},function(e,t,n){var r=n(2);r(r.S,"Reflect",{has:function has(e,t){return t in e}})},function(e,t,n){var r=n(2),i=n(7),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function isExtensible(e){return i(e),!o||o(e)}})},function(e,t,n){var r=n(2);r(r.S,"Reflect",{ownKeys:n(196)})},function(e,t,n){var r=n(2),i=n(7),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function preventExtensions(e){i(e);try{return o&&o(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(14),i=n(30),o=n(55),a=n(22),s=n(2),u=n(48),l=n(7),c=n(8);s(s.S,"Reflect",{set:function set(e,t,n){var s,p,f=arguments.length<4?e:arguments[3],h=i.f(l(e),t);if(!h){if(c(p=o(e)))return set(p,t,n,f);h=u(0)}if(a(h,"value")){if(!1===h.writable||!c(f))return!1;if(s=i.f(f,t)){if(s.get||s.set||!1===s.writable)return!1;s.value=n,r.f(f,t,s)}else r.f(f,t,u(0,n));return!0}return void 0!==h.set&&(h.set.call(f,n),!0)}})},function(e,t,n){var r=n(2),i=n(123);i&&r(r.S,"Reflect",{setPrototypeOf:function setPrototypeOf(e,t){i.check(e,t);try{return i.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){n(414),e.exports=n(15).Array.includes},function(e,t,n){"use strict";var r=n(2),i=n(83)(!0);r(r.P,"Array",{includes:function includes(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(62)("includes")},function(e,t,n){n(416),e.exports=n(15).String.padStart},function(e,t,n){"use strict";var r=n(2),i=n(197),o=n(91),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padStart:function padStart(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){n(418),e.exports=n(15).String.padEnd},function(e,t,n){"use strict";var r=n(2),i=n(197),o=n(91),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padEnd:function padEnd(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){n(420),e.exports=n(118).f("asyncIterator")},function(e,t,n){n(170)("asyncIterator")},function(e,t,n){n(422),e.exports=n(15).Object.getOwnPropertyDescriptors},function(e,t,n){var r=n(2),i=n(196),o=n(24),a=n(30),s=n(135);r(r.S,"Object",{getOwnPropertyDescriptors:function getOwnPropertyDescriptors(e){for(var t,n,r=o(e),u=a.f,l=i(r),c={},p=0;l.length>p;)void 0!==(n=u(r,t=l[p++]))&&s(c,t,n);return c}})},function(e,t,n){n(424),e.exports=n(15).Object.values},function(e,t,n){var r=n(2),i=n(198)(!1);r(r.S,"Object",{values:function values(e){return i(e)}})},function(e,t,n){n(426),e.exports=n(15).Object.entries},function(e,t,n){var r=n(2),i=n(198)(!0);r(r.S,"Object",{entries:function entries(e){return i(e)}})},function(e,t,n){"use strict";n(190),n(428),e.exports=n(15).Promise.finally},function(e,t,n){"use strict";var r=n(2),i=n(15),o=n(5),a=n(77),s=n(192);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}})},function(e,t,n){n(430),n(431),n(432),e.exports=n(15)},function(e,t,n){var r=n(5),i=n(2),o=n(91),a=[].slice,s=/MSIE .\./.test(o),wrap=function(e){return function(t,n){var r=arguments.length>2,i=!!r&&a.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,n)}};i(i.G+i.B+i.F*s,{setTimeout:wrap(r.setTimeout),setInterval:wrap(r.setInterval)})},function(e,t,n){var r=n(2),i=n(141);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){for(var r=n(138),i=n(51),o=n(20),a=n(5),s=n(23),u=n(61),l=n(10),c=l("iterator"),p=l("toStringTag"),f=u.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=i(h),m=0;m=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return handle("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(s&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),resetTryEntry(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;resetTryEntry(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:values(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function wrap(e,t,n,r){var i=t&&t.prototype instanceof Generator?t:Generator,o=Object.create(i.prototype),a=new Context(r||[]);return o._invoke=function makeInvokeMethod(e,t,n){var r=p;return function invoke(i,o){if(r===h)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw o;return doneResult()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=maybeInvokeDelegate(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var u=tryCatch(e,t,n);if("normal"===u.type){if(r=n.done?d:f,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(e,n,a),o}function tryCatch(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}function defineIteratorMethods(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function AsyncIterator(e){var t;this._invoke=function enqueue(n,r){function callInvokeWithMethodAndArg(){return new Promise((function(t,o){!function invoke(t,n,r,o){var a=tryCatch(e[t],e,n);if("throw"!==a.type){var s=a.arg,u=s.value;return u&&"object"==typeof u&&i.call(u,"__await")?Promise.resolve(u.__await).then((function(e){invoke("next",e,r,o)}),(function(e){invoke("throw",e,r,o)})):Promise.resolve(u).then((function(e){s.value=e,r(s)}),(function(e){return invoke("throw",e,r,o)}))}o(a.arg)}(n,r,t,o)}))}return t=t?t.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}function maybeInvokeDelegate(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,maybeInvokeDelegate(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=tryCatch(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function pushTryEntry(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function resetTryEntry(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function next(){for(;++r [class*="loader-container"] {\n display: inline-block;\n}\n.buttons---btn---2jZHN > [class*="loader-container"] > [class*="loader"] {\n margin-top: 2px;\n margin-right: 8px;\n}\n.buttons---btn-default---1wWXD {\n color: #222;\n background-color: #fbfbfb;\n background-image: -webkit-linear-gradient(top, #fbfbfb 0%, #ececec 100%);\n background-image: -moz-linear-gradient(top, #fbfbfb 0%, #ececec 100%);\n background-image: -o-linear-gradient(top, #fbfbfb 0%, #ececec 100%);\n background-image: -ms-linear-gradient(top, #fbfbfb 0%, #ececec 100%);\n background-image: linear-gradient(to bottom, #fbfbfb 0%, #ececec 100%);\n background-repeat: repeat-x;\n border-color: #ccc;\n}\n.buttons---btn-default---1wWXD:active,\n.buttons---btn-default---1wWXD.buttons---active---2-a32 {\n color: #222;\n background-color: #eee;\n background-image: none;\n border-color: #bbb;\n -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.1) inset;\n box-shadow: 0 1px 4px rgba(0,0,0,0.1) inset;\n}\n.buttons---btn-default---1wWXD:focus,\n.buttons---btn-default---1wWXD.buttons---focus---1kVJZ {\n color: #222;\n border-color: #0096cc;\n}\n.buttons---btn-default---1wWXD:hover,\n.buttons---btn-default---1wWXD.buttons---hover---42FF2 {\n color: #222;\n background-color: #fff;\n background-image: -webkit-linear-gradient(top, #fff 0%, #f5f5f5 100%);\n background-image: -moz-linear-gradient(top, #fff 0%, #f5f5f5 100%);\n background-image: -o-linear-gradient(top, #fff 0%, #f5f5f5 100%);\n background-image: -ms-linear-gradient(top, #fff 0%, #f5f5f5 100%);\n background-image: linear-gradient(to bottom, #fff 0%, #f5f5f5 100%);\n background-repeat: repeat-x;\n border-color: #999;\n}\n.buttons---btn-default---1wWXD.buttons---disabled---eCY9b:hover,\n.buttons---btn-default---1wWXD[disabled]:hover,\nfieldset[disabled] .buttons---btn-default---1wWXD:hover,\n.buttons---btn-default---1wWXD.buttons---disabled---eCY9b.buttons---hover---42FF2,\n.buttons---btn-default---1wWXD[disabled].buttons---hover---42FF2,\nfieldset[disabled] .buttons---btn-default---1wWXD.buttons---hover---42FF2,\n.buttons---btn-default---1wWXD.buttons---disabled---eCY9b:focus,\n.buttons---btn-default---1wWXD[disabled]:focus,\nfieldset[disabled] .buttons---btn-default---1wWXD:focus,\n.buttons---btn-default---1wWXD.buttons---disabled---eCY9b.buttons---focus---1kVJZ,\n.buttons---btn-default---1wWXD[disabled].buttons---focus---1kVJZ,\nfieldset[disabled] .buttons---btn-default---1wWXD.buttons---focus---1kVJZ {\n background-color: #fbfbfb;\n background-image: -webkit-linear-gradient(top, #fbfbfb 0%, #ececec 100%);\n background-image: -moz-linear-gradient(top, #fbfbfb 0%, #ececec 100%);\n background-image: -o-linear-gradient(top, #fbfbfb 0%, #ececec 100%);\n background-image: -ms-linear-gradient(top, #fbfbfb 0%, #ececec 100%);\n background-image: linear-gradient(to bottom, #fbfbfb 0%, #ececec 100%);\n background-repeat: repeat-x;\n border-color: #ccc;\n}\n.buttons---btn-primary---Wp1wb {\n color: #fff;\n background-color: #0096cc;\n background-image: -webkit-linear-gradient(top, #00a7e6 0%, #0096cc 100%);\n background-image: -moz-linear-gradient(top, #00a7e6 0%, #0096cc 100%);\n background-image: -o-linear-gradient(top, #00a7e6 0%, #0096cc 100%);\n background-image: -ms-linear-gradient(top, #00a7e6 0%, #0096cc 100%);\n background-image: linear-gradient(to bottom, #00a7e6 0%, #0096cc 100%);\n background-repeat: repeat-x;\n border-color: #0095ce;\n}\n.buttons---btn-primary---Wp1wb > [class*="loader-container"] > [class*="loader"] {\n border-color: rgba(255,255,255,0.4);\n border-left-color: #fff;\n}\n.buttons---btn-primary---Wp1wb:active,\n.buttons---btn-primary---Wp1wb.buttons---active---2-a32 {\n color: #fff;\n background-color: #009ed8;\n background-image: none;\n border-color: #00759f;\n -webkit-box-shadow: 0 1px 6px rgba(0,0,0,0.15) inset;\n box-shadow: 0 1px 6px rgba(0,0,0,0.15) inset;\n}\n.buttons---btn-primary---Wp1wb:focus,\n.buttons---btn-primary---Wp1wb.buttons---focus---1kVJZ {\n color: #fff;\n border-color: #444;\n -webkit-box-shadow: 0 0 1px #fff inset;\n box-shadow: 0 0 1px #fff inset;\n}\n.buttons---btn-primary---Wp1wb:hover,\n.buttons---btn-primary---Wp1wb.buttons---hover---42FF2 {\n color: #fff;\n background-color: #1daee5;\n background-image: -webkit-linear-gradient(top, #1daee5 0%, #00a3df 100%);\n background-image: -moz-linear-gradient(top, #1daee5 0%, #00a3df 100%);\n background-image: -o-linear-gradient(top, #1daee5 0%, #00a3df 100%);\n background-image: -ms-linear-gradient(top, #1daee5 0%, #00a3df 100%);\n background-image: linear-gradient(to bottom, #1daee5 0%, #00a3df 100%);\n background-repeat: repeat-x;\n border-color: #00759f;\n}\n.buttons---btn-primary---Wp1wb.buttons---disabled---eCY9b:hover,\n.buttons---btn-primary---Wp1wb[disabled]:hover,\nfieldset[disabled] .buttons---btn-primary---Wp1wb:hover,\n.buttons---btn-primary---Wp1wb.buttons---disabled---eCY9b.buttons---hover---42FF2,\n.buttons---btn-primary---Wp1wb[disabled].buttons---hover---42FF2,\nfieldset[disabled] .buttons---btn-primary---Wp1wb.buttons---hover---42FF2,\n.buttons---btn-primary---Wp1wb.buttons---disabled---eCY9b:focus,\n.buttons---btn-primary---Wp1wb[disabled]:focus,\nfieldset[disabled] .buttons---btn-primary---Wp1wb:focus,\n.buttons---btn-primary---Wp1wb.buttons---disabled---eCY9b.buttons---focus---1kVJZ,\n.buttons---btn-primary---Wp1wb[disabled].buttons---focus---1kVJZ,\nfieldset[disabled] .buttons---btn-primary---Wp1wb.buttons---focus---1kVJZ {\n background-color: #0096cc;\n background-image: -webkit-linear-gradient(top, #00a7e6 0%, #0096cc 100%);\n background-image: -moz-linear-gradient(top, #00a7e6 0%, #0096cc 100%);\n background-image: -o-linear-gradient(top, #00a7e6 0%, #0096cc 100%);\n background-image: -ms-linear-gradient(top, #00a7e6 0%, #0096cc 100%);\n background-image: linear-gradient(to bottom, #00a7e6 0%, #0096cc 100%);\n background-repeat: repeat-x;\n border-color: #0095ce;\n}\n.buttons---btn-danger---1UUqU {\n color: #fff;\n background-color: #db3d44;\n background-image: -webkit-linear-gradient(top, #e15054 0%, #db3d44 100%);\n background-image: -moz-linear-gradient(top, #e15054 0%, #db3d44 100%);\n background-image: -o-linear-gradient(top, #e15054 0%, #db3d44 100%);\n background-image: -ms-linear-gradient(top, #e15054 0%, #db3d44 100%);\n background-image: linear-gradient(to bottom, #e15054 0%, #db3d44 100%);\n background-repeat: repeat-x;\n border-color: #d8262b;\n}\n.buttons---btn-danger---1UUqU:active,\n.buttons---btn-danger---1UUqU.buttons---active---2-a32 {\n color: #fff;\n background-color: #e15054;\n background-image: none;\n border-color: #c22327;\n -webkit-box-shadow: 0 1px 6px rgba(0,0,0,0.15) inset;\n box-shadow: 0 1px 6px rgba(0,0,0,0.15) inset;\n}\n.buttons---btn-danger---1UUqU:focus,\n.buttons---btn-danger---1UUqU.buttons---focus---1kVJZ {\n color: #fff;\n border-color: #444;\n -webkit-box-shadow: 0 0 1px #fff inset;\n box-shadow: 0 0 1px #fff inset;\n}\n.buttons---btn-danger---1UUqU:hover,\n.buttons---btn-danger---1UUqU.buttons---hover---42FF2 {\n color: #fff;\n background-color: #e15f5f;\n background-image: -webkit-linear-gradient(top, #e15f5f 0%, #e15054 100%);\n background-image: -moz-linear-gradient(top, #e15f5f 0%, #e15054 100%);\n background-image: -o-linear-gradient(top, #e15f5f 0%, #e15054 100%);\n background-image: -ms-linear-gradient(top, #e15f5f 0%, #e15054 100%);\n background-image: linear-gradient(to bottom, #e15f5f 0%, #e15054 100%);\n background-repeat: repeat-x;\n border-color: #c22327;\n}\n.buttons---btn-danger---1UUqU.buttons---disabled---eCY9b:hover,\n.buttons---btn-danger---1UUqU[disabled]:hover,\nfieldset[disabled] .buttons---btn-danger---1UUqU:hover,\n.buttons---btn-danger---1UUqU.buttons---disabled---eCY9b.buttons---hover---42FF2,\n.buttons---btn-danger---1UUqU[disabled].buttons---hover---42FF2,\nfieldset[disabled] .buttons---btn-danger---1UUqU.buttons---hover---42FF2,\n.buttons---btn-danger---1UUqU.buttons---disabled---eCY9b:focus,\n.buttons---btn-danger---1UUqU[disabled]:focus,\nfieldset[disabled] .buttons---btn-danger---1UUqU:focus,\n.buttons---btn-danger---1UUqU.buttons---disabled---eCY9b.buttons---focus---1kVJZ,\n.buttons---btn-danger---1UUqU[disabled].buttons---focus---1kVJZ,\nfieldset[disabled] .buttons---btn-danger---1UUqU.buttons---focus---1kVJZ {\n background-color: #db3d44;\n background-image: -webkit-linear-gradient(top, #e15054 0%, #db3d44 100%);\n background-image: -moz-linear-gradient(top, #e15054 0%, #db3d44 100%);\n background-image: -o-linear-gradient(top, #e15054 0%, #db3d44 100%);\n background-image: -ms-linear-gradient(top, #e15054 0%, #db3d44 100%);\n background-image: linear-gradient(to bottom, #e15054 0%, #db3d44 100%);\n background-repeat: repeat-x;\n border-color: #d8262b;\n}\n.buttons---btn-border---1O58b {\n color: #222;\n background-color: #fff;\n background-image: -webkit-linear-gradient(top, #fff 0%, #fff 100%);\n background-image: -moz-linear-gradient(top, #fff 0%, #fff 100%);\n background-image: -o-linear-gradient(top, #fff 0%, #fff 100%);\n background-image: -ms-linear-gradient(top, #fff 0%, #fff 100%);\n background-image: linear-gradient(to bottom, #fff 0%, #fff 100%);\n background-repeat: repeat-x;\n border-color: #ccc;\n -webkit-transition: all 0.2s linear 0s;\n -moz-transition: all 0.2s linear 0s;\n -o-transition: all 0.2s linear 0s;\n -ms-transition: all 0.2s linear 0s;\n transition: all 0.2s linear 0s;\n}\n.buttons---btn-border---1O58b:hover,\n.buttons---btn-border---1O58b.buttons---hover---42FF2 {\n color: #222;\n background-color: #f4f4f4;\n background-image: -webkit-linear-gradient(top, #f4f4f4 0%, #f4f4f4 100%);\n background-image: -moz-linear-gradient(top, #f4f4f4 0%, #f4f4f4 100%);\n background-image: -o-linear-gradient(top, #f4f4f4 0%, #f4f4f4 100%);\n background-image: -ms-linear-gradient(top, #f4f4f4 0%, #f4f4f4 100%);\n background-image: linear-gradient(to bottom, #f4f4f4 0%, #f4f4f4 100%);\n background-repeat: repeat-x;\n border-color: #999;\n}\n.buttons---btn-border---1O58b:focus,\n.buttons---btn-border---1O58b.buttons---focus---1kVJZ {\n color: #222;\n border-color: #0096cc;\n}\n.buttons---btn-border---1O58b:active,\n.buttons---btn-border---1O58b.buttons---active---2-a32,\n.buttons---open---1ju75 > .buttons---dropdown-toggle---vMtjL.buttons---btn-border---1O58b {\n color: #222;\n background-color: #eee;\n background-image: none;\n border-color: #bbb;\n -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.1) inset;\n box-shadow: 0px 1px 2px rgba(0,0,0,0.1) inset;\n}\n.buttons---btn-border---1O58b:active:hover,\n.buttons---btn-border---1O58b.buttons---active---2-a32:hover,\n.buttons---open---1ju75 > .buttons---dropdown-toggle---vMtjL.buttons---btn-border---1O58b:hover,\n.buttons---btn-border---1O58b:active.buttons---hover---42FF2,\n.buttons---btn-border---1O58b.buttons---active---2-a32.buttons---hover---42FF2,\n.buttons---open---1ju75 > .buttons---dropdown-toggle---vMtjL.buttons---btn-border---1O58b.buttons---hover---42FF2,\n.buttons---btn-border---1O58b:active:focus,\n.buttons---btn-border---1O58b.buttons---active---2-a32:focus,\n.buttons---open---1ju75 > .buttons---dropdown-toggle---vMtjL.buttons---btn-border---1O58b:focus,\n.buttons---btn-border---1O58b:active.buttons---focus---1kVJZ,\n.buttons---btn-border---1O58b.buttons---active---2-a32.buttons---focus---1kVJZ,\n.buttons---open---1ju75 > .buttons---dropdown-toggle---vMtjL.buttons---btn-border---1O58b.buttons---focus---1kVJZ {\n color: #222;\n border-color: #bbb;\n -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1) inset;\n box-shadow: 0 1px 2px rgba(0,0,0,0.1) inset;\n}\n.buttons---btn-border---1O58b.buttons---disabled---eCY9b,\n.buttons---btn-border---1O58b[disabled],\nfieldset[disabled] .buttons---btn-border---1O58b {\n opacity: 0.4;\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";\n filter: alpha(opacity=40);\n cursor: not-allowed;\n}\n.buttons---btn-border---1O58b.buttons---disabled---eCY9b:hover,\n.buttons---btn-border---1O58b[disabled]:hover,\nfieldset[disabled] .buttons---btn-border---1O58b:hover,\n.buttons---btn-border---1O58b.buttons---disabled---eCY9b.buttons---hover---42FF2,\n.buttons---btn-border---1O58b[disabled].buttons---hover---42FF2,\nfieldset[disabled] .buttons---btn-border---1O58b.buttons---hover---42FF2,\n.buttons---btn-border---1O58b.buttons---disabled---eCY9b:focus,\n.buttons---btn-border---1O58b[disabled]:focus,\nfieldset[disabled] .buttons---btn-border---1O58b:focus,\n.buttons---btn-border---1O58b.buttons---disabled---eCY9b.buttons---focus---1kVJZ,\n.buttons---btn-border---1O58b[disabled].buttons---focus---1kVJZ,\nfieldset[disabled] .buttons---btn-border---1O58b.buttons---focus---1kVJZ {\n background-color: #fff;\n background-image: -webkit-linear-gradient(top, #fff 0%, #fff 100%);\n background-image: -moz-linear-gradient(top, #fff 0%, #fff 100%);\n background-image: -o-linear-gradient(top, #fff 0%, #fff 100%);\n background-image: -ms-linear-gradient(top, #fff 0%, #fff 100%);\n background-image: linear-gradient(to bottom, #fff 0%, #fff 100%);\n background-repeat: repeat-x;\n border-color: #ccc;\n}\n.buttons---btn-link---1xwS4 {\n padding-right: 0;\n padding-left: 0;\n font-weight: normal;\n color: #0096cc;\n border-radius: 0;\n}\n.buttons---btn-link---1xwS4,\n.buttons---btn-link---1xwS4:active,\n.buttons---btn-link---1xwS4.buttons---active---2-a32,\n.buttons---btn-link---1xwS4.buttons---disabled---eCY9b,\n.buttons---btn-link---1xwS4[disabled],\nfieldset[disabled] .buttons---btn-link---1xwS4 {\n background-color: transparent;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.buttons---btn-link---1xwS4,\n.buttons---btn-link---1xwS4:hover,\n.buttons---btn-link---1xwS4.buttons---hover---42FF2,\n.buttons---btn-link---1xwS4:focus,\n.buttons---btn-link---1xwS4:active {\n border-color: transparent;\n}\n.buttons---btn-link---1xwS4:hover,\n.buttons---btn-link---1xwS4.buttons---hover---42FF2,\n.buttons---btn-link---1xwS4:focus {\n color: #db3d44;\n text-decoration: underline;\n background-color: transparent;\n}\n.buttons---btn-link---1xwS4.buttons---disabled---eCY9b:hover,\n.buttons---btn-link---1xwS4[disabled]:hover,\nfieldset[disabled] .buttons---btn-link---1xwS4:hover,\n.buttons---btn-link---1xwS4.buttons---disabled---eCY9b.buttons---hover---42FF2,\n.buttons---btn-link---1xwS4[disabled].buttons---hover---42FF2,\nfieldset[disabled] .buttons---btn-link---1xwS4.buttons---hover---42FF2,\n.buttons---btn-link---1xwS4.buttons---disabled---eCY9b:focus,\n.buttons---btn-link---1xwS4[disabled]:focus,\nfieldset[disabled] .buttons---btn-link---1xwS4:focus,\n.buttons---btn-link---1xwS4.buttons---disabled---eCY9b.buttons---focus---1kVJZ,\n.buttons---btn-link---1xwS4[disabled].buttons---focus---1kVJZ,\nfieldset[disabled] .buttons---btn-link---1xwS4.buttons---focus---1kVJZ {\n color: #e6e6e6;\n text-decoration: none;\n}\n.buttons---btn-lg---2xtUV,\n.buttons---btn-group-lg---3C8An > .buttons---btn---2jZHN {\n padding: 9px 12px;\n font-size: 16px;\n line-height: 24px;\n border-radius: 3px;\n}\n.buttons---btn-lg---2xtUV.buttons---btn-compact---mXDAU,\n.buttons---btn-group-lg---3C8An > .buttons---btn---2jZHN.buttons---btn-compact---mXDAU {\n padding-left: 0;\n padding-right: 0;\n min-width: 58px;\n}\n.buttons---btn-md---HRR_F,\n.buttons---btn-group-md---3FQVP > .buttons---btn---2jZHN {\n padding: 5px 12px;\n font-size: 13px;\n line-height: 20px;\n border-radius: 3px;\n}\n.buttons---btn-md---HRR_F.buttons---btn-compact---mXDAU,\n.buttons---btn-group-md---3FQVP > .buttons---btn---2jZHN.buttons---btn-compact---mXDAU {\n padding-left: 0;\n padding-right: 0;\n min-width: 42px;\n}\n.buttons---btn-sm---3cNnY,\n.buttons---btn-group-sm---3_QLf > .buttons---btn---2jZHN {\n padding: 4px 12px;\n font-size: 12px;\n line-height: 18px;\n border-radius: 3px;\n}\n.buttons---btn-sm---3cNnY.buttons---btn-compact---mXDAU,\n.buttons---btn-group-sm---3_QLf > .buttons---btn---2jZHN.buttons---btn-compact---mXDAU {\n padding-left: 0;\n padding-right: 0;\n min-width: 36px;\n}\n.buttons---btn-xs---2eEDQ,\n.buttons---btn-group-xs---1c4pb > .buttons---btn---2jZHN {\n padding: 1px 12px;\n font-size: 12px;\n line-height: 18px;\n border-radius: 3px;\n}\n.buttons---btn-xs---2eEDQ.buttons---btn-compact---mXDAU,\n.buttons---btn-group-xs---1c4pb > .buttons---btn---2jZHN.buttons---btn-compact---mXDAU {\n padding-left: 0;\n padding-right: 0;\n min-width: 28px;\n}\n.buttons---btn-block---1nSNV {\n display: block;\n width: 100%;\n}\n.buttons---btn-block---1nSNV.buttons---btn---2jZHN + .buttons---btn-block---1nSNV.buttons---btn---2jZHN,\n.buttons---btn-block---1nSNV + .buttons---btn-block---1nSNV {\n margin-left: 0;\n margin-top: 8px;\n}\ninput[type="submit"].buttons---btn-block---1nSNV,\ninput[type="reset"].buttons---btn-block---1nSNV,\ninput[type="button"].buttons---btn-block---1nSNV {\n width: 100%;\n}\n.buttons---btn-group---1jaDo,\n.buttons---btn-group-vertical---3Lm1e {\n position: relative;\n display: inline-block;\n vertical-align: top;\n}\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN {\n position: relative;\n float: left;\n}\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN:hover,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN:hover,\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN.buttons---hover---42FF2,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN.buttons---hover---42FF2,\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN:active,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN:active,\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN.buttons---active---2-a32,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN.buttons---active---2-a32 {\n z-index: 2;\n}\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN:focus,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN:focus,\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN.buttons---focus---1kVJZ,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN.buttons---focus---1kVJZ {\n z-index: 3;\n}\n.buttons---btn-group---1jaDo .buttons---btn---2jZHN + .buttons---btn---2jZHN,\n.buttons---btn-group---1jaDo .buttons---btn---2jZHN + .buttons---btn-group---1jaDo,\n.buttons---btn-group---1jaDo .buttons---btn-group---1jaDo + .buttons---btn---2jZHN,\n.buttons---btn-group---1jaDo .buttons---btn-group---1jaDo + .buttons---btn-group---1jaDo {\n margin-left: -1px;\n}\n.buttons---btn-group---1jaDo + .buttons---btn-group---1jaDo {\n margin-left: 8px;\n}\n.buttons---btn-toolbar---2-GfJ {\n margin-left: -5px;\n zoom: 1;\n}\n.buttons---btn-toolbar---2-GfJ:before,\n.buttons---btn-toolbar---2-GfJ:after {\n content: "";\n display: table;\n}\n.buttons---btn-toolbar---2-GfJ:after {\n clear: both;\n}\n.buttons---btn-toolbar---2-GfJ .buttons---btn---2jZHN,\n.buttons---btn-toolbar---2-GfJ .buttons---btn-group---1jaDo,\n.buttons---btn-toolbar---2-GfJ .buttons---input-group---1T18I {\n float: left;\n}\n.buttons---btn-toolbar---2-GfJ > .buttons---btn---2jZHN,\n.buttons---btn-toolbar---2-GfJ > .buttons---btn-group---1jaDo,\n.buttons---btn-toolbar---2-GfJ > .buttons---input-group---1T18I {\n margin-left: 5px;\n}\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN:not(:first-child):not(:last-child):not(.buttons---dropdown-toggle---vMtjL) {\n border-radius: 0;\n}\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN:first-child {\n margin-left: 0;\n}\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN:first-child:not(:last-child):not(.buttons---dropdown-toggle---vMtjL) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN:last-child:not(:first-child),\n.buttons---btn-group---1jaDo > .buttons---dropdown-toggle---vMtjL:not(:first-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.buttons---btn-group---1jaDo > .buttons---btn-group---1jaDo {\n float: left;\n}\n.buttons---btn-group---1jaDo > .buttons---btn-group---1jaDo:not(:first-child):not(:last-child) > .buttons---btn---2jZHN {\n border-radius: 0;\n}\n.buttons---btn-group---1jaDo > .buttons---btn-group---1jaDo:first-child:not(:last-child) > .buttons---btn---2jZHN:last-child,\n.buttons---btn-group---1jaDo > .buttons---btn-group---1jaDo:first-child:not(:last-child) > .buttons---dropdown-toggle---vMtjL {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.buttons---btn-group---1jaDo > .buttons---btn-group---1jaDo:last-child:not(:first-child) > .buttons---btn---2jZHN:first-child {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.buttons---btn-group---1jaDo .buttons---dropdown-toggle---vMtjL:active,\n.buttons---btn-group---1jaDo.buttons---open---1ju75 .buttons---dropdown-toggle---vMtjL {\n outline: 0;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo > .buttons---btn---2jZHN {\n display: block;\n float: none;\n width: 100%;\n max-width: 100%;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo {\n zoom: 1;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo:before,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo:after {\n content: "";\n display: table;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo:after {\n clear: both;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo > .buttons---btn---2jZHN {\n float: none;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN + .buttons---btn---2jZHN,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN + .buttons---btn-group---1jaDo,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo + .buttons---btn---2jZHN,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo + .buttons---btn-group---1jaDo {\n margin-top: -1px;\n margin-left: 0;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN:first-child:not(:last-child) {\n border-top-radius: 3px;\n border-bottom-radius: 0;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn---2jZHN:last-child:not(:first-child) {\n border-top-radius: 0;\n border-bottom-radius: 3px;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo:not(:first-child):not(:last-child) > .buttons---btn---2jZHN {\n border-radius: 0;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo:first-child:not(:last-child) > .buttons---btn---2jZHN:last-child,\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo:first-child:not(:last-child) > .buttons---dropdown-toggle---vMtjL {\n border-bottom-radius: 0;\n}\n.buttons---btn-group-vertical---3Lm1e > .buttons---btn-group---1jaDo:last-child:not(:first-child) > .buttons---btn---2jZHN:first-child {\n border-top-radius: 0;\n}\n.buttons---btn-group-justified---3qB9u {\n display: table;\n width: 100%;\n table-layout: fixed;\n border-collapse: separate;\n}\n.buttons---btn-group-justified---3qB9u > .buttons---btn---2jZHN,\n.buttons---btn-group-justified---3qB9u > .buttons---btn-group---1jaDo {\n float: none;\n display: table-cell;\n width: 1%;\n}\n.buttons---btn-group-justified---3qB9u > .buttons---btn-group---1jaDo .buttons---btn---2jZHN {\n width: 100%;\n}\n.buttons---btn-group-justified---3qB9u > .buttons---btn-group---1jaDo .buttons---dropdown-menu---1fkH0 {\n left: auto;\n}\n.buttons---dropdown-toggle---vMtjL {\n min-width: 0;\n}\n.buttons---dropdown-toggle---vMtjL.buttons---btn---2jZHN {\n text-align: left;\n padding-left: 12px;\n padding-right: 12px;\n}\n.buttons---dropdown-toggle---vMtjL.buttons---btn-compact---mXDAU {\n text-align: center;\n}\n.buttons---dropdown-toggle---vMtjL.buttons---btn-link---1xwS4 {\n color: #222;\n padding-left: 0;\n padding-right: 0;\n text-decoration: none;\n}\n.buttons---dropdown-toggle---vMtjL.buttons---btn-link---1xwS4:hover,\n.buttons---dropdown-toggle---vMtjL.buttons---btn-link---1xwS4:hover > * {\n color: #0096cc;\n}\n.buttons---btn-group---1jaDo > .buttons---btn---2jZHN + .buttons---dropdown-toggle---vMtjL {\n padding-left: 8px;\n padding-right: 8px;\n min-width: 0;\n}\n.buttons---btn-group---1jaDo > .buttons---btn-lg---2xtUV + .buttons---dropdown-toggle---vMtjL {\n padding-left: 12px;\n padding-right: 12px;\n}\n[data-toggle="buttons"] > .buttons---btn---2jZHN input[type="radio"],\n[data-toggle="buttons"] > .buttons---btn-group---1jaDo > .buttons---btn---2jZHN input[type="radio"],\n[data-toggle="buttons"] > .buttons---btn---2jZHN input[type="checkbox"],\n[data-toggle="buttons"] > .buttons---btn-group---1jaDo > .buttons---btn---2jZHN input[type="checkbox"] {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n pointer-events: none;\n}\n.buttons---btn---2jZHN.buttons---btn-compact---mXDAU .fa {\n margin-right: 0;\n}\n.buttons---btn---2jZHN .fa {\n font-size: 14px;\n margin-right: 8px;\n}\n.buttons---btn---2jZHN i.fa,\n.buttons---btn---2jZHN span.fa {\n font-size: 14px;\n color: #666;\n}\n.buttons---btn-primary---Wp1wb i.fa,\n.buttons---btn-danger---1UUqU i.fa,\n.buttons---btn-primary---Wp1wb span.fa,\n.buttons---btn-danger---1UUqU span.fa {\n color: inherit;\n}\n.buttons---btn-lg---2xtUV.buttons---btn---2jZHN i.fa,\n.buttons---btn-sm---3cNnY.buttons---btn---2jZHN i.fa,\n.buttons---btn-xs---2eEDQ.buttons---btn---2jZHN i.fa,\n.buttons---btn-lg---2xtUV.buttons---btn---2jZHN span.fa,\n.buttons---btn-sm---3cNnY.buttons---btn---2jZHN span.fa,\n.buttons---btn-xs---2eEDQ.buttons---btn---2jZHN span.fa {\n font-size: inherit;\n}\n.buttons---btn-lg---2xtUV.buttons---btn---2jZHN i.svg,\n.buttons---btn-lg---2xtUV.buttons---btn---2jZHN span.svg {\n width: 24px;\n height: 24px;\n}\n.buttons---btn---2jZHN i.svg,\n.buttons---btn---2jZHN span.svg {\n width: 16px;\n height: 16px;\n}\n.buttons---btn-sm---3cNnY.buttons---btn---2jZHN i.svg,\n.buttons---btn-xs---2eEDQ.buttons---btn---2jZHN i.svg,\n.buttons---btn-sm---3cNnY.buttons---btn---2jZHN span.svg,\n.buttons---btn-xs---2eEDQ.buttons---btn---2jZHN span.svg {\n width: 12px;\n height: 12px;\n}',""])},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var i,o=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?e:(i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")}))}},function(e,t,n){"use strict"; +/** @license React v16.12.0 + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var r=n(200),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,u=i?Symbol.for("react.strict_mode"):60108,l=i?Symbol.for("react.profiler"):60114,c=i?Symbol.for("react.provider"):60109,p=i?Symbol.for("react.context"):60110,f=i?Symbol.for("react.forward_ref"):60112,h=i?Symbol.for("react.suspense"):60113;i&&Symbol.for("react.suspense_list");var d=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116;i&&Symbol.for("react.fundamental"),i&&Symbol.for("react.responder"),i&&Symbol.for("react.scope");var g="function"==typeof Symbol&&Symbol.iterator;function B(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nP.length&&P.push(e)}function U(e,t,n){return null==e?0:function S(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var s=!1;if(null===e)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case o:case a:s=!0}}if(s)return n(r,e,""===t?"."+T(e,0):t),1;if(s=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;u