diff --git a/.docz/app/db.json b/.docz/app/db.json index 6fc60e01..1a89830f 100644 --- a/.docz/app/db.json +++ b/.docz/app/db.json @@ -33,7 +33,7 @@ }, "menu": [], "ordering": "descending", - "version": "0.1.1", + "version": "0.1.2", "repository": null, "native": false, "base": "/aphrodite-react/", @@ -124,6 +124,38 @@ "value": "Disabled" } ] + }, + "components/LabelButton/LabelButton.mdx": { + "name": "Label Button", + "menu": "Components", + "route": "/components/label-button", + "id": "180617494590163d18d508f40e9aafcf", + "filepath": "components/LabelButton/LabelButton.mdx", + "link": null, + "slug": "components-label-button-label-button", + "order": 0, + "headings": [ + { + "depth": 1, + "slug": "button-as-label", + "value": "Button as Label" + }, + { + "depth": 2, + "slug": "properties", + "value": "Properties" + }, + { + "depth": 2, + "slug": "colors", + "value": "Colors" + }, + { + "depth": 2, + "slug": "block", + "value": "Block" + } + ] } } } \ No newline at end of file diff --git a/.docz/app/imports.js b/.docz/app/imports.js index 0f1e8cbc..39a4a07d 100644 --- a/.docz/app/imports.js +++ b/.docz/app/imports.js @@ -3,4 +3,6 @@ export const imports = { import(/* webpackPrefetch: true, webpackChunkName: "index" */ 'index.mdx'), 'components/Button/Button.mdx': () => import(/* webpackPrefetch: true, webpackChunkName: "components-button-button" */ 'components/Button/Button.mdx'), + 'components/LabelButton/LabelButton.mdx': () => + import(/* webpackPrefetch: true, webpackChunkName: "components-label-button-label-button" */ 'components/LabelButton/LabelButton.mdx'), } diff --git a/dist/components/Button/Button.js b/dist/components/Button/Button.js index bb96ca57..b1ee56ef 100644 --- a/dist/components/Button/Button.js +++ b/dist/components/Button/Button.js @@ -11,6 +11,8 @@ var _propTypes = _interopRequireDefault(require("prop-types")); var _constants = require("./constants"); +var _constants2 = require("../../constants"); + var _Bordered = _interopRequireDefault(require("./Bordered/Bordered")); var _Regular = _interopRequireDefault(require("./Regular/Regular")); @@ -55,53 +57,57 @@ function (_React$Component) { var _this$props = this.props, block = _this$props.block, bordered = _this$props.bordered, - size = _this$props.size; - var styles = Object.assign({}, _constants.BUTTON_STYLES); + size = _this$props.size, + styles = _this$props.styles; + + var _styles = Object.assign({}, _constants.BUTTON_STYLES); if (block) { - styles.display = 'block'; - styles.width = '100%'; + _styles.display = 'block'; + _styles.width = '100%'; } switch (size) { case 'xs': - styles.fontSize = '9px'; - styles.minHeight = '20px'; - styles.lineHeight = '18px'; - styles['@media (max-width: 767px)'] = { + _styles.fontSize = '9px'; + _styles.minHeight = '20px'; + _styles.lineHeight = '18px'; + _styles[_constants2.MEDIA_QUERIES.XS] = { minHeight: '30px', lineHeight: '28px' }; break; case 'sm': - styles.fontSize = '13px'; - styles.minHeight = '30px'; - styles.lineHeight = '28px'; - styles['@media (max-width: 767px)'] = { + _styles.fontSize = '13px'; + _styles.minHeight = '30px'; + _styles.lineHeight = '28px'; + _styles[_constants2.MEDIA_QUERIES.XS] = { minHeight: '40px', lineHeight: '38px' }; break; default: - styles.minHeight = '40px'; - styles.lineHeight = '38px'; - styles['@media (max-width: 767px)'] = { + _styles.minHeight = '40px'; + _styles.lineHeight = '38px'; + _styles[_constants2.MEDIA_QUERIES.XS] = { minHeight: '50px', lineHeight: '48px' }; } + _styles = Object.assign(_styles, styles); + if (bordered) { - return _react.default.createElement(_Bordered.default, _extends({ - styles: styles - }, this.props)); + return _react.default.createElement(_Bordered.default, _extends({}, this.props, { + styles: _styles + })); } - return _react.default.createElement(_Regular.default, _extends({ - styles: styles - }, this.props)); + return _react.default.createElement(_Regular.default, _extends({}, this.props, { + styles: _styles + })); } }]); diff --git a/dist/components/LabelButton/LabelButton.js b/dist/components/LabelButton/LabelButton.js new file mode 100644 index 00000000..77f54759 --- /dev/null +++ b/dist/components/LabelButton/LabelButton.js @@ -0,0 +1,215 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +var _react = _interopRequireDefault(require("react")); + +var _reactEmotion = _interopRequireDefault(require("react-emotion")); + +var _propTypes = _interopRequireDefault(require("prop-types")); + +var _constants = require("../../constants"); + +var _ = require("../"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } + +function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } + +function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } + +function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } + +function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } + +function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; } + +function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +/* Style Wrapper */ +var StyledLabelWrapper = +/*#__PURE__*/ +(0, _reactEmotion.default)('div', { + target: "eofkjt00" +})(function (props) { + return _objectSpread({}, props.styles, { + position: 'relative' + }); +}); +/* Styled Button Label */ + +var StyledLabelButton = Object.assign(_constants.ANIMATIONS.PULL_UP, _defineProperty({ + borderRadius: '8px', + paddingRight: '5px', + paddingLeft: '5px', + '*': { + fontSize: '12px', + lineHeight: '10px', + margin: '0 0 10px' + } +}, _constants.MEDIA_QUERIES.XS, { + minHeight: '38px', + maxHeight: '40px', + '*': { + display: 'none' + } +})); +/* Styled Input */ + +var StyledLabelInput = +/*#__PURE__*/ +(0, _reactEmotion.default)('input', { + target: "eofkjt01" +})(function (props) { + return { + position: 'absolute', + opacity: 0, + zIndex: 1, + top: 0, + right: 0, + bottom: 0, + left: 0, + width: '100%', + height: '100%', + cursor: 'pointer', + borderRadius: '8px', + '&:disabled': { + cursor: 'not-allowed' + } + }; +}); +/* Component it self */ + +var LabelButton = +/*#__PURE__*/ +function (_React$Component) { + _inherits(LabelButton, _React$Component); + + /** + * Component Constructor + * + * @param {object} props - Component Inherit Props + */ + function LabelButton(props) { + var _this; + + _classCallCheck(this, LabelButton); + + _this = _possibleConstructorReturn(this, _getPrototypeOf(LabelButton).call(this, props)); + _this.props = props; + _this.state = { + checked: props.checked || false + }; + _this.handleChange = _this.handleChange.bind(_assertThisInitialized(_assertThisInitialized(_this))); + return _this; + } + /** + * Handle Input Change + * + * @param {object} evt - DOM element click event + */ + + + _createClass(LabelButton, [{ + key: "handleChange", + value: function handleChange(evt) { + if (!evt || !evt.target) { + return; + } + + var _this$props = this.props, + value = _this$props.value, + onChange = _this$props.onChange; + this.setState({ + checked: evt.target.checked + }, function () { + onChange(evt); + }); + } + /** + * Component Render + */ + + }, { + key: "render", + value: function render() { + var props = this.props, + state = this.state; + var labelInputId = "labelBtnInput".concat(props.id); + var labelDisabled = props.disabled ? true : false; + return _react.default.createElement(StyledLabelWrapper, { + styles: { + display: props.hasOwnProperty('block') ? 'block' : 'inline-block' + } + }, _react.default.createElement(StyledLabelInput, { + type: "checkbox", + id: labelInputId, + name: props.name, + onChange: this.handleChange, + disabled: labelDisabled, + value: props.value, + checked: state.checked + }), _react.default.createElement(_.Button, { + type: "button", + id: "labelBtn".concat(props.id), + styles: StyledLabelButton, + disabled: labelDisabled, + bordered: !state.checked, + color: props.color, + block: props.block + }, props.children)); + } + }]); + + return LabelButton; +}(_react.default.Component); +/* Default Properties */ + + +LabelButton.defaultProps = { + id: "random-".concat(Math.random()), + name: '', + value: '', + onChange: function onChange() {} +}; +/* Properties Types */ + +LabelButton.propTypes = { + /** + * Should the Input/Button checked? + */ + checked: _propTypes.default.bool, + + /** + * Should the Input/Button be disabled? + */ + disabled: _propTypes.default.bool, + + /** + * Renders the button using an alternative color. + * Secondary, Warning, Error, Success + */ + color: _propTypes.default.string, + + /** + * Should the Button be block? + */ + block: _propTypes.default.bool +}; +/* Export Component */ + +var _default = LabelButton; +exports.default = _default; \ No newline at end of file diff --git a/dist/components/index.js b/dist/components/index.js index 43466952..387ceade 100644 --- a/dist/components/index.js +++ b/dist/components/index.js @@ -9,7 +9,15 @@ Object.defineProperty(exports, "Button", { return _Button.default; } }); +Object.defineProperty(exports, "LabelButton", { + enumerable: true, + get: function get() { + return _LabelButton.default; + } +}); var _Button = _interopRequireDefault(require("./Button/Button")); +var _LabelButton = _interopRequireDefault(require("./LabelButton/LabelButton")); + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } \ No newline at end of file diff --git a/dist/constants/animations.constants.js b/dist/constants/animations.constants.js new file mode 100644 index 00000000..aadeb924 --- /dev/null +++ b/dist/constants/animations.constants.js @@ -0,0 +1,31 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ANIMATIONS = void 0; + +var _reactEmotion = require("react-emotion"); + +/* Packages */ + +/* Animation Fade In Up */ +var fadeInUp = +/*#__PURE__*/ +(0, _reactEmotion.keyframes)("0%{opacity:0;transform:translate3d(0,75%,0);}100%{opacity:1;transform:none;}"); +/* Animation Pull Up */ + +var pullUp = +/*#__PURE__*/ +(0, _reactEmotion.keyframes)("0%{transform:scaleY(0.1);}25%{transform:scaleY(1);}50%{transform:scaleY(0.95);}100%{transform:scaleY(1);}"); +var ANIMATIONS = { + FADE_IN_UP: { + animation: "".concat(fadeInUp, " 0.75s ease") + }, + PULL_UP: { + willChange: 'transform-origin', + animation: "".concat(pullUp, " 0.75s ease"), + transformOrigin: '50% 100%' + } +}; +exports.ANIMATIONS = ANIMATIONS; \ No newline at end of file diff --git a/dist/constants/colors.constants.js b/dist/constants/colors.constants.js index 1820dad2..3167c525 100644 --- a/dist/constants/colors.constants.js +++ b/dist/constants/colors.constants.js @@ -4,6 +4,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.COLORS = void 0; + +/* Color Base */ var _COLORS = { BLACK: 'rgb(45, 45, 45)', // #2D2D2D @@ -19,12 +21,12 @@ var _COLORS = { // #9DA6AD DARK_GREY: 'rgb(122, 128, 133)', // #7A8085 + YELLOW: 'rgb(255, 198, 30)', + // #FFC61E ORANGE: 'rgb(252, 163, 17)', // #FCA311 - LIGHT_ORANGE: 'rgb(255, 141, 80)', + ORANGE_RED: 'rgb(255, 141, 80)', // #FF8D50 - YELLOW: 'rgb(255, 198, 30)', - // #FFC61E RED: 'rgb(241, 51, 53)', // #F13335 GREEN: 'rgb(96,198,89)', @@ -36,6 +38,8 @@ var _COLORS = { LIGHT_PINK: 'rgb(248, 130, 184)' // #F882B8 }; +/* Export */ + var COLORS = Object.assign({}, _COLORS, { PRIMARY: _COLORS.BLUE, SECONDARY: _COLORS.ORANGE, diff --git a/dist/constants/index.js b/dist/constants/index.js index cab8cd17..3ba69f37 100644 --- a/dist/constants/index.js +++ b/dist/constants/index.js @@ -4,6 +4,18 @@ Object.defineProperty(exports, "__esModule", { value: true }); +var _animations = require("./animations.constants"); + +Object.keys(_animations).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _animations[key]; + } + }); +}); + var _colors = require("./colors.constants"); Object.keys(_colors).forEach(function (key) { @@ -14,4 +26,28 @@ Object.keys(_colors).forEach(function (key) { return _colors[key]; } }); +}); + +var _screenSizes = require("./screen-sizes.constants"); + +Object.keys(_screenSizes).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _screenSizes[key]; + } + }); +}); + +var _mediaQueries = require("./media-queries.constants"); + +Object.keys(_mediaQueries).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _mediaQueries[key]; + } + }); }); \ No newline at end of file diff --git a/dist/constants/media-queries.constants.js b/dist/constants/media-queries.constants.js new file mode 100644 index 00000000..3a9e06e8 --- /dev/null +++ b/dist/constants/media-queries.constants.js @@ -0,0 +1,37 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.MEDIA_QUERIES = void 0; + +var _ = require("../"); + +/* Constants */ + +/* Media Queries */ +var MEDIA_QUERIES = { + PRINT: '@media print', + XXS: "@media (max-width: ".concat(_.SCREEN_SIZES.XS - 1, "px)"), + XS: "@media (min-width: ".concat(_.SCREEN_SIZES.XS, "px) and (max-width: ").concat(_.SCREEN_SIZES.SM - 1, "px)"), + SM: "@media (min-width: ".concat(_.SCREEN_SIZES.SM, "px) and (max-width: ").concat(_.SCREEN_SIZES.MD - 1, "px)"), + MD: "@media (min-width: ".concat(_.SCREEN_SIZES.MD, "px) and (max-width: ").concat(_.SCREEN_SIZES.LG - 1, "px)"), + LG: "@media (min-width: ".concat(_.SCREEN_SIZES.LG, "px) and (max-width: ").concat(_.SCREEN_SIZES.XL - 1, "px)"), + XL: "@media (min-width: ".concat(_.SCREEN_SIZES.XL, "px)"), + // LESS THAN + LT: { + XS: "@media (min-width: ".concat(_.SCREEN_SIZES.XS, "px)"), + SM: "@media (min-width: ".concat(_.SCREEN_SIZES.SM, "px)"), + MD: "@media (min-width: ".concat(_.SCREEN_SIZES.MD, "px)"), + LG: "@media (min-width: ".concat(_.SCREEN_SIZES.LG, "px)") + }, + // GREATER THAN + GT: { + XS: "@media (min-width: ".concat(_.SCREEN_SIZES.XS, "px)"), + SM: "@media (min-width: ".concat(_.SCREEN_SIZES.SM, "px)"), + MD: "@media (min-width: ".concat(_.SCREEN_SIZES.MD, "px)"), + LG: "@media (min-width: ".concat(_.SCREEN_SIZES.LG, "px)"), + XL: "@media (min-width: ".concat(_.SCREEN_SIZES.XL, "px)") + } +}; +exports.MEDIA_QUERIES = MEDIA_QUERIES; \ No newline at end of file diff --git a/dist/constants/screen-sizes.constants.js b/dist/constants/screen-sizes.constants.js new file mode 100644 index 00000000..b565e99b --- /dev/null +++ b/dist/constants/screen-sizes.constants.js @@ -0,0 +1,16 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.SCREEN_SIZES = void 0; + +/* Screen Sizes (pixels) */ +var SCREEN_SIZES = { + XS: 359, + SM: 768, + MD: 1024, + LG: 1280, + XL: 1440 +}; +exports.SCREEN_SIZES = SCREEN_SIZES; \ No newline at end of file diff --git a/docs/assets.json b/docs/assets.json index 5ba34a9c..e4e5450f 100644 --- a/docs/assets.json +++ b/docs/assets.json @@ -1,8 +1,9 @@ { - "app.js": "/aphrodite-react/static/js/app.90134ebc.js", - "index.js": "/aphrodite-react/static/js/index.b08238ea.js", - "components-button-button.js": "/aphrodite-react/static/js/components-button-button.524e7864.js", - "vendors.js": "/aphrodite-react/static/js/vendors.575afc31.js", - "runtime~app.js": "/aphrodite-react/static/js/runtime~app.aa6bf30e95bcfb462a9d.js", + "vendors.js": "/aphrodite-react/static/js/vendors.441203fa.js", + "app.js": "/aphrodite-react/static/js/app.70da6e9f.js", + "index.js": "/aphrodite-react/static/js/index.e368ed28.js", + "components-button-button.js": "/aphrodite-react/static/js/components-button-button.2c059a3b.js", + "components-label-button-label-button.js": "/aphrodite-react/static/js/components-label-button-label-button.8b7b0785.js", + "runtime~app.js": "/aphrodite-react/static/js/runtime~app.acde104acfeadb8fd574.js", "index.html": "/aphrodite-react/index.html" } \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index ab670a34..d1b9eb14 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ -APHRODITE
\ No newline at end of file +APHRODITE
\ No newline at end of file diff --git a/docs/static/js/app.70da6e9f.js b/docs/static/js/app.70da6e9f.js new file mode 100644 index 00000000..fc24a4de --- /dev/null +++ b/docs/static/js/app.70da6e9f.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"./.docz/app/db.json":function(e){e.exports={config:{title:"APHRODITE",description:"UI framework from ingresse.com",themeConfig:{colors:{primary:"#00A5DB"},styles:{body:{fontFamily:'"Roboto", Helvetica, sans-serif',fontWeight:"400",fontSize:"16px",lineHeight:"20px"},h1:{fontWeight:"700",fontSize:"60px",lineHeight:"60px",textTransform:"uppercase",margin:"40px 0 20px",padding:"10px 0"},h2:{fontWeight:"700",fontSize:"32px",lineHeight:"40px",textTransform:"uppercase",margin:"40px 0 20px",padding:"10px 0"}}},menu:[],ordering:"descending",version:"0.1.2",repository:null,native:!1,base:"/aphrodite-react/",dest:"./docs/",src:"./src/",htmlContext:{head:{links:[{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Roboto:400,600,700"}]}}},entries:{"index.mdx":{name:"Getting Started",route:"/",id:"6576455a124f9aaefd860597f03a8fe4",filepath:"index.mdx",link:null,slug:"index",order:0,menu:null,headings:[{depth:1,slug:"aphrodite-react",value:"Aphrodite React"},{depth:2,slug:"install",value:"Install"},{depth:2,slug:"usage-example",value:"Usage Example"}]},"components/Button/Button.mdx":{name:"Button",menu:"Components",route:"/components/button",id:"2b773349a016959194c905ce6ad9d2d4",filepath:"components/Button/Button.mdx",link:null,slug:"components-button-button",order:0,headings:[{depth:1,slug:"button",value:"Button"},{depth:2,slug:"properties",value:"Properties"},{depth:2,slug:"sizes",value:"Sizes"},{depth:2,slug:"color",value:"Color"},{depth:2,slug:"bordered",value:"Bordered"},{depth:2,slug:"block",value:"Block"},{depth:2,slug:"disabled",value:"Disabled"}]},"components/LabelButton/LabelButton.mdx":{name:"Label Button",menu:"Components",route:"/components/label-button",id:"180617494590163d18d508f40e9aafcf",filepath:"components/LabelButton/LabelButton.mdx",link:null,slug:"components-label-button-label-button",order:0,headings:[{depth:1,slug:"button-as-label",value:"Button as Label"},{depth:2,slug:"properties",value:"Properties"},{depth:2,slug:"colors",value:"Colors"},{depth:2,slug:"block",value:"Block"}]}}}},"./.docz/app/imports.js":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={"index.mdx":function(){return n.e(2).then(n.bind(null,"./src/index.mdx"))},"components/Button/Button.mdx":function(){return Promise.all([n.e(0),n.e(3)]).then(n.bind(null,"./src/components/Button/Button.mdx"))},"components/LabelButton/LabelButton.mdx":function(){return Promise.all([n.e(0),n.e(4)]).then(n.bind(null,"./src/components/LabelButton/LabelButton.mdx"))}}},"./.docz/app/index.jsx":function(e,t,n){"use strict";n.r(t);var o=n("./node_modules/react/index.js"),l=n.n(o),s=n("./node_modules/react-dom/index.js"),d=n.n(s),a=n("./.docz/app/root.jsx"),u=[],i=[],r=function(){return i.forEach(function(e){return e&&e()})},p=document.querySelector("#root");!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.a;u.forEach(function(e){return e&&e()}),d.a.render(l.a.createElement(e,null),p,r)}(a.a)},"./.docz/app/root.jsx":function(e,t,n){"use strict";(function(e){var o=n("./node_modules/react/index.js"),l=n.n(o),s=n("./node_modules/react-hot-loader/index.js"),d=n("./node_modules/docz-theme-default/dist/index.js"),a=n.n(d),u=n("./.docz/app/imports.js"),i=n("./.docz/app/db.json"),r=function(){return l.a.createElement(a.a,{db:i,imports:u.a,hashRouter:!1})};t.a=Object(s.hot)(e)(r),r.__docgenInfo={description:"",methods:[],displayName:"Root"}}).call(this,n("./node_modules/webpack/buildin/harmony-module.js")(e))},0:function(e,t,n){n("./node_modules/@babel/polyfill/lib/index.js"),e.exports=n("./.docz/app/index.jsx")},1:function(e,t){},2:function(e,t){}},[[0,5,0]],[0,3,4,2]]); \ No newline at end of file diff --git a/docs/static/js/app.90134ebc.js b/docs/static/js/app.90134ebc.js deleted file mode 100644 index 1d04c08b..00000000 --- a/docs/static/js/app.90134ebc.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"./.docz/app/db.json":function(e){e.exports={config:{title:"APHRODITE",description:"UI framework from ingresse.com",themeConfig:{colors:{primary:"#00A5DB"},styles:{body:{fontFamily:'"Roboto", Helvetica, sans-serif',fontWeight:"400",fontSize:"16px",lineHeight:"20px"},h1:{fontWeight:"700",fontSize:"60px",lineHeight:"60px",textTransform:"uppercase",margin:"40px 0 20px",padding:"10px 0"},h2:{fontWeight:"700",fontSize:"32px",lineHeight:"40px",textTransform:"uppercase",margin:"40px 0 20px",padding:"10px 0"}}},menu:[],ordering:"descending",version:"0.1.1",repository:null,native:!1,base:"/aphrodite-react/",dest:"./docs/",src:"./src/",htmlContext:{head:{links:[{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Roboto:400,600,700"}]}}},entries:{"index.mdx":{name:"Getting Started",route:"/",id:"6576455a124f9aaefd860597f03a8fe4",filepath:"index.mdx",link:null,slug:"index",order:0,menu:null,headings:[{depth:1,slug:"aphrodite-react",value:"Aphrodite React"},{depth:2,slug:"install",value:"Install"},{depth:2,slug:"usage-example",value:"Usage Example"}]},"components/Button/Button.mdx":{name:"Button",menu:"Components",route:"/components/button",id:"2b773349a016959194c905ce6ad9d2d4",filepath:"components/Button/Button.mdx",link:null,slug:"components-button-button",order:0,headings:[{depth:1,slug:"button",value:"Button"},{depth:2,slug:"properties",value:"Properties"},{depth:2,slug:"sizes",value:"Sizes"},{depth:2,slug:"color",value:"Color"},{depth:2,slug:"bordered",value:"Bordered"},{depth:2,slug:"block",value:"Block"},{depth:2,slug:"disabled",value:"Disabled"}]}}}},"./.docz/app/imports.js":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={"index.mdx":function(){return n.e(1).then(n.bind(null,"./src/index.mdx"))},"components/Button/Button.mdx":function(){return n.e(2).then(n.bind(null,"./src/components/Button/Button.mdx"))}}},"./.docz/app/index.jsx":function(e,t,n){"use strict";n.r(t);var o=n("./node_modules/react/index.js"),d=n.n(o),s=n("./node_modules/react-dom/index.js"),i=n.n(s),r=n("./.docz/app/root.jsx"),a=[],u=[],l=function(){return u.forEach(function(e){return e&&e()})},p=document.querySelector("#root");!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.a;a.forEach(function(e){return e&&e()}),i.a.render(d.a.createElement(e,null),p,l)}(r.a)},"./.docz/app/root.jsx":function(e,t,n){"use strict";(function(e){var o=n("./node_modules/react/index.js"),d=n.n(o),s=n("./node_modules/react-hot-loader/index.js"),i=n("./node_modules/docz-theme-default/dist/index.js"),r=n.n(i),a=n("./.docz/app/imports.js"),u=n("./.docz/app/db.json"),l=function(){return d.a.createElement(r.a,{db:u,imports:a.a,hashRouter:!1})};t.a=Object(s.hot)(e)(l),l.__docgenInfo={description:"",methods:[],displayName:"Root"}}).call(this,n("./node_modules/webpack/buildin/harmony-module.js")(e))},0:function(e,t,n){n("./node_modules/@babel/polyfill/lib/index.js"),e.exports=n("./.docz/app/index.jsx")},1:function(e,t){},2:function(e,t){}},[[0,4,3]],[2,1]]); \ No newline at end of file diff --git a/docs/static/js/components-button-button.2c059a3b.js b/docs/static/js/components-button-button.2c059a3b.js new file mode 100644 index 00000000..15aadeac --- /dev/null +++ b/docs/static/js/components-button-button.2c059a3b.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"./src/components/Button/Button.mdx":function(A,o,g){"use strict";g.r(o);var E=g("./node_modules/react/index.js"),F=g.n(E),B=g("./node_modules/@mdx-js/tag/dist/index.js"),e=g("./node_modules/docz/dist/index.m.js"),C=g("./src/components/index.js");function r(A,o){if(null==A)return{};var g,E,F=function(A,o){if(null==A)return{};var g,E,F={},B=Object.keys(A);for(E=0;E=0||(F[g]=A[g]);return F}(A,o);if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(A);for(E=0;E=0||Object.prototype.propertyIsEnumerable.call(A,g)&&(F[g]=A[g])}return F}o.default=function(A){var o=A.components,g=r(A,["components"]);return F.a.createElement(B.MDXTag,{name:"wrapper",components:o},F.a.createElement(B.MDXTag,{name:"h1",components:o,props:{id:"button"}},"Button"),F.a.createElement(B.MDXTag,{name:"h2",components:o,props:{id:"properties"}},"Properties"),F.a.createElement(e.PropsTable,{of:C.a}),F.a.createElement(B.MDXTag,{name:"h2",components:o,props:{id:"sizes"}},"Sizes"),F.a.createElement(e.Playground,{__position:1,__codesandbox:"N4IgZglgNgpgziAXKCA7AJjAHgOgBYAuAtlEqAMYD2qBMNSIAPOhAG4AEE6AvADogAnSpQL8AfIwD0LVmJABfADQg0mXACsEyEFRp0CDSQCojvVO3YAVPBDjsAwpUwBlAIYYARpSzs8rux4wdOyuAK4ElESuBBDkrlBQAJ7sAOZ0MALRMOjsoXBoKWYWAAZUmHDu6F5YGcU47ACSYOyJlKEA5AIw7OShAhBtdniUAO7sBH4Evq4ADjPp6IotbT3uRT14MOQA1uxtU20C7OiU5EMZMIi-BAQzcIiSkikQE6EeOFREkqiUrGiJkjK8Eq1QyZnWTWWoXY2Hm_To5G67mScAIAlCKRSsDsIxeeHGNjsFU83iWM1g_m6mVsSPMtjgoRg62oqTxb3qiAAlGYjJIzBAiDNKAIpgAlGCuchTMB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E5g4lKfLuKsTPIFJkLKqRLqrBzOEgpOVtQ7x1wTJg5RQTIk42qTyUL1KpLSLfEZI7yNyJCFJ7A7xfFjLcioKTIGgI5JDwjuKrzBKOqPJFrlqMrfFfF7ENrUselfjkDaywEIEoEcAYFrF4FgBEEay1ClgCDddjC44y0frU8xCWqi1nBLwXsI5WK44rgQaRCzLFLiTLxRRRR3tvcEaedoqi1aMhcI49rI9gb3D3LPLdRaMIbg57B7Bk4U4hCsaI88qI5iS9qAA1VGyG4mtQnAScgQnyc1LGOyLWNIICagcsy_EAXJfgAjU8fgK4fgIEYkKobwDIC7LAH0ckJkEAXlfgW0lDH_OW9gfgPiHAE2viCydYfgcocgfoGYLqQ2_gIKN-ACNeDW2AJackSgRIAsTDecI-c0C0RWkEFWgQC2usfgKINAB2lQSMoCMOiwK2mAeYKMAKYdCGJANvc-fgD_aOgAPV5JwE5RwHsXjvrH4F_mdm0zzqQpwAUmLtLoTpAC_3tozv4Fzt0WLpwHgobqNsEHO2boNtbpAHbs7u7u1vXGzvO2tGrrrqLpLpAHWD9TFmDtwF0EgBSFFrONeJjIYHYhAFoF9CyDloVrNFoAtA_yiLmH4HkAUHkHkCAA",__code:'\n\n',__scope:{props:g,Button:C.a}},F.a.createElement(C.a,null,"Regular"),F.a.createElement(C.a,{size:"sm"},"Smaller"),F.a.createElement(C.a,{size:"xs"},"Extra Smaller")),F.a.createElement(B.MDXTag,{name:"h2",components:o,props:{id:"color"}},"Color"),F.a.createElement(e.Playground,{__position:2,__codesandbox:"N4IgZglgNgpgziAXKCA7AJjAHgOgBYAuAtlEqAMYD2qBMNSIAPOhAG4AEE6AvADogAnSpQL8AfIwD0LVmJABfADQg0mXACsEyEFRp0CDSQCojvVO3YAVPBDjsAwpUwBlAIYYARpSzs8rux4wdOyuAK4ElESuBBDkrlBQAJ7sAOZ0MALRMOjsoXBoKWYWAAZUmHDu6F5YGcU47ACSYOyJlKEA5AIw7OShAhBtdniUAO7sBH4Evq4ADjPp6IotbT3u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xMxcxCxZFSFHkrSqFHkgFHkGytFoF2oMk2oGy2oxS64CxqhnQiFfFGySw1pCkilGyqYQl9Fd5xS2oQUCkQU2o642looLhmxA-Bph50Y3FPFnk7yilqYalokKGGlGyQUwyfEwyvqgZ1OQUC8PethHeCF35vqVl1pqYKl6l956k9gQUqYHkHk64rFGxXlPl8FslgVf5XkHkSwrl4VYFuF2o_q64a8l4G8VOd0Ml5lAFilxS6FgkfEOV4F9gCkHkl464_e2obinFyFmV7Avq3Vvq9l15FgOFSKdlHl8sgxl4C8-inFxSylHk1VigwyxStFjl95CkfEjVvqklO5G808fl5ViFEpnkCk_Fy1Dlq1d5ASQUvq2od464Jk08ooJkW8B1R5AlwVblilwyMkWFoFzhCk9gd4wy8V6xcxJkDQC8LhApFVKFnkNyX1P151OFwywyrSQNc-02PZjC1EW5si8iiiOAyijSaiwAGim5QRSw5eseCRa8N65NXeOAjhe1l6zgl4FOC8hla8Vw9NE-SVvlyhl4oooo1OtePNNubVl6d0TuC8ENPedN_ROARVJVuod0LN089g9g28O8dhYtAx_ek1yhENAAaoLazfLUETgG-TYT5DWobHZNsEXIBJoNQESTnAwMcvwKgD6EyEgOwPwECMSFUN4BkDjlgD6OSD7YGvwDmVXrQfwFcPwHxDgEnXxBZOsPwOUOQP0DMF1PHX7SAEFOlARLADCGHQBEtOSJQIkAWDpvONOFQQHSCMHajCAFHSAFEGgHnfwFbPtmnXWBnTAPMFGAFBBuzL7eXvwCQV3SAAAHrWk4C-o4CtJ930LEzDhdwpbT1z2L0KRL0r31j8C44iBx2-38Az3FJL04DcX70WCT1UFH252n2z0X2tJX3L2t3rh33mhWiRBb3z2L3v3rAjrxxN24C6CQApBAQu0dmrkQTsQgC0C-hZDx3-1mi0AWgkHtFzD8DyAKDyDyBAA",__code:'\n\n\n\n\n\n',__scope:{props:g,Button:C.a}},F.a.createElement(C.a,{color:"warning"},"Warning"),F.a.createElement(C.a,{color:"secondary"},"Secondary"),F.a.createElement(C.a,{color:"error"},"Error"),F.a.createElement(C.a,{color:"primary"},"Primary"),F.a.createElement(C.a,{color:"success"},"Success"),F.a.createElement(C.a,{color:"black"},"Black"),F.a.createElement(C.a,{color:"white"},"White")),F.a.createElement(B.MDXTag,{name:"h2",components:o,props:{id:"bordered"}},"Bordered"),F.a.createElement(e.Playground,{__position:3,__codesandbox:"N4IgZglgNgpgziAXKCA7AJjAHgOgBYAuAtlEqAMYD2qBMNSIAPOhAG4AEE6AvADogAnSpQL8AfIwD0LVmJABfADQg0mXACsEyEFRp0CDSQCojvVO3YAVPBDjsAwpUwBlAIYYARpSzs8rux4wdOyuAK4ElESuBBDkrlBQAJ7sAOZ0MALRMOjsoXBoKWYWAAZUmHDu6F5YGcU47ACSYOyJlKEA5AIw7OShAhBtdniUAO7sBH4Evq4ADjPp6IotbT3uRT14MOQA1uxtU20C7OiU5EMZMIi-BAQzcIiSkikQE6EeOFREkqiUrGiJkjK8Eq1QyZnWTWWoXY2Hm_To5G67mScAIAlCKRSsDsIxeeHGNjsFU83iWM1g_m6mVsSPMtjgoRg62oqTxb3qiAAlGYjJIzBAiDNKAIpgAlGCuchTMBCIjsToSqXtADc_MFwrFioIABEAPIAWXYMsi8q6koIAFoTkQVWqhSKHJEhah9EbZfKcJJsK5BbAcJpbagzOLzXr9TguhgMgAKdbMNhidYWRh4ADMYkc6pdNE46pF2XYuImPScwJJNQEiCkacT5gs7EYMzE0YaUyiyRdBdc6BYMWo8XYMyEd3GlFSMCmL3Ykcw_VQKULMASnKkTaTDczztdklryekCcUZhOvSI-hwaQIAFFYKeaAAhRINdDRzrCAjtbmoTnKhTKb2-mB_S0ChqFoehEBUPMpmAdg73CCJzHkN0TXaT04AEchASdah9DgQMBXtTVzWQuUFXNQMzF0VFjlOAAvZwCESbF2G4dhgHWKIBGeVArnaAAGdhUxmLB2kPOsZm7Fh514gAWYT2AANmE0T1jAUCADEfWgRJeP4ZxDkRR1MHYAAFIR-CWIhqEoOAJMRFS6zUmhnAgWjLnYABGGSxPkVUg1Q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N4BkOzlgD6OSCnUWvwO2SPiIfwFcPwHxDgFXXxBZOsPwOUOQP0DMF1OXWnSAEFOlARLADCHnQBEtOSJQIkAWB5vONOFqBaBnSCNnaTCAEXSAFEGgG3fwLHF9nXXWA3TAPMFGAFGRorKnYPvwLTqIKnfwAAHphk4B5o4BLLr3kz8DGJ7yNbL0gAX3X0KQ31331j8Ac4iBl2n2v0DI304CqVf0WBH0T2_2t0ANn1ANLIgO31z3rgQOCHWgv0X0f3X2IPrCHrNzT24C6CQApBAQx3clx0QTsQgC0C-hZDl3p1mi0AWjH2LFzD8DyAKDyDyBAA",__code:'\n\n\n\n\n\n',__scope:{props:g,Button:C.a}},F.a.createElement(C.a,{bordered:!0,color:"warning"},"Warning"),F.a.createElement(C.a,{bordered:!0,color:"secondary"},"Secondary"),F.a.createElement(C.a,{bordered:!0,color:"error"},"Error"),F.a.createElement(C.a,{bordered:!0,color:"primary"},"Primary"),F.a.createElement(C.a,{bordered:!0,color:"success"},"Success"),F.a.createElement(C.a,{bordered:!0,color:"black"},"Black"),F.a.createElement(C.a,{bordered:!0,color:"white"},"White")),F.a.createElement(B.MDXTag,{name:"h2",components:o,props:{id:"block"}},"Block"),F.a.createElement(e.Playground,{__position:4,__codesandbox:"N4IgZglgNgpgziAXKCA7AJjAHgOgBYAuAtlEqAMYD2qBMNSIAPOhAG4AEE6AvADogAnSpQL8AfIwD0LVmJABfADQg0mXACsEyEFRp0CDSQCojvVO3YAVPBDjsAwpUwBlAIYYARpSzs8rux4wdOyuAK4ElESuBBDkrlBQAJ7sAOZ0MALRMOjsoXBoKWYWAAZUmHDu6F5YGcU47ACSYOyJlKEA5AIw7OShAhBtdniUAO7sBH4Evq4ADjPp6IotbT3uRT14MOQA1uxtU20C7OiU5EMZMIi-BAQzcIiSkikQE6EeOFREkqiUrGiJkjK8Eq1QyZnWTWWoXY2Hm_To5G67mScAIAlCKRSsDsIxeeHGNjsFU83iWM1g_m6mVsSPMtjgoRg62oqTxb3qiAAlGYjJI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I-IrLMUALJ5yDjZWL9K8LATPIFI3yYryK4rSysEgpMVtQ7x1wTJjZRQTInZMqJz3yuLaKIKdEZJFyezKCFJ7A7wdExKAjbyTIGgLYqDLC8LZySLsqPIWq2r4KVydE5Fur3Nckw9TjqJEyz4L4r4cAb4pF75gBH4Ez2ClggDhCBco0DrPc0rLww1nBLx1sLYMK7YrhzrfDJKWLwDLxRRRQttddnrcd7Kw1kNicLZBqbczqXCtKdLdRkNrrjZ7B7BnYXYSDfrrdAqLZwDBqAA1D6m6sG9gnAWsognyCVF6OyTmNIICagR05mBgTZfgMDU8fgK4fgIEYkKobwDIXfLAH0ckJkEAXFfgNUz9A_Rm9gfgPiHAcWviCydYfgcocgfoGYLqEW_gIKdKAiWAIo7mjWzAckSgRIAsPIAoacHfFmkEdmgQaWusfgKINAZWlQGLICS2iwWWmAeYKMAKCAeAEWoA_gKbO2gAPVJJwExRwDkSdvrH4F3iVlvQDtfJwAUlDvDudpAD3yVqQFFpAH9t4VDpwCfKTozqm131m2FvTv4Czpzrzr5vXF9p32tFjoTpDrDpAHWANRJjNtwF0EgBSApumO2JjIgnYhAFoF9CyEZuZrNFoAtELtmBmH4HkAUHkHkCAA",__code:"",__scope:{props:g,Button:C.a}},F.a.createElement(C.a,{block:!0},"Block")),F.a.createElement(B.MDXTag,{name:"h2",components:o,props:{id:"disabled"}},"Disabled"),F.a.createElement(B.MDXTag,{name:"p",components:o},"Ignore ",F.a.createElement(B.MDXTag,{name:"inlineCode",components:o,parentName:"p"},"color")," attribute"),F.a.createElement(B.MDXTag,{name:"p",components:o},"."),F.a.createElement(e.Playground,{__position:5,__codesandbox:"N4IgZglgNgpgziAXKCA7AJjAHgOgBYAuAtlEqAMYD2qBMNSIAPOhAG4AEE6AvADogAnSpQL8AfIwD0LVmJABfADQg0mXACsEyEFRp0CDSQCojvVO3YAVPBDjsAwpUwBlAIYYARpSzs8rux4wdOyuAK4ElESuBBDkrlBQAJ7sAOZ0MALRMOjsoXBoKWYWAAZUm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klgJSFJaKClUw8LoKpzrFtQgoFIgptR1x2LRRpDGi08GTezox0KMLPJ-laLUwmLRJD0WKCkgook-IolJUVTAcgoc4k9hDqDOhbyNyxKJTUwGLmLpz1J7AgpUwPIPJ1xEKGi1KNLrydL1zNzaKZIPIlhFLjKjzPztRpV1wi5LwS4AduMKLHK7znLPJrFnzBI-JPLjz7AFIPJLx1xU9tQjFUL7y3L2BJVMrJVpLxzgsWL1ItkpKVKCYC9Lwc56FULrF6KPJIrFAolrFILZLpyFI-J4rJVSKOyS504tKQrhKSTPIFJsKmqZKWqpyJEgpJVtQ7x1wTJ05RQTIy5-rbycL9KlLaKokZI3zDypCFJ7A7wolrL6iyiTIGgc5pCcThKnzJLBqPItqdrCqokokfFDrYyW5q8ITqI2zkFUF0EcBMEPEcFgA8FWzeClgSDfDLDx0waxCJDeqW1nBLw_sc5eKi4rhYa887LNKSdLxRRRRAdg9MajcUqW1uNxcc5zqk8Ya0icB_LArdRuNEb057B7By4K4RDib0jYKc4SdzqAA1PGpGmm3gnAJcoQlouMkAOybYO2QCTQagVM-_EAcFfgOjU8fgK4fgIEYkKobwDIJ7LAH0ckJkEAWVfgT0gPAAzW9gfgPiHAe2viCydYfgcocgfoGYLqG2_gIKdKAiWAC-Y2gOzAckSgRIAsPIAoacLUC0HWkEfWgQZ2usfgKINAb2lQZMoCJOiwV2mAeYKMAKCAeAG2kg_gC7UQJAW2kAAAPQlJwElRwB8WzvrH4CgTDnQ3TtroboUkbubpzpAGexEGtsrv4GrusUbpwHQr7qrvLr_yHuoE7vHp8UnqbrNvXDLpjutE7rrobtXvWATS1njtwF0EgBSCAkVobP-IYHYhAFoF9CyE1u1rNFoAtFntmBmH4HkAUHkHkCAA",__code:'\n',__scope:{props:g,Button:C.a}},F.a.createElement(C.a,{color:"black",disabled:!0},"Regular Disabled"),F.a.createElement(C.a,{color:"red",bordered:!0,disabled:!0},"Bordered Disabled")))}}}]); \ No newline at end of file diff --git a/docs/static/js/components-button-button.524e7864.js b/docs/static/js/components-button-button.524e7864.js deleted file mode 100644 index 8b41d3f0..00000000 --- a/docs/static/js/components-button-button.524e7864.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"./src/components/Button/Button.mdx":function(o,e,A){"use strict";A.r(e);var t=A("./node_modules/react/index.js"),r=A.n(t),n=A("./node_modules/@mdx-js/tag/dist/index.js"),g=A("./node_modules/docz/dist/index.m.js"),c={display:"inline-block",width:"auto",margin:0,padding:"0 20px",cursor:"pointer",outline:0,border:"1px solid",fontSize:"16px",minWidth:"140px",borderRadius:"25px",textTransform:"uppercase",userSelect:"none","&:hover,&:focus,&:active,&:disabled":{outline:0}},l=A("./node_modules/react-emotion/dist/index.esm.js"),i={BLACK:"rgb(45, 45, 45)",WHITE:"rgb(255, 255, 255)",SMOKE:"rgb(248, 248, 248)",GREY_SMOKE:"rgb(238, 238, 238)",LIGHT_GREY:"rgb(212, 215, 217)",GREY:"rgb(157, 166, 173)",DARK_GREY:"rgb(122, 128, 133)",ORANGE:"rgb(252, 163, 17)",LIGHT_ORANGE:"rgb(255, 141, 80)",YELLOW:"rgb(255, 198, 30)",RED:"rgb(241, 51, 53)",GREEN:"rgb(96,198,89)",BLUE:"rgb(0, 165, 219)",PURPLE:"rgb(172, 108, 184)",LIGHT_PINK:"rgb(248, 130, 184)"},a=Object.assign({},i,{PRIMARY:i.BLUE,SECONDARY:i.ORANGE,ERROR:i.RED,WARNING:i.YELLOW,SUCCESS:i.GREEN,INVERSE:i.WHITE});function E(o){return(E="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"===typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(o)}function u(o,e){for(var A=0;A=0||(r[A]=o[A]);return r}(o,e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(o,A)&&(r[A]=o[A])}return r}k.__docgenInfo={description:"",methods:[],displayName:"Button",props:{type:{defaultValue:{value:"'button'",computed:!1},type:{name:"string"},required:!1,description:"Button Type.\nButton, Reset, Submit"},disabled:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:"Should the Button be disabled?"},color:{defaultValue:{value:"'primary'",computed:!1},type:{name:"string"},required:!1,description:"Renders the button using an alternative color.\nSecondary, Warning, Error, Success"},bordered:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:"Should the Button be bordered?"},block:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:"Should the Button be block?"},size:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:"Size of the button. Use the Button's xs or sm."}}};e.default=function(o){var e=o.components,A=x(o,["components"]);return r.a.createElement(n.MDXTag,{name:"wrapper",components:e},r.a.createElement(n.MDXTag,{name:"h1",components:e,props:{id:"button"}},"Button"),r.a.createElement(n.MDXTag,{name:"h2",components:e,props:{id:"properties"}},"Properties"),r.a.createElement(g.PropsTable,{of:z}),r.a.createElement(n.MDXTag,{name:"h2",components:e,props:{id:"sizes"}},"Sizes"),r.a.createElement(g.Playground,{__position:1,__codesandbox:"N4IgZglgNgpgziAXKCA7AJjAHgOgBYAuAtlEqAMYD2qBMNSIAPOhAG4AEE6AvADogAnSpQL8AfIwD0LVmJABfADQg0mXACsEyEFRp0CDSQCojvVO3YAVPBDjsAwpUwBlAIYYARpSzs8rux4wdOyuAK4ElESuBBDkrlBQAJ7sAOZ0MALRMOjsoXBoKWYWAAZUmHDu6F5YGcU47ACSYOyJlKEA5AIw7OShAhBtdniUAO7sBH4Evq4ADjPp6IotbT3uRT14MOQA1uxtU20C7OiU5EMZMIi-BAQzcIiSkikQE6EeOFREkqiUrGiJkjK8Eq1QyZnWTWWoXY2Hm_To5G67mScAIAlCKRSsDsIxeeHGNjsFU83iWM1g_m6mVsSPMtjgoRg62oqTxb3qiAAlGYjJIzBAiDNKAIpgAlGCuchTMBCIjsToSqXtADc_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PIFJkLKqRLqrBzOEgpOVtQ7x1wTJg5RQTIk42qTyUL1KpLSLfEZI7yNyJCFJ7A7xfFjLcioKTIGgI5JDwjuKrzBKOqPJFrlqMrfFfF7ENrUselfjkDaywEIEoEcAYFrF4FgBEEay1ClgCDddjC44y0frU8xCWqi1nBLwXsI5WK44rgQaRCzLFLiTLxRRRR3tvcEaedoqi1aMhcI49rI9gb3D3LPLdRaMIbg57B7Bk4U4hCsaI88qI5iS9qAA1VGyG4mtQnAScgQnyc1LGOyLWNIICagcsy_EAXJfgAjU8fgK4fgIEYkKobwDIC7LAH0ckJkEAXlfgW0lDH_OW9gfgPiHAE2viCydYfgcocgfoGYLqQ2_gIKN-ACNeDW2AJackSgRIAsTDecI-c0C0RWkEFWgQC2usfgKINAB2lQSMoCMOiwK2mAeYKMAKYdCGJANvc-fgD_aOgAPV5JwE5RwHsXjvrH4F_mdm0zzqQpwAUmLtLoTpAC_3tozv4Fzt0WLpwHgobqNsEHO2boNtbpAHbs7u7u1vXGzvO2tGrrrqLpLpAHWD9TFmDtwF0EgBSFFrONeJjIYHYhAFoF9CyDloVrNFoAtA_yiLmH4HkAUHkHkCAA",__code:'\n\n',__scope:{props:A,Button:z}},r.a.createElement(z,null,"Regular"),r.a.createElement(z,{size:"sm"},"Smaller"),r.a.createElement(z,{size:"xs"},"Extra Smaller")),r.a.createElement(n.MDXTag,{name:"h2",components:e,props:{id:"color"}},"Color"),r.a.createElement(g.Playground,{__position:2,__codesandbox:"N4IgZglgNgpgziAXKCA7AJjAHgOgBYAuAtlEqAMYD2qBMNSIAPOhAG4AEE6AvADogAnSpQL8AfIwD0LVmJABfADQg0mXACsEyEFRp0CDSQCojvVO3YAVPBDjsAwpUwBlAIYYARpSzs8rux4wdOyuAK4ElESuBBDkrlBQAJ7sAOZ0MALRMOjsoXBoKWYWAAZUmHDu6F5YGcU47ACSYOyJlKEA5AIw7OShAhBtdniUAO7sBH4Evq4ADjPp6IotbT3uRT14MOQA1uxtU20C7OiU5E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FHkGytFoF2oMk2oGy2oxS64CxqhnQiFfFGySw1pCkilGyqYQl9Fd5xS2oQUCkQU2o642looLhmxA-Bph50Y3FPFnk7yilqYalokKGGlGyQUwyfEwyvqgZ1OQUC8PethHeCF35vqVl1pqYKl6l956k9gQUqYHkHk64rFGxXlPl8FslgVf5XkHkSwrl4VYFuF2o_q64a8l4G8VOd0Ml5lAFilxS6FgkfEOV4F9gCkHkl464_e2obinFyFmV7Avq3Vvq9l15FgOFSKdlHl8sgxl4C8-inFxSylHk1VigwyxStFjl95CkfEjVvqklO5G808fl5ViFEpnkCk_Fy1Dlq1d5ASQUvq2od464Jk08ooJkW8B1R5AlwVblilwyMkWFoFzhCk9gd4wy8V6xcxJkDQC8LhApFVKFnkNyX1P151OFwywyrSQNc-02PZjC1EW5si8iiiOAyijSaiwAGim5QRSw5eseCRa8N65NXeOAjhe1l6zgl4FOC8hla8Vw9NE-SVvlyhl4oooo1OtePNNubVl6d0TuC8ENPedN_ROARVJVuod0LN089g9g28O8dhYtAx_ek1yhENAAaoLazfLUETgG-TYT5DWobHZNsEXIBJoNQESTnAwMcvwKgD6EyEgOwPwECMSFUN4BkDjlgD6OSD7YGvwDmVXrQfwFcPwHxDgEnXxBZOsPwOUOQP0DMF1PHX7SAEFOlARLADCGHQBEtOSJQIkAWDpvONOFQQHSCMHajCAFHSAFEGgHnfwFbPtmnXWBnTAPMFGAFBBuzL7eXvwCQV3SAAAHrWk4C-o4CtJ930LEzDhdwpbT1z2L0KRL0r31j8C44iBx2-38Az3FJL04DcX70WCT1UFH252n2z0X2tJX3L2t3rh33mhWiRBb3z2L3v3rAjrxxN24C6CQApBAQu0dmrkQTsQgC0C-hZDx3-1mi0AWgkHtFzD8DyAKDyDyBAA",__code:'\n\n\n\n\n\n',__scope:{props:A,Button:z}},r.a.createElement(z,{color:"warning"},"Warning"),r.a.createElement(z,{color:"secondary"},"Secondary"),r.a.createElement(z,{color:"error"},"Error"),r.a.createElement(z,{color:"primary"},"Primary"),r.a.createElement(z,{color:"success"},"Success"),r.a.createElement(z,{color:"black"},"Black"),r.a.createElement(z,{color:"white"},"White")),r.a.createElement(n.MDXTag,{name:"h2",components:e,props:{id:"bordered"}},"Bordered"),r.a.createElement(g.Playground,{__position:3,__codesandbox:"N4IgZglgNgpgziAXKCA7AJjAHgOgBYAuAtlEqAMYD2qBMNSIAPOhAG4AEE6AvADogAnSpQL8AfIwD0LVmJABfADQg0mXACsEyEFRp0CDSQCojvVO3YAVPBDjsAwpUwBlAIYYARpSzs8rux4wdOyuAK4ElESuBBDkrlBQAJ7sAOZ0MALRMOjsoXBoKWYWAAZUmHDu6F5YGcU47ACSYOyJlKEA5AIw7OShAhBtdniUAO7sBH4Evq4ADjPp6IotbT3uRT14MOQA1uxtU20C7OiU5EMZMIi-BAQzcIiSkikQE6EeOFREkqiUrGiJkjK8Eq1QyZnWTWWoXY2Hm_To5G67mScAIAlCKRSsDsIxeeHGNjsFU83iWM1g_m6mVsSPMtjgoRg62oqTxb3qiAAlGYjJIzBAiDNKAIpgAlGCuchTMBCIjsToSqXtADc_MFwrFioIABEAPIAWXYMsi8q6koIAFoTkQVWqhSKHJEhah9EbZfKcJJsK5BbAcJpbagzOLzXr9TguhgMgAKdbMNhidYWRh4ADMYkc6pdNE46pF2XYuImPScwJJNQEiCkacT5gs7EYMzE0YaUyiyRdBdc6BYMWo8XYMyEd3GlFSMCmL3Ykcw_VQKULMASnKkTaTDczztdklryekCcUZhOvSI-hwaQIAFFYKeaAAhRINdDRzrCAjtbmoTnKhTKb2-mB_S0ChqFoehEBUPMpmAdg73CCJzHkN0TXaT04AEchASdah9DgQMBXtTVzWQuUFXNQMzF0VFjlOAAvZwCESbF2G4dhgHWKIBGeVArnaAAGdhUxmLB2kPOsZm7Fh514gAWYT2AANmE0T1jAUCADEfWgRJeP4ZxDkRR1MHYAAFIR-CWIhqEoOAJMRFS6zUmhnAgWjLnYABGGSxPkVUg1QKipgAQTmFj2GjGDyBsKB0Ejdh5E5FixHCuMZH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XxBZOsPwOUOQP0DMF1OXWnSAEFOlARLADCHnQBEtOSJQIkAWB5vONOFqBaBnSCNnaTCAEXSAFEGgG3fwLHF9nXXWA3TAPMFGAFGRorKnYPvwLTqIKnfwAAHphk4B5o4BLLr3kz8DGJ7yNbL0gAX3X0KQ31331j8Ac4iBl2n2v0DI304CqVf0WBH0T2_2t0ANn1ANLIgO31z3rgQOCHWgv0X0f3X2IPrCHrNzT24C6CQApBAQx3clx0QTsQgC0C-hZDl3p1mi0AWjH2LFzD8DyAKDyDyBAA",__code:'\n\n\n\n\n\n',__scope:{props:A,Button:z}},r.a.createElement(z,{bordered:!0,color:"warning"},"Warning"),r.a.createElement(z,{bordered:!0,color:"secondary"},"Secondary"),r.a.createElement(z,{bordered:!0,color:"error"},"Error"),r.a.createElement(z,{bordered:!0,color:"primary"},"Primary"),r.a.createElement(z,{bordered:!0,color:"success"},"Success"),r.a.createElement(z,{bordered:!0,color:"black"},"Black"),r.a.createElement(z,{bordered:!0,color:"white"},"White")),r.a.createElement(n.MDXTag,{name:"h2",components:e,props:{id:"block"}},"Block"),r.a.createElement(g.Playground,{__position:4,__codesandbox:"N4IgZglgNgpgziAXKCA7AJjAHgOgBYAuAtlEqAMYD2qBMNSIAPOhAG4AEE6AvADogAnSpQL8AfIwD0LVmJABfADQg0mXACsEyEFRp0CDSQCojvVO3YAVPBDjsAwpUwBlAIYYARpSzs8rux4wdOyuAK4ElESuBBDkrlBQAJ7sAOZ0MALRMOjsoXBoKWYWAAZUmHDu6F5YGcU47ACSYOyJlKEA5AIw7OShAhBtdniUAO7sBH4Evq4ADjPp6IotbT3uRT14MOQA1uxtU20C7OiU5EMZMIi-BAQzcIiSkikQE6EeOFREkqiUrGiJkjK8Eq1QyZnWTWWoXY2Hm_To5G67mScAIAlCKRSsDsIxeeHGNjsFU83iWM1g_m6mVsSPMtjgoRg62oqTxb3qiAAlGYjJIzBAiDNKAIpgAlGCuchTMBCIjsToSqXtADc_MFwrFioIABEAPIAWXYMsi8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QTInZMqJz3yuLaKIKdEZJFyezKCFJ7A7wdExKAjbyTIGgLYqDLC8LZySLsqPIWq2r4KVydE5Fur3Nckw9TjqJEyz4L4r4cAb4pF75gBH4Ez2ClggDhCBco0DrPc0rLww1nBLx1sLYMK7YrhzrfDJKWLwDLxRRRQttddnrcd7Kw1kNicLZBqbczqXCtKdLdRkNrrjZ7B7BnYXYSDfrrdAqLZwDBqAA1D6m6sG9gnAWsognyCVF6OyTmNIICagR05mBgTZfgMDU8fgK4fgIEYkKobwDIXfLAH0ckJkEAXFfgNUz9A_Rm9gfgPiHAcWviCydYfgcocgfoGYLqEW_gIKdKAiWAIo7mjWzAckSgRIAsPIAoacHfFmkEdmgQaWusfgKINAZWlQGLICS2iwWWmAeYKMAKCAeAEWoA_gKbO2gAPVJJwExRwDkSdvrH4F3iVlvQDtfJwAUlDvDudpAD3yVqQFFpAH9t4VDpwCfKTozqm131m2FvTv4Czpzrzr5vXF9p32tFjoTpDrDpAHWANRJjNtwF0EgBSApumO2JjIgnYhAFoF9CyEZuZrNFoAtELtmBmH4HkAUHkHkCAA",__code:"",__scope:{props:A,Button:z}},r.a.createElement(z,{block:!0},"Block")),r.a.createElement(n.MDXTag,{name:"h2",components:e,props:{id:"disabled"}},"Disabled"),r.a.createElement(n.MDXTag,{name:"p",components:e},"Ignore ",r.a.createElement(n.MDXTag,{name:"inlineCode",components:e,parentName:"p"},"color")," attribute"),r.a.createElement(n.MDXTag,{name:"p",components:e},"."),r.a.createElement(g.Playground,{__position:5,__codesandbox:"N4IgZglgNgpgziAXKCA7AJjAHgOgBYAuAtlEqAMYD2qBMNSIAPOhAG4AEE6AvADogAnSpQL8AfIwD0LVmJABfADQg0mXACsEyEFRp0CDSQCojvVO3YAVPBDjsAwpUwBlAIYYARpSzs8rux4wdOyuAK4ElESuBBDkrlBQAJ7sAOZ0MALRMOjsoXBoKWYWAAZUmHDu6F5YGcU47ACSYOyJlKEA5AIw7OShAhBtdniUAO7sBH4Evq4ADjPp6Iotb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LRJD0WKCkgook-IolJUVTAcgoc4k9hDqDOhbyNyxKJTUwGLmLpz1J7AgpUwPIPJ1xEKGi1KNLrydL1zNzaKZIPIlhFLjKjzPztRpV1wi5LwS4AduMKLHK7znLPJrFnzBI-JPLjz7AFIPJLx1xU9tQjFUL7y3L2BJVMrJVpLxzgsWL1ItkpKVKCYC9Lwc56FULrF6KPJIrFAolrFILZLpyFI-J4rJVSKOyS504tKQrhKSTPIFJsKmqZKWqpyJEgpJVtQ7x1wTJ05RQTIy5-rbycL9KlLaKokZI3zDypCFJ7A7wolrL6iyiTIGgc5pCcThKnzJLBqPItqdrCqokokfFDrYyW5q8ITqI2zkFUF0EcBMEPEcFgA8FWzeClgSDfDLDx0waxCJDeqW1nBLw_sc5eKi4rhYa887LNKSdLxRRRRAdg9MajcUqW1uNxcc5zqk8Ya0icB_LArdRuNEb057B7By4K4RDib0jYKc4SdzqAA1PGpGmm3gnAJcoQlouMkAOybYO2QCTQagVM-_EAcFfgOjU8fgK4fgIEYkKobwDIJ7LAH0ckJkEAWVfgT0gPAAzW9gfgPiHAe2viCydYfgcocgfoGYLqG2_gIKdKAiWAC-Y2gOzAckSgRIAsPIAoacLUC0HWkEfWgQZ2usfgKINAb2lQZMoCJOiwV2mAeYKMAKCAeAG2kg_gC7UQJAW2kAAAPQlJwElRwB8WzvrH4CgTDnQ3TtroboUkbubpzpAGexEGtsrv4GrusUbpwHQr7qrvLr_yHuoE7vHp8UnqbrNvXDLpjutE7rrobtXvWATS1njtwF0EgBSCAkVobP-IYHYhAFoF9CyE1u1rNFoAtFntmBmH4HkAUHkHkCAA",__code:'\n',__scope:{props:A,Button:z}},r.a.createElement(z,{color:"black",disabled:!0},"Regular Disabled"),r.a.createElement(z,{color:"red",bordered:!0,disabled:!0},"Bordered Disabled")))}}}]); \ No newline at end of file diff --git a/docs/static/js/components-label-button-label-button.8b7b0785.js b/docs/static/js/components-label-button-label-button.8b7b0785.js new file mode 100644 index 00000000..b8254498 --- /dev/null +++ b/docs/static/js/components-label-button-label-button.8b7b0785.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{"./src/components/LabelButton/LabelButton.mdx":function(A,e,g){"use strict";g.r(e);var B=g("./node_modules/react/index.js"),o=g.n(B),h=g("./node_modules/@mdx-js/tag/dist/index.js"),C=g("./node_modules/docz/dist/index.m.js"),l=g("./src/components/index.js");function n(A,e){if(null==A)return{};var g,B,o=function(A,e){if(null==A)return{};var g,B,o={},h=Object.keys(A);for(B=0;B=0||(o[g]=A[g]);return o}(A,e);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(A);for(B=0;B=0||Object.prototype.propertyIsEnumerable.call(A,g)&&(o[g]=A[g])}return o}e.default=function(A){var e=A.components,g=n(A,["components"]);return o.a.createElement(h.MDXTag,{name:"wrapper",components:e},o.a.createElement(h.MDXTag,{name:"h1",components:e,props:{id:"button-as-label"}},"Button as Label"),o.a.createElement(h.MDXTag,{name:"p",components:e},"A button acting as a label to a checkbox input."),o.a.createElement(h.MDXTag,{name:"h2",components:e,props:{id:"properties"}},"Properties"),o.a.createElement(C.PropsTable,{of:l.b}),o.a.createElement(C.Playground,{__position:1,__codesandbox:"N4IgZglgNgpgziAXKCA7AJjAHgOgBYAuAtlEqAMYD2qBMNSIAPOhAG4AEE6AvADogAnSpQL8AfIwD0LVmJABfADQg0mXACsEyEFRp0CDSQCojvVO3YAVPBDjsAwpUwBlAIYYARpSzs8rux4wdOyuAK4ElESuBBDkrlBQAJ7sAOZ0MALRMOjsoXBoKWYWAAZUmHDu6F5YGcU47ACSYOyJlKEA5AIw7OShAhBtdniUAO7sBH4Evq4ADjPp6IotbT3uRT14MOQA1uxtU20C7OiU5EMZMIi-BAQzcIiSkikQE6EeOFREkqiUrGiJkjK8Eq1QyZnWTWWoXY2Hm_To5G67mScAIAlCKRSsDsIxeeHGNjsFU83iWM1g_m6mVsSPMtjgoRg62oqTxb3qiAAlGYjJIzBAiDNKAIpgAlGCuchTMBCIj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ARNA1AB-pHxAA0p-AtVfgJTEETlAQQ3gDIKIywA-hyQTIEAHZn4COd8gG1JaaDxOm2R1g_AcoAgwgAzB-oi0ueCAHCg5RSIU5f8NtPWjkhKAiQAsNHRVzv4LQQIYkFUDWkCAzpdYdWK4DQB3T-A1UzQKDIsAXSYA8wKMKFBNF3TTM_Ad_FDJAAAA9UTjgCsw4BY4u09cPwEALLZS6SAe6bjIJmqRCZcM-sPwDJYvEsZ2MvNITLB5EzNsGMrUIV3EZHSqZbMz2BzPpnwzBAPM60CzLxkEyiZ6wOUm4lWm4BdAkAFIEBCmnAdaps0_gLQF9BZBFp_ACkVkAtB_TeC_AeQAoCZhAA",__code:"
\n
\n {\n console.log('checkbox 1 changed: ', event)\n }}\n >\n Checkbox 1\n \n {\n console.log('checkbox 2 changed: ', event)\n }}\n >\n Checkbox 2\n \n
\n
\n
\n {\n console.log('checkbox 3 changed: ', event)\n }}\n >\n Checkbox Disabled\n \n {\n console.log('checkbox 4 changed: ', event)\n }}\n >\n Checkbox Checked Disabled\n \n
\n
",__scope:{props:g,LabelButton:l.b}},o.a.createElement("form",null,o.a.createElement("div",null,o.a.createElement(l.b,{value:"myFirstCheckbox",onChange:function(A){console.log("checkbox 1 changed: ",A)}},"Checkbox 1"),o.a.createElement(l.b,{checked:!0,value:"mySecondCheckbox",onChange:function(A){console.log("checkbox 2 changed: ",A)}},"Checkbox 2")),o.a.createElement("br",null),o.a.createElement("div",null,o.a.createElement(l.b,{disabled:!0,value:"myThirdCheckbox",onChange:function(A){console.log("checkbox 3 changed: ",A)}},"Checkbox Disabled"),o.a.createElement(l.b,{checked:!0,disabled:!0,value:"myFourthCheckbox",onChange:function(A){console.log("checkbox 4 changed: ",A)}},"Checkbox Checked Disabled")))),o.a.createElement(h.MDXTag,{name:"h2",components:e,props:{id:"colors"}},"Colors"),o.a.createElement(C.Playground,{__position:2,__codesandbox:"N4IgZglgNgpgziAXKCA7AJjAHgOgBYAuAtlEqAMYD2qBMNSIAPOhAG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CQBLQn2icxsYisfePFEpjekdYyCZmP3EwTDxJEkCbBBwkpQThEPKDvbTUAPD0myPDQRFBmB4AhAvYboKxFCBgAwAQeOnPnAToR4OcitOOlJJzplCK6bE5yNsGyZARqATtJHiAGHT8AiK_AK4PwCBDEgqg3gDIKPSwA-ghYtkdYPwBfb5BlKSAdgPwEi6uSbJdYfgOUGToQAZg_UAyc5JADhQcopEWAMqysmhTMA5ISgA9ByCw0FwquC0MZJBBmTpiIAWdPwCiBoB_J_ANWkBHckWBPJMAeYFGFCi3D_Jb-fgKrmykgAAAeinxwCTocAsKfKfWH5j64mMZNJyfwDqmNTVITUlqQVJADlMlC1Umqd8ialRdmpaU9cJVK1Akdx6jkwybVPGmwpJpA0gKQlOtCjT6pjUqaesFwwzxkpuAXQJABSAaTUAWktujpP4C0BfQWQAyUZLNC0ALQCUjPPwHkAKAQKQAA",__code:'Yellow\nOrange\nOrange Red\nRed\nPurple\nBlue\nGreen\nBlack\nWhite',__scope:{props:g,LabelButton:l.b}},o.a.createElement(l.b,{color:"yellow"},"Yellow"),o.a.createElement(l.b,{color:"orange"},"Orange"),o.a.createElement(l.b,{color:"orange_red"},"Orange Red"),o.a.createElement(l.b,{color:"red"},"Red"),o.a.createElement(l.b,{color:"purple"},"Purple"),o.a.createElement(l.b,null,"Blue"),o.a.createElement(l.b,{color:"green"},"Green"),o.a.createElement(l.b,{color:"black"},"Black"),o.a.createElement(l.b,{color:"white"},"White")),o.a.createElement(h.MDXTag,{name:"h2",components:e,props:{id:"block"}},"Block"),o.a.createElement(C.Playground,{__position:3,__codesandbox:"N4IgZglgNgpgziAXKCA7AJjAHgOgBYAuAtlEqAMYD2qBMNSIAPOhAG4AEE6AvADogAnSpQL8AfIwD0LVmJABfADQg0mXACsEyEFRp0CDSQCojvVO3YAVPBDjsAwpUwBlAIYYARpSzs8rux4wdOyuAK4ElESuBBDkrlBQAJ7sAOZ0MALRMOjsoXBoKWYWAAZUmHDu6F5YGcU47ACSYOyJlKEA5AIw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wQ3Y_YMksnjgFUiKTlJ9YfgCbXwlIAUJIAaSUEkUnMclJbEyBJJKNqGTD8Mk8yakksl6SLAtk6dtaE0k6SFJVk9YPmnljMTcAugSACkCAifi6WnDCCDxBAC0BfQWQACUBLNC0ALQDEknPwHkAKAkyQAA",__code:"\n Block\n
Test
\n
",__scope:{props:g,LabelButton:l.b}},o.a.createElement(l.b,{block:!0},"Block",o.a.createElement("div",null,"Test"))))}}}]); \ No newline at end of file diff --git a/docs/static/js/index.b08238ea.js b/docs/static/js/index.e368ed28.js similarity index 96% rename from docs/static/js/index.b08238ea.js rename to docs/static/js/index.e368ed28.js index addc47b3..9fa9bef4 100644 --- a/docs/static/js/index.b08238ea.js +++ b/docs/static/js/index.e368ed28.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"./src/index.mdx":function(e,n,t){"use strict";t.r(n);var a=t("./node_modules/react/index.js"),r=t.n(a),o=t("./node_modules/@mdx-js/tag/dist/index.js");function p(e,n){if(null==e)return{};var t,a,r=function(e,n){if(null==e)return{};var t,a,r={},o=Object.keys(e);for(a=0;a=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}n.default=function(e){var n=e.components;p(e,["components"]);return r.a.createElement(o.MDXTag,{name:"wrapper",components:n},r.a.createElement(o.MDXTag,{name:"h1",components:n,props:{id:"aphrodite-react"}},"Aphrodite React"),r.a.createElement(o.MDXTag,{name:"p",components:n},"UI Framework from ",r.a.createElement(o.MDXTag,{name:"a",components:n,parentName:"p",props:{href:"https://www.ingresse.com"}},"ingresse.com")),r.a.createElement(o.MDXTag,{name:"h2",components:n,props:{id:"install"}},"Install"),r.a.createElement(o.MDXTag,{name:"p",components:n},"You can install with Yarn or NPM in your App Project, but using GitHub repository address as source:"),r.a.createElement(o.MDXTag,{name:"pre",components:n},r.a.createElement(o.MDXTag,{name:"code",components:n,parentName:"pre",props:{metaString:null}},"yarn add https://github.com/ingresse/aphrodite-react.git\n")),r.a.createElement(o.MDXTag,{name:"h2",components:n,props:{id:"usage-example"}},"Usage Example"),r.a.createElement(o.MDXTag,{name:"p",components:n},"Include Aphrodite Components inside your React application:"),r.a.createElement(o.MDXTag,{name:"pre",components:n},r.a.createElement(o.MDXTag,{name:"code",components:n,parentName:"pre",props:{className:"language-jsx",metaString:""}},"...\nimport { Button } from 'aphrodite-react';\n\n...\n render() {\n return (\n \n );\n }\n...\n")))}}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"./src/index.mdx":function(e,n,t){"use strict";t.r(n);var a=t("./node_modules/react/index.js"),r=t.n(a),o=t("./node_modules/@mdx-js/tag/dist/index.js");function p(e,n){if(null==e)return{};var t,a,r=function(e,n){if(null==e)return{};var t,a,r={},o=Object.keys(e);for(a=0;a=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}n.default=function(e){var n=e.components;p(e,["components"]);return r.a.createElement(o.MDXTag,{name:"wrapper",components:n},r.a.createElement(o.MDXTag,{name:"h1",components:n,props:{id:"aphrodite-react"}},"Aphrodite React"),r.a.createElement(o.MDXTag,{name:"p",components:n},"UI Framework from ",r.a.createElement(o.MDXTag,{name:"a",components:n,parentName:"p",props:{href:"https://www.ingresse.com"}},"ingresse.com")),r.a.createElement(o.MDXTag,{name:"h2",components:n,props:{id:"install"}},"Install"),r.a.createElement(o.MDXTag,{name:"p",components:n},"You can install with Yarn or NPM in your App Project, but using GitHub repository address as source:"),r.a.createElement(o.MDXTag,{name:"pre",components:n},r.a.createElement(o.MDXTag,{name:"code",components:n,parentName:"pre",props:{metaString:null}},"yarn add https://github.com/ingresse/aphrodite-react.git\n")),r.a.createElement(o.MDXTag,{name:"h2",components:n,props:{id:"usage-example"}},"Usage Example"),r.a.createElement(o.MDXTag,{name:"p",components:n},"Include Aphrodite Components inside your React application:"),r.a.createElement(o.MDXTag,{name:"pre",components:n},r.a.createElement(o.MDXTag,{name:"code",components:n,parentName:"pre",props:{className:"language-jsx",metaString:""}},"...\nimport { Button } from 'aphrodite-react';\n\n...\n render() {\n return (\n \n );\n }\n...\n")))}}}]); \ No newline at end of file diff --git a/docs/static/js/runtime~app.aa6bf30e95bcfb462a9d.js b/docs/static/js/runtime~app.aa6bf30e95bcfb462a9d.js deleted file mode 100644 index b028d7f5..00000000 --- a/docs/static/js/runtime~app.aa6bf30e95bcfb462a9d.js +++ /dev/null @@ -1 +0,0 @@ -!function(e){function t(t){for(var r,u,a=t[0],c=t[1],l=t[2],s=0,p=[];s=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["components"]);return i.default.createElement(c,null,function(t){return i.default.createElement(e,r({components:n||t},o))})}};var d=function(e){var t=e.components,n=e.children;return i.default.createElement(u,{value:t},n)};d.propTypes={components:s.default.object.isRequired,children:s.default.element.isRequired},t.default=d},"./node_modules/@mdx-js/tag/dist/mdx-tag.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;te)return!1;if((n+=t[r+1])>=e)return!0}}function p(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&u.test(String.fromCharCode(e)):!1!==t&&h(e,d)))}function m(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&&(h(e,d)||h(e,f)))))}var g=function(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 _(e,t){return new g(e,{beforeExpr:!0,binop:t})}var b={beforeExpr:!0},y={startsExpr:!0},v={};function w(e,t){return void 0===t&&(t={}),t.keyword=e,v[e]=new g(e,t)}var x={num:new g("num",y),regexp:new g("regexp",y),string:new g("string",y),name:new g("name",y),eof:new g("eof"),bracketL:new g("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new g("]"),braceL:new g("{",{beforeExpr:!0,startsExpr:!0}),braceR:new g("}"),parenL:new g("(",{beforeExpr:!0,startsExpr:!0}),parenR:new g(")"),comma:new g(",",b),semi:new g(";",b),colon:new g(":",b),dot:new g("."),question:new g("?",b),arrow:new g("=>",b),template:new g("template"),invalidTemplate:new g("invalidTemplate"),ellipsis:new g("...",b),backQuote:new g("`",y),dollarBraceL:new g("${",{beforeExpr:!0,startsExpr:!0}),eq:new g("=",{beforeExpr:!0,isAssign:!0}),assign:new g("_=",{beforeExpr:!0,isAssign:!0}),incDec:new g("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new g("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:_("||",1),logicalAND:_("&&",2),bitwiseOR:_("|",3),bitwiseXOR:_("^",4),bitwiseAND:_("&",5),equality:_("==/!=/===/!==",6),relational:_("/<=/>=",7),bitShift:_("<>/>>>",8),plusMin:new g("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:_("%",10),star:_("*",10),slash:_("/",10),starstar:new g("**",{beforeExpr:!0}),_break:w("break"),_case:w("case",b),_catch:w("catch"),_continue:w("continue"),_debugger:w("debugger"),_default:w("default",b),_do:w("do",{isLoop:!0,beforeExpr:!0}),_else:w("else",b),_finally:w("finally"),_for:w("for",{isLoop:!0}),_function:w("function",y),_if:w("if"),_return:w("return",b),_switch:w("switch"),_throw:w("throw",b),_try:w("try"),_var:w("var"),_const:w("const"),_while:w("while",{isLoop:!0}),_with:w("with"),_new:w("new",{beforeExpr:!0,startsExpr:!0}),_this:w("this",y),_super:w("super",y),_class:w("class",y),_extends:w("extends",b),_export:w("export"),_import:w("import"),_null:w("null",y),_true:w("true",y),_false:w("false",y),_in:w("in",{beforeExpr:!0,binop:7}),_instanceof:w("instanceof",{beforeExpr:!0,binop:7}),_typeof:w("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:w("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:w("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},j=/\r\n?|\n|\u2028|\u2029/,k=new RegExp(j.source,"g");function S(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var C=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,E=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,O=Object.prototype,T=O.hasOwnProperty,A=O.toString;function M(e,t){return T.call(e,t)}var P=Array.isArray||function(e){return"[object Array]"===A.call(e)},L=function(e,t){this.line=e,this.column=t};L.prototype.offset=function(e){return new L(this.line,this.column+e)};var R=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function I(e,t){for(var n=1,r=0;;){k.lastIndex=r;var i=k.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),P(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return P(t.onComment)&&(t.onComment=function(e,t){return function(n,r,i,o,s,a){var l={type:n?"Block":"Line",value:r,start:i,end:o};e.locations&&(l.loc=new R(this,s,a)),e.ranges&&(l.range=[i,o]),t.push(l)}}(t,t.onComment)),t}var z={};function B(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var F=function(e,t,n){this.options=e=D(e),this.sourceFile=e.sourceFile,this.keywords=B(o[e.ecmaVersion>=6?6:5]);var i="";if(!e.allowReserved){for(var s=e.ecmaVersion;!(i=r[s]);s--);"module"===e.sourceType&&(i+=" await")}this.reservedWords=B(i);var a=(i?i+" ":"")+r.strict;this.reservedWordsStrict=B(a),this.reservedWordsStrictBind=B(a+" "+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(j).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=x.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};F.prototype.isKeyword=function(e){return this.keywords.test(e)},F.prototype.isReservedWord=function(e){return this.reservedWords.test(e)},F.prototype.extend=function(e,t){this[e]=t(this[e])},F.prototype.loadPlugins=function(e){for(var t in e){var n=z[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},F.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var W=F.prototype,U=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)"|;)/;function H(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}W.strictDirective=function(e){for(;;){E.lastIndex=e,e+=E.exec(this.input)[0].length;var t=U.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2]))return!0;e+=t[0].length}},W.eat=function(e){return this.type===e&&(this.next(),!0)},W.isContextual=function(e){return this.type===x.name&&this.value===e&&!this.containsEsc},W.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},W.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},W.canInsertSemicolon=function(){return this.type===x.eof||this.type===x.braceR||j.test(this.input.slice(this.lastTokEnd,this.start))},W.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},W.semicolon=function(){this.eat(x.semi)||this.insertSemicolon()||this.unexpected()},W.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},W.expect=function(e){this.eat(e)||this.unexpected()},W.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},W.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")}},W.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")},W.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var V={kind:"loop"},K={kind:"switch"};q.isLet=function(){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;E.lastIndex=this.pos;var e=E.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123===n)return!0;if(p(n,!0)){for(var r=t+1;m(this.input.charCodeAt(r),!0);)++r;var i=this.input.slice(t,r);if(!s.test(i))return!0}return!1},q.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;E.lastIndex=this.pos;var e=E.exec(this.input),t=this.pos+e[0].length;return!j.test(this.input.slice(this.pos,t))&&"function"===this.input.slice(t,t+8)&&(t+8===this.input.length||!m(this.input.charAt(t+8)))},q.parseStatement=function(e,t,n){var r,i=this.type,o=this.startNode();switch(this.isLet()&&(i=x._var,r="let"),i){case x._break:case x._continue:return this.parseBreakContinueStatement(o,i.keyword);case x._debugger:return this.parseDebuggerStatement(o);case x._do:return this.parseDoStatement(o);case x._for:return this.parseForStatement(o);case x._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(o,!1);case x._class:return e||this.unexpected(),this.parseClass(o,!0);case x._if:return this.parseIfStatement(o);case x._return:return this.parseReturnStatement(o);case x._switch:return this.parseSwitchStatement(o);case x._throw:return this.parseThrowStatement(o);case x._try:return this.parseTryStatement(o);case x._const:case x._var:return r=r||this.value,e||"var"===r||this.unexpected(),this.parseVarStatement(o,r);case x._while:return this.parseWhileStatement(o);case x._with:return this.parseWithStatement(o);case x.braceL:return this.parseBlock();case x.semi:return this.parseEmptyStatement(o);case x._export:case x._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===x._import?this.parseImport(o):this.parseExport(o,n);default:if(this.isAsyncFunction())return e||this.unexpected(),this.next(),this.parseFunctionStatement(o,!0);var s=this.value,a=this.parseExpression();return i===x.name&&"Identifier"===a.type&&this.eat(x.colon)?this.parseLabeledStatement(o,s,a):this.parseExpressionStatement(o,a)}},q.parseBreakContinueStatement=function(e,t){var n="break"===t;this.next(),this.eat(x.semi)||this.insertSemicolon()?e.label=null:this.type!==x.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(x.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},q.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(V),this.enterLexicalScope(),this.expect(x.parenL),this.type===x.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===x._var||this.type===x._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===x._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===x._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r))}var o=new H,s=this.parseExpression(!0,o);return this.type===x._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===x._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(s,!1,o),this.checkLVal(s),this.parseForIn(e,s)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,s))},q.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},q.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.type===x._function),e.alternate=this.eat(x._else)?this.parseStatement(!this.strict&&this.type===x._function):null,this.finishNode(e,"IfStatement")},q.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(x.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},q.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(x.braceL),this.labels.push(K),this.enterLexicalScope();for(var n=!1;this.type!==x.braceR;)if(this.type===x._case||this.type===x._default){var r=this.type===x._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(x.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")},q.parseThrowStatement=function(e){return this.next(),j.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 X=[];q.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===x._catch){var t=this.startNode();this.next(),this.eat(x.parenL)?(t.param=this.parseBindingAtom(),this.enterLexicalScope(),this.checkLVal(t.param,"let"),this.expect(x.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(x._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},q.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},q.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(V),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},q.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")},q.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},q.parseLabeledStatement=function(e,t,n){for(var r=0,i=this.labels;r=0;s--){var a=this.labels[s];if(a.statementStart!==e.start)break;a.statementStart=this.start,a.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")},q.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},q.parseBlock=function(e){void 0===e&&(e=!0);var t=this.startNode();for(t.body=[],this.expect(x.braceL),e&&this.enterLexicalScope();!this.eat(x.braceR);){var n=this.parseStatement(!0);t.body.push(n)}return e&&this.exitLexicalScope(),this.finishNode(t,"BlockStatement")},q.parseFor=function(e,t){return e.init=t,this.expect(x.semi),e.test=this.type===x.semi?null:this.parseExpression(),this.expect(x.semi),e.update=this.type===x.parenR?null:this.parseExpression(),this.expect(x.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},q.parseForIn=function(e,t){var n=this.type===x._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(x.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},q.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(x.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===x._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===r.id.type||t&&(this.type===x._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(x.comma))break}return e},q.parseVarId=function(e,t){e.id=this.parseBindingAtom(t),this.checkLVal(e.id,t,!1)},q.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(e.generator=this.eat(x.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&&(e.id="nullableID"===t&&this.type!==x.name?null:this.parseIdent(),e.id&&this.checkLVal(e.id,this.inModule&&!this.inFunction?"let":"var"));var i=this.inGenerator,o=this.inAsync,s=this.yieldPos,a=this.awaitPos,l=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===x.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=o,this.yieldPos=s,this.awaitPos=a,this.inFunction=l,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},q.parseFunctionParams=function(e){this.expect(x.parenL),e.params=this.parseBindingList(x.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},q.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),r=!1;for(n.body=[],this.expect(x.braceL);!this.eat(x.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")},q.parseClassMember=function(e){var t=this;if(this.eat(x.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,o=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===x.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=r("static");var i=this.eat(x.star),o=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(o=!0,i=this.options.ecmaVersion>=9&&this.eat(x.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var s=n.key;return n.computed||n.static||!("Identifier"===s.type&&"constructor"===s.name||"Literal"===s.type&&"constructor"===s.value)?n.static&&"Identifier"===s.type&&"prototype"===s.name&&this.raise(s.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(s.start,"Constructor can't have get/set modifier"),i&&this.raise(s.start,"Constructor can't be a generator"),o&&this.raise(s.start,"Constructor can't be an async method"),n.kind="constructor"),this.parseClassMethod(e,n,i,o),"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},q.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},q.parseClassId=function(e,t){e.id=this.type===x.name?this.parseIdent():!0===t?this.unexpected():null},q.parseClassSuper=function(e){e.superClass=this.eat(x._extends)?this.parseExprSubscripts():null},q.parseExport=function(e,t){if(this.next(),this.eat(x.star))return this.expectContextual("from"),this.type!==x.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(x._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===x._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===x._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!==x.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var o=0,s=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 s=t[r="$"+r];if(s)("init"===o?this.strict&&s.init||s.get||s.set:s.init||s[o])&&this.raiseRecoverable(i.start,"Redefinition of property");else s=t[r]={init:!1,get:!1,set:!1};s[o]=!0}}},Y.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===x.comma){var o=this.startNodeAt(n,r);for(o.expressions=[i];this.eat(x.comma);)o.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(o,"SequenceExpression")}return i},Y.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 H,r=!0);var s=this.start,a=this.startLoc;this.type!==x.parenL&&this.type!==x.name||(this.potentialArrowAt=this.start);var l=this.parseMaybeConditional(e,t);if(n&&(l=n.call(this,l,s,a)),this.type.isAssign){var u=this.startNodeAt(s,a);return u.operator=this.value,u.left=this.type===x.eq?this.toAssignable(l,!1,t):l,r||H.call(t),t.shorthandAssign=-1,this.checkLVal(l),this.next(),u.right=this.parseMaybeAssign(e),this.finishNode(u,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),o>-1&&(t.trailingComma=o),l},Y.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(x.question)){var o=this.startNodeAt(n,r);return o.test=i,o.consequent=this.parseMaybeAssign(),this.expect(x.colon),o.alternate=this.parseMaybeAssign(e),this.finishNode(o,"ConditionalExpression")}return i},Y.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)},Y.parseExprOp=function(e,t,n,r,i){var o=this.type.binop;if(null!=o&&(!i||this.type!==x._in)&&o>r){var s=this.type===x.logicalOR||this.type===x.logicalAND,a=this.value;this.next();var l=this.start,u=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1),l,u,o,i),d=this.buildBinary(t,n,e,c,a,s);return this.parseExprOp(d,t,n,r,i)}return e},Y.buildBinary=function(e,t,n,r,i,o){var s=this.startNodeAt(e,t);return s.left=n,s.operator=i,s.right=r,this.finishNode(s,o?"LogicalExpression":"BinaryExpression")},Y.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(),s=this.type===x.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),s?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,s?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var a=this.startNodeAt(r,i);a.operator=this.value,a.prefix=!1,a.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(a,"UpdateExpression")}}return!t&&this.eat(x.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n},Y.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},Y.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(x.bracketL))||this.eat(x.dot)){var s=this.startNodeAt(t,n);s.object=e,s.property=o?this.parseExpression():this.parseIdent(!0),s.computed=!!o,o&&this.expect(x.bracketR),e=this.finishNode(s,"MemberExpression")}else if(!r&&this.eat(x.parenL)){var a=new H,l=this.yieldPos,u=this.awaitPos;this.yieldPos=0,this.awaitPos=0;var c=this.parseExprList(x.parenR,this.options.ecmaVersion>=8,!1,a);if(i&&!this.canInsertSemicolon()&&this.eat(x.arrow))return this.checkPatternErrors(a,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=l,this.awaitPos=u,this.parseArrowExpression(this.startNodeAt(t,n),c,!0);this.checkExpressionErrors(a,!0),this.yieldPos=l||this.yieldPos,this.awaitPos=u||this.awaitPos;var d=this.startNodeAt(t,n);d.callee=e,d.arguments=c,e=this.finishNode(d,"CallExpression")}else{if(this.type!==x.backQuote)return e;var f=this.startNodeAt(t,n);f.tag=e,f.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(f,"TaggedTemplateExpression")}},Y.parseExprAtom=function(e){var t,n=this.potentialArrowAt===this.start;switch(this.type){case x._super:return this.inFunction||this.raise(this.start,"'super' outside of function or class"),t=this.startNode(),this.next(),this.type!==x.dot&&this.type!==x.bracketL&&this.type!==x.parenL&&this.unexpected(),this.finishNode(t,"Super");case x._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case x.name:var r=this.start,i=this.startLoc,o=this.containsEsc,s=this.parseIdent(this.type!==x.name);if(this.options.ecmaVersion>=8&&!o&&"async"===s.name&&!this.canInsertSemicolon()&&this.eat(x._function))return this.parseFunction(this.startNodeAt(r,i),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(x.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[s],!1);if(this.options.ecmaVersion>=8&&"async"===s.name&&this.type===x.name&&!o)return s=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(x.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[s],!0)}return s;case x.regexp:var a=this.value;return(t=this.parseLiteral(a.value)).regex={pattern:a.pattern,flags:a.flags},t;case x.num:case x.string:return this.parseLiteral(this.value);case x._null:case x._true:case x._false:return(t=this.startNode()).value=this.type===x._null?null:this.type===x._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case x.parenL:var l=this.start,u=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(u)&&(e.parenthesizedAssign=l),e.parenthesizedBind<0&&(e.parenthesizedBind=l)),u;case x.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(x.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case x.braceL:return this.parseObj(!1,e);case x._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case x._class:return this.parseClass(this.startNode(),!1);case x._new:return this.parseNew();case x.backQuote:return this.parseTemplate();default:this.unexpected()}},Y.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")},Y.parseParenExpression=function(){this.expect(x.parenL);var e=this.parseExpression();return this.expect(x.parenR),e},Y.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,s=this.start,a=this.startLoc,l=[],u=!0,c=!1,d=new H,f=this.yieldPos,h=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==x.parenR;){if(u?u=!1:this.expect(x.comma),i&&this.afterTrailingComma(x.parenR,!0)){c=!0;break}if(this.type===x.ellipsis){o=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===x.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}l.push(this.parseMaybeAssign(!1,d,this.parseParenItem))}var p=this.start,m=this.startLoc;if(this.expect(x.parenR),e&&!this.canInsertSemicolon()&&this.eat(x.arrow))return this.checkPatternErrors(d,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=f,this.awaitPos=h,this.parseParenArrowList(n,r,l);l.length&&!c||this.unexpected(this.lastTokStart),o&&this.unexpected(o),this.checkExpressionErrors(d,!0),this.yieldPos=f||this.yieldPos,this.awaitPos=h||this.awaitPos,l.length>1?((t=this.startNodeAt(s,a)).expressions=l,this.finishNodeAt(t,"SequenceExpression",p,m)):t=l[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},Y.parseParenItem=function(e){return e},Y.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var $=[];Y.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(x.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(x.parenL)?e.arguments=this.parseExprList(x.parenR,this.options.ecmaVersion>=8,!1):e.arguments=$,this.finishNode(e,"NewExpression")},Y.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===x.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===x.backQuote,this.finishNode(n,"TemplateElement")},Y.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===x.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(x.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(x.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},Y.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===x.name||this.type===x.num||this.type===x.string||this.type===x.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===x.star)&&!j.test(this.input.slice(this.lastTokEnd,this.start))},Y.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(x.braceR);){if(r)r=!1;else if(this.expect(x.comma),this.afterTrailingComma(x.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")},Y.parseProperty=function(e,t){var n,r,i,o,s=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(x.ellipsis))return e?(s.argument=this.parseIdent(!1),this.type===x.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(s,"RestElement")):(this.type===x.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),s.argument=this.parseMaybeAssign(!1,t),this.type===x.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(s,"SpreadElement"));this.options.ecmaVersion>=6&&(s.method=!1,s.shorthand=!1,(e||t)&&(i=this.start,o=this.startLoc),e||(n=this.eat(x.star)));var a=this.containsEsc;return this.parsePropertyName(s),!e&&!a&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(s)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(x.star),this.parsePropertyName(s,t)):r=!1,this.parsePropertyValue(s,e,n,r,i,o,t,a),this.finishNode(s,"Property")},Y.parsePropertyValue=function(e,t,n,r,i,o,s,a){if((n||r)&&this.type===x.colon&&this.unexpected(),this.eat(x.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,s),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===x.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||a||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===x.comma||this.type===x.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===x.eq&&s?(s.shorthandAssign<0&&(s.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 l="get"===e.kind?0:1;if(e.value.params.length!==l){var u=e.value.start;"get"===e.kind?this.raiseRecoverable(u,"getter should have no params"):this.raiseRecoverable(u,"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")}},Y.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(x.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(x.bracketR),e.key;e.computed=!1}return e.key=this.type===x.num||this.type===x.string?this.parseExprAtom():this.parseIdent(!0)},Y.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},Y.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,o=this.yieldPos,s=this.awaitPos,a=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(x.parenL),n.params=this.parseBindingList(x.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=o,this.awaitPos=s,this.inFunction=a,this.finishNode(n,"FunctionExpression")},Y.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,o=this.yieldPos,s=this.awaitPos,a=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=s,this.inFunction=a,this.finishNode(e,"ArrowFunctionExpression")},Y.parseFunctionBody=function(e,t){var n=t&&this.type!==x.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 s=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=s}this.exitFunctionScope(),this.strict&&e.id&&this.checkLVal(e.id,"none"),this.strict=r},Y.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},oe.updateContext=function(e){var t,n=this.type;n.keyword&&e===x.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},x.parenR.updateContext=x.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===ie.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},x.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ie.b_stat:ie.b_expr),this.exprAllowed=!0},x.dollarBraceL.updateContext=function(){this.context.push(ie.b_tmpl),this.exprAllowed=!0},x.parenL.updateContext=function(e){var t=e===x._if||e===x._for||e===x._with||e===x._while;this.context.push(t?ie.p_stat:ie.p_expr),this.exprAllowed=!0},x.incDec.updateContext=function(){},x._function.updateContext=x._class.updateContext=function(e){e.beforeExpr&&e!==x.semi&&e!==x._else&&(e!==x.colon&&e!==x.braceL||this.curContext()!==ie.b_stat)?this.context.push(ie.f_expr):this.context.push(ie.f_stat),this.exprAllowed=!1},x.backQuote.updateContext=function(){this.curContext()===ie.q_tmpl?this.context.pop():this.context.push(ie.q_tmpl),this.exprAllowed=!1},x.star.updateContext=function(e){if(e===x._function){var t=this.context.length-1;this.context[t]===ie.f_expr?this.context[t]=ie.f_expr_gen:this.context[t]=ie.f_gen}this.exprAllowed=!0},x.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==x.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var se={$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(se.$LONE,se.General_Category),se.gc=se.General_Category,se.sc=se.Script_Extensions=se.scx=se.Script;var ae=F.prototype,le=function(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 ue(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function ce(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function de(e){return e>=65&&e<=90||e>=97&&e<=122}function fe(e){return de(e)||95===e}function he(e){return fe(e)||pe(e)}function pe(e){return e>=48&&e<=57}function me(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function ge(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function _e(e){return e>=48&&e<=55}le.prototype.reset=function(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},le.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},le.prototype.at=function(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},le.prototype.nextIndex=function(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},le.prototype.current=function(){return this.at(this.pos)},le.prototype.lookahead=function(){return this.at(this.nextIndex(this.pos))},le.prototype.advance=function(){this.pos=this.nextIndex(this.pos)},le.prototype.eat=function(e){return this.current()===e&&(this.advance(),!0)},ae.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=0;r-1&&this.raise(e.start,"Duplicate regular expression flag")}},ae.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},ae.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},ae.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},ae.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},ae.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},ae.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)},ae.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},ae.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!ce(t)&&(e.lastIntValue=t,e.advance(),!0)},ae.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;-1!==(n=e.current())&&!ce(n);)e.advance();return e.pos!==t},ae.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)},ae.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")}},ae.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},ae.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=ue(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=ue(e.lastIntValue);return!0}return!1},ae.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=e.current();return e.advance(),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(n=e.lastIntValue),function(e){return p(e,!0)||36===e||95===e}(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},ae.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=e.current();return e.advance(),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(n=e.lastIntValue),function(e){return m(e,!0)||36===e||95===e||8204===e||8205===e}(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},ae.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)},ae.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},ae.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},ae.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)},ae.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},ae.regexp_eatZero=function(e){return 48===e.current()&&!pe(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},ae.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)},ae.regexp_eatControlLetter=function(e){var t=e.current();return!!de(t)&&(e.lastIntValue=t%32,e.advance(),!0)},ae.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 o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=1024*(r-55296)+(o-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},ae.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)},ae.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},ae.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(function(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},ae.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},ae.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){se.hasOwnProperty(t)&&-1!==se[t].indexOf(n)||e.raise("Invalid property name")},ae.regexp_validateUnicodePropertyNameOrValue=function(e,t){-1===se.$LONE.indexOf(t)&&e.raise("Invalid property name")},ae.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";fe(t=e.current());)e.lastStringValue+=ue(t),e.advance();return""!==e.lastStringValue},ae.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";he(t=e.current());)e.lastStringValue+=ue(t),e.advance();return""!==e.lastStringValue},ae.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},ae.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},ae.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")}}},ae.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||_e(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)},ae.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)},ae.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!pe(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},ae.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},ae.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;pe(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},ae.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;me(n=e.current());)e.lastIntValue=16*e.lastIntValue+ge(n),e.advance();return e.pos!==t},ae.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},ae.regexp_eatOctalDigit=function(e){var t=e.current();return _e(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},ae.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r>10),56320+(1023&e)))}ye.next=function(){this.options.onToken&&this.options.onToken(new be(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},ye.getToken=function(){return this.next(),new be(this)},"undefined"!==typeof Symbol&&(ye[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===x.eof,value:t}}}}),ye.curContext=function(){return this.context[this.context.length-1]},ye.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(x.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},ye.readToken=function(e){return p(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},ye.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},ye.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(k.lastIndex=n;(e=k.exec(this.input))&&e.index8&&e<14||e>=5760&&C.test(String.fromCharCode(e))))break e;++this.pos}}},ye.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)},ye.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(x.ellipsis)):(++this.pos,this.finishToken(x.dot))},ye.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(x.assign,2):this.finishOp(x.slash,1)},ye.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?x.star:x.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++n,r=x.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(x.assign,n+1):this.finishOp(r,n)},ye.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?x.logicalOR:x.logicalAND,2):61===t?this.finishOp(x.assign,2):this.finishOp(124===e?x.bitwiseOR:x.bitwiseAND,1)},ye.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(x.assign,2):this.finishOp(x.bitwiseXOR,1)},ye.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&&!j.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(x.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(x.assign,2):this.finishOp(x.plusMin,1)},ye.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(x.assign,n+1):this.finishOp(x.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(x.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},ye.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(x.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(x.arrow)):this.finishOp(61===e?x.eq:x.prefix,1)},ye.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(x.parenL);case 41:return++this.pos,this.finishToken(x.parenR);case 59:return++this.pos,this.finishToken(x.semi);case 44:return++this.pos,this.finishToken(x.comma);case 91:return++this.pos,this.finishToken(x.bracketL);case 93:return++this.pos,this.finishToken(x.bracketR);case 123:return++this.pos,this.finishToken(x.braceL);case 125:return++this.pos,this.finishToken(x.braceR);case 58:return++this.pos,this.finishToken(x.colon);case 63:return++this.pos,this.finishToken(x.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(x.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(x.prefix,1)}this.raise(this.pos,"Unexpected character '"+ve(e)+"'")},ye.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},ye.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(j.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,s=this.readWord1();this.containsEsc&&this.unexpected(o);var a=this.regexpState||(this.regexpState=new le(this));a.reset(n,i,s),this.validateRegExpFlags(a),this.validateRegExpPattern(a);var l=null;try{l=new RegExp(i,s)}catch(u){}return this.finishToken(x.regexp,{pattern:i,flags:s,value:l})},ye.readInt=function(e,t){for(var n=this.pos,r=0,i=0,o=null==t?1/0:t;i=97?s-97+10:s>=65?s-65+10:s>=48&&s<=57?s-48:1/0)>=e)break;++this.pos,r=r*e+a}return this.pos===n||null!=t&&this.pos-n!==t?null:r},ye.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),p(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(x.num,t)},ye.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")),p(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(x.num,o)},ye.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},ye.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):(S(r,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(x.string,t)};var we={};ye.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==we)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},ye.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw we;this.raise(e,t)},ye.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!==x.template&&this.type!==x.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(x.template,e)):36===n?(this.pos+=2,this.finishToken(x.dollarBraceL)):(++this.pos,this.finishToken(x.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(S(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}},ye.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)}},ye.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},ye.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos>6],i=0===(32&n);if(31===(31&n)){var o=n;for(n=0;128===(128&o);){if(o=e.readUInt8(t),e.isError(o))return o;n<<=7,n|=127&o}}else n&=31;return{cls:r,primitive:i,tag:n,tagStr:a.tag[n]}}function d(e,t,n){var r=e.readUInt8(n);if(e.isError(r))return r;if(!t&&128===r)return null;if(0===(128&r))return r;var i=127&r;if(i>4)return e.error("length octect is too long");r=0;for(var o=0;o=31)return r.error("Multi-octet tag encoding unsupported");t||(i|=32);return i|=a.tagClassByName[n||"universal"]<<6}(e,t,n,this.reporter);if(r.length<128)return(o=new i(2))[0]=s,o[1]=r.length,this._createEncoderBuffer([o,r]);for(var l=1,u=r.length;u>=256;u>>=8)l++;(o=new i(2+l))[0]=s,o[1]=128|l;u=1+l;for(var c=r.length;c>0;u--,c>>=8)o[u]=255&c;return this._createEncoderBuffer([o,r])},u.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var n=new i(2*e.length),r=0;r=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var o=0;for(r=0;r=128;s>>=7)o++}var a=new i(o),l=a.length-1;for(r=e.length-1;r>=0;r--){s=e[r];for(a[l--]=127&s;(s>>=7)>0;)a[l--]=128|127&s}return this._createEncoderBuffer(a)},u.prototype._encodeTime=function(e,t){var n,r=new Date(e);return"gentime"===t?n=[c(r.getFullYear()),c(r.getUTCMonth()+1),c(r.getUTCDate()),c(r.getUTCHours()),c(r.getUTCMinutes()),c(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[c(r.getFullYear()%100),c(r.getUTCMonth()+1),c(r.getUTCDate()),c(r.getUTCHours()),c(r.getUTCMinutes()),c(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(e,t){if("string"===typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!==typeof e&&!i.isBuffer(e)){var n=e.toArray();!e.sign&&128&n[0]&&n.unshift(0),e=new i(n)}if(i.isBuffer(e)){var r=e.length;0===e.length&&r++;var o=new i(r);return e.copy(o),0===e.length&&(o[0]=0),this._createEncoderBuffer(o)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);r=1;for(var s=e;s>=256;s>>=8)r++;for(s=(o=new Array(r)).length-1;s>=0;s--)o[s]=255&e,e>>=8;return 128&o[0]&&o.unshift(0),this._createEncoderBuffer(new i(o))},u.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},u.prototype._use=function(e,t){return"function"===typeof e&&(e=e(t)),e._getEncoder("der").tree},u.prototype._skipDefault=function(e,t,n){var r,i=this._baseState;if(null===i.default)return!1;var o=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,t,n).join()),o.length!==i.defaultBuffer.length)return!1;for(r=0;r0?r-4:r,d=0;d>16&255,a[l++]=t>>8&255,a[l++]=255&t;2===s&&(t=i[e.charCodeAt(d)]<<2|i[e.charCodeAt(d+1)]>>4,a[l++]=255&t);1===s&&(t=i[e.charCodeAt(d)]<<10|i[e.charCodeAt(d+1)]<<4|i[e.charCodeAt(d+2)]>>2,a[l++]=t>>8&255,a[l++]=255&t);return a},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],s=0,a=n-i;sa?a:s+16383));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=s.length;a0)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 c(e,t,n){for(var i,o,s=[],a=t;a>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return s.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"./node_modules/bn.js/lib/bn.js":function(e,t,n){(function(e){!function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var s;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{s=n(1).Buffer}catch(k){}function a(e,t,n){for(var r=0,i=Math.min(e.length,n),o=t;o=49&&s<=54?s-49+10:s>=17&&s<=22?s-17+10:15&s}return r}function l(e,t,n,r){for(var i=0,o=Math.min(e.length,n),s=t;s=49?a-49+10:a>=17?a-17+10:a}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=6)i=a(e,n,n+6),this.words[r]|=i<>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==t&&(i=a(e,t,n+6),this.words[r]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,u=0,c=n;c1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,l=s/67108864|0;n.words[0]=a;for(var u=1;u>>26,d=67108863&l,f=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=f;h++){var p=u-h|0;c+=(s=(i=0|e.words[p])*(o=0|t.words[h])+d)/67108864|0,d=67108863&s}n.words[u]=0|d,l=0|c}return 0!==l?n.words[u]=0|l:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,s=0;s>>24-i&16777215)||s!==this.length-1?u[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,s--)}for(0!==o&&(n=o.toString(16)+n);n.length%t!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var f=c[e],h=d[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(h).toString(e);n=(p=p.idivn(h)).isZero()?m+n:u[f-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof s),this.toArrayLike(s,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,l="le"===t,u=new e(o),c=this.clone();if(l){for(a=0;!c.isZero();a++)s=c.andln(255),c.iushrn(8),u[a]=s;for(;a=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==o&&s>26,this.words[s]=67108863&t;if(0===o&&s>>13,h=0|s[1],p=8191&h,m=h>>>13,g=0|s[2],_=8191&g,b=g>>>13,y=0|s[3],v=8191&y,w=y>>>13,x=0|s[4],j=8191&x,k=x>>>13,S=0|s[5],C=8191&S,E=S>>>13,O=0|s[6],T=8191&O,A=O>>>13,M=0|s[7],P=8191&M,L=M>>>13,R=0|s[8],I=8191&R,N=R>>>13,D=0|s[9],z=8191&D,B=D>>>13,F=0|a[0],W=8191&F,U=F>>>13,H=0|a[1],q=8191&H,V=H>>>13,K=0|a[2],X=8191&K,G=K>>>13,Y=0|a[3],$=8191&Y,Z=Y>>>13,J=0|a[4],Q=8191&J,ee=J>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],le=8191&ae,ue=ae>>>13,ce=0|a[8],de=8191&ce,fe=ce>>>13,he=0|a[9],pe=8191&he,me=he>>>13;n.negative=e.negative^t.negative,n.length=19;var ge=(u+(r=Math.imul(d,W))|0)+((8191&(i=(i=Math.imul(d,U))+Math.imul(f,W)|0))<<13)|0;u=((o=Math.imul(f,U))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,W),i=(i=Math.imul(p,U))+Math.imul(m,W)|0,o=Math.imul(m,U);var _e=(u+(r=r+Math.imul(d,q)|0)|0)+((8191&(i=(i=i+Math.imul(d,V)|0)+Math.imul(f,q)|0))<<13)|0;u=((o=o+Math.imul(f,V)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(_,W),i=(i=Math.imul(_,U))+Math.imul(b,W)|0,o=Math.imul(b,U),r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,V)|0;var be=(u+(r=r+Math.imul(d,X)|0)|0)+((8191&(i=(i=i+Math.imul(d,G)|0)+Math.imul(f,X)|0))<<13)|0;u=((o=o+Math.imul(f,G)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(v,W),i=(i=Math.imul(v,U))+Math.imul(w,W)|0,o=Math.imul(w,U),r=r+Math.imul(_,q)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(b,q)|0,o=o+Math.imul(b,V)|0,r=r+Math.imul(p,X)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,G)|0;var ye=(u+(r=r+Math.imul(d,$)|0)|0)+((8191&(i=(i=i+Math.imul(d,Z)|0)+Math.imul(f,$)|0))<<13)|0;u=((o=o+Math.imul(f,Z)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(j,W),i=(i=Math.imul(j,U))+Math.imul(k,W)|0,o=Math.imul(k,U),r=r+Math.imul(v,q)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(w,q)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(_,X)|0,i=(i=i+Math.imul(_,G)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,G)|0,r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,Z)|0;var ve=(u+(r=r+Math.imul(d,Q)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(f,Q)|0))<<13)|0;u=((o=o+Math.imul(f,ee)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(C,W),i=(i=Math.imul(C,U))+Math.imul(E,W)|0,o=Math.imul(E,U),r=r+Math.imul(j,q)|0,i=(i=i+Math.imul(j,V)|0)+Math.imul(k,q)|0,o=o+Math.imul(k,V)|0,r=r+Math.imul(v,X)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(w,X)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(_,$)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(b,$)|0,o=o+Math.imul(b,Z)|0,r=r+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var we=(u+(r=r+Math.imul(d,ne)|0)|0)+((8191&(i=(i=i+Math.imul(d,re)|0)+Math.imul(f,ne)|0))<<13)|0;u=((o=o+Math.imul(f,re)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(T,W),i=(i=Math.imul(T,U))+Math.imul(A,W)|0,o=Math.imul(A,U),r=r+Math.imul(C,q)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(E,q)|0,o=o+Math.imul(E,V)|0,r=r+Math.imul(j,X)|0,i=(i=i+Math.imul(j,G)|0)+Math.imul(k,X)|0,o=o+Math.imul(k,G)|0,r=r+Math.imul(v,$)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(w,$)|0,o=o+Math.imul(w,Z)|0,r=r+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(b,Q)|0,o=o+Math.imul(b,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0;var xe=(u+(r=r+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,se)|0)+Math.imul(f,oe)|0))<<13)|0;u=((o=o+Math.imul(f,se)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(P,W),i=(i=Math.imul(P,U))+Math.imul(L,W)|0,o=Math.imul(L,U),r=r+Math.imul(T,q)|0,i=(i=i+Math.imul(T,V)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,V)|0,r=r+Math.imul(C,X)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(E,X)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(j,$)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(k,$)|0,o=o+Math.imul(k,Z)|0,r=r+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(w,Q)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(_,ne)|0,i=(i=i+Math.imul(_,re)|0)+Math.imul(b,ne)|0,o=o+Math.imul(b,re)|0,r=r+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,se)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0;var je=(u+(r=r+Math.imul(d,le)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(f,le)|0))<<13)|0;u=((o=o+Math.imul(f,ue)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,r=Math.imul(I,W),i=(i=Math.imul(I,U))+Math.imul(N,W)|0,o=Math.imul(N,U),r=r+Math.imul(P,q)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(L,q)|0,o=o+Math.imul(L,V)|0,r=r+Math.imul(T,X)|0,i=(i=i+Math.imul(T,G)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,G)|0,r=r+Math.imul(C,$)|0,i=(i=i+Math.imul(C,Z)|0)+Math.imul(E,$)|0,o=o+Math.imul(E,Z)|0,r=r+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,ee)|0)+Math.imul(k,Q)|0,o=o+Math.imul(k,ee)|0,r=r+Math.imul(v,ne)|0,i=(i=i+Math.imul(v,re)|0)+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,se)|0)+Math.imul(b,oe)|0,o=o+Math.imul(b,se)|0,r=r+Math.imul(p,le)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(m,le)|0,o=o+Math.imul(m,ue)|0;var ke=(u+(r=r+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,fe)|0)+Math.imul(f,de)|0))<<13)|0;u=((o=o+Math.imul(f,fe)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(z,W),i=(i=Math.imul(z,U))+Math.imul(B,W)|0,o=Math.imul(B,U),r=r+Math.imul(I,q)|0,i=(i=i+Math.imul(I,V)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(P,X)|0,i=(i=i+Math.imul(P,G)|0)+Math.imul(L,X)|0,o=o+Math.imul(L,G)|0,r=r+Math.imul(T,$)|0,i=(i=i+Math.imul(T,Z)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,Z)|0,r=r+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(E,Q)|0,o=o+Math.imul(E,ee)|0,r=r+Math.imul(j,ne)|0,i=(i=i+Math.imul(j,re)|0)+Math.imul(k,ne)|0,o=o+Math.imul(k,re)|0,r=r+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,se)|0)+Math.imul(w,oe)|0,o=o+Math.imul(w,se)|0,r=r+Math.imul(_,le)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(b,le)|0,o=o+Math.imul(b,ue)|0,r=r+Math.imul(p,de)|0,i=(i=i+Math.imul(p,fe)|0)+Math.imul(m,de)|0,o=o+Math.imul(m,fe)|0;var Se=(u+(r=r+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,me)|0)+Math.imul(f,pe)|0))<<13)|0;u=((o=o+Math.imul(f,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(z,q),i=(i=Math.imul(z,V))+Math.imul(B,q)|0,o=Math.imul(B,V),r=r+Math.imul(I,X)|0,i=(i=i+Math.imul(I,G)|0)+Math.imul(N,X)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(P,$)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(L,$)|0,o=o+Math.imul(L,Z)|0,r=r+Math.imul(T,Q)|0,i=(i=i+Math.imul(T,ee)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,ee)|0,r=r+Math.imul(C,ne)|0,i=(i=i+Math.imul(C,re)|0)+Math.imul(E,ne)|0,o=o+Math.imul(E,re)|0,r=r+Math.imul(j,oe)|0,i=(i=i+Math.imul(j,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,r=r+Math.imul(v,le)|0,i=(i=i+Math.imul(v,ue)|0)+Math.imul(w,le)|0,o=o+Math.imul(w,ue)|0,r=r+Math.imul(_,de)|0,i=(i=i+Math.imul(_,fe)|0)+Math.imul(b,de)|0,o=o+Math.imul(b,fe)|0;var Ce=(u+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;u=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(z,X),i=(i=Math.imul(z,G))+Math.imul(B,X)|0,o=Math.imul(B,G),r=r+Math.imul(I,$)|0,i=(i=i+Math.imul(I,Z)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,Z)|0,r=r+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(L,Q)|0,o=o+Math.imul(L,ee)|0,r=r+Math.imul(T,ne)|0,i=(i=i+Math.imul(T,re)|0)+Math.imul(A,ne)|0,o=o+Math.imul(A,re)|0,r=r+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,se)|0)+Math.imul(E,oe)|0,o=o+Math.imul(E,se)|0,r=r+Math.imul(j,le)|0,i=(i=i+Math.imul(j,ue)|0)+Math.imul(k,le)|0,o=o+Math.imul(k,ue)|0,r=r+Math.imul(v,de)|0,i=(i=i+Math.imul(v,fe)|0)+Math.imul(w,de)|0,o=o+Math.imul(w,fe)|0;var Ee=(u+(r=r+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(b,pe)|0))<<13)|0;u=((o=o+Math.imul(b,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(z,$),i=(i=Math.imul(z,Z))+Math.imul(B,$)|0,o=Math.imul(B,Z),r=r+Math.imul(I,Q)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(N,Q)|0,o=o+Math.imul(N,ee)|0,r=r+Math.imul(P,ne)|0,i=(i=i+Math.imul(P,re)|0)+Math.imul(L,ne)|0,o=o+Math.imul(L,re)|0,r=r+Math.imul(T,oe)|0,i=(i=i+Math.imul(T,se)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,se)|0,r=r+Math.imul(C,le)|0,i=(i=i+Math.imul(C,ue)|0)+Math.imul(E,le)|0,o=o+Math.imul(E,ue)|0,r=r+Math.imul(j,de)|0,i=(i=i+Math.imul(j,fe)|0)+Math.imul(k,de)|0,o=o+Math.imul(k,fe)|0;var Oe=(u+(r=r+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,me)|0)+Math.imul(w,pe)|0))<<13)|0;u=((o=o+Math.imul(w,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(z,Q),i=(i=Math.imul(z,ee))+Math.imul(B,Q)|0,o=Math.imul(B,ee),r=r+Math.imul(I,ne)|0,i=(i=i+Math.imul(I,re)|0)+Math.imul(N,ne)|0,o=o+Math.imul(N,re)|0,r=r+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,se)|0)+Math.imul(L,oe)|0,o=o+Math.imul(L,se)|0,r=r+Math.imul(T,le)|0,i=(i=i+Math.imul(T,ue)|0)+Math.imul(A,le)|0,o=o+Math.imul(A,ue)|0,r=r+Math.imul(C,de)|0,i=(i=i+Math.imul(C,fe)|0)+Math.imul(E,de)|0,o=o+Math.imul(E,fe)|0;var Te=(u+(r=r+Math.imul(j,pe)|0)|0)+((8191&(i=(i=i+Math.imul(j,me)|0)+Math.imul(k,pe)|0))<<13)|0;u=((o=o+Math.imul(k,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(z,ne),i=(i=Math.imul(z,re))+Math.imul(B,ne)|0,o=Math.imul(B,re),r=r+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,se)|0)+Math.imul(N,oe)|0,o=o+Math.imul(N,se)|0,r=r+Math.imul(P,le)|0,i=(i=i+Math.imul(P,ue)|0)+Math.imul(L,le)|0,o=o+Math.imul(L,ue)|0,r=r+Math.imul(T,de)|0,i=(i=i+Math.imul(T,fe)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,fe)|0;var Ae=(u+(r=r+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(E,pe)|0))<<13)|0;u=((o=o+Math.imul(E,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(z,oe),i=(i=Math.imul(z,se))+Math.imul(B,oe)|0,o=Math.imul(B,se),r=r+Math.imul(I,le)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(N,le)|0,o=o+Math.imul(N,ue)|0,r=r+Math.imul(P,de)|0,i=(i=i+Math.imul(P,fe)|0)+Math.imul(L,de)|0,o=o+Math.imul(L,fe)|0;var Me=(u+(r=r+Math.imul(T,pe)|0)|0)+((8191&(i=(i=i+Math.imul(T,me)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(z,le),i=(i=Math.imul(z,ue))+Math.imul(B,le)|0,o=Math.imul(B,ue),r=r+Math.imul(I,de)|0,i=(i=i+Math.imul(I,fe)|0)+Math.imul(N,de)|0,o=o+Math.imul(N,fe)|0;var Pe=(u+(r=r+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,me)|0)+Math.imul(L,pe)|0))<<13)|0;u=((o=o+Math.imul(L,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(z,de),i=(i=Math.imul(z,fe))+Math.imul(B,de)|0,o=Math.imul(B,fe);var Le=(u+(r=r+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,me)|0)+Math.imul(N,pe)|0))<<13)|0;u=((o=o+Math.imul(N,me)|0)+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863;var Re=(u+(r=Math.imul(z,pe))|0)+((8191&(i=(i=Math.imul(z,me))+Math.imul(B,pe)|0))<<13)|0;return u=((o=Math.imul(B,me))+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,l[0]=ge,l[1]=_e,l[2]=be,l[3]=ye,l[4]=ve,l[5]=we,l[6]=xe,l[7]=je,l[8]=ke,l[9]=Se,l[10]=Ce,l[11]=Ee,l[12]=Oe,l[13]=Te,l[14]=Ae,l[15]=Me,l[16]=Pe,l[17]=Le,l[18]=Re,0!==u&&(l[19]=u,n.length++),n};function p(e,t,n){return(new m).mulp(e,t,n)}function m(e,t){this.x=e,this.y=t}Math.imul||(h=f),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?h(this,e,t):n<63?f(this,e,t):n<1024?function(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,e,t):p(this,e,t)},m.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},m.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s>>=1)i++;return 1<>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<s)for(this.length-=s,u=0;u=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-o|d>>>o,c=d&a}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,s=0|i.words[i.length-1];0!==(n=26-this._countBits(s))&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var a,l=r.length-i.length;if("mod"!==t){(a=new o(null)).length=l+1,a.words=new Array(a.length);for(var u=0;u=0;d--){var f=67108864*(0|r.words[i.length+d])+(0|r.words[i.length+d-1]);for(f=Math.min(f/s|0,67108863),r._ishlnsubmul(i,f,d);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,d),r.isZero()||(r.negative^=1);a&&(a.words[d]=f)}return a&&a.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:a||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!==(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),s=new o(0),a=new o(0),l=new o(1),u=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++u;for(var c=n.clone(),d=t.clone();!t.isZero();){for(var f=0,h=1;0===(t.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(t.iushrn(f);f-- >0;)(i.isOdd()||s.isOdd())&&(i.iadd(c),s.isub(d)),i.iushrn(1),s.iushrn(1);for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||l.isOdd())&&(a.iadd(c),l.isub(d)),a.iushrn(1),l.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(l)):(n.isub(t),a.isub(i),l.isub(s))}return{a:a,b:l,gcd:n.iushln(u)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,s=new o(1),a=new o(0),l=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var u=0,c=1;0===(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0)for(t.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);for(var d=0,f=1;0===(n.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(n.iushrn(d);d-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return(i=0===t.cmpn(1)?s:a).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new x(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var g={k256:null,p224:null,p192:null,p25519:null};function _(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){_.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){_.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function v(){_.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){_.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function x(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function j(e){x.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}_.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},_.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):n.strip(),n},_.prototype.split=function(e,t){e.iushrn(this.n,0,t)},_.prototype.imulK=function(e){return e.imul(this.k)},i(b,_),b.prototype.split=function(e,t){for(var n=Math.min(e.length,9),r=0;r>>22,i=o}i>>>=22,e.words[r-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(g[e])return g[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new y;else if("p192"===e)t=new v;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new w}return g[e]=t,t},x.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},x.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},x.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},x.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},x.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},x.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},x.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},x.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},x.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},x.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},x.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},x.prototype.isqr=function(e){return this.imul(e,e.clone())},x.prototype.sqr=function(e){return this.mul(e,e)},x.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),s=0;!i.isZero()&&0===i.andln(1);)s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),l=a.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,u).cmp(l);)c.redIAdd(l);for(var d=this.pow(c,i),f=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),p=s;0!==h.cmp(a);){for(var m=h,g=0;0!==m.cmp(a);g++)m=m.redSqr();r(g=0;r--){for(var u=t.words[r],c=l-1;c>=0;c--){var d=u>>c&1;i!==n[0]&&(i=this.sqr(i)),0!==d||0!==s?(s<<=1,s|=d,(4===++a||0===r&&0===c)&&(i=this.mul(i,n[s]),a=0,s=0)):a=0}l=26}return i},x.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},x.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new j(e)},i(j,x),j.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},j.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},j.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},j.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},j.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}("undefined"===typeof e||e,this)}).call(this,n("./node_modules/webpack/buildin/module.js")(e))},"./node_modules/brorand/index.js":function(e,t,n){var r;function i(e){this.rand=e}if(e.exports=function(e){return r||(r=new i(null)),r.generate(e)},e.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),n=0;n>>24]^c[p>>>16&255]^d[m>>>8&255]^f[255&g]^t[_++],s=u[p>>>24]^c[m>>>16&255]^d[g>>>8&255]^f[255&h]^t[_++],a=u[m>>>24]^c[g>>>16&255]^d[h>>>8&255]^f[255&p]^t[_++],l=u[g>>>24]^c[h>>>16&255]^d[p>>>8&255]^f[255&m]^t[_++],h=o,p=s,m=a,g=l;return o=(r[h>>>24]<<24|r[p>>>16&255]<<16|r[m>>>8&255]<<8|r[255&g])^t[_++],s=(r[p>>>24]<<24|r[m>>>16&255]<<16|r[g>>>8&255]<<8|r[255&h])^t[_++],a=(r[m>>>24]<<24|r[g>>>16&255]<<16|r[h>>>8&255]<<8|r[255&p])^t[_++],l=(r[g>>>24]<<24|r[h>>>16&255]<<16|r[p>>>8&255]<<8|r[255&m])^t[_++],[o>>>=0,s>>>=0,a>>>=0,l>>>=0]}var a=[0,1,2,4,8,16,32,64,128,27,54],l=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],s=0,a=0,l=0;l<256;++l){var u=a^a<<1^a<<2^a<<3^a<<4;u=u>>>8^255&u^99,n[s]=u,r[u]=s;var c=e[s],d=e[c],f=e[d],h=257*e[u]^16843008*u;i[0][s]=h<<24|h>>>8,i[1][s]=h<<16|h>>>16,i[2][s]=h<<8|h>>>24,i[3][s]=h,h=16843009*f^65537*d^257*c^16843008*s,o[0][u]=h<<24|h>>>8,o[1][u]=h<<16|h>>>16,o[2][u]=h<<8|h>>>24,o[3][u]=h,0===s?s=a=1:(s=c^e[e[e[f^c]]],a^=e[e[a]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function u(e){this._key=i(e),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,r=4*(n+1),i=[],o=0;o>>24,s=l.SBOX[s>>>24]<<24|l.SBOX[s>>>16&255]<<16|l.SBOX[s>>>8&255]<<8|l.SBOX[255&s],s^=a[o/t|0]<<24):t>6&&o%t===4&&(s=l.SBOX[s>>>24]<<24|l.SBOX[s>>>16&255]<<16|l.SBOX[s>>>8&255]<<8|l.SBOX[255&s]),i[o]=i[o-t]^s}for(var u=[],c=0;c>>24]]^l.INV_SUB_MIX[1][l.SBOX[f>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[f>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&f]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(e){return s(e=i(e),this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},u.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=r.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},u.prototype.decryptBlock=function(e){var t=(e=i(e))[1];e[1]=e[3],e[3]=t;var n=s(e,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},u.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},e.exports.AES=u},"./node_modules/browserify-aes/authCipher.js":function(e,t,n){var r=n("./node_modules/browserify-aes/aes.js"),i=n("./node_modules/safe-buffer/index.js").Buffer,o=n("./node_modules/cipher-base/index.js"),s=n("./node_modules/inherits/inherits_browser.js"),a=n("./node_modules/browserify-aes/ghash.js"),l=n("./node_modules/buffer-xor/index.js"),u=n("./node_modules/browserify-aes/incr32.js");function c(e,t,n,s){o.call(this);var l=i.alloc(4,0);this._cipher=new r.AES(t);var c=this._cipher.encryptBlock(l);this._ghash=new a(c),n=function(e,t,n){if(12===t.length)return e._finID=i.concat([t,i.from([0,0,0,1])]),i.concat([t,i.from([0,0,0,2])]);var r=new a(n),o=t.length,s=o%16;r.update(t),s&&(s=16-s,r.update(i.alloc(s,0))),r.update(i.alloc(8,0));var l=8*o,c=i.alloc(8);c.writeUIntBE(l,0,8),r.update(c),e._finID=r.state;var d=i.from(e._finID);return u(d),d}(this,n,c),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=s,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}s(c,o),c.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=i.alloc(t,0),this._ghash.update(t))}this._called=!0;var n=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(n),this._len+=e.length,n},c.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=l(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var n=0;e.length!==t.length&&n++;for(var r=Math.min(e.length,t.length),i=0;i16)throw new Error("unable to decrypt data");var n=-1;for(;++n16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},d.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var n=o[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=u(t,!1,n.key,n.iv);return f(e,r.key,r.iv)},t.createDecipheriv=f},"./node_modules/browserify-aes/encrypter.js":function(e,t,n){var r=n("./node_modules/browserify-aes/modes/index.js"),i=n("./node_modules/browserify-aes/authCipher.js"),o=n("./node_modules/safe-buffer/index.js").Buffer,s=n("./node_modules/browserify-aes/streamCipher.js"),a=n("./node_modules/cipher-base/index.js"),l=n("./node_modules/browserify-aes/aes.js"),u=n("./node_modules/evp_bytestokey/index.js");function c(e,t,n){a.call(this),this._cache=new f,this._cipher=new l.AES(t),this._prev=o.from(n),this._mode=e,this._autopadding=!0}n("./node_modules/inherits/inherits_browser.js")(c,a),c.prototype._update=function(e){var t,n;this._cache.add(e);for(var r=[];t=this._cache.get();)n=this._mode.encrypt(this,t),r.push(n);return o.concat(r)};var d=o.alloc(16,16);function f(){this.cache=o.allocUnsafe(0)}function h(e,t,n){var a=r[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"===typeof t&&(t=o.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);if("string"===typeof n&&(n=o.from(n)),"GCM"!==a.mode&&n.length!==a.iv)throw new TypeError("invalid iv length "+n.length);return"stream"===a.type?new s(a.module,t,n):"auth"===a.type?new i(a.module,t,n):new c(a.module,t,n)}c.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(d))throw this._cipher.scrub(),new Error("data not multiple of block length")},c.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},f.prototype.add=function(e){this.cache=o.concat([this.cache,e])},f.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},f.prototype.flush=function(){for(var e=16-this.cache.length,t=o.allocUnsafe(e),n=-1;++n>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function s(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}s.prototype.ghash=function(e){for(var t=-1;++t0;t--)r[t]=r[t]>>>1|(1&r[t-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=o(i)},s.prototype.update=function(e){var t;for(this.cache=r.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},s.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(o([0,e,0,t])),this.state},e.exports=s},"./node_modules/browserify-aes/incr32.js":function(e,t){e.exports=function(e){for(var t,n=e.length;n--;){if(255!==(t=e.readUInt8(n))){t++,e.writeUInt8(t,n);break}e.writeUInt8(0,n)}}},"./node_modules/browserify-aes/modes/cbc.js":function(e,t,n){var r=n("./node_modules/buffer-xor/index.js");t.encrypt=function(e,t){var n=r(t,e._prev);return e._prev=e._cipher.encryptBlock(n),e._prev},t.decrypt=function(e,t){var n=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return r(i,n)}},"./node_modules/browserify-aes/modes/cfb.js":function(e,t,n){var r=n("./node_modules/safe-buffer/index.js").Buffer,i=n("./node_modules/buffer-xor/index.js");function o(e,t,n){var o=t.length,s=i(t,e._cache);return e._cache=e._cache.slice(o),e._prev=r.concat([e._prev,n?t:s]),s}t.encrypt=function(e,t,n){for(var i,s=r.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=r.allocUnsafe(0)),!(e._cache.length<=t.length)){s=r.concat([s,o(e,t,n)]);break}i=e._cache.length,s=r.concat([s,o(e,t.slice(0,i),n)]),t=t.slice(i)}return s}},"./node_modules/browserify-aes/modes/cfb1.js":function(e,t,n){var r=n("./node_modules/safe-buffer/index.js").Buffer;function i(e,t,n){for(var r,i,s=-1,a=0;++s<8;)r=t&1<<7-s?128:0,a+=(128&(i=e._cipher.encryptBlock(e._prev)[0]^r))>>s%8,e._prev=o(e._prev,n?r:i);return a}function o(e,t){var n=e.length,i=-1,o=r.allocUnsafe(e.length);for(e=r.concat([e,r.from([t])]);++i>7;return o}t.encrypt=function(e,t,n){for(var o=t.length,s=r.allocUnsafe(o),a=-1;++a=0||!n.umod(e.prime1)||!n.umod(e.prime2);)n=new r(i(t));return n}e.exports=o,o.getr=s}).call(this,n("./node_modules/buffer/index.js").Buffer)},"./node_modules/browserify-sign/algos.js":function(e,t,n){e.exports=n("./node_modules/browserify-sign/browser/algorithms.json")},"./node_modules/browserify-sign/browser/algorithms.json":function(e){e.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},"./node_modules/browserify-sign/browser/curves.json":function(e){e.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}},"./node_modules/browserify-sign/browser/index.js":function(e,t,n){(function(t){var r=n("./node_modules/create-hash/browser.js"),i=n("./node_modules/stream-browserify/index.js"),o=n("./node_modules/inherits/inherits_browser.js"),s=n("./node_modules/browserify-sign/browser/sign.js"),a=n("./node_modules/browserify-sign/browser/verify.js"),l=n("./node_modules/browserify-sign/browser/algorithms.json");function u(e){i.Writable.call(this);var t=l[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=r(t.hash),this._tag=t.id,this._signType=t.sign}function c(e){i.Writable.call(this);var t=l[e];if(!t)throw new Error("Unknown message digest");this._hash=r(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){return new u(e)}function f(e){return new c(e)}Object.keys(l).forEach(function(e){l[e].id=new t(l[e].id,"hex"),l[e.toLowerCase()]=l[e]}),o(u,i.Writable),u.prototype._write=function(e,t,n){this._hash.update(e),n()},u.prototype.update=function(e,n){return"string"===typeof e&&(e=new t(e,n)),this._hash.update(e),this},u.prototype.sign=function(e,t){this.end();var n=this._hash.digest(),r=s(n,e,this._hashType,this._signType,this._tag);return t?r.toString(t):r},o(c,i.Writable),c.prototype._write=function(e,t,n){this._hash.update(e),n()},c.prototype.update=function(e,n){return"string"===typeof e&&(e=new t(e,n)),this._hash.update(e),this},c.prototype.verify=function(e,n,r){"string"===typeof n&&(n=new t(n,r)),this.end();var i=this._hash.digest();return a(n,i,e,this._signType,this._tag)},e.exports={Sign:d,Verify:f,createSign:d,createVerify:f}}).call(this,n("./node_modules/buffer/index.js").Buffer)},"./node_modules/browserify-sign/browser/sign.js":function(e,t,n){(function(t){var r=n("./node_modules/create-hmac/browser.js"),i=n("./node_modules/browserify-rsa/index.js"),o=n("./node_modules/elliptic/lib/elliptic.js").ec,s=n("./node_modules/bn.js/lib/bn.js"),a=n("./node_modules/parse-asn1/index.js"),l=n("./node_modules/browserify-sign/browser/curves.json");function u(e,n,i,o){if((e=new t(e.toArray())).length0&&n.ishrn(r),n}function d(e,n,i){var o,s;do{for(o=new t(0);8*o.length=t)throw new Error("invalid sig")}e.exports=function(e,n,l,u,c){var d=o(l);if("ec"===d.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");return function(e,t,n){var r=s[n.data.algorithm.curve.join(".")];if(!r)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));var o=new i(r),a=n.data.subjectPrivateKey.data;return o.verify(t,e,a)}(e,n,d)}if("dsa"===d.type){if("dsa"!==u)throw new Error("wrong public key type");return function(e,t,n){var i=n.data.p,s=n.data.q,l=n.data.g,u=n.data.pub_key,c=o.signature.decode(e,"der"),d=c.s,f=c.r;a(d,s),a(f,s);var h=r.mont(i),p=d.invm(s);return 0===l.toRed(h).redPow(new r(t).mul(p).mod(s)).fromRed().mul(u.toRed(h).redPow(f.mul(p).mod(s)).fromRed()).mod(i).mod(s).cmp(f)}(e,n,d)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");n=t.concat([c,n]);for(var f=d.modulus.byteLength(),h=[1],p=0;n.length+h.length+2",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",frasl:"\u2044",euro:"\u20ac",image:"\u2111",weierp:"\u2118",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",lang:"\u2329",rang:"\u232a",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},s=/^[\da-fA-F]+$/,a=/^\d+$/,l="undefined"!==typeof window?window:"undefined"!==typeof e?e:"undefined"!==typeof self?self:{};function u(e,t){return e(t={exports:{}},t.exports),t.exports}var c,d=u(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.tokTypes;return t._import.startsExpr=!0,e.plugins.dynamicImport=function(e){e.extend("parseStatement",function(e){return function(){var n=this.startNode();if(this.type===t._import&&function(){return this.input[this.pos]}.call(this)===t.parenL.label){var r=this.parseExpression();return this.parseExpressionStatement(n,r)}for(var i=arguments.length,o=Array(i),s=0;st)return{line:n+1,column:t-o,char:n};o=s}throw new Error("Could not determine location of character")}function v(e,t){for(var n="";t--;)n+=e;return n}function w(e,t,n){void 0===n&&(n=1);var r=Math.max(t.line-5,0),i=t.line,o=String(i).length,s=e.split("\n").slice(r,i),a=s[s.length-1].slice(0,t.column).replace(/\t/g," ").length,l=s.map(function(e,t){return n=o,(i=String(t+r+1))+v(" ",n-i.length)+" : "+e.replace(/\t/g," ");var n,i}).join("\n");return l+="\n"+v(" ",o+3+a)+v("^",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 _[e]=!0}),b.prototype={addDeclaration:function(e,t){for(var n=0,r=m(e);n1&&(c=t(o),a.push(function(t,n,a){e.prependRight(i.start,(s?"":n+"var ")+c+" = "),e.overwrite(i.start,r=i.start+1,o),e.appendLeft(r,a),e.overwrite(i.start,r=i.start+1,(s?"":n+"var ")+c+" = "+o+a),e.move(i.start,r,t)})),E(e,t,n,i,c,s,a);break;case"ArrayPattern":if(e.remove(r,r=i.start),i.elements.filter(Boolean).length>1){var d=t(o);a.push(function(t,n,a){e.prependRight(i.start,(s?"":n+"var ")+d+" = "),e.overwrite(i.start,r=i.start+1,o,{contentOnly:!0}),e.appendLeft(r,a),e.move(i.start,r,t)}),i.elements.forEach(function(i,o){i&&("RestElement"===i.type?O(e,t,n,r,i.argument,d+".slice("+o+")",s,a):O(e,t,n,r,i,d+"["+o+"]",s,a),r=i.end)})}else{var f=j(i.elements,Boolean),h=i.elements[f];"RestElement"===h.type?O(e,t,n,r,h.argument,o+".slice("+f+")",s,a):O(e,t,n,r,h,o+"["+f+"]",s,a),r=h.end}e.remove(r,i.end);break;default:throw new Error("Unexpected node type in destructuring ("+i.type+")")}}var T=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.createScope=function(){var e=this;this.parentIsFunction=/Function/.test(this.parent.type),this.isFunctionBlock=this.parentIsFunction||"Root"===this.parent.type,this.scope=new b({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")})},t.prototype.initialise=function(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()},t.prototype.findLexicalBoundary=function(){return"Program"===this.type?this:/^Function/.test(this.parent.type)?this:this.parent.findLexicalBoundary()},t.prototype.findScope=function(e){return e&&!this.isFunctionBlock?this.parent.findScope(e):this.scope},t.prototype.getArgumentsAlias=function(){return this.argumentsAlias||(this.argumentsAlias=this.scope.createIdentifier("arguments")),this.argumentsAlias},t.prototype.getArgumentsArrayAlias=function(){return this.argumentsArrayAlias||(this.argumentsArrayAlias=this.scope.createIdentifier("argsArray")),this.argumentsArrayAlias},t.prototype.getThisAlias=function(){return this.thisAlias||(this.thisAlias=this.scope.createIdentifier("this")),this.thisAlias},t.prototype.getIndentation=function(){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},t.prototype.transpile=function(t,n){var r,i,o=this,s=this.getIndentation(),a=[];if(this.argumentsAlias&&a.push(function(e,n,r){var i=n+"var "+o.argumentsAlias+" = arguments"+r;t.appendLeft(e,i)}),this.thisAlias&&a.push(function(e,n,r){var i=n+"var "+o.thisAlias+" = this"+r;t.appendLeft(e,i)}),this.argumentsArrayAlias&&a.push(function(e,n,r){var i=o.scope.createIdentifier("i"),a=n+"var "+i+" = arguments.length, "+o.argumentsArrayAlias+" = Array("+i+");\n"+s+"while ( "+i+"-- ) "+o.argumentsArrayAlias+"["+i+"] = arguments["+i+"]"+r;t.appendLeft(e,a)}),/Function/.test(this.parent.type)?this.transpileParameters(this.parent.params,t,n,s,a):"CatchClause"===this.parent.type&&this.transpileParameters([this.parent.param],t,n,s,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 i=n+"var "+o.createdDeclarations.join(", ")+r;t.appendLeft(e,i)}),this.synthetic)if("ArrowFunctionExpression"===this.parent.type){var l=this.body[0];a.length?(t.appendLeft(this.start,"{").prependRight(this.end,this.parent.getIndentation()+"}"),t.prependRight(l.start,"\n"+s+"return "),t.appendLeft(l.end,";\n")):n.arrow&&(t.prependRight(l.start,"{ return "),t.appendLeft(l.end,"; }"))}else a.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 u="\n"+s,c=";";a.forEach(function(e,t){t===a.length-1&&(c=";\n"),e(r,u,c)})},t.prototype.transpileParameters=function(e,t,n,r,i){var o=this;e.forEach(function(s){if("AssignmentPattern"===s.type&&"Identifier"===s.left.type)n.defaultParameter&&i.push(function(e,n,r){var i=n+"if ( "+s.left.name+" === void 0 ) "+s.left.name;t.prependRight(s.left.end,i).move(s.left.end,s.right.end,e).appendLeft(s.right.end,r)});else if("RestElement"===s.type)n.spreadRest&&i.push(function(n,i,a){var l=e[e.length-2];if(l)t.remove(l?l.end:s.start,s.end);else{for(var u=s.start,c=s.end;/\s/.test(t.original[u-1]);)u-=1;for(;/\s/.test(t.original[c]);)c+=1;t.remove(u,c)}var d=s.argument.name,f=o.scope.createIdentifier("len"),h=e.length-1;h?t.prependRight(n,i+"var "+d+" = [], "+f+" = arguments.length - "+h+";\n"+r+"while ( "+f+"-- > 0 ) "+d+"[ "+f+" ] = arguments[ "+f+" + "+h+" ]"+a):t.prependRight(n,i+"var "+d+" = [], "+f+" = arguments.length;\n"+r+"while ( "+f+"-- ) "+d+"[ "+f+" ] = arguments[ "+f+" ]"+a)});else if("Identifier"!==s.type&&n.parameterDestructuring){var a=o.scope.createIdentifier("ref");S(t,function(e){return o.scope.createIdentifier(e)},function(e){var t=e.name;return o.scope.resolveName(t)},s,a,!1,i),t.prependRight(s.start,a)}})},t.prototype.transpileBlockScopedIdentifiers=function(e){var t=this;Object.keys(this.scope.blockScopedDeclarations).forEach(function(n){for(var r=0,i=t.scope.blockScopedDeclarations[n];r0},t}(p);function I(e,t){var n=t.findDeclaration(e.name);if(n&&"const"===n.kind)throw new x(e.name+" is read-only",e)}var N=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(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)},t.prototype.transpile=function(t,n){"Identifier"===this.left.type&&I(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)},t.prototype.transpileDestructuring=function(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=[];S(e,function(e){return n.createDeclaration(e)},function(e){var t=r.resolveName(e.name);return I(e,r),t},this.left,i,!0,o);var s=", ";o.forEach(function(e,n){n===o.length-1&&(s=""),e(t.end,"",s)}),"ExpressionStatement"===this.unparenthesizedParent().type?e.appendRight(this.end,")"):e.appendRight(this.end,", "+i+")")},t.prototype.transpileExponentiation=function(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,s,a=!1,l=!1,u=this.findNearest(/(?:Statement|Declaration)$/),c=u.getIndentation();"Identifier"===i.property.type?s=i.computed?n.resolveName(i.property.name):i.property.name:(s=n.createDeclaration("property"),l=!0),"Identifier"===i.object.type?o=n.resolveName(i.object.name):(o=n.createDeclaration("object"),a=!0),i.start===u.start?a&&l?(e.prependRight(u.start,o+" = "),e.overwrite(i.object.end,i.property.start,";\n"+c+s+" = "),e.overwrite(i.property.end,i.end,";\n"+c+o+"["+s+"]")):a?(e.prependRight(u.start,o+" = "),e.appendLeft(i.object.end,";\n"+c),e.appendLeft(i.object.end,o)):l&&(e.prependRight(i.property.start,s+" = "),e.appendLeft(i.property.end,";\n"+c),e.move(i.property.start,i.property.end,this.start),e.appendLeft(i.object.end,"["+s+"]"),e.remove(i.object.end,i.property.start),e.remove(i.property.end,i.end)):(a&&l?(e.prependRight(i.start,"( "+o+" = "),e.overwrite(i.object.end,i.property.start,", "+s+" = "),e.overwrite(i.property.end,i.end,", "+o+"["+s+"]")):a?(e.prependRight(i.start,"( "+o+" = "),e.appendLeft(i.object.end,", "+o)):l&&(e.prependRight(i.property.start,"( "+s+" = "),e.appendLeft(i.property.end,", "),e.move(i.property.start,i.property.end,i.start),e.overwrite(i.object.end,i.property.start,"["+s+"]"),e.remove(i.property.end,i.end)),l&&e.appendLeft(this.end," )")),t=o+(i.computed||l?"["+s+"]":"."+s)}e.prependRight(this.right.start,"Math.pow( "+t+", "),e.appendLeft(this.right.end," )")},t}(p),D=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.transpile=function(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)},t}(p),z=/(?:For(?:In|Of)?|While)Statement/,B=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(){var e=this.findNearest(z),t=this.findNearest("SwitchCase");e&&(!t||e.depth>t.depth)&&(e.canBreak=!0,this.loop=e)},t.prototype.transpile=function(e){if(this.loop&&this.loop.shouldRewriteAsFunction){if(this.label)throw new x("Labels are not currently supported in a loop with locally-scoped variables",this);e.overwrite(this.start,this.start+5,"return 'break'")}},t}(p),F=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(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&&A(i.argument)&&(this.argumentsArrayAlias=n.getArgumentsArrayAlias())}e.prototype.initialise.call(this,t)},t.prototype.transpile=function(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=M(t,this.arguments,o.start,this.argumentsArrayAlias),i){var s=null;if("Super"===this.callee.type?s=this.callee:"MemberExpression"===this.callee.type&&"Super"===this.callee.object.type&&(s=this.callee.object),s||"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 a=this.callee.object;t.prependRight(a.start,"("+r+" = "),t.appendLeft(a.end,")")}t.appendLeft(this.callee.end,".apply"),s?(s.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&&L(t,this.arguments[this.arguments.length-1].end),e.prototype.transpile.call(this,t,n)},t}(p),W=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.transpile=function(t,n,r,i){var o=this;if(n.classes){var s=this.parent.name,a=t.getIndentString(),l=this.getIndentation()+(r?a:""),u=l+a,c=j(this.body,function(e){return"constructor"===e.kind}),d=this.body[c],f="",h="";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),d){d.value.body.isConstructorBody=!0;var p=this.body[c-1],m=this.body[c+1];c>0&&(t.remove(p.end,d.start),t.move(d.start,m?m.start:this.end-1,this.body[0].start)),r||t.appendLeft(d.end,";")}var g=!1!==this.program.options.namedFunctionExpressions,b=g||this.parent.superClass||"ClassDeclaration"!==this.parent.type;if(this.parent.superClass){var y="if ( "+i+" ) "+s+".__proto__ = "+i+";\n"+l+s+".prototype = Object.create( "+i+" && "+i+".prototype );\n"+l+s+".prototype.constructor = "+s+";";if(d)f+="\n\n"+l+y;else f+=(y="function "+s+" () {"+(i?"\n"+u+i+".apply(this, arguments);\n"+l+"}":"}")+(r?"":";")+(this.body.length?"\n\n"+l:"")+y)+"\n\n"+l}else if(!d){var v="function "+(b?s+" ":"")+"() {}";"ClassDeclaration"===this.parent.type&&(v+=";"),this.body.length&&(v+="\n\n"+l),f+=v}var w,x,k=this.findScope(!1),S=[],C=[];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,a="method"!==e.kind,u=e.key.name;(_[u]||e.value.body.scope.references[u])&&(u=k.createIdentifier(u));var d=!1;if(e.computed||"Literal"!==e.key.type||(d=!0,e.computed=!0),a){if(e.computed)throw new Error("Computed accessor properties are not currently supported");t.remove(e.start,e.key.start),e.static?(~C.indexOf(e.key.name)||C.push(e.key.name),x||(x=k.createIdentifier("staticAccessors")),i=""+x):(~S.indexOf(e.key.name)||S.push(e.key.name),w||(w=k.createIdentifier("prototypeAccessors")),i=""+w)}else i=e.static?""+s:s+".prototype";e.computed||(i+="."),(c>0&&n===c+1||0===n&&c===o.body.length-1)&&(i="\n\n"+l+i);var f=e.key.end;if(e.computed)if(d)t.prependRight(e.key.start,"["),t.appendLeft(e.key.end,"]");else{for(;"]"!==t.original[f];)f+=1;f+=1}var h=e.computed||a||!g?"":u+" ",p=(a?"."+e.kind:"")+" = function"+(e.value.generator?"* ":" ")+h;t.remove(f,e.value.start),t.prependRight(e.value.start,p),t.appendLeft(e.end,";"),e.value.generator&&t.remove(e.start,e.key.start),t.prependRight(e.start,i)}else{var m=b?" "+s:"";t.overwrite(e.key.start,e.key.end,"function"+m)}}),S.length||C.length){var E=[],O=[];S.length&&(E.push("var "+w+" = { "+S.map(function(e){return e+": { configurable: true }"}).join(",")+" };"),O.push("Object.defineProperties( "+s+".prototype, "+w+" );")),C.length&&(E.push("var "+x+" = { "+C.map(function(e){return e+": { configurable: true }"}).join(",")+" };"),O.push("Object.defineProperties( "+s+", "+x+" );")),d&&(f+="\n\n"+l),f+=E.join("\n"+l),d||(f+="\n\n"+l),h+="\n\n"+l+O.join("\n"+l)}d?t.appendLeft(d.end,f):t.prependRight(this.start,f),t.appendLeft(this.end,h)}e.prototype.transpile.call(this,t,n)},t}(p);var U=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(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)},t.prototype.transpile=function(e,t){if(t.classes){this.superClass||function(e,t){var n=e.start,r=e.end,i=t.getIndentString(),o=i.length,s=n-o;e.program.indentExclusions[s]||t.original.slice(s,n)!==i||t.remove(s,n);for(var a,l=new RegExp(i+"\\S","g"),u=t.original.slice(n,r);a=l.exec(u);){var c=n+a.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 s=this.start;this.id?(e.overwrite(s,this.id.start,"var "),s=this.id.end):e.prependLeft(s,"var "+this.name),this.superClass?this.superClass.end===this.body.start?(e.remove(s,this.superClass.start),e.appendLeft(s," = (function ("+n+") {\n"+i)):(e.overwrite(s,this.superClass.start," = "),e.overwrite(this.superClass.end,this.body.start,"(function ("+n+") {\n"+i)):s===this.body.start?e.appendLeft(s," = "):e.overwrite(s,this.body.start," = "),this.body.transpile(e,t,!!this.superClass,n);var a=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,"));"+a)):a&&e.prependRight(this.end,a)}else this.body.transpile(e,t,!1,null)},t}(p),H=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(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)},t.prototype.transpile=function(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)},t}(p),q=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.transpile=function(e){if(this.findNearest(z).shouldRewriteAsFunction){if(this.label)throw new x("Labels are not currently supported in a loop with locally-scoped variables",this);e.overwrite(this.start,this.start+8,"return")}},t}(p),V=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(t){if(t.moduleExport)throw new x("export is not supported",this);e.prototype.initialise.call(this,t)},t}(p),K=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(t){if(t.moduleExport)throw new x("export is not supported",this);e.prototype.initialise.call(this,t)},t}(p),X=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.findScope=function(e){return e||!this.createdScope?this.parent.findScope(e):this.body.scope},t.prototype.initialise=function(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],s=o.instances.length;s--;){var a=o.instances[s].findNearest(/Function/);if(a&&a.depth>this.depth){this.shouldRewriteAsFunction=!0;break}}if(this.shouldRewriteAsFunction)break}},t.prototype.transpile=function(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(),s=this.args?" "+this.args.join(", ")+" ":"",a=this.params?" "+this.params.join(", ")+" ":"",l=this.findScope(!0),u=l.createIdentifier("loop"),c="var "+u+" = function ("+a+") "+(this.body.synthetic?"{\n"+i+t.getIndentString():""),d=(this.body.synthetic?"\n"+i+"}":"")+";\n\n"+i;if(t.prependRight(this.body.start,c),t.appendLeft(this.body.end,d),t.move(this.start,this.body.start,this.body.end),this.canBreak||this.canReturn){var f=l.createIdentifier("returned"),h="{\n"+o+"var "+f+" = "+u+"("+s+");\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 p=u+"("+s+");";"DoWhileStatement"===this.type?t.overwrite(this.start,this.body.start,"do {\n"+o+p+"\n"+i+"}"):t.prependRight(this.body.end,p)}}else r&&(t.appendLeft(this.body.start,"{ "),t.prependRight(this.body.end," }"));e.prototype.transpile.call(this,t,n)},t}(p),G=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.findScope=function(e){return e||!this.createdScope?this.parent.findScope(e):this.body.scope},t.prototype.transpile=function(t,n){var r=this,i=this.getIndentation()+t.getIndentString();if(this.shouldRewriteAsFunction){var o="VariableDeclaration"===this.init.type?[].concat.apply([],this.init.declarations.map(function(e){return m(e.id)})):[],s=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 a=Object.keys(this.reassigned).map(function(e){return s[e].outer+" = "+s[e].inner+";"});if(a.length)if(this.body.synthetic)t.appendLeft(this.body.body[0].end,"; "+a.join(" "));else{var l=this.body.body[this.body.body.length-1];t.appendLeft(l.end,"\n\n"+i+a.join("\n"+i))}}e.prototype.transpile.call(this,t,n)},t}(X),Y=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.findScope=function(e){return e||!this.createdScope?this.parent.findScope(e):this.body.scope},t.prototype.transpile=function(t,n){var r=this,i="VariableDeclaration"===this.left.type;if(this.shouldRewriteAsFunction){var o=i?[].concat.apply([],this.left.declarations.map(function(e){return m(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 s=i?this.left.declarations[0].id:this.left;"Identifier"!==s.type&&this.destructurePattern(t,s,i)},t.prototype.destructurePattern=function(e,t,n){var r=this.findScope(!0),i=this.getIndentation()+e.getIndentString(),o=r.createIdentifier("ref"),s=this.body.body.length?this.body.body[0].start:this.body.start+1;e.move(t.start,t.end,s),e.prependRight(t.end,n?o:"var "+o);var a=[];S(e,function(e){return r.createIdentifier(e)},function(e){var t=e.name;return r.resolveName(t)},t,o,!1,a);var l=";\n"+i;a.forEach(function(e,t){t===a.length-1&&(l=";\n\n"+i),e(s,"",l)})},t}(X),$=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(t){if(t.forOf&&!t.dangerousForOf)throw new x("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)},t.prototype.transpile=function(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(),s=r.createIdentifier("i"),a=r.createIdentifier("list");this.body.synthetic&&(t.prependRight(this.left.start,"{\n"+o),t.appendLeft(this.body.body[0].end,"\n"+i+"}"));var l=this.body.body[0].start;t.remove(this.left.end,this.right.start),t.move(this.left.start,this.left.end,l),t.prependRight(this.right.start,"var "+s+" = 0, "+a+" = "),t.appendLeft(this.right.end,"; "+s+" < "+a+".length; "+s+" += 1");var u="VariableDeclaration"===this.left.type,c=u?this.left.declarations[0].id:this.left;if("Identifier"!==c.type){var d=[],f=r.createIdentifier("ref");S(t,function(e){return r.createIdentifier(e)},function(e){var t=e.name;return r.resolveName(t)},c,f,!u,d);var h=";\n"+o;d.forEach(function(e,t){t===d.length-1&&(h=";\n\n"+o),e(l,"",h)}),u?(t.appendLeft(this.left.start+this.left.kind.length+1,f),t.appendLeft(this.left.end," = "+a+"["+s+"];\n"+o)):t.appendLeft(this.left.end,"var "+f+" = "+a+"["+s+"];\n"+o)}else t.appendLeft(this.left.end," = "+a+"["+s+"];\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)},t}(X),Z=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(t){if(this.generator&&t.generator)throw new x("Generators are not supported",this);this.body.createScope(),this.id&&this.findScope(!0).addDeclaration(this.id,"function"),e.prototype.initialise.call(this,t)},t.prototype.transpile=function(t,n){e.prototype.transpile.call(this,t,n),n.trailingFunctionCommas&&this.params.length&&L(t,this.params[this.params.length-1].end)},t}(p),J=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(t){if(this.generator&&t.generator)throw new x("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)}},t.prototype.transpile=function(e){this.alias&&e.overwrite(this.start,this.end,this.alias,{storeName:!0,contentOnly:!0})},t}(p),ee=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(t){e.prototype.initialise.call(this,t)},t.prototype.transpile=function(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)},t}(p),te=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(t){if(t.moduleImport)throw new x("import is not supported",this);e.prototype.initialise.call(this,t)},t}(p),ne=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(t){this.findScope(!0).addDeclaration(this.local,"import"),e.prototype.initialise.call(this,t)},t}(p),re=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(t){this.findScope(!0).addDeclaration(this.local,"import"),e.prototype.initialise.call(this,t)},t}(p),ie=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.transpile=function(t,n){var r,i=this.name,o=i.start,s=i.name,a=this.value?this.value.start:this.name.end;t.overwrite(o,a,(/-/.test(r=s)?"'"+r+"'":r)+": "+(this.value?"":"true")),e.prototype.transpile.call(this,t,n)},t}(p);var oe=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.transpile=function(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?" )":")")},t}(p);var se=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.transpile=function(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?" )":")")},t}(p);function ae(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 le=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.transpile=function(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,", ")),u&&"JSXSpreadAttribute"!==c.type){var d=this.attributes[s-1],f=this.attributes[s+1];d&&"JSXSpreadAttribute"!==d.type||t.prependRight(c.start,"{ "),f&&"JSXSpreadAttribute"!==f.type||t.appendLeft(c.end," }")}o=c.end}if(u)if(1===i)l=r?"',":",";else{if(!this.program.options.objectAssign)throw new x("Mixed JSX attributes ending in spread requires specified objectAssign option with 'Object.assign' or polyfill helper.",this);l=r?"', "+this.program.options.objectAssign+"({},":", "+this.program.options.objectAssign+"({},",a=")"}else l=r?"', {":", {",a=" }";t.prependRight(this.name.end,l),a&&t.appendLeft(this.attributes[i-1].end,a)}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)},t}(p),fe=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.transpile=function(e,t){e.overwrite(this.start,this.end,this.program.jsx+"( React.Fragment, null")},t}(p),he=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.transpile=function(t,n){t.remove(this.start,this.argument.start),t.remove(this.argument.end,this.end),e.prototype.transpile.call(this,t,n)},t}(p),pe=u(function(e,t){(function(){var n={function:!0,object:!0},r=n[typeof window]&&window||this,i=n.object&&t,o=n.object&&e&&!e.nodeType&&e,s=i&&o&&"object"==typeof l&&l;!s||s.global!==s&&s.window!==s&&s.self!==s||(r=s);var a=Object.prototype.hasOwnProperty,u=String.fromCharCode,c=Math.floor;function d(){var e,t,n=[],r=-1,i=arguments.length;if(!i)return"";for(var o="";++r1114111||c(s)!=s)throw RangeError("Invalid code point: "+s);s<=65535?n.push(s):(e=55296+((s-=65536)>>10),t=s%1024+56320,n.push(e,t)),(r+1==i||n.length>16384)&&(o+=u.apply(null,n),n.length=0)}return o}var f={};function h(e,t){if(-1==t.indexOf("|")){if(e==t)return;throw Error("Invalid node type: "+e+"; expected type: "+t)}if(!(t=a.call(f,t)?f[t]:f[t]=RegExp("^(?:"+t+")$")).test(e))throw Error("Invalid node type: "+e+"; expected types: "+t)}function p(e){var t=e.type;if(a.call(_,t))return _[t](e);throw Error("Invalid node type: "+t)}function m(e){return h(e.type,"anchor|characterClassEscape|characterClassRange|dot|value"),p(e)}function g(e){return h(e.type,"anchor|characterClass|characterClassEscape|empty|group|quantifier|reference|unicodePropertyEscape|value"),p(e)}var _={alternative:function(e){h(e.type,"alternative");for(var t=e.body,n=-1,r=t.length,i="";++n=55296&&r<=56319&&(t=g().charCodeAt(0))>=56320&&t<=57343?s("symbol",1024*(r-55296)+t-56320+65536,++I-2,I):s("symbol",r,I-1,I)}function u(e,t,n,i){return null==i&&(n=I-1,i=I),r({type:"quantifier",min:e,max:t,greedy:!0,body:null,range:[n,i]})}function c(e,t,n,i){return r({type:"characterClass",body:e,negative:t,range:[n,i]})}function d(e,t,n,i){return e.codePoint>t.codePoint&&A("invalid range in character class",e.raw+"-"+t.raw,n,i),r({type:"characterClassRange",min:e,max:t,range:[n,i]})}function f(e){return"alternative"===e.type?e.body:[e]}function h(t){t=t||1;var n=e.substring(I,I+t);return I+=t||1,n}function p(e){m(e)||A("character",e)}function m(t){if(e.indexOf(t,I)===I)return h(t.length)}function g(){return e[I]}function _(t){return e.indexOf(t,I)===I}function b(t){return e[I+1]===t}function y(t){var n=e.substring(I).match(t);return n&&(n.range=[],n.range[0]=I,h(n[0].length),n.range[1]=I),n}function v(){var e=[],t=I;for(e.push(w());m("|");)e.push(w());return 1===e.length?e[0]:function(e,t,n){return r({type:"disjunction",body:e,range:[t,n]})}(e,t,I)}function w(){for(var e,t=[],n=I;e=x();)t.push(e);return 1===t.length?t[0]:function(e,t,n){return r({type:"alternative",body:e,range:[t,n]})}(t,n,I)}function x(){if(I>=e.length||_("|")||_(")"))return null;var t=m("^")?o("start",1):m("$")?o("end",1):m("\\b")?o("boundary",2):m("\\B")?o("not-boundary",2):j("(?=","lookahead","(?!","negativeLookahead");if(t)return t;var n,s=(n=y(/^[^^$\\.*+?(){[|]/))?l(n):m(".")?r({type:"dot",range:[I-1,I]}):m("\\")?((n=C())||A("atomEscape"),n):(n=function(){var e,t=I;return(e=y(/^\[\^/))?(e=E(),p("]"),c(e,!0,t,I)):m("[")?(e=E(),p("]"),c(e,!1,t,I)):null}())?n:j("(?:","ignore","(","normal");s||A("Expected atom");var a=function(){var e,t,n,r,i=I;return m("*")?t=u(0):m("+")?t=u(1):m("?")?t=u(0,1):(e=y(/^\{([0-9]+)\}/))?(n=parseInt(e[1],10),t=u(n,n,e.range[0],e.range[1])):(e=y(/^\{([0-9]+),\}/))?(n=parseInt(e[1],10),t=u(n,void 0,e.range[0],e.range[1])):(e=y(/^\{([0-9]+),([0-9]+)\}/))&&(n=parseInt(e[1],10),r=parseInt(e[2],10),n>r&&A("numbers out of order in {} quantifier","",i,I),t=u(n,r,e.range[0],e.range[1])),t&&m("?")&&(t.greedy=!1,t.range[1]+=1),t}()||!1;return a?(a.body=f(s),i(a,s.range[0]),a):s}function j(e,t,n,i){var o=null,s=I;if(m(e))o=t;else{if(!m(n))return!1;o=i}var a=v();a||A("Expected disjunction"),p(")");var l=function(e,t,n,i){return r({type:"group",behavior:e,body:t,range:[n,i]})}(o,f(a),s,I);return"normal"==o&&L&&P++,l}function k(e){var t,n;if(R&&"unicodeEscape"==e.kind&&(t=e.codePoint)>=55296&&t<=56319&&_("\\")&&b("u")){var i=I;I++;var o=S();"unicodeEscape"==o.kind&&(n=o.codePoint)>=56320&&n<=57343?(e.range[1]=o.range[1],e.codePoint=1024*(t-55296)+n-56320+65536,e.type="value",e.kind="unicodeCodePointEscape",r(e)):I=i}return e}function S(){return C(!0)}function C(e){var t,o=I;if(t=function(){var e,t,n;if(e=y(/^(?!0)\d+/)){t=e[0];var o=parseInt(e[0],10);return o<=P?(n=e[0],r({type:"reference",matchIndex:parseInt(n,10),range:[I-1-n.length,I]})):(M.push(o),h(-e[0].length),(e=y(/^[0-7]{1,3}/))?a("octal",parseInt(e[0],8),e[0],1):i(e=l(y(/^[89]/)),e.range[0]-1))}return(e=y(/^[0-7]{1,3}/))?(t=e[0],/^0{1,3}$/.test(t)?a("null",0,"0",t.length+1):a("octal",parseInt(t,8),t,1)):!!(e=y(/^[dDsSwW]/))&&r({type:"characterClassEscape",value:e[0],range:[I-2,I]})}())return t;if(e){if(m("b"))return a("singleEscape",8,"\\b");m("B")&&A("\\B not possible inside of CharacterClass","",o)}return t=function(){var e,t,i,o;if(e=y(/^[fnrtv]/)){var s=0;switch(e[0]){case"t":s=9;break;case"n":s=10;break;case"v":s=11;break;case"f":s=12;break;case"r":s=13}return a("singleEscape",s,"\\"+e[0])}return(e=y(/^c([a-zA-Z])/))?a("controlLetter",e[1].charCodeAt(0)%32,e[1],2):(e=y(/^x([0-9a-fA-F]{2})/))?a("hexadecimalEscape",parseInt(e[1],16),e[1],2):(e=y(/^u([0-9a-fA-F]{4})/))?k(a("unicodeEscape",parseInt(e[1],16),e[1],2)):R&&(e=y(/^u\{([0-9a-fA-F]+)\}/))?a("unicodeCodePointEscape",parseInt(e[1],16),e[1],4):n.unicodePropertyEscape&&R&&(e=y(/^([pP])\{([^\}]+)\}/))?r({type:"unicodePropertyEscape",negative:"P"===e[1],value:e[2],range:[e.range[0]-1,e.range[1]],raw:e[0]}):(i=g(),o=new RegExp("[\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u0487\u048a-\u052f\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u05d0-\u05ea\u05f0-\u05f2\u0610-\u061a\u0620-\u0669\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07c0-\u07f5\u07fa\u0800-\u082d\u0840-\u085b\u08a0-\u08b2\u08e4-\u0963\u0966-\u096f\u0971-\u0983\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7\u09c8\u09cb-\u09ce\u09d7\u09dc\u09dd\u09df-\u09e3\u09e6-\u09f1\u0a01-\u0a03\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\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e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb9\u0ebb-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1049\u1050-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772\u1773\u1780-\u17d3\u17d7\u17dc\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1820-\u1877\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19d9\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa7\u1ab0-\u1abd\u1b00-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1bf3\u1c00-\u1c37\u1c40-\u1c49\u1c4d-\u1c7d\u1cd0-\u1cd2\u1cd4-\u1cf6\u1cf8\u1cf9\u1d00-\u1df5\u1dfc-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u200c\u200d\u203f\u2040\u2054\u2071\u207f\u2090-\u209c\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u2e2f\u3005-\u3007\u3021-\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u3099\u309a\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua62b\ua640-\ua66f\ua674-\ua67d\ua67f-\ua69d\ua69f-\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua7ad\ua7b0\ua7b1\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c4\ua8d0-\ua8d9\ua8e0-\ua8f7\ua8fb\ua900-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf-\ua9d9\ua9e0-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa50-\uaa59\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab5f\uab64\uab65\uabc0-\uabea\uabec\uabed\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe2d\ufe33\ufe34\ufe4d-\ufe4f\ufe70-\ufe74\ufe76-\ufefc\uff10-\uff19\uff21-\uff3a\uff3f\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]"),36===i||95===i||i>=65&&i<=90||i>=97&&i<=122||i>=48&&i<=57||92===i||i>=128&&o.test(String.fromCharCode(i))?m("\u200c")?a("identifier",8204,"\u200c"):m("\u200d")?a("identifier",8205,"\u200d"):null:a("identifier",(t=h()).charCodeAt(0),t,1))}()}function E(){var e,t;return _("]")?[]:((t=T())||A("classAtom"),(e=_("]")?[t]:O(t))||A("nonEmptyClassRanges"),e)}function O(e){var t,n,r;if(_("-")&&!b("]")){p("-"),(r=T())||A("classAtom"),n=I;var i=E();return i||A("classRanges"),t=e.range[0],"empty"===i.type?[d(e,r,t,n)]:[d(e,r,t,n)].concat(i)}return(r=function(){var e=T();return e||A("classAtom"),_("]")?e:O(e)}())||A("nonEmptyClassRangesNoDash"),[e].concat(r)}function T(){return m("-")?l("-"):(e=y(/^[^\\\]-]/))?l(e[0]):m("\\")?((e=S())||A("classEscape"),k(e)):void 0;var e}function A(t,n,r,i){r=null==r?I:r,i=null==i?r:i;var o=Math.max(0,r-10),s=Math.min(i+10,e.length),a=" "+e.substring(o,s),l=" "+new Array(r-o+1).join(" ")+"^";throw SyntaxError(t+" at position "+r+(n?": "+n:"")+"\n"+a+"\n"+l)}n||(n={});var M=[],P=0,L=!0,R=-1!==(t||"").indexOf("u"),I=0;""===(e=String(e))&&(e="(?:)");var N=v();N.range[1]!==e.length&&A("Could not parse entire input - got stuck","",N.range[1]);for(var D=0;D=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},w=function(e,t){var n,r,i=0,o=null,s=e.length;if(t<0||t>1114111)throw RangeError(a);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},x=function(e,t){for(var n,r,i=0,o=e.slice(),s=t.length;i1114111||n<0||n>1114111)throw RangeError(a);for(var r,i,o=0,l=!1,u=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,l=!0)}o+=2}return l||e.push(t,n+1),e},k=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"+g(_(e),2):"\\u"+g(_(e),4)},L=function(e){return e<=65535?P(e):"\\u{"+e.toString(16).toUpperCase()+"}"},R=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},I=function(e){var t,n,r="",i=0,o=e.length;if(C(e))return P(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),s.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),s.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),s.push(65536,n+1)))):t>57343&&t<=65535?n<=65535?o.push(t,n+1):(o.push(t,65536),s.push(65536,n+1)):s.push(t,n+1),a+=2;return{loneHighSurrogates:r,loneLowSurrogates:i,bmp:o,astral:s}}(e),o=i.loneHighSurrogates,s=i.loneLowSurrogates,a=i.bmp,l=i.astral,u=!S(o),c=!S(s),d=D(l);return t&&(a=x(a,o),u=!1,a=x(a,s),c=!1),S(a)||r.push(I(a)),d.length&&r.push(function(e){var t=[];return f(e,function(e){var n=e[0],r=e[1];t.push(I(n)+I(r))}),t.join("|")}(d)),u&&r.push(I(o)+"(?![\\uDC00-\\uDFFF])"),c&&r.push("(?:[^\\uD800-\\uDBFF]|^)"+I(s)),r.join("|")},B=function(e){return arguments.length>1&&(e=b.call(arguments)),this instanceof B?(this.data=[],e?this.add(e):this):(new B).add(e)};B.version="1.3.3";var F=B.prototype;!function(e,t){var n;for(n in t)d.call(t,n)&&(e[n]=t[n])}(F,{add:function(e){var t=this;return null==e?t:e instanceof B?(t.data=x(t.data,e.data),t):(arguments.length>1&&(e=b.call(arguments)),p(e)?(f(e,function(e){t.add(e)}),t):(t.data=w(t.data,m(e)?e:R(e)),t))},remove:function(e){var t=this;return null==e?t:e instanceof B?(t.data=function(e,t){for(var n,r,i=0,o=e.slice(),s=t.length;i1&&(e=b.call(arguments)),p(e)?(f(e,function(e){t.remove(e)}),t):(t.data=y(t.data,m(e)?e:R(e)),t))},addRange:function(e,t){return this.data=j(this.data,m(e)?e:R(e),m(t)?t:R(t)),this},removeRange:function(e,t){var n=m(e)?e:R(e),r=m(t)?t:R(t);return this.data=v(this.data,n,r),this},intersection:function(e){var t=e instanceof B?E(e.data):e;return this.data=function(e,t){for(var n,r=0,i=t.length,o=[];rA&&t.remove(A,C.value.start),t.prependLeft(A," = ")):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?g&&S>0&&(v||(v=this.properties[S-1]),t.appendLeft(v.end,", "+g+" )"),v=null,g=null):(!k&&o&&(t.prependRight(C.start,"{"),t.appendLeft(C.end,"}")),j=!0);if(k&&("SpreadElement"===C.type||C.computed)){var M=j?this.properties[this.properties.length-1].end:this.end-1;","==t.original[M]&&++M;var P=t.slice(M,y);t.prependLeft(E,P),t.remove(M,y),k=!1}var L=C.end;if(Sthis.nearestFunction.depth)&&(this.loop.canReturn=!0,this.shouldWrap=!0),this.argument&&this.argument.initialise(e)},t.prototype.transpile=function(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," {}")},t}(p),SpreadElement:function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.transpile=function(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)},t}(p),Super:function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(e){if(e.classes){if(this.method=this.findNearest("MethodDefinition"),!this.method)throw new x("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 x("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 x("super() not allowed outside class constructor",this);if(this.isMember="MemberExpression"===this.parent.type,!this.isCalled&&!this.isMember)throw new x("Unexpected use of `super` (expected `super(...)` or `super.*`)",this)}if(e.arrow){var n=this.findLexicalBoundary(),r=this.findNearest("ArrowFunctionExpression"),i=this.findNearest(z);r&&r.depth>n.depth&&(this.thisAlias=n.getThisAlias()),i&&i.body.contains(this)&&i.depth>n.depth&&(this.thisAlias=n.getThisAlias())}},t.prototype.transpile=function(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)}}},t}(p),TaggedTemplateExpression:function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(t){if(t.templateString&&!t.dangerousTaggedTemplateString)throw new x("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)},t.prototype.transpile=function(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(", "),s=this.program.templateLiteralQuasis[o];s||(s=i.createIdentifier("templateObject"),t.prependRight(this.program.prependAt,"var "+s+" = Object.freeze(["+o+"]);\n"),this.program.templateLiteralQuasis[o]=s),t.overwrite(this.tag.end,r[0].start,"("+s);var a=r[0].start;r.forEach(function(e){"TemplateElement"===e.type?t.remove(a,e.end):t.overwrite(a,e.start,", "),a=e.end}),t.overwrite(a,this.end,")")}e.prototype.transpile.call(this,t,n)},t}(p),TemplateElement:function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(){this.program.indentExclusionElements.push(this)},t}(p),TemplateLiteral:function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.transpile=function(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 s=(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);s&&t.appendRight(this.start,"(");var a=this.start;r.forEach(function(e,n){var r=0===n?s?"(":"":" + ";if("TemplateElement"===e.type)t.overwrite(a,e.end,r+JSON.stringify(e.value.cooked));else{var i="Identifier"!==e.type;i&&(r+="("),t.remove(a,e.start),r&&t.prependRight(e.start,r),i&&t.appendLeft(e.end,")")}a=e.end}),s&&t.appendLeft(a,")"),t.overwrite(a,this.end,"",{contentOnly:!0})}},t}(p),ThisExpression:function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(e){if(e.arrow){var t=this.findLexicalBoundary(),n=this.findNearest("ArrowFunctionExpression"),r=this.findNearest(z);(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())}},t.prototype.transpile=function(e){this.alias&&e.overwrite(this.start,this.end,this.alias,{storeName:!0,contentOnly:!0})},t}(p),UpdateExpression:function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(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)},t.prototype.transpile=function(t,n){"Identifier"===this.argument.type&&I(this.argument,this.findScope(!1)),e.prototype.transpile.call(this,t,n)},t}(p),VariableDeclaration:function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(e){this.scope=this.findScope("var"===this.kind),this.declarations.forEach(function(t){return t.initialise(e)})},t.prototype.transpile=function(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,{storeName:!0})),t.destructuring&&"ForOfStatement"!==this.parent.type&&"ForInStatement"!==this.parent.type){var o,s=this.start;this.declarations.forEach(function(i,a){if(i.transpile(e,t),"Identifier"===i.id.type)a>0&&"Identifier"!==n.declarations[a-1].id.type&&e.overwrite(s,i.id.start,"var ");else{var l=z.test(n.parent.type);0===a?e.remove(s,i.id.start):e.overwrite(s,i.id.start,";\n"+r);var u="Identifier"===i.init.type&&!i.init.rewritten,c=u?i.init.alias||i.init.name:i.findScope(!0).createIdentifier("ref");s=i.start;var d=[];u?e.remove(i.id.end,i.end):d.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);S(e,function(e){return f.createIdentifier(e)},function(e){var t=e.name;return f.resolveName(t)},i.id,c,l,d);var h=l?"var ":"",p=l?", ":";\n"+r;d.forEach(function(e,t){a===n.declarations.length-1&&t===d.length-1&&(p=l?"":";"),e(i.start,0===t?h:"",p)})}s=i.end,o="Identifier"!==i.id.type}),o&&this.end>s&&e.overwrite(s,this.end,"",{contentOnly:!0})}else this.declarations.forEach(function(n){n.transpile(e,t)})},t}(p),VariableDeclarator:function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initialise=function(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)},t.prototype.transpile=function(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)},t.prototype.isLeftDeclaratorOfLoop=function(){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},t}(p),WhileStatement:X},Ce={Program:["body"],Literal:[]},Ee={IfStatement:"consequent",ForStatement:"body",ForInStatement:"body",ForOfStatement:"body",WhileStatement:"body",DoWhileStatement:"body",ArrowFunctionExpression:"body"};function Oe(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 e(t,n){if(t)if("length"in t)for(var r=t.length;r--;)e(t[r],n);else if(!t.__wrapped){t.__wrapped=!0,Ce[t.type]||(Ce[t.type]=Object.keys(t).filter(function(e){return"object"===typeof t[e]}));var i=Ee[t.type];if(i&&"BlockStatement"!==t[i].type){var o=t[i];t[i]={start:o.start,end:o.end,type:"BlockStatement",body:[o],synthetic:!0}}t.parent=n,t.program=n.program||n,t.depth=n.depth+1,t.keys=Ce[t.type],t.indentation=void 0;for(var s=0,a=Ce[t.type];s...",!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 i(e){return e?"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?i(e.object)+"."+i(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=s,r.closingElement=a,r.children=o,this.type===t.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(r,s.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},f].reduce(function(e,t){return t(e)},i).parse,Pe=["dangerousTaggedTemplateString","dangerousForOf"];function Le(e,t){var n;void 0===t&&(t={});var r=null;try{n=Me(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(o){throw o.snippet=w(e,o.loc),o.toString=function(){return o.name+": "+o.message+"\n"+o.snippet},o}var i=function(e){var t=Object.keys(e).length?1048575:262144;Object.keys(e).forEach(function(n){var r=Te[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 Ae.forEach(function(e,r){n[e]=!(t&1<=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function p(e,t){if(l.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 F(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return W(e).length;default:if(r)return F(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(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=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:_(e,t,n,r,i);if("number"===typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):_(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function _(e,t,n,r,i){var o,s=1,a=e.length,l=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;s=2,a/=2,l/=2,n/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var c=-1;for(o=n;oa&&(n=a-l),o=n;o>=0;o--){for(var d=!0,f=0;fi&&(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 s=0;s>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:u>223?3:u>191?2:1;if(i+d<=n)switch(d){case 1:u<128&&(c=u);break;case 2:128===(192&(o=e[i+1]))&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],s=e[i+2],128===(192&o)&&128===(192&s)&&(l=(15&u)<<12|(63&o)<<6|63&s)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],128===(192&o)&&128===(192&s)&&128===(192&a)&&(l=(15&u)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=d}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rthis.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 T(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return E(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},l.prototype.compare=function(e,t,n,r,i){if(!l.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),s=(n>>>=0)-(t>>>=0),a=Math.min(o,s),u=this.slice(r,i),c=e.slice(t,n),d=0;di)&&(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 b(this,e,t,n);case"utf8":case"utf-8":return y(this,e,t,n);case"ascii":return v(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function E(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 P(e,t,n,r,i,o){if(!l.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 L(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 R(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 I(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 N(e,t,n,r,o){return o||I(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function D(e,t,n,r,o){return o||I(e,0,n,8),i.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(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},l.prototype.readUInt8=function(e,t){return t||M(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||M(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||M(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||M(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||M(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||M(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},l.prototype.readInt8=function(e,t){return t||M(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||M(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||M(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||M(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||M(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||M(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||M(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||M(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||M(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||P(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},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):R(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):R(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return N(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return N(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return D(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return D(this,e,t,!1,n)},l.prototype.copy=function(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||!l.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(s+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 W(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(z,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function U(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("./node_modules/webpack/buildin/global.js"))},"./node_modules/cipher-base/index.js":function(e,t,n){var r=n("./node_modules/safe-buffer/index.js").Buffer,i=n("./node_modules/stream-browserify/index.js").Transform,o=n("./node_modules/node-libs-browser/node_modules/string_decoder/lib/string_decoder.js").StringDecoder;function s(e){i.call(this),this.hashMode="string"===typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n("./node_modules/inherits/inherits_browser.js")(s,i),s.prototype.update=function(e,t,n){"string"===typeof e&&(e=r.from(e,t));var i=this._update(e);return this.hashMode?this:(n&&(i=this._toString(i,n)),i)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},s.prototype._transform=function(e,t,n){var r;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(i){r=i}finally{n(r)}},s.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(n){t=n}e(t)},s.prototype._finalOrDigest=function(e){var t=this.__final()||r.alloc(0);return e&&(t=this._toString(t,e,!0)),t},s.prototype._toString=function(e,t,n){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var r=this._decoder.write(e);return n&&(r+=this._decoder.end()),r},e.exports=s},"./node_modules/codemirror/addon/edit/closetag.js":function(e,t,n){!function(e){e.defineOption("autoCloseTags",!1,function(s,a,l){if(l!=e.Init&&l&&s.removeKeyMap("autoCloseTags"),a){var u={name:"autoCloseTags"};("object"!=typeof a||a.whenClosing)&&(u["'/'"]=function(t){return function(t){return t.getOption("disableInput")?e.Pass:r(t,!0)}(t)}),("object"!=typeof a||a.whenOpening)&&(u["'>'"]=function(r){return function(r){if(r.getOption("disableInput"))return e.Pass;for(var s=r.listSelections(),a=[],l=r.getOption("autoCloseTags"),u=0;uc.ch&&(_=_.slice(0,_.length-d.end+c.ch));var b=_.toLowerCase();if(!_||"string"==d.type&&(d.end!=c.ch||!/[\"\']/.test(d.string.charAt(d.string.length-1))||1==d.string.length)||"tag"==d.type&&"closeTag"==h.type||d.string.indexOf("/")==d.string.length-1||m&&i(m,b)>-1||o(r,_,c,h,!0))return e.Pass;var y=g&&i(g,b)>-1;a[u]={indent:y,text:">"+(y?"\n\n":"")+"",newPos:y?e.Pos(c.line+1,0):e.Pos(c.line,c.ch+1)}}for(var v="object"==typeof l&&l.dontIndentOnAutoClose,u=s.length-1;u>=0;u--){var w=a[u];r.replaceRange(w.text,s[u].head,s[u].anchor,"+insert");var x=r.listSelections().slice(0);x[u]={head:w.newPos,anchor:w.newPos},r.setSelections(x),!v&&w.indent&&(r.indentLine(w.newPos.line,null,!0),r.indentLine(w.newPos.line+1,null,!0))}}(r)}),s.addKeyMap(u)}});var t=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],n=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function r(t,n){for(var r=t.listSelections(),i=[],s=n?"/":""!=t.getLine(d.line).charAt(f.end)&&(c+=">"),i[u]=c}if(t.replaceSelections(i),r=t.listSelections(),!l)for(var u=0;u",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"};function i(e,t,i){var s=e.getLineHandle(t.line),a=t.ch-1,l=i&&i.afterCursor;null==l&&(l=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var u=!l&&a>=0&&r[s.text.charAt(a)]||r[s.text.charAt(++a)];if(!u)return null;var c=">"==u.charAt(1)?1:-1;if(i&&i.strict&&c>0!=(a==t.ch))return null;var d=e.getTokenTypeAt(n(t.line,a+1)),f=o(e,n(t.line,a+(c>0?1:0)),c,d||null,i);return null==f?null:{from:n(t.line,a),to:f&&f.pos,match:f&&f.ch==u.charAt(0),forward:c>0}}function o(e,t,i,o,s){for(var a=s&&s.maxScanLineLength||1e4,l=s&&s.maxScanLines||1e3,u=[],c=s&&s.bracketRegex?s.bracketRegex:/[(){}[\]]/,d=i>0?Math.min(t.line+l,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-l),f=t.line;f!=d;f+=i){var h=e.getLine(f);if(h){var p=i>0?0:h.length-1,m=i>0?h.length:-1;if(!(h.length>a))for(f==t.line&&(p=t.ch-(i<0?1:0));p!=m;p+=i){var g=h.charAt(p);if(c.test(g)&&(void 0===o||e.getTokenTypeAt(n(f,p+1))==o)){var _=r[g];if(">"==_.charAt(1)==i>0)u.push(g);else{if(!u.length)return{pos:n(f,p),ch:g};u.pop()}}}}}return f-i!=(i>0?e.lastLine():e.firstLine())&&null}function s(e,r,o){for(var s=e.state.matchBrackets.maxHighlightLineLength||1e3,a=[],l=e.listSelections(),u=0;u=e.max))return e.ch=0,e.text=e.cm.getLine(++e.line),!0}function l(e){if(!(e.line<=e.min))return e.text=e.cm.getLine(--e.line),e.ch=e.text.length,!0}function u(e){for(;;){var t=e.text.indexOf(">",e.ch);if(-1==t){if(a(e))continue;return}if(s(e,t+1)){var n=e.text.lastIndexOf("/",t),r=n>-1&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,r?"selfClose":"regular"}e.ch=t+1}}function c(e){for(;;){var t=e.ch?e.text.lastIndexOf("<",e.ch-1):-1;if(-1==t){if(l(e))continue;return}if(s(e,t+1)){i.lastIndex=t,e.ch=t;var n=i.exec(e.text);if(n&&n.index==t)return n}else e.ch=t}}function d(e){for(;;){i.lastIndex=e.ch;var t=i.exec(e.text);if(!t){if(a(e))continue;return}if(s(e,t.index+1))return e.ch=t.index+t[0].length,t;e.ch=t.index+1}}function f(e){for(;;){var t=e.ch?e.text.lastIndexOf(">",e.ch-1):-1;if(-1==t){if(l(e))continue;return}if(s(e,t+1)){var n=e.text.lastIndexOf("/",t),r=n>-1&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,r?"selfClose":"regular"}e.ch=t}}function h(e,n){for(var r=[];;){var i,o=d(e),s=e.line,a=e.ch-(o?o[0].length:0);if(!o||!(i=u(e)))return;if("selfClose"!=i)if(o[1]){for(var l=r.length-1;l>=0;--l)if(r[l]==o[2]){r.length=l;break}if(l<0&&(!n||n==o[2]))return{tag:o[2],from:t(s,a),to:t(e.line,e.ch)}}else r.push(o[2])}}function p(e,n){for(var r=[];;){var i=f(e);if(!i)return;if("selfClose"!=i){var o=e.line,s=e.ch,a=c(e);if(!a)return;if(a[1])r.push(a[2]);else{for(var l=r.length-1;l>=0;--l)if(r[l]==a[2]){r.length=l;break}if(l<0&&(!n||n==a[2]))return{tag:a[2],from:t(e.line,e.ch),to:t(o,s)}}}else c(e)}}e.registerHelper("fold","xml",function(e,r){for(var i=new o(e,r.line,0);;){var s=d(i);if(!s||i.line!=r.line)return;var a=u(i);if(!a)return;if(!s[1]&&"selfClose"!=a){var l=t(i.line,i.ch),c=h(i,s[2]);return c&&n(c.from,l)>0?{from:l,to:c.from}:null}}}),e.findMatchingTag=function(e,r,i){var s=new o(e,r.line,r.ch,i);if(-1!=s.text.indexOf(">")||-1!=s.text.indexOf("<")){var a=u(s),l=a&&t(s.line,s.ch),d=a&&c(s);if(a&&d&&!(n(s,r)>0)){var f={from:t(s.line,s.ch),to:l,tag:d[2]};return"selfClose"==a?{open:f,close:null,at:"open"}:d[1]?{open:p(s,d[2]),close:f,at:"close"}:(s=new o(e,l.line,l.ch,i),{open:f,close:h(s,d[2]),at:"open"})}}},e.findEnclosingTag=function(e,t,n,r){for(var i=new o(e,t.line,t.ch,n);;){var s=p(i,r);if(!s)break;var a=new o(e,t.line,t.ch,n),l=h(a,s.tag);if(l)return{open:s,close:l}}},e.scanForClosingTag=function(e,t,n,r){var i=new o(e,t.line,t.ch,r?{from:0,to:r}:null);return h(i,n)}}(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/lib/codemirror.js":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),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),s=r||i||o,a=s&&(r?document.documentMode||6:+(o||i)[1]),l=!o&&/WebKit\//.test(e),u=l&&/Qt\/\d+\.\d+/.test(e),c=!o&&/Chrome\//.test(e),d=/Opera\//.test(e),f=/Apple Computer/.test(navigator.vendor),h=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),p=/PhantomJS/.test(e),m=!o&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),g=/Android/.test(e),_=m||g||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),b=m||/Mac/.test(t),y=/\bCrOS\b/.test(e),v=/win/i.test(t),w=d&&e.match(/Version\/(\d*\.\d*)/);w&&(w=Number(w[1])),w&&w>=15&&(d=!1,l=!0);var x=b&&(u||d&&(null==w||w<12.11)),j=n||s&&a>=9;function k(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var S,C=function(e,t){var n=e.className,r=k(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function E(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function O(e,t){return E(e).appendChild(t)}function T(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return s+(t-o);s+=a-o,s+=n-s%n,o=a+1}}m?I=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:s&&(I=function(e){try{e.select()}catch(t){}});var B=function(){this.id=null};function F(e,t){for(var n=0;n=t)return r+Math.min(s,t-i);if(i+=o-r,r=o+1,(i+=n-i%n)>=t)return r}}var X=[""];function G(e){for(;X.length<=e;)X.push(Y(X)+" ");return X[e]}function Y(e){return e[e.length-1]}function $(e,t){for(var n=[],r=0;r"\x80"&&(e.toUpperCase()!=e.toLowerCase()||Q.test(e))}function te(e,t){return t?!!(t.source.indexOf("\\w")>-1&&ee(e))||t.test(e):ee(e)}function ne(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var re=/[\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 ie(e){return e.charCodeAt(0)>=768&&re.test(e)}function oe(e,t,n){for(;(n<0?t>0:tn?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}function ae(e,t,r){var i=this;this.input=r,i.scrollbarFiller=T("div",null,"CodeMirror-scrollbar-filler"),i.scrollbarFiller.setAttribute("cm-not-content","true"),i.gutterFiller=T("div",null,"CodeMirror-gutter-filler"),i.gutterFiller.setAttribute("cm-not-content","true"),i.lineDiv=A("div",null,"CodeMirror-code"),i.selectionDiv=T("div",null,null,"position: relative; z-index: 1"),i.cursorDiv=T("div",null,"CodeMirror-cursors"),i.measure=T("div",null,"CodeMirror-measure"),i.lineMeasure=T("div",null,"CodeMirror-measure"),i.lineSpace=A("div",[i.measure,i.lineMeasure,i.selectionDiv,i.cursorDiv,i.lineDiv],null,"position: relative; outline: none");var o=A("div",[i.lineSpace],"CodeMirror-lines");i.mover=T("div",[o],null,"position: relative"),i.sizer=T("div",[i.mover],"CodeMirror-sizer"),i.sizerWidth=null,i.heightForcer=T("div",null,null,"position: absolute; height: "+W+"px; width: 1px;"),i.gutters=T("div",null,"CodeMirror-gutters"),i.lineGutter=null,i.scroller=T("div",[i.sizer,i.heightForcer,i.gutters],"CodeMirror-scroll"),i.scroller.setAttribute("tabIndex","-1"),i.wrapper=T("div",[i.scrollbarFiller,i.gutterFiller,i.scroller],"CodeMirror"),s&&a<8&&(i.gutters.style.zIndex=-1,i.scroller.style.paddingRight=0),l||n&&_||(i.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(i.wrapper):e(i.wrapper)),i.viewFrom=i.viewTo=t.first,i.reportedViewFrom=i.reportedViewTo=t.first,i.view=[],i.renderedView=null,i.externalMeasured=null,i.viewOffset=0,i.lastWrapHeight=i.lastWrapWidth=0,i.updateLineNumbers=null,i.nativeBarWidth=i.barHeight=i.barWidth=0,i.scrollbarsClipped=!1,i.lineNumWidth=i.lineNumInnerWidth=i.lineNumChars=null,i.alignWidgets=!1,i.cachedCharWidth=i.cachedTextHeight=i.cachedPaddingH=null,i.maxLine=null,i.maxLineLength=0,i.maxLineChanged=!1,i.wheelDX=i.wheelDY=i.wheelStartX=i.wheelStartY=null,i.shift=!1,i.selForContextMenu=null,i.activeTouch=null,r.init(i)}function le(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 i=n.children[r],o=i.chunkSize();if(t=e.first&&tn?ge(n,le(e,n).text.length):function(e,t){var n=e.ch;return null==n||n>t?ge(e.line,t):n<0?ge(e.line,0):e}(t,le(e,t.line).text.length)}function ke(e,t){for(var n=[],r=0;r=t:o.to>t);(r||(r=[])).push(new Ee(s,o.from,l?null:o.to))}}return r}(n,i,s),l=function(e,t,n){var r;if(e)for(var i=0;i=t:o.to>t);if(a||o.from==t&&"bookmark"==s.type&&(!n||o.marker.insertLeft)){var l=null==o.from||(s.inclusiveLeft?o.from<=t:o.from0&&a)for(var v=0;vt)&&(!n||Ne(n,o.marker)<0)&&(n=o.marker)}return n}function We(e,t,n,r,i){var o=le(e,t),s=Ce&&o.markedSpans;if(s)for(var a=0;a=0&&d<=0||c<=0&&d>=0)&&(c<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?_e(u.to,n)>=0:_e(u.to,n)>0)||c>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?_e(u.from,r)<=0:_e(u.from,r)<0)))return!0}}}function Ue(e){for(var t;t=ze(e);)e=t.find(-1,!0).line;return e}function He(e,t){var n=le(e,t),r=Ue(n);return n==r?t:fe(r)}function qe(e,t){if(t>e.lastLine())return t;var n,r=le(e,t);if(!Ve(e,r))return t;for(;n=Be(r);)r=n.find(1,!0).line;return fe(r)+1}function Ve(e,t){var n=Ce&&t.markedSpans;if(n)for(var r=void 0,i=0;it.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}var $e=null;function Ze(e,t,n){var r;$e=null;for(var i=0;it)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:$e=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:$e=i)}return null!=r?r:$e}var Je=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]/,i=/[LRr]/,o=/[Lb1n]/,s=/[1n]/;function a(e,t,n){this.level=e,this.from=t,this.to=n}return function(l,u){var c,d="ltr"==u?"L":"R";if(0==l.length||"ltr"==u&&!n.test(l))return!1;for(var f=l.length,h=[],p=0;p-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function it(e,t){var n=nt(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i0}function lt(e){e.prototype.on=function(e,t){tt(this,e,t)},e.prototype.off=function(e,t){rt(this,e,t)}}function ut(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function ct(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function dt(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function ft(e){ut(e),ct(e)}function ht(e){return e.target||e.srcElement}function pt(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),b&&e.ctrlKey&&1==t&&(t=3),t}var mt,gt,_t=function(){if(s&&a<9)return!1;var e=T("div");return"draggable"in e||"dragDrop"in e}();function bt(e){if(null==mt){var t=T("span","\u200b");O(e,T("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(mt=t.offsetWidth<=1&&t.offsetHeight>2&&!(s&&a<8))}var n=mt?T("span","\u200b"):T("span","\xa0",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function yt(e){if(null!=gt)return gt;var t=O(e,document.createTextNode("A\u062eA")),n=S(t,0,1).getBoundingClientRect(),r=S(t,1,2).getBoundingClientRect();return E(e),!(!n||n.left==n.right)&&(gt=r.right-n.right<3)}var vt,wt=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),s=o.indexOf("\r");-1!=s?(n.push(o.slice(0,s)),t+=s+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},xt=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(vt){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(vt){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},jt="oncopy"in(vt=T("div"))||(vt.setAttribute("oncopy","return;"),"function"==typeof vt.oncopy),kt=null,St={},Ct={};function Et(e){if("string"==typeof e&&Ct.hasOwnProperty(e))e=Ct[e];else if(e&&"string"==typeof e.name&&Ct.hasOwnProperty(e.name)){var t=Ct[e.name];"string"==typeof t&&(t={name:t}),(e=J(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Et("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Et("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Ot(e,t){t=Et(t);var n=St[t.name];if(!n)return Ot(e,"text/plain");var r=n(e,t);if(Tt.hasOwnProperty(t.name)){var i=Tt[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var s in t.modeProps)r[s]=t.modeProps[s];return r}var Tt={};function At(e,t){var n=Tt.hasOwnProperty(e)?Tt[e]:Tt[e]={};D(t,n)}function Mt(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function Pt(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 Lt(e,t,n){return!e.startState||e.startState(t,n)}var Rt=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};Rt.prototype.eol=function(){return this.pos>=this.string.length},Rt.prototype.sol=function(){return this.pos==this.lineStart},Rt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Rt.prototype.next=function(){if(this.post},Rt.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Rt.prototype.skipToEnd=function(){this.pos=this.string.length},Rt.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Rt.prototype.backUp=function(e){this.pos-=e},Rt.prototype.column=function(){return this.lastColumnPos0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e},o=this.string.substr(this.pos,e.length);if(i(o)==i(e))return!1!==t&&(this.pos+=e.length),!0},Rt.prototype.current=function(){return this.string.slice(this.start,this.pos)},Rt.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Rt.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Rt.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var It=function(e,t){this.state=e,this.lookAhead=t},Nt=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 Dt(e,t,n,r){var i=[e.state.modeGen],o={};Kt(e,t.text,e.doc.mode,n,function(e,t){return i.push(e,t)},o,r);for(var s=n.state,a=function(r){n.baseTokens=i;var a=e.state.overlays[r],l=1,u=0;n.state=!0,Kt(e,t.text,a.mode,n,function(e,t){for(var n=l;ue&&i.splice(l,1,e,i[l+1],r),l+=2,u=Math.min(e,r)}if(t)if(a.opaque)i.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;ne.options.maxHighlightLength&&Mt(e.doc.mode,r.state),o=Dt(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.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 Bt(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new Nt(r,!0,t);var o=function(e,t,n){for(var r,i,o=e.doc,s=n?-1:t-(e.doc.mode.innerMode?1e3:100),a=t;a>s;--a){if(a<=o.first)return o.first;var l=le(o,a-1),u=l.stateAfter;if(u&&(!n||a+(u instanceof It?u.lookAhead:0)<=o.modeFrontier))return a;var c=z(l.text,null,e.options.tabSize);(null==i||r>c)&&(i=a-1,r=c)}return i}(e,t,n),s=o>r.first&&le(r,o-1).stateAfter,a=s?Nt.fromSaved(r,s,o):new Nt(r,Lt(r.mode),o);return r.iter(o,t,function(n){Ft(e,n.text,a);var r=a.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&rt.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}Nt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},Nt.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}},Nt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Nt.fromSaved=function(e,t,n){return t instanceof It?new Nt(e,Mt(e.mode,t.state),n,t.lookAhead):new Nt(e,Mt(e.mode,t),n)},Nt.prototype.save=function(e){var t=!1!==e?Mt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new It(t,this.maxLookAhead):t};var Ht=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function qt(e,t,n,r){var i,o=e.doc,s=o.mode;t=je(o,t);var a,l=le(o,t.line),u=Bt(e,t.line,n),c=new Rt(l.text,e.options.tabSize,u);for(r&&(a=[]);(r||c.pose.options.maxHighlightLength?(a=!1,s&&Ft(e,t,r,d.pos),d.pos=t.length,l=null):l=Vt(Ut(n,d,r.state,f),o),f){var h=f[0].name;h&&(l="m-"+(l?h+" "+l:h))}if(!a||c!=l){for(;u1&&!/ /.test(e))return e;for(var n=t,r="",i=0;iu&&d.from<=u);f++);if(d.to>=c)return e(n,r,i,o,s,a,l);e(n,r.slice(0,d.to-u),i,o,null,a,l),o=null,r=r.slice(d.to-u),u=d.to}}}function nn(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function rn(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var s,a,l,u,c,d,f,h=i.length,p=0,m=1,g="",_=0;;){if(_==p){l=u=c=d=a="",f=null,_=1/0;for(var b=[],y=void 0,v=0;vp||x.collapsed&&w.to==p&&w.from==p)?(null!=w.to&&w.to!=p&&_>w.to&&(_=w.to,u=""),x.className&&(l+=" "+x.className),x.css&&(a=(a?a+";":"")+x.css),x.startStyle&&w.from==p&&(c+=" "+x.startStyle),x.endStyle&&w.to==_&&(y||(y=[])).push(x.endStyle,w.to),x.title&&!d&&(d=x.title),x.collapsed&&(!f||Ne(f.marker,x)<0)&&(f=w)):w.from>p&&_>w.from&&(_=w.from)}if(y)for(var j=0;j=h)break;for(var S=Math.min(h,_);;){if(g){var C=p+g.length;if(!f){var E=C>S?g.slice(0,S-p):g;t.addToken(t,E,s?s+l:l,c,p+E.length==_?u:"",d,a)}if(C>=S){g=g.slice(S-p),p=S;break}p=C,c=""}g=i.slice(o,o=n[m++]),s=Zt(n[m++],t.cm.options)}}else for(var O=1;On)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Mn(e,t,n,r){return Rn(e,Ln(e,t),n,r)}function Pn(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&t2&&o.push((l.bottom+u.top)/2-n.top)}}o.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function(e,t,n,r){var i,o=Dn(t.map,n,r),l=o.node,u=o.start,c=o.end,d=o.collapse;if(3==l.nodeType){for(var f=0;f<4;f++){for(;u&&ie(t.line.text.charAt(o.coverStart+u));)--u;for(;o.coverStart+c1}(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,i))}else{var h;u>0&&(d=r="right"),i=e.options.lineWrapping&&(h=l.getClientRects()).length>1?h["right"==r?h.length-1:0]:l.getBoundingClientRect()}if(s&&a<9&&!u&&(!i||!i.left&&!i.right)){var p=l.parentNode.getClientRects()[0];i=p?{left:p.left,right:p.left+rr(e.display),top:p.top,bottom:p.bottom}:Nn}for(var m=i.top-t.rect.top,g=i.bottom-t.rect.top,_=(m+g)/2,b=t.view.measure.heights,y=0;yt)&&(i=(o=l-a)-1,t>=l&&(s="right")),null!=i){if(r=e[u+2],a==l&&n==(r.insertLeft?"left":"right")&&(s=n),"left"==n&&0==i)for(;u&&e[u-2]==e[u-3]&&e[u-1].insertLeft;)r=e[2+(u-=3)],s="left";if("right"==n&&i==l-a)for(;u=0&&(n=e[i]).left==n.right;i--);return n}function Bn(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t=r.text.length?(l=r.text.length,u="before"):l<=0&&(l=0,u="after"),!a)return s("before"==u?l-1:l,"before"==u);function c(e,t,n){var r=a[t],i=1==r.level;return s(n?e-1:e,i!=n)}var d=Ze(a,l,u),f=$e,h=c(l,d,"before"==u);return null!=f&&(h.other=c(l,f,"before"!=u)),h}function Yn(e,t){var n=0;t=je(e.doc,t),e.options.lineWrapping||(n=rr(e.display)*t.ch);var r=le(e.doc,t.line),i=Xe(r)+kn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function $n(e,t,n,r,i){var o=ge(e,t,n);return o.xRel=i,r&&(o.outside=!0),o}function Zn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return $n(r.first,0,null,!0,-1);var i=he(r,n),o=r.first+r.size-1;if(i>o)return $n(r.first+r.size-1,le(r,o).text.length,null,!0,1);t<0&&(t=0);for(var s=le(r,i);;){var a=tr(e,s,i,t,n),l=Fe(s,a.ch+(a.xRel>0?1:0));if(!l)return a;var u=l.find(1);if(u.line==i)return u;s=le(r,i=u.line)}}function Jn(e,t,n,r){r-=qn(t);var i=t.text.length,o=se(function(t){return Rn(e,n,t-1).bottom<=r},i,0);return i=se(function(t){return Rn(e,n,t).top>r},o,i),{begin:o,end:i}}function Qn(e,t,n,r){n||(n=Ln(e,t));var i=Vn(e,t,Rn(e,n,r),"line").top;return Jn(e,t,n,i)}function er(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function tr(e,t,n,r,i){i-=Xe(t);var o=Ln(e,t),s=qn(t),a=0,l=t.text.length,u=!0,c=Qe(t,e.doc.direction);if(c){var d=(e.options.lineWrapping?function(e,t,n,r,i,o,s){var a=Jn(e,t,r,s),l=a.begin,u=a.end;/\s/.test(t.text.charAt(u-1))&&u--;for(var c=null,d=null,f=0;f=u||h.to<=l)){var p=1!=h.level,m=Rn(e,r,p?Math.min(u,h.to)-1:Math.max(l,h.from)).right,g=mg)&&(c=h,d=g)}}return c||(c=i[i.length-1]),c.fromu&&(c={from:c.from,to:u,level:c.level}),c}:function(e,t,n,r,i,o,s){var a=se(function(a){var l=i[a],u=1!=l.level;return er(Gn(e,ge(n,u?l.to:l.from,u?"before":"after"),"line",t,r),o,s,!0)},0,i.length-1),l=i[a];if(a>0){var u=1!=l.level,c=Gn(e,ge(n,u?l.from:l.to,u?"after":"before"),"line",t,r);er(c,o,s,!0)&&c.top>s&&(l=i[a-1])}return l})(e,t,n,o,c,r,i);u=1!=d.level,a=u?d.from:d.to-1,l=u?d.to:d.from-1}var f,h,p=null,m=null,g=se(function(t){var n=Rn(e,o,t);return n.top+=s,n.bottom+=s,!!er(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(p=t,m=n),!0)},a,l),_=!1;if(m){var b=r-m.left=v.bottom}return g=oe(t.text,g,1),$n(n,g,h,_,r-f)}function nr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==In){In=T("pre");for(var t=0;t<49;++t)In.appendChild(document.createTextNode("x")),In.appendChild(T("br"));In.appendChild(document.createTextNode("x"))}O(e.measure,In);var n=In.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),E(e.measure),n||1}function rr(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=T("span","xxxxxxxxxx"),n=T("pre",[t]);O(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function ir(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,s=0;o;o=o.nextSibling,++s)n[e.options.gutters[s]]=o.offsetLeft+o.clientLeft+i,r[e.options.gutters[s]]=o.clientWidth;return{fixedPos:or(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function or(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function sr(e){var t=nr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/rr(e.display)-3);return function(i){if(Ve(e.doc,i))return 0;var o=0;if(i.widgets)for(var s=0;s=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||a.to().linet||t==n&&s.to==t)&&(r(Math.max(s.from,t),Math.min(s.to,n),1==s.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}(m,n||0,null==r?f:r,function(e,t,i,d){var g="ltr"==i,_=h(e,g?"left":"right"),b=h(t-1,g?"right":"left"),y=null==n&&0==e,v=null==r&&t==f,w=0==d,x=!m||d==m.length-1;if(b.top-_.top<=3){var j=(u?y:v)&&w,k=(u?v:y)&&x,S=j?a:(g?_:b).left,C=k?l:(g?b:_).right;c(S,_.top,C-S,_.bottom)}else{var E,O,T,A;g?(E=u&&y&&w?a:_.left,O=u?l:p(e,i,"before"),T=u?a:p(t,i,"after"),A=u&&v&&x?l:b.right):(E=u?p(e,i,"before"):a,O=!u&&y&&w?l:_.right,T=!u&&v&&x?a:b.left,A=u?p(t,i,"after"):l),c(E,_.top,O-E,_.bottom),_.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 gr(e){e.state.focused||(e.display.input.focus(),br(e))}function _r(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,yr(e))},100)}function br(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(it(e,"focus",e,t),e.state.focused=!0,L(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()),mr(e))}function yr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(it(e,"blur",e,t),e.state.focused=!1,C(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function vr(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r.005||c<-.005)&&(de(i.line,o),wr(i.line),i.rest))for(var d=0;d=s&&(o=he(t,Xe(le(t,l))-e.wrapper.clientHeight),s=l)}return{from:o,to:Math.max(s,o+1)}}function jr(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=or(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",s=0;so&&(t.bottom=t.top+o);var a=e.doc.height+Sn(n),l=t.topa-r;if(t.topi+o){var c=Math.min(t.top,(u?a:t.bottom)-o);c!=i&&(s.scrollTop=c)}var d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,f=On(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),h=t.right-t.left>f;return h&&(t.right=t.left+f),t.left<10?s.scrollLeft=0:t.leftf+d-3&&(s.scrollLeft=t.right+(h?0:10)-f),s}function Cr(e,t){null!=t&&(Tr(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Er(e){Tr(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Or(e,t,n){null==t&&null==n||Tr(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function Tr(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=Yn(e,t.from),r=Yn(e,t.to);Ar(e,n,r,t.margin)}}function Ar(e,t,n,r){var i=Sr(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});Or(e,i.scrollLeft,i.scrollTop)}function Mr(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||li(e,{top:t}),Pr(e,t,!0),n&&li(e),ri(e,100))}function Pr(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 Lr(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,jr(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Rr(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Sn(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+En(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var Ir=function(e,t,n){this.cm=n;var r=this.vert=T("div",[T("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=T("div",[T("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,e(r),e(i),tt(r,"scroll",function(){r.clientHeight&&t(r.scrollTop,"vertical")}),tt(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,s&&a<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ir.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 i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"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 o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"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}},Ir.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ir.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ir.prototype.zeroWidthHack=function(){var e=b&&!h?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new B,this.disableVert=new B},Ir.prototype.enableZeroWidthBar=function(e,t,n){e.style.pointerEvents="auto",t.set(1e3,function r(){var i=e.getBoundingClientRect(),o="vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1);o!=e?e.style.pointerEvents="none":t.set(1e3,r)})},Ir.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Nr=function(){};function Dr(e,t){t||(t=Rr(e));var n=e.display.barWidth,r=e.display.barHeight;zr(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&vr(e),zr(e,Rr(e)),n=e.display.barWidth,r=e.display.barHeight}function zr(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=""}Nr.prototype.update=function(){return{bottom:0,right:0}},Nr.prototype.setScrollLeft=function(){},Nr.prototype.setScrollTop=function(){},Nr.prototype.clear=function(){};var Br={native:Ir,null:Nr};function Fr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&C(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Br[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),tt(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?Lr(e,t):Mr(e,t)},e),e.display.scrollbars.addClass&&L(e.display.wrapper,e.display.scrollbars.addClass)}var Wr=0;function Ur(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Wr},t=e.curOp,an?an.ops.push(t):t.ownsGroup=an={ops:[t],delayedCallbacks:[]}}function Hr(e){var t=e.curOp;!function(e,t){var n=e.ownsGroup;if(n)try{!function(e){var t=e.delayedCallbacks,n=0;do{for(;n=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new oi(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Vr(e){var t=e.cm,n=t.display;e.updatedDisplay&&vr(t),e.barMeasure=Rr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Mn(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+En(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-On(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Kr(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft1&&(s=!0)),null!=u.scrollLeft&&(Lr(e,u.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(s=!0)),!s)break}return i}(t,je(r,e.scrollToPos.from),je(r,e.scrollToPos.to),e.scrollToPos.margin);!function(e,t){if(!ot(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!p){var o=T("div","\u200b",null,"position: absolute;\n top: "+(t.top-n.viewOffset-kn(e.display))+"px;\n height: "+(t.bottom-t.top+En(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}(t,i)}var o=e.maybeHiddenMarkers,s=e.maybeUnhiddenMarkers;if(o)for(var a=0;at)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Ce&&He(e.doc,t)i.viewFrom?ei(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)ei(e);else if(t<=i.viewFrom){var o=ti(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):ei(e)}else if(n>=i.viewTo){var s=ti(e,t,t,-1);s?(i.view=i.view.slice(0,s.index),i.viewTo=s.lineN):ei(e)}else{var a=ti(e,t,t,-1),l=ti(e,n,n+r,1);a&&l?(i.view=i.view.slice(0,a.index).concat(sn(e,a.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):ei(e)}var u=i.externalMeasured;u&&(n=i.lineN&&t=r.viewTo)){var o=r.view[ur(e,t)];if(null!=o.node){var s=o.changes||(o.changes=[]);-1==F(s,n)&&s.push(n)}}}function ei(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function ti(e,t,n,r){var i,o=ur(e,t),s=e.display.view;if(!Ce||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var a=e.display.viewFrom,l=0;l0){if(o==s.length-1)return null;i=a+s[o].size-t,o++}else i=a-t;t+=i,n+=i}for(;He(e.doc,n)!=n;){if(o==(r<0?0:s.length-1))return null;n+=r*s[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function ni(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo)){var n=+new Date+e.options.workTime,r=Bt(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(r.line>=e.display.viewFrom){var s=o.styles,a=o.text.length>e.options.maxHighlightLength?Mt(t.mode,r.state):null,l=Dt(e,o,r,!0);a&&(r.state=a),o.styles=l.styles;var u=o.styleClasses,c=l.classes;c?o.styleClasses=c:u&&(o.styleClasses=null);for(var d=!s||s.length!=o.styles.length||u!=c&&(!u||!c||u.bgClass!=c.bgClass||u.textClass!=c.textClass),f=0;!d&&fn)return ri(e,e.options.workDelay),!0}),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Gr(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==ni(e))return!1;kr(e)&&(ei(e),t.dims=ir(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),s=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFroms&&n.viewTo-s<20&&(s=Math.min(i,n.viewTo)),Ce&&(o=He(e.doc,o),s=qe(e.doc,s));var a=o!=n.viewFrom||s!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;!function(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=sn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=sn(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,ur(e,n)))),r.viewTo=n}(e,o,s),n.viewOffset=Xe(le(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var u=ni(e);if(!a&&0==u&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=function(e){if(e.hasFocus())return null;var t=P();if(!t||!M(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&M(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 u>4&&(n.lineDiv.style.display="none"),function(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,s=o.firstChild;function a(t){var n=t.nextSibling;return l&&b&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var u=r.view,c=r.viewFrom,d=0;d-1&&(h=!1),dn(e,f,c,n)),h&&(E(f.lineNumber),f.lineNumber.appendChild(document.createTextNode(me(e.options,c)))),s=f.node.nextSibling}else{var p=bn(e,f,c,n);o.insertBefore(p,s)}c+=f.size}for(;s;)s=a(s)}(e,n.updateLineNumbers,t.dims),u>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,function(e){if(e&&e.activeElt&&e.activeElt!=P()&&(e.activeElt.focus(),e.anchorNode&&M(document.body,e.anchorNode)&&M(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)}}(c),E(n.cursorDiv),E(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,a&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ri(e,400)),n.updateLineNumbers=null,!0}function ai(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=On(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Sn(e.display)-Tn(e),n.top)}),t.visible=xr(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&si(e,t);r=!1){vr(e);var i=Rr(e);cr(e),Dr(e,i),ci(e,i),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 li(e,t){var n=new oi(e,t);if(si(e,n)){vr(e),ai(e,n);var r=Rr(e);cr(e),Dr(e,r),ci(e,r),n.finish()}}function ui(e){var t=e.display.gutters.offsetWidth;e.display.sizer.style.marginLeft=t+"px"}function ci(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+En(e)+"px"}function di(e){var t=e.display.gutters,n=e.options.gutters;E(t);for(var r=0;r-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}oi.prototype.signal=function(e,t){at(e,t)&&this.events.push(arguments)},oi.prototype.finish=function(){for(var e=0;ea.clientWidth,c=a.scrollHeight>a.clientHeight;if(i&&u||o&&c){if(o&&b&&l)e:for(var f=t.target,h=s.view;f!=a;f=f.parentNode)for(var p=0;p=0&&_e(e,r.to())<=0)return n}return-1};var yi=function(e,t){this.anchor=e,this.head=t};function vi(e,t){var n=e[t];e.sort(function(e,t){return _e(e.from(),t.from())}),t=F(e,n);for(var r=1;r=0){var s=we(o.from(),i.from()),a=ve(o.to(),i.to()),l=o.empty()?i.from()==i.head:o.from()==o.head;r<=t&&--t,e.splice(--r,2,new yi(l?a:s,l?s:a))}}return new bi(e,t)}function wi(e,t){return new bi([new yi(e,t||e)],0)}function xi(e){return e.text?ge(e.from.line+e.text.length-1,Y(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function ji(e,t){if(_e(e,t.from)<0)return e;if(_e(e,t.to)<=0)return xi(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+=xi(t).ch-t.to.ch),ge(n,r)}function ki(e,t){for(var n=[],r=0;r1&&e.remove(a.line+1,p-1),e.insert(a.line+1,_)}un(e,"change",e,t)}function Ai(e,t,n){!function e(r,i,o){if(r.linked)for(var s=0;sa-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=function(e,t){return t?(Ii(e.done),Y(e.done)):e.done.length&&!Y(e.done).ranges?Y(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),Y(e.done)):void 0}(i,i.lastOp==r)))s=Y(o.changes),0==_e(t.from,t.to)&&0==_e(t.from,s.to)?s.to=xi(t):o.changes.push(Ri(e,t));else{var l=Y(i.done);for(l&&l.ranges||zi(e.sel,i.done),o={changes:[Ri(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=a,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,s||it(e,"historyAdded")}function Di(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||function(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,Y(i.done),t))?i.done[i.done.length-1]=t:zi(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Ii(i.undone)}function zi(e,t){var n=Y(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Bi(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o})}function Fi(e){if(!e)return null;for(var t,n=0;n-1&&(Y(a)[d]=u[d],delete u[d])}}}return r}function Hi(e,t,n,r){if(r){var i=e.anchor;if(n){var o=_e(t,i)<0;o!=_e(n,i)<0?(i=t,t=n):o!=_e(t,n)<0&&(t=n)}return new yi(i,t)}return new yi(n||t,t)}function qi(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Yi(e,new bi([Hi(e.sel.primary(),t,n,i)],0),r)}function Vi(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o=t.ch:a.to>t.ch))){if(i&&(it(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--s;continue}break}if(!l.atomic)continue;if(n){var u=l.find(r<0?1:-1),c=void 0;if((r<0?l.inclusiveRight:l.inclusiveLeft)&&(u=no(e,u,-r,u&&u.line==t.line?o:null)),u&&u.line==t.line&&(c=_e(u,n))&&(r<0?c<0:c>0))return eo(e,u,t,r,i)}var d=l.find(r<0?-1:1);return(r<0?l.inclusiveLeft:l.inclusiveRight)&&(d=no(e,d,r,d.line==t.line?o:null)),d?eo(e,d,t,r,i):null}}return t}function to(e,t,n,r,i){var o=r||1,s=eo(e,t,n,o,i)||!i&&eo(e,t,n,o,!0)||eo(e,t,n,-o,i)||!i&&eo(e,t,n,-o,!0);return s||(e.cantEdit=!0,ge(e.first,0))}function no(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?je(e,ge(t.line-1)):null:n>0&&t.ch==(r||le(e,t.line)).text.length?t.line0)){var c=[l,1],d=_e(u.from,a.from),f=_e(u.to,a.to);(d<0||!s.inclusiveLeft&&!d)&&c.push({from:u.from,to:a.from}),(f>0||!s.inclusiveRight&&!f)&&c.push({from:a.to,to:u.to}),i.splice.apply(i,c),l+=c.length-3}}return i}(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)so(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else so(e,t)}}function so(e,t){if(1!=t.text.length||""!=t.text[0]||0!=_e(t.from,t.to)){var n=ki(e,t);Ni(e,t,n,e.cm?e.cm.curOp.id:NaN),uo(e,t,n,Ae(e,t));var r=[];Ai(e,function(e,n){n||-1!=F(r,e.history)||(po(e.history,t),r.push(e.history)),uo(e,t,null,Ae(e,t))})}}function ao(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,s=e.sel,a="undo"==t?o.done:o.undone,l="undo"==t?o.undone:o.done,u=0;u=0;--h){var p=f(h);if(p)return p.v}}}}function lo(e,t){if(0!=t&&(e.first+=t,e.sel=new bi($(e.sel.ranges,function(e){return new yi(ge(e.anchor.line+t,e.anchor.ch),ge(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){Jr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:ge(o,le(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=ue(e,t.from,t.to),n||(n=ki(e,t)),e.cm?function(e,t,n){var r=e.doc,i=e.display,o=t.from,s=t.to,a=!1,l=o.line;e.options.lineWrapping||(l=fe(Ue(le(r,o.line))),r.iter(l,s.line+1,function(e){if(e==i.maxLine)return a=!0,!0})),r.sel.contains(t.from,t.to)>-1&&st(e),Ti(r,t,n,sr(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,function(e){var t=Ge(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,a=!1)}),a&&(e.curOp.updateMaxLine=!0)),function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var i=le(e,r).stateAfter;if(i&&(!(i instanceof It)||r+i.lookAhead1||!(this.children[0]instanceof go))){var a=[];this.collapse(a),this.children=[new go(a)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var s=i.lines.length%25+25,a=s;a10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r0||0==s&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=A("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(We(e,t.line,t,n,o)||t.line!=n.line&&We(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ce=!0}o.addToHistory&&Ni(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var a,l=t.line,u=e.cm;if(e.iter(l,n.line+1,function(e){u&&o.collapsed&&!u.options.lineWrapping&&Ue(e)==u.display.maxLine&&(a=!0),o.collapsed&&l!=t.line&&de(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new Ee(o,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l}),o.collapsed&&e.iter(t.line,n.line+1,function(t){Ve(e,t)&&de(t,0)}),o.clearOnEnter&&tt(o,"beforeCursorEnter",function(){return o.clear()}),o.readOnly&&(Se=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++vo,o.atomic=!0),u){if(a&&(u.curOp.updateMaxLine=!0),o.collapsed)Jr(u,t.line,n.line+1);else if(o.className||o.title||o.startStyle||o.endStyle||o.css)for(var c=t.line;c<=n.line;c++)Qr(u,c,"text");o.atomic&&Ji(u.doc),un(u,"markerAdded",u,o)}return o}wo.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Ur(e),at(this,"clear")){var n=this.find();n&&un(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;oe.display.maxLineLength&&(e.display.maxLine=u,e.display.maxLineLength=c,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Jr(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Ji(e.doc)),e&&un(e,"markerCleared",e,this,r,i),t&&Hr(e),this.parent&&this.parent.clear()}},wo.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i=0;l--)oo(this,r[l]);a?Gi(this,a):this.cm&&Er(this.cm)}),undo:Zr(function(){ao(this,"undo")}),redo:Zr(function(){ao(this,"redo")}),undoSelection:Zr(function(){ao(this,"undo",!0)}),redoSelection:Zr(function(){ao(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(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=je(this,e),t=je(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var s=o.markedSpans;if(s)for(var a=0;a=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i}),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-=o,++n}),je(this,ge(n,t))},indexFromPos:function(e){var t=(e=je(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 d;if(t.state.draggingText&&!t.state.draggingText.copy&&(d=t.listSelections()),$i(t.doc,wi(n,n)),d)for(var f=0;f=0;t--)co(e.doc,"",r[t].from,r[t].to,"+delete");Er(e)})}function Go(e,t,n){var r=oe(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Yo(e,t,n){var r=Go(e,t.ch,n);return null==r?null:new ge(t.line,r,n<0?"after":"before")}function $o(e,t,n,r,i){if(e){var o=Qe(n,t.doc.direction);if(o){var s,a=i<0?Y(o):o[0],l=i<0==(1==a.level),u=l?"after":"before";if(a.level>0||"rtl"==t.doc.direction){var c=Ln(t,n);s=i<0?n.text.length-1:0;var d=Rn(t,c,s).top;s=se(function(e){return Rn(t,c,e).top==d},i<0==(1==a.level)?a.from:a.to-1,s),"before"==u&&(s=Go(n,s,1))}else s=i<0?a.to:a.from;return new ge(r,s,u)}}return new ge(r,i<0?n.text.length:0,i<0?"before":"after")}Bo.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"},Bo.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"},Bo.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"},Bo.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"]},Bo.default=b?Bo.macDefault:Bo.pcDefault;var Zo={selectAll:ro,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),H)},killLine:function(e){return Xo(e,function(t){if(t.empty()){var n=le(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)i=new ge(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),ge(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var s=le(e.doc,i.line-1).text;s&&(i=new ge(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+s.charAt(s.length-1),ge(i.line-1,s.length-1),i,"+transpose"))}n.push(new yi(i,i))}e.setSelections(n)})},newlineAndIndent:function(e){return Gr(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&&(_e((i=u.ranges[i]).from(),t)<0||t.xRel>0)&&(_e(i.to(),t)>0||t.xRel<0)?function(e,t,n,r){var i=e.display,o=!1,u=Yr(e,function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,rt(i.wrapper.ownerDocument,"mouseup",u),rt(i.wrapper.ownerDocument,"mousemove",c),rt(i.scroller,"dragstart",d),rt(i.scroller,"drop",u),o||(ut(t),r.addNew||qi(e.doc,n,null,null,r.extend),l||s&&9==a?setTimeout(function(){i.wrapper.ownerDocument.body.focus(),i.input.focus()},20):i.input.focus())}),c=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},d=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=u,u.copy=!r.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),tt(i.wrapper.ownerDocument,"mouseup",u),tt(i.wrapper.ownerDocument,"mousemove",c),tt(i.scroller,"dragstart",d),tt(i.scroller,"drop",u),_r(e),setTimeout(function(){return i.input.focus()},20)}(e,r,t,o):function(e,t,n,r){var i=e.display,o=e.doc;ut(t);var s,a,l=o.sel,u=l.ranges;if(r.addNew&&!r.extend?(a=o.sel.contains(n),s=a>-1?u[a]:new yi(n,n)):(s=o.sel.primary(),a=o.sel.primIndex),"rectangle"==r.unit)r.addNew||(s=new yi(n,n)),n=lr(e,t,!0,!0),a=-1;else{var c=hs(e,n,r.unit);s=r.extend?Hi(s,c.anchor,c.head,r.extend):c}r.addNew?-1==a?(a=u.length,Yi(o,vi(u.concat([s]),a),{scroll:!1,origin:"*mouse"})):u.length>1&&u[a].empty()&&"char"==r.unit&&!r.extend?(Yi(o,vi(u.slice(0,a).concat(u.slice(a+1)),0),{scroll:!1,origin:"*mouse"}),l=o.sel):Ki(o,a,s,q):(a=0,Yi(o,new bi([s],0),q),l=o.sel);var d=n;function f(t){if(0!=_e(d,t))if(d=t,"rectangle"==r.unit){for(var i=[],u=e.options.tabSize,c=z(le(o,n.line).text,n.ch,u),f=z(le(o,t.line).text,t.ch,u),h=Math.min(c,f),p=Math.max(c,f),m=Math.min(n.line,t.line),g=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=g;m++){var _=le(o,m).text,b=K(_,h,u);h==p?i.push(new yi(ge(m,b),ge(m,b))):_.length>b&&i.push(new yi(ge(m,b),ge(m,K(_,p,u))))}i.length||i.push(new yi(n,n)),Yi(o,vi(l.ranges.slice(0,a).concat(i),a),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var y,v=s,w=hs(e,t,r.unit),x=v.anchor;_e(w.anchor,x)>0?(y=w.head,x=we(v.from(),w.anchor)):(y=w.anchor,x=ve(v.to(),w.head));var j=l.ranges.slice(0);j[a]=function(e,t){var n=t.anchor,r=t.head,i=le(e.doc,n.line);if(0==_e(n,r)&&n.sticky==r.sticky)return t;var o=Qe(i);if(!o)return t;var s=Ze(o,n.ch,n.sticky),a=o[s];if(a.from!=n.ch&&a.to!=n.ch)return t;var l,u=s+(a.from==n.ch==(1!=a.level)?0:1);if(0==u||u==o.length)return t;if(r.line!=n.line)l=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var c=Ze(o,r.ch,r.sticky),d=c-s||(r.ch-n.ch)*(1==a.level?-1:1);l=c==u-1||c==u?d<0:d>0}var f=o[u+(l?-1:0)],h=l==(1==f.level),p=h?f.from:f.to,m=h?"after":"before";return n.ch==p&&n.sticky==m?t:new yi(new ge(n.line,p,m),r)}(e,new yi(je(o,x),y)),Yi(o,vi(j,a),q)}}var h=i.wrapper.getBoundingClientRect(),p=0;function m(t){e.state.selectingText=!1,p=1/0,ut(t),i.input.focus(),rt(i.wrapper.ownerDocument,"mousemove",g),rt(i.wrapper.ownerDocument,"mouseup",_),o.history.lastSelOrigin=null}var g=Yr(e,function(t){0!==t.buttons&&pt(t)?function t(n){var s=++p,a=lr(e,n,!0,"rectangle"==r.unit);if(a)if(0!=_e(a,d)){e.curOp.focus=P(),f(a);var l=xr(i,o);(a.line>=l.to||a.lineh.bottom?20:0;u&&setTimeout(Yr(e,function(){p==s&&(i.scroller.scrollTop+=u,t(n))}),50)}}(t):m(t)}),_=Yr(e,m);e.state.selectingText=_,tt(i.wrapper.ownerDocument,"mousemove",g),tt(i.wrapper.ownerDocument,"mouseup",_)}(e,r,t,o)}(t,i,o,e):ht(e)==n.scroller&&ut(e):2==r?(i&&qi(t.doc,i),setTimeout(function(){return n.input.focus()},20)):3==r&&(j?gs(t,e):_r(t)))}}}function hs(e,t,n){if("char"==n)return new yi(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new yi(ge(t.line,0),je(e.doc,ge(t.line+1,0)));var r=n(e,t);return new yi(r.from,r.to)}function ps(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(t){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&ut(t);var s=e.display,a=s.lineDiv.getBoundingClientRect();if(o>a.bottom||!at(e,n))return dt(t);o-=a.top-s.viewOffset;for(var l=0;l=i){var c=he(e.doc,o),d=e.options.gutters[l];return it(e,n,e,c,d,t),dt(t)}}}function ms(e,t){return ps(e,t,"gutterClick",!0)}function gs(e,t){jn(e.display,t)||_s(e,t)||ot(e,t,"contextmenu")||e.display.input.onContextMenu(t)}function _s(e,t){return!!at(e,"gutterContextMenu")&&ps(e,t,"gutterContextMenu",!1)}function bs(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Wn(e)}ds.prototype.compare=function(e,t,n){return this.time+400>e&&0==_e(t,this.pos)&&n==this.button};var ys={toString:function(){return"CodeMirror.Init"}},vs={},ws={};function xs(e){di(e),Jr(e),jr(e)}function js(e,t,n){var r=n&&n!=ys;if(!t!=!r){var i=e.display.dragFunctions,o=t?tt:rt;o(e.display.scroller,"dragstart",i.start),o(e.display.scroller,"dragenter",i.enter),o(e.display.scroller,"dragover",i.over),o(e.display.scroller,"dragleave",i.leave),o(e.display.scroller,"drop",i.drop)}}function ks(e){e.options.lineWrapping?(L(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(C(e.display.wrapper,"CodeMirror-wrap"),Ye(e)),ar(e),Jr(e),Wn(e),setTimeout(function(){return Dr(e)},100)}function Ss(e,t){var n=this;if(!(this instanceof Ss))return new Ss(e,t);this.options=t=t?D(t):{},D(vs,t,!1),fi(t);var r=t.value;"string"==typeof r?r=new Eo(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Ss.inputStyles[t.inputStyle](this),o=this.display=new ae(e,r,i);for(var u in o.wrapper.CodeMirror=this,di(this),bs(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Fr(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 B,keySeq:null,specialChars:null},t.autofocus&&!_&&o.input.focus(),s&&a<11&&setTimeout(function(){return n.display.input.reset(!0)},20),function(e){var t=e.display;tt(t.scroller,"mousedown",Yr(e,fs)),tt(t.scroller,"dblclick",s&&a<11?Yr(e,function(t){if(!ot(e,t)){var n=lr(e,t);if(n&&!ms(e,t)&&!jn(e.display,t)){ut(t);var r=e.findWordAt(n);qi(e.doc,r.anchor,r.head)}}}):function(t){return ot(e,t)||ut(t)}),j||tt(t.scroller,"contextmenu",function(t){return gs(e,t)});var n,r={end:0};function i(){t.activeTouch&&(n=setTimeout(function(){return t.activeTouch=null},1e3),(r=t.activeTouch).end=+new Date)}function o(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}tt(t.scroller,"touchstart",function(i){if(!ot(e,i)&&!function(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(i)&&!ms(e,i)){t.input.ensurePolled(),clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}}),tt(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),tt(t.scroller,"touchend",function(n){var r=t.activeTouch;if(r&&!jn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var s,a=e.coordsChar(t.activeTouch,"page");s=!r.prev||o(r,r.prev)?new yi(a,a):!r.prev.prev||o(r,r.prev.prev)?e.findWordAt(a):new yi(ge(a.line,0),je(e.doc,ge(a.line+1,0))),e.setSelection(s.anchor,s.head),e.focus(),ut(n)}i()}),tt(t.scroller,"touchcancel",i),tt(t.scroller,"scroll",function(){t.scroller.clientHeight&&(Mr(e,t.scroller.scrollTop),Lr(e,t.scroller.scrollLeft,!0),it(e,"scroll",e))}),tt(t.scroller,"mousewheel",function(t){return _i(e,t)}),tt(t.scroller,"DOMMouseScroll",function(t){return _i(e,t)}),tt(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(t){ot(e,t)||ft(t)},over:function(t){ot(e,t)||(function(e,t){var n=lr(e,t);if(n){var r=document.createDocumentFragment();fr(e,n,r),e.display.dragCursor||(e.display.dragCursor=T("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),O(e.display.dragCursor,r)}}(e,t),ft(t))},start:function(t){return function(e,t){if(s&&(!e.state.draggingText||+new Date-Oo<100))ft(t);else if(!ot(e,t)&&!jn(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!f)){var n=T("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:Yr(e,To),leave:function(t){ot(e,t)||Ao(e)}};var l=t.input.getField();tt(l,"keyup",function(t){return as.call(e,t)}),tt(l,"keydown",Yr(e,ss)),tt(l,"keypress",Yr(e,ls)),tt(l,"focus",function(t){return br(e,t)}),tt(l,"blur",function(t){return yr(e,t)})}(this),Lo(),Ur(this),this.curOp.forceUpdate=!0,Mi(this,r),t.autofocus&&!_||this.hasFocus()?setTimeout(N(br,this),20):yr(this),ws)ws.hasOwnProperty(u)&&ws[u](n,t[u],ys);kr(this),t.finishInit&&t.finishInit(this);for(var c=0;c150)){if(!r)return;n="prev"}}else u=0,n="not";"prev"==n?u=t>o.first?z(le(o,t-1).text,null,s):0:"add"==n?u=l+e.options.indentUnit:"subtract"==n?u=l-e.options.indentUnit:"number"==typeof n&&(u=l+n),u=Math.max(0,u);var d="",f=0;if(e.options.indentWithTabs)for(var h=Math.floor(u/s);h;--h)f+=s,d+="\t";if(f1)if(Os&&Os.text.join("\n")==t){if(r.ranges.length%Os.text.length==0){u=[];for(var c=0;c=0;d--){var f=r.ranges[d],h=f.from(),p=f.to();f.empty()&&(n&&n>0?h=ge(h.line,h.ch-n):e.state.overwrite&&!a?p=ge(p.line,Math.min(le(o,p.line).text.length,p.ch+Y(l).length)):Os&&Os.lineWise&&Os.text.join("\n")==t&&(h=p=ge(h.line,0))),s=e.curOp.updateInput;var m={from:h,to:p,text:u?u[d%u.length]:l,origin:i||(a?"paste":e.state.cutIncoming?"cut":"+input")};oo(e.doc,m),un(e,"inputRead",e,m)}t&&!a&&Ps(e,t),Er(e),e.curOp.updateInput=s,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function Ms(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Gr(t,function(){return As(t,n,0,null,"paste")}),!0}function Ps(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),s=!1;if(o.electricChars){for(var a=0;a-1){s=Es(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(le(e.doc,i.head.line).text.slice(0,i.head.ch))&&(s=Es(e,i.head.line,"smart"));s&&un(e,"electricInput",e,i.head.line)}}}function Ls(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 o=Ze(i,n.ch,n.sticky),s=i[o];if("ltr"==e.doc.direction&&s.level%2==0&&(r>0?s.to>n.ch:s.from=s.from&&f>=c.begin)){var h=d?"before":"after";return new ge(n.line,f,h)}}var p=function(e,t,r){for(var o=function(e,t){return t?new ge(n.line,l(e,1),"before"):new ge(n.line,e,"after")};e>=0&&e0==(1!=s.level),u=a?r.begin:l(r.end,-1);if(s.from<=u&&u0?c.end:l(c.begin,-1);return null==g||r>0&&g==t.text.length||!(m=p(r>0?0:i.length-1,r,u(g)))?null:m}(e.cm,a,t,n):Yo(a,t,n))){if(r||((s=t.line+n)=e.first+e.size||(t=new ge(s,t.ch,t.sticky),!(a=le(e,s)))))return!1;t=$o(i,e.cm,a,t.line,n)}else t=o;return!0}if("char"==r)l();else if("column"==r)l(!0);else if("word"==r||"group"==r)for(var u=null,c="group"==r,d=e.cm&&e.cm.getHelper(t,"wordChars"),f=!0;!(n<0)||l(!f);f=!1){var h=a.text.charAt(t.ch)||"\n",p=te(h,d)?"w":c&&"\n"==h?"n":!c||/\s/.test(h)?null:"p";if(!c||f||p||(p="s"),u&&u!=p){n<0&&(n=1,l(),t.sticky="after");break}if(p&&(u=p),n>0&&!l(!f))break}var m=to(e,t,o,s,!0);return be(o,m)&&(m.hitSide=!0),m}function Ds(e,t,n,r){var i,o,s=e.doc,a=t.left;if("page"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),u=Math.max(l-.5*nr(e.display),3);i=(n>0?t.bottom:t.top)+n*u}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;(o=Zn(e,a,i)).outside;){if(n<0?i<=0:i>=s.height){o.hitSide=!0;break}i+=5*n}return o}var zs=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new B,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Bs(e,t){var n=Pn(e,t.line);if(!n||n.hidden)return null;var r=le(e.doc,t.line),i=An(n,r,t.line),o=Qe(r,e.doc.direction),s="left";if(o){var a=Ze(o,t.ch);s=a%2?"right":"left"}var l=Dn(i.map,t.ch,s);return l.offset="right"==l.collapse?l.end:l.start,l}function Fs(e,t){return t&&(e.bad=!0),e}function Ws(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return Fs(e.clipPos(ge(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 i=0;i=t.display.viewTo||o.line=t.display.viewFrom&&Bs(t,i)||{node:l[0].measure.map[2],offset:0},c=o.liner.firstLine()&&(s=ge(s.line-1,le(r.doc,s.line-1).length)),a.ch==le(r.doc,a.line).text.length&&a.linei.viewTo-1)return!1;s.line==i.viewFrom||0==(e=ur(r,s.line))?(t=fe(i.view[0].line),n=i.view[0].node):(t=fe(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,u,c=ur(r,a.line);if(c==i.view.length-1?(l=i.viewTo-1,u=i.lineDiv.lastChild):(l=fe(i.view[c+1].line)-1,u=i.view[c+1].node.previousSibling),!n)return!1;for(var d=r.doc.splitLines(function(e,t,n,r,i){var o="",s=!1,a=e.doc.lineSeparator(),l=!1;function u(){s&&(o+=a,l&&(o+=a),s=l=!1)}function c(e){e&&(u(),o+=e)}function d(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void c(n);var o,f=t.getAttribute("cm-marker");if(f){var h=e.findMarks(ge(r,0),ge(i+1,0),(g=+f,function(e){return e.id==g}));return void(h.length&&(o=h[0].find(0))&&c(ue(e.doc,o.from,o.to).join(a)))}if("false"==t.getAttribute("contenteditable"))return;var p=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;p&&u();for(var m=0;m1&&f.length>1;)if(Y(d)==Y(f))d.pop(),f.pop(),l--;else{if(d[0]!=f[0])break;d.shift(),f.shift(),t++}for(var h=0,p=0,m=d[0],g=f[0],_=Math.min(m.length,g.length);h<_&&m.charCodeAt(h)==g.charCodeAt(h);)++h;for(var b=Y(d),y=Y(f),v=Math.min(b.length-(1==d.length?h:0),y.length-(1==f.length?h:0));ps.ch&&b.charCodeAt(b.length-p-1)==y.charCodeAt(y.length-p-1);)h--,p++;d[d.length-1]=b.slice(0,b.length-p).replace(/^\u200b+/,""),d[0]=d[0].slice(h).replace(/\u200b+$/,"");var w=ge(t,h),x=ge(l,f.length?Y(f).length-p:0);return d.length>1||d[0]||_e(w,x)?(co(r.doc,d,w,x,"+input"),!0):void 0},zs.prototype.ensurePolled=function(){this.forceCompositionEnd()},zs.prototype.reset=function(){this.forceCompositionEnd()},zs.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},zs.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))},zs.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Gr(this.cm,function(){return Jr(e.cm)})},zs.prototype.setUneditable=function(e){e.contentEditable="false"},zs.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Yr(this.cm,As)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},zs.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},zs.prototype.onContextMenu=function(){},zs.prototype.resetPosition=function(){},zs.prototype.needsContentAttribute=!0;var Hs=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new B,this.hasSelection=!1,this.composing=null};Hs.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!ot(r,e)){if(r.somethingSelected())Ts({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Ls(r);Ts({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,H):(n.prevInput="",i.value=t.text.join("\n"),I(i))}"cut"==e.type&&(r.state.cutIncoming=!0)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),m&&(i.style.width="0px"),tt(i,"input",function(){s&&a>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()}),tt(i,"paste",function(e){ot(r,e)||Ms(e,r)||(r.state.pasteIncoming=!0,n.fastPoll())}),tt(i,"cut",o),tt(i,"copy",o),tt(e.scroller,"paste",function(t){jn(e,t)||ot(r,t)||(r.state.pasteIncoming=!0,n.focus())}),tt(e.lineSpace,"selectstart",function(t){jn(e,t)||ut(t)}),tt(i,"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"})}}),tt(i,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},Hs.prototype.createField=function(e){this.wrapper=Is(),this.textarea=this.wrapper.firstChild},Hs.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=dr(e);if(e.options.moveInputWithCursor){var i=Gn(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),s=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+s.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+s.left-o.left))}return r},Hs.prototype.showSelection=function(e){var t=this.cm,n=t.display;O(n.cursorDiv,e.cursors),O(n.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Hs.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&&I(this.textarea),s&&a>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",s&&a>=9&&(this.hasSelection=null))}},Hs.prototype.getField=function(){return this.textarea},Hs.prototype.supportsTouch=function(){return!1},Hs.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!_||P()!=this.textarea))try{this.textarea.focus()}catch(vt){}},Hs.prototype.blur=function(){this.textarea.blur()},Hs.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Hs.prototype.receivedFocus=function(){this.slowPoll()},Hs.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},Hs.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,function n(){var r=t.poll();r||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))})},Hs.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||xt(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(s&&a>=9&&this.hasSelection===i||b&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="\u200b"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var l=0,u=Math.min(r.length,i.length);l1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Hs.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Hs.prototype.onKeyPress=function(){s&&a>=9&&(this.hasSelection=null),this.fastPoll()},Hs.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea,o=lr(n,e),u=r.scroller.scrollTop;if(o&&!d){var c=n.options.resetSelectionOnContextMenu;c&&-1==n.doc.sel.contains(o)&&Yr(n,Yi)(n.doc,wi(o),H);var f=i.style.cssText,h=t.wrapper.style.cssText;t.wrapper.style.cssText="position: absolute";var p,m=t.wrapper.getBoundingClientRect();if(i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-m.top-5)+"px; left: "+(e.clientX-m.left-5)+"px;\n z-index: 1000; background: "+(s?"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()||(i.value=t.prevInput=" "),t.contextMenuPending=!0,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),s&&a>=9&&_(),j){ft(e);var g=function(){rt(window,"mouseup",g),setTimeout(b,20)};tt(window,"mouseup",g)}else setTimeout(b,50)}function _(){if(null!=i.selectionStart){var e=n.somethingSelected(),o="\u200b"+(e?i.value:"");i.value="\u21da",i.value=o,t.prevInput=e?"":"\u200b",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function b(){if(t.contextMenuPending=!1,t.wrapper.style.cssText=h,i.style.cssText=f,s&&a<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=u),null!=i.selectionStart){(!s||s&&a<9)&&_();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"\u200b"==t.prevInput?Yr(n,ro)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},Hs.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},Hs.prototype.setUneditable=function(){},Hs.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=ys&&i(e,t,n)}:i)}e.defineOption=n,e.Init=ys,n("value","",function(e,t){return e.setValue(t)},!0),n("mode",null,function(e,t){e.doc.modeOption=t,Ci(e)},!0),n("indentUnit",2,Ci,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,function(e){Ei(e),Wn(e),Jr(e)},!0),n("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter(function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(ge(r,o))}r++});for(var i=n.length-1;i>=0;i--)co(e.doc,t,n[i],ge(n[i].line,n[i].ch+t.length))}}),n("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!=ys&&e.refresh()}),n("specialCharPlaceholder",Qt,function(e){return e.refresh()},!0),n("electricChars",!0),n("inputStyle",_?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),n("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),n("rtlMoveVisually",!v),n("wholeLineUpdateBefore",!0),n("theme","default",function(e){bs(e),xs(e)},!0),n("keyMap","default",function(e,t,n){var r=Ko(t),i=n!=ys&&Ko(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)}),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,ks,!0),n("gutters",[],function(e){fi(e.options),xs(e)},!0),n("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?or(e.display)+"px":"0",e.refresh()},!0),n("coverGutterNextToScrollbar",!1,function(e){return Dr(e)},!0),n("scrollbarStyle","native",function(e){Fr(e),Dr(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),n("lineNumbers",!1,function(e){fi(e.options),xs(e)},!0),n("firstLineNumber",1,xs,!0),n("lineNumberFormatter",function(e){return e},xs,!0),n("showCursorWhenSelecting",!1,cr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("readOnly",!1,function(e,t){"nocursor"==t&&(yr(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),n("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),n("dragDrop",!0,js),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,cr,!0),n("singleCursorHeightPerLine",!0,cr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,Ei,!0),n("addModeClass",!1,Ei,!0),n("pollInterval",100),n("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),n("historyEventDelay",1250),n("viewportMargin",10,function(e){return e.refresh()},!0),n("maxHighlightLength",1e4,Ei,!0),n("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),n("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),n("autofocus",null),n("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0),n("phrases",null)}(Ss),function(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,i=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&Yr(this,t[e])(this,n,i),it(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"](Ko(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nn&&(Es(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&Er(this));else{var o=i.from(),s=i.to(),a=Math.max(n,o.line);n=Math.min(this.lastLine(),s.line-(s.ch?0:1))+1;for(var l=a;l0&&Ki(this.doc,r,new yi(o,u[r].to()),H)}}}),getTokenAt:function(e,t){return qt(this,e,t)},getLineTokens:function(e,t){return qt(this,ge(e),t,!0)},getTokenTypeAt:function(e){e=je(this.doc,e);var t,n=zt(this,le(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var s=r+i>>1;if((s?n[2*s-1]:0)>=o)i=s;else{if(!(n[2*s+1]o&&(e=o,i=!0),r=le(this.doc,e)}else r=e;return Vn(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-Xe(r):0)},defaultTextHeight:function(){return nr(this.display)},defaultCharWidth:function(){return rr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o,s,a,l=this.display,u=(e=Gn(this,je(this.doc,e))).bottom,c=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),l.sizer.appendChild(t),"over"==r)u=e.top;else if("above"==r||"near"==r){var d=Math.max(l.wrapper.clientHeight,this.doc.height),f=Math.max(l.sizer.clientWidth,l.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>d)&&e.top>t.offsetHeight?u=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=d&&(u=e.bottom),c+t.offsetWidth>f&&(c=f-t.offsetWidth)}t.style.top=u+"px",t.style.left=t.style.right="","right"==i?(c=l.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?c=0:"middle"==i&&(c=(l.sizer.clientWidth-t.offsetWidth)/2),t.style.left=c+"px"),n&&(o=this,s={left:c,top:u,right:c+t.offsetWidth,bottom:u+t.offsetHeight},null!=(a=Sr(o,s)).scrollTop&&Mr(o,a.scrollTop),null!=a.scrollLeft&&Lr(o,a.scrollLeft))},triggerOnKeyDown:$r(ss),triggerOnKeyPress:$r(ls),triggerOnKeyUp:as,triggerOnMouseDown:$r(fs),execCommand:function(e){if(Zo.hasOwnProperty(e))return Zo[e].call(null,this)},triggerElectric:$r(function(e){Ps(this,e)}),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=je(this.doc,e),s=0;s0&&a(n.charAt(r-1));)--r;for(;i.5)&&ar(this),it(this,"refresh",this)}),swapDoc:$r(function(e){var t=this.doc;return t.cm=null,Mi(this,e),Wn(this),this.display.input.reset(),Or(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,un(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}},lt(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}(Ss);var qs,Vs="iter insert remove copy getEditor constructor".split(" ");for(var Ks in Eo.prototype)Eo.prototype.hasOwnProperty(Ks)&&F(Vs,Ks)<0&&(Ss.prototype[Ks]=function(e){return function(){return e.apply(this.doc,arguments)}}(Eo.prototype[Ks]));return lt(Eo),Ss.inputStyles={textarea:Hs,contenteditable:zs},Ss.defineMode=function(e){Ss.defaults.mode||"null"==e||(Ss.defaults.mode=e),function(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),St[e]=t}.apply(this,arguments)},Ss.defineMIME=function(e,t){Ct[e]=t},Ss.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Ss.defineMIME("text/plain","null"),Ss.defineExtension=function(e,t){Ss.prototype[e]=t},Ss.defineDocExtension=function(e,t){Eo.prototype[e]=t},Ss.fromTextArea=function(e,t){if((t=t?D(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=P();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=a.getValue()}var i;if(e.form&&(tt(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var s=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=s}}catch(vt){}}t.finishInit=function(t){t.save=r,t.getTextArea=function(){return e},t.toTextArea=function(){t.toTextArea=isNaN,r(),e.parentNode.removeChild(t.getWrapperElement()),e.style.display="",e.form&&(rt(e.form,"submit",r),"function"==typeof e.form.submit&&(e.form.submit=i))}},e.style.display="none";var a=Ss(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return a},(qs=Ss).off=rt,qs.on=tt,qs.wheelEventPixels=gi,qs.Doc=Eo,qs.splitLines=wt,qs.countColumn=z,qs.findColumn=K,qs.isWordChar=ee,qs.Pass=U,qs.signal=it,qs.Line=Xt,qs.changeEnd=xi,qs.scrollbarModel=Br,qs.Pos=ge,qs.cmpPos=_e,qs.modes=St,qs.mimeModes=Ct,qs.resolveMode=Et,qs.getMode=Ot,qs.modeExtensions=Tt,qs.extendMode=At,qs.copyState=Mt,qs.startState=Lt,qs.innerMode=Pt,qs.commands=Zo,qs.keyMap=Bo,qs.keyName=Vo,qs.isModifierKey=Ho,qs.lookupKey=Uo,qs.normalizeKeyMap=Wo,qs.StringStream=Rt,qs.SharedTextMarker=jo,qs.TextMarker=wo,qs.LineWidget=bo,qs.e_preventDefault=ut,qs.e_stopPropagation=ct,qs.e_stop=ft,qs.addClass=L,qs.contains=M,qs.rmClass=C,qs.keyNames=Io,Ss.version="5.40.2",Ss}()},"./node_modules/codemirror/mode/css/css.js":function(e,t,n){!function(e){"use strict";function t(e){for(var t={},n=0;n0;i--)n.context=n.context.prev;return E(e,t,n)}function T(e){var t=e.current().toLowerCase();o=_.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var A={top:function(e,t,n){if("{"==e)return S(n,t,"block");if("}"==e&&n.context.prev)return C(n);if(v&&/@component/i.test(e))return S(n,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return S(n,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return S(n,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return n.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return S(n,t,"at");if("hash"==e)o="builtin";else if("word"==e)o="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return S(n,t,"interpolation");if(":"==e)return"pseudo";if(b&&"("==e)return S(n,t,"parens")}return n.context.type},block:function(e,t,n){if("word"==e){var r=t.current().toLowerCase();return f.hasOwnProperty(r)?(o="property","maybeprop"):h.hasOwnProperty(r)?(o="string-2","maybeprop"):b?(o=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(o+=" error","maybeprop")}return"meta"==e?"block":b||"hash"!=e&&"qualifier"!=e?A.top(e,t,n):(o="error","block")},maybeprop:function(e,t,n){return":"==e?S(n,t,"prop"):E(e,t,n)},prop:function(e,t,n){if(";"==e)return C(n);if("{"==e&&b)return S(n,t,"propBlock");if("}"==e||"{"==e)return O(e,t,n);if("("==e)return S(n,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)T(t);else if("interpolation"==e)return S(n,t,"interpolation")}else o+=" error";return"prop"},propBlock:function(e,t,n){return"}"==e?C(n):"word"==e?(o="property","maybeprop"):n.context.type},parens:function(e,t,n){return"{"==e||"}"==e?O(e,t,n):")"==e?C(n):"("==e?S(n,t,"parens"):"interpolation"==e?S(n,t,"interpolation"):("word"==e&&T(t),"parens")},pseudo:function(e,t,n){return"meta"==e?"pseudo":"word"==e?(o="variable-3",n.context.type):E(e,t,n)},documentTypes:function(e,t,n){return"word"==e&&l.hasOwnProperty(t.current())?(o="tag",n.context.type):A.atBlock(e,t,n)},atBlock:function(e,t,n){if("("==e)return S(n,t,"atBlock_parens");if("}"==e||";"==e)return O(e,t,n);if("{"==e)return C(n)&&S(n,t,b?"block":"top");if("interpolation"==e)return S(n,t,"interpolation");if("word"==e){var r=t.current().toLowerCase();o="only"==r||"not"==r||"and"==r||"or"==r?"keyword":u.hasOwnProperty(r)?"attribute":c.hasOwnProperty(r)?"property":d.hasOwnProperty(r)?"keyword":f.hasOwnProperty(r)?"property":h.hasOwnProperty(r)?"string-2":_.hasOwnProperty(r)?"atom":g.hasOwnProperty(r)?"keyword":"error"}return n.context.type},atComponentBlock:function(e,t,n){return"}"==e?O(e,t,n):"{"==e?C(n)&&S(n,t,b?"block":"top",!1):("word"==e&&(o="error"),n.context.type)},atBlock_parens:function(e,t,n){return")"==e?C(n):"{"==e||"}"==e?O(e,t,n,2):A.atBlock(e,t,n)},restricted_atBlock_before:function(e,t,n){return"{"==e?S(n,t,"restricted_atBlock"):"word"==e&&"@counter-style"==n.stateArg?(o="variable","restricted_atBlock_before"):E(e,t,n)},restricted_atBlock:function(e,t,n){return"}"==e?(n.stateArg=null,C(n)):"word"==e?(o="@font-face"==n.stateArg&&!p.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==n.stateArg&&!m.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(e,t,n){return"word"==e?(o="variable","keyframes"):"{"==e?S(n,t,"top"):E(e,t,n)},at:function(e,t,n){return";"==e?C(n):"{"==e||"}"==e?O(e,t,n):("word"==e?o="tag":"hash"==e&&(o="builtin"),"at")},interpolation:function(e,t,n){return"}"==e?C(n):"{"==e||";"==e?O(e,t,n):("word"==e?o="variable":"variable"!=e&&"("!=e&&")"!=e&&(o="error"),"interpolation")}};return{startState:function(e){return{tokenize:null,state:r?"block":"top",stateArg:null,context:new k(r?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var n=(t.tokenize||function(e,t){var n=e.next();if(a[n]){var r=a[n](e,t);if(!1!==r)return r}return"@"==n?(e.eatWhile(/[\w\\\-]/),w("def",e.current())):"="==n||("~"==n||"|"==n)&&e.eat("=")?w(null,"compare"):'"'==n||"'"==n?(t.tokenize=x(n),t.tokenize(e,t)):"#"==n?(e.eatWhile(/[\w\\\-]/),w("atom","hash")):"!"==n?(e.match(/^\s*\w*/),w("keyword","important")):/\d/.test(n)||"."==n&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),w("number","unit")):"-"!==n?/[,+>*\/]/.test(n)?w(null,"select-op"):"."==n&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?w("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(n)?w(null,n):("u"==n||"U"==n)&&e.match(/rl(-prefix)?\(/i)||("d"==n||"D"==n)&&e.match("omain(",!0,!0)||("r"==n||"R"==n)&&e.match("egexp(",!0,!0)?(e.backUp(1),t.tokenize=j,w("property","word")):/[\w\\\-]/.test(n)?(e.eatWhile(/[\w\\\-]/),w("property","word")):w(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),w("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?w("variable-2","variable-definition"):w("variable-2","variable")):e.match(/^\w+-/)?w("meta","meta"):void 0})(e,t);return n&&"object"==typeof n&&(i=n[1],n=n[0]),o=n,"comment"!=i&&(t.state=A[t.state](i,e,t)),o},indent:function(e,t){var n=e.context,r=t&&t.charAt(0),i=n.indent;return"prop"!=n.type||"}"!=r&&")"!=r||(n=n.prev),n.prev&&("}"!=r||"block"!=n.type&&"top"!=n.type&&"interpolation"!=n.type&&"restricted_atBlock"!=n.type?(")"!=r||"parens"!=n.type&&"atBlock_parens"!=n.type)&&("{"!=r||"at"!=n.type&&"atBlock"!=n.type)||(i=Math.max(0,n.indent-s)):(n=n.prev,i=n.indent)),i},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:y,fold:"brace"}});var n=["domain","regexp","url","url-prefix"],r=t(n),i=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=t(i),s=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],a=t(s),l=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],u=t(l),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],d=t(c),f=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],h=t(f),p=t(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),m=t(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),g=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],_=t(g),b=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],y=t(b),v=n.concat(i).concat(s).concat(l).concat(c).concat(f).concat(g).concat(b);function w(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&"/"==n){t.tokenize=null;break}r="*"==n}return["comment","comment"]}e.registerHelper("hintWords","css",v),e.defineMIME("text/css",{documentTypes:r,mediaTypes:o,mediaFeatures:a,mediaValueKeywords:u,propertyKeywords:d,nonStandardPropertyKeywords:h,fontProperties:p,counterDescriptors:m,colorKeywords:_,valueKeywords:y,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=w,w(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:a,mediaValueKeywords:u,propertyKeywords:d,nonStandardPropertyKeywords:h,colorKeywords:_,valueKeywords:y,fontProperties:p,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=w,w(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:a,mediaValueKeywords:u,propertyKeywords:d,nonStandardPropertyKeywords:h,colorKeywords:_,valueKeywords:y,fontProperties:p,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=w,w(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:o,mediaFeatures:a,propertyKeywords:d,nonStandardPropertyKeywords:h,fontProperties:p,counterDescriptors:m,colorKeywords:_,valueKeywords:y,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=w,w(e,t))}},name:"css",helperType:"gss"})}(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/mode/javascript/javascript.js":function(e,t,n){!function(e){"use strict";e.defineMode("javascript",function(t,n){var r,i,o=t.indentUnit,s=n.statementIndent,a=n.jsonld,l=n.json||a,u=n.typescript,c=n.wordCharacters||/[\w$\xa1-\uffff]/,d=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),r=e("keyword c"),i=e("keyword d"),o=e("operator"),s={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:i,break:i,continue:i,new:e("new"),delete:r,void:r,throw:r,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:o,typeof:o,instanceof:o,true:s,false:s,null:s,undefined:s,NaN:s,Infinity:s,this:e("this"),class:e("class"),super:e("atom"),yield:r,export:e("export"),import:e("import"),extends:r,await:r}}(),f=/[+\-*&%=<>!?|~^@]/,h=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function p(e,t,n){return r=e,i=n,t}function m(e,t){var n,r=e.next();if('"'==r||"'"==r)return t.tokenize=(n=r,function(e,t){var r,i=!1;if(a&&"@"==e.peek()&&e.match(h))return t.tokenize=m,p("jsonld-keyword","meta");for(;null!=(r=e.next())&&(r!=n||i);)i=!i&&"\\"==r;return i||(t.tokenize=m),p("string","string")}),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return p("number","number");if("."==r&&e.match(".."))return p("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return p(r);if("="==r&&e.eat(">"))return p("=>","operator");if("0"==r&&e.match(/^(?:x[\da-f]+|o[0-7]+|b[01]+)n?/i))return p("number","number");if(/\d/.test(r))return e.match(/^\d*(?:n|(?:\.\d*)?(?:[eE][+\-]?\d+)?)?/),p("number","number");if("/"==r)return e.eat("*")?(t.tokenize=g,g(e,t)):e.eat("/")?(e.skipToEnd(),p("comment","comment")):Xe(e,t,1)?(function(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/),p("regexp","string-2")):(e.eat("="),p("operator","operator",e.current()));if("`"==r)return t.tokenize=_,_(e,t);if("#"==r)return e.skipToEnd(),p("error","error");if(f.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),p("operator","operator",e.current());if(c.test(r)){e.eatWhile(c);var i=e.current();if("."!=t.lastType){if(d.propertyIsEnumerable(i)){var o=d[i];return p(o.type,o.style,i)}if("async"==i&&e.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return p("async","keyword",i)}return p("variable","variable",i)}}function g(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=m;break}r="*"==n}return p("comment","comment")}function _(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=m;break}r=!r&&"\\"==n}return p("quasi","string-2",e.current())}var b="([{}])";function y(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(u){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var i=0,o=!1,s=n-1;s>=0;--s){var a=e.string.charAt(s),l=b.indexOf(a);if(l>=0&&l<3){if(!i){++s;break}if(0==--i){"("==a&&(o=!0);break}}else if(l>=3&&l<6)++i;else if(c.test(a))o=!0;else{if(/["'\/]/.test(a))return;if(o&&!i){++s;break}}}o&&!i&&(t.fatArrowAt=s)}}var v={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function w(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=r&&(this.align=r)}function x(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}var j={state:null,column:null,marked:null,cc:null};function k(){for(var e=arguments.length-1;e>=0;e--)j.cc.push(arguments[e])}function S(){return k.apply(null,arguments),!0}function C(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function E(e){var t=j.state;if(j.marked="def",t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var r=function e(t,n){if(n){if(n.block){var r=e(t,n.prev);return r?r==n.prev?n:new T(r,n.vars,!0):null}return C(t,n.vars)?n:new T(n.prev,new A(t,n.vars),!1)}return null}(e,t.context);if(null!=r)return void(t.context=r)}else if(!C(e,t.localVars))return void(t.localVars=new A(e,t.localVars));n.globalVars&&!C(e,t.globalVars)&&(t.globalVars=new A(e,t.globalVars))}function O(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function T(e,t,n){this.prev=e,this.vars=t,this.block=n}function A(e,t){this.name=e,this.next=t}var M=new A("this",new A("arguments",null));function P(){j.state.context=new T(j.state.context,j.state.localVars,!1),j.state.localVars=M}function L(){j.state.context=new T(j.state.context,j.state.localVars,!0),j.state.localVars=null}function R(){j.state.localVars=j.state.context.vars,j.state.context=j.state.context.prev}function I(e,t){var n=function(){var n=j.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var i=n.lexical;i&&")"==i.type&&i.align;i=i.prev)r=i.indented;n.lexical=new w(r,j.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function N(){var e=j.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function D(e){return function t(n){return n==e?S():";"==e||"}"==n||")"==n||"]"==n?k():S(t)}}function z(e,t){return"var"==e?S(I("vardef",t),be,D(";"),N):"keyword a"==e?S(I("form"),U,z,N):"keyword b"==e?S(I("form"),z,N):"keyword d"==e?j.stream.match(/^\s*$/,!1)?S():S(I("stat"),q,D(";"),N):"debugger"==e?S(D(";")):"{"==e?S(I("}"),L,se,N,R):";"==e?S():"if"==e?("else"==j.state.lexical.info&&j.state.cc[j.state.cc.length-1]==N&&j.state.cc.pop()(),S(I("form"),U,z,N,ke)):"function"==e?S(Ae):"for"==e?S(I("form"),Se,z,N):"class"==e||u&&"interface"==t?(j.marked="keyword",S(I("form"),Le,N)):"variable"==e?u&&"declare"==t?(j.marked="keyword",S(z)):u&&("module"==t||"enum"==t||"type"==t)&&j.stream.match(/^\s*\w/,!1)?(j.marked="keyword","enum"==t?S(Ve):"type"==t?S(ce,D("operator"),ce,D(";")):S(I("form"),ye,D("{"),I("}"),se,N,N)):u&&"namespace"==t?(j.marked="keyword",S(I("form"),F,se,N)):u&&"abstract"==t?(j.marked="keyword",S(z)):S(I("stat"),Q):"switch"==e?S(I("form"),U,D("{"),I("}","switch"),L,se,N,N,R):"case"==e?S(F,D(":")):"default"==e?S(D(":")):"catch"==e?S(I("form"),P,B,z,N,R):"export"==e?S(I("stat"),De,N):"import"==e?S(I("stat"),Be,N):"async"==e?S(z):"@"==t?S(F,z):k(I("stat"),F,D(";"),N)}function B(e){if("("==e)return S(Me,D(")"))}function F(e,t){return H(e,t,!1)}function W(e,t){return H(e,t,!0)}function U(e){return"("!=e?k():S(I(")"),F,D(")"),N)}function H(e,t,n){if(j.state.fatArrowAt==j.stream.start){var r=n?$:Y;if("("==e)return S(P,I(")"),ie(Me,")"),N,D("=>"),r,R);if("variable"==e)return k(P,ye,D("=>"),r,R)}var i=n?K:V;return v.hasOwnProperty(e)?S(i):"function"==e?S(Ae,i):"class"==e||u&&"interface"==t?(j.marked="keyword",S(I("form"),Pe,N)):"keyword c"==e||"async"==e?S(n?W:F):"("==e?S(I(")"),q,D(")"),N,i):"operator"==e||"spread"==e?S(n?W:F):"["==e?S(I("]"),qe,N,i):"{"==e?oe(te,"}",null,i):"quasi"==e?k(X,i):"new"==e?S(function(e){return function(t){return"."==t?S(e?J:Z):"variable"==t&&u?S(me,e?K:V):k(e?W:F)}}(n)):"import"==e?S(F):S()}function q(e){return e.match(/[;\}\)\],]/)?k():k(F)}function V(e,t){return","==e?S(F):K(e,t,!1)}function K(e,t,n){var r=0==n?V:K,i=0==n?F:W;return"=>"==e?S(P,n?$:Y,R):"operator"==e?/\+\+|--/.test(t)||u&&"!"==t?S(r):u&&"<"==t&&j.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?S(I(">"),ie(ce,">"),N,r):"?"==t?S(F,D(":"),i):S(i):"quasi"==e?k(X,r):";"!=e?"("==e?oe(W,")","call",r):"."==e?S(ee,r):"["==e?S(I("]"),q,D("]"),N,r):u&&"as"==t?(j.marked="keyword",S(ce,r)):"regexp"==e?(j.state.lastType=j.marked="operator",j.stream.backUp(j.stream.pos-j.stream.start-1),S(i)):void 0:void 0}function X(e,t){return"quasi"!=e?k():"${"!=t.slice(t.length-2)?S(X):S(F,G)}function G(e){if("}"==e)return j.marked="string-2",j.state.tokenize=_,S(X)}function Y(e){return y(j.stream,j.state),k("{"==e?z:F)}function $(e){return y(j.stream,j.state),k("{"==e?z:W)}function Z(e,t){if("target"==t)return j.marked="keyword",S(V)}function J(e,t){if("target"==t)return j.marked="keyword",S(K)}function Q(e){return":"==e?S(N,z):k(V,D(";"),N)}function ee(e){if("variable"==e)return j.marked="property",S()}function te(e,t){return"async"==e?(j.marked="property",S(te)):"variable"==e||"keyword"==j.style?(j.marked="property","get"==t||"set"==t?S(ne):(u&&j.state.fatArrowAt==j.stream.start&&(n=j.stream.match(/^\s*:\s*/,!1))&&(j.state.fatArrowAt=j.stream.pos+n[0].length),S(re))):"number"==e||"string"==e?(j.marked=a?"property":j.style+" property",S(re)):"jsonld-keyword"==e?S(re):u&&O(t)?(j.marked="keyword",S(te)):"["==e?S(F,ae,D("]"),re):"spread"==e?S(W,re):"*"==t?(j.marked="keyword",S(te)):":"==e?k(re):void 0;var n}function ne(e){return"variable"!=e?k(re):(j.marked="property",S(Ae))}function re(e){return":"==e?S(W):"("==e?k(Ae):void 0}function ie(e,t,n){function r(i,o){if(n?n.indexOf(i)>-1:","==i){var s=j.state.lexical;return"call"==s.info&&(s.pos=(s.pos||0)+1),S(function(n,r){return n==t||r==t?k():k(e)},r)}return i==t||o==t?S():S(D(t))}return function(n,i){return n==t||i==t?S():k(e,r)}}function oe(e,t,n){for(var r=3;r"),ce):void 0}function de(e){if("=>"==e)return S(ce)}function fe(e,t){return"variable"==e||"keyword"==j.style?(j.marked="property",S(fe)):"?"==t?S(fe):":"==e?S(ce):"["==e?S(F,ae,D("]"),fe):void 0}function he(e,t){return"variable"==e&&j.stream.match(/^\s*[?:]/,!1)||"?"==t?S(he):":"==e?S(ce):k(ce)}function pe(e,t){return"<"==t?S(I(">"),ie(ce,">"),N,pe):"|"==t||"."==e||"&"==t?S(ce):"["==e?S(D("]"),pe):"extends"==t||"implements"==t?(j.marked="keyword",S(ce)):void 0}function me(e,t){if("<"==t)return S(I(">"),ie(ce,">"),N,pe)}function ge(){return k(ce,_e)}function _e(e,t){if("="==t)return S(ce)}function be(e,t){return"enum"==t?(j.marked="keyword",S(Ve)):k(ye,ae,xe,je)}function ye(e,t){return u&&O(t)?(j.marked="keyword",S(ye)):"variable"==e?(E(t),S()):"spread"==e?S(ye):"["==e?oe(we,"]"):"{"==e?oe(ve,"}"):void 0}function ve(e,t){return"variable"!=e||j.stream.match(/^\s*:/,!1)?("variable"==e&&(j.marked="property"),"spread"==e?S(ye):"}"==e?k():S(D(":"),ye,xe)):(E(t),S(xe))}function we(){return k(ye,xe)}function xe(e,t){if("="==t)return S(W)}function je(e){if(","==e)return S(be)}function ke(e,t){if("keyword b"==e&&"else"==t)return S(I("form","else"),z,N)}function Se(e,t){return"await"==t?S(Se):"("==e?S(I(")"),Ce,D(")"),N):void 0}function Ce(e){return"var"==e?S(be,D(";"),Oe):";"==e?S(Oe):"variable"==e?S(Ee):k(F,D(";"),Oe)}function Ee(e,t){return"in"==t||"of"==t?(j.marked="keyword",S(F)):S(V,Oe)}function Oe(e,t){return";"==e?S(Te):"in"==t||"of"==t?(j.marked="keyword",S(F)):k(F,D(";"),Te)}function Te(e){")"!=e&&S(F)}function Ae(e,t){return"*"==t?(j.marked="keyword",S(Ae)):"variable"==e?(E(t),S(Ae)):"("==e?S(P,I(")"),ie(Me,")"),N,le,z,R):u&&"<"==t?S(I(">"),ie(ge,">"),N,Ae):void 0}function Me(e,t){return"@"==t&&S(F,Me),"spread"==e?S(Me):u&&O(t)?(j.marked="keyword",S(Me)):k(ye,ae,xe)}function Pe(e,t){return"variable"==e?Le(e,t):Re(e,t)}function Le(e,t){if("variable"==e)return E(t),S(Re)}function Re(e,t){return"<"==t?S(I(">"),ie(ge,">"),N,Re):"extends"==t||"implements"==t||u&&","==e?("implements"==t&&(j.marked="keyword"),S(u?ce:F,Re)):"{"==e?S(I("}"),Ie,N):void 0}function Ie(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||u&&O(t))&&j.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(j.marked="keyword",S(Ie)):"variable"==e||"keyword"==j.style?(j.marked="property",S(u?Ne:Ae,Ie)):"["==e?S(F,ae,D("]"),u?Ne:Ae,Ie):"*"==t?(j.marked="keyword",S(Ie)):";"==e?S(Ie):"}"==e?S():"@"==t?S(F,Ie):void 0}function Ne(e,t){return"?"==t?S(Ne):":"==e?S(ce,xe):"="==t?S(W):k(Ae)}function De(e,t){return"*"==t?(j.marked="keyword",S(He,D(";"))):"default"==t?(j.marked="keyword",S(F,D(";"))):"{"==e?S(ie(ze,"}"),He,D(";")):k(z)}function ze(e,t){return"as"==t?(j.marked="keyword",S(D("variable"))):"variable"==e?k(W,ze):void 0}function Be(e){return"string"==e?S():"("==e?k(F):k(Fe,We,He)}function Fe(e,t){return"{"==e?oe(Fe,"}"):("variable"==e&&E(t),"*"==t&&(j.marked="keyword"),S(Ue))}function We(e){if(","==e)return S(Fe,We)}function Ue(e,t){if("as"==t)return j.marked="keyword",S(Fe)}function He(e,t){if("from"==t)return j.marked="keyword",S(F)}function qe(e){return"]"==e?S():k(ie(W,"]"))}function Ve(){return k(I("form"),ye,D("{"),I("}"),ie(Ke,"}"),N,N)}function Ke(){return k(ye,xe)}function Xe(e,t,n){return t.tokenize==m&&/^(?: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 R.lex=!0,N.lex=!0,{startState:function(e){var t={tokenize:m,lastType:"sof",cc:[],lexical:new w((e||0)-o,0,"block",!1),localVars:n.localVars,context:n.localVars&&new T(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(),y(e,t)),t.tokenize!=g&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==r?n:(t.lastType="operator"!=r||"++"!=i&&"--"!=i?r:"incdec",function(e,t,n,r,i){var o=e.cc;for(j.state=e,j.stream=i,j.marked=null,j.cc=o,j.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){var s=o.length?o.pop():l?F:z;if(s(n,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return j.marked?j.marked:"variable"==n&&x(e,r)?"variable-2":t}}}(t,n,r,i,e))},indent:function(t,r){if(t.tokenize==g)return e.Pass;if(t.tokenize!=m)return 0;var i,a=r&&r.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(r))for(var u=t.cc.length-1;u>=0;--u){var c=t.cc[u];if(c==N)l=l.prev;else if(c!=ke)break}for(;("stat"==l.type||"form"==l.type)&&("}"==a||(i=t.cc[t.cc.length-1])&&(i==V||i==K)&&!/^[,\.=+\-*:?[\(]/.test(r));)l=l.prev;s&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var d=l.type,h=a==d;return"vardef"==d?l.indented+("operator"==t.lastType||","==t.lastType?l.info.length+1:0):"form"==d&&"{"==a?l.indented:"form"==d?l.indented+o:"stat"==d?l.indented+(function(e,t){return"operator"==e.lastType||","==e.lastType||f.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,r)?s||o:0):"switch"!=l.info||h||0==n.doubleIndentSwitch?l.align?l.column+(h?0:1):l.indented+(h?0:o):l.indented+(/^(?:case|default)\b/.test(r)?o:2*o)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:a,jsonMode:l,expressionAllowed:Xe,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=F&&t!=W||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("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/mode/jsx/jsx.js":function(e,t,n){!function(e){"use strict";function t(e,t,n,r){this.state=e,this.mode=t,this.depth=n,this.prev=r}e.defineMode("jsx",function(n,r){var i=e.getMode(n,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),o=e.getMode(n,r&&r.base||"javascript");function s(e){var t=e.tagName;e.tagName=null;var n=i.indent(e,"");return e.tagName=t,n}function a(r,l){return l.context.mode==i?function(r,l,u){if(2==u.depth)return r.match(/^.*?\*\//)?u.depth=1:r.skipToEnd(),"comment";if("{"==r.peek()){i.skipAttribute(u.state);var c=s(u.state),d=u.state.context;if(d&&r.match(/^[^>]*>\s*$/,!1)){for(;d.prev&&!d.startOfLine;)d=d.prev;d.startOfLine?c-=n.indentUnit:u.prev.state.lexical&&(c=u.prev.state.lexical.indented)}else 1==u.depth&&(c+=n.indentUnit);return l.context=new t(e.startState(o,c),o,0,l.context),null}if(1==u.depth){if("<"==r.peek())return i.skipAttribute(u.state),l.context=new t(e.startState(i,s(u.state)),i,0,l.context),null;if(r.match("//"))return r.skipToEnd(),"comment";if(r.match("/*"))return u.depth=2,a(r,l)}var f,h=i.token(r,u.state),p=r.current();return/\btag\b/.test(h)?/>$/.test(p)?u.state.context?u.depth=0:l.context=l.context.prev:/^-1&&r.backUp(p.length-f),h}(r,l,l.context):function(n,r,s){if("<"==n.peek()&&o.expressionAllowed(n,s.state))return o.skipExpression(s.state),r.context=new t(e.startState(i,o.indent(s.state,"")),i,0,r.context),null;var a=o.token(n,s.state);if(!a&&null!=s.depth){var l=n.current();"{"==l?s.depth++:"}"==l&&0==--s.depth&&(r.context=r.context.prev)}return a}(r,l,l.context)}return{startState:function(){return{context:new t(e.startState(o),o)}},copyState:function(n){return{context:function n(r){return new t(e.copyState(r.mode,r.state),r.mode,r.depth,r.prev&&n(r.prev))}(n.context)}},token:a,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("./node_modules/codemirror/lib/codemirror.js"),n("./node_modules/codemirror/mode/xml/xml.js"),n("./node_modules/codemirror/mode/javascript/javascript.js"))},"./node_modules/codemirror/mode/markdown/markdown.js":function(e,t,n){!function(e){"use strict";e.defineMode("markdown",function(t,n){var r=e.getMode(t,"text/html"),i="null"==r.name;void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1),void 0===n.emoji&&(n.emoji=!1),void 0===n.fencedCodeBlockHighlighting&&(n.fencedCodeBlockHighlighting=!0),void 0===n.xml&&(n.xml=!0),void 0===n.tokenTypeOverrides&&(n.tokenTypeOverrides={});var o={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var s in o)o.hasOwnProperty(s)&&n.tokenTypeOverrides[s]&&(o[s]=n.tokenTypeOverrides[s]);var a=/^([*\-_])(?:\s*\1){2,}\s*$/,l=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,u=/^\[(x| )\](?=\s)/i,c=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,d=/^ *(?:\={1,}|-{1,})\s*$/,f=/^[^#!\[\]*_\\<>` "'(~:]+/,h=/^(~~~+|```+)[ \t]*([\w+#-]*)[^\n`]*$/,p=/^\s*\[[^\]]+?\]:.*$/,m=/[!\"#$%&\'()*+,\-\.\/:;<=>?@\[\\\]^_`{|}~\u2014]/;function g(e,t,n){return t.f=t.inline=n,n(e,t)}function _(e,t,n){return t.f=t.block=n,n(e,t)}function b(t){if(t.linkTitle=!1,t.linkHref=!1,t.linkText=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,t.f==v){var n=i;if(!n){var o=e.innerMode(r,t.htmlState);n="xml"==o.mode.name&&null===o.state.tagStart&&!o.state.context&&o.state.tokenize.isInText}n&&(t.f=k,t.block=y,t.htmlState=null)}return t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine={stream:null},null}function y(r,i){var s,f=r.column()===i.indentation,m=!(s=i.prevLine.stream)||!/\S/.test(s.string),_=i.indentedCode,b=i.prevLine.hr,y=!1!==i.list,v=(i.listStack[i.listStack.length-1]||0)+3;i.indentedCode=!1;var j=i.indentation;if(null===i.indentationDiff&&(i.indentationDiff=i.indentation,y)){for(i.em=!1,i.strong=!1,i.code=!1,i.strikethrough=!1,i.list=null;j=4&&(_||i.prevLine.fencedCodeEnd||i.prevLine.header||m))return r.skipToEnd(),i.indentedCode=!0,o.code;if(r.eatSpace())return null;if(f&&i.indentation<=v&&(C=r.match(c))&&C[1].length<=6)return i.quote=0,i.header=C[1].length,i.thisLine.header=!0,n.highlightFormatting&&(i.formatting="header"),i.f=i.inline,x(i);if(i.indentation<=v&&r.eat(">"))return i.quote=f?1:i.quote+1,n.highlightFormatting&&(i.formatting="quote"),r.eatSpace(),x(i);if(!S&&!i.setext&&f&&i.indentation<=v&&(C=r.match(l))){var E=C[1]?"ol":"ul";return i.indentation=j+r.current().length,i.list=!0,i.quote=0,i.listStack.push(i.indentation),n.taskLists&&r.match(u,!1)&&(i.taskList=!0),i.f=i.inline,n.highlightFormatting&&(i.formatting=["list","list-"+E]),x(i)}return f&&i.indentation<=v&&(C=r.match(h,!0))?(i.quote=0,i.fencedEndRE=new RegExp(C[1]+"+ *$"),i.localMode=n.fencedCodeBlockHighlighting&&function(n){if(e.findModeByName){var r=e.findModeByName(n);r&&(n=r.mime||r.mimes[0])}var i=e.getMode(t,n);return"null"==i.name?null:i}(C[2]),i.localMode&&(i.localState=e.startState(i.localMode)),i.f=i.block=w,n.highlightFormatting&&(i.formatting="code-block"),i.code=-1,x(i)):i.setext||!(k&&y||i.quote||!1!==i.list||i.code||S||p.test(r.string))&&(C=r.lookAhead(1))&&(C=C.match(d))?(i.setext?(i.header=i.setext,i.setext=0,r.skipToEnd(),n.highlightFormatting&&(i.formatting="header")):(i.header="="==C[0].charAt(0)?1:2,i.setext=i.header),i.thisLine.header=!0,i.f=i.inline,x(i)):S?(r.skipToEnd(),i.hr=!0,i.thisLine.hr=!0,o.hr):"["===r.peek()?g(r,i,O):g(r,i,i.inline)}function v(t,n){var o=r.token(t,n.htmlState);if(!i){var s=e.innerMode(r,n.htmlState);("xml"==s.mode.name&&null===s.state.tagStart&&!s.state.context&&s.state.tokenize.isInText||n.md_inside&&t.current().indexOf(">")>-1)&&(n.f=k,n.block=y,n.htmlState=null)}return o}function w(e,t){var r,i=t.listStack[t.listStack.length-1]||0,s=t.indentation=e.quote?t.push(o.formatting+"-"+e.formatting[r]+"-"+e.quote):t.push("error"))}if(e.taskOpen)return t.push("meta"),t.length?t.join(" "):null;if(e.taskClosed)return t.push("property"),t.length?t.join(" "):null;if(e.linkHref?t.push(o.linkHref,"url"):(e.strong&&t.push(o.strong),e.em&&t.push(o.em),e.strikethrough&&t.push(o.strikethrough),e.emoji&&t.push(o.emoji),e.linkText&&t.push(o.linkText),e.code&&t.push(o.code),e.image&&t.push(o.image),e.imageAltText&&t.push(o.imageAltText,"link"),e.imageMarker&&t.push(o.imageMarker)),e.header&&t.push(o.header,o.header+"-"+e.header),e.quote&&(t.push(o.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(o.quote+"-"+e.quote):t.push(o.quote+"-"+n.maxBlockquoteDepth)),!1!==e.list){var i=(e.listStack.length-1)%3;i?1===i?t.push(o.list2):t.push(o.list3):t.push(o.list1)}return e.trailingSpaceNewLine?t.push("trailing-space-new-line"):e.trailingSpace&&t.push("trailing-space-"+(e.trailingSpace%2?"a":"b")),t.length?t.join(" "):null}function j(e,t){if(e.match(f,!0))return x(t)}function k(t,i){var s=i.text(t,i);if("undefined"!==typeof s)return s;if(i.list)return i.list=null,x(i);if(i.taskList){var a=" "===t.match(u,!0)[1];return a?i.taskOpen=!0:i.taskClosed=!0,n.highlightFormatting&&(i.formatting="task"),i.taskList=!1,x(i)}if(i.taskOpen=!1,i.taskClosed=!1,i.header&&t.match(/^#+$/,!0))return n.highlightFormatting&&(i.formatting="header"),x(i);var l=t.next();if(i.linkTitle){i.linkTitle=!1;var c=l;"("===l&&(c=")");var d="^\\s*(?:[^"+(c=(c+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1"))+"\\\\]+|\\\\\\\\|\\\\.)"+c;if(t.match(new RegExp(d),!0))return o.linkHref}if("`"===l){var f=i.formatting;n.highlightFormatting&&(i.formatting="code"),t.eatWhile("`");var h=t.current().length;if(0!=i.code||i.quote&&1!=h){if(h==i.code){var p=x(i);return i.code=0,p}return i.formatting=f,x(i)}return i.code=h,x(i)}if(i.code)return x(i);if("\\"===l&&(t.next(),n.highlightFormatting)){var g=x(i),b=o.formatting+"-escape";return g?g+" "+b:b}if("!"===l&&t.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return i.imageMarker=!0,i.image=!0,n.highlightFormatting&&(i.formatting="image"),x(i);if("["===l&&i.imageMarker&&t.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return i.imageMarker=!1,i.imageAltText=!0,n.highlightFormatting&&(i.formatting="image"),x(i);if("]"===l&&i.imageAltText){n.highlightFormatting&&(i.formatting="image");var g=x(i);return i.imageAltText=!1,i.image=!1,i.inline=i.f=C,g}if("["===l&&!i.image)return i.linkText&&t.match(/^.*?\]/)?x(i):(i.linkText=!0,n.highlightFormatting&&(i.formatting="link"),x(i));if("]"===l&&i.linkText){n.highlightFormatting&&(i.formatting="link");var g=x(i);return i.linkText=!1,i.inline=i.f=t.match(/\(.*?\)| ?\[.*?\]/,!1)?C:k,g}if("<"===l&&t.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=S,n.highlightFormatting&&(i.formatting="link");var g=x(i);return g?g+=" ":g="",g+o.linkInline}if("<"===l&&t.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=S,n.highlightFormatting&&(i.formatting="link");var g=x(i);return g?g+=" ":g="",g+o.linkEmail}if(n.xml&&"<"===l&&t.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var y=t.string.indexOf(">",t.pos);if(-1!=y){var w=t.string.substring(t.start,y);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(w)&&(i.md_inside=!0)}return t.backUp(1),i.htmlState=e.startState(r),_(t,i,v)}if(n.xml&&"<"===l&&t.match(/^\/\w*?>/))return i.md_inside=!1,"tag";if("*"===l||"_"===l){for(var j=1,E=1==t.pos?" ":t.string.charAt(t.pos-2);j<3&&t.eat(l);)j++;var O=t.peek()||" ",T=!/\s/.test(O)&&(!m.test(O)||/\s/.test(E)||m.test(E)),A=!/\s/.test(E)&&(!m.test(E)||/\s/.test(O)||m.test(O)),M=null,P=null;if(j%2&&(i.em||!T||"*"!==l&&A&&!m.test(E)?i.em!=l||!A||"*"!==l&&T&&!m.test(O)||(M=!1):M=!0),j>1&&(i.strong||!T||"*"!==l&&A&&!m.test(E)?i.strong!=l||!A||"*"!==l&&T&&!m.test(O)||(P=!1):P=!0),null!=P||null!=M){n.highlightFormatting&&(i.formatting=null==M?"strong":null==P?"em":"strong em"),!0===M&&(i.em=l),!0===P&&(i.strong=l);var p=x(i);return!1===M&&(i.em=!1),!1===P&&(i.strong=!1),p}}else if(" "===l&&(t.eat("*")||t.eat("_"))){if(" "===t.peek())return x(i);t.backUp(1)}if(n.strikethrough)if("~"===l&&t.eatWhile(l)){if(i.strikethrough){n.highlightFormatting&&(i.formatting="strikethrough");var p=x(i);return i.strikethrough=!1,p}if(t.match(/^[^\s]/,!1))return i.strikethrough=!0,n.highlightFormatting&&(i.formatting="strikethrough"),x(i)}else if(" "===l&&t.match(/^~~/,!0)){if(" "===t.peek())return x(i);t.backUp(2)}if(n.emoji&&":"===l&&t.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){i.emoji=!0,n.highlightFormatting&&(i.formatting="emoji");var L=x(i);return i.emoji=!1,L}return" "===l&&(t.match(/^ +$/,!1)?i.trailingSpace++:i.trailingSpace&&(i.trailingSpaceNewLine=!0)),x(i)}function S(e,t){var r=e.next();if(">"===r){t.f=t.inline=k,n.highlightFormatting&&(t.formatting="link");var i=x(t);return i?i+=" ":i="",i+o.linkInline}return e.match(/^[^>]+/,!0),o.linkInline}function C(e,t){if(e.eatSpace())return null;var r,i=e.next();return"("===i||"["===i?(t.f=t.inline=(r="("===i?")":"]",function(e,t){var i=e.next();if(i===r){t.f=t.inline=k,n.highlightFormatting&&(t.formatting="link-string");var o=x(t);return t.linkHref=!1,o}return e.match(E[r]),t.linkHref=!0,x(t)}),n.highlightFormatting&&(t.formatting="link-string"),t.linkHref=!0,x(t)):"error"}var E={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function O(e,t){return e.match(/^([^\]\\]|\\.)*\]:/,!1)?(t.f=T,e.next(),n.highlightFormatting&&(t.formatting="link"),t.linkText=!0,x(t)):g(e,t,k)}function T(e,t){if(e.match(/^\]:/,!0)){t.f=t.inline=A,n.highlightFormatting&&(t.formatting="link");var r=x(t);return t.linkText=!1,r}return e.match(/^([^\]\\]|\\.)+/,!0),o.linkText}function A(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),void 0===e.peek()?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),t.f=t.inline=k,o.linkHref+" url")}var M={startState:function(){return{f:y,prevLine:{stream:null},thisLine:{stream:null},block:y,htmlState:null,indentation:0,inline:k,text:j,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(t){return{f:t.f,prevLine:t.prevLine,thisLine:t.thisLine,block:t.block,htmlState:t.htmlState&&e.copyState(r,t.htmlState),indentation:t.indentation,localMode:t.localMode,localState:t.localMode?e.copyState(t.localMode,t.localState):null,inline:t.inline,text:t.text,formatting:!1,linkText:t.linkText,linkTitle:t.linkTitle,linkHref:t.linkHref,code:t.code,em:t.em,strong:t.strong,strikethrough:t.strikethrough,emoji:t.emoji,header:t.header,setext:t.setext,hr:t.hr,taskList:t.taskList,list:t.list,listStack:t.listStack.slice(0),quote:t.quote,indentedCode:t.indentedCode,trailingSpace:t.trailingSpace,trailingSpaceNewLine:t.trailingSpaceNewLine,md_inside:t.md_inside,fencedEndRE:t.fencedEndRE}},token:function(e,t){if(t.formatting=!1,e!=t.thisLine.stream){if(t.header=0,t.hr=!1,e.match(/^\s*$/,!0))return b(t),null;if(t.prevLine=t.thisLine,t.thisLine={stream:e},t.taskList=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,!t.localState&&(t.f=t.block,t.f!=v)){var n=e.match(/^\s*/,!0)[0].replace(/\t/g," ").length;if(t.indentation=n,t.indentationDiff=null,n>0)return null}}return t.f(e,t)},innerMode:function(e){return e.block==v?{state:e.htmlState,mode:r}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:M}},indent:function(t,n,i){return t.block==v&&r.indent?r.indent(t.htmlState,n,i):t.localState&&t.localMode.indent?t.localMode.indent(t.localState,n,i):e.Pass},blankLine:b,getType:x,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return M},"xml"),e.defineMIME("text/markdown","markdown"),e.defineMIME("text/x-markdown","markdown")}(n("./node_modules/codemirror/lib/codemirror.js"),n("./node_modules/codemirror/mode/xml/xml.js"),n("./node_modules/codemirror/mode/meta.js"))},"./node_modules/codemirror/mode/meta.js":function(e,t,n){!function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"null",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m","mm"],alias:["objective-c","objc"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki ",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var t=0;t-1&&t.substring(i+1,t.length);if(o)return e.findModeByExtension(o)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n")):null:e.match("--")?n(h("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(function e(t){return function(n,r){for(var i;null!=(i=n.next());){if("<"==i)return r.tokenize=e(t+1),r.tokenize(n,r);if(">"==i){if(1==t){r.tokenize=d;break}return r.tokenize=e(t-1),r.tokenize(n,r)}}return"meta"}}(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=h("meta","?>"),"meta"):(o=e.eat("/")?"closeTag":"openTag",t.tokenize=f,"tag bracket"):"&"==r?(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 f(e,t){var n,r,i=e.next();if(">"==i||"/"==i&&e.eat(">"))return t.tokenize=d,o=">"==i?"endTag":"selfcloseTag","tag bracket";if("="==i)return o="equals",null;if("<"==i){t.tokenize=d,t.state=_,t.tagName=t.tagStart=null;var s=t.tokenize(e,t);return s?s+" tag error":"tag error"}return/[\'\"]/.test(i)?(t.tokenize=(n=i,(r=function(e,t){for(;!e.eol();)if(e.next()==n){t.tokenize=f;break}return"string"}).isInAttribute=!0,r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function h(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=d;break}n.next()}return e}}function p(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 m(e){e.context&&(e.context=e.context.prev)}function g(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!l.contextGrabbers.hasOwnProperty(n)||!l.contextGrabbers[n].hasOwnProperty(t))return;m(e)}}function _(e,t,n){return"openTag"==e?(n.tagStart=t.column(),b):"closeTag"==e?y:_}function b(e,t,n){return"word"==e?(n.tagName=t.current(),s="tag",x):l.allowMissingTagName&&"endTag"==e?(s="tag bracket",x(e,0,n)):(s="error",b)}function y(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&l.implicitlyClosed.hasOwnProperty(n.context.tagName)&&m(n),n.context&&n.context.tagName==r||!1===l.matchClosing?(s="tag",v):(s="tag error",w)}return l.allowMissingTagName&&"endTag"==e?(s="tag bracket",v(e,0,n)):(s="error",w)}function v(e,t,n){return"endTag"!=e?(s="error",v):(m(n),_)}function w(e,t,n){return s="error",v(e,0,n)}function x(e,t,n){if("word"==e)return s="attribute",j;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(r)?g(n,r):(g(n,r),n.context=new p(n,r,i==n.indented)),_}return s="error",x}function j(e,t,n){return"equals"==e?k:(l.allowMissing||(s="error"),x(e,0,n))}function k(e,t,n){return"string"==e?S:"word"==e&&l.allowUnquoted?(s="string",x):(s="error",x(e,0,n))}function S(e,t,n){return"string"==e?S:x(e,0,n)}return d.isInText=!0,{startState:function(e){var t={tokenize:d,state:_,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;o=null;var n=t.tokenize(e,t);return(n||o)&&"comment"!=n&&(s=null,t.state=t.state(o||n,e,t),s&&(n="error"==s?n+" error":s)),n},indent:function(t,n,r){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=f&&t.tokenize!=d)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==l.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(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==k&&(e.state=x)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})}(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/component-props/index.js":function(e,t){var n=/\b(Array|Date|Object|Math|JSON)\b/g;e.exports=function(e,t){var r=function(e){for(var t=[],n=0;n{const t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const n=document.getSelection();let r=!1;n.rangeCount>0&&(r=n.getRangeAt(0)),document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length;let i=!1;try{i=document.execCommand("copy")}catch(o){}return document.body.removeChild(t),r&&(n.removeAllRanges(),n.addRange(r)),i})},"./node_modules/core-js/es6/index.js":function(e,t,n){n("./node_modules/core-js/modules/es6.symbol.js"),n("./node_modules/core-js/modules/es6.object.create.js"),n("./node_modules/core-js/modules/es6.object.define-property.js"),n("./node_modules/core-js/modules/es6.object.define-properties.js"),n("./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js"),n("./node_modules/core-js/modules/es6.object.get-prototype-of.js"),n("./node_modules/core-js/modules/es6.object.keys.js"),n("./node_modules/core-js/modules/es6.object.get-own-property-names.js"),n("./node_modules/core-js/modules/es6.object.freeze.js"),n("./node_modules/core-js/modules/es6.object.seal.js"),n("./node_modules/core-js/modules/es6.object.prevent-extensions.js"),n("./node_modules/core-js/modules/es6.object.is-frozen.js"),n("./node_modules/core-js/modules/es6.object.is-sealed.js"),n("./node_modules/core-js/modules/es6.object.is-extensible.js"),n("./node_modules/core-js/modules/es6.object.assign.js"),n("./node_modules/core-js/modules/es6.object.is.js"),n("./node_modules/core-js/modules/es6.object.set-prototype-of.js"),n("./node_modules/core-js/modules/es6.object.to-string.js"),n("./node_modules/core-js/modules/es6.function.bind.js"),n("./node_modules/core-js/modules/es6.function.name.js"),n("./node_modules/core-js/modules/es6.function.has-instance.js"),n("./node_modules/core-js/modules/es6.parse-int.js"),n("./node_modules/core-js/modules/es6.parse-float.js"),n("./node_modules/core-js/modules/es6.number.constructor.js"),n("./node_modules/core-js/modules/es6.number.to-fixed.js"),n("./node_modules/core-js/modules/es6.number.to-precision.js"),n("./node_modules/core-js/modules/es6.number.epsilon.js"),n("./node_modules/core-js/modules/es6.number.is-finite.js"),n("./node_modules/core-js/modules/es6.number.is-integer.js"),n("./node_modules/core-js/modules/es6.number.is-nan.js"),n("./node_modules/core-js/modules/es6.number.is-safe-integer.js"),n("./node_modules/core-js/modules/es6.number.max-safe-integer.js"),n("./node_modules/core-js/modules/es6.number.min-safe-integer.js"),n("./node_modules/core-js/modules/es6.number.parse-float.js"),n("./node_modules/core-js/modules/es6.number.parse-int.js"),n("./node_modules/core-js/modules/es6.math.acosh.js"),n("./node_modules/core-js/modules/es6.math.asinh.js"),n("./node_modules/core-js/modules/es6.math.atanh.js"),n("./node_modules/core-js/modules/es6.math.cbrt.js"),n("./node_modules/core-js/modules/es6.math.clz32.js"),n("./node_modules/core-js/modules/es6.math.cosh.js"),n("./node_modules/core-js/modules/es6.math.expm1.js"),n("./node_modules/core-js/modules/es6.math.fround.js"),n("./node_modules/core-js/modules/es6.math.hypot.js"),n("./node_modules/core-js/modules/es6.math.imul.js"),n("./node_modules/core-js/modules/es6.math.log10.js"),n("./node_modules/core-js/modules/es6.math.log1p.js"),n("./node_modules/core-js/modules/es6.math.log2.js"),n("./node_modules/core-js/modules/es6.math.sign.js"),n("./node_modules/core-js/modules/es6.math.sinh.js"),n("./node_modules/core-js/modules/es6.math.tanh.js"),n("./node_modules/core-js/modules/es6.math.trunc.js"),n("./node_modules/core-js/modules/es6.string.from-code-point.js"),n("./node_modules/core-js/modules/es6.string.raw.js"),n("./node_modules/core-js/modules/es6.string.trim.js"),n("./node_modules/core-js/modules/es6.string.iterator.js"),n("./node_modules/core-js/modules/es6.string.code-point-at.js"),n("./node_modules/core-js/modules/es6.string.ends-with.js"),n("./node_modules/core-js/modules/es6.string.includes.js"),n("./node_modules/core-js/modules/es6.string.repeat.js"),n("./node_modules/core-js/modules/es6.string.starts-with.js"),n("./node_modules/core-js/modules/es6.string.anchor.js"),n("./node_modules/core-js/modules/es6.string.big.js"),n("./node_modules/core-js/modules/es6.string.blink.js"),n("./node_modules/core-js/modules/es6.string.bold.js"),n("./node_modules/core-js/modules/es6.string.fixed.js"),n("./node_modules/core-js/modules/es6.string.fontcolor.js"),n("./node_modules/core-js/modules/es6.string.fontsize.js"),n("./node_modules/core-js/modules/es6.string.italics.js"),n("./node_modules/core-js/modules/es6.string.link.js"),n("./node_modules/core-js/modules/es6.string.small.js"),n("./node_modules/core-js/modules/es6.string.strike.js"),n("./node_modules/core-js/modules/es6.string.sub.js"),n("./node_modules/core-js/modules/es6.string.sup.js"),n("./node_modules/core-js/modules/es6.date.now.js"),n("./node_modules/core-js/modules/es6.date.to-json.js"),n("./node_modules/core-js/modules/es6.date.to-iso-string.js"),n("./node_modules/core-js/modules/es6.date.to-string.js"),n("./node_modules/core-js/modules/es6.date.to-primitive.js"),n("./node_modules/core-js/modules/es6.array.is-array.js"),n("./node_modules/core-js/modules/es6.array.from.js"),n("./node_modules/core-js/modules/es6.array.of.js"),n("./node_modules/core-js/modules/es6.array.join.js"),n("./node_modules/core-js/modules/es6.array.slice.js"),n("./node_modules/core-js/modules/es6.array.sort.js"),n("./node_modules/core-js/modules/es6.array.for-each.js"),n("./node_modules/core-js/modules/es6.array.map.js"),n("./node_modules/core-js/modules/es6.array.filter.js"),n("./node_modules/core-js/modules/es6.array.some.js"),n("./node_modules/core-js/modules/es6.array.every.js"),n("./node_modules/core-js/modules/es6.array.reduce.js"),n("./node_modules/core-js/modules/es6.array.reduce-right.js"),n("./node_modules/core-js/modules/es6.array.index-of.js"),n("./node_modules/core-js/modules/es6.array.last-index-of.js"),n("./node_modules/core-js/modules/es6.array.copy-within.js"),n("./node_modules/core-js/modules/es6.array.fill.js"),n("./node_modules/core-js/modules/es6.array.find.js"),n("./node_modules/core-js/modules/es6.array.find-index.js"),n("./node_modules/core-js/modules/es6.array.species.js"),n("./node_modules/core-js/modules/es6.array.iterator.js"),n("./node_modules/core-js/modules/es6.regexp.constructor.js"),n("./node_modules/core-js/modules/es6.regexp.to-string.js"),n("./node_modules/core-js/modules/es6.regexp.flags.js"),n("./node_modules/core-js/modules/es6.regexp.match.js"),n("./node_modules/core-js/modules/es6.regexp.replace.js"),n("./node_modules/core-js/modules/es6.regexp.search.js"),n("./node_modules/core-js/modules/es6.regexp.split.js"),n("./node_modules/core-js/modules/es6.promise.js"),n("./node_modules/core-js/modules/es6.map.js"),n("./node_modules/core-js/modules/es6.set.js"),n("./node_modules/core-js/modules/es6.weak-map.js"),n("./node_modules/core-js/modules/es6.weak-set.js"),n("./node_modules/core-js/modules/es6.typed.array-buffer.js"),n("./node_modules/core-js/modules/es6.typed.data-view.js"),n("./node_modules/core-js/modules/es6.typed.int8-array.js"),n("./node_modules/core-js/modules/es6.typed.uint8-array.js"),n("./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js"),n("./node_modules/core-js/modules/es6.typed.int16-array.js"),n("./node_modules/core-js/modules/es6.typed.uint16-array.js"),n("./node_modules/core-js/modules/es6.typed.int32-array.js"),n("./node_modules/core-js/modules/es6.typed.uint32-array.js"),n("./node_modules/core-js/modules/es6.typed.float32-array.js"),n("./node_modules/core-js/modules/es6.typed.float64-array.js"),n("./node_modules/core-js/modules/es6.reflect.apply.js"),n("./node_modules/core-js/modules/es6.reflect.construct.js"),n("./node_modules/core-js/modules/es6.reflect.define-property.js"),n("./node_modules/core-js/modules/es6.reflect.delete-property.js"),n("./node_modules/core-js/modules/es6.reflect.enumerate.js"),n("./node_modules/core-js/modules/es6.reflect.get.js"),n("./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js"),n("./node_modules/core-js/modules/es6.reflect.get-prototype-of.js"),n("./node_modules/core-js/modules/es6.reflect.has.js"),n("./node_modules/core-js/modules/es6.reflect.is-extensible.js"),n("./node_modules/core-js/modules/es6.reflect.own-keys.js"),n("./node_modules/core-js/modules/es6.reflect.prevent-extensions.js"),n("./node_modules/core-js/modules/es6.reflect.set.js"),n("./node_modules/core-js/modules/es6.reflect.set-prototype-of.js"),e.exports=n("./node_modules/core-js/modules/_core.js")},"./node_modules/core-js/fn/array/includes.js":function(e,t,n){n("./node_modules/core-js/modules/es7.array.includes.js"),e.exports=n("./node_modules/core-js/modules/_core.js").Array.includes},"./node_modules/core-js/fn/object/assign.js":function(e,t,n){n("./node_modules/core-js/modules/es6.object.assign.js"),e.exports=n("./node_modules/core-js/modules/_core.js").Object.assign},"./node_modules/core-js/fn/object/entries.js":function(e,t,n){n("./node_modules/core-js/modules/es7.object.entries.js"),e.exports=n("./node_modules/core-js/modules/_core.js").Object.entries},"./node_modules/core-js/fn/object/get-own-property-descriptors.js":function(e,t,n){n("./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js"),e.exports=n("./node_modules/core-js/modules/_core.js").Object.getOwnPropertyDescriptors},"./node_modules/core-js/fn/object/values.js":function(e,t,n){n("./node_modules/core-js/modules/es7.object.values.js"),e.exports=n("./node_modules/core-js/modules/_core.js").Object.values},"./node_modules/core-js/fn/promise/finally.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/es6.promise.js"),n("./node_modules/core-js/modules/es7.promise.finally.js"),e.exports=n("./node_modules/core-js/modules/_core.js").Promise.finally},"./node_modules/core-js/fn/string/pad-end.js":function(e,t,n){n("./node_modules/core-js/modules/es7.string.pad-end.js"),e.exports=n("./node_modules/core-js/modules/_core.js").String.padEnd},"./node_modules/core-js/fn/string/pad-start.js":function(e,t,n){n("./node_modules/core-js/modules/es7.string.pad-start.js"),e.exports=n("./node_modules/core-js/modules/_core.js").String.padStart},"./node_modules/core-js/fn/symbol/async-iterator.js":function(e,t,n){n("./node_modules/core-js/modules/es7.symbol.async-iterator.js"),e.exports=n("./node_modules/core-js/modules/_wks-ext.js").f("asyncIterator")},"./node_modules/core-js/modules/_a-function.js":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"./node_modules/core-js/modules/_a-number-value.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_cof.js");e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},"./node_modules/core-js/modules/_add-to-unscopables.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_wks.js")("unscopables"),i=Array.prototype;void 0==i[r]&&n("./node_modules/core-js/modules/_hide.js")(i,r,{}),e.exports=function(e){i[r][e]=!0}},"./node_modules/core-js/modules/_an-instance.js":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}},"./node_modules/core-js/modules/_an-object.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_is-object.js");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},"./node_modules/core-js/modules/_array-copy-within.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/modules/_to-object.js"),i=n("./node_modules/core-js/modules/_to-absolute-index.js"),o=n("./node_modules/core-js/modules/_to-length.js");e.exports=[].copyWithin||function(e,t){var n=r(this),s=o(n.length),a=i(e,s),l=i(t,s),u=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===u?s:i(u,s))-l,s-a),d=1;for(l0;)l in n?n[a]=n[l]:delete n[a],a+=d,l+=d;return n}},"./node_modules/core-js/modules/_array-fill.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/modules/_to-object.js"),i=n("./node_modules/core-js/modules/_to-absolute-index.js"),o=n("./node_modules/core-js/modules/_to-length.js");e.exports=function(e){for(var t=r(this),n=o(t.length),s=arguments.length,a=i(s>1?arguments[1]:void 0,n),l=s>2?arguments[2]:void 0,u=void 0===l?n:i(l,n);u>a;)t[a++]=e;return t}},"./node_modules/core-js/modules/_array-includes.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_to-iobject.js"),i=n("./node_modules/core-js/modules/_to-length.js"),o=n("./node_modules/core-js/modules/_to-absolute-index.js");e.exports=function(e){return function(t,n,s){var a,l=r(t),u=i(l.length),c=o(s,u);if(e&&n!=n){for(;u>c;)if((a=l[c++])!=a)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},"./node_modules/core-js/modules/_array-methods.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_ctx.js"),i=n("./node_modules/core-js/modules/_iobject.js"),o=n("./node_modules/core-js/modules/_to-object.js"),s=n("./node_modules/core-js/modules/_to-length.js"),a=n("./node_modules/core-js/modules/_array-species-create.js");e.exports=function(e,t){var n=1==e,l=2==e,u=3==e,c=4==e,d=6==e,f=5==e||d,h=t||a;return function(t,a,p){for(var m,g,_=o(t),b=i(_),y=r(a,p,3),v=s(b.length),w=0,x=n?h(t,v):l?h(t,0):void 0;v>w;w++)if((f||w in b)&&(g=y(m=b[w],w,_),e))if(n)x[w]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:x.push(m)}else if(c)return!1;return d?-1:u||c?c:x}}},"./node_modules/core-js/modules/_array-reduce.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_a-function.js"),i=n("./node_modules/core-js/modules/_to-object.js"),o=n("./node_modules/core-js/modules/_iobject.js"),s=n("./node_modules/core-js/modules/_to-length.js");e.exports=function(e,t,n,a,l){r(t);var u=i(e),c=o(u),d=s(u.length),f=l?d-1:0,h=l?-1:1;if(n<2)for(;;){if(f in c){a=c[f],f+=h;break}if(f+=h,l?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;l?f>=0:d>f;f+=h)f in c&&(a=t(a,c[f],f,u));return a}},"./node_modules/core-js/modules/_array-species-constructor.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_is-object.js"),i=n("./node_modules/core-js/modules/_is-array.js"),o=n("./node_modules/core-js/modules/_wks.js")("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},"./node_modules/core-js/modules/_array-species-create.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_array-species-constructor.js");e.exports=function(e,t){return new(r(e))(t)}},"./node_modules/core-js/modules/_bind.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/modules/_a-function.js"),i=n("./node_modules/core-js/modules/_is-object.js"),o=n("./node_modules/core-js/modules/_invoke.js"),s=[].slice,a={};e.exports=Function.bind||function(e){var t=r(this),n=s.call(arguments,1),l=function(){var r=n.concat(s.call(arguments));return this instanceof l?function(e,t,n){if(!(t in a)){for(var r=[],i=0;i1?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(e){return!!g(p(this,t),e)}}),f&&r(c.prototype,"size",{get:function(){return p(this,t)[m]}}),c},def:function(e,t,n){var r,i,o=g(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:g,setStrong:function(e,t,n){u(e,t,function(e,n){this._t=p(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),d(t)}}},"./node_modules/core-js/modules/_collection-weak.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/modules/_redefine-all.js"),i=n("./node_modules/core-js/modules/_meta.js").getWeak,o=n("./node_modules/core-js/modules/_an-object.js"),s=n("./node_modules/core-js/modules/_is-object.js"),a=n("./node_modules/core-js/modules/_an-instance.js"),l=n("./node_modules/core-js/modules/_for-of.js"),u=n("./node_modules/core-js/modules/_array-methods.js"),c=n("./node_modules/core-js/modules/_has.js"),d=n("./node_modules/core-js/modules/_validate-collection.js"),f=u(5),h=u(6),p=0,m=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},_=function(e,t){return f(e.a,function(e){return e[0]===t})};g.prototype={get:function(e){var t=_(this,e);if(t)return t[1]},has:function(e){return!!_(this,e)},set:function(e,t){var n=_(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 u=e(function(e,r){a(e,u,t,"_i"),e._t=t,e._i=p++,e._l=void 0,void 0!=r&&l(r,n,e[o],e)});return r(u.prototype,{delete:function(e){if(!s(e))return!1;var n=i(e);return!0===n?m(d(this,t)).delete(e):n&&c(n,this._i)&&delete n[this._i]},has:function(e){if(!s(e))return!1;var n=i(e);return!0===n?m(d(this,t)).has(e):n&&c(n,this._i)}}),u},def:function(e,t,n){var r=i(o(t),!0);return!0===r?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},"./node_modules/core-js/modules/_collection.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/modules/_global.js"),i=n("./node_modules/core-js/modules/_export.js"),o=n("./node_modules/core-js/modules/_redefine.js"),s=n("./node_modules/core-js/modules/_redefine-all.js"),a=n("./node_modules/core-js/modules/_meta.js"),l=n("./node_modules/core-js/modules/_for-of.js"),u=n("./node_modules/core-js/modules/_an-instance.js"),c=n("./node_modules/core-js/modules/_is-object.js"),d=n("./node_modules/core-js/modules/_fails.js"),f=n("./node_modules/core-js/modules/_iter-detect.js"),h=n("./node_modules/core-js/modules/_set-to-string-tag.js"),p=n("./node_modules/core-js/modules/_inherit-if-required.js");e.exports=function(e,t,n,m,g,_){var b=r[e],y=b,v=g?"set":"add",w=y&&y.prototype,x={},j=function(e){var t=w[e];o(w,e,"delete"==e?function(e){return!(_&&!c(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(_&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return _&&!c(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof y&&(_||w.forEach&&!d(function(){(new y).entries().next()}))){var k=new y,S=k[v](_?{}:-0,1)!=k,C=d(function(){k.has(1)}),E=f(function(e){new y(e)}),O=!_&&d(function(){for(var e=new y,t=5;t--;)e[v](t,t);return!e.has(-0)});E||((y=t(function(t,n){u(t,y,e);var r=p(new b,t,y);return void 0!=n&&l(n,g,r[v],r),r})).prototype=w,w.constructor=y),(C||O)&&(j("delete"),j("has"),g&&j("get")),(O||S)&&j(v),_&&w.clear&&delete w.clear}else y=m.getConstructor(t,e,g,v),s(y.prototype,n),a.NEED=!0;return h(y,e),x[e]=y,i(i.G+i.W+i.F*(y!=b),x),_||m.setStrong(y,e,g),y}},"./node_modules/core-js/modules/_core.js":function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},"./node_modules/core-js/modules/_create-property.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/modules/_object-dp.js"),i=n("./node_modules/core-js/modules/_property-desc.js");e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},"./node_modules/core-js/modules/_ctx.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_a-function.js");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)}}},"./node_modules/core-js/modules/_date-to-iso-string.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/modules/_fails.js"),i=Date.prototype.getTime,o=Date.prototype.toISOString,s=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(){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)+"-"+s(e.getUTCMonth()+1)+"-"+s(e.getUTCDate())+"T"+s(e.getUTCHours())+":"+s(e.getUTCMinutes())+":"+s(e.getUTCSeconds())+"."+(n>99?n:"0"+s(n))+"Z"}:o},"./node_modules/core-js/modules/_date-to-primitive.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/modules/_an-object.js"),i=n("./node_modules/core-js/modules/_to-primitive.js");e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return i(r(this),"number"!=e)}},"./node_modules/core-js/modules/_defined.js":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"./node_modules/core-js/modules/_descriptors.js":function(e,t,n){e.exports=!n("./node_modules/core-js/modules/_fails.js")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"./node_modules/core-js/modules/_dom-create.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_is-object.js"),i=n("./node_modules/core-js/modules/_global.js").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},"./node_modules/core-js/modules/_enum-bug-keys.js":function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"./node_modules/core-js/modules/_enum-keys.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_object-keys.js"),i=n("./node_modules/core-js/modules/_object-gops.js"),o=n("./node_modules/core-js/modules/_object-pie.js");e.exports=function(e){var t=r(e),n=i.f;if(n)for(var s,a=n(e),l=o.f,u=0;a.length>u;)l.call(e,s=a[u++])&&t.push(s);return t}},"./node_modules/core-js/modules/_export.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_global.js"),i=n("./node_modules/core-js/modules/_core.js"),o=n("./node_modules/core-js/modules/_hide.js"),s=n("./node_modules/core-js/modules/_redefine.js"),a=n("./node_modules/core-js/modules/_ctx.js"),l=function(e,t,n){var u,c,d,f,h=e&l.F,p=e&l.G,m=e&l.S,g=e&l.P,_=e&l.B,b=p?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,y=p?i:i[t]||(i[t]={}),v=y.prototype||(y.prototype={});for(u in p&&(n=t),n)d=((c=!h&&b&&void 0!==b[u])?b:n)[u],f=_&&c?a(d,r):g&&"function"==typeof d?a(Function.call,d):d,b&&s(b,u,d,e&l.U),y[u]!=d&&o(y,u,f),g&&v[u]!=d&&(v[u]=d)};r.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},"./node_modules/core-js/modules/_fails-is-regexp.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_wks.js")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(i){}}return!0}},"./node_modules/core-js/modules/_fails.js":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"./node_modules/core-js/modules/_fix-re-wks.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/modules/_hide.js"),i=n("./node_modules/core-js/modules/_redefine.js"),o=n("./node_modules/core-js/modules/_fails.js"),s=n("./node_modules/core-js/modules/_defined.js"),a=n("./node_modules/core-js/modules/_wks.js");e.exports=function(e,t,n){var l=a(e),u=n(s,l,""[e]),c=u[0],d=u[1];o(function(){var t={};return t[l]=function(){return 7},7!=""[e](t)})&&(i(String.prototype,e,c),r(RegExp.prototype,l,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)}))}},"./node_modules/core-js/modules/_flags.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/modules/_an-object.js");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}},"./node_modules/core-js/modules/_for-of.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_ctx.js"),i=n("./node_modules/core-js/modules/_iter-call.js"),o=n("./node_modules/core-js/modules/_is-array-iter.js"),s=n("./node_modules/core-js/modules/_an-object.js"),a=n("./node_modules/core-js/modules/_to-length.js"),l=n("./node_modules/core-js/modules/core.get-iterator-method.js"),u={},c={};(t=e.exports=function(e,t,n,d,f){var h,p,m,g,_=f?function(){return e}:l(e),b=r(n,d,t?2:1),y=0;if("function"!=typeof _)throw TypeError(e+" is not iterable!");if(o(_)){for(h=a(e.length);h>y;y++)if((g=t?b(s(p=e[y])[0],p[1]):b(e[y]))===u||g===c)return g}else for(m=_.call(e);!(p=m.next()).done;)if((g=i(m,b,p.value,t))===u||g===c)return g}).BREAK=u,t.RETURN=c},"./node_modules/core-js/modules/_global.js":function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"./node_modules/core-js/modules/_has.js":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"./node_modules/core-js/modules/_hide.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_object-dp.js"),i=n("./node_modules/core-js/modules/_property-desc.js");e.exports=n("./node_modules/core-js/modules/_descriptors.js")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"./node_modules/core-js/modules/_html.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_global.js").document;e.exports=r&&r.documentElement},"./node_modules/core-js/modules/_ie8-dom-define.js":function(e,t,n){e.exports=!n("./node_modules/core-js/modules/_descriptors.js")&&!n("./node_modules/core-js/modules/_fails.js")(function(){return 7!=Object.defineProperty(n("./node_modules/core-js/modules/_dom-create.js")("div"),"a",{get:function(){return 7}}).a})},"./node_modules/core-js/modules/_inherit-if-required.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_is-object.js"),i=n("./node_modules/core-js/modules/_set-proto.js").set;e.exports=function(e,t,n){var o,s=t.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&r(o)&&i&&i(e,o),e}},"./node_modules/core-js/modules/_invoke.js":function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},"./node_modules/core-js/modules/_iobject.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_cof.js");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},"./node_modules/core-js/modules/_is-array-iter.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_iterators.js"),i=n("./node_modules/core-js/modules/_wks.js")("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},"./node_modules/core-js/modules/_is-array.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_cof.js");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"./node_modules/core-js/modules/_is-integer.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_is-object.js"),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},"./node_modules/core-js/modules/_is-object.js":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},"./node_modules/core-js/modules/_is-regexp.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_is-object.js"),i=n("./node_modules/core-js/modules/_cof.js"),o=n("./node_modules/core-js/modules/_wks.js")("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},"./node_modules/core-js/modules/_iter-call.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_an-object.js");e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(s){var o=e.return;throw void 0!==o&&r(o.call(e)),s}}},"./node_modules/core-js/modules/_iter-create.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/modules/_object-create.js"),i=n("./node_modules/core-js/modules/_property-desc.js"),o=n("./node_modules/core-js/modules/_set-to-string-tag.js"),s={};n("./node_modules/core-js/modules/_hide.js")(s,n("./node_modules/core-js/modules/_wks.js")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(s,{next:i(1,n)}),o(e,t+" Iterator")}},"./node_modules/core-js/modules/_iter-define.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/modules/_library.js"),i=n("./node_modules/core-js/modules/_export.js"),o=n("./node_modules/core-js/modules/_redefine.js"),s=n("./node_modules/core-js/modules/_hide.js"),a=n("./node_modules/core-js/modules/_iterators.js"),l=n("./node_modules/core-js/modules/_iter-create.js"),u=n("./node_modules/core-js/modules/_set-to-string-tag.js"),c=n("./node_modules/core-js/modules/_object-gpo.js"),d=n("./node_modules/core-js/modules/_wks.js")("iterator"),f=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,p,m,g,_){l(n,t,p);var b,y,v,w=function(e){if(!f&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",j="values"==m,k=!1,S=e.prototype,C=S[d]||S["@@iterator"]||m&&S[m],E=C||w(m),O=m?j?w("entries"):E:void 0,T="Array"==t&&S.entries||C;if(T&&(v=c(T.call(new e)))!==Object.prototype&&v.next&&(u(v,x,!0),r||"function"==typeof v[d]||s(v,d,h)),j&&C&&"values"!==C.name&&(k=!0,E=function(){return C.call(this)}),r&&!_||!f&&!k&&S[d]||s(S,d,E),a[t]=E,a[x]=h,m)if(b={values:j?E:w("values"),keys:g?E:w("keys"),entries:O},_)for(y in b)y in S||o(S,y,b[y]);else i(i.P+i.F*(f||k),t,b);return b}},"./node_modules/core-js/modules/_iter-detect.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_wks.js")("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(s){}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(s){}return n}},"./node_modules/core-js/modules/_iter-step.js":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},"./node_modules/core-js/modules/_iterators.js":function(e,t){e.exports={}},"./node_modules/core-js/modules/_library.js":function(e,t){e.exports=!1},"./node_modules/core-js/modules/_math-expm1.js":function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},"./node_modules/core-js/modules/_math-fround.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_math-sign.js"),i=Math.pow,o=i(2,-52),s=i(2,-23),a=i(2,127)*(2-s),l=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=Math.abs(e),u=r(e);return ia||n!=n?u*(1/0):u*n}},"./node_modules/core-js/modules/_math-log1p.js":function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},"./node_modules/core-js/modules/_math-sign.js":function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},"./node_modules/core-js/modules/_meta.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_uid.js")("meta"),i=n("./node_modules/core-js/modules/_is-object.js"),o=n("./node_modules/core-js/modules/_has.js"),s=n("./node_modules/core-js/modules/_object-dp.js").f,a=0,l=Object.isExtensible||function(){return!0},u=!n("./node_modules/core-js/modules/_fails.js")(function(){return l(Object.preventExtensions({}))}),c=function(e){s(e,r,{value:{i:"O"+ ++a,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return u&&d.NEED&&l(e)&&!o(e,r)&&c(e),e}}},"./node_modules/core-js/modules/_microtask.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_global.js"),i=n("./node_modules/core-js/modules/_task.js").set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,l="process"==n("./node_modules/core-js/modules/_cof.js")(s);e.exports=function(){var e,t,n,u=function(){var r,i;for(l&&(r=s.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(o){throw e?n():t=void 0,o}}t=void 0,r&&r.enter()};if(l)n=function(){s.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var c=a.resolve(void 0);n=function(){c.then(u)}}else n=function(){i.call(r,u)};else{var d=!0,f=document.createTextNode("");new o(u).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},"./node_modules/core-js/modules/_new-promise-capability.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/modules/_a-function.js");function i(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 i(e)}},"./node_modules/core-js/modules/_object-assign.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/modules/_object-keys.js"),i=n("./node_modules/core-js/modules/_object-gops.js"),o=n("./node_modules/core-js/modules/_object-pie.js"),s=n("./node_modules/core-js/modules/_to-object.js"),a=n("./node_modules/core-js/modules/_iobject.js"),l=Object.assign;e.exports=!l||n("./node_modules/core-js/modules/_fails.js")(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(e,t){for(var n=s(e),l=arguments.length,u=1,c=i.f,d=o.f;l>u;)for(var f,h=a(arguments[u++]),p=c?r(h).concat(c(h)):r(h),m=p.length,g=0;m>g;)d.call(h,f=p[g++])&&(n[f]=h[f]);return n}:l},"./node_modules/core-js/modules/_object-create.js":function(e,t,n){var r=n("./node_modules/core-js/modules/_an-object.js"),i=n("./node_modules/core-js/modules/_object-dps.js"),o=n("./node_modules/core-js/modules/_enum-bug-keys.js"),s=n("./node_modules/core-js/modules/_shared-key.js")("IE_PROTO"),a=function(){},l=function(){var e,t=n("./node_modules/core-js/modules/_dom-create.js")("iframe"),r=o.length;for(t.style.display="none",n("./node_modules/core-js/modules/_html.js").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("