\"), \".\"), _react.default.createElement(_ComponentPreview.default, {\n language: \"html\",\n showCasePanel: true,\n codeFigure: true\n }, _react.default.createElement(\"blockquote\", {\n className: \"blockquote\"\n }, _react.default.createElement(\"p\", null, \"Better learn balance. Balance is key. Balance good, karate good. Everything good. Balance bad, better pack up, go home. Understand?\"), _react.default.createElement(\"footer\", null, _react.default.createElement(\"cite\", {\n title: \"The Karate Kid (1984)\"\n }, \"Mr. Miyagi\")))));\n };\n\n var BlockquotesAlignmentText = function BlockquotesAlignmentText() {\n return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(\"h3\", null, \"Alignment\"), _react.default.createElement(\"p\", null, \"Use \", _react.default.createElement(_reactRouterDom.Link, {\n to: \"/docs/utilities/text\"\n }, \"text utilities\"), \" \", _react.default.createElement(\"b\", null, \"(NOT YET IMPLEMENTED)\"), \" as needed to change the alignment of your blockquote.\"), _react.default.createElement(_ComponentPreview.default, {\n language: \"html\",\n showCasePanel: true,\n codeFigure: true\n }, _react.default.createElement(\"blockquote\", {\n className: \"blockquote text-center\"\n }, _react.default.createElement(\"p\", null, \"It\\u2019s the ship that made the Kessel run in less than twelve parsecs. I\\u2019ve outrun Imperial starships. Not the local bulk cruisers, mind you. I\\u2019m talking about the big Corellian ships, now. She\\u2019s fast enough for you, old man.\"), _react.default.createElement(\"footer\", null, _react.default.createElement(\"cite\", {\n title: \"Star Wars: Episode IV - A New Hope (1977)\"\n }, \"Han Solo\")))));\n };\n\n return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(BlockquotesText, null), _react.default.createElement(BlockquoteWithSourceText, null), _react.default.createElement(BlockquotesAlignmentText, null));\n};\n\nexports.Blockquotes = Blockquotes;\n\nvar TypographyText = function TypographyText() {\n return _react.default.createElement(\"div\", {\n className: \"col-md-12 col-lg-10 doc-body\"\n }, _react.default.createElement(\"p\", {\n className: \"lead\"\n }, \"Documentation and examples for PayEx DesignGuide typography.\"), _react.default.createElement(Fonts, null), _react.default.createElement(Headings, null), _react.default.createElement(Small, null), _react.default.createElement(Lead, null), _react.default.createElement(Inline, null), _react.default.createElement(TextUtilities, null), _react.default.createElement(Abbreviations, null), _react.default.createElement(Blockquotes, null));\n};\n\nexports.TypographyText = TypographyText;\n\nvar Typography = function Typography() {\n return _react.default.createElement(\"div\", {\n className: \"doc-container\"\n }, _react.default.createElement(\"div\", {\n className: \"row\"\n }, _react.default.createElement(TypographyText, null), _react.default.createElement(_DocToc.default, {\n component: TypographyText\n })));\n};\n\nvar _default = Typography;\n/* for testing */\n\nexports.default = _default;\n\n/***/ }),\n\n/***/ \"./src/App/Documentation/getting-started/BrowserSupport/BrowserIcons.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Safari = exports.Opera = exports.InternetExplorer = exports.Firefox = exports.Edge = exports.Chrome = void 0;\n\nvar _react = _interopRequireDefault(__webpack_require__(\"./node_modules/react/index.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Chrome = function Chrome() {\n return _react.default.createElement(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 496 512\"\n }, _react.default.createElement(\"title\", {\n id: \"fa-chrome\"\n }, \"Google Chrome\"), _react.default.createElement(\"path\", {\n d: \"M131.5 217.5L55.1 100.1c47.6-59.2 119-91.8 192-92.1 42.3-.3 85.5 10.5 124.8 33.2 43.4 25.2 76.4 61.4 97.4 103L264 133.4c-58.1-3.4-113.4 29.3-132.5 84.1zm32.9 38.5c0 46.2 37.4 83.6 83.6 83.6s83.6-37.4 83.6-83.6-37.4-83.6-83.6-83.6-83.6 37.3-83.6 83.6zm314.9-89.2L339.6 174c37.9 44.3 38.5 108.2 6.6 157.2L234.1 503.6c46.5 2.5 94.4-7.7 137.8-32.9 107.4-62 150.9-192 107.4-303.9zM133.7 303.6L40.4 120.1C14.9 159.1 0 205.9 0 256c0 124 90.8 226.7 209.5 244.9l63.7-124.8c-57.6 10.8-113.2-20.8-139.5-72.5z\"\n }));\n};\n\nexports.Chrome = Chrome;\n\nvar Edge = function Edge() {\n return _react.default.createElement(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 512 512\"\n }, _react.default.createElement(\"title\", {\n id: \"fa-edge\"\n }, \"Microsoft Edge\"), _react.default.createElement(\"path\", {\n d: \"M25.714 228.163c.111-.162.23-.323.342-.485-.021.162-.045.323-.065.485h-.277zm460.572 15.508c0-44.032-7.754-84.465-28.801-122.405C416.498 47.879 343.912 8.001 258.893 8.001 118.962 7.724 40.617 113.214 26.056 227.679c42.429-61.312 117.073-121.376 220.375-124.966 0 0 109.666 0 99.419 104.957H169.997c6.369-37.386 18.554-58.986 34.339-78.926-75.048 34.893-121.85 96.096-120.742 188.315.83 71.448 50.124 144.836 120.743 171.976 83.357 31.847 192.776 7.2 240.132-21.324V363.307c-80.864 56.494-270.871 60.925-272.255-67.572h314.073v-52.064z\"\n }));\n};\n\nexports.Edge = Edge;\n\nvar Firefox = function Firefox() {\n return _react.default.createElement(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 480 512\"\n }, _react.default.createElement(\"title\", {\n id: \"fa-firefox\"\n }, \"Mozilla Firefox\"), _react.default.createElement(\"path\", {\n d: \"M478.1 235.3c-.7-4.5-1.4-7.1-1.4-7.1s-1.8 2-4.7 5.9c-.9-10.7-2.8-21.2-5.8-31.6-3.7-12.9-8.5-25.4-14.5-37.4-3.8-8-8.2-15.6-13.3-22.8-1.8-2.7-3.7-5.4-5.6-7.9-8.8-14.4-19-23.3-30.7-40-7.6-12.8-12.9-26.9-15.4-41.6-3.2 8.9-5.7 18-7.4 27.3-12.1-12.2-22.5-20.8-28.9-26.7C319.4 24.2 323 9.1 323 9.1S264.7 74.2 289.9 142c8.7 23 23.8 43.1 43.4 57.9 24.4 20.2 50.8 36 64.7 76.6-11.2-21.3-28.1-39.2-48.8-51.5 6.2 14.7 9.4 30.6 9.3 46.5 0 61-49.6 110.5-110.6 110.4-8.3 0-16.5-.9-24.5-2.8-9.5-1.8-18.7-4.9-27.4-9.3-12.9-7.8-24-18.1-32.8-30.3l-.2-.3 2 .7c4.6 1.6 9.2 2.8 14 3.7 18.7 4 38.3 1.7 55.6-6.6 17.5-9.7 28-16.9 36.6-14h.2c8.4 2.7 15-5.5 9-14-10.4-13.4-27.4-20-44.2-17-17.5 2.5-33.5 15-56.4 2.9-1.5-.8-2.9-1.6-4.3-2.5-1.6-.9 4.9 1.3 3.4.3-5-2.5-9.8-5.4-14.4-8.6-.3-.3 3.5 1.1 3.1.8-5.9-4-11-9.2-15-15.2-4.1-7.4-4.5-16.4-1-24.1 2.1-3.8 5.4-6.9 9.3-8.7 3 1.5 4.8 2.6 4.8 2.6s-1.3-2.5-2.1-3.8c.3-.1.5 0 .8-.2 2.6 1.1 8.3 4 11.4 5.8 2.1 1.1 3.8 2.7 5.2 4.7 0 0 1-.5.3-2.7-1.1-2.7-2.9-5-5.4-6.6h.2c2.3 1.2 4.5 2.6 6.6 4.1 1.9-4.4 2.8-9.2 2.6-14 .2-2.6-.2-5.3-1.1-7.8-.8-1.6.5-2.2 1.9-.5-.2-1.3-.7-2.5-1.2-3.7v-.1s.8-1.1 1.2-1.5c1-1 2.1-1.9 3.4-2.7 7.2-4.5 14.8-8.4 22.7-11.6 6.4-2.8 11.7-4.9 12.8-5.6 1.6-1 3.1-2.2 4.5-3.5 5.3-4.5 9-10.8 10.2-17.7.1-.9.2-1.8.3-2.8v-1.5c-.9-3.5-6.9-6.1-38.4-9.1-11.1-1.8-20-10.1-22.5-21.1v.1c-.4 1.1-.9 2.3-1.3 3.5.4-1.2.8-2.3 1.3-3.5v-.2c6-15.7 16.8-29.1 30.8-38.3.8-.7-3.2.2-2.4-.5 2.7-1.3 5.4-2.5 8.2-3.5 1.4-.6-6-3.4-12.6-2.7-4 .2-8 1.2-11.7 2.8 1.6-1.3 6.2-3.1 5.1-3.1-8.4 1.6-16.5 4.7-23.9 9 0-.8.1-1.5.5-2.2-5.9 2.5-11 6.5-15 11.5.1-.9.2-1.8.2-2.7-2.7 2-5.2 4.3-7.3 6.9l-.1.1c-17.4-6.7-36.3-8.3-54.6-4.7l-.2-.1h.2c-3.8-3.1-7.1-6.7-9.7-10.9l-.2.1-.4-.2c-1.2-1.8-2.4-3.8-3.7-6-.9-1.6-1.8-3.4-2.7-5.2 0-.1-.1-.2-.2-.2-.4 0-.6 1.7-.9 1.3v-.1c-3.2-8.3-4.7-17.2-4.4-26.2l-.2.1c-5.1 3.5-9 8.6-11.1 14.5-.9 2.1-1.6 3.3-2.2 4.5v-.5c.1-1.1.6-3.3.5-3.1-.1.2-.2.3-.3.4-1.5 1.7-2.9 3.7-3.9 5.8-.9 1.9-1.7 3.9-2.3 5.9-.1.3 0-.3 0-1s.1-2 0-1.7l-.3.7c-6.7 14.9-10.9 30.8-12.4 47.1-.4 2.8-.6 5.6-.5 8.3v.2c-4.8 5.2-9 11-12.7 17.1-12.1 20.4-21.1 42.5-26.8 65.6 4-8.8 8.8-17.2 14.3-25.1C5.5 228.5 0 257.4 0 286.6c1.8-8.6 4.2-17 7-25.3-1.7 34.5 4.9 68.9 19.4 100.3 19.4 43.5 51.6 80 92.3 104.7 16.6 11.2 34.7 19.9 53.8 25.8 2.5.9 5.1 1.8 7.7 2.7-.8-.3-1.6-.7-2.4-1 22.6 6.8 46.2 10.3 69.8 10.3 83.7 0 111.3-31.9 113.8-35 4.1-3.7 7.5-8.2 9.9-13.3 1.6-.7 3.2-1.4 4.9-2.1l1-.5 1.9-.9c12.6-5.9 24.5-13.4 35.3-22.1 16.3-11.7 27.9-28.7 32.9-48.1 3-7.1 3.1-15 .4-22.2.9-1.4 1.7-2.8 2.7-4.3 18-28.9 28.2-61.9 29.6-95.9v-2.8c0-7.3-.6-14.5-1.9-21.6z\"\n }));\n};\n\nexports.Firefox = Firefox;\n\nvar InternetExplorer = function InternetExplorer() {\n return _react.default.createElement(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 512 512\"\n }, _react.default.createElement(\"title\", {\n id: \"fa-internet-explorer\"\n }, \"Internet Explorer\"), _react.default.createElement(\"path\", {\n d: \"M483.049 159.706c10.855-24.575 21.424-60.438 21.424-87.871 0-72.722-79.641-98.371-209.673-38.577-107.632-7.181-211.221 73.67-237.098 186.457 30.852-34.862 78.271-82.298 121.977-101.158C125.404 166.85 79.128 228.002 43.992 291.725 23.246 329.651 0 390.94 0 436.747c0 98.575 92.854 86.5 180.251 42.006 31.423 15.43 66.559 15.573 101.695 15.573 97.124 0 184.249-54.294 216.814-146.022H377.927c-52.509 88.593-196.819 52.996-196.819-47.436H509.9c6.407-43.581-1.655-95.715-26.851-141.162zM64.559 346.877c17.711 51.15 53.703 95.871 100.266 123.304-88.741 48.94-173.267 29.096-100.266-123.304zm115.977-108.873c2-55.151 50.276-94.871 103.98-94.871 53.418 0 101.981 39.72 103.981 94.871H180.536zm184.536-187.6c21.425-10.287 48.563-22.003 72.558-22.003 31.422 0 54.274 21.717 54.274 53.722 0 20.003-7.427 49.007-14.569 67.867-26.28-42.292-65.986-81.584-112.263-99.586z\"\n }));\n};\n\nexports.InternetExplorer = InternetExplorer;\n\nvar Opera = function Opera() {\n return _react.default.createElement(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 496 512\"\n }, _react.default.createElement(\"title\", {\n id: \"fa-opera\"\n }, \"Opera\"), _react.default.createElement(\"path\", {\n d: \"M313.9 32.7c-170.2 0-252.6 223.8-147.5 355.1 36.5 45.4 88.6 75.6 147.5 75.6 36.3 0 70.3-11.1 99.4-30.4-43.8 39.2-101.9 63-165.3 63-3.9 0-8 0-11.9-.3C104.6 489.6 0 381.1 0 248 0 111 111 0 248 0h.8c63.1.3 120.7 24.1 164.4 63.1-29-19.4-63.1-30.4-99.3-30.4zm101.8 397.7c-40.9 24.7-90.7 23.6-132-5.8 56.2-20.5 97.7-91.6 97.7-176.6 0-84.7-41.2-155.8-97.4-176.6 41.8-29.2 91.2-30.3 132.9-5 105.9 98.7 105.5 265.7-1.2 364z\"\n }));\n};\n\nexports.Opera = Opera;\n\nvar Safari = function Safari() {\n return _react.default.createElement(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 512 512\"\n }, _react.default.createElement(\"title\", {\n id: \"fa-safari\"\n }, \"Apple Safari\"), _react.default.createElement(\"path\", {\n d: \"M236.9 256.8c0-9.1 6.6-17.7 16.3-17.7 8.9 0 17.4 6.4 17.4 16.1 0 9.1-6.4 17.7-16.1 17.7-9 0-17.6-6.7-17.6-16.1zM504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-26.6 0c0-122.3-99.1-221.4-221.4-221.4S34.6 133.7 34.6 256 133.7 477.4 256 477.4 477.4 378.3 477.4 256zm-72.5 96.6c0 3.6 13 10.2 16.3 12.2-27.4 41.5-69.8 71.4-117.9 83.3l-4.4-18.5c-.3-2.5-1.9-2.8-4.2-2.8-1.9 0-3 2.8-2.8 4.2l4.4 18.8c-13.3 2.8-26.8 4.2-40.4 4.2-36.3 0-72-10.2-103-29.1 1.7-2.8 12.2-18 12.2-20.2 0-1.9-1.7-3.6-3.6-3.6-3.9 0-12.2 16.6-14.7 19.9-41.8-27.7-72-70.6-83.6-119.6l19.1-4.2c2.2-.6 2.8-2.2 2.8-4.2 0-1.9-2.8-3-4.4-2.8L62 294.5c-2.5-12.7-3.9-25.5-3.9-38.5 0-37.1 10.5-73.6 30.2-104.9 2.8 1.7 16.1 10.8 18.3 10.8 1.9 0 3.6-1.4 3.6-3.3 0-3.9-14.7-11.3-18-13.6 28.2-41.2 71.1-70.9 119.8-81.9l4.2 18.5c.6 2.2 2.2 2.8 4.2 2.8s3-2.8 2.8-4.4L219 61.7c12.2-2.2 24.6-3.6 37.1-3.6 37.1 0 73.3 10.5 104.9 30.2-1.9 2.8-10.8 15.8-10.8 18 0 1.9 1.4 3.6 3.3 3.6 3.9 0 11.3-14.4 13.3-17.7 41 27.7 70.3 70 81.7 118.2l-15.5 3.3c-2.5.6-2.8 2.2-2.8 4.4 0 1.9 2.8 3 4.2 2.8l15.8-3.6c2.5 12.7 3.9 25.7 3.9 38.7 0 36.3-10 72-28.8 102.7-2.8-1.4-14.4-9.7-16.6-9.7-2.1 0-3.8 1.7-3.8 3.6zm-33.2-242.2c-13 12.2-134.2 123.7-137.6 129.5l-96.6 160.5c12.7-11.9 134.2-124 137.3-129.3l96.9-160.7z\"\n }));\n};\n\nexports.Safari = Safari;\n\n/***/ }),\n\n/***/ \"./src/App/Documentation/getting-started/BrowserSupport/index.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(__webpack_require__(\"./node_modules/react/index.js\"));\n\nvar _BrowserIcons = __webpack_require__(\"./src/App/Documentation/getting-started/BrowserSupport/BrowserIcons.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar BrowserSupport = function BrowserSupport() {\n return _react.default.createElement(\"div\", {\n className: \"doc-container\"\n }, _react.default.createElement(\"div\", {\n className: \"row\"\n }, _react.default.createElement(\"div\", {\n className: \"col-md-12\"\n }, _react.default.createElement(\"p\", {\n className: \"lead\"\n }, \"Currently supported browsers:\"), _react.default.createElement(\"table\", {\n className: \"browser-support-table table\"\n }, _react.default.createElement(\"thead\", null, _react.default.createElement(\"tr\", null, _react.default.createElement(\"th\", null, _react.default.createElement(_BrowserIcons.Chrome, null)), _react.default.createElement(\"th\", null, _react.default.createElement(_BrowserIcons.Firefox, null)), _react.default.createElement(\"th\", null, _react.default.createElement(_BrowserIcons.Edge, null)), _react.default.createElement(\"th\", null, _react.default.createElement(_BrowserIcons.InternetExplorer, null)), _react.default.createElement(\"th\", null, _react.default.createElement(_BrowserIcons.Opera, null)), _react.default.createElement(\"th\", null, _react.default.createElement(_BrowserIcons.Safari, null)))), _react.default.createElement(\"tbody\", null, _react.default.createElement(\"tr\", null, _react.default.createElement(\"td\", {\n className: \"background-brand\"\n }, \"Yes (v.66)\"), _react.default.createElement(\"td\", {\n className: \"background-warning\"\n }, \"Partially\"), _react.default.createElement(\"td\", {\n className: \"background-warning\"\n }, \"Partially\"), _react.default.createElement(\"td\", {\n className: \"background-warning\"\n }, \"Partially\"), _react.default.createElement(\"td\", {\n className: \"background-warning\"\n }, \"Partially\"), _react.default.createElement(\"td\", {\n className: \"background-warning\"\n }, \"Partially\")))))));\n};\n\nvar _default = BrowserSupport;\nexports.default = _default;\n\n/***/ }),\n\n/***/ \"./src/App/Documentation/getting-started/Contributing/index.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ContributingText = exports.AddingJavaScript = exports.AddingStyles = exports.AddComponentToRoutes = exports.CreateADocumentationPage = exports.CreatingYourComponent = exports.default = void 0;\n\nvar _react = _interopRequireDefault(__webpack_require__(\"./node_modules/react/index.js\"));\n\nvar _reactPrism = _interopRequireDefault(__webpack_require__(\"./node_modules/react-prism/lib/index.js\"));\n\nvar _ComponentPreview = _interopRequireDefault(__webpack_require__(\"./src/App/Documentation/utils/ComponentPreview.js\"));\n\nvar _DocToc = _interopRequireDefault(__webpack_require__(\"./src/App/Documentation/utils/DocToc.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar CreatingYourComponent = function CreatingYourComponent() {\n return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(\"h2\", {\n id: \"creating-your-component\"\n }, \"Creating your component\"), _react.default.createElement(\"p\", null, \"Create a new file under \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"./src/App/components/[MyExampleComponent]/\"), \" for your component, name it \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"index.js\"), \":\"), _react.default.createElement(_ComponentPreview.default, {\n language: \"javascript\",\n codeFigure: true\n }, \"//example component\\n\\n\", \"import React from \\\"react\\\";\", \"import PropTypes from \\\"prop-types\\\";\\n\\n\", \"const MyExampleComponent = ({ type, title, separator }) => (\\n\", \"\\n\", \"
{title} \\n\", \" {separator ? : null}\\n\", \" This is my example component in a well.\\n\", \" \\n\", \");\\n\\n\", \"MyExampleComponent.propTypes = {\\n\", \"type: PropTypes.oneOf([\\\"light\\\", \\\"dark\\\"]).isRequired,\", \"title: PropTypes.string.isRequired,\", \"separator: PropTypes.bool\", \"};\\n\\n\", \"export default MyExampleComponent;\"));\n};\n\nexports.CreatingYourComponent = CreatingYourComponent;\n\nvar CreateADocumentationPage = function CreateADocumentationPage() {\n return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(\"h2\", {\n id: \"create-a-documentation-page\"\n }, \"Create a documentation page\"), _react.default.createElement(\"p\", null, \"Create a new file under \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"./src/App/Documentation/Components/[MyExampleDocumentationComponent]/\"), \" for your component, call it \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"index.js\"), \":\"), _react.default.createElement(_ComponentPreview.default, {\n language: \"javascript\",\n codeFigure: true\n }, \"//example documentation component\\n\\n\", \"import React from \\\"react\\\";\\n\\n\", \"import ComponentPreview from \\\"../../utils/ComponentPreview\\\";\", \"import ComponentPreview from \\\"../../utils/DocToc\\\";\", \"import MyExampleComponent from \\\"../../../components/MyExampleComponent\\\";\\n\\n\", \"const MyExampleDocumentationComponentText = () => (\\n\", \" \\n\", \"
This is the documentation for My Example Component.
\\n\", \"
Example usage \\n\", \"
\\n\", \" \\n\", \" \\n\", \"
\\n\", \");\\n\\n\", \"const MyExampleDocumentationComponent = () => (\\n\", \" \\n\", \"
\\n\", \" \\n\", \" \\n\", \"
\\n\", \"
\\n\", \");\\n\\n\", \"export default MyExampleDocumentationComponent;\"), _react.default.createElement(\"p\", null, \"Use the custom \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"ComponentPreview\"), \" component to preview your component. It has three props, \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"language\"), \", \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"showCasePanel\"), \" and \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"codeFigure\"), \", for this example we are goin to be using all three.\"), _react.default.createElement(\"p\", null, \"We are also using the `DocToc` component to add a dynamic table of contents to the documentation of your component. This component scans the provided component for \", _react.default.createElement(_reactPrism.default, {\n className: \"language-html\"\n }, \"\"), \"-tags and creates anchors for easier navigation. Just remember to add an id to the \", _react.default.createElement(_reactPrism.default, {\n className: \"language-html\"\n }, \"\"), \"-tag.\"));\n};\n\nexports.CreateADocumentationPage = CreateADocumentationPage;\n\nvar AddComponentToRoutes = function AddComponentToRoutes() {\n return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(\"h2\", {\n id: \"add-component-to-routes\"\n }, \"Add component to routes\"), _react.default.createElement(\"p\", null, \"In \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"./src/App/routes/docs.js\"), \" under the components object add the following:\"), _react.default.createElement(_ComponentPreview.default, {\n language: \"javascript\",\n codeFigure: true\n }, \"/**\\n\", \" * Components\\n\", \" */\\n\", \"{\\n\", \" title: \\\"Components\\\",\\n\", \" path: \\\"/docs/components\\\",\\n\", \" redirect: \\\"/docs/components/alerts\\\",\\n\", \" routes: [\\n\", \" ...\\n\", \" ...\\n\", \" // ADD THIS\\n\", \" {\\n\", \" title: \\\"My Example Documentation Component\\\",\\n\", \" path: \\\"/docs/components/my-example-documentation-component\\\",\\n\", \" component: require(\\\"../Documentation/Components/MyExampleDocumentationComponent\\\")\\n\", \" },\\n\", \" ...\\n\", \" ...\\n\", \" ]\\n\", \"},\\n\"), _react.default.createElement(\"p\", null, \"You will now be able to go to the route you provided to preview your component. Run \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"npm start\"), \" if you haven\", \"'\", \"t already done so, and navigate to \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"localhost:3000/docs/components/my-example-documentation-component\"), \" to see your component in action.\"));\n};\n\nexports.AddComponentToRoutes = AddComponentToRoutes;\n\nvar AddingStyles = function AddingStyles() {\n var ImportingTheStyles = function ImportingTheStyles() {\n return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(\"h3\", null, \"Importing the styles\"), _react.default.createElement(\"p\", null, \"Import it in the appropriate root-file (\", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"px.less\"), \" for the core styles, under \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"/themes\"), \" if the component is going to be part of a specific theme).\"), _react.default.createElement(\"p\", null, \"Assuming you are creating a core component the import would look like this:\"), _react.default.createElement(_ComponentPreview.default, {\n language: \"css\",\n codeFigure: true\n }, \"// px.less\\n\", \"...\\n\", \"...\\n\\n\", \"// Components\\n\", \"...\\n\", \"...\\n\", \"@import \\\"components/my-example-component\\\";\\n\", \"...\"));\n };\n\n var CreatingVariables = function CreatingVariables() {\n return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(\"h3\", null, \"Creating variables\"), _react.default.createElement(\"p\", null, \"To add custom variables to your component modify \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"./src/less/_variables.less\"), \", and add a section for your component. Add it alphabetically and update the table of contents.\"), _react.default.createElement(\"p\", null, \"Adding a section should look like this:\"), _react.default.createElement(_ComponentPreview.default, {\n language: \"css\",\n codeFigure: true\n }, \"// _variables.less\\n\\n\", \"// [number]. My Example Component\\n\", \"// ==========================================================================\\n\\n\", \"@my-example-component-color: @gray-3;\\n\", \"@my-example-component-background: @gray-8;\\n\", \"@my-example-component-padding: 1rem;\\n\", \"@my-example-component-font-family: \\\"Arial\\\";\\n\"));\n };\n\n return _react.default.createElement(\"div\", null, _react.default.createElement(\"h2\", {\n id: \"adding-styles\"\n }, \"Adding styles\"), _react.default.createElement(\"p\", null, \"To add styling for your component create a new file in \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"./src/less/components/\"), \", name it \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"my-example-component.less\"), \".\"), _react.default.createElement(ImportingTheStyles, null), _react.default.createElement(CreatingVariables, null), _react.default.createElement(\"p\", null, \"Your the styles for \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"MyExampleComponent\"), \" should now be included properly, and you should see changes immediatly while running dev.\"), _react.default.createElement(\"p\", null, \"When writing styles for your component, try to use \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"rem\"), \" (\", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"1rem\"), \" = ~\", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"16px\"), \") and the predefined variables (only if it makes sense of course) as much as possible. And follow the linting rules set by \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"./.stylelintrc\"), \".\"));\n};\n\nexports.AddingStyles = AddingStyles;\n\nvar AddingJavaScript = function AddingJavaScript() {\n var CreateAScriptFile = function CreateAScriptFile() {\n return _react.default.createElement(\"div\", null, _react.default.createElement(\"h3\", null, \"Create a script file for your component\"), _react.default.createElement(\"p\", null, \"Create a new file under \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"./src/px-script/[MyExampleComponent]/\"), \" for your component, name it \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"index.js\"), \":\"), _react.default.createElement(_ComponentPreview.default, {\n language: \"javascript\",\n codeFigure: true\n }, \"const int = () => {\\n\", \"alert(\\\"MyExampleComponent was initialized\\\");\\n\", \"};\\n\\n\", \"const MyExampleComponent = {\\n\", \"init\\n\", \"};\\n\\n\", \"export default MyExampleComponent;\"), _react.default.createElement(\"p\", null, \"Note: All essential functionality for your component needs to be called within the \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"init\"), \" method.\"));\n };\n\n var AddScriptToPX = function AddScriptToPX() {\n return _react.default.createElement(\"div\", null, _react.default.createElement(\"h3\", null, \"Add your components script to px-script\"), _react.default.createElement(\"p\", null, \"Open \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"./src/px-script/index.js\"), \" and add your component:\"), _react.default.createElement(_ComponentPreview.default, {\n language: \"javascript\",\n codeFigure: true\n }, \"...\\n\", \"import MyExampleComponent from \\\"./MyExampleComponent\\\";\\n\", \"...\\n\", \"const px = {\\n\", \"...\\n\", \"MyExampleComponent,\\n\", \"...\\n\", \"};\\n\\n\", \"...\\n\", \"export { ... MyExampleComponent, ... }\\n\"));\n };\n\n var InitializingTheScript = function InitializingTheScript() {\n return _react.default.createElement(\"div\", null, _react.default.createElement(\"h2\", null, \"Initializing the script in the documentation\"), _react.default.createElement(\"p\", null, \"Considering the documentation is built in react your documentation component will load after \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"px-script\"), \" runs it\", \"'\", \"s \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"initAll\"), \" method, you will need to run your component\", \"'\", \"s init method when the component actually renders.\"), _react.default.createElement(\"p\", null, \"You can do this by slightly modifying the \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"MyExampleDocumentationComponent\"), \":\"), _react.default.createElement(_ComponentPreview.default, {\n language: \"javascript\",\n codeFigure: true\n }, \"//example documentation component\\n\\n\", \"// change this line\\n\", \"import React, { Component } from \\\"react\\\";\\n\", \"...\\n\", \"// import your components script\\n\", \"import { MyExampleComponent } from \\\"../../../../px-script\\\";\\n\\n\", \"...\\n\", \"...\\n\", \"// modify MyExampleDocumentationComponent\\n\", \"class MyExampleDocumentationComponent extends Component {\\n\", \"componentDidMount () {\\n\", \"MyExampleComponent.init();\\n\", \"}\\n\\n\", \"render() {\\n\", \"return (\\n\", \"\\n\", \"\\t\\t\\t\\t
\\n\", \"\\t\\t\\t\\t\\t \\n\", \"\\t\\t\\t\\t\\t \\n\", \"\\t\\t\\t\\t
\\n\", \"\\t\\t\\t
\\n\", \")\\n\", \"}\\n\", \"}\\n\"));\n };\n\n return _react.default.createElement(\"div\", null, _react.default.createElement(\"h2\", {\n id: \"adding-javascript\"\n }, \"Adding javascript\"), _react.default.createElement(\"p\", null, \"If your component needs javascript to run, you will need to add the javascript to the \", _react.default.createElement(\"code\", {\n className: \"token property\"\n }, \"px-script\")), _react.default.createElement(CreateAScriptFile, null), _react.default.createElement(AddScriptToPX, null), _react.default.createElement(InitializingTheScript, null));\n};\n\nexports.AddingJavaScript = AddingJavaScript;\n\nvar ContributingText = function ContributingText() {\n return _react.default.createElement(\"div\", {\n className: \"col-md-12 col-lg-10\"\n }, _react.default.createElement(\"p\", {\n className: \"lead\"\n }, \"To create a new component\"), _react.default.createElement(CreatingYourComponent, null), _react.default.createElement(CreateADocumentationPage, null), _react.default.createElement(AddComponentToRoutes, null), _react.default.createElement(AddingStyles, null), _react.default.createElement(AddingJavaScript, null));\n};\n\nexports.ContributingText = ContributingText;\n\nvar Contributing = function Contributing() {\n return _react.default.createElement(\"div\", {\n className: \"doc-container\"\n }, _react.default.createElement(\"div\", {\n className: \"row\"\n }, _react.default.createElement(ContributingText, null), _react.default.createElement(_DocToc.default, {\n component: ContributingText\n })));\n};\n\nvar _default = Contributing;\n/* for testing */\n\nexports.default = _default;\n\n/***/ }),\n\n/***/ \"./src/App/Documentation/getting-started/Introduction/index.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.IntroductionText = exports.StarterTemplate = exports.JavaScript = exports.Css = exports.QuickStart = exports.default = void 0;\n\nvar _react = _interopRequireDefault(__webpack_require__(\"./node_modules/react/index.js\"));\n\nvar _reactPrism = _interopRequireDefault(__webpack_require__(\"./node_modules/react-prism/lib/index.js\"));\n\nvar _ComponentPreview = _interopRequireDefault(__webpack_require__(\"./src/App/Documentation/utils/ComponentPreview.js\"));\n\nvar _DocToc = _interopRequireDefault(__webpack_require__(\"./src/App/Documentation/utils/DocToc.js\"));\n\nvar _package = _interopRequireDefault(__webpack_require__(\"./package.json\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar version = _package.default.version;\nvar scriptUrl = \"https://design.payex.com/\".concat(version, \"/scripts/px-script.js\");\nvar styleUrl = \"https://design.payex.com/\".concat(version, \"/styles/px.css\");\n\nvar QuickStart = function QuickStart() {\n return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(\"h2\", {\n id: \"quick-start\"\n }, \"Quick start\"), _react.default.createElement(\"p\", null, \"To quickly add the designguide to your project, include the snippets below in your project.\"));\n};\n\nexports.QuickStart = QuickStart;\n\nvar Css = function Css() {\n return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(\"h2\", {\n id: \"css\"\n }, \"CSS\"), _react.default.createElement(\"p\", null, \"Copy-paste the stylesheet \", _react.default.createElement(_reactPrism.default, {\n className: \"language-html\"\n }, \" \"), \" into your \", _react.default.createElement(_reactPrism.default, {\n className: \"language-html\"\n }, \"\"), \" before all other stylesheets to load our CSS.\"), _react.default.createElement(_ComponentPreview.default, {\n language: \"html\",\n codeFigure: true\n }, _react.default.createElement(\"link\", {\n rel: \"stylesheet\",\n href: styleUrl\n })));\n};\n\nexports.Css = Css;\n\nvar JavaScript = function JavaScript() {\n return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(\"h2\", {\n id: \"javascript\"\n }, \"JavaScript\"), _react.default.createElement(\"p\", null, \"Many of our components require the use of JavaScript to function. Place the following \", _react.default.createElement(_reactPrism.default, {\n className: \"language-html\"\n }, \"\r\n \r\n >\r\n);\r\n\r\nconst StarterTemplate = () => (\r\n <>\r\n Starter template \r\n As a starting point you can use the following template
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n Hello, PayEx! \r\n \r\n \r\n Hello, PayEx! \r\n \r\n \r\n \r\n \r\n >\r\n);\r\n\r\nconst IntroductionText = () => (\r\n \r\n
Get started with the PayEx DesignGuide.
\r\n
\r\n
\r\n
\r\n {/*
*/}\r\n
\r\n);\r\n\r\nconst Introduction = () => (\r\n \r\n);\r\n\r\nexport default Introduction;\r\n\r\n/* for testing */\r\nexport { QuickStart, Css, JavaScript, StarterTemplate, IntroductionText };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/Documentation/getting-started/Introduction/index.js","import React from \"react\";\r\nimport { Switch, Route, Redirect } from \"react-router-dom\";\r\n\r\nimport SelectPanel from \"./SelectPanel\";\r\nimport DocHeading from \"./utils/DocHeading\";\r\nimport RenderRoutes from \"./utils/RenderRoutes\";\r\nimport routes from \"../routes/docs\";\r\n\r\nconst Documentation = () => (\r\n \r\n
\r\n
\r\n
DesignGuide \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n } />\r\n {routes.map((route, i) => )}\r\n \r\n \r\n \r\n
\r\n
\r\n);\r\n\r\nexport default Documentation;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/Documentation/index.js","import React from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\n\r\nimport ComponentPreview from \"../../utils/ComponentPreview\";\r\nimport DocToc from \"../../utils/DocToc\";\r\n\r\nconst HowItWorks = () => (\r\n <>\r\n How it works \r\n \r\n Change the value of the display property with our responsive display utility classes. We purposely support only a subset of all possible values for display
. Classes can be combined for various effects as you need.\r\n
\r\n >\r\n);\r\n\r\nconst Notation = () => (\r\n <>\r\n Notation \r\n \r\n Display utility classes that apply to all breakpoints, from xs
to xxl
, have no breakpoint abbreviation in them. This is because those classes are applied from min-width: 0;
and up, and thus are not bound by a media query. The remaining breakpoints, however, do include a breakpoint abbreviation.\r\n
\r\n As such, the classes are named using the format:
\r\n \r\n \r\n {\".d-{value}\"}
for xs
\r\n \r\n \r\n {\".d-{breakpoint}-{value}\"}
for sm
, md
, lg
, xl
and xxl
.\r\n \r\n \r\n Where value is one of:
\r\n \r\n none
\r\n inline
\r\n inline-block
\r\n block
\r\n table
\r\n table-cell
\r\n table-row
\r\n flex
\r\n inline-flex
\r\n \r\n The media queries effect screen widths with the given breakpoint or larger . For example, .d-xl-none
sets display: none;
on both xl
and xxl
screens.
\r\n >\r\n);\r\n\r\nconst Examples = () => (\r\n <>\r\n Examples \r\n \r\n d-inline
\r\n d-inline
\r\n \r\n \r\n d-block
\r\n d-block
\r\n \r\n >\r\n);\r\n\r\nconst HidingElements = () => (\r\n <>\r\n Hiding elements \r\n \r\n For faster mobile-friendly development, use responsive display classes for showing and hiding elements by device. Avoid creating entirely different versions of the same site, instead hide element responsively for each screen size.\r\n
\r\n \r\n To hide elements simply use the .d-none
class or one of the {\".d-{sm,md,lg,xl}-none\"}
classes for any responsive screen variation.\r\n
\r\n \r\n To show an element only on a given interval of screen sizes you can combine one .d-*-none
class with a .d-*-*
class, for example .d-none .d-md-block .d-xl-none
will hide the element for all screen sizes except on medium and large devices.\r\n
\r\n \r\n \r\n \r\n Screen Size \r\n Class \r\n \r\n \r\n \r\n \r\n Hidden on all \r\n .d-none
\r\n \r\n \r\n Hidden only on xs \r\n .d-none .d-sm-block
\r\n \r\n \r\n Hidden only on sm \r\n .d-sm-none .d-md-block
\r\n \r\n \r\n Hidden only on md \r\n .d-md-none .d-lg-block
\r\n \r\n \r\n Hidden only on lg \r\n .d-lg-none .d-xl-block
\r\n \r\n \r\n Hidden only on xl \r\n .d-xl-none .d-xxl-block
\r\n \r\n \r\n Hidden only on xxl \r\n .d-xxl-none
\r\n \r\n \r\n Visible on all \r\n .d-block
\r\n \r\n \r\n Visible only on xs \r\n .d-block .d-sm-none
\r\n \r\n \r\n Visible only on sm \r\n .d-sm-block .d-md-none
\r\n \r\n \r\n Visible only on md \r\n .d-md-block .d-lg-none
\r\n \r\n \r\n Visible only on lg \r\n .d-lg-block .d-xl-none
\r\n \r\n \r\n Visible only on xl \r\n .d-xl-block .d-xxl-none
\r\n \r\n \r\n Visible only on xxl \r\n .d-xxl-block
\r\n \r\n \r\n
\r\n\r\n\r\n \r\n Hidden on screens wider than lg
\r\n Hidden on screens smaller than lg
\r\n \r\n >\r\n);\r\n\r\nconst DisplayText = () => (\r\n \r\n
Quickly and responsively toggle the display value of components and more with our display utilities. Includes support for some of the more common values, as well as some extras for controlling display when printing.
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n);\r\n\r\nconst Display = () => (\r\n <>\r\n \r\n >\r\n);\r\n\r\nexport default Display;\r\n\r\n/* for testing */\r\nexport { HowItWorks, Notation, Examples, HidingElements, DisplayText };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/Documentation/utilities/Display/index.js","import React from \"react\";\r\n\r\nimport ComponentPreview from \"../../utils/ComponentPreview\";\r\n\r\nconst Intro = () => (\r\n <>\r\n Set the visibility
of elements with our visibility utilities. These do not modify the display
value at all and are helpful for hiding content from most users, but still keeping them for screen readers.
\r\n Apply .visible
or .invisible
as needed.
\r\n \r\n ...
\r\n ...
\r\n \r\n \r\n {`\r\n // Class\r\n .visible {\r\n visibility: visible !important;\r\n }\r\n .invisible {\r\n visibility: hidden !important;\r\n }\r\n `}\r\n \r\n >\r\n);\r\n\r\nconst VisibilityText = () => (\r\n \r\n
Control the visibility, without modifying the display, of elements with visibility utilities.
\r\n
\r\n
\r\n);\r\n\r\nconst Visibility = () => (\r\n <>\r\n \r\n >\r\n);\r\n\r\nexport default Visibility;\r\n\r\n/* for testing */\r\nexport { Intro, VisibilityText };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/Documentation/utilities/Visibility/index.js","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\nimport { renderToStaticMarkup } from \"react-dom/server\";\r\nimport PrismCode from \"react-prism\";\r\nimport jsbeautifier from \"js-beautify\";\r\n\r\nconst ComponentPreview = ({ children, language, removeOuterTag, hideValue, removeList, showCasePanel, codeFigure }) => {\r\n // TODO: This is stupid, find a better way to do this [EH]\r\n // should be possible with React 16.2\r\n // https://stackoverflow.com/questions/33766085/how-to-avoid-extra-wrapping-div-in-react\r\n const _removeOuterTag = element => {\r\n const div = document.createElement(\"div\");\r\n div.innerHTML = renderToStaticMarkup(element);\r\n\r\n if (div.firstElementChild) {\r\n return div.firstElementChild.innerHTML;\r\n } else if (div.firstChild) {\r\n return div.firstChild.nodeValue;\r\n }\r\n return \"Check ComponentPreview _removeOuterTag!\";\r\n };\r\n\r\n const _removeList = element => {\r\n const div = document.createElement(\"div\");\r\n div.innerHTML = renderToStaticMarkup(element);\r\n\r\n const listElements = div.querySelectorAll(\"li\");\r\n let htmlString = \"\";\r\n\r\n listElements.forEach(el => {\r\n htmlString += `${el.innerHTML} \\n`;\r\n });\r\n\r\n return htmlString;\r\n };\r\n\r\n const _removeEmpty = val => {\r\n val = val.replace(/=\"\"/g, \"\");\r\n val = val.replace(/ class>/g, \">\");\r\n val = val.replace(/ class /g, \" \");\r\n val = val.replace(/value /g, \"\");\r\n\r\n return val;\r\n };\r\n\r\n const _removeValue = val => {\r\n return val.replace(/ value=\"(.*)\"/g, \"\");\r\n };\r\n\r\n const CodeFigure = () => {\r\n let code = \"\";\r\n\r\n if (language === \"html\" && children && typeof children.map === \"function\") {\r\n children.map(child => {\r\n if (removeOuterTag) {\r\n code += _removeOuterTag(child);\r\n } else if (removeList) {\r\n code += _removeList(child);\r\n } else {\r\n code += renderToStaticMarkup(child);\r\n }\r\n });\r\n\r\n } else if (language === \"html\") {\r\n if (removeOuterTag) {\r\n code += _removeOuterTag(children);\r\n } else if (removeList) {\r\n code += _removeList(children);\r\n } else {\r\n code += renderToStaticMarkup(children);\r\n }\r\n } else {\r\n switch (typeof children) {\r\n case \"string\":\r\n code = children;\r\n break;\r\n case \"object\":\r\n children.forEach(child => code += child);\r\n break;\r\n default:\r\n console.warn(\"CodeFigure: children needs attention!\");\r\n }\r\n }\r\n\r\n switch (language) {\r\n case \"html\":\r\n code = jsbeautifier.html_beautify(code);\r\n code = _removeEmpty(code);\r\n if (hideValue) {\r\n code = _removeValue(code);\r\n }\r\n break;\r\n case \"css\":\r\n code = jsbeautifier.css_beautify(code);\r\n break;\r\n case \"javascript\":\r\n code = jsbeautifier.js_beautify(code, {\r\n brace_style: \"preserve-inline\", // eslint-disable-line camelcase\r\n e4x: true\r\n });\r\n break;\r\n default:\r\n return \"update switchcase!\";\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n {code}\r\n \r\n \r\n \r\n );\r\n };\r\n\r\n\r\n const ShowCasePanel = () => (\r\n \r\n {children}\r\n
\r\n );\r\n\r\n return (\r\n <>\r\n {showCasePanel ? : null}\r\n {codeFigure ? : null}\r\n >\r\n );\r\n};\r\n\r\nComponentPreview.propTypes = {\r\n language: PropTypes.string.isRequired,\r\n removeOuterTag: PropTypes.bool,\r\n removeList: PropTypes.bool,\r\n showCasePanel: PropTypes.bool,\r\n codeFigure: PropTypes.bool\r\n};\r\n\r\nconst Attribute = ({ data, name, value }) => {\r\n if (name && value) {\r\n return (\r\n \r\n {data ? data- : null}\r\n {name} \r\n \r\n {\"=\\\"\"} \r\n {value}\r\n {\"\\\"\"} \r\n \r\n
\r\n );\r\n } else if (name && !value) {\r\n return (\r\n \r\n {data ? data- : null}\r\n {name} \r\n
\r\n );\r\n } else if (!name && value) {\r\n return (\r\n \r\n {value} \r\n
\r\n );\r\n }\r\n};\r\n\r\n\r\nAttribute.propTypes = {\r\n name: PropTypes.string,\r\n value: PropTypes.string,\r\n data: PropTypes.bool\r\n};\r\n\r\nconst PxScript = ({ component, subComponents, func, params }) => {\r\n let renderedParams, renderedSubComponents;\r\n\r\n if (subComponents) {\r\n renderedSubComponents = subComponents.map((component, i) => (\r\n {component}\r\n . \r\n \r\n ));\r\n }\r\n\r\n if (params) {\r\n renderedParams = params.map((param, i) => (\r\n {param}\r\n {(i < params.length - 1) ? , : null}\r\n \r\n ));\r\n }\r\n\r\n return (\r\n \r\n px \r\n . \r\n {component} \r\n . \r\n {renderedSubComponents}\r\n {func} \r\n ( \r\n {renderedParams}\r\n ); \r\n
\r\n );\r\n};\r\n\r\nPxScript.propTypes = {\r\n component: PropTypes.string.isRequired,\r\n subComponents: PropTypes.array,\r\n func: PropTypes.string.isRequired,\r\n params: PropTypes.array\r\n};\r\n\r\nexport default ComponentPreview;\r\n\r\nexport { Attribute, PxScript };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/Documentation/utils/ComponentPreview.js","import React from \"react\";\r\nimport { withRouter } from \"react-router-dom\";\r\n\r\nimport { setTitle } from \"../../utils\";\r\n\r\n// TODO: overkill? [EH]\r\nconst _generateTitle = path => path.match(/[^/]*$/)[0]\r\n .split(\"-\")\r\n .map((word, i) => i > 0 ? word : word.charAt(0).toUpperCase() + word.substr(1))\r\n .join(\" \");\r\n\r\nconst DocHeading = ({ location }) => {\r\n const title = _generateTitle(location.pathname);\r\n setTitle(title);\r\n\r\n return {title} ;\r\n};\r\n\r\nexport default withRouter(DocHeading);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/Documentation/utils/DocHeading.js","import React, { Component } from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n\r\n// FIXME: This function is really moronic and super fragile, but works for now [EH]\r\nconst _findHeadings = (children) => {\r\n const headings = [];\r\n\r\n if (typeof children.map === \"function\") {\r\n children.map(child => {\r\n if (typeof child.type === \"function\") {\r\n if (child.type().props.children.type === \"h2\") {\r\n headings.push(\r\n {\r\n title: child.type().props.children.props.children,\r\n id: child.type().props.children.props.id\r\n }\r\n );\r\n\r\n } else {\r\n const firstChild = child.type().props.children[0];\r\n\r\n if (firstChild.type === \"h2\") {\r\n headings.push(\r\n {\r\n title: firstChild.props.children,\r\n id: firstChild.props.id\r\n }\r\n );\r\n\r\n } else if (typeof firstChild.type === \"function\") {\r\n const secondFirstChild = firstChild.type().props.children[0]; // Really clever namegiving\r\n if (secondFirstChild.type === \"h2\") {\r\n headings.push(\r\n {\r\n title: secondFirstChild.props.children,\r\n id: secondFirstChild.props.id\r\n }\r\n );\r\n }\r\n }\r\n }\r\n\r\n } else if (child.type === \"h2\") {\r\n headings.push(\r\n {\r\n title: child.props.children,\r\n id: child.props.id\r\n }\r\n );\r\n }\r\n });\r\n }\r\n\r\n return headings;\r\n};\r\n\r\nclass DocToc extends Component {\r\n constructor (props) {\r\n super(props);\r\n this.state = {\r\n headings: _findHeadings(this.props.component().props.children),\r\n windowTopPosition: window.pageYOffset\r\n };\r\n }\r\n\r\n updateWindowPosition () {\r\n this.setState({ windowTopPosition: window.pageYOffset });\r\n }\r\n\r\n scrollToElement (e, topPosition, id) {\r\n e.preventDefault();\r\n\r\n window.scroll({\r\n top: topPosition + 100,\r\n left: 0,\r\n behavior: \"smooth\"\r\n });\r\n\r\n window.history.pushState(null, null, `#${id}`);\r\n }\r\n\r\n componentDidMount () {\r\n if (this.state.headings) {\r\n this.state.headings.map((heading, i) => {\r\n (i === 0) ? heading.top = 0 : heading.top = document.getElementById(heading.id).offsetTop;\r\n });\r\n\r\n this.state.headings.push({ top: document.body.clientHeight });\r\n }\r\n\r\n this.scrollListener = this.updateWindowPosition.bind(this);\r\n window.addEventListener(\"scroll\", this.scrollListener);\r\n }\r\n\r\n componentWillUnmount () {\r\n window.removeEventListener(\"scroll\", this.scrollListener);\r\n }\r\n\r\n render () {\r\n return (\r\n \r\n
\r\n
\r\n {this.state.headings.map((heading, i) => {\r\n if (heading.id && heading.title) {\r\n const isWithinBoundary = this.state.windowTopPosition >= heading.top &&\r\n this.state.windowTopPosition < this.state.headings[i + 1].top;\r\n\r\n return (\r\n \r\n this.scrollToElement(e, heading.top, heading.id)}>{heading.title} \r\n \r\n );\r\n }\r\n })}\r\n \r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nDocToc.propTypes = { component: PropTypes.func.isRequired };\r\n\r\nexport default DocToc;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/Documentation/utils/DocToc.js","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\nimport { Switch, Route, Redirect } from \"react-router-dom\";\r\n\r\nconst RenderRoutes = ({ path, redirect, routes }) => {\r\n return (\r\n \r\n }/>\r\n {routes.map((route, i) => {\r\n const { path, component } = route;\r\n return } />;\r\n })}\r\n \r\n \r\n );\r\n};\r\n\r\nRenderRoutes.propTypes = {\r\n path: PropTypes.string.isRequired,\r\n redirect: PropTypes.string.isRequired,\r\n routes: PropTypes.array.isRequired\r\n};\r\n\r\nexport default RenderRoutes;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/Documentation/utils/RenderRoutes.js","import React from \"react\";\r\n\r\nconst ErrorPage404 = () => (\r\n <>\r\n This is not the page you are looking for. \r\n >\r\n);\r\n\r\nexport default ErrorPage404;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/ErrorPage404/index.js","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst Alert = ({ id, type, icon, close, heading, text, linkText, linkHref }) => (\r\n {icon ? \"\\n\" : \"\"}\r\n {close ?
close : null}{close ? \"\\n\" : \"\"}\r\n {icon ?
{icon} : null}\r\n {heading ?
{heading} : null}\r\n {(text && !linkText) ?
{text}
: null}{linkText ? \"\\n\" : \"\"}\r\n {linkText ?
{text || \"\"}{\"\\n\"}{linkText} {\"\\n\"}
: null}\r\n
\r\n);\r\n\r\nAlert.propTypes = {\r\n id: PropTypes.string,\r\n type: PropTypes.oneOf([\"success\", \"neutral\", \"warning\", \"danger\", \"light\", \"default\"]).isRequired,\r\n icon: PropTypes.string,\r\n close: PropTypes.bool,\r\n heading: PropTypes.string,\r\n text: PropTypes.string,\r\n linkText: PropTypes.string,\r\n linkHref: PropTypes.string\r\n};\r\n\r\nexport default Alert;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/components/Alert/index.js","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst _renderItems = items => items.map((item, i) => (\r\n item.disabled ? (\r\n \r\n {item.title} \r\n \r\n ) : (\r\n \r\n {item.href ? {item.title} : {item.title} }\r\n \r\n )\r\n));\r\n\r\nconst DefaultItems = () => (\r\n \r\n);\r\n\r\nconst Breadcrumb = ({ items, small }) => (\r\n \r\n {items ? _renderItems(items) : }\r\n \r\n);\r\n\r\nBreadcrumb.propTypes = {\r\n items: PropTypes.array,\r\n small: PropTypes.bool\r\n};\r\n\r\nexport default Breadcrumb;\r\n\r\n// exporting for testing purposes\r\nexport { DefaultItems };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/components/Breadcrumb/index.js","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst Button = ({ label, id, name, value, href, icon, loading, type, disabled, btnType, fullWidth, loader, pullRight, input, outline, active, size }) => {\r\n if (href) return (\r\n {icon ? \"\\n\\t\" : null}\r\n {icon ? {icon} : null}\r\n {(icon && label) ? {label} : label}\r\n \r\n );\r\n\r\n if (input) return (\r\n \r\n );\r\n\r\n return (\r\n {icon ? \"\\n\\t\" : null}\r\n {icon ? {icon} : null}{icon ? \"\\n\\t\" : null}\r\n {(icon && label) ? {label} : label}{icon ? \"\\n\" : null}\r\n \r\n );\r\n};\r\n\r\nButton.propTypes = {\r\n type: PropTypes.oneOf([\"default\", \"brand\", \"neutral\", \"success\", \"warning\", \"danger\", \"light\", \"link\"]).isRequired,\r\n label: PropTypes.string,\r\n id: PropTypes.string,\r\n name: PropTypes.string,\r\n value: PropTypes.string,\r\n href: PropTypes.string,\r\n icon: PropTypes.string,\r\n loading: PropTypes.bool,\r\n disabled: PropTypes.bool,\r\n btnType: PropTypes.string,\r\n fullWidth: PropTypes.bool,\r\n loader: PropTypes.bool,\r\n pullRight: PropTypes.bool,\r\n input: PropTypes.bool,\r\n outline: PropTypes.bool,\r\n active: PropTypes.bool,\r\n size: PropTypes.string\r\n};\r\n\r\nexport default Button;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/components/Button/index.js","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst Card = ({ type, title, imgSrc, icon, text, smallText, btnTxt, footerTxt, footerLink, footerLinkTxt }) => (\r\n \r\n {title ? : null}\r\n {imgSrc ? {\"\\n\"}\r\n
{\"\\n\"}\r\n
: null}\r\n \r\n
account_balance \r\n
\r\n
725 NOK \r\n
Utestående balanse
\r\n
\r\n
\r\n \r\n
{text}
\r\n
{smallText} \r\n
\r\n \r\n {btnTxt} \r\n {footerTxt ? : null}\r\n {footerLinkTxt ? : null}\r\n \r\n \r\n);\r\n\r\nCard.propTypes = {\r\n type: PropTypes.oneOf([\"brand\", \"default\", \"light\"]),\r\n title: PropTypes.string,\r\n imgSrc: PropTypes.string,\r\n icon: PropTypes.string,\r\n text: PropTypes.string,\r\n smallText: PropTypes.string,\r\n btnTxt: PropTypes.string,\r\n footerTxt: PropTypes.string,\r\n footerLink: PropTypes.string,\r\n footerLinkTxt: PropTypes.string\r\n};\r\n\r\nexport default Card;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/components/Card/index.js","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst Checkbox = ({ id, checked, disabled, label }) => {\r\n const attrs = { type: \"checkbox\" };\r\n if (id) attrs.id = id;\r\n if (disabled) attrs.disabled = disabled;\r\n if (checked) attrs.defaultChecked = checked;\r\n\r\n return (\r\n {\"\\n\"}\r\n {\"\\n\"}\r\n {label ? {label} : null}{label ? \"\\n\" : null}\r\n
\r\n );\r\n};\r\n\r\nCheckbox.propTypes = {\r\n id: PropTypes.string,\r\n checked: PropTypes.bool,\r\n disabled: PropTypes.bool,\r\n label: PropTypes.string\r\n};\r\n\r\nexport default Checkbox;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/components/FormComponents/Checkbox.js","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst Datepicker = ({ format, time, min, max, months, value, label, required }) => {\r\n const attrs = {\r\n className: \"form-control\",\r\n type: \"text\",\r\n \"data-datepicker\": true,\r\n \"data-datepicker-format\": format || null,\r\n \"data-datepicker-time\": time || null,\r\n \"data-datepicker-min\": min || null,\r\n \"data-datepicker-max\": max || null,\r\n \"data-datepicker-value\": value || null,\r\n \"data-datepicker-months\": months || null,\r\n \"data-required\": required || null\r\n };\r\n\r\n return (\r\n label ? (\r\n {\"\\n\"}\r\n {label} {\"\\n\"}\r\n {\"\\n\"}\r\n
\r\n ) : );\r\n};\r\n\r\nDatepicker.propTypes = {\r\n format: PropTypes.oneOf([\"nb\", \"sv\", \"da\", \"fi\", \"en\", \"iso8601\"]),\r\n time: PropTypes.bool,\r\n min: PropTypes.string,\r\n max: PropTypes.string,\r\n months: PropTypes.string,\r\n value: PropTypes.string,\r\n label: PropTypes.string,\r\n required: PropTypes.bool\r\n};\r\n\r\nexport default Datepicker;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/components/FormComponents/Datepicker.js","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst FormControlText = ({ text, label }) => {\r\n return (\r\n {\"\\n\"}\r\n {label ? {label} : null}{label ? \"\\n\" : null}\r\n {text} {\"\\n\"}\r\n
\r\n );\r\n};\r\n\r\nFormControlText.propTypes = {\r\n text: PropTypes.string.isRequired,\r\n label: PropTypes.string\r\n};\r\n\r\nexport default FormControlText;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/components/FormComponents/FormControlText.js","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst Radio = ({ id, checked, disabled, label, name }) => {\r\n const attrs = { type: \"radio\" };\r\n if (id) attrs.id = id;\r\n if (name) attrs.name = name;\r\n if (disabled) attrs.disabled = disabled;\r\n if (checked) attrs.defaultChecked = checked;\r\n\r\n return (\r\n {\"\\n\"}\r\n {\"\\n\"}\r\n {label ? {label} : null}{label ? \"\\n\" : null}\r\n
\r\n );\r\n};\r\n\r\nRadio.propTypes = {\r\n id: PropTypes.string,\r\n name: PropTypes.string,\r\n checked: PropTypes.bool,\r\n disabled: PropTypes.bool,\r\n label: PropTypes.string\r\n};\r\n\r\nexport default Radio;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/components/FormComponents/Radio.js","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst Rangeslider = ({ name, min, max, step, color, value, valueLabel, valueLabelPrefix, valueLabelPostfix, valueLabelPosition }) => {\r\n const attrs = {\r\n type: \"range\",\r\n name: name,\r\n min: min,\r\n max: max,\r\n step: step,\r\n defaultValue: value\r\n };\r\n\r\n const ValueLabel = () => (\r\n {\"\\n\\t\\t\"}\r\n {\"\\n\\t\\t\\t\"}\r\n {valueLabelPrefix ? {valueLabelPrefix} : null}{valueLabelPrefix ? \"\\n\\t\\t\\t\" : null}\r\n {value} {\"\\n\\t\\t\\t\"}\r\n {valueLabelPostfix ? {valueLabelPostfix} : null}{valueLabelPostfix ? \"\\n\\t\\t\" : null}\r\n
{\"\\n\\t\"}\r\n \r\n );\r\n\r\n return (\r\n {\"\\n\"}\r\n {valueLabel ? \"\\n\" : null}\r\n {valueLabel ? : null}{valueLabel ? \"\\n\" : null}\r\n
\r\n );\r\n};\r\n\r\nRangeslider.propTypes = {\r\n name: PropTypes.string,\r\n min: PropTypes.number,\r\n max: PropTypes.number,\r\n step: PropTypes.number,\r\n color: PropTypes.oneOf([\"brand\", \"neutral\", \"default\"]),\r\n value: PropTypes.number,\r\n valueLabel: PropTypes.bool,\r\n valueLabelPrefix: PropTypes.string,\r\n valueLabelPostfix: PropTypes.string,\r\n valueLabelPosition: PropTypes.string\r\n};\r\n\r\nexport default Rangeslider;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/components/FormComponents/Rangeslider.js","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst Togglebox = ({ id, checked, disabled, label }) => {\r\n const attrs = { type: \"checkbox\" };\r\n if (id) attrs.id = id;\r\n if (disabled) attrs.disabled = disabled;\r\n if (checked) attrs.defaultChecked = checked;\r\n return (\r\n {\"\\n\"}\r\n {\"\\n\"}\r\n {label ? {label} : null}{label ? \"\\n\" : null}\r\n
\r\n );\r\n};\r\n\r\nTogglebox.propTypes = {\r\n id: PropTypes.string,\r\n checked: PropTypes.bool,\r\n disabled: PropTypes.bool,\r\n label: PropTypes.string\r\n};\r\n\r\nexport default Togglebox;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/components/FormComponents/Togglebox.js","import Checkbox from \"./Checkbox\";\r\nimport Datepicker from \"./Datepicker\";\r\nimport FormControlText from \"./FormControlText\";\r\nimport Radio from \"./Radio\";\r\nimport Rangeslider from \"./Rangeslider\";\r\nimport Togglebox from \"./Togglebox\";\r\n\r\nexport default {\r\n Checkbox,\r\n Datepicker,\r\n FormControlText,\r\n Radio,\r\n Rangeslider,\r\n Togglebox\r\n};\r\n\r\nexport { Checkbox, Datepicker, FormControlText, Radio, Rangeslider, Togglebox };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/components/FormComponents/index.js","import React, { Fragment } from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst Addon = ({ type, value, color }) => (\r\n (type === \"button\") ?\r\n {\"\\n\"}\r\n {value} {\"\\n\"}\r\n
\r\n : {(type === \"icon\") ? {value} : value} \r\n);\r\n\r\nconst Feedback = ({ icon }) => {\r\n return (\r\n {\"\\n\\t\\t\"}\r\n {icon} {\"\\n\\t\"}\r\n \r\n );\r\n};\r\n\r\nconst InputGroup = ({\r\n id,\r\n type,\r\n placeholder,\r\n pattern,\r\n validate,\r\n required,\r\n defaultValue,\r\n autoComplete,\r\n disabled,\r\n readOnly,\r\n label,\r\n validationState,\r\n selectOptions,\r\n prefixValue,\r\n prefixType,\r\n prefixBtnColor,\r\n postfixValue,\r\n postfixType,\r\n postfixBtnColor,\r\n feedbackIcon,\r\n helpBlock\r\n}) => {\r\n const attrs = {\r\n type: type || null,\r\n className: \"form-control\",\r\n id: id || null,\r\n placeholder: placeholder || null,\r\n defaultValue: defaultValue || \"\",\r\n disabled: disabled || null,\r\n readOnly: readOnly || null,\r\n autoComplete: autoComplete || null,\r\n \"data-validate\": validate || null,\r\n \"data-pattern\": pattern || null,\r\n \"data-required\": required || null\r\n };\r\n return (\r\n {\"\\n\"}\r\n {label ?
{label} : null}{label ? \"\\n\" : null}\r\n
{\"\\n\"}\r\n {prefixValue ?
: null }{prefixValue ? \"\\n\" : null}\r\n {type === \"textarea\" ?\r\n
\r\n : type === \"select\" ?\r\n
{\"\\n\\t\\t\"}\r\n {selectOptions.map((opt, i) => (\r\n \r\n {opt} {(i !== selectOptions.length - 1) ? \"\\n\\t\\t\" : \"\"}\r\n \r\n ))}{\"\\n\\t\"}\r\n \r\n :\r\n
}\r\n {\"\\n\"}\r\n {feedbackIcon ?
: null} {feedbackIcon ? \"\\n\" : null}\r\n {postfixValue ?
: null }{postfixValue ? \"\\n\" : null}\r\n
\r\n {helpBlock ?
{helpBlock}
: null}\r\n
\r\n );\r\n};\r\n\r\nInputGroup.propTypes = {\r\n type: PropTypes.string.isRequired,\r\n id: PropTypes.string,\r\n placeholder: PropTypes.string,\r\n pattern: PropTypes.string,\r\n validate: PropTypes.bool,\r\n required: PropTypes.bool,\r\n defaultValue: PropTypes.string,\r\n autoComplete: PropTypes.string,\r\n disabled: PropTypes.bool,\r\n readOnly: PropTypes.bool,\r\n label: PropTypes.string,\r\n validationState: PropTypes.oneOf([\"success\", \"error\", \"\"]),\r\n selectOptions: PropTypes.array,\r\n prefixValue: PropTypes.string,\r\n prefixType: PropTypes.oneOf([\"button\", \"icon\", \"\"]),\r\n prefixBtnColor: PropTypes.string,\r\n postfixValue: PropTypes.string,\r\n postfixType: PropTypes.oneOf([\"button\", \"icon\", \"\"]),\r\n postfixBtnColor: PropTypes.string,\r\n feedbackIcon: PropTypes.string,\r\n helpBlock: PropTypes.string\r\n};\r\n\r\nexport default InputGroup;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/components/InputGroup/index.js","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst Loader = ({ id, size, muted, visible }) => {\r\n return
;\r\n};\r\n\r\nLoader.propTypes = {\r\n id: PropTypes.string,\r\n size: PropTypes.oneOf([\"small\", \"default\", \"large\"]).isRequired,\r\n muted: PropTypes.bool,\r\n visible: PropTypes.bool\r\n};\r\n\r\nexport default Loader;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/components/Loader/index.js","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst ModalHeading = ({ title, subTitle }) => (\r\n \r\n {title ? {title} : null}\r\n {subTitle ? {subTitle}
: null}\r\n \r\n);\r\n\r\nconst OpenModalButton = ({ id }) => (\r\n Open modal \r\n);\r\n\r\nconst Modal = ({ title, subTitle, id, footerText, footerAlignment, type, size, visible, isStatic, button, children }) => {\r\n return (\r\n <>\r\n \r\n \r\n
{\"\\n\"}\r\n
close \r\n {title || subTitle ?
: null}\r\n
\r\n {children}\r\n
\r\n {footerText ? (\r\n
{\"\\n\"}\r\n Close {\"\\n\"}\r\n Submit \r\n {/* {footerText}
*/}\r\n \r\n ) : null}\r\n
\r\n
\r\n {button ? \"\\n\\n\" : null}\r\n {button ? : null}\r\n >\r\n );\r\n};\r\n\r\nModal.propTypes = {\r\n title: PropTypes.string,\r\n subTitle: PropTypes.string,\r\n id: PropTypes.string,\r\n footerText: PropTypes.string,\r\n footerAlignment: PropTypes.oneOf([\"centered\", \"right\"]),\r\n type: PropTypes.oneOf([\"brand\", \"default\"]).isRequired,\r\n size: PropTypes.oneOf([\"small\", \"medium\", \"large\"]).isRequired,\r\n visible: PropTypes.bool,\r\n isStatic: PropTypes.bool,\r\n button: PropTypes.bool\r\n};\r\n\r\nexport default Modal;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/components/Modal/index.js","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\nimport classnames from \"classnames\";\r\n\r\n\r\nconst Pagination = ({ type, items, text, arrows, farArrows }) => {\r\n let activeItem = -1;\r\n const itemLength = items ? items.length - 1 : -2;\r\n\r\n const paginationClasses = classnames(\r\n \"pagination\",\r\n type ? `pagination-${type}` : \"\"\r\n );\r\n\r\n const Arrow = ({ type }) => {\r\n let disabled = false;\r\n\r\n if (type === \"start\" || type === \"back\") {\r\n disabled = activeItem === 0;\r\n } else if (type === \"forward\" || type === \"end\") {\r\n disabled = activeItem === itemLength;\r\n }\r\n\r\n return (\r\n {\"\\n\"}\r\n {\"\\n\"}\r\n \r\n );\r\n };\r\n\r\n return (\r\n \r\n {farArrows ? : null}\r\n {arrows ? : null}\r\n {items ? items.map(({ name, href, active }, i) => {\r\n if (active) activeItem = i;\r\n\r\n return (\r\n {\"\\n\"}\r\n {name} {\"\\n\"}\r\n \r\n );\r\n }) : null}\r\n {text ? {\"\\n\"}{text} {\"\\n\"} : null}\r\n {arrows ? : null}\r\n {farArrows ? : null}\r\n \r\n );\r\n};\r\n\r\nPagination.propTypes = {\r\n type: PropTypes.oneOf([\"bullets\", \"simple\"]),\r\n items: PropTypes.array,\r\n text: PropTypes.string,\r\n arrows: PropTypes.bool,\r\n farArrows: PropTypes.bool\r\n};\r\n\r\nexport default Pagination;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/components/Pagination/index.js","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst Panel = ({ title, subTitle, id, type, removeBottomPadding, removeAllPadding, halfPadding, darkMode, children, footerText }) => {\r\n return (\r\n \r\n {title ?\r\n \r\n {title} \r\n {subTitle ? {subTitle}
: null}\r\n \r\n : null}\r\n {children ?\r\n {children}
\r\n : null}\r\n {footerText ?\r\n \r\n : null}\r\n \r\n );\r\n};\r\n\r\nPanel.propTypes = {\r\n title: PropTypes.string,\r\n subTitle: PropTypes.string,\r\n id: PropTypes.string,\r\n type: PropTypes.oneOf([\"brand\", \"default\", \"muted\", \"\"]),\r\n halfPadding: PropTypes.bool,\r\n removeAllPadding: PropTypes.bool,\r\n removeBottomPadding: PropTypes.bool,\r\n darkMode: PropTypes.bool,\r\n footerText: PropTypes.string\r\n};\r\n\r\nexport default Panel;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/components/Panel/index.js","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst Tabs = ({ mode, items }) => {\r\n return (\r\n \r\n
\r\n {items.map(({ name, active }, i) => (\r\n {\"\\n\"}\r\n {name} {\"\\n\"}\r\n \r\n ))}\r\n \r\n
\r\n );\r\n};\r\n\r\nTabs.propTypes = {\r\n mode: PropTypes.oneOf([\"auto\", \"stacked\", \"collapsed\"]).isRequired,\r\n items: PropTypes.array.isRequired\r\n};\r\n\r\nexport default Tabs;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/components/Tabs/index.js","import React, { Fragment } from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst TopbarBtn = ({ align, icon, text, target }) => (\r\n {\"\\n\\t\\t\"}\r\n {icon ? {icon} : null}{icon ? \"\\n\\t\\t\" : null}\r\n {text ? {text} : null}{text ? \"\\n\\t\" : null}\r\n \r\n);\r\n\r\nconst LeftMenu = ({ align, menu }) => {\r\n const { id, hierarchy } = menu;\r\n\r\n const Slide = ({ slide }) => {\r\n const { id, items } = slide;\r\n\r\n const MenuItem = ({ item, last }) => {\r\n const { title, target, href } = item;\r\n\r\n return (\r\n \r\n {href ? {title} : {title} }{!href || last ? \"\\n\" : null}\r\n \r\n );\r\n };\r\n\r\n const GroupItem = ({ groupItem }) => {\r\n const { groupTitle, items } = groupItem;\r\n return (\r\n \r\n
{groupTitle}
{\"\\n\"}\r\n {items.map((item, i) =>
)}\r\n
\r\n );\r\n };\r\n\r\n return (\r\n \r\n
\r\n {items.map((item, i) => (\r\n {\"\\n\"}\r\n {item.groupTitle ? : }\r\n \r\n ))}\r\n
\r\n
\r\n );\r\n };\r\n\r\n return (\r\n \r\n {hierarchy.map(slide => )}\r\n \r\n );\r\n};\r\n\r\nconst RightMenu = ({ align, menu }) => {\r\n const { id, items } = menu;\r\n\r\n return (\r\n \r\n {items.map((item, i) => (\r\n {\"\\n\"}\r\n {item.title} \r\n \r\n ))}{\"\\n\"}\r\n \r\n );\r\n};\r\n\r\nconst Topbar = ({ logo, leftMenu, rightMenu }) => {\r\n return (\r\n {\"\\n\"}\r\n {leftMenu ?
: null}{leftMenu ? \"\\n\" : null}\r\n {logo ?
: null}{logo ? \"\\n\" : null}\r\n {rightMenu ?
: null}{rightMenu ? \"\\n\" : null}\r\n {leftMenu ?
: null}{leftMenu ? \"\\n\" : null}\r\n {rightMenu ?
: null}{rightMenu ? \"\\n\" : null}\r\n
\r\n );\r\n};\r\n\r\nTopbar.propTypes = {\r\n logo: PropTypes.oneOf([\"default\", \"mypayex\"]),\r\n leftMenu: PropTypes.object,\r\n rightMenu: PropTypes.object\r\n};\r\n\r\nexport default Topbar;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/components/Topbar/index.js","import React from \"react\";\r\nimport { Router, Switch, Route } from \"react-router-dom\";\r\nimport createBrowserHistory from \"history/createBrowserHistory\";\r\n\r\nimport routes from \"./routes/root.js\";\r\nimport AppHeader from \"./AppHeader\";\r\nimport ErrorPage404 from \"./ErrorPage404\";\r\n\r\nconst isProd = process.env.NODE_ENV === \"production\";\r\n// const history = createBrowserHistory({ basename: \"/design.payex.com\" });\r\nconst history = createBrowserHistory();\r\n\r\nconst App = () => (\r\n \r\n \r\n
\r\n
\r\n {routes.map((route, i) => {\r\n const { path, component, exact } = route;\r\n const RouteComponent = component.default;\r\n\r\n return (\r\n {\r\n if (isProd) {\r\n history.listen(location => {\r\n window.gtag(\"config\", \"UA-3440932-20\", {\r\n \"page_location\": window.location.href,\r\n \"page_path\": location.pathname\r\n });\r\n });\r\n }\r\n return ;\r\n }} />\r\n );\r\n })}\r\n \r\n \r\n
\r\n \r\n);\r\n\r\nexport default App;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/index.js","export default [\r\n /**\r\n * Getting Started\r\n */\r\n {\r\n title: \"Getting Started\",\r\n path: \"/docs/getting-started\",\r\n redirect: \"/docs/getting-started/introduction\",\r\n routes: [\r\n {\r\n title: \"Introduction\",\r\n path: \"/docs/getting-started/introduction\",\r\n component: require(\"../Documentation/getting-started/Introduction\")\r\n },\r\n {\r\n title: \"Contributing\",\r\n path: \"/docs/getting-started/contributing\",\r\n component: require(\"../Documentation/getting-started/Contributing\")\r\n },\r\n {\r\n title: \"Browser Support\",\r\n path: \"/docs/getting-started/browser-support\",\r\n component: require(\"../Documentation/getting-started/BrowserSupport\")\r\n }\r\n ]\r\n },\r\n\r\n /**\r\n * Core\r\n */\r\n {\r\n title: \"Core\",\r\n path: \"/docs/core\",\r\n redirect: \"/docs/core/breakpoints\",\r\n routes: [\r\n {\r\n title: \"Breakpoints\",\r\n path: \"/docs/core/breakpoints\",\r\n component: require(\"../Documentation/core/Breakpoints\")\r\n },\r\n {\r\n title: \"Color\",\r\n path: \"/docs/core/color\",\r\n component: require(\"../Documentation/core/Color\")\r\n },\r\n {\r\n title: \"Grid\",\r\n path: \"/docs/core/grid\",\r\n component: require(\"../Documentation/core/Grid\")\r\n },\r\n {\r\n title: \"Icons\",\r\n path: \"/docs/core/icons\",\r\n component: require(\"../Documentation/core/Icons\")\r\n },\r\n {\r\n title: \"Lists\",\r\n path: \"/docs/core/lists\",\r\n component: require(\"../Documentation/core/Lists\")\r\n },\r\n {\r\n title: \"Tables\",\r\n path: \"/docs/core/tables\",\r\n component: require(\"../Documentation/core/Tables\")\r\n },\r\n {\r\n title: \"Typography\",\r\n path: \"/docs/core/typography\",\r\n component: require(\"../Documentation/core/Typography\")\r\n }\r\n ]\r\n },\r\n\r\n /**\r\n * Components\r\n */\r\n {\r\n title: \"Components\",\r\n path: \"/docs/components\",\r\n redirect: \"/docs/components/alerts\",\r\n routes: [\r\n {\r\n title: \"Alerts\",\r\n path: \"/docs/components/alerts\",\r\n component: require(\"../Documentation/components/Alerts\")\r\n },\r\n {\r\n title: \"Badge\",\r\n path: \"/docs/components/badge\",\r\n component: require(\"../Documentation/components/Badge\")\r\n },\r\n {\r\n title: \"Breadcrumb\",\r\n path: \"/docs/components/breadcrumb\",\r\n component: require(\"../Documentation/components/Breadcrumb\")\r\n },\r\n {\r\n title: \"Buttons\",\r\n path: \"/docs/components/buttons\",\r\n component: require(\"../Documentation/components/Buttons\")\r\n },\r\n {\r\n title: \"Card (experimental)\",\r\n path: \"/docs/components/card\",\r\n component: require(\"../Documentation/components/Card\")\r\n },\r\n {\r\n title: \"Datepickers\",\r\n path: \"/docs/components/datepickers\",\r\n component: require(\"../Documentation/components/Datepickers\")\r\n },\r\n {\r\n title: \"Forms\",\r\n path: \"/docs/components/forms\",\r\n component: require(\"../Documentation/components/Forms\")\r\n },\r\n {\r\n title: \"Input Group\",\r\n path: \"/docs/components/input-group\",\r\n component: require(\"../Documentation/components/InputGroup\")\r\n },\r\n {\r\n title: \"Loaders\",\r\n path: \"/docs/components/loaders\",\r\n component: require(\"../Documentation/components/Loaders\")\r\n },\r\n {\r\n title: \"Modal\",\r\n path: \"/docs/components/modal\",\r\n component: require(\"../Documentation/components/Modal\")\r\n },\r\n {\r\n title: \"Pagination\",\r\n path: \"/docs/components/pagination\",\r\n component: require(\"../Documentation/components/Pagination\")\r\n },\r\n {\r\n title: \"Panel\",\r\n path: \"/docs/components/panel\",\r\n component: require(\"../Documentation/components/Panel\")\r\n },\r\n {\r\n title: \"Status\",\r\n path: \"/docs/components/status\",\r\n component: require(\"../Documentation/components/Status\")\r\n },\r\n {\r\n title: \"Tabs\",\r\n path: \"/docs/components/tabs\",\r\n component: require(\"../Documentation/components/Tabs\")\r\n },\r\n {\r\n title: \"Topbar\",\r\n path: \"/docs/components/topbar\",\r\n component: require(\"../Documentation/components/Topbar\")\r\n },\r\n {\r\n title: \"Well (experimental)\",\r\n path: \"/docs/components/well\",\r\n component: require(\"../Documentation/components/Well\")\r\n }\r\n ]\r\n },\r\n\r\n /**\r\n * Utilities\r\n */\r\n {\r\n title: \"Utilities\",\r\n path: \"/docs/utilities\",\r\n redirect: \"/docs/utilities/display\",\r\n routes: [\r\n {\r\n title: \"Display\",\r\n path: \"/docs/utilities/display\",\r\n component: require(\"../Documentation/utilities/Display\")\r\n },\r\n {\r\n title: \"Visibility\",\r\n path: \"/docs/utilities/visibility\",\r\n component: require(\"../Documentation/utilities/Visibility\")\r\n }\r\n ]\r\n }\r\n];\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/routes/docs.js","export default [\r\n // {\r\n // title: \"Home\",\r\n // path: \"/\",\r\n // component: require(\"../Home\"),\r\n // exact: true\r\n // },\r\n {\r\n title: \"Documentation\",\r\n path: \"/docs\",\r\n component: require(\"../Documentation\"),\r\n exact: false\r\n }\r\n // {\r\n // title: \"Examples\",\r\n // path: \"/examples\",\r\n // component: require(\"../Examples\"),\r\n // exact: false\r\n // },\r\n // {\r\n // title: \"Templates\",\r\n // path: \"/templates\",\r\n // component: require(\"../Templates\"),\r\n // exact: false\r\n // }\r\n];\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/routes/root.js","export const setTitle = title => {\r\n document.title = `${title} | PayEx DesignGuide`;\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/App/utils/index.js","import React from \"react\";\r\nimport { render } from \"react-dom\";\r\n\r\nimport \"prismjs\";\r\nimport \"prismjs/themes/prism.css\";\r\nimport \"prismjs/plugins/toolbar/prism-toolbar.css\";\r\nimport \"prismjs/plugins/toolbar/prism-toolbar.min.js\";\r\nimport \"prismjs/plugins/copy-to-clipboard/prism-copy-to-clipboard.min.js\";\r\n\r\n// Polyfills\r\nimport \"./polyfills\";\r\n\r\n// px-script\r\nimport \"./px-script\";\r\n\r\nimport \"./less/px.less\";\r\nimport \"./less/themes/documentation.less\";\r\nimport \"./less/designguide.less\";\r\nimport App from \"./App\";\r\n\r\nrender(\r\n ,\r\n document.getElementById(\"root\")\r\n);\r\n\r\nif (module.hot) {\r\n module.hot.accept();\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/index.js"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/0.6.0/scripts/core-libraries.js b/dist/0.6.0/scripts/core-libraries.js
index 069509b41..c44ea4bd4 100644
--- a/dist/0.6.0/scripts/core-libraries.js
+++ b/dist/0.6.0/scripts/core-libraries.js
@@ -5,4 +5,4 @@ var payex=webpackJsonppayex(["core-libraries"],{"./node_modules/clipboard/dist/c
* Licensed MIT © Zeno Rocha
*/
!function t(n,i){e.exports=i()}(this,function(){return function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function t(){return e.default}:function t(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=3)}([function(e,t,n){var i,r,o;!function(a,s){var l;r=[e,n(7)],i=s,void 0!==(o="function"==typeof i?i.apply(t,r):i)&&(e.exports=o)}(this,function(e,t){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=n(t),o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function e(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function e(){var t=this,n="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[n?"right":"left"]="-9999px";var i=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=i+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,r.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function e(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function e(){this.selectedText=(0,r.default)(this.target),this.copyText()}},{key:"copyText",value:function e(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function e(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function e(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function e(){this.removeFake()}},{key:"action",set:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function e(){return this._action}},{key:"target",set:function e(t){if(void 0!==t){if(!t||"object"!==(void 0===t?"undefined":o(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function e(){return this._target}}]),e}();e.exports=s})},function(e,t,n){function i(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(n))throw new TypeError("Third argument must be a Function");if(s.node(e))return r(e,t,n);if(s.nodeList(e))return o(e,t,n);if(s.string(e))return a(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function r(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function o(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}function a(e,t,n){return l(document.body,e,t,n)}var s=n(6),l=n(5);e.exports=i},function(e,t){function n(){}n.prototype={on:function(e,t,n){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function i(){r.off(e,i),t.apply(n,arguments)}var r=this;return i._=t,this.on(e,i,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),i=0,r=n.length;for(i;i0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===d(t.container)?t.container:document.body}},{key:"listenClick",value:function e(t){var n=this;this.listener=(0,_.default)(t,"click",function(e){return n.onClick(e)})}},{key:"onClick",value:function e(t){var n=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new u.default({action:this.action(n),target:this.target(n),text:this.text(n),container:this.container,trigger:n,emitter:this})}},{key:"defaultAction",value:function e(t){return l("action",t)}},{key:"defaultTarget",value:function e(t){var n=l("target",t);if(n)return document.querySelector(n)}},{key:"defaultText",value:function e(t){return l("text",t)}},{key:"destroy",value:function e(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],n="string"==typeof t?[t]:t,i=!!document.queryCommandSupported;return n.forEach(function(e){i=i&&!!document.queryCommandSupported(e)}),i}}]),t}(c.default);e.exports=f})},function(e,t){function n(e,t){for(;e&&e.nodeType!==i;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}var i=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}e.exports=n},function(e,t,n){function i(e,t,n,i,r){var a=o.apply(this,arguments);return e.addEventListener(n,a,r),{destroy:function(){e.removeEventListener(n,a,r)}}}function r(e,t,n,r,o){return"function"==typeof e.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(e){return i(e,t,n,r,o)}))}function o(e,t,n,i){return function(n){n.delegateTarget=a(n.target,t),n.delegateTarget&&i.call(e,n)}}var a=n(4);e.exports=r},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t){function n(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var i=window.getSelection(),r=document.createRange();r.selectNodeContents(e),i.removeAllRanges(),i.addRange(r),t=i.toString()}return t}e.exports=n}])})},"./node_modules/css-loader/index.js??ref--2-1!./node_modules/postcss-loader/lib/index.js??ref--2-2!./node_modules/prismjs/plugins/toolbar/prism-toolbar.css":function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(!1),t.push([e.i,"div.code-toolbar{position:relative}div.code-toolbar>.toolbar{position:absolute;top:.3em;right:.2em;-webkit-transition:opacity .3s ease-in-out;-o-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out;opacity:0}div.code-toolbar:hover>.toolbar{opacity:1}div.code-toolbar>.toolbar .toolbar-item{display:inline-block}div.code-toolbar>.toolbar a{cursor:pointer}div.code-toolbar>.toolbar button{background:none;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}div.code-toolbar>.toolbar a,div.code-toolbar>.toolbar button,div.code-toolbar>.toolbar span{color:#bbb;font-size:.8em;padding:0 .5em;background:#f5f2f0;background:hsla(0,0%,88%,.2);-webkit-box-shadow:0 2px 0 0 rgba(0,0,0,.2);box-shadow:0 2px 0 0 rgba(0,0,0,.2);border-radius:.5em}div.code-toolbar>.toolbar a:focus,div.code-toolbar>.toolbar a:hover,div.code-toolbar>.toolbar button:focus,div.code-toolbar>.toolbar button:hover,div.code-toolbar>.toolbar span:focus,div.code-toolbar>.toolbar span:hover{color:inherit;text-decoration:none}",""])},"./node_modules/css-loader/index.js??ref--2-1!./node_modules/postcss-loader/lib/index.js??ref--2-2!./node_modules/prismjs/themes/prism.css":function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(!1),t.push([e.i,"code[class*=language-],pre[class*=language-]{color:#000;background:none;text-shadow:0 1px #fff;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-]::selection,pre[class*=language-] ::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}",""])},"./node_modules/css-loader/lib/css-base.js":function(e,t){function n(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=i(r);return[n].concat(r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"})).concat([o]).join("\n")}return[n].join("\n")}function i(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function t(){return this.map(function(t){var i=n(t,e);return t[2]?"@media "+t[2]+"{"+i+"}":i}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},r=0;r0&&D--}t=t||{},t=r(t,"css"),e=e||"";var v=0,y=t.indent_size?parseInt(t.indent_size,10):4,x=t.indent_char||" ",k=void 0!==t.preserve_newlines&&t.preserve_newlines,w=void 0===t.selector_separator_newline||t.selector_separator_newline,E=void 0!==t.end_with_newline&&t.end_with_newline,T=void 0===t.newline_between_rules||t.newline_between_rules,S=void 0!==t.space_around_combinator&&t.space_around_combinator;S=S||void 0!==t.space_around_selector_separator&&t.space_around_selector_separator;var R=t.eol?t.eol:"auto";t.indent_with_tabs&&(x="\t",y=1),"auto"===R&&(R="\n",e&&s.test(e||"")&&(R=e.match(s)[0])),R=R.replace(/\\r/,"\r").replace(/\\n/,"\n"),e=e.replace(l,"\n");var O=/^\s+$/,K=-1,A,j=0,C="",N=0;if(e&&e.length){for(;" "===e.charAt(N)||"\t"===e.charAt(N);)N+=1;C=e.substring(0,N),e=e.substring(N)}var L=new Array(y+1).join(x),D,I,P;this.beautify=function(){P=new a(L,C),D=0,I=0,K=-1,A=null,j=0;for(var e=!1,t=!1,r=!1,s="",l="";;){var y=_(),x=""!==y,k=-1!==y.indexOf("\n");if(l=s,s=A,!A)break;if("/"===A&&"*"===i()){var N=0===D;(k||N)&&P.add_new_line(),h(d()),P.add_new_line(),N&&P.add_new_line(!0)}else if("/"===A&&"/"===i())k||"{"===l||P.trim(!0),P.space_before_token=!0,h(d()),P.add_new_line();else if("@"===A)if(g(x),"{"===i())h(o("}"));else{h(A);var M=u(": ,;{}()[]/='\"");M.match(/[ :]$/)&&(n(),M=o(": ").replace(/\s$/,""),h(M),P.space_before_token=!0),M=M.replace(/\s$/,""),M in this.NESTED_AT_RULE&&(I+=1,M in this.CONDITIONAL_GROUP_RULE&&(r=!0))}else"#"===A&&"{"===i()?(g(x),h(o("}"))):"{"===A?"}"===i(!0)?(c(),n(),P.space_before_token=!0,h("{}"),c(!0)||P.add_new_line(),v<2&&T&&0===D&&P.add_new_line(!0)):(m(),P.space_before_token=!0,h(A),c(!0)||P.add_new_line(),r?(r=!1,e=D>I):e=D>=I):"}"===A?(b(),P.add_new_line(),h(A),e=!1,t=!1,I&&I--,c(!0)||P.add_new_line(),v<2&&T&&0===D&&P.add_new_line(!0)):":"===A?(c(),!e&&!r||p("&")||f()||p("(")?(p(" ")&&(P.space_before_token=!0),":"===i()?(n(),h("::")):h(":")):(h(":"),t||(t=!0,P.space_before_token=!0))):'"'===A||"'"===A?(g(x),h(o(A))):";"===A?(t=!1,h(A),c(!0)||P.add_new_line()):"("===A?p("url")?(h(A),c(),n()&&(")"!==A&&'"'!==A&&"'"!==A?h(o(")")):K--)):(j++,g(x),h(A),c()):")"===A?(h(A),j--):","===A?(h(A),!c(!0)&&w&&!t&&j<1?P.add_new_line():P.space_before_token=!0):(">"===A||"+"===A||"~"===A)&&!t&&j<1?S?(P.space_before_token=!0,h(A),P.space_before_token=!0):(h(A),c(),A&&O.test(A)&&(A="")):"]"===A?h(A):"["===A?(g(x),h(A)):"="===A?(c(),h("="),O.test(A)&&(A="")):"!"===A?(h(" "),h(A)):(g(x),h(A))}return P.get_code(E,R)},this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}var r=n(2).mergeOpts,o=n(1),a=n(3).Output,s=o.lineBreak,l=o.allLineBreaks;e.exports.Beautifier=i},function(e,t){var n=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,i="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",r="̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_",o=new RegExp("["+i+"]"),a=new RegExp("["+i+r+"]");t.newline=/[\n\r\u2028\u2029]/,t.lineBreak=new RegExp("\r\n|"+t.newline.source),t.allLineBreaks=new RegExp(t.lineBreak.source,"g"),t.isIdentifierStart=function(e){return e<65?36===e||64===e:e<91||(e<97?95===e:e<123||e>=170&&o.test(String.fromCharCode(e)))},t.isIdentifierChar=function(e){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||e>=170&&a.test(String.fromCharCode(e))))}},function(e,t){function n(e,t){var n={},i;for(i in e)i!==t&&(n[i]=e[i]);if(t in e)for(i in e[t])n[i]=e[t][i];return n}e.exports.mergeOpts=n},function(e,t){function n(e){var t=0,n=-1,i=[],r=!0;this.set_indent=function(i){t=e.baseIndentLength+i*e.indent_length,n=i},this.get_character_count=function(){return t},this.is_empty=function(){return r},this.last=function(){return this._empty?null:i[i.length-1]},this.push=function(e){i.push(e),t+=e.length,r=!1},this.pop=function(){var e=null;return r||(e=i.pop(),t-=e.length,r=0===i.length),e},this.remove_indent=function(){n>0&&(n-=1,t-=e.indent_length)},this.trim=function(){for(;" "===this.last();)i.pop(),t-=1;r=0===i.length},this.toString=function(){var t="";return this._empty||(n>=0&&(t=e.indent_cache[n]),t+=i.join("")),t}}function i(e,t){t=t||"",this.indent_cache=[t],this.baseIndentLength=t.length,this.indent_length=e.length,this.raw=!1;var i=[];this.baseIndentString=t,this.indent_string=e,this.previous_line=null,this.current_line=null,this.space_before_token=!1,this.add_outputline=function(){this.previous_line=this.current_line,this.current_line=new n(this),i.push(this.current_line)},this.add_outputline(),this.get_line_number=function(){return i.length},this.add_new_line=function(e){return(1!==this.get_line_number()||!this.just_added_newline())&&(!(!e&&this.just_added_newline())&&(this.raw||this.add_outputline(),!0))},this.get_code=function(e,t){var n=i.join("\n").replace(/[\r\n\t ]+$/,"");return e&&(n+="\n"),"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},this.set_indent=function(e){if(i.length>1){for(;e>=this.indent_cache.length;)this.indent_cache.push(this.indent_cache[this.indent_cache.length-1]+this.indent_string);return this.current_line.set_indent(e),!0}return this.current_line.set_indent(0),!1},this.add_raw_token=function(e){for(var t=0;t1&&this.current_line.is_empty();)i.pop(),this.current_line=i[i.length-1],this.current_line.trim();this.previous_line=i.length>1?i[i.length-2]:null},this.just_added_newline=function(){return this.current_line.is_empty()},this.just_added_blankline=function(){if(this.just_added_newline()){if(1===i.length)return!0;return i[i.length-2].is_empty()}return!1}}e.exports.Output=i},function(e,t,n){function i(e,t){return new r(e,t).beautify()}var r=n(0).Beautifier;e.exports=i}]),o=n;i=[],void 0!==(r=function(){return{css_beautify:o}}.apply(t,i))&&(e.exports=r)}()},"./node_modules/js-beautify/js/lib/beautify-html.js":function(e,t,n){var i,r;!function(){var o=function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function t(){return e.default}:function t(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=3)}([function(e,t,n){function i(e){return e.replace(/^\s+/g,"")}function r(e){return e.replace(/\s+$/g,"")}function o(e,t,n,o){function s(){function e(e){var t="";return{add:function(n){var i=t+n.toLowerCase();t=i.length<=e.length?i:i.substr(i.length-e.length,e.length)},doesNotMatch:function(){return-1===t.indexOf(e)}}}return this.pos=0,this.token="",this.current_mode="CONTENT",this.tags={parent:"parent1",parentcount:1,parent1:""},this.tag_type="",this.token_text=this.last_token=this.last_text=this.token_type="",this.newlines=0,this.indent_content=_,this.indent_body_inner_html=d,this.indent_head_inner_html=p,this.Utils={whitespace:"\n\r\t ".split(""),single_token:t.void_elements||["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","?php","basefont","isindex"],extra_liners:K,in_array:function(e,t){for(var n=0;n=this.wrap_line_length?(this.print_newline(!1,e),this.print_indentation(e),!0):(this.line_char_count++,e.push(" "),!1)},this.get_content=function(){for(var e="",t=[],n=0;"<"!==this.input.charAt(this.pos)||2===n;){if(this.pos>=this.input.length)return t.length?t.join(""):["","TK_EOF"];if(n<2&&this.traverse_whitespace())this.space_or_wrap(t);else{if(e=this.input.charAt(this.pos),k){if("{"===e?n+=1:n<2&&(n=0),"}"===e&&n>0&&0==n--)break;var i=this.input.substr(this.pos,3);if("{{#"===i||"{{/"===i)break;if("{{!"===i)return[this.get_tag(),"TK_TAG_HANDLEBARS_COMMENT"];if("{{"===this.input.substr(this.pos,2)&&"{{else}}"===this.get_tag(!0))break}this.pos++,this.line_char_count++,t.push(e)}}return t.length?t.join(""):""},this.get_contents_to=function(e){if(this.pos===this.input.length)return["","TK_EOF"];var t="",n=new RegExp(""+e+"\\s*>","igm");n.lastIndex=this.pos;var i=n.exec(this.input),r=i?i.index:this.input.length;return this.pos=this.input.length)return e&&(this.pos=c,this.line_char_count=_),n.length?n.join(""):["","TK_EOF"];if(t=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(t,this.Utils.whitespace))r=!0;else{if("'"!==t&&'"'!==t||(t+=this.get_unformatted(t),r=!0),"="===t&&(r=!1),p=this.input.substr(this.pos-1),!S||!a||d||">"!==t&&"/"!==t||p.match(/^\/?\s*>/)&&(r=!1,d=!0,this.print_newline(!1,n),this.print_indentation(n)),n.length&&"="!==n[n.length-1]&&">"!==t&&r){var f=this.space_or_wrap(n),h=f&&"/"!==t&&!T;if(r=!1,T&&"/"!==t){var g=!1;if(S&&o){g=!(null!==p.match(/^\S*(="([^"]|\\")*")?\s*\/?\s*>/))}o&&!g||(this.print_newline(!1,n),this.print_indentation(n),h=!0)}if(h){a=!0;var m=E;R&&(m=n.indexOf(" ")+1);for(var y=0;y=2&&"{"===n[n.length-1]&&"{"===n[n.length-2]&&(s="#"===t||"/"===t||"!"===t?this.pos-3:this.pos-2,u="{"),this.line_char_count++,n.push(t),n[1]&&("!"===n[1]||"?"===n[1]||"%"===n[1])){n=[this.get_comment(s)];break}if(k&&n[1]&&"{"===n[1]&&n[2]&&"!"===n[2]){n=[this.get_comment(s)];break}if(k&&"{"===u&&n.length>2&&"}"===n[n.length-2]&&"}"===n[n.length-1])break}}while(">"!==t);var w=n.join(""),O,K;O=-1!==w.indexOf(" ")?w.indexOf(" "):-1!==w.indexOf("\n")?w.indexOf("\n"):"{"===w.charAt(0)?w.indexOf("}"):w.indexOf(">"),K="<"!==w.charAt(0)&&k?"#"===w.charAt(2)?3:2:1;var A=w.substring(K,O).toLowerCase();return"/"===w.charAt(w.length-2)||this.Utils.in_array(A,this.Utils.single_token)?e||(this.tag_type="SINGLE"):k&&"{"===w.charAt(0)&&"else"===A?e||(this.indent_to_tag("if"),this.tag_type="HANDLEBARS_ELSE",this.indent_content=!0,this.traverse_whitespace()):this.is_unformatted(A,b)||this.is_unformatted(A,v)?(i=this.get_unformatted(""+A+">",w),n.push(i),l=this.pos-1,this.tag_type="SINGLE"):"script"===A&&(-1===w.search("type")||w.search("type")>-1&&w.search(/\b(text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect)/)>-1)?e||(this.record_tag(A),this.tag_type="SCRIPT"):"style"===A&&(-1===w.search("type")||w.search("type")>-1&&w.search("text/css")>-1)?e||(this.record_tag(A),this.tag_type="STYLE"):"!"===A.charAt(0)?e||(this.tag_type="SINGLE",this.traverse_whitespace()):e||("/"===A.charAt(0)?(this.retrieve_tag(A.substring(1)),this.tag_type="END"):(this.record_tag(A),"html"!==A.toLowerCase()&&(this.indent_content=!0),this.tag_type="START"),this.traverse_whitespace()&&this.space_or_wrap(n),this.Utils.in_array(A,this.Utils.extra_liners)&&(this.print_newline(!1,this.output),this.output.length&&"\n"!==this.output[this.output.length-2]&&this.print_newline(!0,this.output))),e&&(this.pos=c,this.line_char_count=_),n.join("")},this.get_comment=function(e){var t="",n=">",i=!1;this.pos=e;var r=this.input.charAt(this.pos);for(this.pos++;this.pos<=this.input.length&&(t+=r,t.charAt(t.length-1)!==n.charAt(n.length-1)||-1===t.indexOf(n));)!i&&t.length<10&&(0===t.indexOf("",i=!0):0===t.indexOf("",i=!0):0===t.indexOf("",i=!0):0===t.indexOf("\x3c!--")?(n="--\x3e",i=!0):0===t.indexOf("{{!--")?(n="--}}",i=!0):0===t.indexOf("{{!")?5===t.length&&-1===t.indexOf("{{!--")&&(n="}}",i=!0):0===t.indexOf("")?(n="?>",i=!0):0===t.indexOf("<%")&&(n="%>",i=!0)),r=this.input.charAt(this.pos),this.pos++;return t},this.get_unformatted=function(t,n){if(n&&-1!==n.toLowerCase().indexOf(t))return"";var i="",r="",o=!0,a=e(t);do{if(this.pos>=this.input.length)return r;if(i=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(i,this.Utils.whitespace)){if(!o){this.line_char_count--;continue}if("\n"===i||"\r"===i){r+="\n",this.line_char_count=0;continue}}r+=i,a.add(i),this.line_char_count++,o=!0,k&&"{"===i&&r.length&&"{"===r.charAt(r.length-2)&&(r+=this.get_unformatted("}}"))}while(a.doesNotMatch());return r},this.get_token=function(){var e;if("TK_TAG_SCRIPT"===this.last_token||"TK_TAG_STYLE"===this.last_token){var t=this.last_token.substr(7);return e=this.get_contents_to(t),"string"!=typeof e?e:[e,"TK_"+t]}if("CONTENT"===this.current_mode)return e=this.get_content(),"string"!=typeof e?e:[e,"TK_CONTENT"];if("TAG"===this.current_mode){if("string"!=typeof(e=this.get_tag()))return e;return[e,"TK_TAG_"+this.tag_type]}},this.get_full_indent=function(e){return e=this.indent_level+e||0,e<1?"":Array(e+1).join(this.indent_string)},this.is_unformatted=function(e,t){if(!this.Utils.in_array(e,t))return!1;if("a"!==e.toLowerCase()||!this.Utils.in_array("a",t))return!0;var n=this.get_tag(!0),i=(n||"").match(/^\s*<\s*\/?([a-z]*)\s*[^>]*>\s*$/);return!(i&&!this.Utils.in_array(i[1],t))},this.printer=function(e,t,n,o,a){this.input=e||"",this.input=this.input.replace(/\r\n|[\r\u2028\u2029]/g,"\n"),this.output=[],this.indent_character=t,this.indent_string="",this.indent_size=n,this.brace_style=a,this.indent_level=0,this.wrap_line_length=o,this.line_char_count=0;for(var s=0;s0&&(e=r(e)),e&&""!==e&&(e.length>1&&"\n"===e.charAt(e.length-1)?(this.output.push(e.slice(0,-1)),this.print_newline(!1,this.output)):this.output.push(e));for(var t=0;t0,this.output);this.newlines=0},this.indent=function(){this.indent_level++},this.unindent=function(){this.indent_level>0&&this.indent_level--}},this}e=e||"";var c,_,d,p,f,h,g,m,b,v,y,x,k,w,E,T,S,R,O,K,A;t=t||{},t=a(t,"html"),void 0!==t.wrap_line_length&&0!==parseInt(t.wrap_line_length,10)||void 0===t.max_char||0===parseInt(t.max_char,10)||(t.wrap_line_length=t.max_char),_=void 0!==t.indent_inner_html&&t.indent_inner_html,d=void 0===t.indent_body_inner_html||t.indent_body_inner_html,p=void 0===t.indent_head_inner_html||t.indent_head_inner_html,f=void 0===t.indent_size?4:parseInt(t.indent_size,10),h=void 0===t.indent_char?" ":t.indent_char,m=void 0===t.brace_style?"collapse":t.brace_style,g=0===parseInt(t.wrap_line_length,10)?32786:parseInt(t.wrap_line_length||250,10),b=t.unformatted||["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","address","big","dt","ins","strike","tt"],v=t.content_unformatted||["pre"],y=void 0===t.preserve_newlines||t.preserve_newlines,x=y?isNaN(parseInt(t.max_preserve_newlines,10))?32786:parseInt(t.max_preserve_newlines,10):0,k=void 0!==t.indent_handlebars&&t.indent_handlebars,w=void 0===t.wrap_attributes?"auto":t.wrap_attributes,E=isNaN(parseInt(t.wrap_attributes_indent_size,10))?f:parseInt(t.wrap_attributes_indent_size,10),T="force"===w.substr(0,"force".length),S="force-expand-multiline"===w,R="force-aligned"===w,O=void 0!==t.end_with_newline&&t.end_with_newline,K="object"==typeof t.extra_liners&&t.extra_liners?t.extra_liners.concat():"string"==typeof t.extra_liners?t.extra_liners.split(","):"head,body,/html".split(","),A=t.eol?t.eol:"auto",t.indent_with_tabs&&(h="\t",f=1),"auto"===A&&(A="\n",e&&l.test(e||"")&&(A=e.match(l)[0])),A=A.replace(/\\r/,"\r").replace(/\\n/,"\n"),e=e.replace(u,"\n"),this.beautify=function(){for(c=new s,c.printer(e,h,f,g,m);;){var i=c.get_token();if(c.token_text=i[0],c.token_type=i[1],"TK_EOF"===c.token_type)break;switch(c.token_type){case"TK_TAG_START":c.print_newline(!1,c.output),c.print_token(c.token_text),c.indent_content&&(!c.indent_body_inner_html&&c.token_text.match(//)||!c.indent_head_inner_html&&c.token_text.match(//)||c.indent(),c.indent_content=!1),c.current_mode="CONTENT";break;case"TK_TAG_STYLE":case"TK_TAG_SCRIPT":c.print_newline(!1,c.output),c.print_token(c.token_text),c.current_mode="CONTENT";break;case"TK_TAG_END":if("TK_CONTENT"===c.last_token&&""===c.last_text){var r=(c.token_text.match(/\w+/)||[])[0],a=null;c.output.length&&(a=c.output[c.output.length-1].match(/(?:<|{{#)\s*(\w+)/)),(null===a||a[1]!==r&&!c.Utils.in_array(a[1],b))&&c.print_newline(!1,c.output)}c.print_token(c.token_text),c.current_mode="CONTENT";break;case"TK_TAG_SINGLE":var l=c.token_text.match(/^\s*<([a-z-]+)/i);l&&c.Utils.in_array(l[1],b)||c.print_newline(!1,c.output),c.print_token(c.token_text),c.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_ELSE":for(var u=!1,_=c.output.length-1;_>=0&&"\n"!==c.output[_];_--)if(c.output[_].match(/{{#if/)){u=!0;break}u||c.print_newline(!1,c.output),c.print_token(c.token_text),c.indent_content&&(c.indent(),c.indent_content=!1),c.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_COMMENT":case"TK_CONTENT":c.print_token(c.token_text),c.current_mode="TAG";break;case"TK_STYLE":case"TK_SCRIPT":if(""!==c.token_text){c.print_newline(!1,c.output);var d=c.token_text,p,v=1;"TK_SCRIPT"===c.token_type?p="function"==typeof n&&n:"TK_STYLE"===c.token_type&&(p="function"==typeof o&&o),"keep"===t.indent_scripts?v=0:"separate"===t.indent_scripts&&(v=-c.indent_level);var y=c.get_full_indent(v);if(p){var x=function(){this.eol="\n"};x.prototype=t;var k=new x;d=p(d.replace(/^\s*/,y),k)}else{var w=d.match(/^\s*/)[0],E=w.match(/[^\n\r]*$/)[0].split(c.indent_string).length-1,T=c.get_full_indent(v-E);d=d.replace(/^\s*/,y).replace(/\r\n|\r|\n/g,"\n"+T).replace(/\s+$/,"")}d&&(c.print_token_raw(d),c.print_newline(!0,c.output))}c.current_mode="TAG";break;default:""!==c.token_text&&c.print_token(c.token_text)}c.last_token=c.token_type,c.last_text=c.token_text}var S=c.output.join("").replace(/[\r\n\t ]+$/,"");return O&&(S+="\n"),"\n"!==A&&(S=S.replace(/[\n]/g,A)),S}}var a=n(2).mergeOpts,s=n(1),l=s.lineBreak,u=s.allLineBreaks;e.exports.Beautifier=o},function(e,t){var n=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,i="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",r="̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_",o=new RegExp("["+i+"]"),a=new RegExp("["+i+r+"]");t.newline=/[\n\r\u2028\u2029]/,t.lineBreak=new RegExp("\r\n|"+t.newline.source),t.allLineBreaks=new RegExp(t.lineBreak.source,"g"),t.isIdentifierStart=function(e){return e<65?36===e||64===e:e<91||(e<97?95===e:e<123||e>=170&&o.test(String.fromCharCode(e)))},t.isIdentifierChar=function(e){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||e>=170&&a.test(String.fromCharCode(e))))}},function(e,t){function n(e,t){var n={},i;for(i in e)i!==t&&(n[i]=e[i]);if(t in e)for(i in e[t])n[i]=e[t][i];return n}e.exports.mergeOpts=n},function(e,t,n){function i(e,t,n,i){return new r(e,t,n,i).beautify()}var r=n(0).Beautifier;e.exports=i}]),a=o,s,l;i=[n,n("./node_modules/js-beautify/js/lib/beautify.js"),n("./node_modules/js-beautify/js/lib/beautify-css.js")],void 0!==(r=function(e){var t=n("./node_modules/js-beautify/js/lib/beautify.js"),i=n("./node_modules/js-beautify/js/lib/beautify-css.js");return{html_beautify:function(e,n){return a(e,n,t.js_beautify,i.css_beautify)}}}.apply(t,i))&&(e.exports=r)}()},"./node_modules/js-beautify/js/lib/beautify.js":function(e,t,n){var i,r;!function(){var n=function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function t(){return e.default}:function t(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=6)}([function(e,t){var n=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,i="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",r="̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_",o=new RegExp("["+i+"]"),a=new RegExp("["+i+r+"]");t.newline=/[\n\r\u2028\u2029]/,t.lineBreak=new RegExp("\r\n|"+t.newline.source),t.allLineBreaks=new RegExp(t.lineBreak.source,"g"),t.isIdentifierStart=function(e){return e<65?36===e||64===e:e<91||(e<97?95===e:e<123||e>=170&&o.test(String.fromCharCode(e)))},t.isIdentifierChar=function(e){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||e>=170&&a.test(String.fromCharCode(e))))}},function(e,t,n){function i(e,t){if(!t.multiline_frame&&t.mode!==m.ForInitializer&&t.mode!==m.Conditional){var n=t.start_line_index;e.remove_indent(n)}}function r(e,t){for(var n=0;nn&&(n=e.line_indent_level)),{mode:t,parent:e,last_text:e?e.last_text:"",last_word:e?e.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:n,line_indent_level:e?e.line_indent_level:n,start_line_index:H.get_line_number(),ternary_depth:0}}function s(e,t){for(var n=e.newlines,i=se.keep_array_indentation&&E(ne.mode),r=Z,o=0;o0,t);else if(se.max_preserve_newlines&&n>se.max_preserve_newlines&&(n=se.max_preserve_newlines),se.preserve_newlines&&e.newlines>1){b(!1,t);for(var l=1;l=se.wrap_line_length&&b(!1,!0)}}}function b(e,t){if(!t&&";"!==ne.last_text&&","!==ne.last_text&&"="!==ne.last_text&&"TK_OPERATOR"!==J)for(var n=C(1);!(ne.mode!==m.Statement||ne.if_block&&n&&"TK_RESERVED"===n.type&&"else"===n.text||ne.do_block);)S();H.add_new_line(e)&&(ne.multiline_frame=!0)}function v(){H.just_added_newline()&&(se.keep_array_indentation&&E(ne.mode)&&Z.wanted_newline?(H.current_line.push(Z.whitespace_before),H.space_before_token=!1):H.set_indent(ne.indentation_level)&&(ne.line_indent_level=ne.indentation_level))}function y(e){if(H.raw)return void H.add_raw_token(Z);if(se.comma_first&&"TK_COMMA"===J&&H.just_added_newline()&&","===H.previous_line.last()){var t=H.previous_line.pop();H.previous_line.is_empty()&&(H.previous_line.push(t),H.trim(!0),H.current_line.pop(),H.trim()),v(),H.add_token(","),H.space_before_token=!0}e=e||Z.text,v(),H.add_token(e)}function x(){ne.indentation_level+=1}function k(){ne.indentation_level>0&&(!ne.parent||ne.indentation_level>ne.parent.indentation_level)&&(ne.indentation_level-=1)}function w(e){ne?(re.push(ne),ie=ne):ie=n(null,e),ne=n(ie,e)}function E(e){return e===m.ArrayLiteral}function T(e){return r(e,[m.Expression,m.ForInitializer,m.Conditional])}function S(){re.length>0&&(ie=ne,ne=re.pop(),ie.mode!==m.Statement||se.unindent_chained_methods||i(H,ie))}function R(){return ne.parent.mode===m.ObjectLiteral&&ne.mode===m.Statement&&(":"===ne.last_text&&0===ne.ternary_depth||"TK_RESERVED"===J&&r(ne.last_text,["get","set"]))}function O(){return!!("TK_RESERVED"===J&&r(ne.last_text,["var","let","const"])&&"TK_WORD"===Z.type||"TK_RESERVED"===J&&"do"===ne.last_text||"TK_RESERVED"===J&&r(ne.last_text,de)&&!Z.wanted_newline||"TK_RESERVED"===J&&"else"===ne.last_text&&("TK_RESERVED"!==Z.type||"if"!==Z.text||Z.comments_before.length)||"TK_END_EXPR"===J&&(ie.mode===m.ForInitializer||ie.mode===m.Conditional)||"TK_WORD"===J&&ne.mode===m.BlockStatement&&!ne.in_case&&"--"!==Z.text&&"++"!==Z.text&&"function"!==ee&&"TK_WORD"!==Z.type&&"TK_RESERVED"!==Z.type||ne.mode===m.ObjectLiteral&&(":"===ne.last_text&&0===ne.ternary_depth||"TK_RESERVED"===J&&r(ne.last_text,["get","set"])))&&(w(m.Statement),se.unindent_chained_methods||x(),s(Z,!0),R()||f("TK_RESERVED"===Z.type&&r(Z.text,["do","for","if","while"])),!0)}function K(e,t){for(var n=0;n=q.length?null:q[t]}function N(){O()||s(Z);var e=m.Expression;if("["===Z.text){if("TK_WORD"===J||")"===ne.last_text)return"TK_RESERVED"===J&&r(ne.last_text,Y.line_starters)&&(H.space_before_token=!0),w(e),y(),x(),void(se.space_in_paren&&(H.space_before_token=!0));e=m.ArrayLiteral,E(ne.mode)&&("["!==ne.last_text&&(","!==ne.last_text||"]"!==ee&&"}"!==ee)||se.keep_array_indentation||b())}else"TK_RESERVED"===J&&"for"===ne.last_text?e=m.ForInitializer:"TK_RESERVED"===J&&r(ne.last_text,["if","while"])&&(e=m.Conditional);";"===ne.last_text||"TK_START_BLOCK"===J?b():"TK_END_EXPR"===J||"TK_START_EXPR"===J||"TK_END_BLOCK"===J||"."===ne.last_text?f(Z.wanted_newline):"TK_RESERVED"===J&&"("===Z.text||"TK_WORD"===J||"TK_OPERATOR"===J?"TK_RESERVED"===J&&("function"===ne.last_word||"typeof"===ne.last_word)||"*"===ne.last_text&&(r(ee,["function","yield"])||ne.mode===m.ObjectLiteral&&r(ee,["{",","]))?se.space_after_anon_function&&(H.space_before_token=!0):"TK_RESERVED"!==J||!r(ne.last_text,Y.line_starters)&&"catch"!==ne.last_text||se.space_before_conditional&&(H.space_before_token=!0):H.space_before_token=!0,"("===Z.text&&"TK_RESERVED"===J&&r(ne.last_word,["await","async"])&&(H.space_before_token=!0),"("===Z.text&&("TK_EQUALS"!==J&&"TK_OPERATOR"!==J||R()||f()),"("===Z.text&&"TK_WORD"!==J&&"TK_RESERVED"!==J&&f(),w(e),y(),se.space_in_paren&&(H.space_before_token=!0),x()}function L(){for(;ne.mode===m.Statement;)S();s(Z),ne.multiline_frame&&f("]"===Z.text&&E(ne.mode)&&!se.keep_array_indentation),se.space_in_paren&&("TK_START_EXPR"!==J||se.space_in_empty_paren?H.space_before_token=!0:(H.trim(),H.space_before_token=!1)),"]"===Z.text&&se.keep_array_indentation?(y(),S()):(S(),y()),i(H,ie),ne.do_while&&ie.mode===m.Conditional&&(ie.mode=m.Expression,ne.do_block=!1,ne.do_while=!1)}function D(){s(Z);var e=C(1),t=C(2);w(t&&(r(t.text,[":",","])&&r(e.type,["TK_STRING","TK_WORD","TK_RESERVED"])||r(e.text,["get","set","..."])&&r(t.type,["TK_WORD","TK_RESERVED"]))?r(ee,["class","interface"])?m.BlockStatement:m.ObjectLiteral:"TK_OPERATOR"===J&&"=>"===ne.last_text?m.BlockStatement:r(J,["TK_EQUALS","TK_START_EXPR","TK_COMMA","TK_OPERATOR"])||"TK_RESERVED"===J&&r(ne.last_text,["return","throw","import","default"])?m.ObjectLiteral:m.BlockStatement);var n=!e.comments_before.length&&"}"===e.text,i=n&&"function"===ne.last_word&&"TK_END_EXPR"===J;if(se.brace_preserve_inline){var o=0,a=null;ne.inline_frame=!0;do{if(o+=1,a=C(o),a.wanted_newline){ne.inline_frame=!1;break}}while("TK_EOF"!==a.type&&("TK_END_BLOCK"!==a.type||a.opened!==Z))}("expand"===se.brace_style||"none"===se.brace_style&&Z.wanted_newline)&&!ne.inline_frame?"TK_OPERATOR"!==J&&(i||"TK_EQUALS"===J||"TK_RESERVED"===J&&j(ne.last_text)&&"else"!==ne.last_text)?H.space_before_token=!0:b(!1,!0):(!E(ie.mode)||"TK_START_EXPR"!==J&&"TK_COMMA"!==J||(("TK_COMMA"===J||se.space_in_paren)&&(H.space_before_token=!0),("TK_COMMA"===J||"TK_START_EXPR"===J&&ne.inline_frame)&&(f(),ie.multiline_frame=ie.multiline_frame||ne.multiline_frame,ne.multiline_frame=!1)),"TK_OPERATOR"!==J&&"TK_START_EXPR"!==J&&("TK_START_BLOCK"!==J||ne.inline_frame?H.space_before_token=!0:b())),y(),x()}function I(){for(s(Z);ne.mode===m.Statement;)S();var e="TK_START_BLOCK"===J;ne.inline_frame&&!e?H.space_before_token=!0:"expand"===se.brace_style?e||b():e||(E(ne.mode)&&se.keep_array_indentation?(se.keep_array_indentation=!1,b(),se.keep_array_indentation=!0):b()),S(),y()}function P(){if("TK_RESERVED"===Z.type)if(r(Z.text,["set","get"])&&ne.mode!==m.ObjectLiteral)Z.type="TK_WORD";else if(r(Z.text,["as","from"])&&!ne.import_block)Z.type="TK_WORD";else if(ne.mode===m.ObjectLiteral){var e=C(1);":"===e.text&&(Z.type="TK_WORD")}if(O()?"TK_RESERVED"===J&&r(ne.last_text,["var","let","const"])&&"TK_WORD"===Z.type&&(ne.declaration_statement=!0):!Z.wanted_newline||T(ne.mode)||"TK_OPERATOR"===J&&"--"!==ne.last_text&&"++"!==ne.last_text||"TK_EQUALS"===J||!se.preserve_newlines&&"TK_RESERVED"===J&&r(ne.last_text,["var","let","const","set","get"])?s(Z):(s(Z),b()),ne.do_block&&!ne.do_while){if("TK_RESERVED"===Z.type&&"while"===Z.text)return H.space_before_token=!0,y(),H.space_before_token=!0,void(ne.do_while=!0);b(),ne.do_block=!1}if(ne.if_block)if(ne.else_block||"TK_RESERVED"!==Z.type||"else"!==Z.text){for(;ne.mode===m.Statement;)S();ne.if_block=!1,ne.else_block=!1}else ne.else_block=!0;if("TK_RESERVED"===Z.type&&("case"===Z.text||"default"===Z.text&&ne.in_case_statement))return b(),(ne.case_body||se.jslint_happy)&&(k(),ne.case_body=!1),y(),ne.in_case=!0,void(ne.in_case_statement=!0);if("TK_COMMA"!==J&&"TK_START_EXPR"!==J&&"TK_EQUALS"!==J&&"TK_OPERATOR"!==J||R()||f(),"TK_RESERVED"===Z.type&&"function"===Z.text)return(r(ne.last_text,["}",";"])||H.just_added_newline()&&!r(ne.last_text,["(","[","{",":","=",","])&&"TK_OPERATOR"!==J)&&(H.just_added_blankline()||Z.comments_before.length||(b(),b(!0))),"TK_RESERVED"===J||"TK_WORD"===J?"TK_RESERVED"===J&&(r(ne.last_text,["get","set","new","export","async"])||r(ne.last_text,de))?H.space_before_token=!0:"TK_RESERVED"===J&&"default"===ne.last_text&&"export"===ee?H.space_before_token=!0:b():"TK_OPERATOR"===J||"="===ne.last_text?H.space_before_token=!0:(ne.multiline_frame||!T(ne.mode)&&!E(ne.mode))&&b(),y(),void(ne.last_word=Z.text);if(oe="NONE","TK_END_BLOCK"===J?ie.inline_frame?oe="SPACE":"TK_RESERVED"===Z.type&&r(Z.text,["else","catch","finally","from"])?"expand"===se.brace_style||"end-expand"===se.brace_style||"none"===se.brace_style&&Z.wanted_newline?oe="NEWLINE":(oe="SPACE",H.space_before_token=!0):oe="NEWLINE":"TK_SEMICOLON"===J&&ne.mode===m.BlockStatement?oe="NEWLINE":"TK_SEMICOLON"===J&&T(ne.mode)?oe="SPACE":"TK_STRING"===J?oe="NEWLINE":"TK_RESERVED"===J||"TK_WORD"===J||"*"===ne.last_text&&(r(ee,["function","yield"])||ne.mode===m.ObjectLiteral&&r(ee,["{",","]))?oe="SPACE":"TK_START_BLOCK"===J?oe=ne.inline_frame?"SPACE":"NEWLINE":"TK_END_EXPR"===J&&(H.space_before_token=!0,oe="NEWLINE"),"TK_RESERVED"===Z.type&&r(Z.text,Y.line_starters)&&")"!==ne.last_text&&(oe=ne.inline_frame||"else"===ne.last_text||"export"===ne.last_text?"SPACE":"NEWLINE"),"TK_RESERVED"===Z.type&&r(Z.text,["else","catch","finally"]))if(("TK_END_BLOCK"!==J||ie.mode!==m.BlockStatement||"expand"===se.brace_style||"end-expand"===se.brace_style||"none"===se.brace_style&&Z.wanted_newline)&&!ne.inline_frame)b();else{H.trim(!0);var t=H.current_line;"}"!==t.last()&&b(),H.space_before_token=!0}else"NEWLINE"===oe?"TK_RESERVED"===J&&j(ne.last_text)?H.space_before_token=!0:"TK_END_EXPR"!==J?"TK_START_EXPR"===J&&"TK_RESERVED"===Z.type&&r(Z.text,["var","let","const"])||":"===ne.last_text||("TK_RESERVED"===Z.type&&"if"===Z.text&&"else"===ne.last_text?H.space_before_token=!0:b()):"TK_RESERVED"===Z.type&&r(Z.text,Y.line_starters)&&")"!==ne.last_text&&b():ne.multiline_frame&&E(ne.mode)&&","===ne.last_text&&"}"===ee?b():"SPACE"===oe&&(H.space_before_token=!0);y(),ne.last_word=Z.text,"TK_RESERVED"===Z.type&&("do"===Z.text?ne.do_block=!0:"if"===Z.text?ne.if_block=!0:"import"===Z.text?ne.import_block=!0:ne.import_block&&"TK_RESERVED"===Z.type&&"from"===Z.text&&(ne.import_block=!1))}function M(){O()?H.space_before_token=!1:s(Z);for(var e=C(1);!(ne.mode!==m.Statement||ne.if_block&&e&&"TK_RESERVED"===e.type&&"else"===e.text||ne.do_block);)S();ne.import_block&&(ne.import_block=!1),y()}function B(){O()?H.space_before_token=!0:(s(Z),"TK_RESERVED"===J||"TK_WORD"===J||ne.inline_frame?H.space_before_token=!0:"TK_COMMA"===J||"TK_START_EXPR"===J||"TK_EQUALS"===J||"TK_OPERATOR"===J?R()||f():b()),y()}function F(){O()||s(Z),ne.declaration_statement&&(ne.declaration_assignment=!0),H.space_before_token=!0,y(),H.space_before_token=!0}function U(){s(Z,!0),y(),H.space_before_token=!0,ne.declaration_statement?(T(ne.parent.mode)&&(ne.declaration_assignment=!1),ne.declaration_assignment?(ne.declaration_assignment=!1,b(!1,!0)):se.comma_first&&f()):ne.mode===m.ObjectLiteral||ne.mode===m.Statement&&ne.parent.mode===m.ObjectLiteral?(ne.mode===m.Statement&&S(),ne.inline_frame||b()):se.comma_first&&f()}function z(){var e="*"===Z.text&&("TK_RESERVED"===J&&r(ne.last_text,["function","yield"])||r(J,["TK_START_BLOCK","TK_COMMA","TK_END_BLOCK","TK_SEMICOLON"])),t=r(Z.text,["-","+"])&&(r(J,["TK_START_BLOCK","TK_START_EXPR","TK_EQUALS","TK_OPERATOR"])||r(ne.last_text,Y.line_starters)||","===ne.last_text);if(O());else{s(Z,!e)}if("TK_RESERVED"===J&&j(ne.last_text))return H.space_before_token=!0,void y();if("*"===Z.text&&"TK_DOT"===J)return void y();if("::"===Z.text)return void y();if("TK_OPERATOR"===J&&r(se.operator_position,g)&&f(),":"===Z.text&&ne.in_case)return ne.case_body=!0,x(),y(),b(),void(ne.in_case=!1);var n=!0,i=!0,o=!1;if(":"===Z.text?0===ne.ternary_depth?n=!1:(ne.ternary_depth-=1,o=!0):"?"===Z.text&&(ne.ternary_depth+=1),!t&&!e&&se.preserve_newlines&&r(Z.text,Y.positionable_operators)){var a=":"===Z.text,l=a&&o,u=a&&!o;switch(se.operator_position){case h.before_newline:return H.space_before_token=!u,y(),a&&!l||f(),void(H.space_before_token=!0);case h.after_newline:return H.space_before_token=!0,!a||l?C(1).wanted_newline?b(!1,!0):f():H.space_before_token=!1,y(),void(H.space_before_token=!0);case h.preserve_newline:return u||f(),n=!(H.just_added_newline()||u),H.space_before_token=n,y(),void(H.space_before_token=!0)}}if(e){f(),n=!1;var c=C(1);i=c&&r(c.type,["TK_WORD","TK_RESERVED"])}else"..."===Z.text?(f(),n="TK_START_BLOCK"===J,i=!1):(r(Z.text,["--","++","!","~"])||t)&&(n=!1,i=!1,!Z.wanted_newline||"--"!==Z.text&&"++"!==Z.text||b(!1,!0),";"===ne.last_text&&T(ne.mode)&&(n=!0),"TK_RESERVED"===J?n=!0:"TK_END_EXPR"===J?n=!("]"===ne.last_text&&("--"===Z.text||"++"===Z.text)):"TK_OPERATOR"===J&&(n=r(Z.text,["--","-","++","+"])&&r(ne.last_text,["--","-","++","+"]),r(Z.text,["+","-"])&&r(ne.last_text,["--","++"])&&(i=!0)),(ne.mode!==m.BlockStatement||ne.inline_frame)&&ne.mode!==m.Statement||"{"!==ne.last_text&&";"!==ne.last_text||b());H.space_before_token=H.space_before_token||n,y(),H.space_before_token=i}function V(e){if(H.raw)return H.add_raw_token(Z),void(Z.directives&&"end"===Z.directives.preserve&&(H.raw=se.test_output_raw));if(Z.directives)return b(!1,e),y(),"start"===Z.directives.preserve&&(H.raw=!0),void b(!1,!0);if(!_.newline.test(Z.text)&&!Z.wanted_newline)return H.space_before_token=!0,y(),void(H.space_before_token=!0);var t=u(Z.text),n,i=!1,r=!1,o=Z.whitespace_before,s=o.length;for(b(!1,e),t.length>1&&(i=K(t.slice(1),"*"),r=A(t.slice(1),o)),y(t[0]),n=1;ns?y(t[n].substring(s)):H.add_token(t[n]);b(!1,e)}function W(e){Z.wanted_newline?b(!1,e):H.trim(!0),H.space_before_token=!0,y(),b(!1,e)}function $(){O()||s(Z,!0),"TK_RESERVED"===J&&j(ne.last_text)?H.space_before_token=!0:f(")"===ne.last_text&&se.break_chained_methods),y()}function G(e){y(),"\n"===Z.text[Z.text.length-1]&&b(!1,e)}function X(){for(;ne.mode===m.Statement;)S();s(Z)}var H,q=[],Q,Y,Z,J,ee,te,ne,ie,re,oe,ae,se,le="";ae={TK_START_EXPR:N,TK_END_EXPR:L,TK_START_BLOCK:D,TK_END_BLOCK:I,TK_WORD:P,TK_RESERVED:P,TK_SEMICOLON:M,TK_STRING:B,TK_EQUALS:F,TK_OPERATOR:z,TK_COMMA:U,TK_BLOCK_COMMENT:V,TK_COMMENT:W,TK_DOT:$,TK_UNKNOWN:G,TK_EOF:X},t=t||{},t=c(t,"js"),se={},"expand-strict"===t.brace_style?t.brace_style="expand":"collapse-preserve-inline"===t.brace_style?t.brace_style="collapse,preserve-inline":void 0!==t.braces_on_own_line?t.brace_style=t.braces_on_own_line?"expand":"collapse":t.brace_style||(t.brace_style="collapse");var ue=t.brace_style.split(/[^a-zA-Z0-9_\-]+/);se.brace_preserve_inline=!1,se.brace_style="collapse";for(var ce=0;ce0;)te+=se.indent_char,se.indent_size-=1;var _e=0;if(e&&e.length){for(;" "===e.charAt(_e)||"\t"===e.charAt(_e);)_e+=1;le=e.substring(0,_e),e=e.substring(_e)}J="TK_START_BLOCK",ee="",H=new d(te,le),H.raw=se.test_output_raw,re=[],w(m.BlockStatement),this.beautify=function(){var t;for(Y=new p(e,se,te),q=Y.tokenize(),Q=0,Z=C();Z;)ae[Z.type](),ee=ne.last_text,J=Z.type,ne.last_text=Z.text,Q+=1,Z=C();return t=H.get_code(se.end_with_newline,se.eol)};var de=["break","continue","return","throw","yield"]}var c=n(3).mergeOpts,_=n(0),d=n(4).Output,p=n(7).Tokenizer,f=["before-newline","after-newline","preserve-newline"],h=s(f),g=[h.before_newline,h.preserve_newline],m={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};e.exports.Beautifier=u},function(e,t){function n(e){var t=e,n=t.length,i=0;this.back=function(){i-=1},this.hasNext=function(){return i=0&&e=0&&e0&&(n-=1,t-=e.indent_length)},this.trim=function(){for(;" "===this.last();)i.pop(),t-=1;r=0===i.length},this.toString=function(){var t="";return this._empty||(n>=0&&(t=e.indent_cache[n]),t+=i.join("")),t}}function i(e,t){t=t||"",this.indent_cache=[t],this.baseIndentLength=t.length,this.indent_length=e.length,this.raw=!1;var i=[];this.baseIndentString=t,this.indent_string=e,this.previous_line=null,this.current_line=null,this.space_before_token=!1,this.add_outputline=function(){this.previous_line=this.current_line,this.current_line=new n(this),i.push(this.current_line)},this.add_outputline(),this.get_line_number=function(){return i.length},this.add_new_line=function(e){return(1!==this.get_line_number()||!this.just_added_newline())&&(!(!e&&this.just_added_newline())&&(this.raw||this.add_outputline(),!0))},this.get_code=function(e,t){var n=i.join("\n").replace(/[\r\n\t ]+$/,"");return e&&(n+="\n"),"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},this.set_indent=function(e){if(i.length>1){for(;e>=this.indent_cache.length;)this.indent_cache.push(this.indent_cache[this.indent_cache.length-1]+this.indent_string);return this.current_line.set_indent(e),!0}return this.current_line.set_indent(0),!1},this.add_raw_token=function(e){for(var t=0;t1&&this.current_line.is_empty();)i.pop(),this.current_line=i[i.length-1],this.current_line.trim();this.previous_line=i.length>1?i[i.length-2]:null},this.just_added_newline=function(){return this.current_line.is_empty()},this.just_added_blankline=function(){if(this.just_added_newline()){if(1===i.length)return!0;return i[i.length-2].is_empty()}return!1}}e.exports.Output=i},function(e,t){function n(e,t,n,i,r){this.type=e,this.text=t,this.comments_before=[],this.comments_after=[],this.newlines=n||0,this.wanted_newline=n>0,this.whitespace_before=i||"",this.parent=r||null,this.opened=null,this.directives=null}e.exports.Token=n},function(e,t,n){function i(e,t){return new r(e,t).beautify()}var r=n(1).Beautifier;e.exports=i},function(e,t,n){function i(e){return e.replace(/^\s+|\s+$/g,"")}function r(e,t){for(var n=0;n/g;if("`"===a||"'"===a||'"'===a||("/"===a||t.e4x&&"<"===a&&R.test(N,-1))&&("TK_RESERVED"===v.type&&r(v.text,["return","case","throw","else","do","typeof","yield"])||"TK_END_EXPR"===v.type&&")"===v.text&&v.parent&&"TK_RESERVED"===v.parent.type&&r(v.parent.text,["if","while","for"])||r(v.type,["TK_COMMENT","TK_START_EXPR","TK_START_BLOCK","TK_END_BLOCK","TK_OPERATOR","TK_EQUALS","TK_EOF","TK_SEMICOLON","TK_COMMA"]))){var L=a,D=!1,I=!1;if(e=a,"/"===L)for(var P=!1;R.hasNext()&&(D||P||R.peek()!==L)&&!R.testChar(l.newline);)e+=R.peek(),D?D=!1:(D="\\"===R.peek(),"["===R.peek()?P=!0:"]"===R.peek()&&(P=!1)),R.next();else if(t.e4x&&"<"===L){var M=/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/g;R.back();var B="",F=R.match(N);if(F){for(var U=F[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),z=0===U.indexOf("{"),V=0;F;){var W=!!F[1],$=F[2],G=!!F[F.length-1]||"![CDATA["===$.slice(0,8);if(!G&&($===U||z&&$.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(W?--V:++V),B+=F[0],V<=0)break;F=R.match(M)}return F||(B+=R.match(/[\s\S]*/g)[0]),B=B.replace(l.allLineBreaks,"\n"),[B,"TK_STRING"]}}else{var X=function(t,n,i){for(var r;R.hasNext()&&(r=R.peek(),D||r!==t&&(n||!l.newline.test(r)));)(D||n)&&l.newline.test(r)?("\r"===r&&"\n"===R.peek(1)&&(R.next(),r=R.peek()),e+="\n"):e+=r,D?("x"!==r&&"u"!==r||(I=!0),D=!1):D="\\"===r,R.next(),i&&-1!==e.indexOf(i,e.length-i.length)&&("`"===t?X("}",n,"`"):X("`",n,"${"),R.hasNext()&&(e+=R.next()))};"`"===L?X("`",!0,"${"):X(L)}if(I&&t.unescape_strings&&(e=u(e)),R.peek()===L&&(e+=L,R.next(),"/"===L))for(;R.hasNext()&&l.isIdentifierStart(R.peekCharCode());)e+=R.next();return[e,"TK_STRING"]}if("#"===a){if(0===S.length&&"!"===R.peek()){for(e=a;R.hasNext()&&"\n"!==a;)a=R.next(),e+=a;return[i(e)+"\n","TK_UNKNOWN"]}var H="#";if(R.hasNext()&&R.testChar(_)){do{a=R.next(),H+=a}while(R.hasNext()&&"#"!==a&&"="!==a);return"#"===a||("["===R.peek()&&"]"===R.peek(1)?(H+="[]",R.next(),R.next()):"{"===R.peek()&&"}"===R.peek(1)&&(H+="{}",R.next(),R.next())),[H,"TK_WORD"]}}if("<"===a&&("?"===R.peek()||"%"===R.peek())){R.back();var q=R.match(k);if(q)return a=q[0],a=a.replace(l.allLineBreaks,"\n"),[a,"TK_STRING"]}if("<"===a&&R.match(/\!--/g)){for(a="\x3c!--";R.hasNext()&&!R.testChar(l.newline);)a+=R.next();return T=!0,[a,"TK_COMMENT"]}if("-"===a&&T&&R.match(/->/g))return T=!1,["--\x3e","TK_COMMENT"];if("."===a)return"."===R.peek()&&"."===R.peek(1)?(a+=R.next()+R.next(),[a,"TK_OPERATOR"]):[a,"TK_DOT"];if(r(a,h)){for(;R.hasNext()&&r(a+R.peek(),h)&&(a+=R.next(),R.hasNext()););return","===a?[a,"TK_COMMA"]:"="===a?[a,"TK_EQUALS"]:[a,"TK_OPERATOR"]}return[a,"TK_UNKNOWN"]}function u(e){for(var t="",n=0,i=new a(e),r=null;i.hasNext();)if(r=i.match(/([\s]|[^\\]|\\\\)+/g),r&&(t+=r[0]),"\\"===i.peek()){if(i.next(),"x"===i.peek())r=i.match(/x([0-9A-Fa-f]{2})/g);else{if("u"!==i.peek()){t+="\\",i.hasNext()&&(t+=i.next());continue}r=i.match(/u([0-9A-Fa-f]{4})/g)}if(!r)return e;if((n=parseInt(r[1],16))>126&&n<=255&&0===r[0].indexOf("x"))return e;if(n>=0&&n<32){t+="\\"+r[0];continue}t+=34===n||39===n||92===n?"\\"+String.fromCharCode(n):String.fromCharCode(n)}return t}var c="\n\r\t ".split(""),_=/[0-9]/,d=/[01]/,p=/[01234567]/,f=/[0123456789abcdefABCDEF]/;this.positionable_operators="!= !== % & && * ** + - / : < << <= == === > >= >> >>> ? ^ | ||".split(" ");var h=this.positionable_operators.concat("! %= &= *= **= ++ += , -- -= /= :: <<= = => >>= >>>= ^= |= ~ ...".split(" "));this.line_starters="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(",");var g=this.line_starters.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as"]),m=/([\s\S]*?)((?:\*\/)|$)/g,b=/([^\n\r\u2028\u2029]*)/g,v=/\/\* beautify( \w+[:]\w+)+ \*\//g,y=/ (\w+)[:](\w+)/g,x=/([\s\S]*?)((?:\/\*\sbeautify\signore:end\s\*\/)|$)/g,k=/((<\?php|<\?=)[\s\S]*?\?>)|(<%[\s\S]*?%>)/g,w,E,T,S,R;this.tokenize=function(){R=new a(e),T=!1,S=[];for(var t,n,i,r=null,l=[],u=[];!n||"TK_EOF"!==n.type;){for(i=o(),t=new s(i[1],i[0],w,E);"TK_COMMENT"===t.type||"TK_BLOCK_COMMENT"===t.type||"TK_UNKNOWN"===t.type;)"TK_BLOCK_COMMENT"===t.type&&(t.directives=i[2]),u.push(t),i=o(),t=new s(i[1],i[0],w,E);u.length&&(t.comments_before=u,u=[]),"TK_START_BLOCK"===t.type||"TK_START_EXPR"===t.type?(t.parent=n,l.push(r),r=t):("TK_END_BLOCK"===t.type||"TK_END_EXPR"===t.type)&&r&&("]"===t.text&&"["===r.text||")"===t.text&&"("===r.text||"}"===t.text&&"{"===r.text)&&(t.parent=r.parent,t.opened=r,r=l.pop()),S.push(t),n=t}return S}}var a=n(2).InputScanner,s=n(5).Token,l=n(0);e.exports.Tokenizer=o}]),o=n;i=[],void 0!==(r=function(){return{js_beautify:o}}.apply(t,i))&&(e.exports=r)}()},"./node_modules/prismjs/plugins/copy-to-clipboard/prism-copy-to-clipboard.min.js":function(e,t,n){!function(){if("undefined"!=typeof self&&self.Prism&&self.document){if(!Prism.plugins.toolbar)return;var e=window.ClipboardJS||void 0;e||!1||(e=n("./node_modules/clipboard/dist/clipboard.js"));var t=[];if(!e){var i=document.createElement("script"),r=document.querySelector("head");i.onload=function(){if(e=window.ClipboardJS)for(;t.length;)t.pop()()},i.src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js",r.appendChild(i)}Prism.plugins.toolbar.registerButton("copy-to-clipboard",function(n){function i(){var t=new e(o,{text:function(){return n.code}});t.on("success",function(){o.textContent="Copied!",r()}),t.on("error",function(){o.textContent="Press Ctrl+C to copy",r()})}function r(){setTimeout(function(){o.textContent="Copy"},5e3)}var o=document.createElement("a");return o.textContent="Copy",e?i():t.push(i),o})}}()},"./node_modules/prismjs/plugins/toolbar/prism-toolbar.css":function(e,t,n){var i=n("./node_modules/css-loader/index.js??ref--2-1!./node_modules/postcss-loader/lib/index.js??ref--2-2!./node_modules/prismjs/plugins/toolbar/prism-toolbar.css");"string"==typeof i&&(i=[[e.i,i,""]]);var r,o,a={hmr:!0};a.transform=void 0,a.insertInto=void 0;var s=n("./node_modules/style-loader/lib/addStyles.js")(i,a);i.locals&&(e.exports=i.locals),e.hot.accept("./node_modules/css-loader/index.js??ref--2-1!./node_modules/postcss-loader/lib/index.js??ref--2-2!./node_modules/prismjs/plugins/toolbar/prism-toolbar.css",function(){var t=n("./node_modules/css-loader/index.js??ref--2-1!./node_modules/postcss-loader/lib/index.js??ref--2-2!./node_modules/prismjs/plugins/toolbar/prism-toolbar.css");if("string"==typeof t&&(t=[[e.i,t,""]]),!function(e,t){var n,i=0;for(n in e){if(!t||e[n]!==t[n])return!1;i++}for(n in t)i--;return 0===i}(i.locals,t.locals))throw new Error("Aborting CSS HMR due to changed css-modules locals.");s(t)}),e.hot.dispose(function(){s()})},"./node_modules/prismjs/plugins/toolbar/prism-toolbar.min.js":function(e,t){!function(){if("undefined"!=typeof self&&self.Prism&&self.document){var e=[],t={},n=function(){};Prism.plugins.toolbar={};var i=Prism.plugins.toolbar.registerButton=function(n,i){var r;r="function"==typeof i?i:function(e){var t;return"function"==typeof i.onClick?(t=document.createElement("button"),t.type="button",t.addEventListener("click",function(){i.onClick.call(this,e)})):"string"==typeof i.url?(t=document.createElement("a"),t.href=i.url):t=document.createElement("span"),t.textContent=i.text,t},e.push(t[n]=r)},r=Prism.plugins.toolbar.hook=function(i){var r=i.element.parentNode;if(r&&/pre/i.test(r.nodeName)&&!r.parentNode.classList.contains("code-toolbar")){var o=document.createElement("div");o.classList.add("code-toolbar"),r.parentNode.insertBefore(o,r),o.appendChild(r);var a=document.createElement("div");a.classList.add("toolbar"),document.body.hasAttribute("data-toolbar-order")&&(e=document.body.getAttribute("data-toolbar-order").split(",").map(function(e){return t[e]||n})),e.forEach(function(e){var t=e(i);if(t){var n=document.createElement("div");n.classList.add("toolbar-item"),n.appendChild(t),a.appendChild(n)}}),o.appendChild(a)}};i("label",function(e){var t=e.element.parentNode;if(t&&/pre/i.test(t.nodeName)&&t.hasAttribute("data-label")){var n,i,r=t.getAttribute("data-label");try{i=document.querySelector("template#"+r)}catch(e){}return i?n=i.content:(t.hasAttribute("data-url")?(n=document.createElement("a"),n.href=t.getAttribute("data-url")):n=document.createElement("span"),n.textContent=r),n}}),Prism.hooks.add("complete",r)}}()},"./node_modules/prismjs/prism.js":function(e,t,n){(function(t){var n="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},i=function(){var e=/\blang(?:uage)?-([\w-]+)\b/i,t=0,i=n.Prism={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function(e){return e instanceof r?new r(e.type,i.util.encode(e.content),e.alias):"Array"===i.util.type(e)?e.map(i.util.encode):e.replace(/&/g,"&").replace(/e.length)return;if(!(x instanceof l)){if(h&&v!=t.length-1){d.lastIndex=y;var k=d.exec(e);if(!k)break;for(var w=k.index+(f?k[1].length:0),E=k.index+k[0].length,T=v,S=y,R=t.length;T=S&&(++v,y=S);if(t[v]instanceof l)continue;O=T-v,x=e.slice(y,S),k.index-=y}else{d.lastIndex=0;var k=d.exec(x),O=1}if(k){f&&(g=k[1]?k[1].length:0);var w=k.index+g,k=k[0].slice(g),E=w+k.length,K=x.slice(0,w),A=x.slice(E),j=[v,O];K&&(++v,y+=K.length,j.push(K));var C=new l(u,p?i.tokenize(k,p):k,m,k,h);if(j.push(C),A&&j.push(A),Array.prototype.splice.apply(t,j),1!=O&&i.matchGrammar(e,t,n,v,y,!0,u),a)break}else if(a)break}}}}},tokenize:function(e,t,n){var r=[e],o=t.rest;if(o){for(var a in o)t[a]=o[a];delete t.rest}return i.matchGrammar(e,r,t,0,0,!1),r},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r=0,o;o=n[r++];)o(t)}}},r=i.Token=function(e,t,n,i,r){this.type=e,this.content=t,this.alias=n,this.length=0|(i||"").length,this.greedy=!!r};if(r.stringify=function(e,t,n){if("string"==typeof e)return e;if("Array"===i.util.type(e))return e.map(function(n){return r.stringify(n,t,e)}).join("");var o={type:e.type,content:r.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n};if(e.alias){var a="Array"===i.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(o.classes,a)}i.hooks.run("wrap",o);var s=Object.keys(o.attributes).map(function(e){return e+'="'+(o.attributes[e]||"").replace(/"/g,""")+'"'}).join(" ");return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+(s?" "+s:"")+">"+o.content+""+o.tag+">"},!n.document)return n.addEventListener?(i.disableWorkerMessageHandler||n.addEventListener("message",function(e){var t=JSON.parse(e.data),r=t.language,o=t.code,a=t.immediateClose;n.postMessage(i.highlight(o,i.languages[r],r)),a&&n.close()},!1),n.Prism):n.Prism;var o=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return o&&(i.filename=o.src,i.manual||o.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(i.highlightAll):window.setTimeout(i.highlightAll,16):document.addEventListener("DOMContentLoaded",i.highlightAll))),n.Prism}();void 0!==e&&e.exports&&(e.exports=i),void 0!==t&&(t.Prism=i),i.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype://i,cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/(^|[^\\])["']/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/?[\da-z]{1,8};/i},i.languages.markup.tag.inside["attr-value"].inside.entity=i.languages.markup.entity,i.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),i.languages.xml=i.languages.markup,i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(?:;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^{}\s][^{};]*?(?=\s*\{)/,string:{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/\B!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},i.languages.css.atrule.inside.rest=i.languages.css,i.languages.markup&&(i.languages.insertBefore("markup","tag",{style:{pattern:/(