├── .gitignore ├── .babelrc ├── .npmignore ├── circle.yml ├── src ├── Eases.js ├── index.js ├── AnimateMixin.js ├── AnimatedComponent.js ├── test.js └── Animate.js ├── docs ├── img │ └── ball.jpeg ├── public │ ├── ball.jpeg │ └── img │ │ └── ball.jpeg ├── js │ ├── 5.js │ ├── 2.js │ ├── 3.js │ ├── 4.js │ ├── 1.js │ └── 0.js ├── index.html └── 404.html ├── bower.json ├── package.json └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | lib 3 | -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["env"] 3 | } 4 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | build 2 | src 3 | node_modules 4 | docs 5 | -------------------------------------------------------------------------------- /circle.yml: -------------------------------------------------------------------------------- 1 | machine: 2 | node: 3 | version: 4.0.0 4 | -------------------------------------------------------------------------------- /src/Eases.js: -------------------------------------------------------------------------------- 1 | export const Eases = Object.keys(require('d3-ease')).map(d => d.substring(4)) 2 | -------------------------------------------------------------------------------- /docs/img/ball.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermoresi/react-set-animate/HEAD/docs/img/ball.jpeg -------------------------------------------------------------------------------- /docs/public/ball.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermoresi/react-set-animate/HEAD/docs/public/ball.jpeg -------------------------------------------------------------------------------- /docs/public/img/ball.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermoresi/react-set-animate/HEAD/docs/public/img/ball.jpeg -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | /* react-set-animate */ 2 | 3 | export {Animate} from './Animate' 4 | export {AnimateMixin} from './AnimateMixin' 5 | export {AnimatedComponent} from './AnimatedComponent' 6 | export {Eases} from './Eases' 7 | -------------------------------------------------------------------------------- /docs/js/5.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([5],{197:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(17);n.PropTypes;t.default=n.createClass({displayName:"PageNotFound",render:function(){return n.createElement("div",null,n.createElement("div",{className:"wrapper"},n.createElement("h1",null,"Page Not Found")))}})}}); -------------------------------------------------------------------------------- /src/AnimateMixin.js: -------------------------------------------------------------------------------- 1 | import React, { PropTypes } from 'react' 2 | import {Animate} from './Animate' 3 | 4 | export const AnimateMixin = { 5 | componentWillMount() { 6 | this.animator = new Animate(this) 7 | this.setAnimate = this.animator.tween.bind(this.animator) 8 | this.stopAnimate = this.animator.stop.bind(this.animator) 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/AnimatedComponent.js: -------------------------------------------------------------------------------- 1 | import {Component} from 'react' 2 | import {Animate} from './Animate' 3 | 4 | export class AnimatedComponent extends Component { 5 | constructor(props) { 6 | super(props) 7 | this.animator = new Animate(this) 8 | this.setAnimate = this.animator.tween.bind(this.animator) 9 | this.stopAnimate = this.animator.stop.bind(this.animator) 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-state-animation", 3 | "main": "index.js", 4 | "version": "0.0.1", 5 | "homepage": "https://github.com/tejitak/react-state-animation", 6 | "authors": [ 7 | "tejitak" 8 | ], 9 | "description": "Simple animations with React state", 10 | "keywords": [ 11 | "react", 12 | "animation", 13 | "tween", 14 | "transition", 15 | "state", 16 | "easing" 17 | ], 18 | "license": "MIT", 19 | "ignore": [ 20 | "**/.*", 21 | "examples", 22 | "index.js", 23 | "node_modules", 24 | "bower_components", 25 | "test", 26 | "tests" 27 | ] 28 | } -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | react-set-animate 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /docs/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | react-set-animate 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /src/test.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | import {Animate, AnimateMixin, AnimatedComponent, Eases} from './index' 3 | 4 | test('it should be there', function(t) { 5 | t.plan(10); 6 | 7 | t.equals( typeof Animate, 'function' ); 8 | t.equals( typeof AnimatedComponent, 'function' ); 9 | t.equals( typeof AnimateMixin, 'object' ); 10 | t.equals( typeof Eases, 'object'); 11 | 12 | var cmp = new AnimatedComponent(); 13 | var mockCmp = { 14 | state: { x: 0 }, 15 | setState: function(props) { 16 | this.state = Object.assign( this.state, props ) 17 | } 18 | }; 19 | 20 | var animate = new Animate(mockCmp); 21 | t.equals( typeof animate, 'object' ); 22 | t.equals( typeof animate.tween, 'function' ); 23 | 24 | t.equals( typeof cmp, 'object' ); 25 | t.deepEquals( Object.keys(cmp), 26 | [ 'props', 'context', 'refs', 'updater', 'animator', 'setAnimate', 'stopAnimate' ] ); 27 | 28 | animate.tween('x', 100, 10); 29 | 30 | // check in 20 seconds to see if final value is realized! 31 | setTimeout( function() { 32 | t.equals( typeof mockCmp.state, 'object'); 33 | t.equals( mockCmp.state.x, 100); 34 | }, 20); 35 | 36 | }); 37 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-set-animate", 3 | "version": "0.2.0", 4 | "description": "Simple animations with React state", 5 | "main": "lib/index.js", 6 | "scripts": { 7 | "build": "babel src -d lib", 8 | "test": "node lib/test" 9 | }, 10 | "repository": { 11 | "type": "git", 12 | "url": "git+https://github.com/petermoresi/react-set-animate.git" 13 | }, 14 | "keywords": [ 15 | "react", 16 | "react-component", 17 | "react-canvas", 18 | "animation", 19 | "tween", 20 | "transition", 21 | "state", 22 | "easing" 23 | ], 24 | "author": "Peter Moresi", 25 | "license": "MIT", 26 | "bugs": { 27 | "url": "https://github.com/petermoresi/react-set-animate/issues" 28 | }, 29 | "homepage": "https://github.com/petermoresi/react-set-animate", 30 | "dependencies": { 31 | "d3-ease": "^1.0.2", 32 | "d3-interpolate": "^0.1.2", 33 | "d3-timer": "0.0.4", 34 | "react": ">=0.14.x" 35 | }, 36 | "devDependencies": { 37 | "babel-cli": "^6.23.0", 38 | "babel-preset-env": "^1.1.8", 39 | "faucet": "0.0.1", 40 | "rimraf": "^2.4.3", 41 | "tape": "^4.2.2", 42 | "webpack": "^1.12.2" 43 | }, 44 | "directories": { 45 | "test": "test" 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/Animate.js: -------------------------------------------------------------------------------- 1 | /* Promise-based Animate routine */ 2 | 3 | import * as eases from 'd3-ease' 4 | import {timer} from 'd3-timer' 5 | import {interpolate} from 'd3-interpolate' 6 | 7 | /** 8 | * React state animation wrapper 9 | * - update state value by requestAnimationFrame loop 10 | */ 11 | export class Animate { 12 | 13 | /* Animation constructor accept data container and frames per second. 14 | */ 15 | constructor(component) { 16 | 17 | // keep internal reference to the component 18 | this._component = component; 19 | this._setStopped = false; 20 | 21 | } 22 | 23 | /** 24 | * Get state value 25 | * if the prop is not in state regular property 26 | */ 27 | _getStateValue(prop) { 28 | var c = this._component, 29 | v = c.state && c.state[prop] 30 | return v === undefined ? c[prop] : v 31 | } 32 | 33 | /** 34 | * Set value to state 35 | * if the prop is not in state, set value to regular property with force update 36 | */ 37 | _updateStateValue(prop, v) { 38 | var c = this._component 39 | if(c.state && c.state[prop] !== undefined){ 40 | var state = {} 41 | state[prop] = v 42 | c.setState(state) 43 | }else{ 44 | c[prop] = v 45 | c.forceUpdate() 46 | } 47 | } 48 | 49 | stop() { 50 | this._setStopped = true; 51 | } 52 | 53 | tween( prop, end, duration=500, easing='Linear') { 54 | 55 | return new Promise((resolve, reject) => { 56 | var begin = this._getStateValue(prop), 57 | i = interpolate(begin, end), 58 | easeFun = eases['ease' + easing] || eases.easeLinear 59 | 60 | /* The timer stops when the callback retuns a truthy value */ 61 | timer( (elapsed,d) => { 62 | 63 | if (this._setStopped) { return true; } 64 | 65 | var progress = easeFun( elapsed / duration ), 66 | 67 | value = i(progress) 68 | 69 | this._updateStateValue(prop, value, resolve) 70 | 71 | if (elapsed > duration) { 72 | this._updateStateValue(prop, end, resolve) 73 | resolve() 74 | return true; 75 | } 76 | 77 | }) 78 | }) 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # react-set-animate 2 | 3 | ![circleci](https://circleci.com/gh/petermoresi/react-set-animate.svg?style=shield&circle-token=:circle-token) 4 | [![npm version](https://badge.fury.io/js/react-set-animate.svg)](https://badge.fury.io/js/react-set-animate) 5 | 6 | A [Promise](https://promisesaplus.com/) based API to animate [React](https://facebook.github.io/react/) Component's with the power of D3's [timer](https://github.com/d3/d3-timer), [ease](https://github.com/d3/d3-ease) and [interpolation](https://github.com/d3/d3-interpolate) routines. 7 | 8 | ## Installation 9 | ``` 10 | npm install react-set-animate --save 11 | ``` 12 | 13 | ### ES6 Import 14 | 15 | ``` 16 | import {Animate, AnimateMixin, AnimatedComponent} from 'react-set-animate' 17 | ``` 18 | 19 | ### ES5 require 20 | 21 | ES5 code is transpiled to a CommonJS format that is ready for webpack or browserify. It is included in the npm build and you can build them for yourself by running `make`. 22 | 23 | ``` 24 | var Animate = require('react-set-animate').Animate; 25 | var AnimatedComponent = require('react-set-animate').AnimatedComponent; 26 | ``` 27 | 28 | ## Support Transitions 29 | 30 | The routines are provided by [d3-ease](https://github.com/d3/d3-ease). Please see that project for more information. 31 | 32 | - Linear 33 | - Quad 34 | - QuadIn 35 | - QuadOut 36 | - QuadInOut 37 | - Cubic 38 | - CubicIn 39 | - CubicOut 40 | - CubicInOut 41 | - Poly 42 | - PolyIn 43 | - PolyOut 44 | - PolyInOut 45 | - Sin 46 | - SinIn 47 | - SinOut 48 | - SinInOut 49 | - Exp 50 | - ExpIn 51 | - ExpOut 52 | - ExpInOut 53 | - Circle 54 | - CircleIn 55 | - CircleOut 56 | - CircleInOut 57 | - Bounce 58 | - BounceIn 59 | - BounceOut 60 | - BounceInOut 61 | - Back 62 | - BackIn 63 | - BackOut 64 | - BackInOut 65 | - Elastic 66 | - ElasticIn 67 | - ElasticOut 68 | - ElasticInOut 69 | 70 | ## Core API 71 | 72 | ### Animate 73 | 74 | The Animate class has a tween method. This accepts 4 arguments: property name, final value, duration, easing. The property name is the name of a value in your React component. If the value is not in the state object then the value will be assigned as a property and the forceUpdate method will be called on your React component. 75 | 76 | When tween is started the value of the property will be read from your React component. This value along with the endStateValue will be passed into d3's interpolate function. This function is very powerful and will interpolate number, strings, dates, colors and more. Please see the documentation for d3-interpolate for more information. 77 | 78 | The tween function immediately returns a Promise object. The promise is resolved when the duration has elapsed. For browsers that do not support the Promises you should install a polyfill like [es6-promises](https://github.com/jakearchibald/es6-promise). 79 | 80 | The timing of the tween is handled by [d3's timer](https://github.com/d3/d3-timer) routine. 81 | 82 | #### Methods 83 | 84 | - tween( stateProp, endStateValue, duration, ease ) 85 | 86 | ### AnimatedComponent 87 | 88 | The AnimatedComponent class extends React.Component adding the setAnimate method. The AnimatedComponent create an instance of the Animate class and methods to interact with the root of all evil (state changing over time). 89 | 90 | - setAnimate( stateProp, endStateValue, duration, ease ) 91 | - stopAnimate() 92 | 93 | 94 | All of these functions return a process that is resolved when the transition is complete. 95 | 96 | ## Usage 97 | 98 | ### React Mixin 99 | 100 | ```js:extend.js 101 | import {React} from 'react' 102 | import {AnimateMixin} from 'react-set-animate' 103 | 104 | const MyAnimatedComponent = React.createClass({ 105 | 106 | mixins: [AnimateMixin], 107 | 108 | getInitialState() { 109 | return { x: 0 } 110 | }, 111 | 112 | componentDidMount() { 113 | 114 | // animate this.state.x over 2 secs with final value of 1000 115 | // with the default ease (linear-in-out). 116 | this.setAnimate( 'x', 1000, 2000 ) 117 | 118 | // animate this.state.x over 500ms with a final value of 0 119 | this.setAnimate( 'x', 0, 500, 'bounce-in-out' ) 120 | .then(() => this.setAnimate( 'x', 0, 500, 'quad-in-out' )) 121 | 122 | 123 | } 124 | }) 125 | ``` 126 | 127 | ### ES6 Classes 128 | 129 | ```js:extend.js 130 | import {React} from 'react' 131 | import {AnimatedComponent} from 'react-set-animate' 132 | 133 | class MyAnimatedComponent extends AnimatedComponent { 134 | constructor() { 135 | 136 | this.state = { x: 0 } 137 | 138 | // animate this.state.x over 2 secs with final value of 1000 139 | // with the default ease (linear-in-out). 140 | this.setAnimate( 'x', 1000, 2000 ) 141 | 142 | // animate this.state.x over 500ms with a final value of 0 143 | this.setAnimate( 'x', 0, 500, 'bounce-in-out' ) 144 | .then(() => this.setAnimate( 'x', 0, 500, 'quad-in-out' )) 145 | } 146 | } 147 | ``` 148 | 149 | ### Composition 150 | 151 | Use high-order functions for composition. 152 | 153 | ```js:app.js 154 | var yourComponent = React.render( 155 | , 156 | document.getElementById('demo') 157 | ) 158 | 159 | var animate = new Animate(yourComponent) 160 | // your component's state 'x' will be updated to 350 with linear order in 1 sec, then alpha will be 0 on end of moving 161 | animate.tween('x', 350/*end value*/, 1000/*duration(ms)*/).then(() => animate.tween('alpha', 0, 400)) 162 | ``` 163 | 164 | ## Contribute 165 | 166 | Pull requests are welcome! 167 | 168 | ## Get Setup 169 | 170 | 1. Run `npm install` 171 | 2. Build CommonJS `make` 172 | 3. Run test `npm test` 173 | -------------------------------------------------------------------------------- /docs/js/2.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([2],{195:function(t,n,e){"use strict";function r(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function i(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?t:n}function o(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}Object.defineProperty(n,"__esModule",{value:!0});var u=function(){function t(t,n){for(var e=0;er?(e._updateStateValue(t,n,s),s(),!0):void 0})})}}]),t}());n.default=l,t.exports=n.default},201:function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0});var i=e(200),o=r(i),u=e(206),a=r(u),s=e(198),l=r(s);n.default={Animate:o.default,AnimatedComponent:a.default,Eases:l.default},t.exports=n.default},202:function(t,n,e){!function(t,e){e(n)}(0,function(t){"use strict";function n(t,n){return null==t||isNaN(t)?n:+t}function e(t,e){t=Math.max(1,n(t,1)),e=n(e,.3)*A;var r=e*Math.asin(1/t);return function(n){return t*Math.pow(2,10*--n)*Math.sin((r-n)/e)}}function r(t,e){t=Math.max(1,n(t,1)),e=n(e,.3)*A;var r=e*Math.asin(1/t);return function(n){return t*Math.pow(2,-10*n)*Math.sin((n-r)/e)+1}}function i(t,e){t=Math.max(1,n(t,1)),e=1.5*n(e,.3)*A;var r=e*Math.asin(1/t);return function(n){return t*((n=2*n-1)<0?Math.pow(2,10*n)*Math.sin((r-n)/e):Math.pow(2,-10*n)*Math.sin((n-r)/e)+2)/2}}function o(t){return t=n(t,1.70158),function(n){return n*n*((t+1)*n-t)}}function u(t){return t=n(t,1.70158),function(n){return--n*n*((t+1)*n+t)+1}}function a(t){return t=1.525*n(t,1.70158),function(n){return((n*=2)<1?n*n*((t+1)*n-t):(n-=2)*n*((t+1)*n+t)+2)/2}}function s(t){return 1-l(1-t)}function l(t){return t1&&X.hasOwnProperty(t)?X[t](n,e):G.hasOwnProperty(t)?G[t]:q}var A=1/(2*Math.PI),C=4/11,R=6/11,E=8/11,T=.75,I=9/11,F=10/11,D=.9375,L=21/22,V=63/64,H=1/C/C,$=Math.PI,z=$/2,G={"linear-in":q,"linear-out":q,"linear-in-out":q,"quad-in":k,"quad-out":x,"quad-in-out":_,"cubic-in":y,"cubic-out":M,"cubic-in-out":N,"poly-in":y,"poly-out":M,"poly-in-out":N,"sin-in":w,"sin-out":m,"sin-in-out":v,"exp-in":d,"exp-out":b,"exp-in-out":g,"circle-in":h,"circle-out":f,"circle-in-out":p,"bounce-in":s,"bounce-out":l,"bounce-in-out":c,"back-in":o(),"back-out":u(),"back-in-out":a(),"elastic-in":e(),"elastic-out":r(),"elastic-in-out":i()},X={"poly-in":O,"poly-out":S,"poly-in-out":P,"back-in":o,"back-out":u,"back-in-out":a,"elastic-in":e,"elastic-out":r,"elastic-in-out":i};t.version="0.1.5",t.ease=j})},203:function(t,n,e){!function(t,e){e(n)}(0,function(t){"use strict";function n(t,n,e){e=null==e?Date.now():+e,null!=n&&(e+=+n);var r={callback:t,time:e,flush:!1,next:null};a?a.next=r:u=r,a=r,o(e)}function e(t,n,e){e=null==e?Date.now():+e,null!=n&&(e+=+n),s.callback=t,s.time=e}function r(t){t=null==t?Date.now():+t;var n=s;for(s=u;s;)t>=s.time&&(s.flush=s.callback(t-s.time,t)),s=s.next;s=n,t=1/0;for(var e,r=u;r;)r.flush?r=e?e.next=r.next:u=r.next:(r.time24?h>t&&(c&&clearTimeout(c),c=setTimeout(i,n),h=t):(c&&(c=clearTimeout(c),h=1/0),l=f(i))}}var u,a,s,l,c,h=1/0,f="undefined"!=typeof window&&(window.requestAnimationFrame||window.msRequestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.oRequestAnimationFrame)||function(t){return setTimeout(t,17)};t.timer=n,t.timerReplace=e,t.timerFlush=r})},204:function(t,n,e){!function(t,r){r(n,e(205))}(0,function(t,n){"use strict";function e(t,n){var e,r=[],i=[],o=t.length,u=n.length,a=Math.min(t.length,n.length);for(e=0;es&&(a=n.slice(s,a),c[l]?c[l]+=a:c[++l]=a),(e=e[0])===(i=i[0])?c[l]?c[l]+=i:c[++l]=i:(c[++l]=null,h.push({i:l,x:r(e,i)})),s=q.lastIndex;return s=0&&!(e=O[r](t,n)););return e}function l(t,n){return t=+t,n-=t,function(e){return Math.round(t+n*e)}}function c(t){x||(x=document.createElementNS("http://www.w3.org/2000/svg","g")),t&&(x.setAttribute("transform",t),n=x.transform.baseVal.consolidate());var n,e=n?n.matrix:P,r=[e.a,e.b],i=[e.c,e.d],o=f(r),u=h(r,i),a=f(p(i,r,-u))||0;r[0]*i[1]180?n+=360:n-t>180&&(t+=360),i.push({i:e.push(d(e)+"rotate(",null,")")-2,x:r(t,n)})):n&&e.push(d(e)+"rotate("+n+")")}function w(t,n,e,i){t!==n?i.push({i:e.push(d(e)+"skewX(",null,")")-2,x:r(t,n)}):n&&e.push(d(e)+"skewX("+n+")")}function m(t,n,e,i){if(t[0]!==n[0]||t[1]!==n[1]){var o=e.push(d(e)+"scale(",null,",",null,")");i.push({i:o-4,x:r(t[0],n[0])},{i:o-2,x:r(t[1],n[1])})}else 1===n[0]&&1===n[1]||e.push(d(e)+"scale("+n+")")}function v(t,n){var e=[],r=[];return t=new c(t),n=new c(n),b(t.translate,n.translate,e,r),g(t.rotate,n.rotate,e,r),w(t.skew,n.skew,e,r),m(t.scale,n.scale,e,r),t=n=null,function(t){for(var n,i=-1,o=r.length;++i>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n)):(n=j.exec(t))?r(parseInt(n[1],16)):(n=A.exec(t))?i(n[1],n[2],n[3]):(n=C.exec(t))?i(255*n[1]/100,255*n[2]/100,255*n[3]/100):(n=R.exec(t))?a(n[1],n[2]/100,n[3]/100):E.hasOwnProperty(t)?r(E[t]):null}function r(t){return i(t>>16&255,t>>8&255,255&t)}function i(t,r,i){return 1===arguments.length&&(t instanceof n||(t=e(t)),t?(t=t.rgb(),i=t.b,r=t.g,t=t.r):t=r=i=NaN),new o(t,r,i)}function o(t,n,e){this.r=+t,this.g=+n,this.b=+e}function u(t,n,e){return"#"+(isNaN(t)?"00":(t=Math.round(t))<16?"0"+Math.max(0,t).toString(16):Math.min(255,t).toString(16))+(isNaN(n)?"00":(n=Math.round(n))<16?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16))+(isNaN(e)?"00":(e=Math.round(e))<16?"0"+Math.max(0,e).toString(16):Math.min(255,e).toString(16))}function a(t,r,i){if(1===arguments.length)if(t instanceof s)i=t.l,r=t.s,t=t.h;else if(t instanceof n||(t=e(t)),t){if(t instanceof s)return t;t=t.rgb();var o=t.r/255,u=t.g/255,a=t.b/255,l=Math.min(o,u,a),c=Math.max(o,u,a),h=c-l;i=(c+l)/2,h?(r=i<.5?h/(c+l):h/(2-c-l),t=o===c?(u-a)/h+6*(u0&&i<1?0:t)}else t=r=i=NaN;return new s(t,r,i)}function s(t,n,e){this.h=+t,this.s=+n,this.l=+e}function l(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function c(t,n,e){if(1===arguments.length)if(t instanceof h)e=t.b,n=t.a,t=t.l;else if(t instanceof w){var r=t.h*X;e=Math.sin(r)*t.c,n=Math.cos(r)*t.c,t=t.l}else{t instanceof o||(t=i(t));var u=b(t.r),a=b(t.g),e=b(t.b),s=f((.4124564*u+.3575761*a+.1804375*e)/F),l=f((.2126729*u+.7151522*a+.072175*e)/D),c=f((.0193339*u+.119192*a+.9503041*e)/L);e=200*(l-c),n=500*(s-l),t=116*l-16}return new h(t,n,e)}function h(t,n,e){this.l=+t,this.a=+n,this.b=+e}function f(t){return t>z?Math.pow(t,1/3):t/$+V}function p(t){return t>H?t*t*t:$*(t-V)}function d(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function b(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function g(t,n,e){return 1===arguments.length&&(t instanceof w?(e=t.l,n=t.c,t=t.h):(t instanceof h||(t=c(t)),e=t.l,n=Math.sqrt(t.a*t.a+t.b*t.b),(t=Math.atan2(t.b,t.a)*J)<0&&(t+=360))),new w(t,n,e)}function w(t,n,e){this.h=+t,this.c=+n,this.l=+e}function m(t,n,e){if(1===arguments.length)if(t instanceof v)e=t.l,n=t.s,t=t.h;else{t instanceof o||(t=i(t));var r=t.r/255,u=t.g/255,a=t.b/255;e=(nt*a+Y*r-tt*u)/(nt+Y-tt);var s=a-e,l=(W*(u-e)-B*s)/K;n=Math.sqrt(l*l+s*s)/(W*e*(1-e)),t=n?Math.atan2(l,s)*J-120:NaN,t<0&&(t+=360)}return new v(t,n,e)}function v(t,n,e){this.h=+t,this.s=+n,this.l=+e}function y(t,n){var e=t-n;return e>180||e<-180?e-360*Math.round(e/360):e}function M(t){return function(n,e){n=m(n),e=m(e);var r=isNaN(n.h)?e.h:n.h,i=isNaN(n.s)?e.s:n.s,o=n.l,u=isNaN(e.h)?0:y(e.h,r),a=isNaN(e.s)?0:e.s-i,s=e.l-o;return function(e){return n.h=r+u*e,n.s=i+a*e,n.l=o+s*Math.pow(e,t),n+""}}}function N(t){return function(n,e){n=m(n),e=m(e);var r=isNaN(n.h)?e.h:n.h,i=isNaN(n.s)?e.s:n.s,o=n.l,u=isNaN(e.h)?0:e.h-r,a=isNaN(e.s)?0:e.s-i,s=e.l-o;return function(e){return n.h=r+u*e,n.s=i+a*e,n.l=o+s*Math.pow(e,t),n+""}}}function k(t,n){t=i(t),n=i(n);var e=t.r,r=t.g,o=t.b,a=n.r-e,s=n.g-r,l=n.b-o;return function(t){return u(Math.round(e+a*t),Math.round(r+s*t),Math.round(o+l*t))}}function x(t,n){t=a(t),n=a(n);var e=isNaN(t.h)?n.h:t.h,r=isNaN(t.s)?n.s:t.s,i=t.l,o=isNaN(n.h)?0:y(n.h,e),u=isNaN(n.s)?0:n.s-r,s=n.l-i;return function(n){return t.h=e+o*n,t.s=r+u*n,t.l=i+s*n,t+""}}function _(t,n){t=a(t),n=a(n);var e=isNaN(t.h)?n.h:t.h,r=isNaN(t.s)?n.s:t.s,i=t.l,o=isNaN(n.h)?0:n.h-e,u=isNaN(n.s)?0:n.s-r,s=n.l-i;return function(n){return t.h=e+o*n,t.s=r+u*n,t.l=i+s*n,t+""}}function q(t,n){t=c(t),n=c(n);var e=t.l,r=t.a,i=t.b,o=n.l-e,u=n.a-r,a=n.b-i;return function(n){return t.l=e+o*n,t.a=r+u*n,t.b=i+a*n,t+""}}function O(t,n){t=g(t),n=g(n);var e=isNaN(t.h)?n.h:t.h,r=isNaN(t.c)?n.c:t.c,i=t.l,o=isNaN(n.h)?0:y(n.h,e),u=isNaN(n.c)?0:n.c-r,a=n.l-i;return function(n){return t.h=e+o*n,t.c=r+u*n,t.l=i+a*n,t+""}}function S(t,n){t=g(t),n=g(n);var e=isNaN(t.h)?n.h:t.h,r=isNaN(t.c)?n.c:t.c,i=t.l,o=isNaN(n.h)?0:n.h-e,u=isNaN(n.c)?0:n.c-r,a=n.l-i;return function(n){return t.h=e+o*n,t.c=r+u*n,t.l=i+a*n,t+""}}var P=/^#([0-9a-f]{3})$/,j=/^#([0-9a-f]{6})$/,A=/^rgb\(\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*\)$/,C=/^rgb\(\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/,R=/^hsl\(\s*([-+]?\d+(?:\.\d+)?)\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/;e.prototype=n.prototype={displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}};var E={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},T=i.prototype=o.prototype=new n;T.brighter=function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new o(this.r*t,this.g*t,this.b*t)},T.darker=function(t){return t=null==t?.7:Math.pow(.7,t),new o(this.r*t,this.g*t,this.b*t)},T.rgb=function(){return this},T.displayable=function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255},T.toString=function(){return u(this.r,this.g,this.b)};var I=a.prototype=s.prototype=new n;I.brighter=function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new s(this.h,this.s,this.l*t)},I.darker=function(t){return t=null==t?.7:Math.pow(.7,t),new s(this.h,this.s,this.l*t)},I.rgb=function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new o(l(t>=240?t-240:t+120,i,r),l(t,i,r),l(t<120?t+240:t-120,i,r))},I.displayable=function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1};var F=.95047,D=1,L=1.08883,V=4/29,H=6/29,$=3*H*H,z=H*H*H,G=c.prototype=h.prototype=new n;G.brighter=function(t){return new h(this.l+18*(null==t?1:t),this.a,this.b)},G.darker=function(t){return new h(this.l-18*(null==t?1:t),this.a,this.b)},G.rgb=function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=D*p(t),n=F*p(n),e=L*p(e),new o(d(3.2404542*n-1.5371385*t-.4985314*e),d(-.969266*n+1.8760108*t+.041556*e),d(.0556434*n-.2040259*t+1.0572252*e))};var X=Math.PI/180,J=180/Math.PI,Q=g.prototype=w.prototype=new n;Q.brighter=function(t){return new w(this.h,this.c,this.l+18*(null==t?1:t))},Q.darker=function(t){return new w(this.h,this.c,this.l-18*(null==t?1:t))},Q.rgb=function(){return c(this).rgb()};var U=-.14861,Z=1.78277,B=-.29227,K=-.90649,W=1.97294,Y=W*K,tt=W*Z,nt=Z*B-K*U,et=m.prototype=v.prototype=new n;et.brighter=function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new v(this.h,this.s,this.l*t)},et.darker=function(t){return t=null==t?.7:Math.pow(.7,t),new v(this.h,this.s,this.l*t)},et.rgb=function(){var t=isNaN(this.h)?0:(this.h+120)*X,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),i=Math.sin(t);return new o(255*(n+e*(U*r+Z*i)),255*(n+e*(B*r+K*i)),255*(n+e*(W*r)))};var rt=M(1),it=N(1);t.version="0.2.8",t.interpolateCubehelix=rt,t.interpolateCubehelixLong=it,t.interpolateCubehelixGamma=M,t.interpolateCubehelixGammaLong=N,t.color=e,t.rgb=i,t.hsl=a,t.lab=c,t.hcl=g,t.cubehelix=m,t.interpolateRgb=k,t.interpolateHsl=x,t.interpolateHslLong=_,t.interpolateLab=q,t.interpolateHcl=O,t.interpolateHclLong=S})},206:function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function o(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}Object.defineProperty(n,"__esModule",{value:!0});var u=function(t,n,e){for(var r=!0;r;){var i=t,o=n,u=e;r=!1,null===i&&(i=Function.prototype);var a=Object.getOwnPropertyDescriptor(i,o);if(void 0!==a){if("value"in a)return a.value;var s=a.get;if(void 0===s)return;return s.call(u)}var l=Object.getPrototypeOf(i);if(null===l)return;t=l,n=o,e=u,r=!0,a=l=void 0}},a=e(17),s=e(200),l=r(s),c=e(198),h=(r(c),function(t){function n(t){i(this,n),u(Object.getPrototypeOf(n.prototype),"constructor",this).call(this,t),this.animator=new l.default(this),this.setAnimate=this.animator.tween.bind(this.animator),this.stopAnimate=this.animator.stop.bind(this.animator)}return o(n,t),n}(a.Component));n.default=h,t.exports=n.default}}); -------------------------------------------------------------------------------- /docs/js/3.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([3],{194:function(t,n,e){"use strict";function r(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function i(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?t:n}function o(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}Object.defineProperty(n,"__esModule",{value:!0});var u=function(){function t(t,n){for(var e=0;er?(e._updateStateValue(t,n,s),s(),!0):void 0})})}}]),t}());n.default=l,t.exports=n.default},201:function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0});var i=e(200),o=r(i),u=e(206),a=r(u),s=e(198),l=r(s);n.default={Animate:o.default,AnimatedComponent:a.default,Eases:l.default},t.exports=n.default},202:function(t,n,e){!function(t,e){e(n)}(0,function(t){"use strict";function n(t,n){return null==t||isNaN(t)?n:+t}function e(t,e){t=Math.max(1,n(t,1)),e=n(e,.3)*A;var r=e*Math.asin(1/t);return function(n){return t*Math.pow(2,10*--n)*Math.sin((r-n)/e)}}function r(t,e){t=Math.max(1,n(t,1)),e=n(e,.3)*A;var r=e*Math.asin(1/t);return function(n){return t*Math.pow(2,-10*n)*Math.sin((n-r)/e)+1}}function i(t,e){t=Math.max(1,n(t,1)),e=1.5*n(e,.3)*A;var r=e*Math.asin(1/t);return function(n){return t*((n=2*n-1)<0?Math.pow(2,10*n)*Math.sin((r-n)/e):Math.pow(2,-10*n)*Math.sin((n-r)/e)+2)/2}}function o(t){return t=n(t,1.70158),function(n){return n*n*((t+1)*n-t)}}function u(t){return t=n(t,1.70158),function(n){return--n*n*((t+1)*n+t)+1}}function a(t){return t=1.525*n(t,1.70158),function(n){return((n*=2)<1?n*n*((t+1)*n-t):(n-=2)*n*((t+1)*n+t)+2)/2}}function s(t){return 1-l(1-t)}function l(t){return t1&&X.hasOwnProperty(t)?X[t](n,e):G.hasOwnProperty(t)?G[t]:q}var A=1/(2*Math.PI),C=4/11,R=6/11,E=8/11,T=.75,I=9/11,F=10/11,D=.9375,L=21/22,V=63/64,H=1/C/C,$=Math.PI,z=$/2,G={"linear-in":q,"linear-out":q,"linear-in-out":q,"quad-in":k,"quad-out":x,"quad-in-out":_,"cubic-in":y,"cubic-out":M,"cubic-in-out":N,"poly-in":y,"poly-out":M,"poly-in-out":N,"sin-in":w,"sin-out":m,"sin-in-out":v,"exp-in":d,"exp-out":b,"exp-in-out":g,"circle-in":h,"circle-out":f,"circle-in-out":p,"bounce-in":s,"bounce-out":l,"bounce-in-out":c,"back-in":o(),"back-out":u(),"back-in-out":a(),"elastic-in":e(),"elastic-out":r(),"elastic-in-out":i()},X={"poly-in":O,"poly-out":S,"poly-in-out":P,"back-in":o,"back-out":u,"back-in-out":a,"elastic-in":e,"elastic-out":r,"elastic-in-out":i};t.version="0.1.5",t.ease=j})},203:function(t,n,e){!function(t,e){e(n)}(0,function(t){"use strict";function n(t,n,e){e=null==e?Date.now():+e,null!=n&&(e+=+n);var r={callback:t,time:e,flush:!1,next:null};a?a.next=r:u=r,a=r,o(e)}function e(t,n,e){e=null==e?Date.now():+e,null!=n&&(e+=+n),s.callback=t,s.time=e}function r(t){t=null==t?Date.now():+t;var n=s;for(s=u;s;)t>=s.time&&(s.flush=s.callback(t-s.time,t)),s=s.next;s=n,t=1/0;for(var e,r=u;r;)r.flush?r=e?e.next=r.next:u=r.next:(r.time24?h>t&&(c&&clearTimeout(c),c=setTimeout(i,n),h=t):(c&&(c=clearTimeout(c),h=1/0),l=f(i))}}var u,a,s,l,c,h=1/0,f="undefined"!=typeof window&&(window.requestAnimationFrame||window.msRequestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.oRequestAnimationFrame)||function(t){return setTimeout(t,17)};t.timer=n,t.timerReplace=e,t.timerFlush=r})},204:function(t,n,e){!function(t,r){r(n,e(205))}(0,function(t,n){"use strict";function e(t,n){var e,r=[],i=[],o=t.length,u=n.length,a=Math.min(t.length,n.length);for(e=0;es&&(a=n.slice(s,a),c[l]?c[l]+=a:c[++l]=a),(e=e[0])===(i=i[0])?c[l]?c[l]+=i:c[++l]=i:(c[++l]=null,h.push({i:l,x:r(e,i)})),s=q.lastIndex;return s=0&&!(e=O[r](t,n)););return e}function l(t,n){return t=+t,n-=t,function(e){return Math.round(t+n*e)}}function c(t){x||(x=document.createElementNS("http://www.w3.org/2000/svg","g")),t&&(x.setAttribute("transform",t),n=x.transform.baseVal.consolidate());var n,e=n?n.matrix:P,r=[e.a,e.b],i=[e.c,e.d],o=f(r),u=h(r,i),a=f(p(i,r,-u))||0;r[0]*i[1]180?n+=360:n-t>180&&(t+=360),i.push({i:e.push(d(e)+"rotate(",null,")")-2,x:r(t,n)})):n&&e.push(d(e)+"rotate("+n+")")}function w(t,n,e,i){t!==n?i.push({i:e.push(d(e)+"skewX(",null,")")-2,x:r(t,n)}):n&&e.push(d(e)+"skewX("+n+")")}function m(t,n,e,i){if(t[0]!==n[0]||t[1]!==n[1]){var o=e.push(d(e)+"scale(",null,",",null,")");i.push({i:o-4,x:r(t[0],n[0])},{i:o-2,x:r(t[1],n[1])})}else 1===n[0]&&1===n[1]||e.push(d(e)+"scale("+n+")")}function v(t,n){var e=[],r=[];return t=new c(t),n=new c(n),b(t.translate,n.translate,e,r),g(t.rotate,n.rotate,e,r),w(t.skew,n.skew,e,r),m(t.scale,n.scale,e,r),t=n=null,function(t){for(var n,i=-1,o=r.length;++i>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n)):(n=j.exec(t))?r(parseInt(n[1],16)):(n=A.exec(t))?i(n[1],n[2],n[3]):(n=C.exec(t))?i(255*n[1]/100,255*n[2]/100,255*n[3]/100):(n=R.exec(t))?a(n[1],n[2]/100,n[3]/100):E.hasOwnProperty(t)?r(E[t]):null}function r(t){return i(t>>16&255,t>>8&255,255&t)}function i(t,r,i){return 1===arguments.length&&(t instanceof n||(t=e(t)),t?(t=t.rgb(),i=t.b,r=t.g,t=t.r):t=r=i=NaN),new o(t,r,i)}function o(t,n,e){this.r=+t,this.g=+n,this.b=+e}function u(t,n,e){return"#"+(isNaN(t)?"00":(t=Math.round(t))<16?"0"+Math.max(0,t).toString(16):Math.min(255,t).toString(16))+(isNaN(n)?"00":(n=Math.round(n))<16?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16))+(isNaN(e)?"00":(e=Math.round(e))<16?"0"+Math.max(0,e).toString(16):Math.min(255,e).toString(16))}function a(t,r,i){if(1===arguments.length)if(t instanceof s)i=t.l,r=t.s,t=t.h;else if(t instanceof n||(t=e(t)),t){if(t instanceof s)return t;t=t.rgb();var o=t.r/255,u=t.g/255,a=t.b/255,l=Math.min(o,u,a),c=Math.max(o,u,a),h=c-l;i=(c+l)/2,h?(r=i<.5?h/(c+l):h/(2-c-l),t=o===c?(u-a)/h+6*(u0&&i<1?0:t)}else t=r=i=NaN;return new s(t,r,i)}function s(t,n,e){this.h=+t,this.s=+n,this.l=+e}function l(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function c(t,n,e){if(1===arguments.length)if(t instanceof h)e=t.b,n=t.a,t=t.l;else if(t instanceof w){var r=t.h*X;e=Math.sin(r)*t.c,n=Math.cos(r)*t.c,t=t.l}else{t instanceof o||(t=i(t));var u=b(t.r),a=b(t.g),e=b(t.b),s=f((.4124564*u+.3575761*a+.1804375*e)/F),l=f((.2126729*u+.7151522*a+.072175*e)/D),c=f((.0193339*u+.119192*a+.9503041*e)/L);e=200*(l-c),n=500*(s-l),t=116*l-16}return new h(t,n,e)}function h(t,n,e){this.l=+t,this.a=+n,this.b=+e}function f(t){return t>z?Math.pow(t,1/3):t/$+V}function p(t){return t>H?t*t*t:$*(t-V)}function d(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function b(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function g(t,n,e){return 1===arguments.length&&(t instanceof w?(e=t.l,n=t.c,t=t.h):(t instanceof h||(t=c(t)),e=t.l,n=Math.sqrt(t.a*t.a+t.b*t.b),(t=Math.atan2(t.b,t.a)*J)<0&&(t+=360))),new w(t,n,e)}function w(t,n,e){this.h=+t,this.c=+n,this.l=+e}function m(t,n,e){if(1===arguments.length)if(t instanceof v)e=t.l,n=t.s,t=t.h;else{t instanceof o||(t=i(t));var r=t.r/255,u=t.g/255,a=t.b/255;e=(nt*a+Y*r-tt*u)/(nt+Y-tt);var s=a-e,l=(W*(u-e)-B*s)/K;n=Math.sqrt(l*l+s*s)/(W*e*(1-e)),t=n?Math.atan2(l,s)*J-120:NaN,t<0&&(t+=360)}return new v(t,n,e)}function v(t,n,e){this.h=+t,this.s=+n,this.l=+e}function y(t,n){var e=t-n;return e>180||e<-180?e-360*Math.round(e/360):e}function M(t){return function(n,e){n=m(n),e=m(e);var r=isNaN(n.h)?e.h:n.h,i=isNaN(n.s)?e.s:n.s,o=n.l,u=isNaN(e.h)?0:y(e.h,r),a=isNaN(e.s)?0:e.s-i,s=e.l-o;return function(e){return n.h=r+u*e,n.s=i+a*e,n.l=o+s*Math.pow(e,t),n+""}}}function N(t){return function(n,e){n=m(n),e=m(e);var r=isNaN(n.h)?e.h:n.h,i=isNaN(n.s)?e.s:n.s,o=n.l,u=isNaN(e.h)?0:e.h-r,a=isNaN(e.s)?0:e.s-i,s=e.l-o;return function(e){return n.h=r+u*e,n.s=i+a*e,n.l=o+s*Math.pow(e,t),n+""}}}function k(t,n){t=i(t),n=i(n);var e=t.r,r=t.g,o=t.b,a=n.r-e,s=n.g-r,l=n.b-o;return function(t){return u(Math.round(e+a*t),Math.round(r+s*t),Math.round(o+l*t))}}function x(t,n){t=a(t),n=a(n);var e=isNaN(t.h)?n.h:t.h,r=isNaN(t.s)?n.s:t.s,i=t.l,o=isNaN(n.h)?0:y(n.h,e),u=isNaN(n.s)?0:n.s-r,s=n.l-i;return function(n){return t.h=e+o*n,t.s=r+u*n,t.l=i+s*n,t+""}}function _(t,n){t=a(t),n=a(n);var e=isNaN(t.h)?n.h:t.h,r=isNaN(t.s)?n.s:t.s,i=t.l,o=isNaN(n.h)?0:n.h-e,u=isNaN(n.s)?0:n.s-r,s=n.l-i;return function(n){return t.h=e+o*n,t.s=r+u*n,t.l=i+s*n,t+""}}function q(t,n){t=c(t),n=c(n);var e=t.l,r=t.a,i=t.b,o=n.l-e,u=n.a-r,a=n.b-i;return function(n){return t.l=e+o*n,t.a=r+u*n,t.b=i+a*n,t+""}}function O(t,n){t=g(t),n=g(n);var e=isNaN(t.h)?n.h:t.h,r=isNaN(t.c)?n.c:t.c,i=t.l,o=isNaN(n.h)?0:y(n.h,e),u=isNaN(n.c)?0:n.c-r,a=n.l-i;return function(n){return t.h=e+o*n,t.c=r+u*n,t.l=i+a*n,t+""}}function S(t,n){t=g(t),n=g(n);var e=isNaN(t.h)?n.h:t.h,r=isNaN(t.c)?n.c:t.c,i=t.l,o=isNaN(n.h)?0:n.h-e,u=isNaN(n.c)?0:n.c-r,a=n.l-i;return function(n){return t.h=e+o*n,t.c=r+u*n,t.l=i+a*n,t+""}}var P=/^#([0-9a-f]{3})$/,j=/^#([0-9a-f]{6})$/,A=/^rgb\(\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*\)$/,C=/^rgb\(\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/,R=/^hsl\(\s*([-+]?\d+(?:\.\d+)?)\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/;e.prototype=n.prototype={displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}};var E={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},T=i.prototype=o.prototype=new n;T.brighter=function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new o(this.r*t,this.g*t,this.b*t)},T.darker=function(t){return t=null==t?.7:Math.pow(.7,t),new o(this.r*t,this.g*t,this.b*t)},T.rgb=function(){return this},T.displayable=function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255},T.toString=function(){return u(this.r,this.g,this.b)};var I=a.prototype=s.prototype=new n;I.brighter=function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new s(this.h,this.s,this.l*t)},I.darker=function(t){return t=null==t?.7:Math.pow(.7,t),new s(this.h,this.s,this.l*t)},I.rgb=function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new o(l(t>=240?t-240:t+120,i,r),l(t,i,r),l(t<120?t+240:t-120,i,r))},I.displayable=function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1};var F=.95047,D=1,L=1.08883,V=4/29,H=6/29,$=3*H*H,z=H*H*H,G=c.prototype=h.prototype=new n;G.brighter=function(t){return new h(this.l+18*(null==t?1:t),this.a,this.b)},G.darker=function(t){return new h(this.l-18*(null==t?1:t),this.a,this.b)},G.rgb=function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=D*p(t),n=F*p(n),e=L*p(e),new o(d(3.2404542*n-1.5371385*t-.4985314*e),d(-.969266*n+1.8760108*t+.041556*e),d(.0556434*n-.2040259*t+1.0572252*e))};var X=Math.PI/180,J=180/Math.PI,Q=g.prototype=w.prototype=new n;Q.brighter=function(t){return new w(this.h,this.c,this.l+18*(null==t?1:t))},Q.darker=function(t){return new w(this.h,this.c,this.l-18*(null==t?1:t))},Q.rgb=function(){return c(this).rgb()};var U=-.14861,Z=1.78277,B=-.29227,K=-.90649,W=1.97294,Y=W*K,tt=W*Z,nt=Z*B-K*U,et=m.prototype=v.prototype=new n;et.brighter=function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new v(this.h,this.s,this.l*t)},et.darker=function(t){return t=null==t?.7:Math.pow(.7,t),new v(this.h,this.s,this.l*t)},et.rgb=function(){var t=isNaN(this.h)?0:(this.h+120)*X,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),i=Math.sin(t);return new o(255*(n+e*(U*r+Z*i)),255*(n+e*(B*r+K*i)),255*(n+e*(W*r)))};var rt=M(1),it=N(1);t.version="0.2.8",t.interpolateCubehelix=rt,t.interpolateCubehelixLong=it,t.interpolateCubehelixGamma=M,t.interpolateCubehelixGammaLong=N,t.color=e,t.rgb=i,t.hsl=a,t.lab=c,t.hcl=g,t.cubehelix=m,t.interpolateRgb=k,t.interpolateHsl=x,t.interpolateHslLong=_,t.interpolateLab=q,t.interpolateHcl=O,t.interpolateHclLong=S})},206:function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function o(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}Object.defineProperty(n,"__esModule",{value:!0});var u=function(t,n,e){for(var r=!0;r;){var i=t,o=n,u=e;r=!1,null===i&&(i=Function.prototype);var a=Object.getOwnPropertyDescriptor(i,o);if(void 0!==a){if("value"in a)return a.value;var s=a.get;if(void 0===s)return;return s.call(u)}var l=Object.getPrototypeOf(i);if(null===l)return;t=l,n=o,e=u,r=!0,a=l=void 0}},a=e(17),s=e(200),l=r(s),c=e(198),h=(r(c),function(t){function n(t){i(this,n),u(Object.getPrototypeOf(n.prototype),"constructor",this).call(this,t),this.animator=new l.default(this),this.setAnimate=this.animator.tween.bind(this.animator),this.stopAnimate=this.animator.stop.bind(this.animator)}return o(n,t),n}(a.Component));n.default=h,t.exports=n.default}}); -------------------------------------------------------------------------------- /docs/js/4.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([4],{196:function(t,n,e){"use strict";function r(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function i(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?t:n}function o(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function t(t,n){for(var e=0;er?(e._updateStateValue(t,n,s),s(),!0):void 0})})}}]),t}());n.default=l,t.exports=n.default},201:function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0});var i=e(200),o=r(i),a=e(206),u=r(a),s=e(198),l=r(s);n.default={Animate:o.default,AnimatedComponent:u.default,Eases:l.default},t.exports=n.default},202:function(t,n,e){!function(t,e){e(n)}(0,function(t){"use strict";function n(t,n){return null==t||isNaN(t)?n:+t}function e(t,e){t=Math.max(1,n(t,1)),e=n(e,.3)*A;var r=e*Math.asin(1/t);return function(n){return t*Math.pow(2,10*--n)*Math.sin((r-n)/e)}}function r(t,e){t=Math.max(1,n(t,1)),e=n(e,.3)*A;var r=e*Math.asin(1/t);return function(n){return t*Math.pow(2,-10*n)*Math.sin((n-r)/e)+1}}function i(t,e){t=Math.max(1,n(t,1)),e=1.5*n(e,.3)*A;var r=e*Math.asin(1/t);return function(n){return t*((n=2*n-1)<0?Math.pow(2,10*n)*Math.sin((r-n)/e):Math.pow(2,-10*n)*Math.sin((n-r)/e)+2)/2}}function o(t){return t=n(t,1.70158),function(n){return n*n*((t+1)*n-t)}}function a(t){return t=n(t,1.70158),function(n){return--n*n*((t+1)*n+t)+1}}function u(t){return t=1.525*n(t,1.70158),function(n){return((n*=2)<1?n*n*((t+1)*n-t):(n-=2)*n*((t+1)*n+t)+2)/2}}function s(t){return 1-l(1-t)}function l(t){return t1&&X.hasOwnProperty(t)?X[t](n,e):G.hasOwnProperty(t)?G[t]:q}var A=1/(2*Math.PI),E=4/11,F=6/11,C=8/11,R=.75,T=9/11,I=10/11,H=.9375,D=21/22,L=63/64,V=1/E/E,$=Math.PI,z=$/2,G={"linear-in":q,"linear-out":q,"linear-in-out":q,"quad-in":k,"quad-out":x,"quad-in-out":_,"cubic-in":y,"cubic-out":M,"cubic-in-out":N,"poly-in":y,"poly-out":M,"poly-in-out":N,"sin-in":w,"sin-out":m,"sin-in-out":v,"exp-in":d,"exp-out":b,"exp-in-out":g,"circle-in":h,"circle-out":f,"circle-in-out":p,"bounce-in":s,"bounce-out":l,"bounce-in-out":c,"back-in":o(),"back-out":a(),"back-in-out":u(),"elastic-in":e(),"elastic-out":r(),"elastic-in-out":i()},X={"poly-in":O,"poly-out":S,"poly-in-out":P,"back-in":o,"back-out":a,"back-in-out":u,"elastic-in":e,"elastic-out":r,"elastic-in-out":i};t.version="0.1.5",t.ease=j})},203:function(t,n,e){!function(t,e){e(n)}(0,function(t){"use strict";function n(t,n,e){e=null==e?Date.now():+e,null!=n&&(e+=+n);var r={callback:t,time:e,flush:!1,next:null};u?u.next=r:a=r,u=r,o(e)}function e(t,n,e){e=null==e?Date.now():+e,null!=n&&(e+=+n),s.callback=t,s.time=e}function r(t){t=null==t?Date.now():+t;var n=s;for(s=a;s;)t>=s.time&&(s.flush=s.callback(t-s.time,t)),s=s.next;s=n,t=1/0;for(var e,r=a;r;)r.flush?r=e?e.next=r.next:a=r.next:(r.time24?h>t&&(c&&clearTimeout(c),c=setTimeout(i,n),h=t):(c&&(c=clearTimeout(c),h=1/0),l=f(i))}}var a,u,s,l,c,h=1/0,f="undefined"!=typeof window&&(window.requestAnimationFrame||window.msRequestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.oRequestAnimationFrame)||function(t){return setTimeout(t,17)};t.timer=n,t.timerReplace=e,t.timerFlush=r})},204:function(t,n,e){!function(t,r){r(n,e(205))}(0,function(t,n){"use strict";function e(t,n){var e,r=[],i=[],o=t.length,a=n.length,u=Math.min(t.length,n.length);for(e=0;es&&(u=n.slice(s,u),c[l]?c[l]+=u:c[++l]=u),(e=e[0])===(i=i[0])?c[l]?c[l]+=i:c[++l]=i:(c[++l]=null,h.push({i:l,x:r(e,i)})),s=q.lastIndex;return s=0&&!(e=O[r](t,n)););return e}function l(t,n){return t=+t,n-=t,function(e){return Math.round(t+n*e)}}function c(t){x||(x=document.createElementNS("http://www.w3.org/2000/svg","g")),t&&(x.setAttribute("transform",t),n=x.transform.baseVal.consolidate());var n,e=n?n.matrix:P,r=[e.a,e.b],i=[e.c,e.d],o=f(r),a=h(r,i),u=f(p(i,r,-a))||0;r[0]*i[1]180?n+=360:n-t>180&&(t+=360),i.push({i:e.push(d(e)+"rotate(",null,")")-2,x:r(t,n)})):n&&e.push(d(e)+"rotate("+n+")")}function w(t,n,e,i){t!==n?i.push({i:e.push(d(e)+"skewX(",null,")")-2,x:r(t,n)}):n&&e.push(d(e)+"skewX("+n+")")}function m(t,n,e,i){if(t[0]!==n[0]||t[1]!==n[1]){var o=e.push(d(e)+"scale(",null,",",null,")");i.push({i:o-4,x:r(t[0],n[0])},{i:o-2,x:r(t[1],n[1])})}else 1===n[0]&&1===n[1]||e.push(d(e)+"scale("+n+")")}function v(t,n){var e=[],r=[];return t=new c(t),n=new c(n),b(t.translate,n.translate,e,r),g(t.rotate,n.rotate,e,r),w(t.skew,n.skew,e,r),m(t.scale,n.scale,e,r),t=n=null,function(t){for(var n,i=-1,o=r.length;++i>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n)):(n=j.exec(t))?r(parseInt(n[1],16)):(n=A.exec(t))?i(n[1],n[2],n[3]):(n=E.exec(t))?i(255*n[1]/100,255*n[2]/100,255*n[3]/100):(n=F.exec(t))?u(n[1],n[2]/100,n[3]/100):C.hasOwnProperty(t)?r(C[t]):null}function r(t){return i(t>>16&255,t>>8&255,255&t)}function i(t,r,i){return 1===arguments.length&&(t instanceof n||(t=e(t)),t?(t=t.rgb(),i=t.b,r=t.g,t=t.r):t=r=i=NaN),new o(t,r,i)}function o(t,n,e){this.r=+t,this.g=+n,this.b=+e}function a(t,n,e){return"#"+(isNaN(t)?"00":(t=Math.round(t))<16?"0"+Math.max(0,t).toString(16):Math.min(255,t).toString(16))+(isNaN(n)?"00":(n=Math.round(n))<16?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16))+(isNaN(e)?"00":(e=Math.round(e))<16?"0"+Math.max(0,e).toString(16):Math.min(255,e).toString(16))}function u(t,r,i){if(1===arguments.length)if(t instanceof s)i=t.l,r=t.s,t=t.h;else if(t instanceof n||(t=e(t)),t){if(t instanceof s)return t;t=t.rgb();var o=t.r/255,a=t.g/255,u=t.b/255,l=Math.min(o,a,u),c=Math.max(o,a,u),h=c-l;i=(c+l)/2,h?(r=i<.5?h/(c+l):h/(2-c-l),t=o===c?(a-u)/h+6*(a0&&i<1?0:t)}else t=r=i=NaN;return new s(t,r,i)}function s(t,n,e){this.h=+t,this.s=+n,this.l=+e}function l(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function c(t,n,e){if(1===arguments.length)if(t instanceof h)e=t.b,n=t.a,t=t.l;else if(t instanceof w){var r=t.h*X;e=Math.sin(r)*t.c,n=Math.cos(r)*t.c,t=t.l}else{t instanceof o||(t=i(t));var a=b(t.r),u=b(t.g),e=b(t.b),s=f((.4124564*a+.3575761*u+.1804375*e)/I),l=f((.2126729*a+.7151522*u+.072175*e)/H),c=f((.0193339*a+.119192*u+.9503041*e)/D);e=200*(l-c),n=500*(s-l),t=116*l-16}return new h(t,n,e)}function h(t,n,e){this.l=+t,this.a=+n,this.b=+e}function f(t){return t>z?Math.pow(t,1/3):t/$+L}function p(t){return t>V?t*t*t:$*(t-L)}function d(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function b(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function g(t,n,e){return 1===arguments.length&&(t instanceof w?(e=t.l,n=t.c,t=t.h):(t instanceof h||(t=c(t)),e=t.l,n=Math.sqrt(t.a*t.a+t.b*t.b),(t=Math.atan2(t.b,t.a)*J)<0&&(t+=360))),new w(t,n,e)}function w(t,n,e){this.h=+t,this.c=+n,this.l=+e}function m(t,n,e){if(1===arguments.length)if(t instanceof v)e=t.l,n=t.s,t=t.h;else{t instanceof o||(t=i(t));var r=t.r/255,a=t.g/255,u=t.b/255;e=(nt*u+Y*r-tt*a)/(nt+Y-tt);var s=u-e,l=(W*(a-e)-B*s)/K;n=Math.sqrt(l*l+s*s)/(W*e*(1-e)),t=n?Math.atan2(l,s)*J-120:NaN,t<0&&(t+=360)}return new v(t,n,e)}function v(t,n,e){this.h=+t,this.s=+n,this.l=+e}function y(t,n){var e=t-n;return e>180||e<-180?e-360*Math.round(e/360):e}function M(t){return function(n,e){n=m(n),e=m(e);var r=isNaN(n.h)?e.h:n.h,i=isNaN(n.s)?e.s:n.s,o=n.l,a=isNaN(e.h)?0:y(e.h,r),u=isNaN(e.s)?0:e.s-i,s=e.l-o;return function(e){return n.h=r+a*e,n.s=i+u*e,n.l=o+s*Math.pow(e,t),n+""}}}function N(t){return function(n,e){n=m(n),e=m(e);var r=isNaN(n.h)?e.h:n.h,i=isNaN(n.s)?e.s:n.s,o=n.l,a=isNaN(e.h)?0:e.h-r,u=isNaN(e.s)?0:e.s-i,s=e.l-o;return function(e){return n.h=r+a*e,n.s=i+u*e,n.l=o+s*Math.pow(e,t),n+""}}}function k(t,n){t=i(t),n=i(n);var e=t.r,r=t.g,o=t.b,u=n.r-e,s=n.g-r,l=n.b-o;return function(t){return a(Math.round(e+u*t),Math.round(r+s*t),Math.round(o+l*t))}}function x(t,n){t=u(t),n=u(n);var e=isNaN(t.h)?n.h:t.h,r=isNaN(t.s)?n.s:t.s,i=t.l,o=isNaN(n.h)?0:y(n.h,e),a=isNaN(n.s)?0:n.s-r,s=n.l-i;return function(n){return t.h=e+o*n,t.s=r+a*n,t.l=i+s*n,t+""}}function _(t,n){t=u(t),n=u(n);var e=isNaN(t.h)?n.h:t.h,r=isNaN(t.s)?n.s:t.s,i=t.l,o=isNaN(n.h)?0:n.h-e,a=isNaN(n.s)?0:n.s-r,s=n.l-i;return function(n){return t.h=e+o*n,t.s=r+a*n,t.l=i+s*n,t+""}}function q(t,n){t=c(t),n=c(n);var e=t.l,r=t.a,i=t.b,o=n.l-e,a=n.a-r,u=n.b-i;return function(n){return t.l=e+o*n,t.a=r+a*n,t.b=i+u*n,t+""}}function O(t,n){t=g(t),n=g(n);var e=isNaN(t.h)?n.h:t.h,r=isNaN(t.c)?n.c:t.c,i=t.l,o=isNaN(n.h)?0:y(n.h,e),a=isNaN(n.c)?0:n.c-r,u=n.l-i;return function(n){return t.h=e+o*n,t.c=r+a*n,t.l=i+u*n,t+""}}function S(t,n){t=g(t),n=g(n);var e=isNaN(t.h)?n.h:t.h,r=isNaN(t.c)?n.c:t.c,i=t.l,o=isNaN(n.h)?0:n.h-e,a=isNaN(n.c)?0:n.c-r,u=n.l-i;return function(n){return t.h=e+o*n,t.c=r+a*n,t.l=i+u*n,t+""}}var P=/^#([0-9a-f]{3})$/,j=/^#([0-9a-f]{6})$/,A=/^rgb\(\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*\)$/,E=/^rgb\(\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/,F=/^hsl\(\s*([-+]?\d+(?:\.\d+)?)\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/;e.prototype=n.prototype={displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}};var C={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},R=i.prototype=o.prototype=new n;R.brighter=function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new o(this.r*t,this.g*t,this.b*t)},R.darker=function(t){return t=null==t?.7:Math.pow(.7,t),new o(this.r*t,this.g*t,this.b*t)},R.rgb=function(){return this},R.displayable=function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255},R.toString=function(){return a(this.r,this.g,this.b)};var T=u.prototype=s.prototype=new n;T.brighter=function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new s(this.h,this.s,this.l*t)},T.darker=function(t){return t=null==t?.7:Math.pow(.7,t),new s(this.h,this.s,this.l*t)},T.rgb=function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new o(l(t>=240?t-240:t+120,i,r),l(t,i,r),l(t<120?t+240:t-120,i,r))},T.displayable=function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1};var I=.95047,H=1,D=1.08883,L=4/29,V=6/29,$=3*V*V,z=V*V*V,G=c.prototype=h.prototype=new n;G.brighter=function(t){return new h(this.l+18*(null==t?1:t),this.a,this.b)},G.darker=function(t){return new h(this.l-18*(null==t?1:t),this.a,this.b)},G.rgb=function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=H*p(t),n=I*p(n),e=D*p(e),new o(d(3.2404542*n-1.5371385*t-.4985314*e),d(-.969266*n+1.8760108*t+.041556*e),d(.0556434*n-.2040259*t+1.0572252*e))};var X=Math.PI/180,J=180/Math.PI,Q=g.prototype=w.prototype=new n;Q.brighter=function(t){return new w(this.h,this.c,this.l+18*(null==t?1:t))},Q.darker=function(t){return new w(this.h,this.c,this.l-18*(null==t?1:t))},Q.rgb=function(){return c(this).rgb()};var U=-.14861,Z=1.78277,B=-.29227,K=-.90649,W=1.97294,Y=W*K,tt=W*Z,nt=Z*B-K*U,et=m.prototype=v.prototype=new n;et.brighter=function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new v(this.h,this.s,this.l*t)},et.darker=function(t){return t=null==t?.7:Math.pow(.7,t),new v(this.h,this.s,this.l*t)},et.rgb=function(){var t=isNaN(this.h)?0:(this.h+120)*X,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),i=Math.sin(t);return new o(255*(n+e*(U*r+Z*i)),255*(n+e*(B*r+K*i)),255*(n+e*(W*r)))};var rt=M(1),it=N(1);t.version="0.2.8",t.interpolateCubehelix=rt,t.interpolateCubehelixLong=it,t.interpolateCubehelixGamma=M,t.interpolateCubehelixGammaLong=N,t.color=e,t.rgb=i,t.hsl=u,t.lab=c,t.hcl=g,t.cubehelix=m,t.interpolateRgb=k,t.interpolateHsl=x,t.interpolateHslLong=_,t.interpolateLab=q,t.interpolateHcl=O,t.interpolateHclLong=S})},206:function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function o(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}Object.defineProperty(n,"__esModule",{value:!0});var a=function(t,n,e){for(var r=!0;r;){var i=t,o=n,a=e;r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;if(void 0===s)return;return s.call(a)}var l=Object.getPrototypeOf(i);if(null===l)return;t=l,n=o,e=a,r=!0,u=l=void 0}},u=e(17),s=e(200),l=r(s),c=e(198),h=(r(c),function(t){function n(t){i(this,n),a(Object.getPrototypeOf(n.prototype),"constructor",this).call(this,t),this.animator=new l.default(this),this.setAnimate=this.animator.tween.bind(this.animator),this.stopAnimate=this.animator.stop.bind(this.animator)}return o(n,t),n}(u.Component));n.default=h,t.exports=n.default}}); -------------------------------------------------------------------------------- /docs/js/1.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([1],{193:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n setState( 'left', 0, "+ +this.refs.timeIn.value+", '"+this.state.easeIn+"') )\n"}),n.setAnimate("left",+this.refs.distance.clientWidth-50,+this.refs.timeOut.value,this.state.easeOut).then(function(){return e.setAnimate("left",0,+e.refs.timeIn.value,e.state.easeIn)}).then(function(){return e.setState({isAnimating:!1})})}}},{key:"render",value:function(){var t=this,e=this;return s.default.createElement("div",{className:"wrapper"},s.default.createElement(h.default,null),s.default.createElement("div",{className:"content",style:{zIndex:999,top:50}},s.default.createElement("p",null,s.default.createElement("label",null,"Milliseconds to move out:"),s.default.createElement("input",{ref:"timeOut",defaultValue:1e3}),s.default.createElement("label",null,"Time move back:"),s.default.createElement("input",{ref:"timeIn",defaultValue:500}),s.default.createElement("label",null,"Ease out:"),s.default.createElement("select",{value:e.state.easeOut,onChange:function(e){return t.setState({easeOut:e.target.value})}},c.Eases.map(function(t){return s.default.createElement("option",{key:t},t)})),s.default.createElement("label",null,"Ease in:"),s.default.createElement("select",{value:e.state.easeIn,onChange:function(e){return t.setState({easeIn:e.target.value})}},c.Eases.map(function(t){return s.default.createElement("option",{key:t},t)}))," ",s.default.createElement("button",{onClick:e.handleHeadingClick,disabled:this.state.isAnimating},"Start")),s.default.createElement("div",{ref:"distance",style:{zIndex:3,backgroundColor:"#eef",marginTop:12}},s.default.createElement("img",{src:"img/ball.jpeg",style:{zIndex:2,backgroundColor:"#000",borderRadius:25,width:50,textAlign:"center",color:"#FFF",transform:"translate3d("+this.state.left+"px,0px,0px)"}})),this.state.code?s.default.createElement("div",null,s.default.createElement("hr",null),s.default.createElement("label",null,"Code:"),s.default.createElement("pre",null,this.state.code)):""),s.default.createElement(p.default,null))}}]),e}(c.AnimatedComponent);e.default=b},198:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=["linear-in","linear-out","linear-in-out","quad-in","quad-out","quad-in-out","cubic-in","cubic-out","cubic-in-out","poly-in","poly-out","poly-in-out","sin-in","sin-out","sin-in-out","exp-in","exp-out","exp-in-out","circle-in","circle-out","circle-in-out","bounce-in","bounce-out","bounce-in-out","back-in","back-out","back-in-out","elastic-in","elastic-out","elastic-in-out"],t.exports=e.default},200:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;nr?(n._updateStateValue(t,e,l),l(),!0):void 0})})}}]),t}());e.default=s,t.exports=e.default},201:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(200),a=r(i),u=n(206),o=r(u),l=n(198),s=r(l);e.default={Animate:a.default,AnimatedComponent:o.default,Eases:s.default},t.exports=e.default},202:function(t,e,n){!function(t,n){n(e)}(0,function(t){"use strict";function e(t,e){return null==t||isNaN(t)?e:+t}function n(t,n){t=Math.max(1,e(t,1)),n=e(n,.3)*q;var r=n*Math.asin(1/t);return function(e){return t*Math.pow(2,10*--e)*Math.sin((r-e)/n)}}function r(t,n){t=Math.max(1,e(t,1)),n=e(n,.3)*q;var r=n*Math.asin(1/t);return function(e){return t*Math.pow(2,-10*e)*Math.sin((e-r)/n)+1}}function i(t,n){t=Math.max(1,e(t,1)),n=1.5*e(n,.3)*q;var r=n*Math.asin(1/t);return function(e){return t*((e=2*e-1)<0?Math.pow(2,10*e)*Math.sin((r-e)/n):Math.pow(2,-10*e)*Math.sin((e-r)/n)+2)/2}}function a(t){return t=e(t,1.70158),function(e){return e*e*((t+1)*e-t)}}function u(t){return t=e(t,1.70158),function(e){return--e*e*((t+1)*e+t)+1}}function o(t){return t=1.525*e(t,1.70158),function(e){return((e*=2)<1?e*e*((t+1)*e-t):(e-=2)*e*((t+1)*e+t)+2)/2}}function l(t){return 1-s(1-t)}function s(t){return t1&&G.hasOwnProperty(t)?G[t](e,n):W.hasOwnProperty(t)?W[t]:E}var q=1/(2*Math.PI),C=4/11,A=6/11,I=8/11,T=.75,R=9/11,F=10/11,L=.9375,H=21/22,V=63/64,D=1/C/C,z=Math.PI,$=z/2,W={"linear-in":E,"linear-out":E,"linear-in-out":E,"quad-in":k,"quad-out":x,"quad-in-out":_,"cubic-in":y,"cubic-out":M,"cubic-in-out":N,"poly-in":y,"poly-out":M,"poly-in-out":N,"sin-in":m,"sin-out":v,"sin-in-out":w,"exp-in":p,"exp-out":b,"exp-in-out":g,"circle-in":f,"circle-out":h,"circle-in-out":d,"bounce-in":l,"bounce-out":s,"bounce-in-out":c,"back-in":a(),"back-out":u(),"back-in-out":o(),"elastic-in":n(),"elastic-out":r(),"elastic-in-out":i()},G={"poly-in":O,"poly-out":S,"poly-in-out":j,"back-in":a,"back-out":u,"back-in-out":o,"elastic-in":n,"elastic-out":r,"elastic-in-out":i};t.version="0.1.5",t.ease=P})},203:function(t,e,n){!function(t,n){n(e)}(0,function(t){"use strict";function e(t,e,n){n=null==n?Date.now():+n,null!=e&&(n+=+e);var r={callback:t,time:n,flush:!1,next:null};o?o.next=r:u=r,o=r,a(n)}function n(t,e,n){n=null==n?Date.now():+n,null!=e&&(n+=+e),l.callback=t,l.time=n}function r(t){t=null==t?Date.now():+t;var e=l;for(l=u;l;)t>=l.time&&(l.flush=l.callback(t-l.time,t)),l=l.next;l=e,t=1/0;for(var n,r=u;r;)r.flush?r=n?n.next=r.next:u=r.next:(r.time24?f>t&&(c&&clearTimeout(c),c=setTimeout(i,e),f=t):(c&&(c=clearTimeout(c),f=1/0),s=h(i))}}var u,o,l,s,c,f=1/0,h="undefined"!=typeof window&&(window.requestAnimationFrame||window.msRequestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.oRequestAnimationFrame)||function(t){return setTimeout(t,17)};t.timer=e,t.timerReplace=n,t.timerFlush=r})},204:function(t,e,n){!function(t,r){r(e,n(205))}(0,function(t,e){"use strict";function n(t,e){var n,r=[],i=[],a=t.length,u=e.length,o=Math.min(t.length,e.length);for(n=0;nl&&(o=e.slice(l,o),c[s]?c[s]+=o:c[++s]=o),(n=n[0])===(i=i[0])?c[s]?c[s]+=i:c[++s]=i:(c[++s]=null,f.push({i:s,x:r(n,i)})),l=E.lastIndex;return l=0&&!(n=O[r](t,e)););return n}function s(t,e){return t=+t,e-=t,function(n){return Math.round(t+e*n)}}function c(t){x||(x=document.createElementNS("http://www.w3.org/2000/svg","g")),t&&(x.setAttribute("transform",t),e=x.transform.baseVal.consolidate());var e,n=e?e.matrix:j,r=[n.a,n.b],i=[n.c,n.d],a=h(r),u=f(r,i),o=h(d(i,r,-u))||0;r[0]*i[1]180?e+=360:e-t>180&&(t+=360),i.push({i:n.push(p(n)+"rotate(",null,")")-2,x:r(t,e)})):e&&n.push(p(n)+"rotate("+e+")")}function m(t,e,n,i){t!==e?i.push({i:n.push(p(n)+"skewX(",null,")")-2,x:r(t,e)}):e&&n.push(p(n)+"skewX("+e+")")}function v(t,e,n,i){if(t[0]!==e[0]||t[1]!==e[1]){var a=n.push(p(n)+"scale(",null,",",null,")");i.push({i:a-4,x:r(t[0],e[0])},{i:a-2,x:r(t[1],e[1])})}else 1===e[0]&&1===e[1]||n.push(p(n)+"scale("+e+")")}function w(t,e){var n=[],r=[];return t=new c(t),e=new c(e),b(t.translate,e.translate,n,r),g(t.rotate,e.rotate,n,r),m(t.skew,e.skew,n,r),v(t.scale,e.scale,n,r),t=e=null,function(t){for(var e,i=-1,a=r.length;++i>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e)):(e=P.exec(t))?r(parseInt(e[1],16)):(e=q.exec(t))?i(e[1],e[2],e[3]):(e=C.exec(t))?i(255*e[1]/100,255*e[2]/100,255*e[3]/100):(e=A.exec(t))?o(e[1],e[2]/100,e[3]/100):I.hasOwnProperty(t)?r(I[t]):null}function r(t){return i(t>>16&255,t>>8&255,255&t)}function i(t,r,i){return 1===arguments.length&&(t instanceof e||(t=n(t)),t?(t=t.rgb(),i=t.b,r=t.g,t=t.r):t=r=i=NaN),new a(t,r,i)}function a(t,e,n){this.r=+t,this.g=+e,this.b=+n}function u(t,e,n){return"#"+(isNaN(t)?"00":(t=Math.round(t))<16?"0"+Math.max(0,t).toString(16):Math.min(255,t).toString(16))+(isNaN(e)?"00":(e=Math.round(e))<16?"0"+Math.max(0,e).toString(16):Math.min(255,e).toString(16))+(isNaN(n)?"00":(n=Math.round(n))<16?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16))}function o(t,r,i){if(1===arguments.length)if(t instanceof l)i=t.l,r=t.s,t=t.h;else if(t instanceof e||(t=n(t)),t){if(t instanceof l)return t;t=t.rgb();var a=t.r/255,u=t.g/255,o=t.b/255,s=Math.min(a,u,o),c=Math.max(a,u,o),f=c-s;i=(c+s)/2,f?(r=i<.5?f/(c+s):f/(2-c-s),t=a===c?(u-o)/f+6*(u0&&i<1?0:t)}else t=r=i=NaN;return new l(t,r,i)}function l(t,e,n){this.h=+t,this.s=+e,this.l=+n}function s(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function c(t,e,n){if(1===arguments.length)if(t instanceof f)n=t.b,e=t.a,t=t.l;else if(t instanceof m){var r=t.h*G;n=Math.sin(r)*t.c,e=Math.cos(r)*t.c,t=t.l}else{t instanceof a||(t=i(t));var u=b(t.r),o=b(t.g),n=b(t.b),l=h((.4124564*u+.3575761*o+.1804375*n)/F),s=h((.2126729*u+.7151522*o+.072175*n)/L),c=h((.0193339*u+.119192*o+.9503041*n)/H);n=200*(s-c),e=500*(l-s),t=116*s-16}return new f(t,e,n)}function f(t,e,n){this.l=+t,this.a=+e,this.b=+n}function h(t){return t>$?Math.pow(t,1/3):t/z+V}function d(t){return t>D?t*t*t:z*(t-V)}function p(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function b(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function g(t,e,n){return 1===arguments.length&&(t instanceof m?(n=t.l,e=t.c,t=t.h):(t instanceof f||(t=c(t)),n=t.l,e=Math.sqrt(t.a*t.a+t.b*t.b),(t=Math.atan2(t.b,t.a)*U)<0&&(t+=360))),new m(t,e,n)}function m(t,e,n){this.h=+t,this.c=+e,this.l=+n}function v(t,e,n){if(1===arguments.length)if(t instanceof w)n=t.l,e=t.s,t=t.h;else{t instanceof a||(t=i(t));var r=t.r/255,u=t.g/255,o=t.b/255;n=(et*o+Y*r-tt*u)/(et+Y-tt);var l=o-n,s=(K*(u-n)-Z*l)/B;e=Math.sqrt(s*s+l*l)/(K*n*(1-n)),t=e?Math.atan2(s,l)*U-120:NaN,t<0&&(t+=360)}return new w(t,e,n)}function w(t,e,n){this.h=+t,this.s=+e,this.l=+n}function y(t,e){var n=t-e;return n>180||n<-180?n-360*Math.round(n/360):n}function M(t){return function(e,n){e=v(e),n=v(n);var r=isNaN(e.h)?n.h:e.h,i=isNaN(e.s)?n.s:e.s,a=e.l,u=isNaN(n.h)?0:y(n.h,r),o=isNaN(n.s)?0:n.s-i,l=n.l-a;return function(n){return e.h=r+u*n,e.s=i+o*n,e.l=a+l*Math.pow(n,t),e+""}}}function N(t){return function(e,n){e=v(e),n=v(n);var r=isNaN(e.h)?n.h:e.h,i=isNaN(e.s)?n.s:e.s,a=e.l,u=isNaN(n.h)?0:n.h-r,o=isNaN(n.s)?0:n.s-i,l=n.l-a;return function(n){return e.h=r+u*n,e.s=i+o*n,e.l=a+l*Math.pow(n,t),e+""}}}function k(t,e){t=i(t),e=i(e);var n=t.r,r=t.g,a=t.b,o=e.r-n,l=e.g-r,s=e.b-a;return function(t){return u(Math.round(n+o*t),Math.round(r+l*t),Math.round(a+s*t))}}function x(t,e){t=o(t),e=o(e);var n=isNaN(t.h)?e.h:t.h,r=isNaN(t.s)?e.s:t.s,i=t.l,a=isNaN(e.h)?0:y(e.h,n),u=isNaN(e.s)?0:e.s-r,l=e.l-i;return function(e){return t.h=n+a*e,t.s=r+u*e,t.l=i+l*e,t+""}}function _(t,e){t=o(t),e=o(e);var n=isNaN(t.h)?e.h:t.h,r=isNaN(t.s)?e.s:t.s,i=t.l,a=isNaN(e.h)?0:e.h-n,u=isNaN(e.s)?0:e.s-r,l=e.l-i;return function(e){return t.h=n+a*e,t.s=r+u*e,t.l=i+l*e,t+""}}function E(t,e){t=c(t),e=c(e);var n=t.l,r=t.a,i=t.b,a=e.l-n,u=e.a-r,o=e.b-i;return function(e){return t.l=n+a*e,t.a=r+u*e,t.b=i+o*e,t+""}}function O(t,e){t=g(t),e=g(e);var n=isNaN(t.h)?e.h:t.h,r=isNaN(t.c)?e.c:t.c,i=t.l,a=isNaN(e.h)?0:y(e.h,n),u=isNaN(e.c)?0:e.c-r,o=e.l-i;return function(e){return t.h=n+a*e,t.c=r+u*e,t.l=i+o*e,t+""}}function S(t,e){t=g(t),e=g(e);var n=isNaN(t.h)?e.h:t.h,r=isNaN(t.c)?e.c:t.c,i=t.l,a=isNaN(e.h)?0:e.h-n,u=isNaN(e.c)?0:e.c-r,o=e.l-i;return function(e){return t.h=n+a*e,t.c=r+u*e,t.l=i+o*e,t+""}}var j=/^#([0-9a-f]{3})$/,P=/^#([0-9a-f]{6})$/,q=/^rgb\(\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*\)$/,C=/^rgb\(\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/,A=/^hsl\(\s*([-+]?\d+(?:\.\d+)?)\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/;n.prototype=e.prototype={displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}};var I={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},T=i.prototype=a.prototype=new e;T.brighter=function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new a(this.r*t,this.g*t,this.b*t)},T.darker=function(t){return t=null==t?.7:Math.pow(.7,t),new a(this.r*t,this.g*t,this.b*t)},T.rgb=function(){return this},T.displayable=function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255},T.toString=function(){return u(this.r,this.g,this.b)};var R=o.prototype=l.prototype=new e;R.brighter=function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new l(this.h,this.s,this.l*t)},R.darker=function(t){return t=null==t?.7:Math.pow(.7,t),new l(this.h,this.s,this.l*t)},R.rgb=function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new a(s(t>=240?t-240:t+120,i,r),s(t,i,r),s(t<120?t+240:t-120,i,r))},R.displayable=function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1};var F=.95047,L=1,H=1.08883,V=4/29,D=6/29,z=3*D*D,$=D*D*D,W=c.prototype=f.prototype=new e;W.brighter=function(t){return new f(this.l+18*(null==t?1:t),this.a,this.b)},W.darker=function(t){return new f(this.l-18*(null==t?1:t),this.a,this.b)},W.rgb=function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return t=L*d(t),e=F*d(e),n=H*d(n),new a(p(3.2404542*e-1.5371385*t-.4985314*n),p(-.969266*e+1.8760108*t+.041556*n),p(.0556434*e-.2040259*t+1.0572252*n))};var G=Math.PI/180,U=180/Math.PI,X=g.prototype=m.prototype=new e;X.brighter=function(t){return new m(this.h,this.c,this.l+18*(null==t?1:t))},X.darker=function(t){return new m(this.h,this.c,this.l-18*(null==t?1:t))},X.rgb=function(){return c(this).rgb()};var J=-.14861,Q=1.78277,Z=-.29227,B=-.90649,K=1.97294,Y=K*B,tt=K*Q,et=Q*Z-B*J,nt=v.prototype=w.prototype=new e;nt.brighter=function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new w(this.h,this.s,this.l*t)},nt.darker=function(t){return t=null==t?.7:Math.pow(.7,t),new w(this.h,this.s,this.l*t)},nt.rgb=function(){var t=isNaN(this.h)?0:(this.h+120)*G,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new a(255*(e+n*(J*r+Q*i)),255*(e+n*(Z*r+B*i)),255*(e+n*(K*r)))};var rt=M(1),it=N(1);t.version="0.2.8",t.interpolateCubehelix=rt,t.interpolateCubehelixLong=it,t.interpolateCubehelixGamma=M,t.interpolateCubehelixGammaLong=N,t.color=n,t.rgb=i,t.hsl=o,t.lab=c,t.hcl=g,t.cubehelix=v,t.interpolateRgb=k,t.interpolateHsl=x,t.interpolateHslLong=_,t.interpolateLab=E,t.interpolateHcl=O,t.interpolateHclLong=S})},206:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=function(t,e,n){for(var r=!0;r;){var i=t,a=e,u=n;r=!1,null===i&&(i=Function.prototype);var o=Object.getOwnPropertyDescriptor(i,a);if(void 0!==o){if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(u)}var s=Object.getPrototypeOf(i);if(null===s)return;t=s,e=a,n=u,r=!0,o=s=void 0}},o=n(17),l=n(200),s=r(l),c=n(198),f=(r(c),function(t){function e(t){i(this,e),u(Object.getPrototypeOf(e.prototype),"constructor",this).call(this,t),this.animator=new s.default(this),this.setAnimate=this.animator.tween.bind(this.animator),this.stopAnimate=this.animator.stop.bind(this.animator)}return a(e,t),e}(o.Component));e.default=f,t.exports=e.default},209:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(){for(var t=arguments.length,e=Array(t),n=0;n2?n-2:0),i=2;i=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function c(e){if(e>65535){e-=65536;var t=55296+(e>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}function u(e,t){var r=0;return s(b,t)?b[t]:35===t.charCodeAt(0)&&v.test(t)&&(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10),l(r))?c(r):e}function p(e){return e.indexOf("&")<0?e:e.replace(m,u)}function f(e){return x[e]}function h(e){return y.test(e)?e.replace(k,f):e}var d=Object.prototype.hasOwnProperty,g=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,m=/&([a-z#][a-z0-9]{1,31});/gi,v=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,b=r(219),y=/[&<>"]/,k=/[&<>"]/g,x={"&":"&","<":"<",">":">",'"':"""};t.assign=i,t.isString=o,t.has=s,t.unescapeMd=a,t.isValidEntityCode=l,t.fromCodePoint=c,t.replaceEntities=p,t.escapeHtml=h},,,,,,,,function(e,t,r){"use strict";function n(){this.__rules__=[],this.__cache__=null}n.prototype.__find__=function(e){for(var t=this.__rules__.length,r=-1;t--;)if(this.__rules__[++r].name===e)return r;return-1},n.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(r){r.enabled&&(t&&r.alt.indexOf(t)<0||e.__cache__[t].push(r.fn))})})},n.prototype.at=function(e,t,r){var n=this.__find__(e),o=r||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=o.alt||[],this.__cache__=null},n.prototype.before=function(e,t,r,n){var o=this.__find__(e),s=n||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o,0,{name:t,enabled:!0,fn:r,alt:s.alt||[]}),this.__cache__=null},n.prototype.after=function(e,t,r,n){var o=this.__find__(e),s=n||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o+1,0,{name:t,enabled:!0,fn:r,alt:s.alt||[]}),this.__cache__=null},n.prototype.push=function(e,t,r){var n=r||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null},n.prototype.enable=function(e,t){e=Array.isArray(e)?e:[e],t&&this.__rules__.forEach(function(e){e.enabled=!1}),e.forEach(function(e){var t=this.__find__(e);if(t<0)throw new Error("Rules manager: invalid rule name "+e);this.__rules__[t].enabled=!0},this),this.__cache__=null},n.prototype.disable=function(e){e=Array.isArray(e)?e:[e],e.forEach(function(e){var t=this.__find__(e);if(t<0)throw new Error("Rules manager: invalid rule name "+e);this.__rules__[t].enabled=!1},this),this.__cache__=null},n.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=n},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,o,s=-1,i=e.posMax,a=e.pos,l=e.isInLabel;if(e.isInLabel)return-1;if(e.labelUnmatchedScopes)return e.labelUnmatchedScopes--,-1;for(e.pos=t+1,e.isInLabel=!0,r=1;e.pos2?r-2:0),o=2;o",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}},function(e,t,r){"use strict";var n=r(221),o=r(199).unescapeMd;e.exports=function(e,t){var r,s,i,a=t,l=e.posMax;if(60===e.src.charCodeAt(t)){for(t++;t8&&r<14);)if(92===r&&t+11)break;if(41===r&&--s<0)break;t++}return a!==t&&(i=o(e.src.slice(a,t)),!!e.parser.validateLink(i)&&(e.linkContent=i,e.pos=t,!0))}},function(e,t,r){"use strict";var n=r(199).replaceEntities;e.exports=function(e){var t=n(e);try{t=decodeURI(t)}catch(e){}return encodeURI(t)}},function(e,t,r){"use strict";var n=r(199).unescapeMd;e.exports=function(e,t){var r,o=t,s=e.posMax,i=e.src.charCodeAt(t);if(34!==i&&39!==i&&40!==i)return!1;for(t++,40===i&&(i=41);t=0)&&r(e,!n)}function i(e){return[].slice.call(e.querySelectorAll("*"),0).filter(function(e){return s(e)})}e.exports=i},function(e,t,r){function n(e,t,r){for(var n=-1,o=i(t),s=o.length;++n-1&&e%1==0&&e-1&&e%1==0&&e<=m}function i(e){for(var t=l(e),r=t.length,n=r&&e.length,i=!!n&&s(n)&&(p(e)||u(e)),a=-1,c=[];++a0;++n=e.length-2?t:"paragraph_open"===e[t].type&&e[t].tight&&"inline"===e[t+1].type&&0===e[t+1].content.length&&"paragraph_close"===e[t+2].type&&e[t+2].tight?n(e,t+2):t}var o=r(199).has,s=r(199).unescapeMd,i=r(199).replaceEntities,a=r(199).escapeHtml,l={};l.blockquote_open=function(){return"
\n"},l.blockquote_close=function(e,t){return"
"+c(e,t)},l.code=function(e,t){return e[t].block?"
"+a(e[t].content)+"
"+c(e,t):""+a(e[t].content)+""},l.fence=function(e,t,r,n,l){var u,p,f,h=e[t],d="",g=r.langPrefix,m="";if(h.params){if(u=h.params.split(/\s+/g),p=u.join(" "),o(l.rules.fence_custom,u[0]))return l.rules.fence_custom[u[0]](e,t,r,n,l);m=a(i(s(p))),d=' class="'+g+m+'"'}return f=r.highlight?r.highlight.apply(r.highlight,[h.content].concat(u))||a(h.content):a(h.content),"
"+f+"
"+c(e,t)},l.fence_custom={},l.heading_open=function(e,t){return""},l.heading_close=function(e,t){return"\n"},l.hr=function(e,t,r){return(r.xhtmlOut?"
":"
")+c(e,t)},l.bullet_list_open=function(){return"
    \n"},l.bullet_list_close=function(e,t){return"
"+c(e,t)},l.list_item_open=function(){return"
  • "},l.list_item_close=function(){return"
  • \n"},l.ordered_list_open=function(e,t){var r=e[t];return"1?' start="'+r.order+'"':"")+">\n"},l.ordered_list_close=function(e,t){return""+c(e,t)},l.paragraph_open=function(e,t){return e[t].tight?"":"

    "},l.paragraph_close=function(e,t){var r=!(e[t].tight&&t&&"inline"===e[t-1].type&&!e[t-1].content);return(e[t].tight?"":"

    ")+(r?c(e,t):"")},l.link_open=function(e,t,r){var n=e[t].title?' title="'+a(i(e[t].title))+'"':"",o=r.linkTarget?' target="'+r.linkTarget+'"':"";return'"},l.link_close=function(){return""},l.image=function(e,t,r){var n=' src="'+a(e[t].src)+'"',o=e[t].title?' title="'+a(i(e[t].title))+'"':"";return""},l.table_open=function(){return"\n"},l.table_close=function(){return"
    \n"},l.thead_open=function(){return"\n"},l.thead_close=function(){return"\n"},l.tbody_open=function(){return"\n"},l.tbody_close=function(){return"\n"},l.tr_open=function(){return""},l.tr_close=function(){return"\n"},l.th_open=function(e,t){var r=e[t];return""},l.th_close=function(){return""},l.td_open=function(e,t){var r=e[t];return""},l.td_close=function(){return""},l.strong_open=function(){return""},l.strong_close=function(){return""},l.em_open=function(){return""},l.em_close=function(){return""},l.del_open=function(){return""},l.del_close=function(){return""},l.ins_open=function(){return""},l.ins_close=function(){return""},l.mark_open=function(){return""},l.mark_close=function(){return""},l.sub=function(e,t){return""+a(e[t].content)+""},l.sup=function(e,t){return""+a(e[t].content)+""},l.hardbreak=function(e,t,r){return r.xhtmlOut?"
    \n":"
    \n"},l.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"
    \n":"
    \n":"\n"},l.text=function(e,t){return a(e[t].content)},l.htmlblock=function(e,t){return e[t].content},l.htmltag=function(e,t){return e[t].content},l.abbr_open=function(e,t){return''},l.abbr_close=function(){return""},l.footnote_ref=function(e,t){var r=Number(e[t].id+1).toString(),n="fnref"+r;return e[t].subId>0&&(n+=":"+e[t].subId),'['+r+"]"},l.footnote_block_open=function(e,t,r){return(r.xhtmlOut?'
    \n':'
    \n')+'
    \n
      \n'},l.footnote_block_close=function(){return"
    \n
    \n"},l.footnote_open=function(e,t){return'
  • '},l.footnote_close=function(){return"
  • \n"},l.footnote_anchor=function(e,t){var r=Number(e[t].id+1).toString(),n="fnref"+r;return e[t].subId>0&&(n+=":"+e[t].subId),' '},l.dl_open=function(){return"
    \n"},l.dt_open=function(){return"
    "},l.dd_open=function(){return"
    "},l.dl_close=function(){return"
    \n"},l.dt_close=function(){return"\n"},l.dd_close=function(){return"\n"};var c=l.getBreak=function(e,t){return t=n(e,t),t0?i[t].count:1,n=0;n=0;t--)if(a=i[t],"text"===a.type){for(u=0,l=a.content,f.lastIndex=0,p=a.level,c=[];h=f.exec(l);)f.lastIndex>u&&c.push({type:"text",content:l.slice(u,h.index+h[1].length),level:p}),c.push({type:"abbr_open",title:e.env.abbreviations[":"+h[2]],level:p++}),c.push({type:"text",content:h[2],level:p}),c.push({type:"abbr_close",level:--p}),u=f.lastIndex-h[3].length;c.length&&(u=0;a--)if("inline"===e.tokens[a].type)for(i=e.tokens[a].children,t=i.length-1;t>=0;t--)r=i[t],"text"===r.type&&(s=r.content,s=n(s),o.test(s)&&(s=s.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),r.content=s)}},function(e,t,r){"use strict";function n(e,t){return!(t<0||t>=e.length)&&!a.test(e[t])}function o(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}var s=/['"]/,i=/['"]/g,a=/[-\s()\[\]]/;e.exports=function(e){var t,r,a,l,c,u,p,f,h,d,g,m,v,b,y,k,x;if(e.options.typographer)for(x=[],y=e.tokens.length-1;y>=0;y--)if("inline"===e.tokens[y].type)for(k=e.tokens[y].children,x.length=0,t=0;t=0&&!(x[v].level<=p);v--);x.length=v+1,a=r.content,c=0,u=a.length;e:for(;c=0&&(d=x[v],!(x[v].level\s]/i.test(e)}function o(e){return/^<\/a\s*>/i.test(e)}function s(){var e=[],t=new i({stripPrefix:!1,url:!0,email:!0,twitter:!1,replaceFn:function(t,r){switch(r.getType()){case"url":e.push({text:r.matchedText,url:r.getUrl()});break;case"email":e.push({text:r.matchedText,url:"mailto:"+r.getEmail().replace(/^mailto:/i,"")})}return!1}});return{links:e,autolinker:t}}var i=r(242),a=/www|@|\:\/\//;e.exports=function(e){var t,r,i,l,c,u,p,f,h,d,g,m,v,b=e.tokens,y=null;if(e.options.linkify)for(r=0,i=b.length;r=0;t--)if(c=l[t],"link_close"!==c.type){if("htmltag"===c.type&&(n(c.content)&&g>0&&g--,o(c.content)&&g++),!(g>0)&&"text"===c.type&&a.test(c.content)){if(y||(y=s(),m=y.links,v=y.autolinker),u=c.content,m.length=0,v.link(u),!m.length)continue;for(p=[],d=c.level,f=0;f 17 | * MIT Licensed. http://www.opensource.org/licenses/mit-license.php 18 | * 19 | * https://github.com/gregjacobs/Autolinker.js 20 | */ 21 | var e=function(t){e.Util.assign(this,t)};return e.prototype={constructor:e,urls:!0,email:!0,twitter:!0,newWindow:!0,stripPrefix:!0,truncate:void 0,className:"",htmlParser:void 0,matchParser:void 0,tagBuilder:void 0,link:function(e){for(var t=this.getHtmlParser(),r=t.parse(e),n=0,o=[],s=0,i=r.length;st&&(r=null==r?"..":r,e=e.substring(0,t-r.length)+r),e},indexOf:function(e,t){if(Array.prototype.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r",this.getInnerHtml(),""].join("")},buildAttrsStr:function(){if(!this.attrs)return"";var e=this.getAttrs(),t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r+'="'+e[r]+'"');return t.join(" ")}}),e.AnchorTagBuilder=e.Util.extend(Object,{constructor:function(t){e.Util.assign(this,t)},build:function(t){return new e.HtmlTag({tagName:"a",attrs:this.createAttrs(t.getType(),t.getAnchorHref()),innerHtml:this.processAnchorText(t.getAnchorText())})},createAttrs:function(e,t){var r={href:t},n=this.createCssClass(e);return n&&(r.class=n),this.newWindow&&(r.target="_blank"),r},createCssClass:function(e){var t=this.className;return t?t+" "+t+"-"+e:""},processAnchorText:function(e){return e=this.doTruncate(e)},doTruncate:function(t){return e.Util.ellipsis(t,this.truncate||Number.POSITIVE_INFINITY)}}),e.htmlParser.HtmlParser=e.Util.extend(Object,{htmlRegex:function(){var e=/[0-9a-zA-Z][0-9a-zA-Z:]*/,t=/[^\s\0"'>\/=\x01-\x1F\x7F]+/,r=/(?:"[^"]*?"|'[^']*?'|[^'"=<>`\s]+)/,n=t.source+"(?:\\s*=\\s*"+r.source+")?";return new RegExp(["(?:","<(!DOCTYPE)","(?:","\\s+","(?:",n,"|",r.source+")",")*",">",")","|","(?:","<(/)?","("+e.source+")","(?:","\\s+",n,")*","\\s*/?",">",")"].join(""),"gi")}(),htmlCharacterEntitiesRegex:/( | |<|<|>|>|"|"|')/gi,parse:function(e){for(var t,r,n=this.htmlRegex,o=0,s=[];null!==(t=n.exec(e));){var i=t[0],a=t[1]||t[3],l=!!t[2],c=e.substring(o,t.index);c&&(r=this.parseTextAndEntityNodes(c),s.push.apply(s,r)),s.push(this.createElementNode(i,a,l)),o=t.index+i.length}if(o=r))&&!(e.tShift[i]=0&&(e=e.replace(a,function(t,r){var n;return 10===e.charCodeAt(r)?(i=r+1,u=0,t):(n=" ".slice((r-i-u)%4),u=r-i+1,n)})),o=new s(e,this,t,r,n),this.tokenize(o,o.line,o.lineMax)},e.exports=n},function(e,t,r){"use strict";function n(e,t,r,n,o){var s,i,a,l,c,u,p;for(this.src=e,this.parser=t,this.options=r,this.env=n,this.tokens=o,this.bMarks=[],this.eMarks=[],this.tShift=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.parentType="root",this.ddIndent=-1,this.level=0,this.result="",i=this.src,u=0,p=!1,a=l=u=0,c=i.length;l=this.eMarks[e]},n.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e},n.prototype.getLines=function(e,t,r,n){var o,s,i,a,l,c=e;if(e>=t)return"";if(c+1===t)return s=this.bMarks[c]+Math.min(this.tShift[c],r),i=n?this.eMarks[c]+1:this.eMarks[c],this.src.slice(s,i);for(a=new Array(t-e),o=0;cr&&(l=r),l<0&&(l=0),s=this.bMarks[c]+l,i=c+1=4))break;n++,o=n}return e.line=n,e.tokens.push({type:"code",content:e.getLines(t,o,4+e.blkIndent,!0),block:!0,lines:[t,e.line],level:e.level}),!0}},function(e,t,r){"use strict";e.exports=function(e,t,r,n){var o,s,i,a,l,c=!1,u=e.bMarks[t]+e.tShift[t],p=e.eMarks[t];if(u+3>p)return!1;if(126!==(o=e.src.charCodeAt(u))&&96!==o)return!1;if(l=u,u=e.skipChars(u,o),(s=u-l)<3)return!1;if(i=e.src.slice(u,p).trim(),i.indexOf("`")>=0)return!1;if(n)return!0;for(a=t;!(++a>=r)&&(u=l=e.bMarks[a]+e.tShift[a],p=e.eMarks[a],!(u=4||(u=e.skipChars(u,o))-lm)return!1;if(62!==e.src.charCodeAt(g++))return!1;if(e.level>=e.options.maxNesting)return!1;if(n)return!0;for(32===e.src.charCodeAt(g)&&g++,l=e.blkIndent,e.blkIndent=0,a=[e.bMarks[t]],e.bMarks[t]=g,g=g=m,i=[e.tShift[t]],e.tShift[t]=g-e.bMarks[t],p=e.parser.ruler.getRules("blockquote"),o=t+1;o=m));o++)if(62!==e.src.charCodeAt(g++)){if(s)break;for(d=!1,f=0,h=p.length;f=m,i.push(e.tShift[o]),e.tShift[o]=g-e.bMarks[o];for(c=e.parentType,e.parentType="blockquote",e.tokens.push({type:"blockquote_open",lines:u=[t,0],level:e.level++}),e.parser.tokenize(e,t,o),e.tokens.push({type:"blockquote_close",level:--e.level}),e.parentType=c,u[1]=e.line,f=0;fl)return!1;if(42!==(o=e.src.charCodeAt(a++))&&45!==o&&95!==o)return!1;for(s=1;a=o?-1:(r=e.src.charCodeAt(n++),42!==r&&45!==r&&43!==r?-1:n=o)return-1;if((r=e.src.charCodeAt(n++))<48||r>57)return-1;for(;;){if(n>=o)return-1;if(!((r=e.src.charCodeAt(n++))>=48&&r<=57)){if(41===r||46===r)break;return-1}}return n=0)y=!0;else{if(!((d=n(e,t))>=0))return!1;y=!1}if(e.level>=e.options.maxNesting)return!1;if(b=e.src.charCodeAt(d-1),i)return!0;for(x=e.tokens.length,y?(h=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(h,d-h-1)),e.tokens.push({type:"ordered_list_open",order:v,lines:_=[t,0],level:e.level++})):e.tokens.push({type:"bullet_list_open",lines:_=[t,0],level:e.level++}),a=t,w=!1,C=e.parser.ruler.getRules("list");!(!(a=g?1:k-d,m>4&&(m=1),m<1&&(m=1),l=d-e.bMarks[a]+m,e.tokens.push({type:"list_item_open",lines:A=[t,0],level:e.level++}),u=e.blkIndent,p=e.tight,c=e.tShift[t],f=e.parentType,e.tShift[t]=k-e.bMarks[t],e.blkIndent=l,e.tight=!0,e.parentType="list",e.parser.tokenize(e,t,r,!0),e.tight&&!w||(S=!1),w=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=u,e.tShift[t]=c,e.tight=p,e.parentType=f,e.tokens.push({type:"list_item_close",level:--e.level}),a=t=e.line,A[1]=a,k=e.bMarks[t],a>=r)||e.isEmpty(a)||e.tShift[a]u)return!1;if(91!==e.src.charCodeAt(c))return!1;if(94!==e.src.charCodeAt(c+1))return!1;if(e.level>=e.options.maxNesting)return!1;for(a=c+2;a=u||58!==e.src.charCodeAt(++a))&&(!!n||(a++,e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.refs||(e.env.footnotes.refs={}),l=e.src.slice(c+2,a-2),e.env.footnotes.refs[":"+l]=-1,e.tokens.push({type:"footnote_reference_open",label:l,level:e.level++}),o=e.bMarks[t],s=e.tShift[t],i=e.parentType,e.tShift[t]=e.skipSpaces(a)-a,e.bMarks[t]=a,e.blkIndent+=4,e.parentType="footnote",e.tShift[t]=l)return!1;if(35!==(o=e.src.charCodeAt(a))||a>=l)return!1;for(s=1,o=e.src.charCodeAt(++a);35===o&&a6||aa&&32===e.src.charCodeAt(i-1)&&(l=i),e.line=t+1,e.tokens.push({type:"heading_open",hLevel:s,lines:[t,e.line],level:e.level}),a=r)&&(!(e.tShift[i]3)&&(o=e.bMarks[i]+e.tShift[i],s=e.eMarks[i],!(o>=s)&&((45===(n=e.src.charCodeAt(o))||61===n)&&(o=e.skipChars(o,n),!((o=e.skipSpaces(o))=97&&t<=122}var o=r(254),s=/^<([a-zA-Z]{1,15})[\s\/>]/,i=/^<\/([a-zA-Z]{1,15})[\s>]/;e.exports=function(e,t,r,a){var l,c,u,p=e.bMarks[t],f=e.eMarks[t],h=e.tShift[t];if(p+=h,!e.options.html)return!1;if(h>3||p+2>=f)return!1;if(60!==e.src.charCodeAt(p))return!1;if(33===(l=e.src.charCodeAt(p+1))||63===l){if(a)return!0}else{if(47!==l&&!n(l))return!1;if(47===l){if(!(c=e.src.slice(p,f).match(i)))return!1}else if(!(c=e.src.slice(p,f).match(s)))return!1;if(!0!==o[c[1].toLowerCase()])return!1;if(a)return!0}for(u=t+1;ur)return!1;if(c=t+1,e.tShift[c]=e.eMarks[c])return!1;if(124!==(s=e.src.charCodeAt(a))&&45!==s&&58!==s)return!1;if(i=n(e,t+1),!/^[-:| ]+$/.test(i))return!1;if((u=i.split("|"))<=2)return!1;for(f=[],l=0;l=s?-1:126!==(n=e.src.charCodeAt(o++))&&58!==n?-1:(r=e.skipSpaces(o),o===r?-1:r>=s?-1:r)}function o(e,t){var r,n,o=e.level+2;for(r=t+2,n=e.tokens.length-2;r=0;if(f=t+1,e.isEmpty(f)&&++f>r)return!1;if(e.tShift[f]=e.options.maxNesting)return!1;p=e.tokens.length,e.tokens.push({type:"dl_open",lines:u=[t,0],level:e.level++}),l=t,a=f;e:for(;;){for(y=!0,b=!1,e.tokens.push({type:"dt_open",lines:[l,l],level:e.level++}),e.tokens.push({type:"inline",content:e.getLines(l,l+1,e.blkIndent,!1).trim(),level:e.level+1,lines:[l,l],children:[]}),e.tokens.push({type:"dt_close",level:--e.level});;){if(e.tokens.push({type:"dd_open",lines:c=[f,0],level:e.level++}),v=e.tight,d=e.ddIndent,h=e.blkIndent,m=e.tShift[a],g=e.parentType,e.blkIndent=e.ddIndent=e.tShift[a]+2,e.tShift[a]=i-e.bMarks[a],e.tight=!0,e.parentType="deflist",e.parser.tokenize(e,a,r,!0),e.tight&&!b||(y=!1),b=e.line-a>1&&e.isEmpty(e.line-1),e.tShift[a]=m,e.tight=v,e.parentType=g,e.blkIndent=h,e.ddIndent=d,e.tokens.push({type:"dd_close",level:--e.level}),c[1]=f=e.line,f>=r)break e;if(e.tShift[f]=r)break;if(l=f,e.isEmpty(l))break;if(e.tShift[l]=r)break;if(e.isEmpty(a)&&a++,a>=r)break;if(e.tShift[a]3)){for(o=!1,s=0,i=a.length;s0)return void(e.pos=r);for(t=0;t=s)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},n.prototype.parse=function(e,t,r,n){var o=new i(e,this,t,r,n);this.tokenize(o)},e.exports=n},function(e,t,r){"use strict";function n(e){switch(e){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0;default:return!1}}e.exports=function(e,t){for(var r=e.pos;r=0&&32===e.pending.charCodeAt(r))if(r>=1&&32===e.pending.charCodeAt(r-1)){for(var s=r-2;s>=0;s--)if(32!==e.pending.charCodeAt(s)){e.pending=e.pending.substring(0,s+1);break}e.push({type:"hardbreak",level:e.level})}else e.pending=e.pending.slice(0,-1),e.push({type:"softbreak",level:e.level});else e.push({type:"softbreak",level:e.level});for(o++;o?@[]^_`{|}~-".split("").forEach(function(e){n[e.charCodeAt(0)]=1}),e.exports=function(e,t){var r,o=e.pos,s=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o=a)return!1;if(126!==e.src.charCodeAt(l+1))return!1;if(e.level>=e.options.maxNesting)return!1;if(s=l>0?e.src.charCodeAt(l-1):-1,i=e.src.charCodeAt(l+2),126===s)return!1;if(126===i)return!1;if(32===i||10===i)return!1;for(n=l+2;nl+3)return e.pos+=n-l,t||(e.pending+=e.src.slice(l,n)),!0;for(e.pos=l+2,o=1;e.pos+1=a)return!1;if(43!==e.src.charCodeAt(l+1))return!1;if(e.level>=e.options.maxNesting)return!1;if(s=l>0?e.src.charCodeAt(l-1):-1,i=e.src.charCodeAt(l+2),43===s)return!1;if(43===i)return!1;if(32===i||10===i)return!1;for(n=l+2;n=a)return!1;if(61!==e.src.charCodeAt(l+1))return!1;if(e.level>=e.options.maxNesting)return!1;if(s=l>0?e.src.charCodeAt(l-1):-1,i=e.src.charCodeAt(l+2),61===s)return!1;if(61===i)return!1;if(32===i||10===i)return!1;for(n=l+2;n=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}function o(e,t){var r,o,s,i=t,a=!0,l=!0,c=e.posMax,u=e.src.charCodeAt(t);for(r=t>0?e.src.charCodeAt(t-1):-1;i=c&&(a=!1),s=i-t,s>=4?a=l=!1:(o=i=e.options.maxNesting)return!1;for(e.pos=p+r,l=[r];e.pos?@[\]^_`{|}~-])/g;e.exports=function(e,t){var r,o,s=e.posMax,i=e.pos;if(126!==e.src.charCodeAt(i))return!1;if(t)return!1;if(i+2>=s)return!1;if(e.level>=e.options.maxNesting)return!1;for(e.pos=i+1;e.pos?@[\]^_`{|}~-])/g;e.exports=function(e,t){var r,o,s=e.posMax,i=e.pos;if(94!==e.src.charCodeAt(i))return!1;if(t)return!1;if(i+2>=s)return!1;if(e.level>=e.options.maxNesting)return!1;for(e.pos=i+1;e.pos=e.options.maxNesting)return!1;if(r=v+1,(a=n(e,v))<0)return!1;if((p=a+1)=m)return!1;for(v=p,o(e,p)?(c=e.linkContent,p=e.pos):c="",v=p;p=m||41!==e.src.charCodeAt(p))return e.pos=g,!1;p++}else{if(e.linkLevel>0)return!1;for(;p=0?l=e.src.slice(v,p++):p=v-1),l||(void 0===l&&(p=a+1),l=e.src.slice(r,a)),!(f=e.env.references[i(l)]))return e.pos=g,!1;c=f.href,u=f.title}return t||(e.pos=r,e.posMax=a,d?e.push({type:"image",src:c,title:u,alt:e.src.substr(r,a-r),level:e.level}):(e.push({type:"link_open",href:c,title:u,level:e.level++}),e.linkLevel++,e.parser.tokenize(e),e.linkLevel--,e.push({type:"link_close",level:--e.level}))),e.pos=p,e.posMax=m,!0}},function(e,t,r){"use strict";var n=r(208);e.exports=function(e,t){var r,o,s,i,a=e.posMax,l=e.pos;return!(l+2>=a)&&(94===e.src.charCodeAt(l)&&(91===e.src.charCodeAt(l+1)&&(!(e.level>=e.options.maxNesting)&&(r=l+2,!((o=n(e,l+1))<0)&&(t||(e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.list||(e.env.footnotes.list=[]),s=e.env.footnotes.list.length,e.pos=r,e.posMax=o,e.push({type:"footnote_ref",id:s,level:e.level}),e.linkLevel++,i=e.tokens.length,e.parser.tokenize(e),e.env.footnotes.list[s]={tokens:e.tokens.splice(i)},e.linkLevel--),e.pos=o+1,e.posMax=a,!0)))))}},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,o,s,i=e.posMax,a=e.pos;if(a+3>i)return!1;if(!e.env.footnotes||!e.env.footnotes.refs)return!1;if(91!==e.src.charCodeAt(a))return!1;if(94!==e.src.charCodeAt(a+1))return!1;if(e.level>=e.options.maxNesting)return!1;for(n=a+2;n=i)&&(n++,r=e.src.slice(a+2,n-1),void 0!==e.env.footnotes.refs[":"+r]&&(t||(e.env.footnotes.list||(e.env.footnotes.list=[]),e.env.footnotes.refs[":"+r]<0?(o=e.env.footnotes.list.length,e.env.footnotes.list[o]={label:r,count:0},e.env.footnotes.refs[":"+r]=o):o=e.env.footnotes.refs[":"+r],s=e.env.footnotes.list[o].count,e.env.footnotes.list[o].count++,e.push({type:"footnote_ref",id:o,subId:s,level:e.level})),e.pos=n,e.posMax=i,!0)))}},function(e,t,r){"use strict";var n=r(273),o=r(221),s=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var r,a,l,c,u,p=e.pos;return 60===e.src.charCodeAt(p)&&(r=e.src.slice(p),!(r.indexOf(">")<0)&&((a=r.match(i))?!(n.indexOf(a[1].toLowerCase())<0)&&(c=a[0].slice(1,-1),u=o(c),!!e.parser.validateLink(c)&&(t||(e.push({type:"link_open",href:u,level:e.level}),e.push({type:"text",content:c,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=a[0].length,!0)):!!(l=r.match(s))&&(c=l[0].slice(1,-1),u=o("mailto:"+c),!!e.parser.validateLink(u)&&(t||(e.push({type:"link_open",href:u,level:e.level}),e.push({type:"text",content:c,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=l[0].length,!0))))}},function(e,t,r){"use strict";e.exports=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"]},function(e,t,r){"use strict";function n(e){var t=32|e;return t>=97&&t<=122}var o=r(275).HTML_TAG_RE;e.exports=function(e,t){var r,s,i,a=e.pos;return!!e.options.html&&(i=e.posMax,!(60!==e.src.charCodeAt(a)||a+2>=i)&&(!(33!==(r=e.src.charCodeAt(a+1))&&63!==r&&47!==r&&!n(r))&&(!!(s=e.src.slice(a).match(o))&&(t||e.push({type:"htmltag",content:e.src.slice(a,a+s[0].length),level:e.level}),e.pos+=s[0].length,!0))))}},function(e,t,r){"use strict";function n(e,t){return e=e.source,t=t||"",function r(n,o){return n?(o=o.source||o,e=e.replace(n,o),r):new RegExp(e,t)}}var o=/[a-zA-Z_:][a-zA-Z0-9:._-]*/,s=/[^"'=<>`\x00-\x20]+/,i=/'[^']*'/,a=/"[^"]*"/,l=n(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",s)("single_quoted",i)("double_quoted",a)(),c=n(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",o)("attr_value",l)(),u=n(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",c)(),p=/<\/[A-Za-z][A-Za-z0-9]*\s*>/,f=//,h=/<[?].*?[?]>/,d=/]*>/,g=/])*\]\]>/,m=n(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",u)("close_tag",p)("comment",f)("processing",h)("declaration",d)("cdata",g)();e.exports.HTML_TAG_RE=m},function(e,t,r){"use strict";var n=r(219),o=r(199).has,s=r(199).isValidEntityCode,i=r(199).fromCodePoint,a=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var r,c,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,e.exports=t.default},function(e,t,r){"use strict";function n(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0?this.closeWithTimeout():this.closeWithoutTimeout())},focusContent:function(){this.contentHasFocus()||this.refs.content.focus()},closeWithTimeout:function(){this.setState({beforeClose:!0},function(){this.closeTimer=setTimeout(this.closeWithoutTimeout,this.props.closeTimeoutMS)}.bind(this))},closeWithoutTimeout:function(){this.setState({beforeClose:!1,isOpen:!1,afterOpen:!1},this.afterClose)},afterClose:function(){s.returnFocus(),s.teardownScopedFocus()},handleKeyDown:function(e){9==e.keyCode&&i(this.refs.content,e),27==e.keyCode&&(e.preventDefault(),this.requestClose(e))},handleOverlayMouseDown:function(e){null===this.shouldClose&&(this.shouldClose=!0)},handleOverlayMouseUp:function(e){this.shouldClose&&this.props.shouldCloseOnOverlayClick&&(this.ownerHandlesClose()?this.requestClose(e):this.focusContent()),this.shouldClose=null},handleContentMouseDown:function(e){this.shouldClose=!1},handleContentMouseUp:function(e){this.shouldClose=!1},requestClose:function(e){this.ownerHandlesClose()&&this.props.onRequestClose(e)},ownerHandlesClose:function(){return this.props.onRequestClose},shouldBeClosed:function(){return!this.props.isOpen&&!this.state.beforeClose},contentHasFocus:function(){return document.activeElement===this.refs.content||this.refs.content.contains(document.activeElement)},buildClassName:function(e,t){var r=l[e].base;return this.state.afterOpen&&(r+=" "+l[e].afterOpen),this.state.beforeClose&&(r+=" "+l[e].beforeClose),t?r+" "+t:r},render:function(){var e=this.props.className?{}:this.props.defaultStyles.content,t=this.props.overlayClassName?{}:this.props.defaultStyles.overlay;return this.shouldBeClosed()?o():o({ref:"overlay",className:this.buildClassName("overlay",this.props.overlayClassName),style:a({},t,this.props.style.overlay||{}),onMouseDown:this.handleOverlayMouseDown,onMouseUp:this.handleOverlayMouseUp},o({ref:"content",style:a({},e,this.props.style.content||{}),className:this.buildClassName("content",this.props.className),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentMouseDown,onMouseUp:this.handleContentMouseUp,role:this.props.role},this.props.children))}})},function(e,t,r){function n(e){l=!0}function o(e){if(l){if(l=!1,!i)return;setTimeout(function(){if(!i.contains(document.activeElement)){(s(i)[0]||i).focus()}},0)}}var s=r(224),i=null,a=null,l=!1;t.markForFocusLater=function(){a=document.activeElement},t.returnFocus=function(){try{a.focus()}catch(e){console.warn("You tried to return focus to "+a+" but it is not in the DOM anymore")}a=null},t.setupScopedFocus=function(e){i=e,window.addEventListener?(window.addEventListener("blur",n,!1),document.addEventListener("focus",o,!0)):(window.attachEvent("onBlur",n),document.attachEvent("onFocus",o))},t.teardownScopedFocus=function(){i=null,window.addEventListener?(window.removeEventListener("blur",n),document.removeEventListener("focus",o)):(window.detachEvent("onBlur",n),document.detachEvent("onFocus",o))}},function(e,t,r){var n=r(224);e.exports=function(e,t){var r=n(e);if(!r.length)return void t.preventDefault();r[t.shiftKey?0:r.length-1]!==document.activeElement&&e!==document.activeElement||(t.preventDefault(),r[t.shiftKey?r.length-1:0].focus())}},function(e,t,r){function n(e,t){return null==t?e:o(t,s(t),e)}var o=r(289),s=r(226);e.exports=n},function(e,t){function r(e,t,r){r||(r={});for(var n=-1,o=t.length;++n-1&&e%1==0&&e<=c}function a(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function l(e){return!!e&&"object"==typeof e}var c=9007199254740991,u="[object Arguments]",p="[object Function]",f="[object GeneratorFunction]",h=Object.prototype,d=h.hasOwnProperty,g=h.toString,m=h.propertyIsEnumerable;e.exports=r},function(e,t){function r(e){return!!e&&"object"==typeof e}function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=g}function o(e){return s(e)&&f.call(e)==a}function s(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function i(e){return null!=e&&(o(e)?h.test(u.call(e)):r(e)&&l.test(e))}var a="[object Function]",l=/^\[object .+?Constructor\]$/,c=Object.prototype,u=Function.prototype.toString,p=c.hasOwnProperty,f=c.toString,h=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),d=function(e,t){var r=null==e?void 0:e[t];return i(r)?r:void 0}(Array,"isArray"),g=9007199254740991,m=d||function(e){return r(e)&&n(e.length)&&"[object Array]"==f.call(e)};e.exports=m},function(e,t,r){function n(e){return i(function(t,r){var n=-1,i=null==t?0:r.length,a=i>2?r[i-2]:void 0,l=i>2?r[2]:void 0,c=i>1?r[i-1]:void 0;for("function"==typeof a?(a=o(a,c,5),i-=2):(a="function"==typeof c?c:void 0,i-=a?1:0),l&&s(r[0],r[1],l)&&(a=i<3?void 0:a,i=1);++n-1&&e%1==0&&e-1&&e%1==0&&e<=l}function i(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var a=/^\d+$/,l=9007199254740991,c=function(e){return function(t){return null==t?void 0:t[e]}}("length");e.exports=o},function(e,t){function r(e,t){if("function"!=typeof e)throw new TypeError(n);return t=o(void 0===t?e.length-1:+t||0,0),function(){for(var r=arguments,n=-1,s=o(r.length-t,0),i=Array(s);++n-1?n:(n.push(e),t.className=n.join(" "),n)}},n.prototype.remove=function(e){var t=this.el;if(t&&""!==t.className){var n=t.className.split(" "),o=r(n,e);return o>-1&&n.splice(o,1),t.className=n.join(" "),n}},n.prototype.has=function(e){var t=this.el;if(t){return r(t.className.split(" "),e)>-1}},n.prototype.toggle=function(e){this.el&&(this.has(e)?this.remove(e):this.add(e))}}])); --------------------------------------------------------------------------------