text
stringlengths
2
1.05M
// Test string concatenation of non-identifier strings and unsigned ints. y = "z =" if (Math.random()) { x = 4 } else { x = 5 } TAJS_dumpValue(y + x)
import React from 'react'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { Row, Col, Card, Button } from 'reactstrap'; import GaugeChart from 'react-gauge-chart'; export default function LivePreviewExample() { return ( <> <Row> <Col xl="4"> <Card className="p-4 text-center mb-5"> <div className="card-tr-actions"> <div className="badge badge-neutral-success text-success"> + 0.32% </div> </div> <div className="d-60 rounded-sm border-0 mb-4 mx-auto card-icon-wrapper bg-success text-white btn-icon text-center shadow-success"> <FontAwesomeIcon icon={['far', 'bell']} className="font-size-xl" /> </div> <div className="display-4 mt-2 text-second font-weight-bold"> Hal9000 </div> <div className="text-black-50 pt-2"> This server has a <b className="text-success">regular</b> load at the moment. </div> <div className="py-4 my-2"> <GaugeChart hideText id="chartsGauges2A" nrOfLevels={6} colors={['#1bc943', '#f4772e', '#f83245']} arcWidth={0.3} percent={0.27} /> </div> <div className="d-flex align-items-center justify-content-center"> <Button size="sm" color="second" outline className="btn-pill"> Server Dashboard </Button> </div> </Card> </Col> <Col xl="4"> <Card className="p-4 text-center mb-5"> <div className="card-tr-actions"> <div className="badge badge-neutral-warning text-warning"> + 57.32% </div> </div> <div className="d-60 rounded-sm border-0 mx-auto mb-4 card-icon-wrapper pulse-animation bg-danger text-white btn-icon text-center shadow-danger"> <FontAwesomeIcon icon={['fas', 'exclamation']} className="font-size-xl" /> </div> <div className="display-4 mt-2 text-second font-weight-bold"> Optimus </div> <div className="text-black-50 pt-2"> This server has a <b className="text-danger">high</b> load at the moment. </div> <div className="py-4 my-2"> <GaugeChart hideText id="chartsGauges2B" nrOfLevels={6} colors={[ 'rgba(248,50,69,0.1)', 'rgba(248,50,69,0.5)', 'rgba(248,50,69,0.99)' ]} arcWidth={0.3} percent={0.89} /> </div> <div className="d-flex align-items-center justify-content-center"> <Button size="sm" color="second" outline className="btn-pill"> Server Dashboard </Button> </div> </Card> </Col> <Col xl="4"> <Card className="bg-deep-blue text-center p-4"> <div className="card-tr-actions"> <div className="badge badge-second text-white">+ 57.32%</div> </div> <div className="d-60 rounded-sm border-0 mx-auto mb-4 card-icon-wrapper bg-plum-plate text-white btn-icon text-center shadow-sm"> <FontAwesomeIcon icon={['far', 'user']} className="font-size-xl" /> </div> <div className="display-4 mt-2 text-second font-weight-bold"> Kitt2 </div> <div className="text-black-50 pt-2"> This server has a <b className="text-white">low</b> load at the moment. </div> <div className="py-4 my-2"> <GaugeChart hideText id="chartsGauges2C" nrOfLevels={6} colors={[ 'rgba(255,255,255,0.2)', 'rgba(255,255,255,0.5)', 'rgba(255,255,255,0.8)' ]} arcWidth={0.3} percent={0.55} /> </div> <div className="d-flex align-items-center justify-content-center"> <Button size="sm" color="second" outline className="btn-pill"> Server Dashboard </Button> </div> </Card> </Col> </Row> </> ); }
import React, { useRef, useState, useEffect } from 'react'; import { useDispatch } from "react-redux"; import { sendToServer } from "../../features/post/postSlice"; export default function CreatePost() { const dispatch = useDispatch(); const title = useRef(); const text = useRef(); const button = useRef(); const [isSended, setSended] = useState("no"); const Button = () => { if (isSended === "yes") { return ( <button className="button buttomSendOk" type="button" ref={button}> Posted </button> ); } else if (isSended === "no") { return ( <button className="button" type="button" ref={button} onClick={sendPost}> Post </button> ); } else { return ( <button className="button" type="button" ref={button} onClick={sendPost}> ... </button> ); } }; const textChange = () => { setSended("no"); if (title.current.value === "" || text.current.value === "") { button.current.classList.remove("buttomReady"); } else { button.current.classList.add("buttomReady"); } }; const sendPost = () => { setSended("sending"); let post = { title: title.current.value, content: text.current.value, }; dispatch(sendToServer(post)); setSended("yes"); }; return ( <div className="conteiner"> <div className="create-post"> <input onChange={textChange} ref={title} placeholder="Give a title to your ideia" type="text"></input> <textarea rows={15} onChange={textChange} ref={text} placeholder="What you want to say?"></textarea> <Button /> </div> </div> ) }
/* global describe, it, before, after */ var assert = require('assert'); var MongoClient = require('mongodb').MongoClient; var virgilio = require('./'); var async = require('async'); var testData = require('./testData.json'); var COLLECTION_NAME = 'virgilio-mongo-tests'; describe('I can perform updates on mongo', function() { var db = null; var collection = null; before(function(done) { //Add some test data to mongo to query against. async.waterfall([ function connectToMongo(callback) { MongoClient.connect( 'mongodb://localhost:27017/test', callback ); }, function dropDocument(newDb, callback) { db = newDb; collection = db.collection(COLLECTION_NAME); collection.remove({}, callback); }, function insertTestData(number, result, callback) { collection.insert(testData, callback); } ], function(err) { done(err); }); }); after(function() { db.close(); }); function checkDataInMongo(done) { collection.find().toArray(function(err, result) { if (err) { return done(err); } assert.deepEqual(result, testData); done(); }); } it('updates an array of items', function(done) { //Change a document. var doc = testData[0]; doc.state = 'rotten'; virgilio.mongo() .into(COLLECTION_NAME) .update(doc) .then(function(result) { assert.deepEqual(result, doc); checkDataInMongo(done); }) .catch(done) .done(); }); });
export class Fab { constructor() { /** * If true, the fab will display on the edge of the header if * `vertical` is `"top"`, and on the edge of the footer if * it is `"bottom"`. Should be used with a `fixed` slot. */ this.edge = false; this.activated = false; } activatedChanged() { const activated = this.activated; const fab = this.el.querySelector('ion-fab-button'); if (fab) { fab.activated = activated; } Array.from(this.el.querySelectorAll('ion-fab-list')).forEach(list => { list.activated = activated; }); } componentDidLoad() { this.activatedChanged(); } onClick() { const hasList = !!this.el.querySelector('ion-fab-list'); if (hasList) { this.activated = !this.activated; } } /** * Close an active FAB list container */ close() { this.activated = false; } hostData() { return { class: { [`fab-horizontal-${this.horizontal}`]: !!this.horizontal, [`fab-vertical-${this.vertical}`]: !!this.vertical, ['fab-edge']: this.edge } }; } render() { return h("slot", null); } static get is() { return "ion-fab"; } static get encapsulation() { return "shadow"; } static get properties() { return { "activated": { "type": Boolean, "attr": "activated", "mutable": true, "watchCallbacks": ["activatedChanged"] }, "close": { "method": true }, "edge": { "type": Boolean, "attr": "edge" }, "el": { "elementRef": true }, "horizontal": { "type": String, "attr": "horizontal" }, "vertical": { "type": String, "attr": "vertical" } }; } static get listeners() { return [{ "name": "click", "method": "onClick" }]; } static get style() { return "/**style-placeholder:ion-fab:**/"; } }
import { wrapRootElement as wrap } from "./src/components/wrap_root_element"; export const wrapRootElement = wrap;
/** * Created by guoshuyu on 2017/11/12. */ import React, {Component} from 'react'; import { Text, View, TextInput, TouchableOpacity, StyleSheet, ScrollView, TouchableHighlight } from 'react-native'; import PropTypes from 'prop-types'; import styles, {screenWidth, screenHeight} from "../../style/index" import * as Constant from "../../style/constant" import I18n from '../../style/i18n' import {uploadQiNiu} from '../../net/qiniu' import Modal from 'react-native-modalbox'; import Spinner from 'react-native-spinkit'; import {Actions} from "react-native-router-flux"; import CommonInputBar from "./CommonInputBar"; import ImagePicker from 'react-native-image-crop-picker'; const iconSize = 16; /** * 通用输入框modal */ class CommonTextInputModal extends Component { constructor(props) { super(props); this.onClose = this.onClose.bind(this); this._onOpened = this._onOpened.bind(this); this._searchTextChange = this._searchTextChange.bind(this); this._searchTextTitleChange = this._searchTextTitleChange.bind(this); this._getOptionItem = this._getOptionItem.bind(this); this.getDataList = this.getDataList.bind(this); this.getUserList = this.getUserList.bind(this); this.openImagePicker = this.openImagePicker.bind(this); this.getLoading = this.getLoading.bind(this); this.text = this.props.text; this.title = this.props.titleValue; this.state = { showList: false, showLoading: false, } } componentDidMount() { if (this.refs.loginModal) this.refs.loginModal.open(); } componentWillUnmount() { } onClose() { Actions.pop(); return true; } _onOpened() { if (this.refs.titleInput) { this.refs.titleInput.setNativeProps({text: this.title}); } if (this.refs.contentInput) { this.refs.contentInput.setNativeProps({text: this.text}); } }; _searchTextTitleChange(text) { this.title = text; } _searchTextChange(text) { this.text = text; } getDataList() { return [{ icon: "format-header-1", iconType: 2, iconSize: iconSize, itemClick: () => { let curText = this.text + "\n# "; if (this.refs.contentInput) { this.refs.contentInput.setNativeProps({text: curText}); } } }, { icon: "format-header-2", iconType: 2, iconSize: iconSize, itemClick: () => { let curText = this.text + "\n## "; this._searchTextChange(curText); if (this.refs.contentInput) { this.refs.contentInput.setNativeProps({text: curText}); } } }, { icon: "format-header-3", iconType: 2, iconSize: iconSize, itemClick: () => { let curText = this.text + "\n### "; this._searchTextChange(curText); if (this.refs.contentInput) { this.refs.contentInput.setNativeProps({text: curText}); } } }, { icon: "format-bold", iconType: 2, iconSize: iconSize, itemClick: () => { let curText = this.text + "****"; this._searchTextChange(curText); if (this.refs.contentInput) { this.refs.contentInput.setNativeProps({text: curText}); } } }, { icon: "format-italic", iconType: 2, iconSize: iconSize, itemClick: () => { let curText = this.text + "__"; this._searchTextChange(curText); if (this.refs.contentInput) { this.refs.contentInput.setNativeProps({text: curText}); } } }, { icon: "format-quote-close", iconType: 2, iconSize: iconSize, itemClick: () => { let curText = this.text + "``"; this._searchTextChange(curText); if (this.refs.contentInput) { this.refs.contentInput.setNativeProps({text: curText}); } } }, { icon: "code-tags", iconType: 2, iconSize: iconSize, itemClick: () => { let curText = this.text + " \n``` \n\n``` \n"; this._searchTextChange(curText); if (this.refs.contentInput) { this.refs.contentInput.setNativeProps({text: curText}); } } }, { icon: "link", iconType: 2, iconSize: iconSize, itemClick: () => { let curText = this.text + "[](url)"; this._searchTextChange(curText); if (this.refs.contentInput) { this.refs.contentInput.setNativeProps({text: curText}); } } }, { icon: "format-list-bulleted", iconType: 2, iconSize: iconSize, itemClick: () => { let curText = this.text + "\n- "; this._searchTextChange(curText); if (this.refs.contentInput) { this.refs.contentInput.setNativeProps({text: curText}); } } }, { icon: "at", iconType: 2, iconSize: iconSize, itemClick: () => { let {userList} = this.props; if (userList && userList.length > 0) { this.setState({ showList: true }) } else { let curText = this.text + " @"; this._searchTextChange(curText); if (this.refs.contentInput) { this.refs.contentInput.setNativeProps({text: curText}); } } } }, { icon: "file-image", iconType: 2, iconSize: iconSize, itemClick: () => { this.openImagePicker(); } },] } _getOptionItem() { let {userList} = this.props; let optionList = []; userList.forEach((item) => { let optionItem = { itemName: item, itemClick: () => { this.setState({ showList: false }); let curText = this.text + " @" + item + " "; this._searchTextChange(curText); if (this.refs.contentInput) { this.refs.contentInput.setNativeProps({text: curText}); } }, itemStyle: { borderTopWidth: StyleSheet.hairlineWidth, borderTopColor: Constant.lineColor, } }; optionList.push(optionItem) }); return optionList; } getUserList() { let {showList} = this.state; if (!showList) { return (<View/>) } let _renderListItem = (data) => { let width = screenWidth - 170; return ( <TouchableOpacity style={[styles.centered, {width: width, height: 50}, styles.centerH, data.itemStyle]} onPress={() => { data.itemClick && data.itemClick(data); }} key={data.itemName}> <Text style={[styles.normalText]}>{data.itemName}</Text> </TouchableOpacity> ) }; let dataList = this._getOptionItem(); let items = []; dataList.forEach((data) => { items.push(_renderListItem(data)) }); return ( <TouchableOpacity style={[styles.absoluteFull,]} onPress={() => { this.setState({ showList: false }); }}> <View style={[styles.centered, {padding: 40, backgroundColor: "#000000", opacity: 0.8}]}> <View style={[styles.centered, {backgroundColor: Constant.white, borderRadius: 4}]}> <ScrollView> {items} </ScrollView> </View> </View> </TouchableOpacity> ) } getLoading() { let {showLoading} = this.state; if (!showLoading) { return (<View/>) } return ( <TouchableOpacity style={[styles.absoluteFull, styles.centered, {backgroundColor: "#000000", opacity: 0.8}]}> <View style={[styles.centered]}> <View> <Spinner style={[styles.centered]} isVisible={true} size={50} type="9CubeGrid" color="#FFFFFF"/> <Text style={styles.normalTextWhite}>{I18n('loading')}</Text> </View> </View> </TouchableOpacity> ) } openImagePicker() { ImagePicker.openPicker({ includeBase64: true, cropping: true, width: 600, height: 600 }).then(image => { if (image && image.data) { this.setState({ showLoading: true }); uploadQiNiu(image.data).then((res) => { if (res) { let curText = this.text + ` ![](${res.data}) `; this._searchTextChange(curText); if (this.refs.contentInput) { this.refs.contentInput.setNativeProps({text: curText}); } } this.setState({ showLoading: false }); }); } }); } render() { let width = screenWidth - 100; let {bottomBar} = this.props; let editTitle = this.props.needEditTitle ? <View style={[{ borderBottomWidth: 1, borderColor: Constant.subLightTextColor, marginHorizontal: Constant.normalMarginEdge, marginBottom: Constant.normalMarginEdge, }]}> <TextInput ref={"titleInput"} onChangeText={(text) => { this._searchTextTitleChange(text) }} placeholder={this.props.placeHolderTitle ? this.props.placeHolderTitle : I18n('issueInputTipTitle')} underlineColorAndroid="transparent" clearButtonMode="always" multiline={true} style={[styles.smallText, { padding: 0, backgroundColor: Constant.white, height: 30, width: width, textAlignVertical: 'top' }]}/></View> : <View/>; return ( <Modal ref={"loginModal"} onOpened={this._onOpened} onClosed={this.onClose} style={[{height: screenHeight, width: screenWidth, backgroundColor: "#F0000000"}]} position={"center"} backdrop={this.props.backExit} backButtonClose={false} swipeToClose={this.props.backExit} backdropOpacity={0.8}> <View style={[styles.centered, {flex: 1,}]}> <View style={[{borderRadius: 3, backgroundColor: Constant.white}, styles.centered]}> <View style={[styles.flexDirectionRowNotFlex, {marginTop: 10, paddingBottom: 10}, {backgroundColor: Constant.white, width: width}, styles.centered]}> <Text style={[styles.normalText, {fontWeight: 'bold'}]}>{this.props.titleText}</Text> </View> {editTitle} <View style={[{ borderRadius: 3, borderWidth: 1, borderColor: Constant.subLightTextColor, marginHorizontal: Constant.normalMarginEdge, }]}> <TextInput ref={"contentInput"} onChangeText={(text) => { this._searchTextChange(text) }} onSelectionChange={(event) => { if (event && event.nativeEvent) { this.selection = event.nativeEvent.selection.end; } }} placeholder={this.props.placeHolder ? this.props.placeHolder : I18n('issueInputTip')} underlineColorAndroid="transparent" clearButtonMode="always" multiline={true} style={[styles.smallText, { padding: Constant.normalMarginEdge, backgroundColor: Constant.white, height: screenWidth - 150, borderRadius: 3, width: width, textAlignVertical: 'top' }]}/> <CommonInputBar rootStyles={{width: (bottomBar ? width : 0)}} dataList={this.getDataList()}/> </View> <View style={[styles.flexDirectionRowNotFlex, { paddingVertical: Constant.normalMarginEdge, width: width }]}> <TouchableOpacity style={[styles.flex, styles.centerH, {borderBottomLeftRadius: 3,}]} onPress={() => { Actions.pop(); }}> <Text style={[styles.subNormalText, {fontWeight: 'bold'}]}>{I18n("cancel")}</Text> </TouchableOpacity> <TouchableOpacity style={[styles.flex, styles.centerH, { borderLeftWidth: 1, borderLeftColor: Constant.miWhite, borderBottomRightRadius: 3, },]} onPress={() => { if (this.text && this.text.trim().length > 0) { Actions.pop(); this.props.textConfirm && this.props.textConfirm(this.text, this.title); } }}> <Text style={[styles.normalText, {fontWeight: 'bold'}]}>{I18n("ok")}</Text> </TouchableOpacity> </View> {this.getUserList()} </View> </View> {this.getLoading()} </Modal> ) } } CommonTextInputModal.propTypes = { text: PropTypes.string, placeHolder: PropTypes.string, placeHolderTitle: PropTypes.string, titleValue: PropTypes.string, titleText: PropTypes.string, textConfirm: PropTypes.func, needEditTitle: PropTypes.bool, bottomBar: PropTypes.bool, userList: PropTypes.array }; CommonTextInputModal.defaultProps = { text: '', titleText: '', needEditTitle: false, bottomBar: true, userList: [], }; export default CommonTextInputModal;
// @flow // Non-shallow reducer state example needs Immutable // import Debug from 'debug' import { Record } from 'immutable' import type { APIError } from 'src/helpers/api' // const log = Debug('my-app:redux:modules:profile') // ACTION TYPES export const GET_PROFILE = 'my-app/profile/GET_PROFILE' export const GET_PROFILE_FULFILLED = 'my-app/profile/GET_PROFILE_FULFILLED' export const GET_PROFILE_REJECTED = 'my-app/profile/GET_PROFILE_REJECTED' // MODEL // Profile model with default values export const Profile = Record({ id: 1, firstName: '', lastName: '', email: '', city: 'nashville', dob: '1970-01-01T00:00:00.000Z', notifications: true, picture: '', }) // Flow type for this reducer's initial state export type ProfileState = Record<*> // Initial state with default values const InitialState = Record({ me: new Profile(), error: '', isFetching: false, }) export const initialState = new InitialState() // REDUCER function reducer (state: ProfileState = initialState, action: GlobalFSA<*>) { switch (action.type) { case GET_PROFILE: return state.set('isFetching', true) case GET_PROFILE_FULFILLED: return state .set('me', new Profile(action.payload.me)) .set('error', '') .set('isFetching', false) case GET_PROFILE_REJECTED: return state .set('error', action.payload.statusCode) .set('isFetching', false) default: return state } } // ACTION CREATORS // Use Flux Standard Action (FSA) notation // https://github.com/acdlite/flux-standard-action export const fetchProfile = () => { return { type: GET_PROFILE, } } export const fetchProfileSuccess = (me: Object) => { return { type: GET_PROFILE_FULFILLED, payload: { me, }, } } export const fetchProfileError = (error: APIError) => { return { type: GET_PROFILE_REJECTED, payload: error, error: true, } } // Always append { error: true } for redux action error types export default reducer
let nextTodoId = 0 export const addTodo = (text) => { return { type: 'ADD_TODO', id: nextTodoId++, text } } export const toggleTodo = (id) => { return { type: 'TOGGLE_TODO', id } } export const setVisibilityFilter = (filter) => { return{ type: 'SET_VISIBILITY_FILTER', filter } }
import React from 'react' import { graphql } from 'gatsby' import Layout from '../components/layout' export const query = graphql` query($slug: String!) { markdownRemark(fields: { slug: { eq: $slug } }) { frontmatter { title date } html } } ` const Blog = (props) => { const html = props.data.markdownRemark.html return ( <Layout> <h1>{props.data.markdownRemark.frontmatter.title}</h1> <p>{props.data.markdownRemark.frontmatter.date}</p> <div dangerouslySetInnerHTML={{ __html: props.data.markdownRemark.html}}></div> </Layout> ) } export default Blog
// Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. Snap.plugin(function (Snap, Element, Paper, glob) { var names = {}, reUnit = /[a-z]+$/i, Str = String; names.stroke = names.fill = "colour"; function getEmpty(item) { var l = item[0]; switch (l.toLowerCase()) { case "t": return [l, 0, 0]; case "m": return [l, 1, 0, 0, 1, 0, 0]; case "r": if (item.length == 4) { return [l, 0, item[2], item[3]]; } else { return [l, 0]; } case "s": if (item.length == 5) { return [l, 1, 1, item[3], item[4]]; } else if (item.length == 3) { return [l, 1, 1]; } else { return [l, 1]; } } } function equaliseTransform(t1, t2, getBBox) { t2 = Str(t2).replace(/\.{3}|\u2026/g, t1); t1 = Snap.parseTransformString(t1) || []; t2 = Snap.parseTransformString(t2) || []; var maxlength = Math.max(t1.length, t2.length), from = [], to = [], i = 0, j, jj, tt1, tt2; for (; i < maxlength; i++) { tt1 = t1[i] || getEmpty(t2[i]); tt2 = t2[i] || getEmpty(tt1); if ((tt1[0] != tt2[0]) || (tt1[0].toLowerCase() == "r" && (tt1[2] != tt2[2] || tt1[3] != tt2[3])) || (tt1[0].toLowerCase() == "s" && (tt1[3] != tt2[3] || tt1[4] != tt2[4])) ) { t1 = Snap._.transform2matrix(t1, getBBox()); t2 = Snap._.transform2matrix(t2, getBBox()); from = [["m", t1.a, t1.b, t1.c, t1.d, t1.e, t1.f]]; to = [["m", t2.a, t2.b, t2.c, t2.d, t2.e, t2.f]]; break; } from[i] = []; to[i] = []; for (j = 0, jj = Math.max(tt1.length, tt2.length); j < jj; j++) { j in tt1 && (from[i][j] = tt1[j]); j in tt2 && (to[i][j] = tt2[j]); } } return { from: path2array(from), to: path2array(to), f: getPath(from) }; } function getNumber(val) { return val; } function getUnit(unit) { return function (val) { return +val.toFixed(3) + unit; }; } function getViewBox(val) { return val.join(" "); } function getColour(clr) { return Snap.rgb(clr[0], clr[1], clr[2]); } function getPath(path) { var k = 0, i, ii, j, jj, out, a, b = []; for (i = 0, ii = path.length; i < ii; i++) { out = "["; a = ['"' + path[i][0] + '"']; for (j = 1, jj = path[i].length; j < jj; j++) { a[j] = "val[" + (k++) + "]"; } out += a + "]"; b[i] = out; } return Function("val", "return Snap.path.toString.call([" + b + "])"); } function path2array(path) { var out = []; for (var i = 0, ii = path.length; i < ii; i++) { for (var j = 1, jj = path[i].length; j < jj; j++) { out.push(path[i][j]); } } return out; } function isNumeric(obj) { return isFinite(parseFloat(obj)); } function arrayEqual(arr1, arr2) { if (!Snap.is(arr1, "array") || !Snap.is(arr2, "array")) { return false; } return arr1.toString() == arr2.toString(); } Element.prototype.equal = function (name, b) { return eve("snap.util.equal", this, name, b).firstDefined(); }; eve.on("snap.util.equal", function (name, b) { var A, B, a = Str(this.attr(name) || ""), el = this; if (isNumeric(a) && isNumeric(b)) { return { from: parseFloat(a), to: parseFloat(b), f: getNumber }; } if (names[name] == "colour") { A = Snap.color(a); B = Snap.color(b); return { from: [A.r, A.g, A.b, A.opacity], to: [B.r, B.g, B.b, B.opacity], f: getColour }; } if (name == "viewBox") { A = this.attr(name).vb.split(" ").map(Number); B = b.split(" ").map(Number); return { from: A, to: B, f: getViewBox }; } if (name == "transform" || name == "gradientTransform" || name == "patternTransform") { if (b instanceof Snap.Matrix) { b = b.toTransformString(); } if (!Snap._.rgTransform.test(b)) { b = Snap._.svgTransform2string(b); } return equaliseTransform(a, b, function () { return el.getBBox(1); }); } if (name == "d" || name == "path") { A = Snap.path.toCubic(a, b); return { from: path2array(A[0]), to: path2array(A[1]), f: getPath(A[0]) }; } if (name == "points") { A = Str(a).split(Snap._.separator); B = Str(b).split(Snap._.separator); return { from: A, to: B, f: function (val) { return val; } }; } var aUnit = a.match(reUnit), bUnit = Str(b).match(reUnit); if (aUnit && arrayEqual(aUnit, bUnit)) { return { from: parseFloat(a), to: parseFloat(b), f: getUnit(aUnit) }; } else { return { from: this.asPX(name), to: this.asPX(name, b), f: getNumber }; } }); });
export const DEFAULT_FLAG_PROP_KEY = 'isFeatureEnabled'; export const DEFAULT_FLAGS_PROP_KEY = 'featureToggles'; export const ALL_FLAGS_PROP_KEY = '@flopflip/flags';
var lawgs = require('lawgs'); lawgs.config({ aws: { accessKeyId: settings.loggers.cloudwatch.accessKeyId, secretAccessKey: settings.loggers.cloudwatch.secretAccessKey, region: settings.loggers.cloudwatch.region } }); var logger = lawgs.getOrCreate(settings.loggers.cloudwatch.logGroup); module.exports = function(website, msg){ var message = logdate()+" "+website+" "+msg; logger.log(name, message); }
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isIn = void 0; const base_string_validation_rule_1 = require("./base-string-validation-rule"); const n_defensive_1 = require("@nivinjoseph/n-defensive"); function isIn(values, ignoreCase) { return new StringIsIn(values, !!ignoreCase); } exports.isIn = isIn; class StringIsIn extends base_string_validation_rule_1.BaseStringValidationRule { constructor(values, ignoreCase) { n_defensive_1.given(values, "values").ensureHasValue(); super(); this.addValidationRule({ validate: t => t == null || (ignoreCase ? values.some(v => v.trim().toLowerCase() === t.trim().toLowerCase()) : values.some(v => v.trim() === t.trim())), error: "Invalid value" }); } } //# sourceMappingURL=is-in.js.map
'use strict'; module.exports = { root: true, parser: 'babel-eslint', parserOptions: { ecmaVersion: 2018, sourceType: 'module', ecmaFeatures: { legacyDecorators: true, }, }, plugins: ['ember'], extends: [ 'eslint:recommended', 'plugin:ember/recommended', 'plugin:prettier/recommended', ], env: { browser: true, }, globals: { google: false, }, rules: {}, overrides: [ // node files { files: [ '.eslintrc.js', '.prettierrc.js', '.template-lintrc.js', 'ember-cli-build.js', 'testem.js', 'blueprints/*/index.js', 'config/**/*.js', 'lib/*/index.js', 'server/**/*.js', ], parserOptions: { sourceType: 'script', }, env: { browser: false, node: true, }, plugins: ['node'], extends: ['plugin:node/recommended'], rules: { // this can be removed once the following is fixed // https://github.com/mysticatea/eslint-plugin-node/issues/77 'node/no-unpublished-require': 'off', }, }, { // Test files: files: ['tests/**/*-test.{js,ts}'], extends: ['plugin:qunit/recommended'], }, ], };
/* * Copyright 2015 Telefónica I+D * All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations * under the License. */ 'use strict'; var express = require('express'), bodyParser = require('body-parser'), fs = require('fs'), app = express(); var BACKEND_PROCESS_SIMULATION = 2000; //Here we are configuring express to use body-parser as middle-ware. app.use(bodyParser.urlencoded({ extended: false })); app.all('*', function (req, res, next) { console.log("new request:"); next(); }); // context broker dummy app.post('/v1/*', function (req, res) { console.log("POST context broker "); var fs = require('fs'); var json = JSON.parse(fs.readFileSync(__dirname + '/../unit/post1.json', 'utf8')); //sleep for 2 seconds setTimeout(function () { res.send(json); }, BACKEND_PROCESS_SIMULATION); }); // posts an email to the mailing list. app.post('/:list/sendmail', function (req, res) { console.log("POST sendmail to list: " + req.params.list + ", body:" + req.body); res.sendStatus(200); }); // Returns an array of email addresses. app.get('/:list', function (req, res) { console.log("GET " + req.params.list); if (req.params.list == 'region1' || req.params.list == 'spain2') { res.send(['user@mail.com', 'jesus.perezgonzalez@telefonica.com']); } else { res.send([]); } }); // subscribe app.put('/:list', function (req, res) { console.log("PUT, subscribe " + req.params.list + " address:" + req.body.address); res.status(200).end(); }); // unsubscribe app.delete('/:list', function (req, res) { console.log("DELETE, unsubscribe " + req.params.list + " address:" + req.body.address); res.end(); }); var server = app.listen(8000, function () { var host = server.address().address; var port = server.address().port; console.log('Mailman/ContextBroker dummy listening at http://%s:%s', host, port); });
(function($){ $.fn.powerSlide = function(options) { var opt = { 'width': 640, // Width and height of the images 'height': 340, 'position': 'bottom', // Position of the navigation 'bullets': false, // Show numbering navigation 'thumbs': true, // Show thumbnail navigation 'row': 10, // Thumbnails per row 'auto': true, // Auto rotate 'autoSpeed': 4000, 'fadeSpeed': 1000 }; this.each(function() { if (options) { $.extend(opt, options); } /* Container and wrapper -----------------------------------------------*/ $(this).children().wrapAll('<div class="powerSlide" />'); var container = $(this).find('.powerSlide'); container.find('img').wrapAll('<div class="wrapper" />'); var wrapper = container.find('.wrapper'); /* Previous & next buttons -----------------------------------------------*/ wrapper.append('<a href="#" class="prev"></a><a href="#" class="next"></a>'); /* Navigation & captions -----------------------------------------------*/ switch (opt.position) { // Navigation position case 'top': container.prepend('<div class="nav" />'); break; case 'bottom': container.append('<div class="nav" />'); break; } var nav = container.find('.nav'); container.append('<div class="capt" />'); var capt = container.find('.capt'); container.append('<div id="mbutn"></div>'); wrapper.find('img').each(function(i){ i += 1; // Start numbers at 1 if (opt.bullets === true) { // Bullet navigation nav.append('<a href="#">'+ i +'</a>'); } if (opt.thumbs === true) { // Thumbnail navigation nav.addClass('thumbs').append( '<img class="thumb" src="'+ $(this).attr('src') +'" alt=""/>'); } // Captions var title = $(this).attr('title'); $(this).wrapAll('<div class="image" />'); if (title !== undefined) { //$(this).attr('title', ''); //$(this).after('<p>'+ title +'</p>'); } capt.append('<p>'+title+'</p>'); }); /* Slider Object -----------------------------------------------*/ var Slider = function(){ this.imgs = wrapper.find('div.image'); this.imgCount = (this.imgs.length) - 1; // Match index this.navPrev = wrapper.find('a.prev'); this.navNext = wrapper.find('a.next'); this.bullets = container.find('.nav a'); this.thumbs = container.find('.nav img.thumb'); //this.captions = this.imgs.find('p'); this.captp = capt.find('p'); this.getCurrentIndex = function(){ // Index return this.imgs.filter('.current').index(); }; this.go = function(index){ // Rotate images this.imgs .removeClass('current') .fadeOut(opt.fadeSpeed) .eq(index) .fadeIn(opt.fadeSpeed) .addClass('current'); this.bullets .removeClass('current') .eq(index) .addClass('current'); this.thumbs .removeClass('current') .eq(index) .addClass('current'); this.captp .removeClass('current') .eq(index) .addClass('current'); }; this.next = function(){ var index = this.getCurrentIndex(); if (index < this.imgCount) { this.go(index + 1); // Go next } else { this.go(0); // If last go first } }; this.prev = function(){ var index = this.getCurrentIndex(); if (index > 0) { this.go(index - 1); // Go previous } else { this.go(this.imgCount); // If first go last } }; this.init = function(){ // Init75 65 //container.width(opt.width+32); //container.height(opt.height+75); wrapper .width(opt.width) .height(opt.height); /* Set width and height */ this.imgs.hide().first().addClass('current').show(); /* Set current image */ this.bullets.first().addClass('current'); this.thumbs.first().addClass('current'); this.captp.first().addClass('current'); // Dimensions for thumbnails and captions var padding = wrapper.css('padding-left').replace('px', ''); //var captionsPadding = this.captions.css('padding-left').replace('px', ''); nav.width(opt.width); if (opt.thumbs === true) { // thumbs //var thumbBorder = this.thumbs.css('border-left-width').replace('px', ''); //var thumbMargin = this.thumbs.css('margin-right').replace('px', ''); var thumbMaxWidth = opt.width/opt.row; this.thumbs.width(50); } //this.captions // captions //.width(opt.width - (captionsPadding * 2) + 'px') //.css('margin-bottom', '0px'); this.navNext.css('margin-right', padding + 'px'); alignBox(); }; }; var slider = new Slider(); slider.init(); /* Mouse Events -----------------------------------------------*/ wrapper.hover(function(){ // Hover image wrapper //slider.captions.stop(true, true).fadeToggle(); slider.navNext.stop(true, true).fadeToggle(); slider.navPrev.stop(true, true).fadeToggle(); }); slider.navNext.click(function(e){ // Click next button e.preventDefault(); slider.next(); }); slider.navPrev.click(function(e){ // Click previous button e.preventDefault(); slider.prev(); }); slider.bullets.click(function(e){ // Click numbered bullet e.preventDefault(); //slider.captions.hide(); slider.go($(this).index()); }); slider.thumbs.click(function(){ // Click thumbnail //slider.captions.hide(); slider.go($(this).index()); }); $('#slideClose').click(function(){clearInterval(interval);hideBox();}); $('#slider-wrap').click(function(){clearInterval(interval);hideBox();}); /* Auto Rotate -----------------------------------------------*/ if (opt.auto === true) { var timer = function(){ slider.next(); //slider.captions.hide(); }; var interval = setInterval(timer, opt.autoSpeed); // Pause when hovering image wrapper.hover(function(){clearInterval(interval);}, function(){interval=setInterval(timer, opt.autoSpeed);}); // Reset timer when clicking thumbnail or bullet slider.thumbs.click(function(){clearInterval(interval); interval=setInterval(timer, opt.autoSpeed);}); slider.bullets.click(function(){clearInterval(interval); interval=setInterval(timer, opt.autoSpeed);}); } }); }; })(jQuery);
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "default", { enumerable: true, get: function get() { return _createStyles.default; } }); var _createStyles = _interopRequireDefault(require("./createStyles"));
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import * as tslib_1 from "tslib"; import { Directive, Input, TemplateRef, ViewContainerRef } from '@angular/core'; /** * @ngModule CommonModule * * @description * * Inserts an embedded view from a prepared `TemplateRef`. * * You can attach a context object to the `EmbeddedViewRef` by setting `[ngTemplateOutletContext]`. * `[ngTemplateOutletContext]` should be an object, the object's keys will be available for binding * by the local template `let` declarations. * * @usageNotes * ``` * <ng-container *ngTemplateOutlet="templateRefExp; context: contextExp"></ng-container> * ``` * * Using the key `$implicit` in the context object will set its value as default. * * ### Example * * {@example common/ngTemplateOutlet/ts/module.ts region='NgTemplateOutlet'} * */ var NgTemplateOutlet = /** @class */ (function () { function NgTemplateOutlet(_viewContainerRef) { this._viewContainerRef = _viewContainerRef; } NgTemplateOutlet.prototype.ngOnChanges = function (changes) { var recreateView = this._shouldRecreateView(changes); if (recreateView) { if (this._viewRef) { this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)); } if (this.ngTemplateOutlet) { this._viewRef = this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet, this.ngTemplateOutletContext); } } else { if (this._viewRef && this.ngTemplateOutletContext) { this._updateExistingContext(this.ngTemplateOutletContext); } } }; /** * We need to re-create existing embedded view if: * - templateRef has changed * - context has changes * * We mark context object as changed when the corresponding object * shape changes (new properties are added or existing properties are removed). * In other words we consider context with the same properties as "the same" even * if object reference changes (see https://github.com/angular/angular/issues/13407). */ NgTemplateOutlet.prototype._shouldRecreateView = function (changes) { var ctxChange = changes['ngTemplateOutletContext']; return !!changes['ngTemplateOutlet'] || (ctxChange && this._hasContextShapeChanged(ctxChange)); }; NgTemplateOutlet.prototype._hasContextShapeChanged = function (ctxChange) { var e_1, _a; var prevCtxKeys = Object.keys(ctxChange.previousValue || {}); var currCtxKeys = Object.keys(ctxChange.currentValue || {}); if (prevCtxKeys.length === currCtxKeys.length) { try { for (var currCtxKeys_1 = tslib_1.__values(currCtxKeys), currCtxKeys_1_1 = currCtxKeys_1.next(); !currCtxKeys_1_1.done; currCtxKeys_1_1 = currCtxKeys_1.next()) { var propName = currCtxKeys_1_1.value; if (prevCtxKeys.indexOf(propName) === -1) { return true; } } } catch (e_1_1) { e_1 = { error: e_1_1 }; } finally { try { if (currCtxKeys_1_1 && !currCtxKeys_1_1.done && (_a = currCtxKeys_1.return)) _a.call(currCtxKeys_1); } finally { if (e_1) throw e_1.error; } } return false; } else { return true; } }; NgTemplateOutlet.prototype._updateExistingContext = function (ctx) { var e_2, _a; try { for (var _b = tslib_1.__values(Object.keys(ctx)), _c = _b.next(); !_c.done; _c = _b.next()) { var propName = _c.value; this._viewRef.context[propName] = this.ngTemplateOutletContext[propName]; } } catch (e_2_1) { e_2 = { error: e_2_1 }; } finally { try { if (_c && !_c.done && (_a = _b.return)) _a.call(_b); } finally { if (e_2) throw e_2.error; } } }; NgTemplateOutlet.decorators = [ { type: Directive, args: [{ selector: '[ngTemplateOutlet]' },] } ]; /** @nocollapse */ NgTemplateOutlet.ctorParameters = function () { return [ { type: ViewContainerRef } ]; }; NgTemplateOutlet.propDecorators = { ngTemplateOutletContext: [{ type: Input }], ngTemplateOutlet: [{ type: Input }] }; return NgTemplateOutlet; }()); export { NgTemplateOutlet }; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdfdGVtcGxhdGVfb3V0bGV0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tbW9uL3NyYy9kaXJlY3RpdmVzL25nX3RlbXBsYXRlX291dGxldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7O0FBRUgsT0FBTyxFQUFDLFNBQVMsRUFBbUIsS0FBSyxFQUEwQyxXQUFXLEVBQUUsZ0JBQWdCLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFdkk7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FzQkc7QUFDSDtJQVdFLDBCQUFvQixpQkFBbUM7UUFBbkMsc0JBQWlCLEdBQWpCLGlCQUFpQixDQUFrQjtJQUFHLENBQUM7SUFFM0Qsc0NBQVcsR0FBWCxVQUFZLE9BQXNCO1FBQ2hDLElBQU0sWUFBWSxHQUFHLElBQUksQ0FBQyxtQkFBbUIsQ0FBQyxPQUFPLENBQUMsQ0FBQztRQUV2RCxJQUFJLFlBQVksRUFBRTtZQUNoQixJQUFJLElBQUksQ0FBQyxRQUFRLEVBQUU7Z0JBQ2pCLElBQUksQ0FBQyxpQkFBaUIsQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLGlCQUFpQixDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDLENBQUMsQ0FBQzthQUM5RTtZQUVELElBQUksSUFBSSxDQUFDLGdCQUFnQixFQUFFO2dCQUN6QixJQUFJLENBQUMsUUFBUSxHQUFHLElBQUksQ0FBQyxpQkFBaUIsQ0FBQyxrQkFBa0IsQ0FDckQsSUFBSSxDQUFDLGdCQUFnQixFQUFFLElBQUksQ0FBQyx1QkFBdUIsQ0FBQyxDQUFDO2FBQzFEO1NBQ0Y7YUFBTTtZQUNMLElBQUksSUFBSSxDQUFDLFFBQVEsSUFBSSxJQUFJLENBQUMsdUJBQXVCLEVBQUU7Z0JBQ2pELElBQUksQ0FBQyxzQkFBc0IsQ0FBQyxJQUFJLENBQUMsdUJBQXVCLENBQUMsQ0FBQzthQUMzRDtTQUNGO0lBQ0gsQ0FBQztJQUVEOzs7Ozs7Ozs7T0FTRztJQUNLLDhDQUFtQixHQUEzQixVQUE0QixPQUFzQjtRQUNoRCxJQUFNLFNBQVMsR0FBRyxPQUFPLENBQUMseUJBQXlCLENBQUMsQ0FBQztRQUNyRCxPQUFPLENBQUMsQ0FBQyxPQUFPLENBQUMsa0JBQWtCLENBQUMsSUFBSSxDQUFDLFNBQVMsSUFBSSxJQUFJLENBQUMsdUJBQXVCLENBQUMsU0FBUyxDQUFDLENBQUMsQ0FBQztJQUNqRyxDQUFDO0lBRU8sa0RBQXVCLEdBQS9CLFVBQWdDLFNBQXVCOztRQUNyRCxJQUFNLFdBQVcsR0FBRyxNQUFNLENBQUMsSUFBSSxDQUFDLFNBQVMsQ0FBQyxhQUFhLElBQUksRUFBRSxDQUFDLENBQUM7UUFDL0QsSUFBTSxXQUFXLEdBQUcsTUFBTSxDQUFDLElBQUksQ0FBQyxTQUFTLENBQUMsWUFBWSxJQUFJLEVBQUUsQ0FBQyxDQUFDO1FBRTlELElBQUksV0FBVyxDQUFDLE1BQU0sS0FBSyxXQUFXLENBQUMsTUFBTSxFQUFFOztnQkFDN0MsS0FBcUIsSUFBQSxnQkFBQSxpQkFBQSxXQUFXLENBQUEsd0NBQUEsaUVBQUU7b0JBQTdCLElBQUksUUFBUSx3QkFBQTtvQkFDZixJQUFJLFdBQVcsQ0FBQyxPQUFPLENBQUMsUUFBUSxDQUFDLEtBQUssQ0FBQyxDQUFDLEVBQUU7d0JBQ3hDLE9BQU8sSUFBSSxDQUFDO3FCQUNiO2lCQUNGOzs7Ozs7Ozs7WUFDRCxPQUFPLEtBQUssQ0FBQztTQUNkO2FBQU07WUFDTCxPQUFPLElBQUksQ0FBQztTQUNiO0lBQ0gsQ0FBQztJQUVPLGlEQUFzQixHQUE5QixVQUErQixHQUFXOzs7WUFDeEMsS0FBcUIsSUFBQSxLQUFBLGlCQUFBLE1BQU0sQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUEsZ0JBQUEsNEJBQUU7Z0JBQWxDLElBQUksUUFBUSxXQUFBO2dCQUNULElBQUksQ0FBQyxRQUFRLENBQUMsT0FBUSxDQUFDLFFBQVEsQ0FBQyxHQUFTLElBQUksQ0FBQyx1QkFBd0IsQ0FBQyxRQUFRLENBQUMsQ0FBQzthQUN4Rjs7Ozs7Ozs7O0lBQ0gsQ0FBQzs7Z0JBbkVGLFNBQVMsU0FBQyxFQUFDLFFBQVEsRUFBRSxvQkFBb0IsRUFBQzs7OztnQkF6QnFELGdCQUFnQjs7OzBDQStCN0csS0FBSzttQ0FHTCxLQUFLOztJQTJEUix1QkFBQztDQUFBLEFBcEVELElBb0VDO1NBbkVZLGdCQUFnQiIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuaW1wb3J0IHtEaXJlY3RpdmUsIEVtYmVkZGVkVmlld1JlZiwgSW5wdXQsIE9uQ2hhbmdlcywgU2ltcGxlQ2hhbmdlLCBTaW1wbGVDaGFuZ2VzLCBUZW1wbGF0ZVJlZiwgVmlld0NvbnRhaW5lclJlZn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbi8qKlxuICogQG5nTW9kdWxlIENvbW1vbk1vZHVsZVxuICpcbiAqIEBkZXNjcmlwdGlvblxuICpcbiAqIEluc2VydHMgYW4gZW1iZWRkZWQgdmlldyBmcm9tIGEgcHJlcGFyZWQgYFRlbXBsYXRlUmVmYC5cbiAqXG4gKiBZb3UgY2FuIGF0dGFjaCBhIGNvbnRleHQgb2JqZWN0IHRvIHRoZSBgRW1iZWRkZWRWaWV3UmVmYCBieSBzZXR0aW5nIGBbbmdUZW1wbGF0ZU91dGxldENvbnRleHRdYC5cbiAqIGBbbmdUZW1wbGF0ZU91dGxldENvbnRleHRdYCBzaG91bGQgYmUgYW4gb2JqZWN0LCB0aGUgb2JqZWN0J3Mga2V5cyB3aWxsIGJlIGF2YWlsYWJsZSBmb3IgYmluZGluZ1xuICogYnkgdGhlIGxvY2FsIHRlbXBsYXRlIGBsZXRgIGRlY2xhcmF0aW9ucy5cbiAqXG4gKiBAdXNhZ2VOb3Rlc1xuICogYGBgXG4gKiA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwidGVtcGxhdGVSZWZFeHA7IGNvbnRleHQ6IGNvbnRleHRFeHBcIj48L25nLWNvbnRhaW5lcj5cbiAqIGBgYFxuICpcbiAqIFVzaW5nIHRoZSBrZXkgYCRpbXBsaWNpdGAgaW4gdGhlIGNvbnRleHQgb2JqZWN0IHdpbGwgc2V0IGl0cyB2YWx1ZSBhcyBkZWZhdWx0LlxuICpcbiAqICMjIyBFeGFtcGxlXG4gKlxuICoge0BleGFtcGxlIGNvbW1vbi9uZ1RlbXBsYXRlT3V0bGV0L3RzL21vZHVsZS50cyByZWdpb249J05nVGVtcGxhdGVPdXRsZXQnfVxuICpcbiAqL1xuQERpcmVjdGl2ZSh7c2VsZWN0b3I6ICdbbmdUZW1wbGF0ZU91dGxldF0nfSlcbmV4cG9ydCBjbGFzcyBOZ1RlbXBsYXRlT3V0bGV0IGltcGxlbWVudHMgT25DaGFuZ2VzIHtcbiAgLy8gVE9ETyhpc3N1ZS8yNDU3MSk6IHJlbW92ZSAnIScuXG4gIHByaXZhdGUgX3ZpZXdSZWYgITogRW1iZWRkZWRWaWV3UmVmPGFueT47XG5cbiAgLy8gVE9ETyhpc3N1ZS8yNDU3MSk6IHJlbW92ZSAnIScuXG4gIEBJbnB1dCgpIHB1YmxpYyBuZ1RlbXBsYXRlT3V0bGV0Q29udGV4dCAhOiBPYmplY3Q7XG5cbiAgLy8gVE9ETyhpc3N1ZS8yNDU3MSk6IHJlbW92ZSAnIScuXG4gIEBJbnB1dCgpIHB1YmxpYyBuZ1RlbXBsYXRlT3V0bGV0ICE6IFRlbXBsYXRlUmVmPGFueT47XG5cbiAgY29uc3RydWN0b3IocHJpdmF0ZSBfdmlld0NvbnRhaW5lclJlZjogVmlld0NvbnRhaW5lclJlZikge31cblxuICBuZ09uQ2hhbmdlcyhjaGFuZ2VzOiBTaW1wbGVDaGFuZ2VzKSB7XG4gICAgY29uc3QgcmVjcmVhdGVWaWV3ID0gdGhpcy5fc2hvdWxkUmVjcmVhdGVWaWV3KGNoYW5nZXMpO1xuXG4gICAgaWYgKHJlY3JlYXRlVmlldykge1xuICAgICAgaWYgKHRoaXMuX3ZpZXdSZWYpIHtcbiAgICAgICAgdGhpcy5fdmlld0NvbnRhaW5lclJlZi5yZW1vdmUodGhpcy5fdmlld0NvbnRhaW5lclJlZi5pbmRleE9mKHRoaXMuX3ZpZXdSZWYpKTtcbiAgICAgIH1cblxuICAgICAgaWYgKHRoaXMubmdUZW1wbGF0ZU91dGxldCkge1xuICAgICAgICB0aGlzLl92aWV3UmVmID0gdGhpcy5fdmlld0NvbnRhaW5lclJlZi5jcmVhdGVFbWJlZGRlZFZpZXcoXG4gICAgICAgICAgICB0aGlzLm5nVGVtcGxhdGVPdXRsZXQsIHRoaXMubmdUZW1wbGF0ZU91dGxldENvbnRleHQpO1xuICAgICAgfVxuICAgIH0gZWxzZSB7XG4gICAgICBpZiAodGhpcy5fdmlld1JlZiAmJiB0aGlzLm5nVGVtcGxhdGVPdXRsZXRDb250ZXh0KSB7XG4gICAgICAgIHRoaXMuX3VwZGF0ZUV4aXN0aW5nQ29udGV4dCh0aGlzLm5nVGVtcGxhdGVPdXRsZXRDb250ZXh0KTtcbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvKipcbiAgICogV2UgbmVlZCB0byByZS1jcmVhdGUgZXhpc3RpbmcgZW1iZWRkZWQgdmlldyBpZjpcbiAgICogLSB0ZW1wbGF0ZVJlZiBoYXMgY2hhbmdlZFxuICAgKiAtIGNvbnRleHQgaGFzIGNoYW5nZXNcbiAgICpcbiAgICogV2UgbWFyayBjb250ZXh0IG9iamVjdCBhcyBjaGFuZ2VkIHdoZW4gdGhlIGNvcnJlc3BvbmRpbmcgb2JqZWN0XG4gICAqIHNoYXBlIGNoYW5nZXMgKG5ldyBwcm9wZXJ0aWVzIGFyZSBhZGRlZCBvciBleGlzdGluZyBwcm9wZXJ0aWVzIGFyZSByZW1vdmVkKS5cbiAgICogSW4gb3RoZXIgd29yZHMgd2UgY29uc2lkZXIgY29udGV4dCB3aXRoIHRoZSBzYW1lIHByb3BlcnRpZXMgYXMgXCJ0aGUgc2FtZVwiIGV2ZW5cbiAgICogaWYgb2JqZWN0IHJlZmVyZW5jZSBjaGFuZ2VzIChzZWUgaHR0cHM6Ly9naXRodWIuY29tL2FuZ3VsYXIvYW5ndWxhci9pc3N1ZXMvMTM0MDcpLlxuICAgKi9cbiAgcHJpdmF0ZSBfc2hvdWxkUmVjcmVhdGVWaWV3KGNoYW5nZXM6IFNpbXBsZUNoYW5nZXMpOiBib29sZWFuIHtcbiAgICBjb25zdCBjdHhDaGFuZ2UgPSBjaGFuZ2VzWyduZ1RlbXBsYXRlT3V0bGV0Q29udGV4dCddO1xuICAgIHJldHVybiAhIWNoYW5nZXNbJ25nVGVtcGxhdGVPdXRsZXQnXSB8fCAoY3R4Q2hhbmdlICYmIHRoaXMuX2hhc0NvbnRleHRTaGFwZUNoYW5nZWQoY3R4Q2hhbmdlKSk7XG4gIH1cblxuICBwcml2YXRlIF9oYXNDb250ZXh0U2hhcGVDaGFuZ2VkKGN0eENoYW5nZTogU2ltcGxlQ2hhbmdlKTogYm9vbGVhbiB7XG4gICAgY29uc3QgcHJldkN0eEtleXMgPSBPYmplY3Qua2V5cyhjdHhDaGFuZ2UucHJldmlvdXNWYWx1ZSB8fCB7fSk7XG4gICAgY29uc3QgY3VyckN0eEtleXMgPSBPYmplY3Qua2V5cyhjdHhDaGFuZ2UuY3VycmVudFZhbHVlIHx8IHt9KTtcblxuICAgIGlmIChwcmV2Q3R4S2V5cy5sZW5ndGggPT09IGN1cnJDdHhLZXlzLmxlbmd0aCkge1xuICAgICAgZm9yIChsZXQgcHJvcE5hbWUgb2YgY3VyckN0eEtleXMpIHtcbiAgICAgICAgaWYgKHByZXZDdHhLZXlzLmluZGV4T2YocHJvcE5hbWUpID09PSAtMSkge1xuICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgICByZXR1cm4gZmFsc2U7XG4gICAgfSBlbHNlIHtcbiAgICAgIHJldHVybiB0cnVlO1xuICAgIH1cbiAgfVxuXG4gIHByaXZhdGUgX3VwZGF0ZUV4aXN0aW5nQ29udGV4dChjdHg6IE9iamVjdCk6IHZvaWQge1xuICAgIGZvciAobGV0IHByb3BOYW1lIG9mIE9iamVjdC5rZXlzKGN0eCkpIHtcbiAgICAgICg8YW55PnRoaXMuX3ZpZXdSZWYuY29udGV4dClbcHJvcE5hbWVdID0gKDxhbnk+dGhpcy5uZ1RlbXBsYXRlT3V0bGV0Q29udGV4dClbcHJvcE5hbWVdO1xuICAgIH1cbiAgfVxufVxuIl19
module.exports = [ { path: '/test', method: 'get', functionName: 'testFunc' }, { path: '/testwithtemplate', method: 'get', functionName: 'testFuncWithTemplate' } ];
// eggWhites.js // // Copyright (c) 2016 Stefan Wirth // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. (function() { 'use strict'; angular.module('eggWhites',[]) .constant('KHALED_IPSUM_API', 'https://eggwhites.herokuapp.com/khaledIpsum') .directive('khaledIpsum', ['khaledService', function(khaledService) { return { restrict: 'E', link: function(scope, element, attributes) { var numberOfEggWhites = attributes.paragraphs || 5; khaledService.paveTheRoadToSuccessWith(numberOfEggWhites) .then(function(eggWhites) { eggWhites.forEach(function(eggWhite) { var p = angular.element('<p class="khaledIpsum"></p>'); p.html(eggWhite); element.append(p); }); }); } }; }]) .factory('khaledService', ['$http', '$q', 'KHALED_IPSUM_API', function($http, $q, KHALED_IPSUM_API) { var service = { paveTheRoadToSuccessWith: paveTheRoadToSuccessWith }; return service; function paveTheRoadToSuccessWith(numberOfEggWhites) { return $http.get(KHALED_IPSUM_API, { params: { paragraphs: numberOfEggWhites } }) .then(function(khaledIpsum) { var roadToSuccess = khaledIpsum.data.roadToSuccess; var paragraphs = roadToSuccess.split('|'); return $q.when(paragraphs); }); } }]); })();
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _propTypes = require('prop-types'); var _propTypes2 = _interopRequireDefault(_propTypes); var _SvgContainer = require('./SvgContainer'); var _SvgContainer2 = _interopRequireDefault(_SvgContainer); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var FlashlightOutline = function FlashlightOutline(props) { return _react2.default.createElement( _SvgContainer2.default, { height: props.height, width: props.width, color: props.color, onClick: props.onClick, rotate: props.rotate ? 1 : 0, shake: props.shake ? 1 : 0, beat: props.beat ? 1 : 0, className: props.className }, _react2.default.createElement( 'svg', { style: props.style, className: props.cssClasses, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 512 512' }, props.title ? _react2.default.createElement( 'title', null, props.title ) : '', _react2.default.createElement('path', { d: 'M456.64 162.86L349.12 55.36c-13.15-13.14-28.68-7.17-41.82 6l-11.95 12c-26.13 26.13-27.62 58.38-29.42 83.31-.89 12.24-9.78 27.55-18.51 36.28L58.58 381.67c-16.35 16.33-12.69 39.42 3.73 55.84l12.17 12.17c16.36 16.35 39.43 20.16 55.86 3.74l188.83-188.8c8.74-8.74 24-17.55 36.29-18.52 24.87-1.86 58.62-4.85 83.26-29.49l11.94-11.94c13.15-13.14 19.12-28.67 5.98-41.81z', fill: 'none', stroke: 'currentColor', strokeMiterlimit: '10', strokeWidth: '32' }), _react2.default.createElement('circle', { cx: '224.68', cy: '287.28', r: '20' }), _react2.default.createElement('path', { fill: 'none', stroke: 'currentColor', strokeLinecap: 'round', strokeMiterlimit: '10', strokeWidth: '32', d: 'M289 81l142 142' }) ) ); }; FlashlightOutline.defaultProps = { // style style: {}, color: '#000000', height: '22px', width: '22px', cssClasses: '', title: '', // animation shake: false, beat: false, rotate: false }; FlashlightOutline.propTypes = { // style style: _propTypes2.default.object, color: _propTypes2.default.string, height: _propTypes2.default.string, width: _propTypes2.default.string, cssClasses: _propTypes2.default.string, title: _propTypes2.default.string, // animation shake: _propTypes2.default.bool, beat: _propTypes2.default.bool, rotate: _propTypes2.default.bool, // functions onClick: _propTypes2.default.func }; exports.default = FlashlightOutline; module.exports = exports['default']; //# sourceMappingURL=FlashlightOutline.js.map
/*! highlight.js v9.12.0 | BSD3 License | git.io/hljslicense */ !function(e){var n="object"==typeof window&&window||"object"==typeof self&&self;"undefined"!=typeof exports?e(exports):n&&(n.hljs=e({}),"function"==typeof define&&define.amd&&define([],function(){return n.hljs}))}(function(e){function n(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function t(e){return e.nodeName.toLowerCase()}function r(e,n){var t=e&&e.exec(n);return t&&0===t.index}function a(e){return k.test(e)}function i(e){var n,t,r,i,o=e.className+" ";if(o+=e.parentNode?e.parentNode.className:"",t=B.exec(o))return w(t[1])?t[1]:"no-highlight";for(o=o.split(/\s+/),n=0,r=o.length;r>n;n++)if(i=o[n],a(i)||w(i))return i}function o(e){var n,t={},r=Array.prototype.slice.call(arguments,1);for(n in e)t[n]=e[n];return r.forEach(function(e){for(n in e)t[n]=e[n]}),t}function u(e){var n=[];return function r(e,a){for(var i=e.firstChild;i;i=i.nextSibling)3===i.nodeType?a+=i.nodeValue.length:1===i.nodeType&&(n.push({event:"start",offset:a,node:i}),a=r(i,a),t(i).match(/br|hr|img|input/)||n.push({event:"stop",offset:a,node:i}));return a}(e,0),n}function c(e,r,a){function i(){return e.length&&r.length?e[0].offset!==r[0].offset?e[0].offset<r[0].offset?e:r:"start"===r[0].event?e:r:e.length?e:r}function o(e){function r(e){return" "+e.nodeName+'="'+n(e.value).replace('"',"&quot;")+'"'}s+="<"+t(e)+E.map.call(e.attributes,r).join("")+">"}function u(e){s+="</"+t(e)+">"}function c(e){("start"===e.event?o:u)(e.node)}for(var l=0,s="",f=[];e.length||r.length;){var g=i();if(s+=n(a.substring(l,g[0].offset)),l=g[0].offset,g===e){f.reverse().forEach(u);do c(g.splice(0,1)[0]),g=i();while(g===e&&g.length&&g[0].offset===l);f.reverse().forEach(o)}else"start"===g[0].event?f.push(g[0].node):f.pop(),c(g.splice(0,1)[0])}return s+n(a.substr(l))}function l(e){return e.v&&!e.cached_variants&&(e.cached_variants=e.v.map(function(n){return o(e,{v:null},n)})),e.cached_variants||e.eW&&[o(e)]||[e]}function s(e){function n(e){return e&&e.source||e}function t(t,r){return new RegExp(n(t),"m"+(e.cI?"i":"")+(r?"g":""))}function r(a,i){if(!a.compiled){if(a.compiled=!0,a.k=a.k||a.bK,a.k){var o={},u=function(n,t){e.cI&&(t=t.toLowerCase()),t.split(" ").forEach(function(e){var t=e.split("|");o[t[0]]=[n,t[1]?Number(t[1]):1]})};"string"==typeof a.k?u("keyword",a.k):x(a.k).forEach(function(e){u(e,a.k[e])}),a.k=o}a.lR=t(a.l||/\w+/,!0),i&&(a.bK&&(a.b="\\b("+a.bK.split(" ").join("|")+")\\b"),a.b||(a.b=/\B|\b/),a.bR=t(a.b),a.e||a.eW||(a.e=/\B|\b/),a.e&&(a.eR=t(a.e)),a.tE=n(a.e)||"",a.eW&&i.tE&&(a.tE+=(a.e?"|":"")+i.tE)),a.i&&(a.iR=t(a.i)),null==a.r&&(a.r=1),a.c||(a.c=[]),a.c=Array.prototype.concat.apply([],a.c.map(function(e){return l("self"===e?a:e)})),a.c.forEach(function(e){r(e,a)}),a.starts&&r(a.starts,i);var c=a.c.map(function(e){return e.bK?"\\.?("+e.b+")\\.?":e.b}).concat([a.tE,a.i]).map(n).filter(Boolean);a.t=c.length?t(c.join("|"),!0):{exec:function(){return null}}}}r(e)}function f(e,t,a,i){function o(e,n){var t,a;for(t=0,a=n.c.length;a>t;t++)if(r(n.c[t].bR,e))return n.c[t]}function u(e,n){if(r(e.eR,n)){for(;e.endsParent&&e.parent;)e=e.parent;return e}return e.eW?u(e.parent,n):void 0}function c(e,n){return!a&&r(n.iR,e)}function l(e,n){var t=N.cI?n[0].toLowerCase():n[0];return e.k.hasOwnProperty(t)&&e.k[t]}function p(e,n,t,r){var a=r?"":I.classPrefix,i='<span class="'+a,o=t?"":C;return i+=e+'">',i+n+o}function h(){var e,t,r,a;if(!E.k)return n(k);for(a="",t=0,E.lR.lastIndex=0,r=E.lR.exec(k);r;)a+=n(k.substring(t,r.index)),e=l(E,r),e?(B+=e[1],a+=p(e[0],n(r[0]))):a+=n(r[0]),t=E.lR.lastIndex,r=E.lR.exec(k);return a+n(k.substr(t))}function d(){var e="string"==typeof E.sL;if(e&&!y[E.sL])return n(k);var t=e?f(E.sL,k,!0,x[E.sL]):g(k,E.sL.length?E.sL:void 0);return E.r>0&&(B+=t.r),e&&(x[E.sL]=t.top),p(t.language,t.value,!1,!0)}function b(){L+=null!=E.sL?d():h(),k=""}function v(e){L+=e.cN?p(e.cN,"",!0):"",E=Object.create(e,{parent:{value:E}})}function m(e,n){if(k+=e,null==n)return b(),0;var t=o(n,E);if(t)return t.skip?k+=n:(t.eB&&(k+=n),b(),t.rB||t.eB||(k=n)),v(t,n),t.rB?0:n.length;var r=u(E,n);if(r){var a=E;a.skip?k+=n:(a.rE||a.eE||(k+=n),b(),a.eE&&(k=n));do E.cN&&(L+=C),E.skip||(B+=E.r),E=E.parent;while(E!==r.parent);return r.starts&&v(r.starts,""),a.rE?0:n.length}if(c(n,E))throw new Error('Illegal lexeme "'+n+'" for mode "'+(E.cN||"<unnamed>")+'"');return k+=n,n.length||1}var N=w(e);if(!N)throw new Error('Unknown language: "'+e+'"');s(N);var R,E=i||N,x={},L="";for(R=E;R!==N;R=R.parent)R.cN&&(L=p(R.cN,"",!0)+L);var k="",B=0;try{for(var M,j,O=0;;){if(E.t.lastIndex=O,M=E.t.exec(t),!M)break;j=m(t.substring(O,M.index),M[0]),O=M.index+j}for(m(t.substr(O)),R=E;R.parent;R=R.parent)R.cN&&(L+=C);return{r:B,value:L,language:e,top:E}}catch(T){if(T.message&&-1!==T.message.indexOf("Illegal"))return{r:0,value:n(t)};throw T}}function g(e,t){t=t||I.languages||x(y);var r={r:0,value:n(e)},a=r;return t.filter(w).forEach(function(n){var t=f(n,e,!1);t.language=n,t.r>a.r&&(a=t),t.r>r.r&&(a=r,r=t)}),a.language&&(r.second_best=a),r}function p(e){return I.tabReplace||I.useBR?e.replace(M,function(e,n){return I.useBR&&"\n"===e?"<br>":I.tabReplace?n.replace(/\t/g,I.tabReplace):""}):e}function h(e,n,t){var r=n?L[n]:t,a=[e.trim()];return e.match(/\bhljs\b/)||a.push("hljs"),-1===e.indexOf(r)&&a.push(r),a.join(" ").trim()}function d(e){var n,t,r,o,l,s=i(e);a(s)||(I.useBR?(n=document.createElementNS("http://www.w3.org/1999/xhtml","div"),n.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n")):n=e,l=n.textContent,r=s?f(s,l,!0):g(l),t=u(n),t.length&&(o=document.createElementNS("http://www.w3.org/1999/xhtml","div"),o.innerHTML=r.value,r.value=c(t,u(o),l)),r.value=p(r.value),e.innerHTML=r.value,e.className=h(e.className,s,r.language),e.result={language:r.language,re:r.r},r.second_best&&(e.second_best={language:r.second_best.language,re:r.second_best.r}))}function b(e){I=o(I,e)}function v(){if(!v.called){v.called=!0;var e=document.querySelectorAll("pre code");E.forEach.call(e,d)}}function m(){addEventListener("DOMContentLoaded",v,!1),addEventListener("load",v,!1)}function N(n,t){var r=y[n]=t(e);r.aliases&&r.aliases.forEach(function(e){L[e]=n})}function R(){return x(y)}function w(e){return e=(e||"").toLowerCase(),y[e]||y[L[e]]}var E=[],x=Object.keys,y={},L={},k=/^(no-?highlight|plain|text)$/i,B=/\blang(?:uage)?-([\w-]+)\b/i,M=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,C="</span>",I={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};return e.highlight=f,e.highlightAuto=g,e.fixMarkup=p,e.highlightBlock=d,e.configure=b,e.initHighlighting=v,e.initHighlightingOnLoad=m,e.registerLanguage=N,e.listLanguages=R,e.getLanguage=w,e.inherit=o,e.IR="[a-zA-Z]\\w*",e.UIR="[a-zA-Z_]\\w*",e.NR="\\b\\d+(\\.\\d+)?",e.CNR="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BNR="\\b(0b[01]+)",e.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BE={b:"\\\\[\\s\\S]",r:0},e.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[e.BE]},e.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[e.BE]},e.PWM={b:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},e.C=function(n,t,r){var a=e.inherit({cN:"comment",b:n,e:t,c:[]},r||{});return a.c.push(e.PWM),a.c.push({cN:"doctag",b:"(?:TODO|FIXME|NOTE|BUG|XXX):",r:0}),a},e.CLCM=e.C("//","$"),e.CBCM=e.C("/\\*","\\*/"),e.HCM=e.C("#","$"),e.NM={cN:"number",b:e.NR,r:0},e.CNM={cN:"number",b:e.CNR,r:0},e.BNM={cN:"number",b:e.BNR,r:0},e.CSSNM={cN:"number",b:e.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0},e.RM={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[e.BE,{b:/\[/,e:/\]/,r:0,c:[e.BE]}]},e.TM={cN:"title",b:e.IR,r:0},e.UTM={cN:"title",b:e.UIR,r:0},e.METHOD_GUARD={b:"\\.\\s*"+e.UIR,r:0},e});hljs.registerLanguage("sql",function(e){var t=e.C("--","$");return{cI:!0,i:/[<>{}*#]/,c:[{bK:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment",e:/;/,eW:!0,l:/[\w\.]+/,k:{keyword:"abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias allocate allow alter always analyze ancillary and any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second section securefile security seed segment select self sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null",built_in:"array bigint binary bit blob boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text varchar varying void"},c:[{cN:"string",b:"'",e:"'",c:[e.BE,{b:"''"}]},{cN:"string",b:'"',e:'"',c:[e.BE,{b:'""'}]},{cN:"string",b:"`",e:"`",c:[e.BE]},e.CNM,e.CBCM,t]},e.CBCM,t]}});hljs.registerLanguage("perl",function(e){var t="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when",r={cN:"subst",b:"[$@]\\{",e:"\\}",k:t},s={b:"->{",e:"}"},n={v:[{b:/\$\d/},{b:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{b:/[\$%@][^\s\w{]/,r:0}]},i=[e.BE,r,n],o=[n,e.HCM,e.C("^\\=\\w","\\=cut",{eW:!0}),s,{cN:"string",c:i,v:[{b:"q[qwxr]?\\s*\\(",e:"\\)",r:5},{b:"q[qwxr]?\\s*\\[",e:"\\]",r:5},{b:"q[qwxr]?\\s*\\{",e:"\\}",r:5},{b:"q[qwxr]?\\s*\\|",e:"\\|",r:5},{b:"q[qwxr]?\\s*\\<",e:"\\>",r:5},{b:"qw\\s+q",e:"q",r:5},{b:"'",e:"'",c:[e.BE]},{b:'"',e:'"'},{b:"`",e:"`",c:[e.BE]},{b:"{\\w+}",c:[],r:0},{b:"-?\\w+\\s*\\=\\>",c:[],r:0}]},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\/\\/|"+e.RSR+"|\\b(split|return|print|reverse|grep)\\b)\\s*",k:"split return print reverse grep",r:0,c:[e.HCM,{cN:"regexp",b:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",r:10},{cN:"regexp",b:"(m|qr)?/",e:"/[a-z]*",c:[e.BE],r:0}]},{cN:"function",bK:"sub",e:"(\\s*\\(.*?\\))?[;{]",eE:!0,r:5,c:[e.TM]},{b:"-\\w\\b",r:0},{b:"^__DATA__$",e:"^__END__$",sL:"mojolicious",c:[{b:"^@@.*",e:"$",cN:"comment"}]}];return r.c=o,s.c=o,{aliases:["pl","pm"],l:/[\w\.]+/,k:t,c:o}});hljs.registerLanguage("ini",function(e){var b={cN:"string",c:[e.BE],v:[{b:"'''",e:"'''",r:10},{b:'"""',e:'"""',r:10},{b:'"',e:'"'},{b:"'",e:"'"}]};return{aliases:["toml"],cI:!0,i:/\S/,c:[e.C(";","$"),e.HCM,{cN:"section",b:/^\s*\[+/,e:/\]+/},{b:/^[a-z0-9\[\]_-]+\s*=\s*/,e:"$",rB:!0,c:[{cN:"attr",b:/[a-z0-9\[\]_-]+/},{b:/=/,eW:!0,r:0,c:[{cN:"literal",b:/\bon|off|true|false|yes|no\b/},{cN:"variable",v:[{b:/\$[\w\d"][\w\d_]*/},{b:/\$\{(.*?)}/}]},b,{cN:"number",b:/([\+\-]+)?[\d]+_[\d_]+/},e.NM]}]}]}});hljs.registerLanguage("moonscript",function(e){var t={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},r="[A-Za-z$_][0-9A-Za-z$_]*",s={cN:"subst",b:/#\{/,e:/}/,k:t},a=[e.inherit(e.CNM,{starts:{e:"(\\s*/)?",r:0}}),{cN:"string",v:[{b:/'/,e:/'/,c:[e.BE]},{b:/"/,e:/"/,c:[e.BE,s]}]},{cN:"built_in",b:"@__"+e.IR},{b:"@"+e.IR},{b:e.IR+"\\\\"+e.IR}];s.c=a;var c=e.inherit(e.TM,{b:r}),n="(\\(.*\\))?\\s*\\B[-=]>",i={cN:"params",b:"\\([^\\(]",rB:!0,c:[{b:/\(/,e:/\)/,k:t,c:["self"].concat(a)}]};return{aliases:["moon"],k:t,i:/\/\*/,c:a.concat([e.C("--","$"),{cN:"function",b:"^\\s*"+r+"\\s*=\\s*"+n,e:"[-=]>",rB:!0,c:[c,i]},{b:/[\(,:=]\s*/,r:0,c:[{cN:"function",b:n,e:"[-=]>",rB:!0,c:[i]}]},{cN:"class",bK:"class",e:"$",i:/[:="\[\]]/,c:[{bK:"extends",eW:!0,i:/[:="\[\]]/,c:[c]},c]},{cN:"name",b:r+":",e:":",rB:!0,rE:!0,r:0}])}});hljs.registerLanguage("diff",function(e){return{aliases:["patch"],c:[{cN:"meta",r:10,v:[{b:/^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/},{b:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{b:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{cN:"comment",v:[{b:/Index: /,e:/$/},{b:/={3,}/,e:/$/},{b:/^\-{3}/,e:/$/},{b:/^\*{3} /,e:/$/},{b:/^\+{3}/,e:/$/},{b:/\*{5}/,e:/\*{5}$/}]},{cN:"addition",b:"^\\+",e:"$"},{cN:"deletion",b:"^\\-",e:"$"},{cN:"addition",b:"^\\!",e:"$"}]}});hljs.registerLanguage("gradle",function(e){return{cI:!0,k:{keyword:"task project allprojects subprojects artifacts buildscript configurations dependencies repositories sourceSets description delete from into include exclude source classpath destinationDir includes options sourceCompatibility targetCompatibility group flatDir doLast doFirst flatten todir fromdir ant def abstract break case catch continue default do else extends final finally for if implements instanceof native new private protected public return static switch synchronized throw throws transient try volatile while strictfp package import false null super this true antlrtask checkstyle codenarc copy boolean byte char class double float int interface long short void compile runTime file fileTree abs any append asList asWritable call collect compareTo count div dump each eachByte eachFile eachLine every find findAll flatten getAt getErr getIn getOut getText grep immutable inject inspect intersect invokeMethods isCase join leftShift minus multiply newInputStream newOutputStream newPrintWriter newReader newWriter next plus pop power previous print println push putAt read readBytes readLines reverse reverseEach round size sort splitEachLine step subMap times toInteger toList tokenize upto waitForOrKill withPrintWriter withReader withStream withWriter withWriterAppend write writeLine"},c:[e.CLCM,e.CBCM,e.ASM,e.QSM,e.NM,e.RM]}});hljs.registerLanguage("erlang",function(e){var r="[a-z'][a-zA-Z0-9_']*",c="("+r+":"+r+"|"+r+")",b={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},i=e.C("%","$"),n={cN:"number",b:"\\b(\\d+#[a-fA-F0-9]+|\\d+(\\.\\d+)?([eE][-+]?\\d+)?)",r:0},a={b:"fun\\s+"+r+"/\\d+"},d={b:c+"\\(",e:"\\)",rB:!0,r:0,c:[{b:c,r:0},{b:"\\(",e:"\\)",eW:!0,rE:!0,r:0}]},o={b:"{",e:"}",r:0},t={b:"\\b_([A-Z][A-Za-z0-9_]*)?",r:0},f={b:"[A-Z][a-zA-Z0-9_]*",r:0},l={b:"#"+e.UIR,r:0,rB:!0,c:[{b:"#"+e.UIR,r:0},{b:"{",e:"}",r:0}]},s={bK:"fun receive if try case",e:"end",k:b};s.c=[i,a,e.inherit(e.ASM,{cN:""}),s,d,e.QSM,n,o,t,f,l];var u=[i,a,s,d,e.QSM,n,o,t,f,l];d.c[1].c=u,o.c=u,l.c[1].c=u;var h={cN:"params",b:"\\(",e:"\\)",c:u};return{aliases:["erl"],k:b,i:"(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",c:[{cN:"function",b:"^"+r+"\\s*\\(",e:"->",rB:!0,i:"\\(|#|//|/\\*|\\\\|:|;",c:[h,e.inherit(e.TM,{b:r})],starts:{e:";|\\.",k:b,c:u}},i,{b:"^-",e:"\\.",r:0,eE:!0,rB:!0,l:"-"+e.IR,k:"-module -record -undef -export -ifdef -ifndef -author -copyright -doc -vsn -import -include -include_lib -compile -define -else -endif -file -behaviour -behavior -spec",c:[h]},n,e.QSM,l,t,f,o,{b:/\.$/}]}});hljs.registerLanguage("rust",function(e){var t="([ui](8|16|32|64|128|size)|f(32|64))?",r="alignof as be box break const continue crate do else enum extern false fn for if impl in let loop match mod mut offsetof once priv proc pub pure ref return self Self sizeof static struct super trait true type typeof unsafe unsized use virtual while where yield move default",n="drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!";return{aliases:["rs"],k:{keyword:r,literal:"true false Some None Ok Err",built_in:n},l:e.IR+"!?",i:"</",c:[e.CLCM,e.C("/\\*","\\*/",{c:["self"]}),e.inherit(e.QSM,{b:/b?"/,i:null}),{cN:"string",v:[{b:/r(#*)"(.|\n)*?"\1(?!#)/},{b:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{cN:"symbol",b:/'[a-zA-Z_][a-zA-Z0-9_]*/},{cN:"number",v:[{b:"\\b0b([01_]+)"+t},{b:"\\b0o([0-7_]+)"+t},{b:"\\b0x([A-Fa-f0-9_]+)"+t},{b:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+t}],r:0},{cN:"function",bK:"fn",e:"(\\(|<)",eE:!0,c:[e.UTM]},{cN:"meta",b:"#\\!?\\[",e:"\\]",c:[{cN:"meta-string",b:/"/,e:/"/}]},{cN:"class",bK:"type",e:";",c:[e.inherit(e.UTM,{endsParent:!0})],i:"\\S"},{cN:"class",bK:"trait enum struct union",e:"{",c:[e.inherit(e.UTM,{endsParent:!0})],i:"[\\w\\d]"},{b:e.IR+"::",k:{built_in:n}},{b:"->"}]}});hljs.registerLanguage("bash",function(e){var t={cN:"variable",v:[{b:/\$[\w\d#@][\w\d_]*/},{b:/\$\{(.*?)}/}]},s={cN:"string",b:/"/,e:/"/,c:[e.BE,t,{cN:"variable",b:/\$\(/,e:/\)/,c:[e.BE]}]},a={cN:"string",b:/'/,e:/'/};return{aliases:["sh","zsh"],l:/\b-?[a-z\._]+\b/,k:{keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp",_:"-ne -eq -lt -gt -f -d -e -s -l -a"},c:[{cN:"meta",b:/^#![^\n]+sh\s*$/,r:10},{cN:"function",b:/\w[\w\d_]*\s*\(\s*\)\s*\{/,rB:!0,c:[e.inherit(e.TM,{b:/\w[\w\d_]*/})],r:0},e.HCM,s,a,t]}});hljs.registerLanguage("php",function(e){var c={b:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"},i={cN:"meta",b:/<\?(php)?|\?>/},t={cN:"string",c:[e.BE,i],v:[{b:'b"',e:'"'},{b:"b'",e:"'"},e.inherit(e.ASM,{i:null}),e.inherit(e.QSM,{i:null})]},a={v:[e.BNM,e.CNM]};return{aliases:["php3","php4","php5","php6"],cI:!0,k:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",c:[e.HCM,e.C("//","$",{c:[i]}),e.C("/\\*","\\*/",{c:[{cN:"doctag",b:"@[A-Za-z]+"}]}),e.C("__halt_compiler.+?;",!1,{eW:!0,k:"__halt_compiler",l:e.UIR}),{cN:"string",b:/<<<['"]?\w+['"]?$/,e:/^\w+;?$/,c:[e.BE,{cN:"subst",v:[{b:/\$\w+/},{b:/\{\$/,e:/\}/}]}]},i,{cN:"keyword",b:/\$this\b/},c,{b:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{cN:"function",bK:"function",e:/[;{]/,eE:!0,i:"\\$|\\[|%",c:[e.UTM,{cN:"params",b:"\\(",e:"\\)",c:["self",c,e.CBCM,t,a]}]},{cN:"class",bK:"class interface",e:"{",eE:!0,i:/[:\(\$"]/,c:[{bK:"extends implements"},e.UTM]},{bK:"namespace",e:";",i:/[\.']/,c:[e.UTM]},{bK:"use",e:";",c:[e.UTM]},{b:"=>"},t,a]}});hljs.registerLanguage("python",function(e){var r={keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10 None True False",built_in:"Ellipsis NotImplemented"},b={cN:"meta",b:/^(>>>|\.\.\.) /},c={cN:"subst",b:/\{/,e:/\}/,k:r,i:/#/},a={cN:"string",c:[e.BE],v:[{b:/(u|b)?r?'''/,e:/'''/,c:[b],r:10},{b:/(u|b)?r?"""/,e:/"""/,c:[b],r:10},{b:/(fr|rf|f)'''/,e:/'''/,c:[b,c]},{b:/(fr|rf|f)"""/,e:/"""/,c:[b,c]},{b:/(u|r|ur)'/,e:/'/,r:10},{b:/(u|r|ur)"/,e:/"/,r:10},{b:/(b|br)'/,e:/'/},{b:/(b|br)"/,e:/"/},{b:/(fr|rf|f)'/,e:/'/,c:[c]},{b:/(fr|rf|f)"/,e:/"/,c:[c]},e.ASM,e.QSM]},s={cN:"number",r:0,v:[{b:e.BNR+"[lLjJ]?"},{b:"\\b(0o[0-7]+)[lLjJ]?"},{b:e.CNR+"[lLjJ]?"}]},i={cN:"params",b:/\(/,e:/\)/,c:["self",b,s,a]};return c.c=[a,s,b],{aliases:["py","gyp"],k:r,i:/(<\/|->|\?)|=>/,c:[b,s,a,e.HCM,{v:[{cN:"function",bK:"def"},{cN:"class",bK:"class"}],e:/:/,i:/[${=;\n,]/,c:[e.UTM,i,{b:/->/,eW:!0,k:"None"}]},{cN:"meta",b:/^[\t ]*@/,e:/$/},{b:/\b(print|exec)\(/}]}});hljs.registerLanguage("coffeescript",function(e){var c={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super yield import export from as default await then unless until loop of by when and or is isnt not",literal:"true false null undefined yes no on off",built_in:"npm require console print module global window document"},n="[A-Za-z$_][0-9A-Za-z$_]*",r={cN:"subst",b:/#\{/,e:/}/,k:c},i=[e.BNM,e.inherit(e.CNM,{starts:{e:"(\\s*/)?",r:0}}),{cN:"string",v:[{b:/'''/,e:/'''/,c:[e.BE]},{b:/'/,e:/'/,c:[e.BE]},{b:/"""/,e:/"""/,c:[e.BE,r]},{b:/"/,e:/"/,c:[e.BE,r]}]},{cN:"regexp",v:[{b:"///",e:"///",c:[r,e.HCM]},{b:"//[gim]*",r:0},{b:/\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W|$)/}]},{b:"@"+n},{sL:"javascript",eB:!0,eE:!0,v:[{b:"```",e:"```"},{b:"`",e:"`"}]}];r.c=i;var s=e.inherit(e.TM,{b:n}),t="(\\(.*\\))?\\s*\\B[-=]>",o={cN:"params",b:"\\([^\\(]",rB:!0,c:[{b:/\(/,e:/\)/,k:c,c:["self"].concat(i)}]};return{aliases:["coffee","cson","iced"],k:c,i:/\/\*/,c:i.concat([e.C("###","###"),e.HCM,{cN:"function",b:"^\\s*"+n+"\\s*=\\s*"+t,e:"[-=]>",rB:!0,c:[s,o]},{b:/[:\(,=]\s*/,r:0,c:[{cN:"function",b:t,e:"[-=]>",rB:!0,c:[o]}]},{cN:"class",bK:"class",e:"$",i:/[:="\[\]]/,c:[{bK:"extends",eW:!0,i:/[:="\[\]]/,c:[s]},s]},{b:n+":",e:":",rB:!0,rE:!0,r:0}])}});hljs.registerLanguage("julia",function(e){var r={keyword:"in isa where baremodule begin break catch ccall const continue do else elseif end export false finally for function global if import importall let local macro module quote return true try using while type immutable abstract bitstype typealias ",literal:"true false ARGS C_NULL DevNull ENDIAN_BOM ENV I Inf Inf16 Inf32 Inf64 InsertionSort JULIA_HOME LOAD_PATH MergeSort NaN NaN16 NaN32 NaN64 PROGRAM_FILE QuickSort RoundDown RoundFromZero RoundNearest RoundNearestTiesAway RoundNearestTiesUp RoundToZero RoundUp STDERR STDIN STDOUT VERSION catalan e|0 eu|0 eulergamma golden im nothing pi γ π φ ",built_in:"ANY AbstractArray AbstractChannel AbstractFloat AbstractMatrix AbstractRNG AbstractSerializer AbstractSet AbstractSparseArray AbstractSparseMatrix AbstractSparseVector AbstractString AbstractUnitRange AbstractVecOrMat AbstractVector Any ArgumentError Array AssertionError Associative Base64DecodePipe Base64EncodePipe Bidiagonal BigFloat BigInt BitArray BitMatrix BitVector Bool BoundsError BufferStream CachingPool CapturedException CartesianIndex CartesianRange Cchar Cdouble Cfloat Channel Char Cint Cintmax_t Clong Clonglong ClusterManager Cmd CodeInfo Colon Complex Complex128 Complex32 Complex64 CompositeException Condition ConjArray ConjMatrix ConjVector Cptrdiff_t Cshort Csize_t Cssize_t Cstring Cuchar Cuint Cuintmax_t Culong Culonglong Cushort Cwchar_t Cwstring DataType Date DateFormat DateTime DenseArray DenseMatrix DenseVecOrMat DenseVector Diagonal Dict DimensionMismatch Dims DirectIndexString Display DivideError DomainError EOFError EachLine Enum Enumerate ErrorException Exception ExponentialBackOff Expr Factorization FileMonitor Float16 Float32 Float64 Function Future GlobalRef GotoNode HTML Hermitian IO IOBuffer IOContext IOStream IPAddr IPv4 IPv6 IndexCartesian IndexLinear IndexStyle InexactError InitError Int Int128 Int16 Int32 Int64 Int8 IntSet Integer InterruptException InvalidStateException Irrational KeyError LabelNode LinSpace LineNumberNode LoadError LowerTriangular MIME Matrix MersenneTwister Method MethodError MethodTable Module NTuple NewvarNode NullException Nullable Number ObjectIdDict OrdinalRange OutOfMemoryError OverflowError Pair ParseError PartialQuickSort PermutedDimsArray Pipe PollingFileWatcher ProcessExitedException Ptr QuoteNode RandomDevice Range RangeIndex Rational RawFD ReadOnlyMemoryError Real ReentrantLock Ref Regex RegexMatch RemoteChannel RemoteException RevString RoundingMode RowVector SSAValue SegmentationFault SerializationState Set SharedArray SharedMatrix SharedVector Signed SimpleVector Slot SlotNumber SparseMatrixCSC SparseVector StackFrame StackOverflowError StackTrace StepRange StepRangeLen StridedArray StridedMatrix StridedVecOrMat StridedVector String SubArray SubString SymTridiagonal Symbol Symmetric SystemError TCPSocket Task Text TextDisplay Timer Tridiagonal Tuple Type TypeError TypeMapEntry TypeMapLevel TypeName TypeVar TypedSlot UDPSocket UInt UInt128 UInt16 UInt32 UInt64 UInt8 UndefRefError UndefVarError UnicodeError UniformScaling Union UnionAll UnitRange Unsigned UpperTriangular Val Vararg VecElement VecOrMat Vector VersionNumber Void WeakKeyDict WeakRef WorkerConfig WorkerPool "},t="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",a={l:t,k:r,i:/<\//},n={cN:"number",b:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,r:0},o={cN:"string",b:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},i={cN:"subst",b:/\$\(/,e:/\)/,k:r},l={cN:"variable",b:"\\$"+t},c={cN:"string",c:[e.BE,i,l],v:[{b:/\w*"""/,e:/"""\w*/,r:10},{b:/\w*"/,e:/"\w*/}]},s={cN:"string",c:[e.BE,i,l],b:"`",e:"`"},d={cN:"meta",b:"@"+t},u={cN:"comment",v:[{b:"#=",e:"=#",r:10},{b:"#",e:"$"}]};return a.c=[n,o,c,s,d,u,e.HCM,{cN:"keyword",b:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{b:/<:/}],i.c=a.c,a});hljs.registerLanguage("cpp",function(t){var e={cN:"keyword",b:"\\b[a-z\\d_]*_t\\b"},r={cN:"string",v:[{b:'(u8?|U)?L?"',e:'"',i:"\\n",c:[t.BE]},{b:'(u8?|U)?R"',e:'"',c:[t.BE]},{b:"'\\\\?.",e:"'",i:"."}]},s={cN:"number",v:[{b:"\\b(0b[01']+)"},{b:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{b:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],r:0},i={cN:"meta",b:/#\s*[a-z]+\b/,e:/$/,k:{"meta-keyword":"if else elif endif define undef warning error line pragma ifdef ifndef include"},c:[{b:/\\\n/,r:0},t.inherit(r,{cN:"meta-string"}),{cN:"meta-string",b:/<[^\n>]*>/,e:/$/,i:"\\n"},t.CLCM,t.CBCM]},a=t.IR+"\\s*\\(",c={keyword:"int float while private char catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignof constexpr decltype noexcept static_assert thread_local restrict _Bool complex _Complex _Imaginary atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and or not",built_in:"std string cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr",literal:"true false nullptr NULL"},n=[e,t.CLCM,t.CBCM,s,r];return{aliases:["c","cc","h","c++","h++","hpp"],k:c,i:"</",c:n.concat([i,{b:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",e:">",k:c,c:["self",e]},{b:t.IR+"::",k:c},{v:[{b:/=/,e:/;/},{b:/\(/,e:/\)/},{bK:"new throw return else",e:/;/}],k:c,c:n.concat([{b:/\(/,e:/\)/,k:c,c:n.concat(["self"]),r:0}]),r:0},{cN:"function",b:"("+t.IR+"[\\*&\\s]+)+"+a,rB:!0,e:/[{;=]/,eE:!0,k:c,i:/[^\w\s\*&]/,c:[{b:a,rB:!0,c:[t.TM],r:0},{cN:"params",b:/\(/,e:/\)/,k:c,r:0,c:[t.CLCM,t.CBCM,r,s,e]},t.CLCM,t.CBCM,i]},{cN:"class",bK:"class struct",e:/[{;:]/,c:[{b:/</,e:/>/,c:["self"]},t.TM]}]),exports:{preprocessor:i,strings:r,k:c}}});hljs.registerLanguage("ruby",function(e){var b="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",r={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",literal:"true false nil"},c={cN:"doctag",b:"@[A-Za-z]+"},a={b:"#<",e:">"},s=[e.C("#","$",{c:[c]}),e.C("^\\=begin","^\\=end",{c:[c],r:10}),e.C("^__END__","\\n$")],n={cN:"subst",b:"#\\{",e:"}",k:r},t={cN:"string",c:[e.BE,n],v:[{b:/'/,e:/'/},{b:/"/,e:/"/},{b:/`/,e:/`/},{b:"%[qQwWx]?\\(",e:"\\)"},{b:"%[qQwWx]?\\[",e:"\\]"},{b:"%[qQwWx]?{",e:"}"},{b:"%[qQwWx]?<",e:">"},{b:"%[qQwWx]?/",e:"/"},{b:"%[qQwWx]?%",e:"%"},{b:"%[qQwWx]?-",e:"-"},{b:"%[qQwWx]?\\|",e:"\\|"},{b:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/},{b:/<<(-?)\w+$/,e:/^\s*\w+$/}]},i={cN:"params",b:"\\(",e:"\\)",endsParent:!0,k:r},d=[t,a,{cN:"class",bK:"class module",e:"$|;",i:/=/,c:[e.inherit(e.TM,{b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{b:"<\\s*",c:[{b:"("+e.IR+"::)?"+e.IR}]}].concat(s)},{cN:"function",bK:"def",e:"$|;",c:[e.inherit(e.TM,{b:b}),i].concat(s)},{b:e.IR+"::"},{cN:"symbol",b:e.UIR+"(\\!|\\?)?:",r:0},{cN:"symbol",b:":(?!\\s)",c:[t,{b:b}],r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{cN:"params",b:/\|/,e:/\|/,k:r},{b:"("+e.RSR+"|unless)\\s*",k:"unless",c:[a,{cN:"regexp",c:[e.BE,n],i:/\n/,v:[{b:"/",e:"/[a-z]*"},{b:"%r{",e:"}[a-z]*"},{b:"%r\\(",e:"\\)[a-z]*"},{b:"%r!",e:"![a-z]*"},{b:"%r\\[",e:"\\][a-z]*"}]}].concat(s),r:0}].concat(s);n.c=d,i.c=d;var l="[>?]>",o="[\\w#]+\\(\\w+\\):\\d+:\\d+>",u="(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>",w=[{b:/^\s*=>/,starts:{e:"$",c:d}},{cN:"meta",b:"^("+l+"|"+o+"|"+u+")",starts:{e:"$",c:d}}];return{aliases:["rb","gemspec","podspec","thor","irb"],k:r,i:/\/\*/,c:s.concat(w).concat(d)}});hljs.registerLanguage("yaml",function(e){var b="true false yes no null",a="^[ \\-]*",r="[a-zA-Z_][\\w\\-]*",t={cN:"attr",v:[{b:a+r+":"},{b:a+'"'+r+'":'},{b:a+"'"+r+"':"}]},c={cN:"template-variable",v:[{b:"{{",e:"}}"},{b:"%{",e:"}"}]},l={cN:"string",r:0,v:[{b:/'/,e:/'/},{b:/"/,e:/"/},{b:/\S+/}],c:[e.BE,c]};return{cI:!0,aliases:["yml","YAML","yaml"],c:[t,{cN:"meta",b:"^---s*$",r:10},{cN:"string",b:"[\\|>] *$",rE:!0,c:l.c,e:t.v[0].b},{b:"<%[%=-]?",e:"[%-]?%>",sL:"ruby",eB:!0,eE:!0,r:0},{cN:"type",b:"!!"+e.UIR},{cN:"meta",b:"&"+e.UIR+"$"},{cN:"meta",b:"\\*"+e.UIR+"$"},{cN:"bullet",b:"^ *-",r:0},e.HCM,{bK:b,k:{literal:b}},e.CNM,l]}});hljs.registerLanguage("haskell",function(e){var i={v:[e.C("--","$"),e.C("{-","-}",{c:["self"]})]},a={cN:"meta",b:"{-#",e:"#-}"},l={cN:"meta",b:"^#",e:"$"},c={cN:"type",b:"\\b[A-Z][\\w']*",r:0},n={b:"\\(",e:"\\)",i:'"',c:[a,l,{cN:"type",b:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TM,{b:"[_a-z][\\w']*"}),i]},s={b:"{",e:"}",c:n.c};return{aliases:["hs"],k:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",c:[{bK:"module",e:"where",k:"module where",c:[n,i],i:"\\W\\.|;"},{b:"\\bimport\\b",e:"$",k:"import qualified as hiding",c:[n,i],i:"\\W\\.|;"},{cN:"class",b:"^(\\s*)?(class|instance)\\b",e:"where",k:"class family instance where",c:[c,n,i]},{cN:"class",b:"\\b(data|(new)?type)\\b",e:"$",k:"data family type newtype deriving",c:[a,c,n,s,i]},{bK:"default",e:"$",c:[c,n,i]},{bK:"infix infixl infixr",e:"$",c:[e.CNM,i]},{b:"\\bforeign\\b",e:"$",k:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",c:[c,e.QSM,i]},{cN:"meta",b:"#!\\/usr\\/bin\\/env runhaskell",e:"$"},a,l,e.QSM,e.CNM,c,e.inherit(e.TM,{b:"^[_a-z][\\w']*"}),i,{b:"->|<-"}]}});hljs.registerLanguage("cs",function(e){var i={keyword:"abstract as base bool break byte case catch char checked const continue decimal default delegate do double enum event explicit extern finally fixed float for foreach goto if implicit in int interface internal is lock long nameof object operator out override params private protected public readonly ref sbyte sealed short sizeof stackalloc static string struct switch this try typeof uint ulong unchecked unsafe ushort using virtual void volatile while add alias ascending async await by descending dynamic equals from get global group into join let on orderby partial remove select set value var where yield",literal:"null false true"},t={cN:"string",b:'@"',e:'"',c:[{b:'""'}]},r=e.inherit(t,{i:/\n/}),a={cN:"subst",b:"{",e:"}",k:i},c=e.inherit(a,{i:/\n/}),n={cN:"string",b:/\$"/,e:'"',i:/\n/,c:[{b:"{{"},{b:"}}"},e.BE,c]},s={cN:"string",b:/\$@"/,e:'"',c:[{b:"{{"},{b:"}}"},{b:'""'},a]},o=e.inherit(s,{i:/\n/,c:[{b:"{{"},{b:"}}"},{b:'""'},c]});a.c=[s,n,t,e.ASM,e.QSM,e.CNM,e.CBCM],c.c=[o,n,r,e.ASM,e.QSM,e.CNM,e.inherit(e.CBCM,{i:/\n/})];var l={v:[s,n,t,e.ASM,e.QSM]},b=e.IR+"(<"+e.IR+"(\\s*,\\s*"+e.IR+")*>)?(\\[\\])?";return{aliases:["csharp"],k:i,i:/::/,c:[e.C("///","$",{rB:!0,c:[{cN:"doctag",v:[{b:"///",r:0},{b:"<!--|-->"},{b:"</?",e:">"}]}]}),e.CLCM,e.CBCM,{cN:"meta",b:"#",e:"$",k:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},l,e.CNM,{bK:"class interface",e:/[{;=]/,i:/[^\s:]/,c:[e.TM,e.CLCM,e.CBCM]},{bK:"namespace",e:/[{;=]/,i:/[^\s:]/,c:[e.inherit(e.TM,{b:"[a-zA-Z](\\.?\\w)*"}),e.CLCM,e.CBCM]},{cN:"meta",b:"^\\s*\\[",eB:!0,e:"\\]",eE:!0,c:[{cN:"meta-string",b:/"/,e:/"/}]},{bK:"new return throw await else",r:0},{cN:"function",b:"("+b+"\\s+)+"+e.IR+"\\s*\\(",rB:!0,e:/[{;=]/,eE:!0,k:i,c:[{b:e.IR+"\\s*\\(",rB:!0,c:[e.TM],r:0},{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,k:i,r:0,c:[l,e.CNM,e.CBCM]},e.CLCM,e.CBCM]}]}});hljs.registerLanguage("lisp",function(b){var e="[a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\#!]*",c="\\|[^]*?\\|",r="(\\-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|\\-)?\\d+)?",a={cN:"meta",b:"^#!",e:"$"},l={cN:"literal",b:"\\b(t{1}|nil)\\b"},n={cN:"number",v:[{b:r,r:0},{b:"#(b|B)[0-1]+(/[0-1]+)?"},{b:"#(o|O)[0-7]+(/[0-7]+)?"},{b:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{b:"#(c|C)\\("+r+" +"+r,e:"\\)"}]},i=b.inherit(b.QSM,{i:null}),t=b.C(";","$",{r:0}),s={b:"\\*",e:"\\*"},u={cN:"symbol",b:"[:&]"+e},d={b:e,r:0},f={b:c},m={b:"\\(",e:"\\)",c:["self",l,i,n,d]},o={c:[n,i,s,u,m,d],v:[{b:"['`]\\(",e:"\\)"},{b:"\\(quote ",e:"\\)",k:{name:"quote"}},{b:"'"+c}]},v={v:[{b:"'"+e},{b:"#'"+e+"(::"+e+")*"}]},N={b:"\\(\\s*",e:"\\)"},A={eW:!0,r:0};return N.c=[{cN:"name",v:[{b:e},{b:c}]},A],A.c=[o,v,N,l,n,i,t,s,u,f,d],{i:/\S/,c:[n,a,l,i,t,o,v,N,d]}});hljs.registerLanguage("shell",function(s){return{aliases:["console"],c:[{cN:"meta",b:"^\\s{0,3}[\\w\\d\\[\\]()@-]*[>%$#]",starts:{e:"$",sL:"bash"}}]}});hljs.registerLanguage("elm",function(e){var i={v:[e.C("--","$"),e.C("{-","-}",{c:["self"]})]},t={cN:"type",b:"\\b[A-Z][\\w']*",r:0},c={b:"\\(",e:"\\)",i:'"',c:[{cN:"type",b:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},i]},n={b:"{",e:"}",c:c.c};return{k:"let in if then else case of where module import exposing type alias as infix infixl infixr port effect command subscription",c:[{bK:"port effect module",e:"exposing",k:"port effect module where command subscription exposing",c:[c,i],i:"\\W\\.|;"},{b:"import",e:"$",k:"import as exposing",c:[c,i],i:"\\W\\.|;"},{b:"type",e:"$",k:"type alias",c:[t,c,n,i]},{bK:"infix infixl infixr",e:"$",c:[e.CNM,i]},{b:"port",e:"$",k:"port",c:[i]},e.QSM,e.CNM,t,e.inherit(e.TM,{b:"^[_a-z][\\w']*"}),i,{b:"->|<-"}],i:/;/}});hljs.registerLanguage("css",function(e){var c="[a-zA-Z-][a-zA-Z0-9_-]*",t={b:/[A-Z\_\.\-]+\s*:/,rB:!0,e:";",eW:!0,c:[{cN:"attribute",b:/\S/,e:":",eE:!0,starts:{eW:!0,eE:!0,c:[{b:/[\w-]+\(/,rB:!0,c:[{cN:"built_in",b:/[\w-]+/},{b:/\(/,e:/\)/,c:[e.ASM,e.QSM]}]},e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:"number",b:"#[0-9A-Fa-f]+"},{cN:"meta",b:"!important"}]}}]};return{cI:!0,i:/[=\/|'\$]/,c:[e.CBCM,{cN:"selector-id",b:/#[A-Za-z0-9_-]+/},{cN:"selector-class",b:/\.[A-Za-z0-9_-]+/},{cN:"selector-attr",b:/\[/,e:/\]/,i:"$"},{cN:"selector-pseudo",b:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{b:"@(font-face|page)",l:"[a-z-]+",k:"font-face page"},{b:"@",e:"[{;]",i:/:/,c:[{cN:"keyword",b:/\w+/},{b:/\s/,eW:!0,eE:!0,r:0,c:[e.ASM,e.QSM,e.CSSNM]}]},{cN:"selector-tag",b:c,r:0},{b:"{",e:"}",i:/\S/,c:[e.CBCM,t]}]}});hljs.registerLanguage("nginx",function(e){var r={cN:"variable",v:[{b:/\$\d+/},{b:/\$\{/,e:/}/},{b:"[\\$\\@]"+e.UIR}]},b={eW:!0,l:"[a-z/_]+",k:{literal:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},r:0,i:"=>",c:[e.HCM,{cN:"string",c:[e.BE,r],v:[{b:/"/,e:/"/},{b:/'/,e:/'/}]},{b:"([a-z]+):/",e:"\\s",eW:!0,eE:!0,c:[r]},{cN:"regexp",c:[e.BE,r],v:[{b:"\\s\\^",e:"\\s|{|;",rE:!0},{b:"~\\*?\\s+",e:"\\s|{|;",rE:!0},{b:"\\*(\\.[a-z\\-]+)+"},{b:"([a-z\\-]+\\.)+\\*"}]},{cN:"number",b:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{cN:"number",b:"\\b\\d+[kKmMgGdshdwy]*\\b",r:0},r]};return{aliases:["nginxconf"],c:[e.HCM,{b:e.UIR+"\\s+{",rB:!0,e:"{",c:[{cN:"section",b:e.UIR}],r:0},{b:e.UIR+"\\s",e:";|{",rB:!0,c:[{cN:"attribute",b:e.UIR,starts:b}],r:0}],i:"[^\\s\\}]"}});hljs.registerLanguage("java",function(e){var a="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",t=a+"(<"+a+"(\\s*,\\s*"+a+")*>)?",r="false synchronized int abstract float private char boolean static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",s="\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",c={cN:"number",b:s,r:0};return{aliases:["jsp"],k:r,i:/<\/|#/,c:[e.C("/\\*\\*","\\*/",{r:0,c:[{b:/\w+@/,r:0},{cN:"doctag",b:"@[A-Za-z]+"}]}),e.CLCM,e.CBCM,e.ASM,e.QSM,{cN:"class",bK:"class interface",e:/[{;=]/,eE:!0,k:"class interface",i:/[:"\[\]]/,c:[{bK:"extends implements"},e.UTM]},{bK:"new throw return else",r:0},{cN:"function",b:"("+t+"\\s+)+"+e.UIR+"\\s*\\(",rB:!0,e:/[{;=]/,eE:!0,k:r,c:[{b:e.UIR+"\\s*\\(",rB:!0,r:0,c:[e.UTM]},{cN:"params",b:/\(/,e:/\)/,k:r,r:0,c:[e.ASM,e.QSM,e.CNM,e.CBCM]},e.CLCM,e.CBCM]},c,{cN:"meta",b:"@[A-Za-z]+"}]}});hljs.registerLanguage("makefile",function(e){var i={cN:"variable",v:[{b:"\\$\\("+e.UIR+"\\)",c:[e.BE]},{b:/\$[@%<?\^\+\*]/}]},r={cN:"string",b:/"/,e:/"/,c:[e.BE,i]},a={cN:"variable",b:/\$\([\w-]+\s/,e:/\)/,k:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},c:[i]},n={b:"^"+e.UIR+"\\s*[:+?]?=",i:"\\n",rB:!0,c:[{b:"^"+e.UIR,e:"[:+?]?=",eE:!0}]},t={cN:"meta",b:/^\.PHONY:/,e:/$/,k:{"meta-keyword":".PHONY"},l:/[\.\w]+/},l={cN:"section",b:/^[^\s]+:/,e:/$/,c:[i]};return{aliases:["mk","mak"],k:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath",l:/[\w-]+/,c:[e.HCM,i,r,a,n,t,l]}});hljs.registerLanguage("haml",function(s){return{cI:!0,c:[{cN:"meta",b:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",r:10},s.C("^\\s*(!=#|=#|-#|/).*$",!1,{r:0}),{b:"^\\s*(-|=|!=)(?!#)",starts:{e:"\\n",sL:"ruby"}},{cN:"tag",b:"^\\s*%",c:[{cN:"selector-tag",b:"\\w+"},{cN:"selector-id",b:"#[\\w-]+"},{cN:"selector-class",b:"\\.[\\w-]+"},{b:"{\\s*",e:"\\s*}",c:[{b:":\\w+\\s*=>",e:",\\s+",rB:!0,eW:!0,c:[{cN:"attr",b:":\\w+"},s.ASM,s.QSM,{b:"\\w+",r:0}]}]},{b:"\\(\\s*",e:"\\s*\\)",eE:!0,c:[{b:"\\w+\\s*=",e:"\\s+",rB:!0,eW:!0,c:[{cN:"attr",b:"\\w+",r:0},s.ASM,s.QSM,{b:"\\w+",r:0}]}]}]},{b:"^\\s*[=~]\\s*"},{b:"#{",starts:{e:"}",sL:"ruby"}}]}});hljs.registerLanguage("http",function(e){var t="HTTP/[0-9\\.]+";return{aliases:["https"],i:"\\S",c:[{b:"^"+t,e:"$",c:[{cN:"number",b:"\\b\\d{3}\\b"}]},{b:"^[A-Z]+ (.*?) "+t+"$",rB:!0,e:"$",c:[{cN:"string",b:" ",e:" ",eB:!0,eE:!0},{b:t},{cN:"keyword",b:"[A-Z]+"}]},{cN:"attribute",b:"^\\w",e:": ",eE:!0,i:"\\n|\\s|=",starts:{e:"$",r:0}},{b:"\\n\\n",starts:{sL:[],eW:!0}}]}});hljs.registerLanguage("lua",function(e){var t="\\[=*\\[",a="\\]=*\\]",r={b:t,e:a,c:["self"]},n=[e.C("--(?!"+t+")","$"),e.C("--"+t,a,{c:[r],r:10})];return{l:e.UIR,k:{literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstringmodule next pairs pcall print rawequal rawget rawset require select setfenvsetmetatable tonumber tostring type unpack xpcall arg selfcoroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},c:n.concat([{cN:"function",bK:"function",e:"\\)",c:[e.inherit(e.TM,{b:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{cN:"params",b:"\\(",eW:!0,c:n}].concat(n)},e.CNM,e.ASM,e.QSM,{cN:"string",b:t,e:a,c:[r],r:5}])}});hljs.registerLanguage("javascript",function(e){var r="[A-Za-z$_][0-9A-Za-z$_]*",t={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},a={cN:"number",v:[{b:"\\b(0[bB][01]+)"},{b:"\\b(0[oO][0-7]+)"},{b:e.CNR}],r:0},n={cN:"subst",b:"\\$\\{",e:"\\}",k:t,c:[]},c={cN:"string",b:"`",e:"`",c:[e.BE,n]};n.c=[e.ASM,e.QSM,c,a,e.RM];var s=n.c.concat([e.CBCM,e.CLCM]);return{aliases:["js","jsx"],k:t,c:[{cN:"meta",r:10,b:/^\s*['"]use (strict|asm)['"]/},{cN:"meta",b:/^#!/,e:/$/},e.ASM,e.QSM,c,e.CLCM,e.CBCM,a,{b:/[{,]\s*/,r:0,c:[{b:r+"\\s*:",rB:!0,r:0,c:[{cN:"attr",b:r,r:0}]}]},{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{cN:"function",b:"(\\(.*?\\)|"+r+")\\s*=>",rB:!0,e:"\\s*=>",c:[{cN:"params",v:[{b:r},{b:/\(\s*\)/},{b:/\(/,e:/\)/,eB:!0,eE:!0,k:t,c:s}]}]},{b:/</,e:/(\/\w+|\w+\/)>/,sL:"xml",c:[{b:/<\w+\s*\/>/,skip:!0},{b:/<\w+/,e:/(\/\w+|\w+\/)>/,skip:!0,c:[{b:/<\w+\s*\/>/,skip:!0},"self"]}]}],r:0},{cN:"function",bK:"function",e:/\{/,eE:!0,c:[e.inherit(e.TM,{b:r}),{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,c:s}],i:/\[|%/},{b:/\$[(.]/},e.METHOD_GUARD,{cN:"class",bK:"class",e:/[{;=]/,eE:!0,i:/[:"\[\]]/,c:[{bK:"extends"},e.UTM]},{bK:"constructor",e:/\{/,eE:!0}],i:/#(?!!)/}});hljs.registerLanguage("apache",function(e){var r={cN:"number",b:"[\\$%]\\d+"};return{aliases:["apacheconf"],cI:!0,c:[e.HCM,{cN:"section",b:"</?",e:">"},{cN:"attribute",b:/\w+/,r:0,k:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{e:/$/,r:0,k:{literal:"on off all"},c:[{cN:"meta",b:"\\s\\[",e:"\\]$"},{cN:"variable",b:"[\\$%]\\{",e:"\\}",c:["self",r]},r,e.QSM]}}],i:/\S/}});hljs.registerLanguage("xml",function(s){var e="[A-Za-z0-9\\._:-]+",t={eW:!0,i:/</,r:0,c:[{cN:"attr",b:e,r:0},{b:/=\s*/,r:0,c:[{cN:"string",endsParent:!0,v:[{b:/"/,e:/"/},{b:/'/,e:/'/},{b:/[^\s"'=<>`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],cI:!0,c:[{cN:"meta",b:"<!DOCTYPE",e:">",r:10,c:[{b:"\\[",e:"\\]"}]},s.C("<!--","-->",{r:10}),{b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{b:/<\?(php)?/,e:/\?>/,sL:"php",c:[{b:"/\\*",e:"\\*/",skip:!0}]},{cN:"tag",b:"<style(?=\\s|>|$)",e:">",k:{name:"style"},c:[t],starts:{e:"</style>",rE:!0,sL:["css","xml"]}},{cN:"tag",b:"<script(?=\\s|>|$)",e:">",k:{name:"script"},c:[t],starts:{e:"</script>",rE:!0,sL:["actionscript","javascript","handlebars","xml"]}},{cN:"meta",v:[{b:/<\?xml/,e:/\?>/,r:10},{b:/<\?\w+/,e:/\?>/}]},{cN:"tag",b:"</?",e:"/?>",c:[{cN:"name",b:/[^\/><\s]+/,r:0},t]}]}});hljs.registerLanguage("markdown",function(e){return{aliases:["md","mkdown","mkd"],c:[{cN:"section",v:[{b:"^#{1,6}",e:"$"},{b:"^.+?\\n[=-]{2,}$"}]},{b:"<",e:">",sL:"xml",r:0},{cN:"bullet",b:"^([*+-]|(\\d+\\.))\\s+"},{cN:"strong",b:"[*_]{2}.+?[*_]{2}"},{cN:"emphasis",v:[{b:"\\*.+?\\*"},{b:"_.+?_",r:0}]},{cN:"quote",b:"^>\\s+",e:"$"},{cN:"code",v:[{b:"^```w*s*$",e:"^```s*$"},{b:"`.+?`"},{b:"^( {4}| )",e:"$",r:0}]},{b:"^[-\\*]{3,}",e:"$"},{b:"\\[.+?\\][\\(\\[].*?[\\)\\]]",rB:!0,c:[{cN:"string",b:"\\[",e:"\\]",eB:!0,rE:!0,r:0},{cN:"link",b:"\\]\\(",e:"\\)",eB:!0,eE:!0},{cN:"symbol",b:"\\]\\[",e:"\\]",eB:!0,eE:!0}],r:10},{b:/^\[[^\n]+\]:/,rB:!0,c:[{cN:"symbol",b:/\[/,e:/\]/,eB:!0,eE:!0},{cN:"link",b:/:\s*/,e:/$/,eB:!0}]}]}});hljs.registerLanguage("scala",function(e){var t={cN:"meta",b:"@[A-Za-z]+"},a={cN:"subst",v:[{b:"\\$[A-Za-z0-9_]+"},{b:"\\${",e:"}"}]},r={cN:"string",v:[{b:'"',e:'"',i:"\\n",c:[e.BE]},{b:'"""',e:'"""',r:10},{b:'[a-z]+"',e:'"',i:"\\n",c:[e.BE,a]},{cN:"string",b:'[a-z]+"""',e:'"""',c:[a],r:10}]},c={cN:"symbol",b:"'\\w[\\w\\d_]*(?!')"},i={cN:"type",b:"\\b[A-Z][A-Za-z0-9_]*",r:0},s={cN:"title",b:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,r:0},n={cN:"class",bK:"class object trait type",e:/[:={\[\n;]/,eE:!0,c:[{bK:"extends with",r:10},{b:/\[/,e:/\]/,eB:!0,eE:!0,r:0,c:[i]},{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,r:0,c:[i]},s]},l={cN:"function",bK:"def",e:/[:={\[(\n;]/,eE:!0,c:[s]};return{k:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},c:[e.CLCM,e.CBCM,r,c,i,l,n,e.CNM,t]}});hljs.registerLanguage("json",function(e){var i={literal:"true false null"},n=[e.QSM,e.CNM],r={e:",",eW:!0,eE:!0,c:n,k:i},t={b:"{",e:"}",c:[{cN:"attr",b:/"/,e:/"/,c:[e.BE],i:"\\n"},e.inherit(r,{b:/:/})],i:"\\S"},c={b:"\\[",e:"\\]",c:[e.inherit(r)],i:"\\S"};return n.splice(n.length,0,t,c),{c:n,k:i,i:"\\S"}});hljs.registerLanguage("kotlin",function(e){var t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit initinterface annotation data sealed internal infix operator out by constructor super trait volatile transient native default",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},r={cN:"keyword",b:/\b(break|continue|return|this)\b/,starts:{c:[{cN:"symbol",b:/@\w+/}]}},i={cN:"symbol",b:e.UIR+"@"},n={cN:"subst",b:"\\${",e:"}",c:[e.ASM,e.CNM]},a={cN:"variable",b:"\\$"+e.UIR},c={cN:"string",v:[{b:'"""',e:'"""',c:[a,n]},{b:"'",e:"'",i:/\n/,c:[e.BE]},{b:'"',e:'"',i:/\n/,c:[e.BE,a,n]}]},s={cN:"meta",b:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UIR+")?"},o={cN:"meta",b:"@"+e.UIR,c:[{b:/\(/,e:/\)/,c:[e.inherit(c,{cN:"meta-string"})]}]};return{k:t,c:[e.C("/\\*\\*","\\*/",{r:0,c:[{cN:"doctag",b:"@[A-Za-z]+"}]}),e.CLCM,e.CBCM,r,i,s,o,{cN:"function",bK:"fun",e:"[(]|$",rB:!0,eE:!0,k:t,i:/fun\s+(<.*>)?[^\s\(]+(\s+[^\s\(]+)\s*=/,r:5,c:[{b:e.UIR+"\\s*\\(",rB:!0,r:0,c:[e.UTM]},{cN:"type",b:/</,e:/>/,k:"reified",r:0},{cN:"params",b:/\(/,e:/\)/,endsParent:!0,k:t,r:0,c:[{b:/:/,e:/[=,\/]/,eW:!0,c:[{cN:"type",b:e.UIR},e.CLCM,e.CBCM],r:0},e.CLCM,e.CBCM,s,o,c,e.CNM]},e.CBCM]},{cN:"class",bK:"class interface trait",e:/[:\{(]|$/,eE:!0,i:"extends implements",c:[{bK:"public protected internal private constructor"},e.UTM,{cN:"type",b:/</,e:/>/,eB:!0,eE:!0,r:0},{cN:"type",b:/[,:]\s*/,e:/[<\(,]|$/,eB:!0,rE:!0},s,o]},c,{cN:"meta",b:"^#!/usr/bin/env",e:"$",i:"\n"},e.CNM]}});
/// BareSpecifier=prismjs/components/prism-javastacktrace.min Prism.languages.javastacktrace = { summary: { pattern: /^[\t ]*(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?:\:.*)?$/m, inside: { keyword: { pattern: /^(\s*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m, lookbehind: !0 }, string: { pattern: /^(\s*)"[^"]*"/, lookbehind: !0 }, exceptions: { pattern: /^(:?\s*)[\w$.]+(?=:|$)/, lookbehind: !0, inside: { "class-name": /[\w$]+(?=$|:)/, namespace: /[a-z]\w*/, punctuation: /[.:]/ } }, message: { pattern: /(:\s*)\S.*/, lookbehind: !0, alias: "string" }, punctuation: /[:]/ } }, "stack-frame": { pattern: /^[\t ]*at (?:[\w$./]|@[\w$.+-]*\/)+(?:<init>)?\([^()]*\)/m, inside: { keyword: { pattern: /^(\s*)at(?= )/, lookbehind: !0 }, source: [{ pattern: /(\()\w+\.\w+:\d+(?=\))/, lookbehind: !0, inside: { file: /^\w+\.\w+/, punctuation: /:/, "line-number": { pattern: /\d+/, alias: "number" } } }, { pattern: /(\()[^()]*(?=\))/, lookbehind: !0, inside: { keyword: /^(?:Unknown Source|Native Method)$/ } }], "class-name": /[\w$]+(?=\.(?:<init>|[\w$]+)\()/, function: /(?:<init>|[\w$]+)(?=\()/, "class-loader": { pattern: /(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/, lookbehind: !0, alias: "namespace", inside: { punctuation: /\./ } }, module: { pattern: /([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/, lookbehind: !0, inside: { version: { pattern: /(@)[\s\S]+/, lookbehind: !0, alias: "number" }, punctuation: /[@.]/ } }, namespace: { pattern: /(?:[a-z]\w*\.)+/, inside: { punctuation: /\./ } }, punctuation: /[()/.]/ } }, more: { pattern: /^[\t ]*\.{3} \d+ [a-z]+(?: [a-z]+)*/m, inside: { punctuation: /\.{3}/, number: /\d+/, keyword: /\b[a-z]+(?: [a-z]+)*\b/ } } };
const isBrowserTabFocused = () => !document.hidden; module.exports = isBrowserTabFocused;
import React from 'react'; import { shallow } from 'enzyme'; import { AddExpensePage } from '../../components/AddExpensePage'; import expenses from '../fixtures/expenses'; let addExpense, history, wrapper; beforeEach(() => { addExpense = jest.fn(); history = { push: jest.fn() }; wrapper = shallow(<AddExpensePage addExpense={addExpense} history={history} />); }); test('should render AddExpensePage correctly', () => { expect(wrapper).toMatchSnapshot(); }); test('should handle onSubmit', () => { // In order to trigger onSubmit, we must find the form within the wrapper // Then execute the prop obtained with the prop funciton. wrapper.find('ExpenseForm').prop('onSubmit')(expenses[1]) expect(history.push).toHaveBeenLastCalledWith('/'); expect(addExpense).toHaveBeenLastCalledWith(expenses[1]); });
#!/usr/bin/env node const exec = require('child_process').exec const alert = require('./') if (process.argv.length !== 3) { console.log('You need to specify one argument') return } exec(alert(process.argv[2]))
/** * */ ; (function($, window, document, undefined) { var pluginName = "accessHistoryEditPane"; var defaults = { id : "", parent : "", entity : "", }; var EditPanel = function(element, options) { this.element = element; this.options = $.extend({ id : "", parent : "", entity : "", }, defaults, options); this._defaults = defaults; this.entity = options.entity; this._name = pluginName; this.pagesize = 30; this.init(options); }; EditPanel.prototype.loadPane = function() { this.init(this.options); }; EditPanel.prototype.init = function(options) { var modalframe = document.createElement("div"); this.element.appendChild(modalframe); var toolbarForm = document.createElement("form"); toolbarForm.className = "form-inline"; modalframe.appendChild(toolbarForm); var toolbarDiv = document.createElement("DIV"); toolbarForm.appendChild(toolbarDiv); toolbarDiv.style.margin = "0px"; toolbarDiv.style.padding = "2px"; this.createNavigationGroup(toolbarDiv); this.createSearchGroup(toolbarDiv); var tableDiv = document.createElement("DIV"); modalframe.appendChild(tableDiv); tableDiv.id = "tablediv" + options.id; tableDiv.className = "table-responsive"; tableDiv.style.overflowY = "auto"; tableDiv.style.overflowX = "auto"; tableDiv.style.height = (parseInt(options.topparent.style.height) - 82) + "px"; this.list = document.createElement("table"); this.list.className = "table table-striped table-hover"; tableDiv.appendChild(this.list); // var p2 = $(this.element).editAccessControlDialog({ // id : "editAccessControl028", // title : "轩琦科技 - 访问控制", // parent : this, // entity : this.entity, // }); // this.editAccessControlDialog = p2.data("editAccessControlDialog"); this.loading(this.entity, 1, this.pagesize, ""); }; EditPanel.prototype.loading = function(entity, pageno, pagesize, condition) { this.entity = entity; // $("#progressbar").show(); // var that = this; // $.getJSON(service.api(17), { // appid : entity.id, // pn : pageno, // psz : pagesize, // cond : condition, // }).complete(function(data) { // that.loadData(data.responseJSON); // $("#progressbar").hide(); // }); this.loadData(null); }; EditPanel.prototype.loadData = function(jsonobj) { this.currpage = new Page(); if (jsonobj != null) { this.currpage.parseFromJSON(jsonobj); $(this.list).children().remove(); this.currSelectedRow = -1; } var objs = this.currpage.pageEntities; if (objs != null && objs.length > 0) { for (var i = 0; i < objs.length; i++) { var acctrl = new AppServiceAccessControl(); acctrl.parse(objs[i]); var row = this.list.insertRow(-1); row.addEventListener("click", this, false); row.setAttribute("orgid", acctrl.organizationId); if (acctrl.organizationName == null) { this.createCell(0, "全部", row); } else { this.createCell(0, acctrl.organizationName, row); } this.createCell(1, acctrl.createDateTime, row); this.createCell(2, acctrl.accessCounting, row); } if (objs.length < 30) { for (var i = objs.length; i < 30; i++) { var row = this.list.insertRow(i); for (var j = 0; j < 6; j++) { this.createCell(j, "&nbsp;", row); } } } } else { this.initList(); } this.addHeader(); this.pageno.innerHTML = "第" + this.currpage.pageNo + "页"; this.totalpage.innerHTML = "/共" + this.currpage.allPagesCount + "页"; if (this.currpage.allPagesCount <= 1) { this.disableButton(this.firstPageHButton); this.disableButton(this.previousPageHButton); this.disableButton(this.nextPageHButton); this.disableButton(this.lastPageHButton); } else if (this.currpage.allPagesCount > 1) { if (this.currpage.pageNo == 1) { this.disableButton(this.firstPageHButton); this.disableButton(this.previousPageHButton); this.enableButton(this.nextPageHButton); this.enableButton(this.lastPageHButton); } else if (this.currpage.pageNo == this.currpage.allPagesCount) { this.enableButton(this.firstPageHButton); this.enableButton(this.previousPageHButton); this.disableButton(this.nextPageHButton); this.disableButton(this.lastPageHButton); } else if (this.currpage.pageNo > 1 && this.currpage.pageNo < this.currpage.allPagesCount) { this.enableButton(this.firstPageHButton); this.enableButton(this.previousPageHButton); this.enableButton(this.nextPageHButton); this.enableButton(this.lastPageHButton); } } }; EditPanel.prototype.createNavigationGroup = function(parent) { var group1 = this.createGroup(parent); this.refreshHButton = this.createTool(group1, "refreshAC" + this.options.id, "刷新", "btn btn-success btn-sm", "i", "fa fa-refresh fa-lg"); this.enableButton(this.refreshHButton); var group = this.createGroup(parent); this.firstPageHButton = this.createTool(group, "firstPageAC" + this.options.id, "首页", "btn btn-default btn-sm", "i", "fa fa-step-backward fa-lg"); this.previousPageHButton = this.createTool(group, "previousPageAC" + this.options.id, "前一页", "btn btn-default btn-sm", "i", "fa fa-backward fa-lg"); this.nextPageHButton = this.createTool(group, "nextPageAC" + this.options.id, "后一页", "btn btn-default btn-sm", "i", "fa fa-forward fa-lg"); this.lastPageHButton = this.createTool(group, "lastPageAC" + this.options.id, "末页", "btn btn-default btn-sm", "i", "fa fa-step-forward fa-lg"); var group2 = this.createGroup(parent); this.pageno = this.createLabel(group2, "l1" + this.options.id, ""); this.totalpage = this.createLabel(group2, "l2" + this.options.id, ""); }; EditPanel.prototype.createSearchGroup = function(parent) { var group = this.crateSGroup(parent); this.search = document.createElement("input"); this.search.type = "text"; this.search.className = "form-control input-sm"; this.search.setAttribute("placeholder", "搜索..."); this.search.addEventListener("keydown", this, false); group.appendChild(this.search); var searchSpan = document.createElement("span"); searchSpan.className = "input-group-btn"; group.appendChild(searchSpan); this.searchBtn = this.createTool(searchSpan, "searchAC" + this.options.id, "查找", "btn btn-primary btn-sm", "i", "fa fa-search fa-lg"); }; EditPanel.prototype.crateSGroup = function(parent) { var group = document.createElement("DIV"); group.className = "input-group"; group.style.padding = "2px"; group.setAttribute("role", "search"); group.setAttribute("aria-label", ""); parent.appendChild(group); return group; }; EditPanel.prototype.createGroup = function(parent) { var group = document.createElement("DIV"); group.className = "btn-group"; group.style.padding = "2px"; group.setAttribute("role", "group"); group.setAttribute("aria-label", ""); parent.appendChild(group); return group; }; EditPanel.prototype.doClick = function(evt) { var element = evt.target; if (element.tagName == "TD") { this.options.parent.options.parent.enableAddButton(); this.options.parent.options.parent.enableModifyButton(); this.options.parent.options.parent.enableRemoveButton(); this.clearSelection(element.parentElement.parentElement); this.selectRow(element.parentElement); } else { if (evt.target == this.firstPageHButton || (evt.target.id == ("firstPageAC" + this.options.id))) { this.loading(this.entity, 1, this.pagesize, ""); } else if (evt.target == this.previousPageHButton || (evt.target.id == ("previousPageAC" + this.options.id))) { this.loading(this.entity, this.currpage.pageNo - 1, this.pagesize, ""); } else if (evt.target == this.nextPageHButton || (evt.target.id == ("nextPageAC" + this.options.id))) { this.loading(this.entity, this.currpage.pageNo + 1, this.pagesize, ""); } else if (evt.target == this.lastPageHButton || (evt.target.id == ("lastPageAC" + this.options.id))) { this.loading(this.entity, this.currpage.allPagesCount, this.pagesize, ""); } else if (evt.target == this.refreshHButton || (evt.target.id == ("refreshAC" + this.options.id))) { this.loading(this.entity, this.currpage.pageNo, this.pagesize, ""); } else if (evt.target == this.searchBtn || (evt.target.id == ("searchAC" + this.options.id))) { this.loading(this.entity, 1, this.pagesize, this.search.value); } } }; EditPanel.prototype.createTool = function(group, id, title, style, fonttag, fontclass) { var button = document.createElement("button"); button.className = style; button.setAttribute("title", title); button.type = "button"; button.id = id; button.addEventListener('click', this, false); group.appendChild(button); var icon = document.createElement(fonttag); icon.addEventListener('click', this, false); icon.className = fontclass; icon.setAttribute("title", title); icon.id = id; button.appendChild(icon); return button; }; EditPanel.prototype.createLabel = function(group, id, title) { var label = document.createElement("Label"); label.innerHTML = title; label.id = id; group.appendChild(label); return label; }; EditPanel.prototype.addHeader = function() { var header = this.list.createTHead(); var row = header.insertRow(0); this.createHead("组织名称", row); this.createHead("应用名称", row); this.createHead("访问时间", row); this.createHead("请求", row); this.createHead("响应", row); this.createHead("详细", row); }; EditPanel.prototype.createCell = function(no, content, row) { var cell = row.insertCell(no); cell.setAttribute("nowrap", "true"); cell.innerHTML = content; }; EditPanel.prototype.createHead = function(content, row) { var th = document.createElement('th'); th.setAttribute("nowrap", "true"); th.innerHTML = content; row.appendChild(th); }; EditPanel.prototype.initList = function() { for (var i = 0; i < 30; i++) { var row = this.list.insertRow(i); for (var j = 0; j < 6; j++) { var cell1 = row.insertCell(j); cell1.innerHTML = "&nbsp;"; } } }; EditPanel.prototype.handleEvent = function(e) { switch (e.type) { case "click": this.doClick(e); break; case "keydown": this.doKeydown(e); break; } }; EditPanel.prototype.addRow = function(e) { //this.editAccessControlDialog.show(this.entity); }; EditPanel.prototype.modifyRow = function(e) { //this.editAccessControlDialog.show(this.entity); }; EditPanel.prototype.removeRow = function(e) { // if (this.currSelectedRow != -1) { // var id = this.list.rows[this.currSelectedRow].getAttribute("orgid"); // var that = this; // $.post(service.api(19), { // appid : this.entity.id, // orgid : id, // }).complete( // function(data) { // that.loading(that.entity, that.currpage.pageNo, // that.pagesize, that.search.value); // }); // } }; EditPanel.prototype.doKeydown = function(evt) { var e = window.event ? window.event : (evt ? evt : arguments[0]); var key = e.keyCode || e.which; if (key == 13) { this.loading(this.entity, 1, this.pagesize, evt.target.value); evt.preventDefault(); return false; } }; EditPanel.prototype.clearSelection = function(table) { if (table.rows.length > 0) { for (var i = 0; i < table.rows.length; i++) { table.rows[i].style.background = ""; } } this.currSelectedRow = -1; }; EditPanel.prototype.selectRow = function(row) { row.style.background = "#d1d1e0"; this.currSelectedRow = row.rowIndex; }; EditPanel.prototype.enableButton = function(button) { button.removeAttribute("disabled"); }; EditPanel.prototype.disableButton = function(button) { button.setAttribute("disabled", "true"); }; $.fn[pluginName] = function(options) { return this.each(function() { if (!$.data(this, pluginName)) { $.data(this, pluginName, new EditPanel(this, options)); } else if ($.isFunction(Plugin.prototype[options])) { $.data(this, pluginName)[options](); } }); }; })(jQuery, window, document);
module.exports = (app)=>{ const mongoose = app.mongoose; const Schema = mongoose.Schema; const EmailSchema = new Schema({ emailAddress:{ type:String, unique:true, required:true }, info:{ type:String, }, replayStatus:{ type:Boolean, default:false } },{ timestamps:{createdAt: 'created', updatedAt: 'updated'} }) return mongoose.model("Email",EmailSchema,"emailes") }
const path = require("path"); const CopyWebpackPlugin = require("copy-webpack-plugin"); const CleanWebpackPlugin = require("clean-webpack-plugin"); const MiniCssExtractPlugin = require("mini-css-extract-plugin"); const TerserPlugin = require("terser-webpack-plugin"); const runtimeConfig = require("./webpack.runtime"); const publisherConfig = { mode: "development", target: "node", node: { __dirname: false, __filename: false, }, entry: { "index": ["./src/startup.publish.ts"] }, optimization: { minimizer: [ new TerserPlugin({ sourceMap: false, terserOptions: { mangle: false, output: { comments: false, } } }) ] }, output: { filename: "./[name].js", path: path.resolve(__dirname, "dist/publisher"), library: "publisher", libraryTarget: "commonjs2" }, module: { rules: [ { test: /\.scss$/, use: [ MiniCssExtractPlugin.loader, { loader: "css-loader", options: { url: false } }, { loader: "postcss-loader" }, { loader: "sass-loader" } ] }, { test: /\.tsx?$/, loader: "awesome-typescript-loader" }, { test: /\.html$/, loader: "html-loader?exportAsEs6Default" }, { test: /\.(png|woff|woff2|eot|ttf|svg)$/, loader: "url-loader", options: { limit: 10000 } }, { test: /\.liquid$/, loader: "raw-loader" } ] }, plugins: [ new CleanWebpackPlugin(), new MiniCssExtractPlugin({ filename: "[name].css", chunkFilename: "[id].css" }), new CopyWebpackPlugin([ { from: `./src/data/demo.json`, to: `./data/demo.json` }, { from: `./src/config.publish.json`, to: `config.json` } ]) ], resolve: { extensions: [".ts", ".tsx", ".js", ".jsx", ".html", ".scss"] } }; runtimeConfig.output.path = path.resolve(__dirname, "dist/publisher/assets"); module.exports = [publisherConfig, runtimeConfig];
/* @product.name@ JS v@product.version@ (@product.date@) (c) 2009-2014 Torstein Honsi License: www.highcharts.com/license @product.name@ JS v@product.version@ (@product.date@) Plugin for displaying a message when there is no data visible in chart. (c) 2010-2014 Highsoft AS Author: Oystein Moseng License: www.highcharts.com/license */ (function(){function t(a,b){var c;a||(a={});for(c in b)a[c]=b[c];return a}function E(){var a,b=arguments,c,d={},e=function(a,b){var c,d;"object"!==typeof a&&(a={});for(d in b)b.hasOwnProperty(d)&&((c=b[d])&&"object"===typeof c&&"[object Array]"!==Object.prototype.toString.call(c)&&"renderTo"!==d&&"number"!==typeof c.nodeType?a[d]=e(a[d]||{},c):a[d]=b[d]);return a};!0===b[0]&&(d=b[1],b=Array.prototype.slice.call(b,2));c=b.length;for(a=0;a<c;a++)d=e(d,b[a]);return d}function A(a,b){return parseInt(a, b||10)}function U(a){return"string"===typeof a}function V(a){return"object"===typeof a}function ka(a){return"[object Array]"===Object.prototype.toString.call(a)}function $(a){return"number"===typeof a}function aa(a){return Q.log(a)/Q.LN10}function L(a){return Q.pow(10,a)}function oa(a,b){for(var c=a.length;c--;)if(a[c]===b){a.splice(c,1);break}}function u(a){return a!==v&&null!==a}function G(a,b,c){var d,e;if(U(b))u(c)?a.setAttribute(b,c):a&&a.getAttribute&&(e=a.getAttribute(b));else if(u(b)&&V(b))for(d in b)a.setAttribute(d, b[d]);return e}function ha(a){return ka(a)?a:[a]}function r(){var a=arguments,b,c,d=a.length;for(b=0;b<d;b++)if(c=a[b],"undefined"!==typeof c&&null!==c)return c}function X(a,b){pa&&!ba&&b&&b.opacity!==v&&(b.filter="alpha(opacity="+100*b.opacity+")");t(a.style,b)}function ta(a,b,c,d,e){a=y.createElement(a);b&&t(a,b);e&&X(a,{padding:0,border:ca,margin:0});c&&X(a,c);d&&d.appendChild(a);return a}function bb(a,b){var c=function(){};c.prototype=new a;t(c.prototype,b);return c}function qa(a,b,c,d){var e= I.lang;a=+a||0;var f=-1===b?(a.toString().split(".")[1]||"").length:isNaN(b=R(b))?2:b;b=void 0===c?e.decimalPoint:c;d=void 0===d?e.thousandsSep:d;e=0>a?"-":"";c=String(A(a=R(a).toFixed(f)));var g=3<c.length?c.length%3:0;return e+(g?c.substr(0,g)+d:"")+c.substr(g).replace(/(\d{3})(?=\d)/g,"$1"+d)+(f?b+R(a-c).toFixed(f).slice(2):"")}function ra(a,b){return Array((b||2)+1-String(a).length).join(0)+a}function cb(a,b,c){var d=a[b];a[b]=function(){var a=Array.prototype.slice.call(arguments);a.unshift(d); return c.apply(this,a)}}function ua(a,b){for(var c="{",d=!1,e,f,g,h,k,l=[];-1!==(c=a.indexOf(c));){e=a.slice(0,c);if(d){f=e.split(":");g=f.shift().split(".");k=g.length;e=b;for(h=0;h<k;h++)e=e[g[h]];f.length&&(f=f.join(":"),g=/\.([0-9])/,h=I.lang,k=void 0,/f$/.test(f)?(k=(k=f.match(g))?k[1]:-1,null!==e&&(e=qa(e,k,h.decimalPoint,-1<f.indexOf(",")?h.thousandsSep:""))):e=Ka(f,e))}l.push(e);a=a.slice(c+1);c=(d=!d)?"}":"{"}l.push(a);return l.join("")}function db(a){return Q.pow(10,F(Q.log(a)/Q.LN10))} function eb(a,b,c,d){var e;c=r(c,1);e=a/c;b||(b=[1,2,2.5,5,10],d&&!1===d.allowDecimals&&(1===c?b=[1,2,5,10]:0.1>=c&&(b=[1/c])));for(d=0;d<b.length&&!(a=b[d],e<=(b[d]+(b[d+1]||b[d]))/2);d++);return a*c}function sb(){this.symbol=this.color=0}function fb(a,b){var c=a.length,d,e;for(e=0;e<c;e++)a[e].ss_i=e;a.sort(function(a,c){d=b(a,c);return 0===d?a.ss_i-c.ss_i:d});for(e=0;e<c;e++)delete a[e].ss_i}function va(a){for(var b=a.length,c=a[0];b--;)a[b]<c&&(c=a[b]);return c}function la(a){for(var b=a.length, c=a[0];b--;)a[b]>c&&(c=a[b]);return c}function Da(a,b){for(var c in a)a[c]&&a[c]!==b&&a[c].destroy&&a[c].destroy(),delete a[c]}function La(a){Ma||(Ma=ta(tb));a&&Ma.appendChild(a);Ma.innerHTML=""}function fa(a,b){var c="Highcharts error #"+a+": www.highcharts.com/errors/"+a;if(b)throw c;O.console&&console.log(c)}function ia(a){return parseFloat(a.toPrecision(14))}function ub(){var a=I.global.useUTC,b=a?"getUTC":"get",c=a?"setUTC":"set";wa=6E4*(a&&I.global.timezoneOffset||0);Na=a?Date.UTC:function(a, b,c,g,h,k){return(new Date(a,b,r(c,1),r(g,0),r(h,0),r(k,0))).getTime()};gb=b+"Minutes";hb=b+"Hours";ib=b+"Day";Ea=b+"Date";Oa=b+"Month";Pa=b+"FullYear";vb=c+"Minutes";wb=c+"Hours";jb=c+"Date";xb=c+"Month";yb=c+"FullYear"}function W(){}function xa(a,b,c,d){this.axis=a;this.pos=b;this.type=c||"";this.isNew=!0;c||d||this.addLabel()}function sa(){this.init.apply(this,arguments)}function Qa(){this.init.apply(this,arguments)}var v,y=document,O=window,Q=Math,z=Q.round,F=Q.floor,ya=Q.ceil,x=Q.max,J=Q.min, R=Q.abs,Fa=Q.cos,Ra=Q.sin,zb=Q.PI,Ab=2*zb/360,ma=navigator.userAgent,Jb=O.opera,pa=/msie/i.test(ma)&&!Jb,Bb=/AppleWebKit/.test(ma),Sa=/Firefox/.test(ma),Cb=/(Mobile|Android|Windows Phone)/.test(ma),ja="http://www.w3.org/2000/svg",ba=!!y.createElementNS&&!!y.createElementNS(ja,"svg").createSVGRect,Kb=Sa&&4>parseInt(ma.split("Firefox/")[1],10),da=!ba&&!pa&&!!y.createElement("canvas").getContext,Ta,Ga,Db={},kb=0,Ma,I,Ka,ea,lb,B,Lb=function(){},Y=[],Ha=0,tb="div",ca="none",Mb=/^[0-9]+$/,Nb="stroke-width", Na,wa,gb,hb,ib,Ea,Oa,Pa,vb,wb,jb,xb,yb,M={},S=O.Highcharts=O.Highcharts?fa(16,!0):{};Ka=function(a,b,c){if(!u(b)||isNaN(b))return"Invalid date";a=r(a,"%Y-%m-%d %H:%M:%S");var d=new Date(b-wa),e,f=d[hb](),g=d[ib](),h=d[Ea](),k=d[Oa](),l=d[Pa](),m=I.lang,n=m.weekdays,d=t({a:n[g].substr(0,3),A:n[g],d:ra(h),e:h,b:m.shortMonths[k],B:m.months[k],m:ra(k+1),y:l.toString().substr(2,2),Y:l,H:ra(f),I:ra(f%12||12),l:f%12||12,M:ra(d[gb]()),p:12>f?"AM":"PM",P:12>f?"am":"pm",S:ra(d.getSeconds()),L:ra(z(b%1E3),3)}, S.dateFormats);for(e in d)for(;-1!==a.indexOf("%"+e);)a=a.replace("%"+e,"function"===typeof d[e]?d[e](b):d[e]);return c?a.substr(0,1).toUpperCase()+a.substr(1):a};sb.prototype={wrapColor:function(a){this.color>=a&&(this.color=0)},wrapSymbol:function(a){this.symbol>=a&&(this.symbol=0)}};B=function(){for(var a=0,b=arguments,c=b.length,d={};a<c;a++)d[b[a++]]=b[a];return d}("millisecond",1,"second",1E3,"minute",6E4,"hour",36E5,"day",864E5,"week",6048E5,"month",26784E5,"year",31556952E3);lb={init:function(a, b,c){b=b||"";var d=a.shift,e=-1<b.indexOf("C"),f=e?7:3,g;b=b.split(" ");c=[].concat(c);var h,k,l=function(a){for(g=a.length;g--;)"M"===a[g]&&a.splice(g+1,0,a[g+1],a[g+2],a[g+1],a[g+2])};e&&(l(b),l(c));a.isArea&&(h=b.splice(b.length-6,6),k=c.splice(c.length-6,6));if(d<=c.length/f&&b.length===c.length)for(;d--;)c=[].concat(c).splice(0,f).concat(c);a.shift=0;if(b.length)for(a=c.length;b.length<a;)d=[].concat(b).splice(b.length-f,f),e&&(d[f-6]=d[f-2],d[f-5]=d[f-1]),b=b.concat(d);h&&(b=b.concat(h),c=c.concat(k)); return[b,c]},step:function(a,b,c,d){var e=[],f=a.length;if(1===c)e=d;else if(f===b.length&&1>c)for(;f--;)d=parseFloat(a[f]),e[f]=isNaN(d)?a[f]:c*parseFloat(b[f]-d)+d;else e=b;return e}};(function(a){O.HighchartsAdapter=O.HighchartsAdapter||a&&{init:function(b){var c=a.fx,d=c.step,e,f=a.Tween,g=f&&f.propHooks;e=a.cssHooks.opacity;a.extend(a.easing,{easeOutQuad:function(a,b,c,d,e){return-d*(b/=e)*(b-2)+c}});a.each(["cur","_default","width","height","opacity"],function(a,b){var e=d,m;"cur"===b?e=c.prototype: "_default"===b&&f&&(e=g[b],b="set");(m=e[b])&&(e[b]=function(c){var d;c=a?c:this;if("align"!==c.prop)return d=c.elem,d.attr?d.attr(c.prop,"cur"===b?v:c.now):m.apply(this,arguments)})});cb(e,"get",function(a,b,c){return b.attr?b.opacity||0:a.call(this,b,c)});e=function(a){var c=a.elem,d;a.started||(d=b.init(c,c.d,c.toD),a.start=d[0],a.end=d[1],a.started=!0);c.attr("d",b.step(a.start,a.end,a.pos,c.toD))};f?g.d={set:e}:d.d=e;this.each=Array.prototype.forEach?function(a,b){return Array.prototype.forEach.call(a, b)}:function(a,b){for(var c=0,d=a.length;c<d;c++)if(!1===b.call(a[c],a[c],c,a))return c};a.fn.highcharts=function(){var a="Chart",b=arguments,c,d;this[0]&&(U(b[0])&&(a=b[0],b=Array.prototype.slice.call(b,1)),c=b[0],c!==v&&(c.chart=c.chart||{},c.chart.renderTo=this[0],new S[a](c,b[1]),d=this),c===v&&(d=Y[G(this[0],"data-highcharts-chart")]));return d}},getScript:a.getScript,inArray:a.inArray,adapterRun:function(b,c){return a(b)[c]()},grep:a.grep,map:function(a,c){for(var d=[],e=0,f=a.length;e<f;e++)d[e]= c.call(a[e],a[e],e,a);return d},offset:function(b){return a(b).offset()},addEvent:function(b,c,d){a(b).bind(c,d)},removeEvent:function(b,c,d){var e=y.removeEventListener?"removeEventListener":"detachEvent";y[e]&&b&&!b[e]&&(b[e]=function(){});a(b).unbind(c,d)},fireEvent:function(b,c,d,e){var f=a.Event(c),g="detached"+c,h;!pa&&d&&(delete d.layerX,delete d.layerY,delete d.returnValue);t(f,d);b[c]&&(b[g]=b[c],b[c]=null);a.each(["preventDefault","stopPropagation"],function(a,b){var c=f[b];f[b]=function(){try{c.call(f)}catch(a){"preventDefault"=== b&&(h=!0)}}});a(b).trigger(f);b[g]&&(b[c]=b[g],b[g]=null);!e||f.isDefaultPrevented()||h||e(f)},washMouseEvent:function(a){var c=a.originalEvent||a;c.pageX===v&&(c.pageX=a.pageX,c.pageY=a.pageY);return c},animate:function(b,c,d){var e=a(b);b.style||(b.style={});c.d&&(b.toD=c.d,c.d=1);e.stop();c.opacity!==v&&b.attr&&(c.opacity+="px");e.animate(c,d)},stop:function(b){a(b).stop()}}})(O.jQuery);var Ua=O.HighchartsAdapter,Z=Ua||{};Ua&&Ua.init.call(Ua,lb);var Va=Z.adapterRun,Ob=Z.getScript,Wa=Z.inArray, s=Z.each,mb=Z.grep,Pb=Z.offset,Xa=Z.map,N=Z.addEvent,T=Z.removeEvent,C=Z.fireEvent,Qb=Z.washMouseEvent,Eb=Z.animate,Ya=Z.stop,nb={enabled:!0,x:0,y:15,style:{color:"#606060",cursor:"default",fontSize:"11px"}};I={colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #8085e8 #8d4653 #91e8e1".split(" "),symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "), shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:","},global:{useUTC:!0,canvasToolsURL:"http://code.highcharts.com@product.cdnpath@/@product.version@/modules/canvas-tools.js",VMLRadialGradientURL:"http://code.highcharts.com@product.cdnpath@/@product.version@/gfx/vml-radial-gradient.png"}, chart:{borderColor:"#4572A7",borderRadius:0,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],backgroundColor:"#FFFFFF",plotBorderColor:"#C0C0C0",resetZoomButton:{theme:{zIndex:20},position:{align:"right",x:-10,y:10}}},title:{text:"Chart title",align:"center",margin:15,style:{color:"#333333",fontSize:"18px"}},subtitle:{text:"",align:"center",style:{color:"#555555"}},plotOptions:{line:{allowPointSelect:!1,showCheckbox:!1,animation:{duration:1E3},events:{},lineWidth:2,marker:{lineWidth:0, radius:4,lineColor:"#FFFFFF",states:{hover:{enabled:!0},select:{fillColor:"#FFFFFF",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:E(nb,{align:"center",enabled:!1,formatter:function(){return null===this.y?"":qa(this.y,-1)},verticalAlign:"bottom",y:0}),cropThreshold:300,pointRange:0,states:{hover:{marker:{},halo:{size:10,opacity:0.25}},select:{marker:{}}},stickyTracking:!0,turboThreshold:1E3}},labels:{style:{position:"absolute",color:"#3E576F"}},legend:{enabled:!0,align:"center",layout:"horizontal", labelFormatter:function(){return this.name},borderColor:"#909090",borderRadius:0,navigation:{activeColor:"#274b6d",inactiveColor:"#CCC"},shadow:!1,itemStyle:{color:"#333333",fontSize:"12px",fontWeight:"bold"},itemHoverStyle:{color:"#000"},itemHiddenStyle:{color:"#CCC"},itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"1em"},style:{position:"absolute", backgroundColor:"white",opacity:0.5,textAlign:"center"}},tooltip:{enabled:!0,animation:ba,backgroundColor:"rgba(249, 249, 249, .85)",borderWidth:1,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{series.color}">\u25cf</span> {series.name}: <b>{point.y}</b><br/>', shadow:!0,snap:Cb?25:10,style:{color:"#333333",cursor:"default",fontSize:"12px",padding:"8px",whiteSpace:"nowrap"}},credits:{enabled:!0,text:"Highcharts.com",href:"http://www.highcharts.com",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#909090",fontSize:"9px"}}};var za=I.plotOptions,Rb=za.line;ub();var Sb=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,Tb=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/, Ub=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,Aa=function(a){var b=[],c,d;(function(a){a&&a.stops?d=Xa(a.stops,function(a){return Aa(a[1])}):(c=Sb.exec(a))?b=[A(c[1]),A(c[2]),A(c[3]),parseFloat(c[4],10)]:(c=Tb.exec(a))?b=[A(c[1],16),A(c[2],16),A(c[3],16),1]:(c=Ub.exec(a))&&(b=[A(c[1]),A(c[2]),A(c[3]),1])})(a);return{get:function(c){var f;d?(f=E(a),f.stops=[].concat(f.stops),s(d,function(a,b){f.stops[b]=[f.stops[b][0],a.get(c)]})):f=b&&!isNaN(b[0])?"rgb"===c?"rgb("+b[0]+","+ b[1]+","+b[2]+")":"a"===c?b[3]:"rgba("+b.join(",")+")":a;return f},brighten:function(a){if(d)s(d,function(b){b.brighten(a)});else if($(a)&&0!==a){var c;for(c=0;3>c;c++)b[c]+=A(255*a),0>b[c]&&(b[c]=0),255<b[c]&&(b[c]=255)}return this},rgba:b,setOpacity:function(a){b[3]=a;return this}}};W.prototype={init:function(a,b){this.element="span"===b?ta(b):y.createElementNS(ja,b);this.renderer=a},opacity:1,animate:function(a,b,c){b=r(b,ea,!0);Ya(this);b?(b=E(b,{}),c&&(b.complete=c),Eb(this,a,b)):(this.attr(a), c&&c())},colorGradient:function(a,b,c){var d=this.renderer,e,f,g,h,k,l,m,n,q,p,w=[];a.linearGradient?f="linearGradient":a.radialGradient&&(f="radialGradient");if(f){g=a[f];h=d.gradients;l=a.stops;q=c.radialReference;ka(g)&&(a[f]=g={x1:g[0],y1:g[1],x2:g[2],y2:g[3],gradientUnits:"userSpaceOnUse"});"radialGradient"===f&&q&&!u(g.gradientUnits)&&(g=E(g,{cx:q[0]-q[2]/2+g.cx*q[2],cy:q[1]-q[2]/2+g.cy*q[2],r:g.r*q[2],gradientUnits:"userSpaceOnUse"}));for(p in g)"id"!==p&&w.push(p,g[p]);for(p in l)w.push(l[p]); w=w.join(",");h[w]?a=h[w].attr("id"):(g.id=a="highcharts-"+kb++,h[w]=k=d.createElement(f).attr(g).add(d.defs),k.stops=[],s(l,function(a){0===a[1].indexOf("rgba")?(e=Aa(a[1]),m=e.get("rgb"),n=e.get("a")):(m=a[1],n=1);a=d.createElement("stop").attr({offset:a[0],"stop-color":m,"stop-opacity":n}).add(k);k.stops.push(a)}));c.setAttribute(b,"url("+d.url+"#"+a+")")}},attr:function(a,b){var c,d,e=this.element,f,g=this,h;"string"===typeof a&&b!==v&&(c=a,a={},a[c]=b);if("string"===typeof a)g=(this[a+"Getter"]|| this._defaultGetter).call(this,a,e);else{for(c in a)d=a[c],h=!1,this.symbolName&&/^(x|y|width|height|r|start|end|innerR|anchorX|anchorY)/.test(c)&&(f||(this.symbolAttr(a),f=!0),h=!0),!this.rotation||"x"!==c&&"y"!==c||(this.doTransform=!0),h||(this[c+"Setter"]||this._defaultSetter).call(this,d,c,e),this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(c)&&this.updateShadows(c,d);this.doTransform&&(this.updateTransform(),this.doTransform=!1)}return g},updateShadows:function(a,b){for(var c= this.shadows,d=c.length;d--;)c[d].setAttribute(a,"height"===a?x(b-(c[d].cutHeight||0),0):"d"===a?this.d:b)},addClass:function(a){var b=this.element,c=G(b,"class")||"";-1===c.indexOf(a)&&G(b,"class",c+" "+a);return this},symbolAttr:function(a){var b=this;s("x y r start end width height innerR anchorX anchorY".split(" "),function(c){b[c]=r(a[c],b[c])});b.attr({d:b.renderer.symbols[b.symbolName](b.x,b.y,b.width,b.height,b)})},clip:function(a){return this.attr("clip-path",a?"url("+this.renderer.url+"#"+ a.id+")":ca)},crisp:function(a){var b,c={},d,e=a.strokeWidth||this.strokeWidth||this.attr&&this.attr("stroke-width")||0;d=z(e)%2/2;a.x=F(a.x||this.x||0)+d;a.y=F(a.y||this.y||0)+d;a.width=F((a.width||this.width||0)-2*d);a.height=F((a.height||this.height||0)-2*d);a.strokeWidth=e;for(b in a)this[b]!==a[b]&&(this[b]=c[b]=a[b]);return c},css:function(a){var b=this.styles,c={},d=this.element,e,f,g="";e=!b;a&&a.color&&(a.fill=a.color);if(b)for(f in a)a[f]!==b[f]&&(c[f]=a[f],e=!0);if(e){e=this.textWidth= a&&a.width&&"text"===d.nodeName.toLowerCase()&&A(a.width);b&&(a=t(b,c));this.styles=a;e&&(da||!ba&&this.renderer.forExport)&&delete a.width;if(pa&&!ba)X(this.element,a);else{b=function(a,b){return"-"+b.toLowerCase()};for(f in a)g+=f.replace(/([A-Z])/g,b)+":"+a[f]+";";G(d,"style",g)}e&&this.added&&this.renderer.buildText(this)}return this},on:function(a,b){var c=this,d=c.element;Ga&&"click"===a?(d.ontouchstart=function(a){c.touchEventFired=Date.now();a.preventDefault();b.call(d,a)},d.onclick=function(a){(-1=== ma.indexOf("Android")||1100<Date.now()-(c.touchEventFired||0))&&b.call(d,a)}):d["on"+a]=b;return this},setRadialReference:function(a){this.element.radialReference=a;return this},translate:function(a,b){return this.attr({translateX:a,translateY:b})},invert:function(){this.inverted=!0;this.updateTransform();return this},updateTransform:function(){var a=this.translateX||0,b=this.translateY||0,c=this.scaleX,d=this.scaleY,e=this.inverted,f=this.rotation,g=this.element;e&&(a+=this.attr("width"),b+=this.attr("height")); a=["translate("+a+","+b+")"];e?a.push("rotate(90) scale(-1,1)"):f&&a.push("rotate("+f+" "+(g.getAttribute("x")||0)+" "+(g.getAttribute("y")||0)+")");(u(c)||u(d))&&a.push("scale("+r(c,1)+" "+r(d,1)+")");a.length&&g.setAttribute("transform",a.join(" "))},toFront:function(){var a=this.element;a.parentNode.appendChild(a);return this},align:function(a,b,c){var d,e,f,g,h={};e=this.renderer;f=e.alignedObjects;if(a){if(this.alignOptions=a,this.alignByTranslate=b,!c||U(c))this.alignTo=d=c||"renderer",oa(f, this),f.push(this),c=null}else a=this.alignOptions,b=this.alignByTranslate,d=this.alignTo;c=r(c,e[d],e);d=a.align;e=a.verticalAlign;f=(c.x||0)+(a.x||0);g=(c.y||0)+(a.y||0);if("right"===d||"center"===d)f+=(c.width-(a.width||0))/{right:1,center:2}[d];h[b?"translateX":"x"]=z(f);if("bottom"===e||"middle"===e)g+=(c.height-(a.height||0))/({bottom:1,middle:2}[e]||1);h[b?"translateY":"y"]=z(g);this[this.placed?"animate":"attr"](h);this.placed=!0;this.alignAttr=h;return this},getBBox:function(){var a=this.bBox, b=this.renderer,c,d,e=this.rotation;c=this.element;var f=this.styles,g=e*Ab;d=this.textStr;var h;if(""===d||Mb.test(d))h="num."+d.toString().length+(f?"|"+f.fontSize+"|"+f.fontFamily:"");h&&(a=b.cache[h]);if(!a){if(c.namespaceURI===ja||b.forExport){try{a=c.getBBox?t({},c.getBBox()):{width:c.offsetWidth,height:c.offsetHeight}}catch(k){}if(!a||0>a.width)a={width:0,height:0}}else a=this.htmlGetBBox();b.isSVG&&(c=a.width,d=a.height,pa&&f&&"11px"===f.fontSize&&"16.9"===d.toPrecision(3)&&(a.height=d=14), e&&(a.width=R(d*Ra(g))+R(c*Fa(g)),a.height=R(d*Fa(g))+R(c*Ra(g))));this.bBox=a;h&&(b.cache[h]=a)}return a},show:function(a){return a&&this.element.namespaceURI===ja?(this.element.removeAttribute("visibility"),this):this.attr({visibility:a?"inherit":"visible"})},hide:function(){return this.attr({visibility:"hidden"})},fadeOut:function(a){var b=this;b.animate({opacity:0},{duration:a||150,complete:function(){b.hide()}})},add:function(a){var b=this.renderer,c=a||b,d=c.element||b.box,e=this.element,f= this.zIndex,g,h;a&&(this.parentGroup=a);this.parentInverted=a&&a.inverted;void 0!==this.textStr&&b.buildText(this);f&&(c.handleZ=!0,f=A(f));if(c.handleZ)for(a=d.childNodes,g=0;g<a.length;g++)if(b=a[g],c=G(b,"zIndex"),b!==e&&(A(c)>f||!u(f)&&u(c))){d.insertBefore(e,b);h=!0;break}h||d.appendChild(e);this.added=!0;if(this.onAdd)this.onAdd();return this},safeRemoveChild:function(a){var b=a.parentNode;b&&b.removeChild(a)},destroy:function(){var a=this,b=a.element||{},c=a.shadows,d=a.renderer.isSVG&&"SPAN"=== b.nodeName&&a.parentGroup,e,f;b.onclick=b.onmouseout=b.onmouseover=b.onmousemove=b.point=null;Ya(a);a.clipPath&&(a.clipPath=a.clipPath.destroy());if(a.stops){for(f=0;f<a.stops.length;f++)a.stops[f]=a.stops[f].destroy();a.stops=null}a.safeRemoveChild(b);for(c&&s(c,function(b){a.safeRemoveChild(b)});d&&0===d.div.childNodes.length;)b=d.parentGroup,a.safeRemoveChild(d.div),delete d.div,d=b;a.alignTo&&oa(a.renderer.alignedObjects,a);for(e in a)delete a[e];return null},shadow:function(a,b,c){var d=[],e, f,g=this.element,h,k,l,m;if(a){k=r(a.width,3);l=(a.opacity||0.15)/k;m=this.parentInverted?"(-1,-1)":"("+r(a.offsetX,1)+", "+r(a.offsetY,1)+")";for(e=1;e<=k;e++)f=g.cloneNode(0),h=2*k+1-2*e,G(f,{isShadow:"true",stroke:a.color||"black","stroke-opacity":l*e,"stroke-width":h,transform:"translate"+m,fill:ca}),c&&(G(f,"height",x(G(f,"height")-h,0)),f.cutHeight=h),b?b.element.appendChild(f):g.parentNode.insertBefore(f,g),d.push(f);this.shadows=d}return this},xGetter:function(a){"circle"===this.element.nodeName&& (a={x:"cx",y:"cy"}[a]||a);return this._defaultGetter(a)},_defaultGetter:function(a){a=r(this[a],this.element?this.element.getAttribute(a):null,0);/^[0-9\.]+$/.test(a)&&(a=parseFloat(a));return a},dSetter:function(a,b,c){a&&a.join&&(a=a.join(" "));/(NaN| {2}|^$)/.test(a)&&(a="M 0 0");c.setAttribute(b,a);this[b]=a},dashstyleSetter:function(a){var b;if(a=a&&a.toLowerCase()){a=a.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash", "3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(b=a.length;b--;)a[b]=A(a[b])*this.element.getAttribute("stroke-width");a=a.join(",");this.element.setAttribute("stroke-dasharray",a)}},alignSetter:function(a){this.element.setAttribute("text-anchor",{left:"start",center:"middle",right:"end"}[a])},opacitySetter:function(a,b,c){this[b]=a;c.setAttribute(b,a)},"stroke-widthSetter":function(a,b,c){0===a&&(a=1E-5);this.strokeWidth=a;c.setAttribute(b, a)},titleSetter:function(a){var b=this.element.getElementsByTagName("title")[0];b||(b=y.createElementNS(ja,"title"),this.element.appendChild(b));b.textContent=a},textSetter:function(a){a!==this.textStr&&(delete this.bBox,this.textStr=a,this.added&&this.renderer.buildText(this))},fillSetter:function(a,b,c){"string"===typeof a?c.setAttribute(b,a):a&&this.colorGradient(a,b,c)},zIndexSetter:function(a,b,c){c.setAttribute(b,a);this[b]=a},_defaultSetter:function(a,b,c){c.setAttribute(b,a)}};W.prototype.yGetter= W.prototype.xGetter;W.prototype.translateXSetter=W.prototype.translateYSetter=W.prototype.rotationSetter=W.prototype.verticalAlignSetter=W.prototype.scaleXSetter=W.prototype.scaleYSetter=function(a,b){this[b]=a;this.doTransform=!0};W.prototype.strokeSetter=W.prototype.fillSetter;var Za=function(){this.init.apply(this,arguments)};Za.prototype={Element:W,init:function(a,b,c,d,e){var f=location,g;d=this.createElement("svg").attr({version:"1.1"}).css(this.getStyle(d));g=d.element;a.appendChild(g);-1=== a.innerHTML.indexOf("xmlns")&&G(g,"xmlns",ja);this.isSVG=!0;this.box=g;this.boxWrapper=d;this.alignedObjects=[];this.url=(Sa||Bb)&&y.getElementsByTagName("base").length?f.href.replace(/#.*?$/,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"";this.createElement("desc").add().element.appendChild(y.createTextNode("Created with @product.name@ @product.version@"));this.defs=this.createElement("defs").add();this.forExport=e;this.gradients={};this.cache={};this.setSize(b,c,!1);var h;Sa&&a.getBoundingClientRect&& (this.subPixelFix=b=function(){X(a,{left:0,top:0});h=a.getBoundingClientRect();X(a,{left:ya(h.left)-h.left+"px",top:ya(h.top)-h.top+"px"})},b(),N(O,"resize",b))},getStyle:function(a){return this.style=t({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},a)},isHidden:function(){return!this.boxWrapper.getBBox().width},destroy:function(){var a=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();Da(this.gradients||{});this.gradients=null; a&&(this.defs=a.destroy());this.subPixelFix&&T(O,"resize",this.subPixelFix);return this.alignedObjects=null},createElement:function(a){var b=new this.Element;b.init(this,a);return b},draw:function(){},buildText:function(a){for(var b=a.element,c=this,d=c.forExport,e=r(a.textStr,"").toString(),f=-1!==e.indexOf("<"),g=b.childNodes,h,k,l=G(b,"x"),m=a.styles,n=a.textWidth,q=m&&m.lineHeight,p=g.length,w=function(a){return q?A(q):c.fontMetrics(/(px|em)$/.test(a&&a.style.fontSize)?a.style.fontSize:m&&m.fontSize|| c.style.fontSize||12).h};p--;)b.removeChild(g[p]);f||-1!==e.indexOf(" ")?(h=/<.*style="([^"]+)".*>/,k=/<.*href="(http[^"]+)".*>/,n&&!a.added&&this.box.appendChild(b),e=f?e.replace(/<(b|strong)>/g,'<span style="font-weight:bold">').replace(/<(i|em)>/g,'<span style="font-style:italic">').replace(/<a/g,"<span").replace(/<\/(b|strong|i|em|a)>/g,"</span>").split(/<br.*?>/g):[e],""===e[e.length-1]&&e.pop(),s(e,function(e,f){var g,p=0;e=e.replace(/<span/g,"|||<span").replace(/<\/span>/g,"</span>|||");g= e.split("|||");s(g,function(e){if(""!==e||1===g.length){var q={},r=y.createElementNS(ja,"tspan"),s;h.test(e)&&(s=e.match(h)[1].replace(/(;| |^)color([ :])/,"$1fill$2"),G(r,"style",s));k.test(e)&&!d&&(G(r,"onclick",'location.href="'+e.match(k)[1]+'"'),X(r,{cursor:"pointer"}));e=(e.replace(/<(.|\n)*?>/g,"")||" ").replace(/&lt;/g,"<").replace(/&gt;/g,">");if(" "!==e&&(r.appendChild(y.createTextNode(e)),p?q.dx=0:f&&null!==l&&(q.x=l),G(r,q),!p&&f&&(!ba&&d&&X(r,{display:"block"}),G(r,"dy",w(r),Bb&&r.offsetHeight)), b.appendChild(r),p++,n)){e=e.replace(/([^\^])-/g,"$1- ").split(" ");for(var q=1<e.length&&"nowrap"!==m.whiteSpace,ob,u,D=a._clipHeight,x=[],v=w(),t=1;q&&(e.length||x.length);)delete a.bBox,ob=a.getBBox(),u=ob.width,!ba&&c.forExport&&(u=c.measureSpanWidth(r.firstChild.data,a.styles)),(ob=u>n)&&1!==e.length?(r.removeChild(r.firstChild),x.unshift(e.pop())):(e=x,x=[],e.length&&(t++,D&&t*v>D?(e=["..."],a.attr("title",a.textStr)):(r=y.createElementNS(ja,"tspan"),G(r,{dy:v,x:l}),s&&G(r,"style",s),b.appendChild(r), u>n&&(n=u)))),e.length&&r.appendChild(y.createTextNode(e.join(" ").replace(/- /g,"-")))}}})})):b.appendChild(y.createTextNode(e))},button:function(a,b,c,d,e,f,g,h,k){var l=this.label(a,b,c,k,null,null,null,null,"button"),m=0,n,q,p,w,r,s;a={x1:0,y1:0,x2:0,y2:1};e=E({"stroke-width":1,stroke:"#CCCCCC",fill:{linearGradient:a,stops:[[0,"#FEFEFE"],[1,"#F6F6F6"]]},r:2,padding:5,style:{color:"black"}},e);p=e.style;delete e.style;f=E(e,{stroke:"#68A",fill:{linearGradient:a,stops:[[0,"#FFF"],[1,"#ACF"]]}}, f);w=f.style;delete f.style;g=E(e,{stroke:"#68A",fill:{linearGradient:a,stops:[[0,"#9BD"],[1,"#CDF"]]}},g);r=g.style;delete g.style;h=E(e,{style:{color:"#CCC"}},h);s=h.style;delete h.style;N(l.element,pa?"mouseover":"mouseenter",function(){3!==m&&l.attr(f).css(w)});N(l.element,pa?"mouseout":"mouseleave",function(){3!==m&&(n=[e,f,g][m],q=[p,w,r][m],l.attr(n).css(q))});l.setState=function(a){(l.state=m=a)?2===a?l.attr(g).css(r):3===a&&l.attr(h).css(s):l.attr(e).css(p)};return l.on("click",function(){3!== m&&d.call(l)}).attr(e).css(t({cursor:"default"},p))},crispLine:function(a,b){a[1]===a[4]&&(a[1]=a[4]=z(a[1])-b%2/2);a[2]===a[5]&&(a[2]=a[5]=z(a[2])+b%2/2);return a},path:function(a){var b={fill:ca};ka(a)?b.d=a:V(a)&&t(b,a);return this.createElement("path").attr(b)},circle:function(a,b,c){a=V(a)?a:{x:a,y:b,r:c};b=this.createElement("circle");b.xSetter=function(a){this.element.setAttribute("cx",a)};b.ySetter=function(a){this.element.setAttribute("cy",a)};return b.attr(a)},arc:function(a,b,c,d,e,f){V(a)&& (b=a.y,c=a.r,d=a.innerR,e=a.start,f=a.end,a=a.x);a=this.symbol("arc",a||0,b||0,c||0,c||0,{innerR:d||0,start:e||0,end:f||0});a.r=c;return a},rect:function(a,b,c,d,e,f){e=V(a)?a.r:e;var g=this.createElement("rect");a=V(a)?a:a===v?{}:{x:a,y:b,width:x(c,0),height:x(d,0)};f!==v&&(a.strokeWidth=f,a=g.crisp(a));e&&(a.r=e);g.rSetter=function(a){G(this.element,{rx:a,ry:a})};return g.attr(a)},setSize:function(a,b,c){var d=this.alignedObjects,e=d.length;this.width=a;this.height=b;for(this.boxWrapper[r(c,!0)? "animate":"attr"]({width:a,height:b});e--;)d[e].align()},g:function(a){var b=this.createElement("g");return u(a)?b.attr({"class":"highcharts-"+a}):b},image:function(a,b,c,d,e){var f={preserveAspectRatio:ca};1<arguments.length&&t(f,{x:b,y:c,width:d,height:e});f=this.createElement("image").attr(f);f.element.setAttributeNS?f.element.setAttributeNS("http://www.w3.org/1999/xlink","href",a):f.element.setAttribute("hc-svg-href",a);return f},symbol:function(a,b,c,d,e,f){var g,h=this.symbols[a],h=h&&h(z(b), z(c),d,e,f),k=/^url\((.*?)\)$/,l,m;h?(g=this.path(h),t(g,{symbolName:a,x:b,y:c,width:d,height:e}),f&&t(g,f)):k.test(a)&&(m=function(a,b){a.element&&(a.attr({width:b[0],height:b[1]}),a.alignByTranslate||a.translate(z((d-b[0])/2),z((e-b[1])/2)))},l=a.match(k)[1],a=Db[l],g=this.image(l).attr({x:b,y:c}),g.isImg=!0,a?m(g,a):(g.attr({width:0,height:0}),ta("img",{onload:function(){m(g,Db[l]=[this.width,this.height])},src:l})));return g},symbols:{circle:function(a,b,c,d){var e=0.166*c;return["M",a+c/2,b, "C",a+c+e,b,a+c+e,b+d,a+c/2,b+d,"C",a-e,b+d,a-e,b,a+c/2,b,"Z"]},square:function(a,b,c,d){return["M",a,b,"L",a+c,b,a+c,b+d,a,b+d,"Z"]},triangle:function(a,b,c,d){return["M",a+c/2,b,"L",a+c,b+d,a,b+d,"Z"]},"triangle-down":function(a,b,c,d){return["M",a,b,"L",a+c,b,a+c/2,b+d,"Z"]},diamond:function(a,b,c,d){return["M",a+c/2,b,"L",a+c,b+d/2,a+c/2,b+d,a,b+d/2,"Z"]},arc:function(a,b,c,d,e){var f=e.start;c=e.r||c||d;var g=e.end-0.001;d=e.innerR;var h=e.open,k=Fa(f),l=Ra(f),m=Fa(g),g=Ra(g);e=e.end-f<zb?0: 1;return["M",a+c*k,b+c*l,"A",c,c,0,e,1,a+c*m,b+c*g,h?"M":"L",a+d*m,b+d*g,"A",d,d,0,e,0,a+d*k,b+d*l,h?"":"Z"]},callout:function(a,b,c,d,e){var f=J(e&&e.r||0,c,d),g=f+6,h=e&&e.anchorX,k=e&&e.anchorY;e=z(e.strokeWidth||0)%2/2;a+=e;b+=e;e=["M",a+f,b,"L",a+c-f,b,"C",a+c,b,a+c,b,a+c,b+f,"L",a+c,b+d-f,"C",a+c,b+d,a+c,b+d,a+c-f,b+d,"L",a+f,b+d,"C",a,b+d,a,b+d,a,b+d-f,"L",a,b+f,"C",a,b,a,b,a+f,b];h&&h>c&&k>b+g&&k<b+d-g?e.splice(13,3,"L",a+c,k-6,a+c+6,k,a+c,k+6,a+c,b+d-f):h&&0>h&&k>b+g&&k<b+d-g?e.splice(33, 3,"L",a,k+6,a-6,k,a,k-6,a,b+f):k&&k>d&&h>a+g&&h<a+c-g?e.splice(23,3,"L",h+6,b+d,h,b+d+6,h-6,b+d,a+f,b+d):k&&0>k&&h>a+g&&h<a+c-g&&e.splice(3,3,"L",h-6,b,h,b-6,h+6,b,c-f,b);return e}},clipRect:function(a,b,c,d){var e="highcharts-"+kb++,f=this.createElement("clipPath").attr({id:e}).add(this.defs);a=this.rect(a,b,c,d,0).add(f);a.id=e;a.clipPath=f;return a},text:function(a,b,c,d){var e=da||!ba&&this.forExport,f={};if(d&&!this.forExport)return this.html(a,b,c);f.x=Math.round(b||0);c&&(f.y=Math.round(c)); if(a||0===a)f.text=a;a=this.createElement("text").attr(f);e&&a.css({position:"absolute"});d||(a.xSetter=function(a,b,c){var d=c.childNodes,e,f;for(f=1;f<d.length;f++)e=d[f],e.getAttribute("x")===c.getAttribute("x")&&e.setAttribute("x",a);c.setAttribute(b,a)});return a},fontMetrics:function(a){a=a||this.style.fontSize;a=/px/.test(a)?A(a):/em/.test(a)?12*parseFloat(a):12;a=24>a?a+4:z(1.2*a);var b=z(0.8*a);return{h:a,b:b}},label:function(a,b,c,d,e,f,g,h,k){function l(){var a,b;a=w.element.style;P=(void 0=== Ba||void 0===pb||p.styles.textAlign)&&w.textStr&&w.getBBox();p.width=(Ba||P.width||0)+2*K+x;p.height=(pb||P.height||0)+2*K;Ia=K+q.fontMetrics(a&&a.fontSize).b;y&&(r||(a=z(-na*K),b=h?-Ia:0,p.box=r=d?q.symbol(d,a,b,p.width,p.height,D):q.rect(a,b,p.width,p.height,0,D[Nb]),r.attr("fill",ca).add(p)),r.isImg||r.attr(t({width:z(p.width),height:z(p.height)},D)),D=null)}function m(){var a=p.styles,a=a&&a.textAlign,b=x+K*(1-na),c;c=h?0:Ia;u(Ba)&&P&&("center"===a||"right"===a)&&(b+={center:0.5,right:1}[a]*(Ba- P.width));if(b!==w.x||c!==w.y)w.attr("x",b),c!==v&&w.attr("y",c);w.x=b;w.y=c}function n(a,b){r?r.attr(a,b):D[a]=b}var q=this,p=q.g(k),w=q.text("",0,0,g).attr({zIndex:1}),r,P,na=0,K=3,x=0,Ba,pb,qb,H,Fb=0,D={},Ia,y;p.onAdd=function(){w.add(p);p.attr({text:a||"",x:b,y:c});r&&u(e)&&p.attr({anchorX:e,anchorY:f})};p.widthSetter=function(a){Ba=a};p.heightSetter=function(a){pb=a};p.paddingSetter=function(a){u(a)&&a!==K&&(K=a,m())};p.paddingLeftSetter=function(a){u(a)&&a!==x&&(x=a,m())};p.alignSetter=function(a){na= {left:0,center:0.5,right:1}[a]};p.textSetter=function(a){a!==v&&w.textSetter(a);l();m()};p["stroke-widthSetter"]=function(a,b){a&&(y=!0);Fb=a%2/2;n(b,a)};p.strokeSetter=p.fillSetter=p.rSetter=function(a,b){"fill"===b&&a&&(y=!0);n(b,a)};p.anchorXSetter=function(a,b){e=a;n(b,a+Fb-qb)};p.anchorYSetter=function(a,b){f=a;n(b,a-H)};p.xSetter=function(a){p.x=a;na&&(a-=na*((Ba||P.width)+K));qb=z(a);p.attr("translateX",qb)};p.ySetter=function(a){H=p.y=z(a);p.attr("translateY",H)};var B=p.css;return t(p,{css:function(a){if(a){var b= {};a=E(a);s("fontSize fontWeight fontFamily color lineHeight width textDecoration textShadow".split(" "),function(c){a[c]!==v&&(b[c]=a[c],delete a[c])});w.css(b)}return B.call(p,a)},getBBox:function(){return{width:P.width+2*K,height:P.height+2*K,x:P.x-K,y:P.y-K}},shadow:function(a){r&&r.shadow(a);return p},destroy:function(){T(p.element,"mouseenter");T(p.element,"mouseleave");w&&(w=w.destroy());r&&(r=r.destroy());W.prototype.destroy.call(p);p=q=l=m=n=null}})}};Ta=Za;var rb,Gb;da&&(S.CanVGRenderer= rb=function(){ja="http://www.w3.org/1999/xhtml"},rb.prototype.symbols={},Gb=function(){function a(){var a=b.length,d;for(d=0;d<a;d++)b[d]();b=[]}var b=[];return{push:function(c,d){0===b.length&&Ob(d,a);b.push(c)}}}(),Ta=rb);xa.prototype={addLabel:function(){var a=this.axis,b=a.options,c=a.chart,d=a.horiz,e=a.categories,f=a.names,g=this.pos,h=b.labels,k=a.tickPositions,d=d&&e&&!h.step&&!h.staggerLines&&!h.rotation&&c.plotWidth/k.length||!d&&(c.margin[3]||0.33*c.chartWidth),l=g===k[0],m=g===k[k.length- 1],n,f=e?r(e[g],f[g],g):g,e=this.label,q=k.info;a.isDatetimeAxis&&q&&(n=b.dateTimeLabelFormats[q.higherRanks[g]||q.unitName]);this.isFirst=l;this.isLast=m;b=a.labelFormatter.call({axis:a,chart:c,isFirst:l,isLast:m,dateTimeLabelFormat:n,value:a.isLog?ia(L(f)):f});g=d&&{width:x(1,z(d-2*(h.padding||10)))+"px"};g=t(g,h.style);u(e)?e&&e.attr({text:b}).css(g):(n={align:a.labelAlign},$(h.rotation)&&(n.rotation=h.rotation),d&&h.ellipsis&&(n._clipHeight=a.len/k.length),this.label=u(b)&&h.enabled?c.renderer.text(b, 0,0,h.useHTML).attr(n).css(g).add(a.labelGroup):null)},getLabelSize:function(){var a=this.label,b=this.axis;return a?a.getBBox()[b.horiz?"height":"width"]:0},getLabelSides:function(){var a=this.label.getBBox(),b=this.axis,c=b.horiz,d=b.options.labels,a=c?a.width:a.height,b=c?d.x-a*{left:0,center:0.5,right:1}[b.labelAlign]:0;return[b,c?a+b:a]},handleOverflow:function(a,b){var c=!0,d=this.axis,e=this.isFirst,f=this.isLast,g=d.horiz?b.x:b.y,h=d.reversed,k=d.tickPositions,l=this.getLabelSides(),m=l[0], l=l[1],n,q,p,w=this.label.line||0;n=d.labelEdge;q=d.justifyLabels&&(e||f);n[w]===v||g+m>n[w]?n[w]=g+l:q||(c=!1);if(q){n=(q=d.justifyToPlot)?d.pos:0;q=q?n+d.len:d.chart.chartWidth;do a+=e?1:-1,p=d.ticks[k[a]];while(k[a]&&(!p||p.label.line!==w));d=p&&p.label.xy&&p.label.xy.x+p.getLabelSides()[e?0:1];e&&!h||f&&h?g+m<n&&(g=n-m,p&&g+l>d&&(c=!1)):g+l>q&&(g=q-l,p&&g+m<d&&(c=!1));b.x=g}return c},getPosition:function(a,b,c,d){var e=this.axis,f=e.chart,g=d&&f.oldChartHeight||f.chartHeight;return{x:a?e.translate(b+ c,null,null,d)+e.transB:e.left+e.offset+(e.opposite?(d&&f.oldChartWidth||f.chartWidth)-e.right-e.left:0),y:a?g-e.bottom+e.offset-(e.opposite?e.height:0):g-e.translate(b+c,null,null,d)-e.transB}},getLabelPosition:function(a,b,c,d,e,f,g,h){var k=this.axis,l=k.transA,m=k.reversed,n=k.staggerLines,q=k.chart.renderer.fontMetrics(e.style.fontSize).b,p=e.rotation;a=a+e.x-(f&&d?f*l*(m?-1:1):0);b=b+e.y-(f&&!d?f*l*(m?1:-1):0);p&&2===k.side&&(b-=q-q*Fa(p*Ab));u(e.y)||p||(b+=q-c.getBBox().height/2);n&&(c.line= g/(h||1)%n,b+=k.labelOffset/n*c.line);return{x:a,y:b}},getMarkPath:function(a,b,c,d,e,f){return f.crispLine(["M",a,b,"L",a+(e?0:-c),b+(e?c:0)],d)},render:function(a,b,c){var d=this.axis,e=d.options,f=d.chart.renderer,g=d.horiz,h=this.type,k=this.label,l=this.pos,m=e.labels,n=this.gridLine,q=h?h+"Grid":"grid",p=h?h+"Tick":"tick",w=e[q+"LineWidth"],s=e[q+"LineColor"],P=e[q+"LineDashStyle"],u=e[p+"Length"],q=e[p+"Width"]||0,K=e[p+"Color"],x=e[p+"Position"],p=this.mark,t=m.step,z=!0,y=d.tickmarkOffset, H=this.getPosition(g,l,y,b),B=H.x,H=H.y,D=g&&B===d.pos+d.len||!g&&H===d.pos?-1:1;this.isActive=!0;if(w&&(l=d.getPlotLinePath(l+y,w*D,b,!0),n===v&&(n={stroke:s,"stroke-width":w},P&&(n.dashstyle=P),h||(n.zIndex=1),b&&(n.opacity=0),this.gridLine=n=w?f.path(l).attr(n).add(d.gridGroup):null),!b&&n&&l))n[this.isNew?"attr":"animate"]({d:l,opacity:c});q&&u&&("inside"===x&&(u=-u),d.opposite&&(u=-u),h=this.getMarkPath(B,H,u,q*D,g,f),p?p.animate({d:h,opacity:c}):this.mark=f.path(h).attr({stroke:K,"stroke-width":q, opacity:c}).add(d.axisGroup));k&&!isNaN(B)&&(k.xy=H=this.getLabelPosition(B,H,k,g,m,y,a,t),this.isFirst&&!this.isLast&&!r(e.showFirstLabel,1)||this.isLast&&!this.isFirst&&!r(e.showLastLabel,1)?z=!1:d.isRadial||m.step||m.rotation||b||0===c||(z=this.handleOverflow(a,H)),t&&a%t&&(z=!1),z&&!isNaN(H.y)?(H.opacity=c,k[this.isNew?"attr":"animate"](H),this.isNew=!1):k.attr("y",-9999))},destroy:function(){Da(this,this.axis)}};S.PlotLineOrBand=function(a,b){this.axis=a;b&&(this.options=b,this.id=b.id)};S.PlotLineOrBand.prototype= {render:function(){var a=this,b=a.axis,c=b.horiz,d=(b.pointRange||0)/2,e=a.options,f=e.label,g=a.label,h=e.width,k=e.to,l=e.from,m=u(l)&&u(k),n=e.value,q=e.dashStyle,p=a.svgElem,w=[],s,P=e.color,t=e.zIndex,K=e.events,v={},z=b.chart.renderer;b.isLog&&(l=aa(l),k=aa(k),n=aa(n));if(h)w=b.getPlotLinePath(n,h),v={stroke:P,"stroke-width":h},q&&(v.dashstyle=q);else if(m)l=x(l,b.min-d),k=J(k,b.max+d),w=b.getPlotBandPath(l,k,e),P&&(v.fill=P),e.borderWidth&&(v.stroke=e.borderColor,v["stroke-width"]=e.borderWidth); else return;u(t)&&(v.zIndex=t);if(p)w?p.animate({d:w},null,p.onGetPath):(p.hide(),p.onGetPath=function(){p.show()},g&&(a.label=g=g.destroy()));else if(w&&w.length&&(a.svgElem=p=z.path(w).attr(v).add(),K))for(s in d=function(b){p.on(b,function(c){K[b].apply(a,[c])})},K)d(s);f&&u(f.text)&&w&&w.length&&0<b.width&&0<b.height?(f=E({align:c&&m&&"center",x:c?!m&&4:10,verticalAlign:!c&&m&&"middle",y:c?m?16:10:m?6:-4,rotation:c&&!m&&90},f),g||(v={align:f.textAlign||f.align,rotation:f.rotation},u(t)&&(v.zIndex= t),a.label=g=z.text(f.text,0,0,f.useHTML).attr(v).css(f.style).add()),b=[w[1],w[4],r(w[6],w[1])],w=[w[2],w[5],r(w[7],w[2])],c=va(b),m=va(w),g.align(f,!1,{x:c,y:m,width:la(b)-c,height:la(w)-m}),g.show()):g&&g.hide();return a},destroy:function(){oa(this.axis.plotLinesAndBands,this);delete this.axis;Da(this)}};sa.prototype={defaultOptions:{dateTimeLabelFormats:{millisecond:"%H:%M:%S.%L",second:"%H:%M:%S",minute:"%H:%M",hour:"%H:%M",day:"%e. %b",week:"%e. %b",month:"%b '%y",year:"%Y"},endOnTick:!1,gridLineColor:"#C0C0C0", labels:nb,lineColor:"#C0D0E0",lineWidth:1,minPadding:0.01,maxPadding:0.01,minorGridLineColor:"#E0E0E0",minorGridLineWidth:1,minorTickColor:"#A0A0A0",minorTickLength:2,minorTickPosition:"outside",startOfWeek:1,startOnTick:!1,tickColor:"#C0D0E0",tickLength:10,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",tickWidth:1,title:{align:"middle",style:{color:"#707070"}},type:"linear"},defaultYAxisOptions:{endOnTick:!0,gridLineWidth:1,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8, y:3},lineWidth:0,maxPadding:0.05,minPadding:0.05,startOnTick:!0,tickWidth:0,title:{rotation:270,text:"Values"},stackLabels:{enabled:!1,formatter:function(){return qa(this.total,-1)},style:nb.style}},defaultLeftAxisOptions:{labels:{x:-15,y:null},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:15,y:null},title:{rotation:90}},defaultBottomAxisOptions:{labels:{x:0,y:20},title:{rotation:0}},defaultTopAxisOptions:{labels:{x:0,y:-15},title:{rotation:0}},init:function(a,b){var c=b.isX;this.horiz= a.inverted?!c:c;this.coll=(this.isXAxis=c)?"xAxis":"yAxis";this.opposite=b.opposite;this.side=b.side||(this.horiz?this.opposite?0:2:this.opposite?1:3);this.setOptions(b);var d=this.options,e=d.type;this.labelFormatter=d.labels.formatter||this.defaultLabelFormatter;this.userOptions=b;this.minPixelPadding=0;this.chart=a;this.reversed=d.reversed;this.zoomEnabled=!1!==d.zoomEnabled;this.categories=d.categories||"category"===e;this.names=[];this.isLog="logarithmic"===e;this.isDatetimeAxis="datetime"=== e;this.isLinked=u(d.linkedTo);this.tickmarkOffset=this.categories&&"between"===d.tickmarkPlacement?0.5:0;this.ticks={};this.labelEdge=[];this.minorTicks={};this.plotLinesAndBands=[];this.alternateBands={};this.len=0;this.minRange=this.userMinRange=d.minRange||d.maxZoom;this.range=d.range;this.offset=d.offset||0;this.stacks={};this.oldStacks={};this.min=this.max=null;this.crosshair=r(d.crosshair,ha(a.options.tooltip.crosshairs)[c?0:1],!1);var f,d=this.options.events;-1===Wa(this,a.axes)&&(c&&!this.isColorAxis? a.axes.splice(a.xAxis.length,0,this):a.axes.push(this),a[this.coll].push(this));this.series=this.series||[];a.inverted&&c&&this.reversed===v&&(this.reversed=!0);this.removePlotLine=this.removePlotBand=this.removePlotBandOrLine;for(f in d)N(this,f,d[f]);this.isLog&&(this.val2lin=aa,this.lin2val=L)},setOptions:function(a){this.options=E(this.defaultOptions,this.isXAxis?{}:this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side], E(I[this.coll],a))},defaultLabelFormatter:function(){var a=this.axis,b=this.value,c=a.categories,d=this.dateTimeLabelFormat,e=I.lang.numericSymbols,f=e&&e.length,g,h=a.options.labels.format,a=a.isLog?b:a.tickInterval;if(h)g=ua(h,this);else if(c)g=b;else if(d)g=Ka(d,b);else if(f&&1E3<=a)for(;f--&&g===v;)c=Math.pow(1E3,f+1),a>=c&&null!==e[f]&&(g=qa(b/c,-1)+e[f]);g===v&&(g=1E4<=R(b)?qa(b,0):qa(b,-1,v,""));return g},getSeriesExtremes:function(){var a=this,b=a.chart;a.hasVisibleSeries=!1;a.dataMin=a.dataMax= null;a.buildStacks&&a.buildStacks();s(a.series,function(c){if(c.visible||!b.options.chart.ignoreHiddenSeries){var d;d=c.options.threshold;var e;a.hasVisibleSeries=!0;a.isLog&&0>=d&&(d=null);a.isXAxis?(d=c.xData,d.length&&(a.dataMin=J(r(a.dataMin,d[0]),va(d)),a.dataMax=x(r(a.dataMax,d[0]),la(d)))):(c.getExtremes(),e=c.dataMax,c=c.dataMin,u(c)&&u(e)&&(a.dataMin=J(r(a.dataMin,c),c),a.dataMax=x(r(a.dataMax,e),e)),u(d)&&(a.dataMin>=d?(a.dataMin=d,a.ignoreMinPadding=!0):a.dataMax<d&&(a.dataMax=d,a.ignoreMaxPadding= !0)))}})},translate:function(a,b,c,d,e,f){var g=1,h=0,k=d?this.oldTransA:this.transA;d=d?this.oldMin:this.min;var l=this.minPixelPadding;e=(this.options.ordinal||this.isLog&&e)&&this.lin2val;k||(k=this.transA);c&&(g*=-1,h=this.len);this.reversed&&(g*=-1,h-=g*(this.sector||this.len));b?(a=a*g+h-l,a=a/k+d,e&&(a=this.lin2val(a))):(e&&(a=this.val2lin(a)),"between"===f&&(f=0.5),a=g*(a-d)*k+h+g*l+($(f)?k*f*this.pointRange:0));return a},toPixels:function(a,b){return this.translate(a,!1,!this.horiz,null, !0)+(b?0:this.pos)},toValue:function(a,b){return this.translate(a-(b?0:this.pos),!0,!this.horiz,null,!0)},getPlotLinePath:function(a,b,c,d,e){var f=this.chart,g=this.left,h=this.top,k,l,m=c&&f.oldChartHeight||f.chartHeight,n=c&&f.oldChartWidth||f.chartWidth,q;k=this.transB;e=r(e,this.translate(a,null,null,c));a=c=z(e+k);k=l=z(m-e-k);if(isNaN(e))q=!0;else if(this.horiz){if(k=h,l=m-this.bottom,a<g||a>g+this.width)q=!0}else if(a=g,c=n-this.right,k<h||k>h+this.height)q=!0;return q&&!d?null:f.renderer.crispLine(["M", a,k,"L",c,l],b||1)},getLinearTickPositions:function(a,b,c){var d,e=ia(F(b/a)*a),f=ia(ya(c/a)*a),g=[];if(b===c&&$(b))return[b];for(b=e;b<=f;){g.push(b);b=ia(b+a);if(b===d)break;d=b}return g},getMinorTickPositions:function(){var a=this.options,b=this.tickPositions,c=this.minorTickInterval,d=[],e;if(this.isLog)for(e=b.length,a=1;a<e;a++)d=d.concat(this.getLogTickPositions(c,b[a-1],b[a],!0));else if(this.isDatetimeAxis&&"auto"===a.minorTickInterval)d=d.concat(this.getTimeTicks(this.normalizeTimeTickInterval(c), this.min,this.max,a.startOfWeek)),d[0]<this.min&&d.shift();else for(b=this.min+(b[0]-this.min)%c;b<=this.max;b+=c)d.push(b);return d},adjustForMinRange:function(){var a=this.options,b=this.min,c=this.max,d,e=this.dataMax-this.dataMin>=this.minRange,f,g,h,k,l;this.isXAxis&&this.minRange===v&&!this.isLog&&(u(a.min)||u(a.max)?this.minRange=null:(s(this.series,function(a){k=a.xData;for(g=l=a.xIncrement?1:k.length-1;0<g;g--)if(h=k[g]-k[g-1],f===v||h<f)f=h}),this.minRange=J(5*f,this.dataMax-this.dataMin))); if(c-b<this.minRange){var m=this.minRange;d=(m-c+b)/2;d=[b-d,r(a.min,b-d)];e&&(d[2]=this.dataMin);b=la(d);c=[b+m,r(a.max,b+m)];e&&(c[2]=this.dataMax);c=va(c);c-b<m&&(d[0]=c-m,d[1]=r(a.min,c-m),b=la(d))}this.min=b;this.max=c},setAxisTranslation:function(a){var b=this,c=b.max-b.min,d=b.axisPointRange||0,e,f=0,g=0,h=b.linkedParent,k=!!b.categories,l=b.transA;if(b.isXAxis||k||d)h?(f=h.minPointOffset,g=h.pointRangePadding):s(b.series,function(a){var h=k?1:b.isXAxis?a.pointRange:b.axisPointRange||0,l=a.options.pointPlacement, p=a.closestPointRange;h>c&&(h=0);d=x(d,h);f=x(f,U(l)?0:h/2);g=x(g,"on"===l?0:h);!a.noSharedTooltip&&u(p)&&(e=u(e)?J(e,p):p)}),h=b.ordinalSlope&&e?b.ordinalSlope/e:1,b.minPointOffset=f*=h,b.pointRangePadding=g*=h,b.pointRange=J(d,c),b.closestPointRange=e;a&&(b.oldTransA=l);b.translationSlope=b.transA=l=b.len/(c+g||1);b.transB=b.horiz?b.left:b.bottom;b.minPixelPadding=l*f},setTickPositions:function(a){var b=this,c=b.chart,d=b.options,e=b.isLog,f=b.isDatetimeAxis,g=b.isXAxis,h=b.isLinked,k=b.options.tickPositioner, l=d.maxPadding,m=d.minPadding,n=d.tickInterval,q=d.minTickInterval,p=d.tickPixelInterval,w,v=b.categories;h?(b.linkedParent=c[b.coll][d.linkedTo],c=b.linkedParent.getExtremes(),b.min=r(c.min,c.dataMin),b.max=r(c.max,c.dataMax),d.type!==b.linkedParent.options.type&&fa(11,1)):(b.min=r(b.userMin,d.min,b.dataMin),b.max=r(b.userMax,d.max,b.dataMax));e&&(!a&&0>=J(b.min,r(b.dataMin,b.min))&&fa(10,1),b.min=ia(aa(b.min)),b.max=ia(aa(b.max)));b.range&&u(b.max)&&(b.userMin=b.min=x(b.min,b.max-b.range),b.userMax= b.max,b.range=null);b.beforePadding&&b.beforePadding();b.adjustForMinRange();!(v||b.axisPointRange||b.usePercentage||h)&&u(b.min)&&u(b.max)&&(c=b.max-b.min)&&(u(d.min)||u(b.userMin)||!m||!(0>b.dataMin)&&b.ignoreMinPadding||(b.min-=c*m),u(d.max)||u(b.userMax)||!l||!(0<b.dataMax)&&b.ignoreMaxPadding||(b.max+=c*l));$(d.floor)&&(b.min=x(b.min,d.floor));$(d.ceiling)&&(b.max=J(b.max,d.ceiling));b.min===b.max||void 0===b.min||void 0===b.max?b.tickInterval=1:h&&!n&&p===b.linkedParent.options.tickPixelInterval? b.tickInterval=b.linkedParent.tickInterval:(b.tickInterval=r(n,v?1:(b.max-b.min)*p/x(b.len,p)),!u(n)&&b.len<p&&!this.isRadial&&!this.isLog&&!v&&d.startOnTick&&d.endOnTick&&(w=!0,b.tickInterval/=4));g&&!a&&s(b.series,function(a){a.processData(b.min!==b.oldMin||b.max!==b.oldMax)});b.setAxisTranslation(!0);b.beforeSetTickPositions&&b.beforeSetTickPositions();b.postProcessTickInterval&&(b.tickInterval=b.postProcessTickInterval(b.tickInterval));b.pointRange&&(b.tickInterval=x(b.pointRange,b.tickInterval)); !n&&b.tickInterval<q&&(b.tickInterval=q);f||e||n||(b.tickInterval=eb(b.tickInterval,null,db(b.tickInterval),d));b.minorTickInterval="auto"===d.minorTickInterval&&b.tickInterval?b.tickInterval/5:d.minorTickInterval;b.tickPositions=a=d.tickPositions?[].concat(d.tickPositions):k&&k.apply(b,[b.min,b.max]);a||(!b.ordinalPositions&&(b.max-b.min)/b.tickInterval>x(2*b.len,200)&&fa(19,!0),a=f?b.getTimeTicks(b.normalizeTimeTickInterval(b.tickInterval,d.units),b.min,b.max,d.startOfWeek,b.ordinalPositions,b.closestPointRange, !0):e?b.getLogTickPositions(b.tickInterval,b.min,b.max):b.getLinearTickPositions(b.tickInterval,b.min,b.max),w&&a.splice(1,a.length-2),b.tickPositions=a);h||(e=a[0],f=a[a.length-1],h=b.minPointOffset||0,d.startOnTick?b.min=e:b.min-h>e&&a.shift(),d.endOnTick?b.max=f:b.max+h<f&&a.pop(),1===a.length&&(d=1E13<R(b.max)?1:0.001,b.min-=d,b.max+=d))},setMaxTicks:function(){var a=this.chart,b=a.maxTicks||{},c=this.tickPositions,d=this._maxTicksKey=[this.coll,this.pos,this.len].join("-");!this.isLinked&&!this.isDatetimeAxis&& c&&c.length>(b[d]||0)&&!1!==this.options.alignTicks&&(b[d]=c.length);a.maxTicks=b},adjustTickAmount:function(){var a=this._maxTicksKey,b=this.tickPositions,c=this.chart.maxTicks;if(c&&c[a]&&!this.isDatetimeAxis&&!this.categories&&!this.isLinked&&!1!==this.options.alignTicks&&this.min!==v){var d=this.tickAmount,e=b.length;this.tickAmount=a=c[a];if(e<a){for(;b.length<a;)b.push(ia(b[b.length-1]+this.tickInterval));this.transA*=(e-1)/(a-1);this.max=b[b.length-1]}u(d)&&a!==d&&(this.isDirty=!0)}},setScale:function(){var a= this.stacks,b,c,d,e;this.oldMin=this.min;this.oldMax=this.max;this.oldAxisLength=this.len;this.setAxisSize();e=this.len!==this.oldAxisLength;s(this.series,function(a){if(a.isDirtyData||a.isDirty||a.xAxis.isDirty)d=!0});if(e||d||this.isLinked||this.forceRedraw||this.userMin!==this.oldUserMin||this.userMax!==this.oldUserMax){if(!this.isXAxis)for(b in a)for(c in a[b])a[b][c].total=null,a[b][c].cum=0;this.forceRedraw=!1;this.getSeriesExtremes();this.setTickPositions();this.oldUserMin=this.userMin;this.oldUserMax= this.userMax;this.isDirty||(this.isDirty=e||this.min!==this.oldMin||this.max!==this.oldMax)}else if(!this.isXAxis)for(b in this.oldStacks&&(a=this.stacks=this.oldStacks),a)for(c in a[b])a[b][c].cum=a[b][c].total;this.setMaxTicks()},setExtremes:function(a,b,c,d,e){var f=this,g=f.chart;c=r(c,!0);e=t(e,{min:a,max:b});C(f,"setExtremes",e,function(){f.userMin=a;f.userMax=b;f.eventArgs=e;f.isDirtyExtremes=!0;c&&g.redraw(d)})},zoom:function(a,b){var c=this.dataMin,d=this.dataMax,e=this.options;this.allowZoomOutside|| (u(c)&&a<=J(c,r(e.min,c))&&(a=v),u(d)&&b>=x(d,r(e.max,d))&&(b=v));this.displayBtn=a!==v||b!==v;this.setExtremes(a,b,!1,v,{trigger:"zoom"});return!0},setAxisSize:function(){var a=this.chart,b=this.options,c=b.offsetLeft||0,d=this.horiz,e=r(b.width,a.plotWidth-c+(b.offsetRight||0)),f=r(b.height,a.plotHeight),g=r(b.top,a.plotTop),b=r(b.left,a.plotLeft+c),c=/%$/;c.test(f)&&(f=parseInt(f,10)/100*a.plotHeight);c.test(g)&&(g=parseInt(g,10)/100*a.plotHeight+a.plotTop);this.left=b;this.top=g;this.width=e; this.height=f;this.bottom=a.chartHeight-f-g;this.right=a.chartWidth-e-b;this.len=x(d?e:f,0);this.pos=d?b:g},getExtremes:function(){var a=this.isLog;return{min:a?ia(L(this.min)):this.min,max:a?ia(L(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},getThreshold:function(a){var b=this.isLog,c=b?L(this.min):this.min,b=b?L(this.max):this.max;c>a||null===a?a=c:b<a&&(a=b);return this.translate(a,0,1,0,1)},autoLabelAlign:function(a){a=(r(a,0)-90*this.side+ 720)%360;return 15<a&&165>a?"right":195<a&&345>a?"left":"center"},getOffset:function(){var a=this,b=a.chart,c=b.renderer,d=a.options,e=a.tickPositions,f=a.ticks,g=a.horiz,h=a.side,k=b.inverted?[1,0,3,2][h]:h,l,m=0,n,q=0,p=d.title,w=d.labels,t=0,P=b.axisOffset,na=b.clipOffset,K=[-1,1,1,-1][h],z,y=1,B=r(w.maxStaggerLines,5),E,H,A,D,Ia=2===h?c.fontMetrics(w.style.fontSize).b:0;a.hasData=l=a.hasVisibleSeries||u(a.min)&&u(a.max)&&!!e;a.showAxis=b=l||r(d.showEmpty,!0);a.staggerLines=a.horiz&&w.staggerLines; a.axisGroup||(a.gridGroup=c.g("grid").attr({zIndex:d.gridZIndex||1}).add(),a.axisGroup=c.g("axis").attr({zIndex:d.zIndex||2}).add(),a.labelGroup=c.g("axis-labels").attr({zIndex:w.zIndex||7}).addClass("highcharts-"+a.coll.toLowerCase()+"-labels").add());if(l||a.isLinked){a.labelAlign=r(w.align||a.autoLabelAlign(w.rotation));s(e,function(b){f[b]?f[b].addLabel():f[b]=new xa(a,b)});if(a.horiz&&!a.staggerLines&&B&&!w.rotation){for(z=a.reversed?[].concat(e).reverse():e;y<B;){l=[];E=!1;for(w=0;w<z.length;w++)H= z[w],A=(A=f[H].label&&f[H].label.getBBox())?A.width:0,D=w%y,A&&(H=a.translate(H),l[D]!==v&&H<l[D]&&(E=!0),l[D]=H+A);if(E)y++;else break}1<y&&(a.staggerLines=y)}s(e,function(b){if(0===h||2===h||{1:"left",3:"right"}[h]===a.labelAlign)t=x(f[b].getLabelSize(),t)});a.staggerLines&&(t*=a.staggerLines,a.labelOffset=t)}else for(z in f)f[z].destroy(),delete f[z];p&&p.text&&!1!==p.enabled&&(a.axisTitle||(a.axisTitle=c.text(p.text,0,0,p.useHTML).attr({zIndex:7,rotation:p.rotation||0,align:p.textAlign||{low:"left", middle:"center",high:"right"}[p.align]}).addClass("highcharts-"+this.coll.toLowerCase()+"-title").css(p.style).add(a.axisGroup),a.axisTitle.isNew=!0),b&&(m=a.axisTitle.getBBox()[g?"height":"width"],q=r(p.margin,g?5:10),n=p.offset),a.axisTitle[b?"show":"hide"]());a.offset=K*r(d.offset,P[h]);a.axisTitleMargin=r(n,t+q+(t&&K*d.labels[g?"y":"x"]-Ia));P[h]=x(P[h],a.axisTitleMargin+m+K*a.offset);na[k]=x(na[k],2*F(d.lineWidth/2))},getLinePath:function(a){var b=this.chart,c=this.opposite,d=this.offset,e=this.horiz, f=this.left+(c?this.width:0)+d,d=b.chartHeight-this.bottom-(c?this.height:0)+d;c&&(a*=-1);return b.renderer.crispLine(["M",e?this.left:f,e?d:this.top,"L",e?b.chartWidth-this.right:f,e?d:b.chartHeight-this.bottom],a)},getTitlePosition:function(){var a=this.horiz,b=this.left,c=this.top,d=this.len,e=this.options.title,f=a?b:c,g=this.opposite,h=this.offset,k=A(e.style.fontSize||12),d={low:f+(a?0:d),middle:f+d/2,high:f+(a?d:0)}[e.align],b=(a?c+this.height:b)+(a?1:-1)*(g?-1:1)*this.axisTitleMargin+(2=== this.side?k:0);return{x:a?d:b+(g?this.width:0)+h+(e.x||0),y:a?b-(g?this.height:0)+h:d+(e.y||0)}},render:function(){var a=this,b=a.horiz,c=a.reversed,d=a.chart,e=d.renderer,f=a.options,g=a.isLog,h=a.isLinked,k=a.tickPositions,l,m=a.axisTitle,n=a.ticks,q=a.minorTicks,p=a.alternateBands,w=f.stackLabels,r=f.alternateGridColor,t=a.tickmarkOffset,x=f.lineWidth,K=d.hasRendered&&u(a.oldMin)&&!isNaN(a.oldMin),z=a.hasData,y=a.showAxis,B,E=f.labels.overflow,A=a.justifyLabels=b&&!1!==E,C;a.labelEdge.length=0; a.justifyToPlot="justify"===E;s([n,q,p],function(a){for(var b in a)a[b].isActive=!1});if(z||h)a.minorTickInterval&&!a.categories&&s(a.getMinorTickPositions(),function(b){q[b]||(q[b]=new xa(a,b,"minor"));K&&q[b].isNew&&q[b].render(null,!0);q[b].render(null,!1,1)}),k.length&&(l=k.slice(),(b&&c||!b&&!c)&&l.reverse(),A&&(l=l.slice(1).concat([l[0]])),s(l,function(b,c){A&&(c=c===l.length-1?0:c+1);if(!h||b>=a.min&&b<=a.max)n[b]||(n[b]=new xa(a,b)),K&&n[b].isNew&&n[b].render(c,!0,0.1),n[b].render(c,!1,1)}), t&&0===a.min&&(n[-1]||(n[-1]=new xa(a,-1,null,!0)),n[-1].render(-1))),r&&s(k,function(b,c){0===c%2&&b<a.max&&(p[b]||(p[b]=new S.PlotLineOrBand(a)),B=b+t,C=k[c+1]!==v?k[c+1]+t:a.max,p[b].options={from:g?L(B):B,to:g?L(C):C,color:r},p[b].render(),p[b].isActive=!0)}),a._addedPlotLB||(s((f.plotLines||[]).concat(f.plotBands||[]),function(b){a.addPlotBandOrLine(b)}),a._addedPlotLB=!0);s([n,q,p],function(a){var b,c,e=[],f=ea?ea.duration||500:0,g=function(){for(c=e.length;c--;)a[e[c]]&&!a[e[c]].isActive&& (a[e[c]].destroy(),delete a[e[c]])};for(b in a)a[b].isActive||(a[b].render(b,!1,0),a[b].isActive=!1,e.push(b));a!==p&&d.hasRendered&&f?f&&setTimeout(g,f):g()});x&&(b=a.getLinePath(x),a.axisLine?a.axisLine.animate({d:b}):a.axisLine=e.path(b).attr({stroke:f.lineColor,"stroke-width":x,zIndex:7}).add(a.axisGroup),a.axisLine[y?"show":"hide"]());m&&y&&(m[m.isNew?"attr":"animate"](a.getTitlePosition()),m.isNew=!1);w&&w.enabled&&a.renderStackTotals();a.isDirty=!1},redraw:function(){var a=this.chart.pointer; a&&a.reset(!0);this.render();s(this.plotLinesAndBands,function(a){a.render()});s(this.series,function(a){a.isDirty=!0})},destroy:function(a){var b=this,c=b.stacks,d,e=b.plotLinesAndBands;a||T(b);for(d in c)Da(c[d]),c[d]=null;s([b.ticks,b.minorTicks,b.alternateBands],function(a){Da(a)});for(a=e.length;a--;)e[a].destroy();s("stackTotalGroup axisLine axisTitle axisGroup cross gridGroup labelGroup".split(" "),function(a){b[a]&&(b[a]=b[a].destroy())});this.cross&&this.cross.destroy()},drawCrosshair:function(a, b){if(this.crosshair)if(!1===(u(b)||!r(this.crosshair.snap,!0)))this.hideCrosshair();else{var c,d=this.crosshair,e=d.animation;r(d.snap,!0)?u(b)&&(c=this.chart.inverted!=this.horiz?b.plotX:this.len-b.plotY):c=this.horiz?a.chartX-this.pos:this.len-a.chartY+this.pos;c=this.isRadial?this.getPlotLinePath(this.isXAxis?b.x:r(b.stackY,b.y)):this.getPlotLinePath(null,null,null,null,c);if(null===c)this.hideCrosshair();else if(this.cross)this.cross.attr({visibility:"visible"})[e?"animate":"attr"]({d:c},e); else e={"stroke-width":d.width||1,stroke:d.color||"#C0C0C0",zIndex:d.zIndex||2},d.dashStyle&&(e.dashstyle=d.dashStyle),this.cross=this.chart.renderer.path(c).attr(e).add()}},hideCrosshair:function(){this.cross&&this.cross.hide()}};t(sa.prototype,{getPlotBandPath:function(a,b){var c=this.getPlotLinePath(b),d=this.getPlotLinePath(a);d&&c?d.push(c[4],c[5],c[1],c[2]):d=null;return d},addPlotBand:function(a){this.addPlotBandOrLine(a,"plotBands")},addPlotLine:function(a){this.addPlotBandOrLine(a,"plotLines")}, addPlotBandOrLine:function(a,b){var c=(new S.PlotLineOrBand(this,a)).render(),d=this.userOptions;c&&(b&&(d[b]=d[b]||[],d[b].push(a)),this.plotLinesAndBands.push(c));return c},removePlotBandOrLine:function(a){for(var b=this.plotLinesAndBands,c=this.options,d=this.userOptions,e=b.length;e--;)b[e].id===a&&b[e].destroy();s([c.plotLines||[],d.plotLines||[],c.plotBands||[],d.plotBands||[]],function(b){for(e=b.length;e--;)b[e].id===a&&oa(b,b[e])})}});sa.prototype.getTimeTicks=function(a,b,c,d){var e=[], f={},g=I.global.useUTC,h,k=new Date(b-wa),l=a.unitRange,m=a.count;if(u(b)){l>=B.second&&(k.setMilliseconds(0),k.setSeconds(l>=B.minute?0:m*F(k.getSeconds()/m)));if(l>=B.minute)k[vb](l>=B.hour?0:m*F(k[gb]()/m));if(l>=B.hour)k[wb](l>=B.day?0:m*F(k[hb]()/m));if(l>=B.day)k[jb](l>=B.month?1:m*F(k[Ea]()/m));l>=B.month&&(k[xb](l>=B.year?0:m*F(k[Oa]()/m)),h=k[Pa]());if(l>=B.year)k[yb](h-h%m);if(l===B.week)k[jb](k[Ea]()-k[ib]()+r(d,1));b=1;wa&&(k=new Date(k.getTime()+wa));h=k[Pa]();d=k.getTime();for(var n= k[Oa](),q=k[Ea](),p=g?wa:(864E5+6E4*k.getTimezoneOffset())%864E5;d<c;)e.push(d),d=l===B.year?Na(h+b*m,0):l===B.month?Na(h,n+b*m):g||l!==B.day&&l!==B.week?d+l*m:Na(h,n,q+b*m*(l===B.day?1:7)),b++;e.push(d);s(mb(e,function(a){return l<=B.hour&&a%B.day===p}),function(a){f[a]="day"})}e.info=t(a,{higherRanks:f,totalRange:l*m});return e};sa.prototype.normalizeTimeTickInterval=function(a,b){var c=b||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour", [1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],d=c[c.length-1],e=B[d[0]],f=d[1],g;for(g=0;g<c.length&&!(d=c[g],e=B[d[0]],f=d[1],c[g+1]&&a<=(e*f[f.length-1]+B[c[g+1][0]])/2);g++);e===B.year&&a<5*e&&(f=[1,2,5]);c=eb(a/e,f,"year"===d[0]?x(db(a/e),1):1);return{unitRange:e,count:c,unitName:d[0]}};sa.prototype.getLogTickPositions=function(a,b,c,d){var e=this.options,f=this.len,g=[];d||(this._minorAutoInterval=null);if(0.5<=a)a=z(a),g=this.getLinearTickPositions(a,b, c);else if(0.08<=a)for(var f=F(b),h,k,l,m,n,e=0.3<a?[1,2,4]:0.15<a?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];f<c+1&&!n;f++)for(k=e.length,h=0;h<k&&!n;h++)l=aa(L(f)*e[h]),l>b&&(!d||m<=c)&&g.push(m),m>c&&(n=!0),m=l;else b=L(b),c=L(c),a=e[d?"minorTickInterval":"tickInterval"],a=r("auto"===a?null:a,this._minorAutoInterval,e.tickPixelInterval/(d?5:1)*(c-b)/((d?f/this.tickPositions.length:f)||1)),a=eb(a,null,db(a)),g=Xa(this.getLinearTickPositions(a,b,c),aa),d||(this._minorAutoInterval=a/5);d||(this.tickInterval= a);return g};var Hb=S.Tooltip=function(){this.init.apply(this,arguments)};Hb.prototype={init:function(a,b){var c=b.borderWidth,d=b.style,e=A(d.padding);this.chart=a;this.options=b;this.crosshairs=[];this.now={x:0,y:0};this.isHidden=!0;this.label=a.renderer.label("",0,0,b.shape||"callout",null,null,b.useHTML,null,"tooltip").attr({padding:e,fill:b.backgroundColor,"stroke-width":c,r:b.borderRadius,zIndex:8}).css(d).css({padding:0}).add().attr({y:-9999});da||this.label.shadow(b.shadow);this.shared=b.shared}, destroy:function(){this.label&&(this.label=this.label.destroy());clearTimeout(this.hideTimer);clearTimeout(this.tooltipTimeout)},move:function(a,b,c,d){var e=this,f=e.now,g=!1!==e.options.animation&&!e.isHidden,h=e.followPointer||1<e.len;t(f,{x:g?(2*f.x+a)/3:a,y:g?(f.y+b)/2:b,anchorX:h?v:g?(2*f.anchorX+c)/3:c,anchorY:h?v:g?(f.anchorY+d)/2:d});e.label.attr(f);g&&(1<R(a-f.x)||1<R(b-f.y))&&(clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){e&&e.move(a,b,c,d)},32))},hide:function(){var a= this,b;clearTimeout(this.hideTimer);this.isHidden||(b=this.chart.hoverPoints,this.hideTimer=setTimeout(function(){a.label.fadeOut();a.isHidden=!0},r(this.options.hideDelay,500)),b&&s(b,function(a){a.setState()}),this.chart.hoverPoints=null)},getAnchor:function(a,b){var c,d=this.chart,e=d.inverted,f=d.plotTop,g=0,h=0,k;a=ha(a);c=a[0].tooltipPos;this.followPointer&&b&&(b.chartX===v&&(b=d.pointer.normalize(b)),c=[b.chartX-d.plotLeft,b.chartY-f]);c||(s(a,function(a){k=a.series.yAxis;g+=a.plotX;h+=(a.plotLow? (a.plotLow+a.plotHigh)/2:a.plotY)+(!e&&k?k.top-f:0)}),g/=a.length,h/=a.length,c=[e?d.plotWidth-h:g,this.shared&&!e&&1<a.length&&b?b.chartY-f:e?d.plotHeight-g:h]);return Xa(c,z)},getPosition:function(a,b,c){var d=this.chart,e=this.distance,f={},g,h=["y",d.chartHeight,b,c.plotY+d.plotTop],k=["x",d.chartWidth,a,c.plotX+d.plotLeft],l=c.ttBelow||d.inverted&&!c.negative||!d.inverted&&c.negative,m=function(a,b,c,d){var g=c<d-e;b=d+e+c<b;c=d-e-c;d+=e;if(l&&b)f[a]=d;else if(!l&&g)f[a]=c;else if(g)f[a]=c;else if(b)f[a]= d;else return!1},n=function(a,b,c,d){if(d<e||d>b-e)return!1;f[a]=d<c/2?1:d>b-c/2?b-c-2:d-c/2},q=function(a){var b=h;h=k;k=b;g=a},p=function(){!1!==m.apply(0,h)?!1!==n.apply(0,k)||g||(q(!0),p()):g?f.x=f.y=0:(q(!0),p())};(d.inverted||1<this.len)&&q();p();return f},defaultFormatter:function(a){var b=this.points||ha(this),c=b[0].series,d;d=[a.tooltipHeaderFormatter(b[0])];s(b,function(a){c=a.series;d.push(c.tooltipFormatter&&c.tooltipFormatter(a)||a.point.tooltipFormatter(c.tooltipOptions.pointFormat))}); d.push(a.options.footerFormat||"");return d.join("")},refresh:function(a,b){var c=this.chart,d=this.label,e=this.options,f,g,h={},k,l=[];k=e.formatter||this.defaultFormatter;var h=c.hoverPoints,m,n=this.shared;clearTimeout(this.hideTimer);this.followPointer=ha(a)[0].series.tooltipOptions.followPointer;g=this.getAnchor(a,b);f=g[0];g=g[1];!n||a.series&&a.series.noSharedTooltip?h=a.getLabelConfig():(c.hoverPoints=a,h&&s(h,function(a){a.setState()}),s(a,function(a){a.setState("hover");l.push(a.getLabelConfig())}), h={x:a[0].category,y:a[0].y},h.points=l,this.len=l.length,a=a[0]);k=k.call(h,this);h=a.series;this.distance=r(h.tooltipOptions.distance,16);!1===k?this.hide():(this.isHidden&&(Ya(d),d.attr("opacity",1).show()),d.attr({text:k}),m=e.borderColor||a.color||h.color||"#606060",d.attr({stroke:m}),this.updatePosition({plotX:f,plotY:g,negative:a.negative,ttBelow:a.ttBelow}),this.isHidden=!1);C(c,"tooltipRefresh",{text:k,x:f+c.plotLeft,y:g+c.plotTop,borderColor:m})},updatePosition:function(a){var b=this.chart, c=this.label,c=(this.options.positioner||this.getPosition).call(this,c.width,c.height,a);this.move(z(c.x),z(c.y),a.plotX+b.plotLeft,a.plotY+b.plotTop)},tooltipHeaderFormatter:function(a){var b=a.series,c=b.tooltipOptions,d=c.dateTimeLabelFormats,e=c.xDateFormat,f=b.xAxis,g=f&&"datetime"===f.options.type&&$(a.key),c=c.headerFormat,f=f&&f.closestPointRange,h;if(g&&!e){if(f)for(h in B){if(B[h]>=f||B[h]<=B.day&&0<a.key%B[h]){e=d[h];break}}else e=d.day;e=e||d.year}g&&e&&(c=c.replace("{point.key}","{point.key:"+ e+"}"));return ua(c,{point:a,series:b})}};var Ca;Ga=y.documentElement.ontouchstart!==v;var Ib=S.Pointer=function(a,b){this.init(a,b)};Ib.prototype={init:function(a,b){var c=b.chart,d=c.events,e=da?"":c.zoomType,c=a.inverted,f;this.options=b;this.chart=a;this.zoomX=f=/x/.test(e);this.zoomY=e=/y/.test(e);this.zoomHor=f&&!c||e&&c;this.zoomVert=e&&!c||f&&c;this.hasZoom=f||e;this.runChartClick=d&&!!d.click;this.pinchDown=[];this.lastValidTouch={};S.Tooltip&&b.tooltip.enabled&&(a.tooltip=new Hb(a,b.tooltip), this.followTouchMove=b.tooltip.followTouchMove);this.setDOMEvents()},normalize:function(a,b){var c,d;a=a||window.event;a=Qb(a);a.target||(a.target=a.srcElement);d=a.touches?a.touches.length?a.touches.item(0):a.changedTouches[0]:a;b||(this.chartPosition=b=Pb(this.chart.container));d.pageX===v?(c=x(a.x,a.clientX-b.left),d=a.y):(c=d.pageX-b.left,d=d.pageY-b.top);return t(a,{chartX:z(c),chartY:z(d)})},getCoordinates:function(a){var b={xAxis:[],yAxis:[]};s(this.chart.axes,function(c){b[c.isXAxis?"xAxis": "yAxis"].push({axis:c,value:c.toValue(a[c.horiz?"chartX":"chartY"])})});return b},getIndex:function(a){var b=this.chart;return b.inverted?b.plotHeight+b.plotTop-a.chartY:a.chartX-b.plotLeft},runPointActions:function(a){var b=this.chart,c=b.series,d=b.tooltip,e,f,g=b.hoverPoint,h=b.hoverSeries,k,l,m=b.chartWidth,n=this.getIndex(a);if(d&&this.options.tooltip.shared&&(!h||!h.noSharedTooltip)){f=[];k=c.length;for(l=0;l<k;l++)c[l].visible&&!1!==c[l].options.enableMouseTracking&&!c[l].noSharedTooltip&& !0!==c[l].singularTooltips&&c[l].tooltipPoints.length&&(e=c[l].tooltipPoints[n])&&e.series&&(e._dist=R(n-e.clientX),m=J(m,e._dist),f.push(e));for(k=f.length;k--;)f[k]._dist>m&&f.splice(k,1);f.length&&f[0].clientX!==this.hoverX&&(d.refresh(f,a),this.hoverX=f[0].clientX)}c=h&&h.tooltipOptions.followPointer;if(h&&h.tracker&&!c){if((e=h.tooltipPoints[n])&&e!==g)e.onMouseOver(a)}else d&&c&&!d.isHidden&&(h=d.getAnchor([{}],a),d.updatePosition({plotX:h[0],plotY:h[1]}));d&&!this._onDocumentMouseMove&&(this._onDocumentMouseMove= function(a){if(Y[Ca])Y[Ca].pointer.onDocumentMouseMove(a)},N(y,"mousemove",this._onDocumentMouseMove));s(b.axes,function(b){b.drawCrosshair(a,r(e,g))})},reset:function(a){var b=this.chart,c=b.hoverSeries,d=b.hoverPoint,e=b.tooltip,f=e&&e.shared?b.hoverPoints:d;(a=a&&e&&f)&&ha(f)[0].plotX===v&&(a=!1);if(a)e.refresh(f),d&&d.setState(d.state,!0);else{if(d)d.onMouseOut();if(c)c.onMouseOut();e&&e.hide();this._onDocumentMouseMove&&(T(y,"mousemove",this._onDocumentMouseMove),this._onDocumentMouseMove=null); s(b.axes,function(a){a.hideCrosshair()});this.hoverX=null}},scaleGroups:function(a,b){var c=this.chart,d;s(c.series,function(e){d=a||e.getPlotBox();e.xAxis&&e.xAxis.zoomEnabled&&(e.group.attr(d),e.markerGroup&&(e.markerGroup.attr(d),e.markerGroup.clip(b?c.clipRect:null)),e.dataLabelsGroup&&e.dataLabelsGroup.attr(d))});c.clipRect.attr(b||c.clipBox)},dragStart:function(a){var b=this.chart;b.mouseIsDown=a.type;b.cancelClick=!1;b.mouseDownX=this.mouseDownX=a.chartX;b.mouseDownY=this.mouseDownY=a.chartY}, drag:function(a){var b=this.chart,c=b.options.chart,d=a.chartX,e=a.chartY,f=this.zoomHor,g=this.zoomVert,h=b.plotLeft,k=b.plotTop,l=b.plotWidth,m=b.plotHeight,n,q=this.mouseDownX,p=this.mouseDownY;d<h?d=h:d>h+l&&(d=h+l);e<k?e=k:e>k+m&&(e=k+m);this.hasDragged=Math.sqrt(Math.pow(q-d,2)+Math.pow(p-e,2));10<this.hasDragged&&(n=b.isInsidePlot(q-h,p-k),b.hasCartesianSeries&&(this.zoomX||this.zoomY)&&n&&!this.selectionMarker&&(this.selectionMarker=b.renderer.rect(h,k,f?1:l,g?1:m,0).attr({fill:c.selectionMarkerFill|| "rgba(69,114,167,0.25)",zIndex:7}).add()),this.selectionMarker&&f&&(d-=q,this.selectionMarker.attr({width:R(d),x:(0<d?0:d)+q})),this.selectionMarker&&g&&(d=e-p,this.selectionMarker.attr({height:R(d),y:(0<d?0:d)+p})),n&&!this.selectionMarker&&c.panning&&b.pan(a,c.panning))},drop:function(a){var b=this.chart,c=this.hasPinched;if(this.selectionMarker){var d={xAxis:[],yAxis:[],originalEvent:a.originalEvent||a};a=this.selectionMarker;var e=a.attr?a.attr("x"):a.x,f=a.attr?a.attr("y"):a.y,g=a.attr?a.attr("width"): a.width,h=a.attr?a.attr("height"):a.height,k;if(this.hasDragged||c)s(b.axes,function(a){if(a.zoomEnabled){var b=a.horiz,c=a.toValue(b?e:f),b=a.toValue(b?e+g:f+h);isNaN(c)||isNaN(b)||(d[a.coll].push({axis:a,min:J(c,b),max:x(c,b)}),k=!0)}}),k&&C(b,"selection",d,function(a){b.zoom(t(a,c?{animation:!1}:null))});this.selectionMarker=this.selectionMarker.destroy();c&&this.scaleGroups()}b&&(X(b.container,{cursor:b._cursor}),b.cancelClick=10<this.hasDragged,b.mouseIsDown=this.hasDragged=this.hasPinched=!1, this.pinchDown=[])},onContainerMouseDown:function(a){a=this.normalize(a);a.preventDefault&&a.preventDefault();this.dragStart(a)},onDocumentMouseUp:function(a){Y[Ca]&&Y[Ca].pointer.drop(a)},onDocumentMouseMove:function(a){var b=this.chart,c=this.chartPosition,d=b.hoverSeries;a=this.normalize(a,c);c&&d&&!this.inClass(a.target,"highcharts-tracker")&&!b.isInsidePlot(a.chartX-b.plotLeft,a.chartY-b.plotTop)&&this.reset()},onContainerMouseLeave:function(){var a=Y[Ca];a&&(a.pointer.reset(),a.pointer.chartPosition= null)},onContainerMouseMove:function(a){var b=this.chart;Ca=b.index;a=this.normalize(a);"mousedown"===b.mouseIsDown&&this.drag(a);!this.inClass(a.target,"highcharts-tracker")&&!b.isInsidePlot(a.chartX-b.plotLeft,a.chartY-b.plotTop)||b.openMenu||this.runPointActions(a)},inClass:function(a,b){for(var c;a;){if(c=G(a,"class")){if(-1!==c.indexOf(b))return!0;if(-1!==c.indexOf("highcharts-container"))return!1}a=a.parentNode}},onTrackerMouseOut:function(a){var b=this.chart.hoverSeries,c=(a=a.relatedTarget|| a.toElement)&&a.point&&a.point.series;if(b&&!b.options.stickyTracking&&!this.inClass(a,"highcharts-tooltip")&&c!==b)b.onMouseOut()},onContainerClick:function(a){var b=this.chart,c=b.hoverPoint,d=b.plotLeft,e=b.plotTop;a=this.normalize(a);a.cancelBubble=!0;b.cancelClick||(c&&this.inClass(a.target,"highcharts-tracker")?(C(c.series,"click",t(a,{point:c})),b.hoverPoint&&c.firePointEvent("click",a)):(t(a,this.getCoordinates(a)),b.isInsidePlot(a.chartX-d,a.chartY-e)&&C(b,"click",a)))},setDOMEvents:function(){var a= this,b=a.chart.container;b.onmousedown=function(b){a.onContainerMouseDown(b)};b.onmousemove=function(b){a.onContainerMouseMove(b)};b.onclick=function(b){a.onContainerClick(b)};N(b,"mouseleave",a.onContainerMouseLeave);1===Ha&&N(y,"mouseup",a.onDocumentMouseUp);Ga&&(b.ontouchstart=function(b){a.onContainerTouchStart(b)},b.ontouchmove=function(b){a.onContainerTouchMove(b)},1===Ha&&N(y,"touchend",a.onDocumentTouchEnd))},destroy:function(){var a;T(this.chart.container,"mouseleave",this.onContainerMouseLeave); Ha||(T(y,"mouseup",this.onDocumentMouseUp),T(y,"touchend",this.onDocumentTouchEnd));clearInterval(this.tooltipTimeout);for(a in this)this[a]=null}};var $a=S.Legend=function(a,b){this.init(a,b)};$a.prototype={init:function(a,b){var c=this,d=b.itemStyle,e=r(b.padding,8),f=b.itemMarginTop||0;this.options=b;b.enabled&&(c.baseline=A(d.fontSize)+3+f,c.itemStyle=d,c.itemHiddenStyle=E(d,b.itemHiddenStyle),c.itemMarginTop=f,c.padding=e,c.initialItemX=e,c.initialItemY=e-5,c.maxItemWidth=0,c.chart=a,c.itemHeight= 0,c.lastLineHeight=0,c.symbolWidth=r(b.symbolWidth,16),c.pages=[],c.render(),N(c.chart,"endResize",function(){c.positionCheckboxes()}))},colorizeItem:function(a,b){var c=this.options,d=a.legendItem,e=a.legendLine,f=a.legendSymbol,g=this.itemHiddenStyle.color,c=b?c.itemStyle.color:g,h=b?a.legendColor||a.color||"#CCC":g,g=a.options&&a.options.marker,k={fill:h},l;d&&d.css({fill:c,color:c});e&&e.attr({stroke:h});if(f){if(g&&f.isMarker)for(l in k.stroke=h,g=a.convertAttribs(g),g)d=g[l],d!==v&&(k[l]=d); f.attr(k)}},positionItem:function(a){var b=this.options,c=b.symbolPadding,b=!b.rtl,d=a._legendItemPos,e=d[0],d=d[1],f=a.checkbox;a.legendGroup&&a.legendGroup.translate(b?e:this.legendWidth-e-2*c-4,d);f&&(f.x=e,f.y=d)},destroyItem:function(a){var b=a.checkbox;s(["legendItem","legendLine","legendSymbol","legendGroup"],function(b){a[b]&&(a[b]=a[b].destroy())});b&&La(a.checkbox)},destroy:function(){var a=this.group,b=this.box;b&&(this.box=b.destroy());a&&(this.group=a.destroy())},positionCheckboxes:function(a){var b= this.group.alignAttr,c,d=this.clipHeight||this.legendHeight;b&&(c=b.translateY,s(this.allItems,function(e){var f=e.checkbox,g;f&&(g=c+f.y+(a||0)+3,X(f,{left:b.translateX+e.checkboxOffset+f.x-20+"px",top:g+"px",display:g>c-6&&g<c+d-6?"":ca}))}))},renderTitle:function(){var a=this.padding,b=this.options.title,c=0;b.text&&(this.title||(this.title=this.chart.renderer.label(b.text,a-3,a-4,null,null,null,null,null,"legend-title").attr({zIndex:1}).css(b.style).add(this.group)),a=this.title.getBBox(),c=a.height, this.offsetWidth=a.width,this.contentGroup.attr({translateY:c}));this.titleHeight=c},renderItem:function(a){var b=this.chart,c=b.renderer,d=this.options,e="horizontal"===d.layout,f=this.symbolWidth,g=d.symbolPadding,h=this.itemStyle,k=this.itemHiddenStyle,l=this.padding,m=e?r(d.itemDistance,20):0,n=!d.rtl,q=d.width,p=d.itemMarginBottom||0,w=this.itemMarginTop,s=this.initialItemX,u=a.legendItem,t=a.series&&a.series.drawLegendSymbol?a.series:a,v=t.options,v=this.createCheckboxForItem&&v&&v.showCheckbox, y=d.useHTML;u||(a.legendGroup=c.g("legend-item").attr({zIndex:1}).add(this.scrollGroup),t.drawLegendSymbol(this,a),a.legendItem=u=c.text(d.labelFormat?ua(d.labelFormat,a):d.labelFormatter.call(a),n?f+g:-g,this.baseline,y).css(E(a.visible?h:k)).attr({align:n?"left":"right",zIndex:2}).add(a.legendGroup),this.setItemEvents&&this.setItemEvents(a,u,y,h,k),this.colorizeItem(a,a.visible),v&&this.createCheckboxForItem(a));c=u.getBBox();f=a.checkboxOffset=d.itemWidth||a.legendItemWidth||f+g+c.width+m+(v?20: 0);this.itemHeight=g=z(a.legendItemHeight||c.height);e&&this.itemX-s+f>(q||b.chartWidth-2*l-s-d.x)&&(this.itemX=s,this.itemY+=w+this.lastLineHeight+p,this.lastLineHeight=0);this.maxItemWidth=x(this.maxItemWidth,f);this.lastItemY=w+this.itemY+p;this.lastLineHeight=x(g,this.lastLineHeight);a._legendItemPos=[this.itemX,this.itemY];e?this.itemX+=f:(this.itemY+=w+g+p,this.lastLineHeight=g);this.offsetWidth=q||x((e?this.itemX-s-m:f)+l,this.offsetWidth)},getAllItems:function(){var a=[];s(this.chart.series, function(b){var c=b.options;r(c.showInLegend,u(c.linkedTo)?!1:v,!0)&&(a=a.concat(b.legendItems||("point"===c.legendType?b.data:b)))});return a},render:function(){var a=this,b=a.chart,c=b.renderer,d=a.group,e,f,g,h,k=a.box,l=a.options,m=a.padding,n=l.borderWidth,q=l.backgroundColor;a.itemX=a.initialItemX;a.itemY=a.initialItemY;a.offsetWidth=0;a.lastItemY=0;d||(a.group=d=c.g("legend").attr({zIndex:7}).add(),a.contentGroup=c.g().attr({zIndex:1}).add(d),a.scrollGroup=c.g().add(a.contentGroup));a.renderTitle(); e=a.getAllItems();fb(e,function(a,b){return(a.options&&a.options.legendIndex||0)-(b.options&&b.options.legendIndex||0)});l.reversed&&e.reverse();a.allItems=e;a.display=f=!!e.length;s(e,function(b){a.renderItem(b)});g=l.width||a.offsetWidth;h=a.lastItemY+a.lastLineHeight+a.titleHeight;h=a.handleOverflow(h);if(n||q)g+=m,h+=m,k?0<g&&0<h&&(k[k.isNew?"attr":"animate"](k.crisp({width:g,height:h})),k.isNew=!1):(a.box=k=c.rect(0,0,g,h,l.borderRadius,n||0).attr({stroke:l.borderColor,"stroke-width":n||0,fill:q|| ca}).add(d).shadow(l.shadow),k.isNew=!0),k[f?"show":"hide"]();a.legendWidth=g;a.legendHeight=h;s(e,function(b){a.positionItem(b)});f&&d.align(t({width:g,height:h},l),!0,"spacingBox");b.isResizing||this.positionCheckboxes()},handleOverflow:function(a){var b=this,c=this.chart,d=c.renderer,e=this.options,f=e.y,f=c.spacingBox.height+("top"===e.verticalAlign?-f:f)-this.padding,g=e.maxHeight,h,k=this.clipRect,l=e.navigation,m=r(l.animation,!0),n=l.arrowSize||12,q=this.nav,p=this.pages,w,u=this.allItems; "horizontal"===e.layout&&(f/=2);g&&(f=J(f,g));p.length=0;a>f&&!e.useHTML?(this.clipHeight=h=f-20-this.titleHeight-this.padding,this.currentPage=r(this.currentPage,1),this.fullHeight=a,s(u,function(a,b){var c=a._legendItemPos[1],d=z(a.legendItem.getBBox().height),e=p.length;if(!e||c-p[e-1]>h&&(w||c)!==p[e-1])p.push(w||c),e++;b===u.length-1&&c+d-p[e-1]>h&&p.push(c);c!==w&&(w=c)}),k||(k=b.clipRect=d.clipRect(0,this.padding,9999,0),b.contentGroup.clip(k)),k.attr({height:h}),q||(this.nav=q=d.g().attr({zIndex:1}).add(this.group), this.up=d.symbol("triangle",0,0,n,n).on("click",function(){b.scroll(-1,m)}).add(q),this.pager=d.text("",15,10).css(l.style).add(q),this.down=d.symbol("triangle-down",0,0,n,n).on("click",function(){b.scroll(1,m)}).add(q)),b.scroll(0),a=f):q&&(k.attr({height:c.chartHeight}),q.hide(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0);return a},scroll:function(a,b){var c=this.pages,d=c.length,e=this.currentPage+a,f=this.clipHeight,g=this.options.navigation,h=g.activeColor,g=g.inactiveColor,k=this.pager, l=this.padding;e>d&&(e=d);0<e&&(b!==v&&(ea=r(b,this.chart.animation)),this.nav.attr({translateX:l,translateY:f+this.padding+7+this.titleHeight,visibility:"visible"}),this.up.attr({fill:1===e?g:h}).css({cursor:1===e?"default":"pointer"}),k.attr({text:e+"/"+d}),this.down.attr({x:18+this.pager.getBBox().width,fill:e===d?g:h}).css({cursor:e===d?"default":"pointer"}),c=-c[e-1]+this.initialItemY,this.scrollGroup.animate({translateY:c}),this.currentPage=e,this.positionCheckboxes(c))}};var Vb=S.LegendSymbolMixin= {drawRectangle:function(a,b){var c=a.options.symbolHeight||12;b.legendSymbol=this.chart.renderer.rect(0,a.baseline-5-c/2,a.symbolWidth,c,a.options.symbolRadius||0).attr({zIndex:3}).add(b.legendGroup)},drawLineMarker:function(a){var b=this.options,c=b.marker,d;d=a.symbolWidth;var e=this.chart.renderer,f=this.legendGroup;a=a.baseline-z(0.3*e.fontMetrics(a.options.itemStyle.fontSize).b);var g;b.lineWidth&&(g={"stroke-width":b.lineWidth},b.dashStyle&&(g.dashstyle=b.dashStyle),this.legendLine=e.path(["M", 0,a,"L",d,a]).attr(g).add(f));c&&!1!==c.enabled&&(b=c.radius,this.legendSymbol=d=e.symbol(this.symbol,d/2-b,a-b,2*b,2*b).add(f),d.isMarker=!0)}};(/Trident\/7\.0/.test(ma)||Sa)&&cb($a.prototype,"positionItem",function(a,b){var c=this,d=function(){b._legendItemPos&&a.call(c,b)};d();setTimeout(d)});Qa.prototype={init:function(a,b){var c,d=a.series;a.series=null;c=E(I,a);c.series=a.series=d;this.userOptions=a;d=c.chart;this.margin=this.splashArray("margin",d);this.spacing=this.splashArray("spacing",d); var e=d.events;this.bounds={h:{},v:{}};this.callback=b;this.isResizing=0;this.options=c;this.axes=[];this.series=[];this.hasCartesianSeries=d.showAxes;var f=this,g;f.index=Y.length;Y.push(f);Ha++;!1!==d.reflow&&N(f,"load",function(){f.initReflow()});if(e)for(g in e)N(f,g,e[g]);f.xAxis=[];f.yAxis=[];f.animation=da?!1:r(d.animation,!0);f.pointCount=0;f.counters=new sb;f.firstRender()},initSeries:function(a){var b=this.options.chart;(b=M[a.type||b.type||b.defaultSeriesType])||fa(17,!0);b=new b;b.init(this, a);return b},isInsidePlot:function(a,b,c){var d=c?b:a;a=c?a:b;return 0<=d&&d<=this.plotWidth&&0<=a&&a<=this.plotHeight},adjustTickAmounts:function(){!1!==this.options.chart.alignTicks&&s(this.axes,function(a){a.adjustTickAmount()});this.maxTicks=null},redraw:function(a){var b=this.axes,c=this.series,d=this.pointer,e=this.legend,f=this.isDirtyLegend,g,h,k=this.isDirtyBox,l=c.length,m=l,n=this.renderer,q=n.isHidden(),p=[];ea=r(a,this.animation);q&&this.cloneRenderTo();for(this.layOutTitles();m--;)if(a= c[m],a.options.stacking&&(g=!0,a.isDirty)){h=!0;break}if(h)for(m=l;m--;)a=c[m],a.options.stacking&&(a.isDirty=!0);s(c,function(a){a.isDirty&&"point"===a.options.legendType&&(f=!0)});f&&e.options.enabled&&(e.render(),this.isDirtyLegend=!1);g&&this.getStacks();this.hasCartesianSeries&&(this.isResizing||(this.maxTicks=null,s(b,function(a){a.setScale()})),this.adjustTickAmounts(),this.getMargins(),s(b,function(a){a.isDirty&&(k=!0)}),s(b,function(a){a.isDirtyExtremes&&(a.isDirtyExtremes=!1,p.push(function(){C(a, "afterSetExtremes",t(a.eventArgs,a.getExtremes()));delete a.eventArgs}));(k||g)&&a.redraw()}));k&&this.drawChartBox();s(c,function(a){a.isDirty&&a.visible&&(!a.isCartesian||a.xAxis)&&a.redraw()});d&&d.reset(!0);n.draw();C(this,"redraw");q&&this.cloneRenderTo(!0);s(p,function(a){a.call()})},get:function(a){var b=this.axes,c=this.series,d,e;for(d=0;d<b.length;d++)if(b[d].options.id===a)return b[d];for(d=0;d<c.length;d++)if(c[d].options.id===a)return c[d];for(d=0;d<c.length;d++)for(e=c[d].points||[], b=0;b<e.length;b++)if(e[b].id===a)return e[b];return null},getAxes:function(){var a=this,b=this.options,c=b.xAxis=ha(b.xAxis||{}),b=b.yAxis=ha(b.yAxis||{});s(c,function(a,b){a.index=b;a.isX=!0});s(b,function(a,b){a.index=b});c=c.concat(b);s(c,function(b){new sa(a,b)});a.adjustTickAmounts()},getSelectedPoints:function(){var a=[];s(this.series,function(b){a=a.concat(mb(b.points||[],function(a){return a.selected}))});return a},getSelectedSeries:function(){return mb(this.series,function(a){return a.selected})}, getStacks:function(){var a=this;s(a.yAxis,function(a){a.stacks&&a.hasVisibleSeries&&(a.oldStacks=a.stacks)});s(a.series,function(b){!b.options.stacking||!0!==b.visible&&!1!==a.options.chart.ignoreHiddenSeries||(b.stackKey=b.type+r(b.options.stack,""))})},setTitle:function(a,b,c){var d=this,e=d.options,f;f=e.title=E(e.title,a);e=e.subtitle=E(e.subtitle,b);s([["title",a,f],["subtitle",b,e]],function(a){var b=a[0],c=d[b],e=a[1];a=a[2];c&&e&&(d[b]=c=c.destroy());a&&a.text&&!c&&(d[b]=d.renderer.text(a.text, 0,0,a.useHTML).attr({align:a.align,"class":"highcharts-"+b,zIndex:a.zIndex||4}).css(a.style).add())});d.layOutTitles(c)},layOutTitles:function(a){var b=0,c=this.title,d=this.subtitle,e=this.options,f=e.title,e=e.subtitle,g=this.spacingBox.width-44;c&&(c.css({width:(f.width||g)+"px"}).align(t({y:15},f),!1,"spacingBox"),f.floating||f.verticalAlign||(b=c.getBBox().height));d&&(d.css({width:(e.width||g)+"px"}).align(t({y:b+f.margin},e),!1,"spacingBox"),e.floating||e.verticalAlign||(b=ya(b+d.getBBox().height))); c=this.titleOffset!==b;this.titleOffset=b;!this.isDirtyBox&&c&&(this.isDirtyBox=c,this.hasRendered&&r(a,!0)&&this.isDirtyBox&&this.redraw())},getChartSize:function(){var a=this.options.chart,b=a.width,a=a.height,c=this.renderToClone||this.renderTo;u(b)||(this.containerWidth=Va(c,"width"));u(a)||(this.containerHeight=Va(c,"height"));this.chartWidth=x(0,b||this.containerWidth||600);this.chartHeight=x(0,r(a,19<this.containerHeight?this.containerHeight:400))},cloneRenderTo:function(a){var b=this.renderToClone, c=this.container;a?b&&(this.renderTo.appendChild(c),La(b),delete this.renderToClone):(c&&c.parentNode===this.renderTo&&this.renderTo.removeChild(c),this.renderToClone=b=this.renderTo.cloneNode(0),X(b,{position:"absolute",top:"-9999px",display:"block"}),b.style.setProperty&&b.style.setProperty("display","block","important"),y.body.appendChild(b),c&&b.appendChild(c))},getContainer:function(){var a,b=this.options.chart,c,d,e;this.renderTo=a=b.renderTo;e="highcharts-"+kb++;U(a)&&(this.renderTo=a=y.getElementById(a)); a||fa(13,!0);c=A(G(a,"data-highcharts-chart"));!isNaN(c)&&Y[c]&&Y[c].hasRendered&&Y[c].destroy();G(a,"data-highcharts-chart",this.index);a.innerHTML="";b.skipClone||a.offsetWidth||this.cloneRenderTo();this.getChartSize();c=this.chartWidth;d=this.chartHeight;this.container=a=ta(tb,{className:"highcharts-container"+(b.className?" "+b.className:""),id:e},t({position:"relative",overflow:"hidden",width:c+"px",height:d+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)"}, b.style),this.renderToClone||a);this._cursor=a.style.cursor;this.renderer=b.forExport?new Za(a,c,d,b.style,!0):new Ta(a,c,d,b.style);da&&this.renderer.create(this,a,c,d)},getMargins:function(){var a=this.spacing,b,c=this.legend,d=this.margin,e=this.options.legend,f=r(e.margin,20),g=e.x,h=e.y,k=e.align,l=e.verticalAlign,m=this.titleOffset;this.resetMargins();b=this.axisOffset;m&&!u(d[0])&&(this.plotTop=x(this.plotTop,m+this.options.title.margin+a[0]));c.display&&!e.floating&&("right"===k?u(d[1])|| (this.marginRight=x(this.marginRight,c.legendWidth-g+f+a[1])):"left"===k?u(d[3])||(this.plotLeft=x(this.plotLeft,c.legendWidth+g+f+a[3])):"top"===l?u(d[0])||(this.plotTop=x(this.plotTop,c.legendHeight+h+f+a[0])):"bottom"!==l||u(d[2])||(this.marginBottom=x(this.marginBottom,c.legendHeight-h+f+a[2])));this.extraBottomMargin&&(this.marginBottom+=this.extraBottomMargin);this.extraTopMargin&&(this.plotTop+=this.extraTopMargin);this.hasCartesianSeries&&s(this.axes,function(a){a.getOffset()});u(d[3])||(this.plotLeft+= b[3]);u(d[0])||(this.plotTop+=b[0]);u(d[2])||(this.marginBottom+=b[2]);u(d[1])||(this.marginRight+=b[1]);this.setChartSize()},reflow:function(a){var b=this,c=b.options.chart,d=b.renderTo,e=c.width||Va(d,"width"),f=c.height||Va(d,"height"),c=a?a.target:O,d=function(){b.container&&(b.setSize(e,f,!1),b.hasUserSize=null)};if(!b.hasUserSize&&e&&f&&(c===O||c===y)){if(e!==b.containerWidth||f!==b.containerHeight)clearTimeout(b.reflowTimeout),a?b.reflowTimeout=setTimeout(d,100):d();b.containerWidth=e;b.containerHeight= f}},initReflow:function(){var a=this,b=function(b){a.reflow(b)};N(O,"resize",b);N(a,"destroy",function(){T(O,"resize",b)})},setSize:function(a,b,c){var d=this,e,f,g;d.isResizing+=1;g=function(){d&&C(d,"endResize",null,function(){d.isResizing-=1})};ea=r(c,d.animation);d.oldChartHeight=d.chartHeight;d.oldChartWidth=d.chartWidth;u(a)&&(d.chartWidth=e=x(0,z(a)),d.hasUserSize=!!e);u(b)&&(d.chartHeight=f=x(0,z(b)));(ea?Eb:X)(d.container,{width:e+"px",height:f+"px"},ea);d.setChartSize(!0);d.renderer.setSize(e, f,c);d.maxTicks=null;s(d.axes,function(a){a.isDirty=!0;a.setScale()});s(d.series,function(a){a.isDirty=!0});d.isDirtyLegend=!0;d.isDirtyBox=!0;d.layOutTitles();d.getMargins();d.redraw(c);d.oldChartHeight=null;C(d,"resize");!1===ea?g():setTimeout(g,ea&&ea.duration||500)},setChartSize:function(a){var b=this.inverted,c=this.renderer,d=this.chartWidth,e=this.chartHeight,f=this.options.chart,g=this.spacing,h=this.clipOffset,k,l,m,n;this.plotLeft=k=z(this.plotLeft);this.plotTop=l=z(this.plotTop);this.plotWidth= m=x(0,z(d-k-this.marginRight));this.plotHeight=n=x(0,z(e-l-this.marginBottom));this.plotSizeX=b?n:m;this.plotSizeY=b?m:n;this.plotBorderWidth=f.plotBorderWidth||0;this.spacingBox=c.spacingBox={x:g[3],y:g[0],width:d-g[3]-g[1],height:e-g[0]-g[2]};this.plotBox=c.plotBox={x:k,y:l,width:m,height:n};d=2*F(this.plotBorderWidth/2);b=ya(x(d,h[3])/2);c=ya(x(d,h[0])/2);this.clipBox={x:b,y:c,width:F(this.plotSizeX-x(d,h[1])/2-b),height:F(this.plotSizeY-x(d,h[2])/2-c)};a||s(this.axes,function(a){a.setAxisSize(); a.setAxisTranslation()})},resetMargins:function(){var a=this.spacing,b=this.margin;this.plotTop=r(b[0],a[0]);this.marginRight=r(b[1],a[1]);this.marginBottom=r(b[2],a[2]);this.plotLeft=r(b[3],a[3]);this.axisOffset=[0,0,0,0];this.clipOffset=[0,0,0,0]},drawChartBox:function(){var a=this.options.chart,b=this.renderer,c=this.chartWidth,d=this.chartHeight,e=this.chartBackground,f=this.plotBackground,g=this.plotBorder,h=this.plotBGImage,k=a.borderWidth||0,l=a.backgroundColor,m=a.plotBackgroundColor,n=a.plotBackgroundImage, q=a.plotBorderWidth||0,p,r=this.plotLeft,s=this.plotTop,u=this.plotWidth,t=this.plotHeight,v=this.plotBox,x=this.clipRect,z=this.clipBox;p=k+(a.shadow?8:0);if(k||l)e?e.animate(e.crisp({width:c-p,height:d-p})):(e={fill:l||ca},k&&(e.stroke=a.borderColor,e["stroke-width"]=k),this.chartBackground=b.rect(p/2,p/2,c-p,d-p,a.borderRadius,k).attr(e).addClass("highcharts-background").add().shadow(a.shadow));m&&(f?f.animate(v):this.plotBackground=b.rect(r,s,u,t,0).attr({fill:m}).add().shadow(a.plotShadow)); n&&(h?h.animate(v):this.plotBGImage=b.image(n,r,s,u,t).add());x?x.animate({width:z.width,height:z.height}):this.clipRect=b.clipRect(z);q&&(g?g.animate(g.crisp({x:r,y:s,width:u,height:t})):this.plotBorder=b.rect(r,s,u,t,0,-q).attr({stroke:a.plotBorderColor,"stroke-width":q,fill:ca,zIndex:1}).add());this.isDirtyBox=!1},propFromSeries:function(){var a=this,b=a.options.chart,c,d=a.options.series,e,f;s(["inverted","angular","polar"],function(g){c=M[b.type||b.defaultSeriesType];f=a[g]||b[g]||c&&c.prototype[g]; for(e=d&&d.length;!f&&e--;)(c=M[d[e].type])&&c.prototype[g]&&(f=!0);a[g]=f})},linkSeries:function(){var a=this,b=a.series;s(b,function(a){a.linkedSeries.length=0});s(b,function(b){var d=b.options.linkedTo;U(d)&&(d=":previous"===d?a.series[b.index-1]:a.get(d))&&(d.linkedSeries.push(b),b.linkedParent=d)})},renderSeries:function(){s(this.series,function(a){a.translate();a.setTooltipPoints&&a.setTooltipPoints();a.render()})},render:function(){var a=this,b=a.axes,c=a.renderer,d=a.options,e=d.labels,f= d.credits,g;a.setTitle();a.legend=new $a(a,d.legend);a.getStacks();s(b,function(a){a.setScale()});a.getMargins();a.maxTicks=null;s(b,function(a){a.setTickPositions(!0);a.setMaxTicks()});a.adjustTickAmounts();a.getMargins();a.drawChartBox();a.hasCartesianSeries&&s(b,function(a){a.render()});a.seriesGroup||(a.seriesGroup=c.g("series-group").attr({zIndex:3}).add());a.renderSeries();e.items&&s(e.items,function(b){var d=t(e.style,b.style),f=A(d.left)+a.plotLeft,g=A(d.top)+a.plotTop+12;delete d.left;delete d.top; c.text(b.html,f,g).attr({zIndex:2}).css(d).add()});f.enabled&&!a.credits&&(g=f.href,a.credits=c.text(f.text,0,0).on("click",function(){g&&(location.href=g)}).attr({align:f.position.align,zIndex:8}).css(f.style).add().align(f.position));a.hasRendered=!0},destroy:function(){var a=this,b=a.axes,c=a.series,d=a.container,e,f=d&&d.parentNode;C(a,"destroy");Y[a.index]=v;Ha--;a.renderTo.removeAttribute("data-highcharts-chart");T(a);for(e=b.length;e--;)b[e]=b[e].destroy();for(e=c.length;e--;)c[e]=c[e].destroy(); s("title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer scroller rangeSelector legend resetZoomButton tooltip renderer".split(" "),function(b){var c=a[b];c&&c.destroy&&(a[b]=c.destroy())});d&&(d.innerHTML="",T(d),f&&La(d));for(e in a)delete a[e]},isReadyToRender:function(){var a=this;return!ba&&O==O.top&&"complete"!==y.readyState||da&&!O.canvg?(da?Gb.push(function(){a.firstRender()},a.options.global.canvasToolsURL):y.attachEvent("onreadystatechange", function(){y.detachEvent("onreadystatechange",a.firstRender);"complete"===y.readyState&&a.firstRender()}),!1):!0},firstRender:function(){var a=this,b=a.options,c=a.callback;a.isReadyToRender()&&(a.getContainer(),C(a,"init"),a.resetMargins(),a.setChartSize(),a.propFromSeries(),a.getAxes(),s(b.series||[],function(b){a.initSeries(b)}),a.linkSeries(),C(a,"beforeRender"),S.Pointer&&(a.pointer=new Ib(a,b)),a.render(),a.renderer.draw(),c&&c.apply(a,[a]),s(a.callbacks,function(b){b.apply(a,[a])}),a.cloneRenderTo(!0), C(a,"load"))},splashArray:function(a,b){var c=b[a],c=V(c)?c:[c,c,c,c];return[r(b[a+"Top"],c[0]),r(b[a+"Right"],c[1]),r(b[a+"Bottom"],c[2]),r(b[a+"Left"],c[3])]}};Qa.prototype.callbacks=[];var Ja=function(){};Ja.prototype={init:function(a,b,c){this.series=a;this.applyOptions(b,c);this.pointAttr={};a.options.colorByPoint&&(b=a.options.colors||a.chart.options.colors,this.color=this.color||b[a.colorCounter++],a.colorCounter===b.length&&(a.colorCounter=0));a.chart.pointCount++;return this},applyOptions:function(a, b){var c=this.series,d=c.pointValKey;a=Ja.prototype.optionsToObject.call(this,a);t(this,a);this.options=this.options?t(this.options,a):a;d&&(this.y=this[d]);this.x===v&&c&&(this.x=b===v?c.autoIncrement():b);return this},optionsToObject:function(a){var b={},c=this.series,d=c.pointArrayMap||["y"],e=d.length,f=0,g=0;if("number"===typeof a||null===a)b[d[0]]=a;else if(ka(a))for(a.length>e&&(c=typeof a[0],"string"===c?b.name=a[0]:"number"===c&&(b.x=a[0]),f++);g<e;)b[d[g++]]=a[f++];else"object"===typeof a&& (b=a,a.dataLabels&&(c._hasPointLabels=!0),a.marker&&(c._hasPointMarkers=!0));return b},destroy:function(){var a=this.series.chart,b=a.hoverPoints,c;a.pointCount--;b&&(this.setState(),oa(b,this),b.length||(a.hoverPoints=null));if(this===a.hoverPoint)this.onMouseOut();if(this.graphic||this.dataLabel)T(this),this.destroyElements();this.legendItem&&a.legend.destroyItem(this);for(c in this)this[c]=null},destroyElements:function(){for(var a="graphic dataLabel dataLabelUpper group connector shadowGroup".split(" "), b,c=6;c--;)b=a[c],this[b]&&(this[b]=this[b].destroy())},getLabelConfig:function(){return{x:this.category,y:this.y,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},tooltipFormatter:function(a){var b=this.series,c=b.tooltipOptions,d=r(c.valueDecimals,""),e=c.valuePrefix||"",f=c.valueSuffix||"";s(b.pointArrayMap||["y"],function(b){b="{point."+b;if(e||f)a=a.replace(b+"}",e+b+"}"+f);a=a.replace(b+"}",b+":,."+d+"f}")});return ua(a, {point:this,series:this.series})},firePointEvent:function(a,b,c){var d=this,e=this.series.options;(e.point.events[a]||d.options&&d.options.events&&d.options.events[a])&&this.importEvents();"click"===a&&e.allowPointSelect&&(c=function(a){d.select(null,a.ctrlKey||a.metaKey||a.shiftKey)});C(this,a,b,c)}};var ga=function(){};ga.prototype={isCartesian:!0,type:"line",pointClass:Ja,sorted:!0,requireSorting:!0,pointAttrToOptions:{stroke:"lineColor","stroke-width":"lineWidth",fill:"fillColor",r:"radius"}, axisTypes:["xAxis","yAxis"],colorCounter:0,parallelArrays:["x","y"],init:function(a,b){var c=this,d,e,f=a.series,g=function(a,b){return r(a.options.index,a._i)-r(b.options.index,b._i)};c.chart=a;c.options=b=c.setOptions(b);c.linkedSeries=[];c.bindAxes();t(c,{name:b.name,state:"",pointAttr:{},visible:!1!==b.visible,selected:!0===b.selected});da&&(b.animation=!1);e=b.events;for(d in e)N(c,d,e[d]);if(e&&e.click||b.point&&b.point.events&&b.point.events.click||b.allowPointSelect)a.runTrackerClick=!0;c.getColor(); c.getSymbol();s(c.parallelArrays,function(a){c[a+"Data"]=[]});c.setData(b.data,!1);c.isCartesian&&(a.hasCartesianSeries=!0);f.push(c);c._i=f.length-1;fb(f,g);this.yAxis&&fb(this.yAxis.series,g);s(f,function(a,b){a.index=b;a.name=a.name||"Series "+(b+1)})},bindAxes:function(){var a=this,b=a.options,c=a.chart,d;s(a.axisTypes||[],function(e){s(c[e],function(c){d=c.options;if(b[e]===d.index||b[e]!==v&&b[e]===d.id||b[e]===v&&0===d.index)c.series.push(a),a[e]=c,c.isDirty=!0});a[e]||a.optionalAxis===e|| fa(18,!0)})},updateParallelArrays:function(a,b){var c=a.series,d=arguments;s(c.parallelArrays,"number"===typeof b?function(d){var f="y"===d&&c.toYData?c.toYData(a):a[d];c[d+"Data"][b]=f}:function(a){Array.prototype[b].apply(c[a+"Data"],Array.prototype.slice.call(d,2))})},autoIncrement:function(){var a=this.options,b=this.xIncrement,b=r(b,a.pointStart,0);this.pointInterval=r(this.pointInterval,a.pointInterval,1);this.xIncrement=b+this.pointInterval;return b},getSegments:function(){var a=-1,b=[],c, d=this.points,e=d.length;if(e)if(this.options.connectNulls){for(c=e;c--;)null===d[c].y&&d.splice(c,1);d.length&&(b=[d])}else s(d,function(c,g){null===c.y?(g>a+1&&b.push(d.slice(a+1,g)),a=g):g===e-1&&b.push(d.slice(a+1,g+1))});this.segments=b},setOptions:function(a){var b=this.chart,c=b.options.plotOptions,b=b.userOptions||{},d=b.plotOptions||{},e=c[this.type];this.userOptions=a;c=E(e,c.series,a);this.tooltipOptions=E(I.tooltip,I.plotOptions[this.type].tooltip,b.tooltip,d.series&&d.series.tooltip, d[this.type]&&d[this.type].tooltip,a.tooltip);null===e.marker&&delete c.marker;return c},getColor:function(){var a=this.options,b=this.userOptions,c=this.chart.options.colors,d=this.chart.counters,e;e=a.color||za[this.type].color;e||a.colorByPoint||(u(b._colorIndex)?a=b._colorIndex:(b._colorIndex=d.color,a=d.color++),e=c[a]);this.color=e;d.wrapColor(c.length)},getSymbol:function(){var a=this.userOptions,b=this.options.marker,c=this.chart,d=c.options.symbols,c=c.counters;this.symbol=b.symbol;this.symbol|| (u(a._symbolIndex)?a=a._symbolIndex:(a._symbolIndex=c.symbol,a=c.symbol++),this.symbol=d[a]);/^url/.test(this.symbol)&&(b.radius=0);c.wrapSymbol(d.length)},drawLegendSymbol:Vb.drawLineMarker,setData:function(a,b,c,d){var e=this,f=e.points,g=f&&f.length||0,h,k=e.options,l=e.chart,m=null,n=e.xAxis,q=n&&!!n.categories,p=e.tooltipPoints,w=k.turboThreshold,u=this.xData,t=this.yData,x=(h=e.pointArrayMap)&&h.length;a=a||[];h=a.length;b=r(b,!0);if(!1===d||!h||g!==h||e.cropped||e.hasGroupedData){e.xIncrement= null;e.pointRange=q?1:k.pointRange;e.colorCounter=0;s(this.parallelArrays,function(a){e[a+"Data"].length=0});if(w&&h>w){for(c=0;null===m&&c<h;)m=a[c],c++;if($(m)){q=r(k.pointStart,0);k=r(k.pointInterval,1);for(c=0;c<h;c++)u[c]=q,t[c]=a[c],q+=k;e.xIncrement=q}else if(ka(m))if(x)for(c=0;c<h;c++)k=a[c],u[c]=k[0],t[c]=k.slice(1,x+1);else for(c=0;c<h;c++)k=a[c],u[c]=k[0],t[c]=k[1];else fa(12)}else for(c=0;c<h;c++)a[c]!==v&&(k={series:e},e.pointClass.prototype.applyOptions.apply(k,[a[c]]),e.updateParallelArrays(k, c),q&&k.name&&(n.names[k.x]=k.name));U(t[0])&&fa(14,!0);e.data=[];e.options.data=a;for(c=g;c--;)f[c]&&f[c].destroy&&f[c].destroy();p&&(p.length=0);n&&(n.minRange=n.userMinRange);e.isDirty=e.isDirtyData=l.isDirtyBox=!0;c=!1}else s(a,function(a,b){f[b].update(a,!1)});b&&l.redraw(c)},processData:function(a){var b=this.xData,c=this.yData,d=b.length,e;e=0;var f,g,h=this.xAxis,k=this.options,l=k.cropThreshold,m=0,n=this.isCartesian,q,p;if(n&&!(this.isDirty||h.isDirty||this.yAxis.isDirty||a))return!1;if(n&& this.sorted&&(!l||d>l||this.forceCrop))if(q=h.min,p=h.max,b[d-1]<q||b[0]>p)b=[],c=[];else if(b[0]<q||b[d-1]>p)e=this.cropData(this.xData,this.yData,q,p),b=e.xData,c=e.yData,e=e.start,f=!0,m=b.length;for(d=b.length-1;0<=d;d--)a=b[d]-b[d-1],!f&&b[d]>q&&b[d]<p&&m++,0<a&&(g===v||a<g)?g=a:0>a&&this.requireSorting&&fa(15);this.cropped=f;this.cropStart=e;this.processedXData=b;this.processedYData=c;this.activePointCount=m;null===k.pointRange&&(this.pointRange=g||1);this.closestPointRange=g},cropData:function(a, b,c,d){var e=a.length,f=0,g=e,h=r(this.cropShoulder,1),k;for(k=0;k<e;k++)if(a[k]>=c){f=x(0,k-h);break}for(;k<e;k++)if(a[k]>d){g=k+h;break}return{xData:a.slice(f,g),yData:b.slice(f,g),start:f,end:g}},generatePoints:function(){var a=this.options.data,b=this.data,c,d=this.processedXData,e=this.processedYData,f=this.pointClass,g=d.length,h=this.cropStart||0,k,l=this.hasGroupedData,m,n=[],q;b||l||(b=[],b.length=a.length,b=this.data=b);for(q=0;q<g;q++)k=h+q,l?n[q]=(new f).init(this,[d[q]].concat(ha(e[q]))): (b[k]?m=b[k]:a[k]!==v&&(b[k]=m=(new f).init(this,a[k],d[q])),n[q]=m);if(b&&(g!==(c=b.length)||l))for(q=0;q<c;q++)q!==h||l||(q+=g),b[q]&&(b[q].destroyElements(),b[q].plotX=v);this.data=b;this.points=n},getExtremes:function(a){var b=this.yAxis,c=this.processedXData,d,e=[],f=0;d=this.xAxis.getExtremes();var g=d.min,h=d.max,k,l,m,n;a=a||this.stackedYData||this.processedYData;d=a.length;for(n=0;n<d;n++)if(l=c[n],m=a[n],k=null!==m&&m!==v&&(!b.isLog||m.length||0<m),l=this.getExtremesFromAll||this.cropped|| (c[n+1]||l)>=g&&(c[n-1]||l)<=h,k&&l)if(k=m.length)for(;k--;)null!==m[k]&&(e[f++]=m[k]);else e[f++]=m;this.dataMin=r(void 0,va(e));this.dataMax=r(void 0,la(e))},translate:function(){this.processedXData||this.processData();this.generatePoints();for(var a=this.options,b=a.stacking,c=this.xAxis,d=c.categories,e=this.yAxis,f=this.points,g=f.length,h=!!this.modifyValue,k=a.pointPlacement,l="between"===k||$(k),m=a.threshold,a=0;a<g;a++){var n=f[a],q=n.x,p=n.y,s=n.low,t=b&&e.stacks[(this.negStacks&&p<m?"-": "")+this.stackKey];e.isLog&&0>=p&&(n.y=p=null);n.plotX=c.translate(q,0,0,0,1,k,"flags"===this.type);b&&this.visible&&t&&t[q]&&(t=t[q],p=t.points[this.index+","+a],s=p[0],p=p[1],0===s&&(s=r(m,e.min)),e.isLog&&0>=s&&(s=null),n.total=n.stackTotal=t.total,n.percentage=t.total&&n.y/t.total*100,n.stackY=p,t.setOffset(this.pointXOffset||0,this.barW||0));n.yBottom=u(s)?e.translate(s,0,1,0,1):null;h&&(p=this.modifyValue(p,n));n.plotY="number"===typeof p&&Infinity!==p?e.translate(p,0,1,0,1):v;n.clientX=l?c.translate(q, 0,0,0,1):n.plotX;n.negative=n.y<(m||0);n.category=d&&d[n.x]!==v?d[n.x]:n.x}this.getSegments()},animate:function(a){var b=this.chart,c=b.renderer,d;d=this.options.animation;var e=this.clipBox||b.clipBox,f=b.inverted,g;d&&!V(d)&&(d=za[this.type].animation);g=["_sharedClip",d.duration,d.easing,e.height].join();a?(a=b[g],d=b[g+"m"],a||(b[g]=a=c.clipRect(t(e,{width:0})),b[g+"m"]=d=c.clipRect(-99,f?-b.plotLeft:-b.plotTop,99,f?b.chartWidth:b.chartHeight)),this.group.clip(a),this.markerGroup.clip(d),this.sharedClipKey= g):((a=b[g])&&a.animate({width:b.plotSizeX},d),b[g+"m"]&&b[g+"m"].animate({width:b.plotSizeX+99},d),this.animate=null)},afterAnimate:function(){var a=this.chart,b=this.sharedClipKey,c=this.group,d=this.clipBox;c&&!1!==this.options.clip&&(b&&d||c.clip(d?a.renderer.clipRect(d):a.clipRect),this.markerGroup.clip());C(this,"afterAnimate");setTimeout(function(){b&&a[b]&&(d||(a[b]=a[b].destroy()),a[b+"m"]&&(a[b+"m"]=a[b+"m"].destroy()))},100)},drawPoints:function(){var a,b=this.points,c=this.chart,d,e,f, g,h,k,l,m;d=this.options.marker;var n=this.pointAttr[""],q,p=this.markerGroup,s=r(d.enabled,this.activePointCount<0.5*this.xAxis.len/d.radius);if(!1!==d.enabled||this._hasPointMarkers)for(f=b.length;f--;)g=b[f],d=F(g.plotX),e=g.plotY,m=g.graphic,k=g.marker||{},a=s&&k.enabled===v||k.enabled,q=c.isInsidePlot(z(d),e,c.inverted),a&&e!==v&&!isNaN(e)&&null!==g.y?(a=g.pointAttr[g.selected?"select":""]||n,h=a.r,k=r(k.symbol,this.symbol),l=0===k.indexOf("url"),m?m[q?"show":"hide"](!0).animate(t({x:d-h,y:e- h},m.symbolName?{width:2*h,height:2*h}:{})):q&&(0<h||l)&&(g.graphic=c.renderer.symbol(k,d-h,e-h,2*h,2*h).attr(a).add(p))):m&&(g.graphic=m.destroy())},convertAttribs:function(a,b,c,d){var e=this.pointAttrToOptions,f,g,h={};a=a||{};b=b||{};c=c||{};d=d||{};for(f in e)g=e[f],h[f]=r(a[g],b[f],c[f],d[f]);return h},getAttribs:function(){var a=this,b=a.options,c=za[a.type].marker?b.marker:b,d=c.states,e=d.hover,f,g=a.color;f={stroke:g,fill:g};var h=a.points||[],k,l=[],m,n=a.pointAttrToOptions;m=a.hasPointSpecificOptions; var q=b.negativeColor,p=c.lineColor,r=c.fillColor;k=b.turboThreshold;var v;b.marker?(e.radius=e.radius||c.radius+2,e.lineWidth=e.lineWidth||c.lineWidth+1):e.color=e.color||Aa(e.color||g).brighten(e.brightness).get();l[""]=a.convertAttribs(c,f);s(["hover","select"],function(b){l[b]=a.convertAttribs(d[b],l[""])});a.pointAttr=l;g=h.length;if(!k||g<k||m)for(;g--;){k=h[g];(c=k.options&&k.options.marker||k.options)&&!1===c.enabled&&(c.radius=0);k.negative&&q&&(k.color=k.fillColor=q);m=b.colorByPoint||k.color; if(k.options)for(v in n)u(c[n[v]])&&(m=!0);m?(c=c||{},m=[],d=c.states||{},f=d.hover=d.hover||{},b.marker||(f.color=f.color||!k.options.color&&e.color||Aa(k.color).brighten(f.brightness||e.brightness).get()),f={color:k.color},r||(f.fillColor=k.color),p||(f.lineColor=k.color),m[""]=a.convertAttribs(t(f,c),l[""]),m.hover=a.convertAttribs(d.hover,l.hover,m[""]),m.select=a.convertAttribs(d.select,l.select,m[""])):m=l;k.pointAttr=m}},destroy:function(){var a=this,b=a.chart,c=/AppleWebKit\/533/.test(ma), d,e,f=a.data||[],g,h,k;C(a,"destroy");T(a);s(a.axisTypes||[],function(b){if(k=a[b])oa(k.series,a),k.isDirty=k.forceRedraw=!0});a.legendItem&&a.chart.legend.destroyItem(a);for(e=f.length;e--;)(g=f[e])&&g.destroy&&g.destroy();a.points=null;clearTimeout(a.animationTimeout);s("area graph dataLabelsGroup group markerGroup tracker graphNeg areaNeg posClip negClip".split(" "),function(b){a[b]&&(d=c&&"group"===b?"hide":"destroy",a[b][d]())});b.hoverSeries===a&&(b.hoverSeries=null);oa(b.series,a);for(h in a)delete a[h]}, getSegmentPath:function(a){var b=this,c=[],d=b.options.step;s(a,function(e,f){var g=e.plotX,h=e.plotY,k;b.getPointSpline?c.push.apply(c,b.getPointSpline(a,e,f)):(c.push(f?"L":"M"),d&&f&&(k=a[f-1],"right"===d?c.push(k.plotX,h):"center"===d?c.push((k.plotX+g)/2,k.plotY,(k.plotX+g)/2,h):c.push(g,k.plotY)),c.push(e.plotX,e.plotY))});return c},getGraphPath:function(){var a=this,b=[],c,d=[];s(a.segments,function(e){c=a.getSegmentPath(e);1<e.length?b=b.concat(c):d.push(e[0])});a.singlePoints=d;return a.graphPath= b},drawGraph:function(){var a=this,b=this.options,c=[["graph",b.lineColor||this.color]],d=b.lineWidth,e=b.dashStyle,f="square"!==b.linecap,g=this.getGraphPath(),h=b.negativeColor;h&&c.push(["graphNeg",h]);s(c,function(c,h){var m=c[0],n=a[m];n?(Ya(n),n.animate({d:g})):d&&g.length&&(n={stroke:c[1],"stroke-width":d,fill:ca,zIndex:1},e?n.dashstyle=e:f&&(n["stroke-linecap"]=n["stroke-linejoin"]="round"),a[m]=a.chart.renderer.path(g).attr(n).add(a.group).shadow(!h&&b.shadow))})},clipNeg:function(){var a= this.options,b=this.chart,c=b.renderer,d=a.negativeColor||a.negativeFillColor,e,f=this.graph,g=this.area,h=this.posClip,k=this.negClip;e=b.chartWidth;var l=b.chartHeight,m=x(e,l),n=this.yAxis;d&&(f||g)&&(d=z(n.toPixels(a.threshold||0,!0)),0>d&&(m-=d),a={x:0,y:0,width:m,height:d},m={x:0,y:d,width:m,height:m},b.inverted&&(a.height=m.y=b.plotWidth-d,c.isVML&&(a={x:b.plotWidth-d-b.plotLeft,y:0,width:e,height:l},m={x:d+b.plotLeft-e,y:0,width:b.plotLeft+d,height:e})),n.reversed?(b=m,e=a):(b=a,e=m),h?(h.animate(b), k.animate(e)):(this.posClip=h=c.clipRect(b),this.negClip=k=c.clipRect(e),f&&this.graphNeg&&(f.clip(h),this.graphNeg.clip(k)),g&&(g.clip(h),this.areaNeg.clip(k))))},invertGroups:function(){function a(){var a={width:b.yAxis.len,height:b.xAxis.len};s(["group","markerGroup"],function(c){b[c]&&b[c].attr(a).invert()})}var b=this,c=b.chart;b.xAxis&&(N(c,"resize",a),N(b,"destroy",function(){T(c,"resize",a)}),a(),b.invertGroups=a)},plotGroup:function(a,b,c,d,e){var f=this[a],g=!f;g&&(this[a]=f=this.chart.renderer.g(b).attr({visibility:c, zIndex:d||0.1}).add(e));f[g?"attr":"animate"](this.getPlotBox());return f},getPlotBox:function(){var a=this.chart,b=this.xAxis,c=this.yAxis;a.inverted&&(b=c,c=this.xAxis);return{translateX:b?b.left:a.plotLeft,translateY:c?c.top:a.plotTop,scaleX:1,scaleY:1}},render:function(){var a=this,b=a.chart,c,d=a.options,e=(c=d.animation)&&!!a.animate&&b.renderer.isSVG&&r(c.duration,500)||0,f=a.visible?"visible":"hidden",g=d.zIndex,h=a.hasRendered,k=b.seriesGroup;c=a.plotGroup("group","series",f,g,k);a.markerGroup= a.plotGroup("markerGroup","markers",f,g,k);e&&a.animate(!0);a.getAttribs();c.inverted=a.isCartesian?b.inverted:!1;a.drawGraph&&(a.drawGraph(),a.clipNeg());a.drawDataLabels&&a.drawDataLabels();a.visible&&a.drawPoints();a.drawTracker&&!1!==a.options.enableMouseTracking&&a.drawTracker();b.inverted&&a.invertGroups();!1===d.clip||a.sharedClipKey||h||c.clip(b.clipRect);e&&a.animate();h||(e?a.animationTimeout=setTimeout(function(){a.afterAnimate()},e):a.afterAnimate());a.isDirty=a.isDirtyData=!1;a.hasRendered= !0},redraw:function(){var a=this.chart,b=this.isDirtyData,c=this.group,d=this.xAxis,e=this.yAxis;c&&(a.inverted&&c.attr({width:a.plotWidth,height:a.plotHeight}),c.animate({translateX:r(d&&d.left,a.plotLeft),translateY:r(e&&e.top,a.plotTop)}));this.translate();this.setTooltipPoints&&this.setTooltipPoints(!0);this.render();b&&C(this,"updatedData")}};var Wb=bb(ga);M.line=Wb;za.spline=E(Rb);var Xb=bb(ga,{type:"spline",getPointSpline:function(a,b,c){var d=b.plotX,e=b.plotY,f=a[c-1],g=a[c+1],h,k,l,m;if(f&& g){a=f.plotY;l=g.plotX;var g=g.plotY,n;h=(1.5*d+f.plotX)/2.5;k=(1.5*e+a)/2.5;l=(1.5*d+l)/2.5;m=(1.5*e+g)/2.5;n=(m-k)*(l-d)/(l-h)+e-m;k+=n;m+=n;k>a&&k>e?(k=x(a,e),m=2*e-k):k<a&&k<e&&(k=J(a,e),m=2*e-k);m>g&&m>e?(m=x(g,e),k=2*e-m):m<g&&m<e&&(m=J(g,e),k=2*e-m);b.rightContX=l;b.rightContY=m}c?(b=["C",f.rightContX||f.plotX,f.rightContY||f.plotY,h||d,k||e,d,e],f.rightContX=f.rightContY=null):b=["M",d,e];return b}});M.spline=Xb;ga.prototype.drawDataLabels=function(){var a=this,b=a.options,c=b.cursor,d=b.dataLabels, e=a.points,f,g,h,k;if(d.enabled||a._hasPointLabels)a.dlProcessOptions&&a.dlProcessOptions(d),k=a.plotGroup("dataLabelsGroup","data-labels","hidden",d.zIndex||6),!a.hasRendered&&r(d.defer,!0)&&(k.attr({opacity:0}),N(a,"afterAnimate",function(){a.dataLabelsGroup.show()[b.animation?"animate":"attr"]({opacity:1},{duration:200})})),g=d,s(e,function(b){var e,n=b.dataLabel,q,p,s=b.connector,x=!0;f=b.options&&b.options.dataLabels;e=r(f&&f.enabled,g.enabled);if(n&&!e)b.dataLabel=n.destroy();else if(e){d=E(g, f);e=d.rotation;q=b.getLabelConfig();h=d.format?ua(d.format,q):d.formatter.call(q,d);d.style.color=r(d.color,d.style.color,a.color,"black");if(n)u(h)?(n.attr({text:h}),x=!1):(b.dataLabel=n=n.destroy(),s&&(b.connector=s.destroy()));else if(u(h)){n={fill:d.backgroundColor,stroke:d.borderColor,"stroke-width":d.borderWidth,r:d.borderRadius||0,rotation:e,padding:d.padding,zIndex:1};for(p in n)n[p]===v&&delete n[p];n=b.dataLabel=a.chart.renderer[e?"text":"label"](h,0,-999,null,null,null,d.useHTML).attr(n).css(t(d.style, c&&{cursor:c})).add(k).shadow(d.shadow)}n&&a.alignDataLabel(b,n,d,null,x)}})};ga.prototype.alignDataLabel=function(a,b,c,d,e){var f=this.chart,g=f.inverted,h=r(a.plotX,-999),k=r(a.plotY,-999),l=b.getBBox();if(a=this.visible&&(a.series.forceDL||f.isInsidePlot(h,z(k),g)||d&&f.isInsidePlot(h,g?d.x+1:d.y+d.height-1,g)))d=t({x:g?f.plotWidth-k:h,y:z(g?f.plotHeight-h:k),width:0,height:0},d),t(c,{width:l.width,height:l.height}),c.rotation?(g={align:c.align,x:d.x+c.x+d.width/2,y:d.y+c.y+d.height/2},b[e?"attr": "animate"](g)):(b.align(c,null,d),g=b.alignAttr,"justify"===r(c.overflow,"justify")?this.justifyDataLabel(b,c,g,l,d,e):r(c.crop,!0)&&(a=f.isInsidePlot(g.x,g.y)&&f.isInsidePlot(g.x+l.width,g.y+l.height)));a||(b.attr({y:-999}),b.placed=!1)};ga.prototype.justifyDataLabel=function(a,b,c,d,e,f){var g=this.chart,h=b.align,k=b.verticalAlign,l,m;l=c.x;0>l&&("right"===h?b.align="left":b.x=-l,m=!0);l=c.x+d.width;l>g.plotWidth&&("left"===h?b.align="right":b.x=g.plotWidth-l,m=!0);l=c.y;0>l&&("bottom"===k?b.verticalAlign= "top":b.y=-l,m=!0);l=c.y+d.height;l>g.plotHeight&&("top"===k?b.verticalAlign="bottom":b.y=g.plotHeight-l,m=!0);m&&(a.placed=!f,a.align(b,null,e))};M.pie&&(M.pie.prototype.drawDataLabels=function(){var a=this,b=a.data,c,d=a.chart,e=a.options.dataLabels,f=r(e.connectorPadding,10),g=r(e.connectorWidth,1),h=d.plotWidth,d=d.plotHeight,k,l,m=r(e.softConnector,!0),n=e.distance,q=a.center,p=q[2]/2,w=q[1],t=0<n,u,v,y,B,E=[[],[]],A,C,H,L,D,G=[0,0,0,0],N=function(a,b){return b.y-a.y};if(a.visible&&(e.enabled|| a._hasPointLabels)){ga.prototype.drawDataLabels.apply(a);s(b,function(a){a.dataLabel&&a.visible&&E[a.half].push(a)});for(L=0;!B&&b[L];)B=b[L]&&b[L].dataLabel&&(b[L].dataLabel.getBBox().height||21),L++;for(L=2;L--;){var b=[],aa=[],I=E[L],J=I.length,F;a.sortByAngle(I,L-0.5);if(0<n){for(D=w-p-n;D<=w+p+n;D+=B)b.push(D);v=b.length;if(J>v){c=[].concat(I);c.sort(N);for(D=J;D--;)c[D].rank=D;for(D=J;D--;)I[D].rank>=v&&I.splice(D,1);J=I.length}for(D=0;D<J;D++){c=I[D];y=c.labelPos;c=9999;var O,M;for(M=0;M<v;M++)O= R(b[M]-y[1]),O<c&&(c=O,F=M);if(F<D&&null!==b[D])F=D;else for(v<J-D+F&&null!==b[D]&&(F=v-J+D);null===b[F];)F++;aa.push({i:F,y:b[F]});b[F]=null}aa.sort(N)}for(D=0;D<J;D++){c=I[D];y=c.labelPos;u=c.dataLabel;H=!1===c.visible?"hidden":"visible";c=y[1];if(0<n){if(v=aa.pop(),F=v.i,C=v.y,c>C&&null!==b[F+1]||c<C&&null!==b[F-1])C=c}else C=c;A=e.justify?q[0]+(L?-1:1)*(p+n):a.getX(0===F||F===b.length-1?c:C,L);u._attr={visibility:H,align:y[6]};u._pos={x:A+e.x+({left:f,right:-f}[y[6]]||0),y:C+e.y-10};u.connX=A; u.connY=C;null===this.options.size&&(v=u.width,A-v<f?G[3]=x(z(v-A+f),G[3]):A+v>h-f&&(G[1]=x(z(A+v-h+f),G[1])),0>C-B/2?G[0]=x(z(-C+B/2),G[0]):C+B/2>d&&(G[2]=x(z(C+B/2-d),G[2])))}}if(0===la(G)||this.verifyDataLabelOverflow(G))this.placeDataLabels(),t&&g&&s(this.points,function(b){k=b.connector;y=b.labelPos;(u=b.dataLabel)&&u._pos?(H=u._attr.visibility,A=u.connX,C=u.connY,l=m?["M",A+("left"===y[6]?5:-5),C,"C",A,C,2*y[2]-y[4],2*y[3]-y[5],y[2],y[3],"L",y[4],y[5]]:["M",A+("left"===y[6]?5:-5),C,"L",y[2], y[3],"L",y[4],y[5]],k?(k.animate({d:l}),k.attr("visibility",H)):b.connector=k=a.chart.renderer.path(l).attr({"stroke-width":g,stroke:e.connectorColor||b.color||"#606060",visibility:H}).add(a.dataLabelsGroup)):k&&(b.connector=k.destroy())})}},M.pie.prototype.placeDataLabels=function(){s(this.points,function(a){a=a.dataLabel;var b;a&&((b=a._pos)?(a.attr(a._attr),a[a.moved?"animate":"attr"](b),a.moved=!0):a&&a.attr({y:-999}))})},M.pie.prototype.alignDataLabel=Lb,M.pie.prototype.verifyDataLabelOverflow= function(a){var b=this.center,c=this.options,d=c.center,e=c=c.minSize||80,f;null!==d[0]?e=x(b[2]-x(a[1],a[3]),c):(e=x(b[2]-a[1]-a[3],c),b[0]+=(a[3]-a[1])/2);null!==d[1]?e=x(J(e,b[2]-x(a[0],a[2])),c):(e=x(J(e,b[2]-a[0]-a[2]),c),b[1]+=(a[0]-a[2])/2);e<b[2]?(b[2]=e,this.translate(b),s(this.points,function(a){a.dataLabel&&(a.dataLabel._pos=null)}),this.drawDataLabels&&this.drawDataLabels()):f=!0;return f});M.column&&(M.column.prototype.alignDataLabel=function(a,b,c,d,e){var f=this.chart,g=f.inverted, h=a.dlBox||a.shapeArgs,k=a.below||a.plotY>r(this.translatedThreshold,f.plotSizeY),l=r(c.inside,!!this.options.stacking);h&&(d=E(h),g&&(d={x:f.plotWidth-d.y-d.height,y:f.plotHeight-d.x-d.width,width:d.height,height:d.width}),l||(g?(d.x+=k?0:d.width,d.width=0):(d.y+=k?d.height:0,d.height=0)));c.align=r(c.align,!g||l?"center":k?"right":"left");c.verticalAlign=r(c.verticalAlign,g||l?"middle":k?"top":"bottom");ga.prototype.alignDataLabel.call(this,a,b,c,d,e)});var ab=S.TrackerMixin={drawTrackerPoint:function(){var a= this,b=a.chart,c=b.pointer,d=a.options.cursor,e=d&&{cursor:d},f=function(c){var d=c.target,e;if(b.hoverSeries!==a)a.onMouseOver();for(;d&&!e;)e=d.point,d=d.parentNode;if(e!==v&&e!==b.hoverPoint)e.onMouseOver(c)};s(a.points,function(a){a.graphic&&(a.graphic.element.point=a);a.dataLabel&&(a.dataLabel.element.point=a)});a._hasTracking||(s(a.trackerGroups,function(b){if(a[b]&&(a[b].addClass("highcharts-tracker").on("mouseover",f).on("mouseout",function(a){c.onTrackerMouseOut(a)}).css(e),Ga))a[b].on("touchstart", f)}),a._hasTracking=!0)},drawTrackerGraph:function(){var a=this,b=a.options,c=b.trackByArea,d=[].concat(c?a.areaPath:a.graphPath),e=d.length,f=a.chart,g=f.pointer,h=f.renderer,k=f.options.tooltip.snap,l=a.tracker,m=b.cursor,n=m&&{cursor:m},m=a.singlePoints,q,p=function(){if(f.hoverSeries!==a)a.onMouseOver()},r="rgba(192,192,192,"+(ba?1E-4:0.002)+")";if(e&&!c)for(q=e+1;q--;)"M"===d[q]&&d.splice(q+1,0,d[q+1]-k,d[q+2],"L"),(q&&"M"===d[q]||q===e)&&d.splice(q,0,"L",d[q-2]+k,d[q-1]);for(q=0;q<m.length;q++)e= m[q],d.push("M",e.plotX-k,e.plotY,"L",e.plotX+k,e.plotY);l?l.attr({d:d}):(a.tracker=h.path(d).attr({"stroke-linejoin":"round",visibility:a.visible?"visible":"hidden",stroke:r,fill:c?r:ca,"stroke-width":b.lineWidth+(c?0:2*k),zIndex:2}).add(a.group),s([a.tracker,a.markerGroup],function(a){a.addClass("highcharts-tracker").on("mouseover",p).on("mouseout",function(a){g.onTrackerMouseOut(a)}).css(n);if(Ga)a.on("touchstart",p)}))}};M.column&&(ColumnSeries.prototype.drawTracker=ab.drawTrackerPoint);M.pie&& (M.pie.prototype.drawTracker=ab.drawTrackerPoint);M.scatter&&(ScatterSeries.prototype.drawTracker=ab.drawTrackerPoint);t($a.prototype,{setItemEvents:function(a,b,c,d,e){var f=this;(c?b:a.legendGroup).on("mouseover",function(){a.setState("hover");b.css(f.options.itemHoverStyle)}).on("mouseout",function(){b.css(a.visible?d:e);a.setState()}).on("click",function(b){var c=function(){a.setVisible()};b={browserEvent:b};a.firePointEvent?a.firePointEvent("legendItemClick",b,c):C(a,"legendItemClick",b,c)})}, createCheckboxForItem:function(a){a.checkbox=ta("input",{type:"checkbox",checked:a.selected,defaultChecked:a.selected},this.options.itemCheckboxStyle,this.chart.container);N(a.checkbox,"click",function(b){C(a,"checkboxClick",{checked:b.target.checked},function(){a.select()})})}});I.legend.itemStyle.cursor="pointer";t(Qa.prototype,{showResetZoom:function(){var a=this,b=I.lang,c=a.options.chart.resetZoomButton,d=c.theme,e=d.states,f="chart"===c.relativeTo?null:"plotBox";this.resetZoomButton=a.renderer.button(b.resetZoom, null,null,function(){a.zoomOut()},d,e&&e.hover).attr({align:c.position.align,title:b.resetZoomTitle}).add().align(c.position,!1,f)},zoomOut:function(){var a=this;C(a,"selection",{resetSelection:!0},function(){a.zoom()})},zoom:function(a){var b,c=this.pointer,d=!1,e;!a||a.resetSelection?s(this.axes,function(a){b=a.zoom()}):s(a.xAxis.concat(a.yAxis),function(a){var e=a.axis,h=e.isXAxis;if(c[h?"zoomX":"zoomY"]||c[h?"pinchX":"pinchY"])b=e.zoom(a.min,a.max),e.displayBtn&&(d=!0)});e=this.resetZoomButton; d&&!e?this.showResetZoom():!d&&V(e)&&(this.resetZoomButton=e.destroy());b&&this.redraw(r(this.options.chart.animation,a&&a.animation,100>this.pointCount))},pan:function(a,b){var c=this,d=c.hoverPoints,e;d&&s(d,function(a){a.setState()});s("xy"===b?[1,0]:[1],function(b){var d=a[b?"chartX":"chartY"],h=c[b?"xAxis":"yAxis"][0],k=c[b?"mouseDownX":"mouseDownY"],l=(h.pointRange||0)/2,m=h.getExtremes(),n=h.toValue(k-d,!0)+l,k=h.toValue(k+c[b?"plotWidth":"plotHeight"]-d,!0)-l;h.series.length&&n>J(m.dataMin, m.min)&&k<x(m.dataMax,m.max)&&(h.setExtremes(n,k,!1,!1,{trigger:"pan"}),e=!0);c[b?"mouseDownX":"mouseDownY"]=d});e&&c.redraw(!1);X(c.container,{cursor:"move"})}});t(Ja.prototype,{select:function(a,b){var c=this,d=c.series,e=d.chart;a=r(a,!c.selected);c.firePointEvent(a?"select":"unselect",{accumulate:b},function(){c.selected=c.options.selected=a;d.options.data[Wa(c,d.data)]=c.options;c.setState(a&&"select");b||s(e.getSelectedPoints(),function(a){a.selected&&a!==c&&(a.selected=a.options.selected=!1, d.options.data[Wa(a,d.data)]=a.options,a.setState(""),a.firePointEvent("unselect"))})})},onMouseOver:function(a){var b=this.series,c=b.chart,d=c.tooltip,e=c.hoverPoint;if(e&&e!==this)e.onMouseOut();this.firePointEvent("mouseOver");!d||d.shared&&!b.noSharedTooltip||d.refresh(this,a);this.setState("hover");c.hoverPoint=this},onMouseOut:function(){var a=this.series.chart,b=a.hoverPoints;b&&-1!==Wa(this,b)||(this.firePointEvent("mouseOut"),this.setState(),a.hoverPoint=null)},importEvents:function(){if(!this.hasImportedEvents){var a= E(this.series.options.point,this.options).events,b;this.events=a;for(b in a)N(this,b,a[b]);this.hasImportedEvents=!0}},setState:function(a,b){var c=this.plotX,d=this.plotY,e=this.series,f=e.options.states,g=za[e.type].marker&&e.options.marker,h=g&&!g.enabled,k=g&&g.states[a],l=k&&!1===k.enabled,m=e.stateMarkerGraphic,n=this.marker||{},q=e.chart,p=e.halo,r;a=a||"";r=this.pointAttr[a]||e.pointAttr[a];if(!(a===this.state&&!b||this.selected&&"select"!==a||f[a]&&!1===f[a].enabled||a&&(l||h&&!1===k.enabled)|| a&&n.states&&n.states[a]&&!1===n.states[a].enabled)){if(this.graphic)g=g&&this.graphic.symbolName&&r.r,this.graphic.attr(E(r,g?{x:c-g,y:d-g,width:2*g,height:2*g}:{})),m&&m.hide();else{if(a&&k)if(g=k.radius,n=n.symbol||e.symbol,m&&m.currentSymbol!==n&&(m=m.destroy()),m)m[b?"animate":"attr"]({x:c-g,y:d-g});else n&&(e.stateMarkerGraphic=m=q.renderer.symbol(n,c-g,d-g,2*g,2*g).attr(r).add(e.markerGroup),m.currentSymbol=n);if(m)m[a&&q.isInsidePlot(c,d,q.inverted)?"show":"hide"]()}(c=f[a]&&f[a].halo)&&c.size? (p||(e.halo=p=q.renderer.path().add(e.seriesGroup)),p.attr(t({fill:Aa(this.color||e.color).setOpacity(c.opacity).get()},c.attributes))[b?"animate":"attr"]({d:this.haloPath(c.size)})):p&&p.attr({d:[]});this.state=a}},haloPath:function(a){var b=this.series,c=b.chart,d=b.getPlotBox(),e=c.inverted;return c.renderer.symbols.circle(d.translateX+(e?b.yAxis.len-this.plotY:this.plotX)-a,d.translateY+(e?b.xAxis.len-this.plotX:this.plotY)-a,2*a,2*a)}});t(ga.prototype,{onMouseOver:function(){var a=this.chart, b=a.hoverSeries;if(b&&b!==this)b.onMouseOut();this.options.events.mouseOver&&C(this,"mouseOver");this.setState("hover");a.hoverSeries=this},onMouseOut:function(){var a=this.options,b=this.chart,c=b.tooltip,d=b.hoverPoint;if(d)d.onMouseOut();this&&a.events.mouseOut&&C(this,"mouseOut");!c||a.stickyTracking||c.shared&&!this.noSharedTooltip||c.hide();this.setState();b.hoverSeries=null},setState:function(a){var b=this.options,c=this.graph,d=this.graphNeg,e=b.states,b=b.lineWidth;a=a||"";this.state!==a&& (this.state=a,e[a]&&!1===e[a].enabled||(a&&(b=e[a].lineWidth||b+1),c&&!c.dashstyle&&(a={"stroke-width":b},c.attr(a),d&&d.attr(a))))},setVisible:function(a,b){var c=this,d=c.chart,e=c.legendItem,f,g=d.options.chart.ignoreHiddenSeries,h=c.visible;f=(c.visible=a=c.userOptions.visible=a===v?!h:a)?"show":"hide";s(["group","dataLabelsGroup","markerGroup","tracker"],function(a){if(c[a])c[a][f]()});if(d.hoverSeries===c)c.onMouseOut();e&&d.legend.colorizeItem(c,a);c.isDirty=!0;c.options.stacking&&s(d.series, function(a){a.options.stacking&&a.visible&&(a.isDirty=!0)});s(c.linkedSeries,function(b){b.setVisible(a,!1)});g&&(d.isDirtyBox=!0);!1!==b&&d.redraw();C(c,f)},setTooltipPoints:function(a){var b=[],c,d,e=this.xAxis,f=e&&e.getExtremes(),g=e?e.tooltipLen||e.len:this.chart.plotSizeX,h,k,l=[];if(!1!==this.options.enableMouseTracking&&!this.singularTooltips){a&&(this.tooltipPoints=null);s(this.segments||this.points,function(a){b=b.concat(a)});e&&e.reversed&&(b=b.reverse());this.orderTooltipPoints&&this.orderTooltipPoints(b); a=b.length;for(k=0;k<a;k++)if(e=b[k],c=e.x,c>=f.min&&c<=f.max)for(h=b[k+1],c=d===v?0:d+1,d=b[k+1]?J(x(0,F((e.clientX+(h?h.wrappedClientX||h.clientX:g))/2)),g):g;0<=c&&c<=d;)l[c++]=e;this.tooltipPoints=l}},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(a){this.selected=a=a===v?!this.selected:a;this.checkbox&&(this.checkbox.checked=a);C(this,a?"select":"unselect")},drawTracker:ab.drawTrackerGraph});t(S,{Axis:sa,Chart:Qa,Color:Aa,Point:Ja,Tick:xa,Renderer:Ta, Series:ga,SVGElement:W,SVGRenderer:Za,arrayMin:va,arrayMax:la,charts:Y,dateFormat:Ka,format:ua,pathAnim:lb,getOptions:function(){return I},hasBidiBug:Kb,isTouchDevice:Cb,numberFormat:qa,seriesTypes:M,setOptions:function(a){I=E(!0,I,a);ub();return I},addEvent:N,removeEvent:T,createElement:ta,discardElement:La,css:X,each:s,extend:t,map:Xa,merge:E,pick:r,splat:ha,extendClass:bb,pInt:A,wrap:cb,svg:ba,canvas:da,vml:!ba&&!da,product:"@product.name@",version:"@product.version@"})})(); (function(t){function E(){return!!this.points.length}function A(){this.hasData()?this.hideNoData():this.showNoData()}var U=t.seriesTypes,V=t.Chart.prototype,ka=t.getOptions(),$=t.extend;$(ka.lang,{noData:"No data to display"});ka.noData={position:{x:0,y:0,align:"center",verticalAlign:"middle"},attr:{},style:{fontWeight:"bold",fontSize:"12px",color:"#60606a"}};U.pie&&(U.pie.prototype.hasData=E);U.gauge&&(U.gauge.prototype.hasData=E);U.waterfall&&(U.waterfall.prototype.hasData=E);t.Series.prototype.hasData= function(){return void 0!==this.dataMax&&void 0!==this.dataMin};V.showNoData=function(t){var A=this.options;t=t||A.lang.noData;A=A.noData;this.noDataLabel||(this.noDataLabel=this.renderer.label(t,0,0,null,null,null,null,null,"no-data").attr(A.attr).css(A.style).add(),this.noDataLabel.align($(this.noDataLabel.getBBox(),A.position),!1,"plotBox"))};V.hideNoData=function(){this.noDataLabel&&(this.noDataLabel=this.noDataLabel.destroy())};V.hasData=function(){for(var t=this.series,A=t.length;A--;)if(t[A].hasData()&& !t[A].options.isInternal)return!0;return!1};V.callbacks.push(function(E){t.addEvent(E,"load",A);t.addEvent(E,"redraw",A)})})(Highcharts);
CKEDITOR.plugins.setLang( 'html5video', 'uz', { button: 'HTML5 video qo‘shing', title: 'HTML5 video', infoLabel: 'Video ma\'lumot', allowed: 'Ruxsat etilgan kengaytmalar: MP4, WebM, Ogv', urlMissing: 'Video\'ning URL manbasi topilmadi.', videoProperties: 'Video xususiyatlari', upload: 'Yuklash', btnUpload: 'Serverga jo‘natish', advanced: 'Kengaytrilgan', autoplay: 'Avtoijro?', yes: 'Ha', no: 'Yo‘q' } );
/* * Copyright 2007-2009 by Tobia Conforto <tobia.conforto@gmail.com> * * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General * Public License as published by the Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * * You should have received a copy of the GNU General Public License along with this program; if not, write to * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Versions: 0.1 2007-08-19 Initial release * 2008-08-21 Re-released under GPL v2 * 0.1.1 2008-09-18 Compatibility with prototype.js * 0.2 2008-10-15 Linkable images, contributed by Tim Rainey <tim@zmlabs.com> * 0.3 2008-10-22 Added option to repeat the animation a number of times, then stop * 0.3.1 2008-11-11 Better error messages * 0.3.2 2008-11-11 Fixed a couple of CSS bugs, contributed by Erwin Bot <info@ixgcms.nl> * 0.3.3 2008-12-14 Added onclick option * 0.3.4 2009-03-12 Added shuffle option, contributed by Ralf Santbergen <ralf_santbergen@hotmail.com> * 0.3.5 2009-03-12 Fixed usage of href parameter in 'Ken Burns' mode * 0.3.6 2009-04-16 Added alt option */ jQuery.fn.crossSlide = function(opts, plan) { var self = this, self_width = this.width(), self_height = this.height(); // generic utilities function format(str) { for (var i = 1; i < arguments.length; i++) str = str.replace(new RegExp('\\{' + (i-1) + '}', 'g'), arguments[i]); return str; } function abort() { arguments[0] = 'crossSlide: ' + arguments[0]; throw format.apply(null, arguments); } // first preload all the images, while getting their actual width and height (function(proceed) { var n_loaded = 0; function loop(i, img) { // for (i = 0; i < plan.length; i++) but with independent var i, img (for the closures) img.onload = function(e) { n_loaded++; plan[i].width = img.width; plan[i].height = img.height; if (n_loaded == plan.length) proceed(); } img.src = plan[i].src; if (i + 1 < plan.length) loop(i + 1, new Image()); } loop(0, new Image()); })(function() { // then proceed // utility to parse "from" and "to" parameters function parse_position_param(param) { var zoom = 1; var tokens = param.replace(/^\s*|\s*$/g, '').split(/\s+/); if (tokens.length > 3) throw new Error(); if (tokens[0] == 'center') if (tokens.length == 1) tokens = ['center', 'center']; else if (tokens.length == 2 && tokens[1].match(/^[\d.]+x$/i)) tokens = ['center', 'center', tokens[1]]; if (tokens.length == 3) zoom = parseFloat(tokens[2].match(/^([\d.]+)x$/i)[1]); var pos = tokens[0] + ' ' + tokens[1]; if (pos == 'left top' || pos == 'top left') return { xrel: 0, yrel: 0, zoom: zoom }; if (pos == 'left center' || pos == 'center left') return { xrel: 0, yrel: .5, zoom: zoom }; if (pos == 'left bottom' || pos == 'bottom left') return { xrel: 0, yrel: 1, zoom: zoom }; if (pos == 'center top' || pos == 'top center') return { xrel: .5, yrel: 0, zoom: zoom }; if (pos == 'center center') return { xrel: .5, yrel: .5, zoom: zoom }; if (pos == 'center bottom' || pos == 'bottom center') return { xrel: .5, yrel: 1, zoom: zoom }; if (pos == 'right top' || pos == 'top right') return { xrel: 1, yrel: 0, zoom: zoom }; if (pos == 'right center' || pos == 'center right') return { xrel: 1, yrel: .5, zoom: zoom }; if (pos == 'right bottom' || pos == 'bottom right') return { xrel: 1, yrel: 1, zoom: zoom }; return { xrel: parseInt(tokens[0].match(/^(\d+)%$/)[1]) / 100, yrel: parseInt(tokens[1].match(/^(\d+)%$/)[1]) / 100, zoom: zoom }; } // utility to compute the css for a given phase between p.from and p.to // phase = 1: begin fade-in, 2: end fade-in, 3: begin fade-out, 4: end fade-out function position_to_css(p, phase) { switch (phase) { case 1: var pos = 0; break; case 2: var pos = fade_ms / (p.time_ms + 2 * fade_ms); break; case 3: var pos = 1 - fade_ms / (p.time_ms + 2 * fade_ms); break; case 4: var pos = 1; break; } return { left: Math.round(p.from.left + pos * (p.to.left - p.from.left )), top: Math.round(p.from.top + pos * (p.to.top - p.from.top )), width: Math.round(p.from.width + pos * (p.to.width - p.from.width )), height: Math.round(p.from.height + pos * (p.to.height - p.from.height)) }; } // check global params if (! opts.fade) abort('missing fade parameter.'); if (opts.speed && opts.sleep) abort('you cannot set both speed and sleep at the same time.'); // conversion from sec to ms; from px/sec to px/ms var fade_ms = Math.round(opts.fade * 1000); if (opts.sleep) var sleep = Math.round(opts.sleep * 1000); if (opts.speed) var speed = opts.speed / 1000, fade_px = Math.round(fade_ms * speed); // set container css self.empty().css({ overflow: 'hidden', padding: 0 }); if (! self.css('position').match(/absolute|relative|fixed/)) self.css({ position: 'relative' }); if (! self.width() || ! self.height()) abort('container element does not have its own width and height'); // random sorting if (opts.shuffle) plan.sort(function() { return Math.random() - 0.5; }); // prepare each image for (var i = 0; i < plan.length; ++i) { var p = plan[i]; if (! p.src) abort('missing src parameter in picture {0}.', i + 1); if (speed) { // speed/dir mode // check parameters and translate speed/dir mode into full mode (from/to/time) switch (p.dir) { case 'up': p.from = { xrel: .5, yrel: 0, zoom: 1 }; p.to = { xrel: .5, yrel: 1, zoom: 1 }; var slide_px = p.height - self_height - 2 * fade_px; break; case 'down': p.from = { xrel: .5, yrel: 1, zoom: 1 }; p.to = { xrel: .5, yrel: 0, zoom: 1 }; var slide_px = p.height - self_height - 2 * fade_px; break; case 'left': p.from = { xrel: 0, yrel: .5, zoom: 1 }; p.to = { xrel: 1, yrel: .5, zoom: 1 }; var slide_px = p.width - self_width - 2 * fade_px; break; case 'right': p.from = { xrel: 1, yrel: .5, zoom: 1 }; p.to = { xrel: 0, yrel: .5, zoom: 1 }; var slide_px = p.width - self_width - 2 * fade_px; break; default: abort('missing or malformed "dir" parameter in picture {0}.', i + 1); } if (slide_px <= 0) abort('picture number {0} is too short for the desired fade duration.', i + 1); p.time_ms = Math.round(slide_px / speed); } else if (! sleep) { // full mode // check and parse parameters if (! p.from || ! p.to || ! p.time) abort('missing either speed/sleep option, or from/to/time params in picture {0}.', i + 1); try { p.from = parse_position_param(p.from) } catch (e) { abort('malformed "from" parameter in picture {0}.', i + 1); } try { p.to = parse_position_param(p.to) } catch (e) { abort('malformed "to" parameter in picture {0}.', i + 1); } if (! p.time) abort('missing "time" parameter in picture {0}.', i + 1); p.time_ms = Math.round(p.time * 1000) } // precalculate left/top/width/height bounding values if (p.from) jQuery.each([ p.from, p.to ], function(i, from_to) { from_to.width = Math.round(p.width * from_to.zoom); from_to.height = Math.round(p.height * from_to.zoom); from_to.left = Math.round((self_width - from_to.width) * from_to.xrel); from_to.top = Math.round((self_height - from_to.height) * from_to.yrel); }); // append the image (or anchor) element to the container var elm; if (p.href) elm = jQuery(format('<a href="{0}"><img src="{1}"/></a>', p.href, p.src)); else elm = jQuery(format('<img src="{0}"/>', p.src)); if (p.onclick) elm.click(p.onclick); if (p.alt) elm.find('img').attr('alt', p.alt); elm.appendTo(self); } speed = undefined; // speed mode has now been translated to full mode // find images to animate and set initial css attributes var imgs = self.find('img').css({ position: 'absolute', visibility: 'hidden', top: 0, left: 0, border: 0 }); // show first image imgs.eq(0).css({ visibility: 'visible' }); if (! sleep) imgs.eq(0).css(position_to_css(plan[0], 2)); // create animation chain var countdown = opts.loop; function create_chain(i, chainf) { // building the chain backwards, or inside out if (i % 2 == 0) { if (sleep) { // still image sleep var i_sleep = i / 2, i_hide = (i_sleep - 1 + plan.length) % plan.length, img_sleep = imgs.eq(i_sleep), img_hide = imgs.eq(i_hide); var newf = function() { img_hide.css('visibility', 'hidden'); setTimeout(chainf, sleep); }; } else { // single image slide var i_slide = i / 2, i_hide = (i_slide - 1 + plan.length) % plan.length, img_slide = imgs.eq(i_slide), img_hide = imgs.eq(i_hide), time = plan[i_slide].time_ms, slide_anim = position_to_css(plan[i_slide], 3); var newf = function() { img_hide.css('visibility', 'hidden'); img_slide.animate(slide_anim, time, 'linear', chainf); }; } } else { if (sleep) { // still image cross-fade var i_from = Math.floor(i / 2), i_to = Math.ceil(i / 2) % plan.length, img_from = imgs.eq(i_from), img_to = imgs.eq(i_to), from_anim = {}, to_init = { visibility: 'visible' }, to_anim = {}; if (i_to > i_from) { to_init.opacity = 0; to_anim.opacity = 1; } else { from_anim.opacity = 0; } var newf = function() { img_to.css(to_init); if (from_anim.opacity != undefined) img_from.animate(from_anim, fade_ms, 'linear', chainf); else img_to.animate(to_anim, fade_ms, 'linear', chainf); }; } else { // cross-slide + cross-fade var i_from = Math.floor(i / 2), i_to = Math.ceil(i / 2) % plan.length, img_from = imgs.eq(i_from), img_to = imgs.eq(i_to), from_anim = position_to_css(plan[i_from], 4), to_init = position_to_css(plan[i_to], 1), to_anim = position_to_css(plan[i_to], 2); if (i_to > i_from) { to_init.opacity = 0; to_anim.opacity = 1; } else { from_anim.opacity = 0; } to_init.visibility = 'visible'; var newf = function() { img_from.animate(from_anim, fade_ms, 'linear'); img_to.css(to_init); img_to.animate(to_anim, fade_ms, 'linear', chainf); }; } } // if the loop option was requested, push a countdown check if (opts.loop && i == plan.length * 2 - 2) { var newf_orig = newf; newf = function() { if (--countdown) newf_orig(); } } if (i > 0) return create_chain(i - 1, newf); else return newf; } var animation = create_chain(plan.length * 2 - 1, function() { return animation(); }); // start animation animation(); }); return self; };
/** * @file text-track.js */ import TextTrackCueList from './text-track-cue-list'; import * as Fn from '../utils/fn.js'; import {TextTrackKind, TextTrackMode} from './track-enums'; import log from '../utils/log.js'; import window from 'global/window'; import Track from './track.js'; import { isCrossOrigin } from '../utils/url.js'; import XHR from '@videojs/xhr'; import merge from '../utils/merge-options'; /** * Takes a webvtt file contents and parses it into cues * * @param {string} srcContent * webVTT file contents * * @param {TextTrack} track * TextTrack to add cues to. Cues come from the srcContent. * * @private */ const parseCues = function(srcContent, track) { const parser = new window.WebVTT.Parser( window, window.vttjs, window.WebVTT.StringDecoder() ); const errors = []; parser.oncue = function(cue) { track.addCue(cue); }; parser.onparsingerror = function(error) { errors.push(error); }; parser.onflush = function() { track.trigger({ type: 'loadeddata', target: track }); }; parser.parse(srcContent); if (errors.length > 0) { if (window.console && window.console.groupCollapsed) { window.console.groupCollapsed(`Text Track parsing errors for ${track.src}`); } errors.forEach((error) => log.error(error)); if (window.console && window.console.groupEnd) { window.console.groupEnd(); } } parser.flush(); }; /** * Load a `TextTrack` from a specified url. * * @param {string} src * Url to load track from. * * @param {TextTrack} track * Track to add cues to. Comes from the content at the end of `url`. * * @private */ const loadTrack = function(src, track) { const opts = { uri: src }; const crossOrigin = isCrossOrigin(src); if (crossOrigin) { opts.cors = crossOrigin; } const withCredentials = track.tech_.crossOrigin() === 'use-credentials'; if (withCredentials) { opts.withCredentials = withCredentials; } XHR(opts, Fn.bind(this, function(err, response, responseBody) { if (err) { return log.error(err, response); } track.loaded_ = true; // Make sure that vttjs has loaded, otherwise, wait till it finished loading // NOTE: this is only used for the alt/video.novtt.js build if (typeof window.WebVTT !== 'function') { if (track.tech_) { // to prevent use before define eslint error, we define loadHandler // as a let here track.tech_.any(['vttjsloaded', 'vttjserror'], (event) => { if (event.type === 'vttjserror') { log.error(`vttjs failed to load, stopping trying to process ${track.src}`); return; } return parseCues(responseBody, track); }); } } else { parseCues(responseBody, track); } })); }; /** * A representation of a single `TextTrack`. * * @see [Spec]{@link https://html.spec.whatwg.org/multipage/embedded-content.html#texttrack} * @extends Track */ class TextTrack extends Track { /** * Create an instance of this class. * * @param {Object} options={} * Object of option names and values * * @param {Tech} options.tech * A reference to the tech that owns this TextTrack. * * @param {TextTrack~Kind} [options.kind='subtitles'] * A valid text track kind. * * @param {TextTrack~Mode} [options.mode='disabled'] * A valid text track mode. * * @param {string} [options.id='vjs_track_' + Guid.newGUID()] * A unique id for this TextTrack. * * @param {string} [options.label=''] * The menu label for this track. * * @param {string} [options.language=''] * A valid two character language code. * * @param {string} [options.srclang=''] * A valid two character language code. An alternative, but deprioritized * version of `options.language` * * @param {string} [options.src] * A url to TextTrack cues. * * @param {boolean} [options.default] * If this track should default to on or off. */ constructor(options = {}) { if (!options.tech) { throw new Error('A tech was not provided.'); } const settings = merge(options, { kind: TextTrackKind[options.kind] || 'subtitles', language: options.language || options.srclang || '' }); let mode = TextTrackMode[settings.mode] || 'disabled'; const default_ = settings.default; if (settings.kind === 'metadata' || settings.kind === 'chapters') { mode = 'hidden'; } super(settings); this.tech_ = settings.tech; this.cues_ = []; this.activeCues_ = []; this.preload_ = this.tech_.preloadTextTracks !== false; const cues = new TextTrackCueList(this.cues_); const activeCues = new TextTrackCueList(this.activeCues_); let changed = false; const timeupdateHandler = Fn.bind(this, function() { // Accessing this.activeCues for the side-effects of updating itself // due to its nature as a getter function. Do not remove or cues will // stop updating! // Use the setter to prevent deletion from uglify (pure_getters rule) this.activeCues = this.activeCues; if (changed) { this.trigger('cuechange'); changed = false; } }); if (mode !== 'disabled') { this.tech_.ready(() => { this.tech_.on('timeupdate', timeupdateHandler); }, true); } Object.defineProperties(this, { /** * @memberof TextTrack * @member {boolean} default * If this track was set to be on or off by default. Cannot be changed after * creation. * @instance * * @readonly */ default: { get() { return default_; }, set() {} }, /** * @memberof TextTrack * @member {string} mode * Set the mode of this TextTrack to a valid {@link TextTrack~Mode}. Will * not be set if setting to an invalid mode. * @instance * * @fires TextTrack#modechange */ mode: { get() { return mode; }, set(newMode) { if (!TextTrackMode[newMode]) { return; } mode = newMode; if (!this.preload_ && mode !== 'disabled' && this.cues.length === 0) { // On-demand load. loadTrack(this.src, this); } if (mode !== 'disabled') { this.tech_.ready(() => { this.tech_.on('timeupdate', timeupdateHandler); }, true); } else { this.tech_.off('timeupdate', timeupdateHandler); } /** * An event that fires when mode changes on this track. This allows * the TextTrackList that holds this track to act accordingly. * * > Note: This is not part of the spec! * * @event TextTrack#modechange * @type {EventTarget~Event} */ this.trigger('modechange'); } }, /** * @memberof TextTrack * @member {TextTrackCueList} cues * The text track cue list for this TextTrack. * @instance */ cues: { get() { if (!this.loaded_) { return null; } return cues; }, set() {} }, /** * @memberof TextTrack * @member {TextTrackCueList} activeCues * The list text track cues that are currently active for this TextTrack. * @instance */ activeCues: { get() { if (!this.loaded_) { return null; } // nothing to do if (this.cues.length === 0) { return activeCues; } const ct = this.tech_.currentTime(); const active = []; for (let i = 0, l = this.cues.length; i < l; i++) { const cue = this.cues[i]; if (cue.startTime <= ct && cue.endTime >= ct) { active.push(cue); } else if (cue.startTime === cue.endTime && cue.startTime <= ct && cue.startTime + 0.5 >= ct) { active.push(cue); } } changed = false; if (active.length !== this.activeCues_.length) { changed = true; } else { for (let i = 0; i < active.length; i++) { if (this.activeCues_.indexOf(active[i]) === -1) { changed = true; } } } this.activeCues_ = active; activeCues.setCues_(this.activeCues_); return activeCues; }, // /!\ Keep this setter empty (see the timeupdate handler above) set() {} } }); if (settings.src) { this.src = settings.src; if (!this.preload_) { // Tracks will load on-demand. // Act like we're loaded for other purposes. this.loaded_ = true; } if (this.preload_ || default_ || (settings.kind !== 'subtitles' && settings.kind !== 'captions')) { loadTrack(this.src, this); } } else { this.loaded_ = true; } } /** * Add a cue to the internal list of cues. * * @param {TextTrack~Cue} cue * The cue to add to our internal list */ addCue(originalCue) { let cue = originalCue; if (window.vttjs && !(originalCue instanceof window.vttjs.VTTCue)) { cue = new window.vttjs.VTTCue(originalCue.startTime, originalCue.endTime, originalCue.text); for (const prop in originalCue) { if (!(prop in cue)) { cue[prop] = originalCue[prop]; } } // make sure that `id` is copied over cue.id = originalCue.id; cue.originalCue_ = originalCue; } const tracks = this.tech_.textTracks(); for (let i = 0; i < tracks.length; i++) { if (tracks[i] !== this) { tracks[i].removeCue(cue); } } this.cues_.push(cue); this.cues.setCues_(this.cues_); } /** * Remove a cue from our internal list * * @param {TextTrack~Cue} removeCue * The cue to remove from our internal list */ removeCue(removeCue) { let i = this.cues_.length; while (i--) { const cue = this.cues_[i]; if (cue === removeCue || (cue.originalCue_ && cue.originalCue_ === removeCue)) { this.cues_.splice(i, 1); this.cues.setCues_(this.cues_); break; } } } } /** * cuechange - One or more cues in the track have become active or stopped being active. */ TextTrack.prototype.allowedEvents_ = { cuechange: 'cuechange' }; export default TextTrack;
import Nightmare from 'nightmare'; describe('Login', () => { let page; beforeEach(() => { page = Nightmare(); page .goto('http://localhost:8000/') .evaluate(() => { window.localStorage.setItem('antd-pro-authority', 'guest'); }) .goto('http://localhost:8000/#/user/login'); }); it('should login with failure', async () => { await page .type('#userName', 'mockuser') .type('#password', 'wrong_password') .click('button[type="submit"]') .wait('.ant-alert-error') // should display error .end(); }); it('should login successfully', async () => { const text = await page .type('#userName', 'admin') .type('#password', '888888') .click('button[type="submit"]') .wait('.ant-layout-sider h1') // should display error .evaluate(() => document.body.innerHTML) .end(); expect(text).toContain('<h1>Floriscope (Admin)</h1>'); }); });
import { merge } from "lodash-es"; export default { computed: { inheritPropsFrom() { return this.$options.shilp && this.$options.shilp.inheritPropsFrom; }, parentComponent() { return this.$parent.$options.name; }, propsWithParent() { const mergedProps = {}; return merge(mergedProps, this.$parent.$props, this.$props); }, }, };
const path = require('path'); const express = require('express'); const webpack = require('webpack'); const internalIp = require('internal-ip'); const config = require('./webpack/webpack.config.dev'); const app = express(); const compiler = webpack(config); app.use(require('webpack-dev-middleware')(compiler, { noInfo: true, publicPath: config.output.publicPath, stats: { colors: true, }, })); app.use(require('webpack-hot-middleware')(compiler)); app.get('*', (req, res) => { res.sendFile(path.join(__dirname, './spec/index.html')); }); const port = 8082; const ip = internalIp.v4(); app.listen(port, (err) => { if (err) { console.log(err); return; } console.log(' --------------------------------------'); console.log(` Local: http://0.0.0.0:${port}`); console.log(` External: http://${ip}:${port}`); console.log(' --------------------------------------'); });
var i, len, modal, modals, options; BULMA.toggleModal = function(el, options) { if (!options.target) { throw new Error('Found [BULMA-MODAL] but there is no target defined!'); } el.addEventListener('click', function(e) { var backdrop, closeBtn, closeModal, modal; e.preventDefault(); e.stopPropagation(); modal = document.getElementById(options.target); backdrop = modal.querySelector('.modal-background'); closeBtn = modal.querySelector('.modal-close'); closeModal = function() { if (BULMA.hasClass(modal, 'is-active')) { BULMA.removeClass(modal, 'is-active'); return BULMA.unclick(this, closeModal); } }; if (options.closeByBackdrop === void 0 || options.closeByBackdrop) { BULMA.click(backdrop, closeModal); } if (options.closeByButton === void 0 || options.closeByButton) { BULMA.click(closeBtn, closeModal); } BULMA.addClass(modal, 'is-active'); }); }; if (!BULMA.isReady) { modals = BULMA.getElements('modal'); if (modals && modals.length > 0) { for (i = 0, len = modals.length; i < len; i++) { modal = modals[i]; options = BULMA.parseOptions(modal); BULMA.toggleModal(modal, options); } } }
function toTitle(val) { switch (Number.parseInt(val)) { case 0: return '未选择' case 1: return '更新托书' case 2: return '更新船期' case 3: return '重新订舱' case 4: return '其他变更' default: return val } } function toValue(val) { switch (val) { case '未选择': return 0 case '更新托书': return 1 case '更新船期': return 2 case '重新订舱': return 3 case '其他变更': return 4 default: return val } } function toTitleFilter(val) { return toTitle(val) } function toValueFilter(val) { return toValue(val) } export default { toTitle, toValue, toTitleFilter, toValueFilter }
/* * ATTENTION: An "eval-source-map" devtool has been used. * This devtool is neither made for production nor for readable output files. * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools. * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) * or disable the default devtool with "devtool: false". * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). */ self["webpackHotUpdate_N_E"]("pages/index",{ /***/ "./src/constants/constants.js": /*!************************************!*\ !*** ./src/constants/constants.js ***! \************************************/ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"projects\": function() { return /* binding */ projects; },\n/* harmony export */ \"TimeLineData\": function() { return /* binding */ TimeLineData; }\n/* harmony export */ });\n/* module decorator */ module = __webpack_require__.hmd(module);\nvar projects = [{\n title: \"Unichat\",\n description: \"This is a code repository for the corresponding video tutorial. In this video, we will create a full Realtime Chat Application\",\n image: \"/images/4.jpg\",\n tags: [\"React\", \"ChatEngine\", \"Firebase\"],\n source: \"https://google.com\",\n visit: \"https://google.com\",\n id: 3\n}];\nvar TimeLineData = [{\n year: \"June 2018\",\n text: \"Cracked JEE Exam with AIR 5672 among 1.2 million Candidates\"\n}, {\n year: \"July 2018\",\n text: \"Joined Bachelor of Technology Program at NITK Surathkal\"\n}, {\n year: \"Jan 2019\",\n text: \"Started exploring different technical fields like IoT, Web Dev, Android Dev, Robotics,etc\"\n}, {\n year: \"March 2019\",\n text: \"Started developing Projects in the field of Web Development for real world problems like Trading, Health Management, etc.\"\n}, {\n year: \"July 2019\",\n text: \"Adopted Competitive Programming as a Sport with platforms like CodeChef, Codeforces, etc.\"\n}, {\n year: \"August-December 2019\",\n text: \"Took Part in various College Technical Events like Quiz, Hackathons, etc\"\n}, {\n year: \"Jan-June 2020\",\n text: \"Involved in learning with platforms like Courseera\"\n}, {\n year: \"October 2020\",\n text: \"Contributed in Hacktoberfest | Completed GCP 30 Day Challenge\"\n}, {\n year: \"Jan-April 2021\",\n text: \"Worked as a Full Stack Developer at Xupoli Technologies Inc.\"\n}, {\n year: \"May-July 2021\",\n text: \"Worked as a Student Trainee at Samsung R&D.\"\n}];\n\n;\n var _a, _b;\n // Legacy CSS implementations will `eval` browser code in a Node.js context\n // to extract CSS. For backwards compatibility, we need to check we're in a\n // browser context before continuing.\n if (typeof self !== 'undefined' &&\n // AMP / No-JS mode does not inject these helpers:\n '$RefreshHelpers$' in self) {\n var currentExports = module.__proto__.exports;\n var prevExports = (_b = (_a = module.hot.data) === null || _a === void 0 ? void 0 : _a.prevExports) !== null && _b !== void 0 ? _b : null;\n // This cannot happen in MainTemplate because the exports mismatch between\n // templating and execution.\n self.$RefreshHelpers$.registerExportsForReactRefresh(currentExports, module.id);\n // A module can be accepted automatically based on its exports, e.g. when\n // it is a Refresh Boundary.\n if (self.$RefreshHelpers$.isReactRefreshBoundary(currentExports)) {\n // Save the previous exports on update so we can compare the boundary\n // signatures.\n module.hot.dispose(function (data) {\n data.prevExports = currentExports;\n });\n // Unconditionally accept an update to this module, we'll check if it's\n // still a Refresh Boundary later.\n module.hot.accept();\n // This field is set when the previous version of this module was a\n // Refresh Boundary, letting us know we need to check for invalidation or\n // enqueue an update.\n if (prevExports !== null) {\n // A boundary can become ineligible if its exports are incompatible\n // with the previous exports.\n //\n // For example, if you add/remove/change exports, we'll want to\n // re-execute the importing modules, and force those components to\n // re-render. Similarly, if you convert a class component to a\n // function, we want to invalidate the boundary.\n if (self.$RefreshHelpers$.shouldInvalidateReactRefreshBoundary(prevExports, currentExports)) {\n module.hot.invalidate();\n }\n else {\n self.$RefreshHelpers$.scheduleUpdate();\n }\n }\n }\n else {\n // Since we just executed the code for the module, it's possible that the\n // new exports made it ineligible for being a boundary.\n // We only care about the case when we were _previously_ a boundary,\n // because we already accepted this update (accidental side effect).\n var isNoLongerABoundary = prevExports !== null;\n if (isNoLongerABoundary) {\n module.hot.invalidate();\n }\n }\n }\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9fTl9FLy4vc3JjL2NvbnN0YW50cy9jb25zdGFudHMuanM/ZTZmZCJdLCJuYW1lcyI6WyJwcm9qZWN0cyIsInRpdGxlIiwiZGVzY3JpcHRpb24iLCJpbWFnZSIsInRhZ3MiLCJzb3VyY2UiLCJ2aXNpdCIsImlkIiwiVGltZUxpbmVEYXRhIiwieWVhciIsInRleHQiXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFPLElBQU1BLFFBQVEsR0FBRyxDQUN0QjtBQUNFQyxPQUFLLEVBQUUsU0FEVDtBQUVFQyxhQUFXLEVBQ1QsZ0lBSEo7QUFJRUMsT0FBSyxFQUFFLGVBSlQ7QUFLRUMsTUFBSSxFQUFFLENBQUMsT0FBRCxFQUFVLFlBQVYsRUFBd0IsVUFBeEIsQ0FMUjtBQU1FQyxRQUFNLEVBQUUsb0JBTlY7QUFPRUMsT0FBSyxFQUFFLG9CQVBUO0FBUUVDLElBQUUsRUFBRTtBQVJOLENBRHNCLENBQWpCO0FBYUEsSUFBTUMsWUFBWSxHQUFHLENBQzFCO0FBQ0VDLE1BQUksRUFBRSxXQURSO0FBRUVDLE1BQUksRUFBRTtBQUZSLENBRDBCLEVBSzFCO0FBQ0VELE1BQUksRUFBRSxXQURSO0FBRUVDLE1BQUksRUFBRTtBQUZSLENBTDBCLEVBUzFCO0FBQ0VELE1BQUksRUFBRSxVQURSO0FBRUVDLE1BQUksRUFBRTtBQUZSLENBVDBCLEVBYTFCO0FBQ0VELE1BQUksRUFBRSxZQURSO0FBRUVDLE1BQUksRUFBRTtBQUZSLENBYjBCLEVBaUIxQjtBQUNFRCxNQUFJLEVBQUUsV0FEUjtBQUVFQyxNQUFJLEVBQUU7QUFGUixDQWpCMEIsRUFxQjFCO0FBQ0VELE1BQUksRUFBRSxzQkFEUjtBQUVFQyxNQUFJLEVBQUU7QUFGUixDQXJCMEIsRUF5QjFCO0FBQ0VELE1BQUksRUFBRSxlQURSO0FBRUVDLE1BQUksRUFBRTtBQUZSLENBekIwQixFQTZCMUI7QUFDRUQsTUFBSSxFQUFFLGNBRFI7QUFFRUMsTUFBSSxFQUFFO0FBRlIsQ0E3QjBCLEVBaUMxQjtBQUNFRCxNQUFJLEVBQUUsZ0JBRFI7QUFFRUMsTUFBSSxFQUFFO0FBRlIsQ0FqQzBCLEVBcUMxQjtBQUNFRCxNQUFJLEVBQUUsZUFEUjtBQUVFQyxNQUFJLEVBQUU7QUFGUixDQXJDMEIsQ0FBckIiLCJmaWxlIjoiLi9zcmMvY29uc3RhbnRzL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBwcm9qZWN0cyA9IFtcbiAge1xuICAgIHRpdGxlOiBcIlVuaWNoYXRcIixcbiAgICBkZXNjcmlwdGlvbjpcbiAgICAgIFwiVGhpcyBpcyBhIGNvZGUgcmVwb3NpdG9yeSBmb3IgdGhlIGNvcnJlc3BvbmRpbmcgdmlkZW8gdHV0b3JpYWwuIEluIHRoaXMgdmlkZW8sIHdlIHdpbGwgY3JlYXRlIGEgZnVsbCBSZWFsdGltZSBDaGF0IEFwcGxpY2F0aW9uXCIsXG4gICAgaW1hZ2U6IFwiL2ltYWdlcy80LmpwZ1wiLFxuICAgIHRhZ3M6IFtcIlJlYWN0XCIsIFwiQ2hhdEVuZ2luZVwiLCBcIkZpcmViYXNlXCJdLFxuICAgIHNvdXJjZTogXCJodHRwczovL2dvb2dsZS5jb21cIixcbiAgICB2aXNpdDogXCJodHRwczovL2dvb2dsZS5jb21cIixcbiAgICBpZDogMyxcbiAgfSxcbl07XG5cbmV4cG9ydCBjb25zdCBUaW1lTGluZURhdGEgPSBbXG4gIHtcbiAgICB5ZWFyOiBcIkp1bmUgMjAxOFwiLFxuICAgIHRleHQ6IFwiQ3JhY2tlZCBKRUUgRXhhbSB3aXRoIEFJUiA1NjcyIGFtb25nIDEuMiBtaWxsaW9uIENhbmRpZGF0ZXNcIixcbiAgfSxcbiAge1xuICAgIHllYXI6IFwiSnVseSAyMDE4XCIsXG4gICAgdGV4dDogXCJKb2luZWQgQmFjaGVsb3Igb2YgVGVjaG5vbG9neSBQcm9ncmFtIGF0IE5JVEsgU3VyYXRoa2FsXCIsXG4gIH0sXG4gIHtcbiAgICB5ZWFyOiBcIkphbiAyMDE5XCIsXG4gICAgdGV4dDogXCJTdGFydGVkIGV4cGxvcmluZyBkaWZmZXJlbnQgdGVjaG5pY2FsIGZpZWxkcyBsaWtlIElvVCwgV2ViIERldiwgQW5kcm9pZCBEZXYsIFJvYm90aWNzLGV0Y1wiLFxuICB9LFxuICB7XG4gICAgeWVhcjogXCJNYXJjaCAyMDE5XCIsXG4gICAgdGV4dDogXCJTdGFydGVkIGRldmVsb3BpbmcgUHJvamVjdHMgaW4gdGhlIGZpZWxkIG9mIFdlYiBEZXZlbG9wbWVudCBmb3IgcmVhbCB3b3JsZCBwcm9ibGVtcyBsaWtlIFRyYWRpbmcsIEhlYWx0aCBNYW5hZ2VtZW50LCBldGMuXCIsXG4gIH0sXG4gIHtcbiAgICB5ZWFyOiBcIkp1bHkgMjAxOVwiLFxuICAgIHRleHQ6IFwiQWRvcHRlZCBDb21wZXRpdGl2ZSBQcm9ncmFtbWluZyBhcyBhIFNwb3J0IHdpdGggcGxhdGZvcm1zIGxpa2UgQ29kZUNoZWYsIENvZGVmb3JjZXMsIGV0Yy5cIixcbiAgfSxcbiAge1xuICAgIHllYXI6IFwiQXVndXN0LURlY2VtYmVyIDIwMTlcIixcbiAgICB0ZXh0OiBcIlRvb2sgUGFydCBpbiB2YXJpb3VzIENvbGxlZ2UgVGVjaG5pY2FsIEV2ZW50cyBsaWtlIFF1aXosIEhhY2thdGhvbnMsIGV0Y1wiLFxuICB9LFxuICB7XG4gICAgeWVhcjogXCJKYW4tSnVuZSAyMDIwXCIsXG4gICAgdGV4dDogXCJJbnZvbHZlZCBpbiBsZWFybmluZyB3aXRoIHBsYXRmb3JtcyBsaWtlIENvdXJzZWVyYVwiLFxuICB9LFxuICB7XG4gICAgeWVhcjogXCJPY3RvYmVyIDIwMjBcIixcbiAgICB0ZXh0OiBcIkNvbnRyaWJ1dGVkIGluIEhhY2t0b2JlcmZlc3QgfCBDb21wbGV0ZWQgR0NQIDMwIERheSBDaGFsbGVuZ2VcIixcbiAgfSxcbiAge1xuICAgIHllYXI6IFwiSmFuLUFwcmlsIDIwMjFcIixcbiAgICB0ZXh0OiBcIldvcmtlZCBhcyBhIEZ1bGwgU3RhY2sgRGV2ZWxvcGVyIGF0IFh1cG9saSBUZWNobm9sb2dpZXMgSW5jLlwiLFxuICB9LFxuICB7XG4gICAgeWVhcjogXCJNYXktSnVseSAyMDIxXCIsXG4gICAgdGV4dDogXCJXb3JrZWQgYXMgYSBTdHVkZW50IFRyYWluZWUgYXQgU2Ftc3VuZyBSJkQuXCIsXG4gIH0sXG5dO1xuIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/constants/constants.js\n"); /***/ }) });
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=function(t,r){return void 0===r&&(r="undefined"!=typeof window?require("jquery"):require("jquery")(t)),e(r),r}:e(jQuery)}(function(e){"use strict";function t(t){var r=t.data;t.isDefaultPrevented()||(t.preventDefault(),e(t.target).closest("form").ajaxSubmit(r))}function r(t){var r=t.target,a=e(r);if(!a.is("[type=submit],[type=image]")){var n=a.closest("[type=submit]");if(0===n.length)return;r=n[0]}var i=r.form;if(i.clk=r,"image"===r.type)if("undefined"!=typeof t.offsetX)i.clk_x=t.offsetX,i.clk_y=t.offsetY;else if("function"==typeof e.fn.offset){var o=a.offset();i.clk_x=t.pageX-o.left,i.clk_y=t.pageY-o.top}else i.clk_x=t.pageX-r.offsetLeft,i.clk_y=t.pageY-r.offsetTop;setTimeout(function(){i.clk=i.clk_x=i.clk_y=null},100)}function a(){if(e.fn.ajaxSubmit.debug){var t="[jquery.form] "+Array.prototype.join.call(arguments,"");window.console&&window.console.log?window.console.log(t):window.opera&&window.opera.postError&&window.opera.postError(t)}}var n=/\r?\n/g,i={};i.fileapi=e('<input type="file">').get(0).files!==undefined,i.formdata="undefined"!=typeof window.FormData;var o=!!e.fn.prop;e.fn.attr2=function(){if(!o)return this.attr.apply(this,arguments);var e=this.prop.apply(this,arguments);return e&&e.jquery||"string"==typeof e?e:this.attr.apply(this,arguments)},e.fn.ajaxSubmit=function(t,r,n,s){function u(r){function n(e){var t=null;try{e.contentWindow&&(t=e.contentWindow.document)}catch(r){a("cannot get iframe.contentWindow document: "+r)}if(t)return t;try{t=e.contentDocument?e.contentDocument:e.document}catch(r){a("cannot get iframe.contentDocument: "+r),t=e.document}return t}function i(){function t(){try{var e=n(g).readyState;a("state = "+e),e&&"uninitialized"===e.toLowerCase()&&setTimeout(t,50)}catch(r){a("Server abort: ",r," (",r.name,")"),s(L),j&&clearTimeout(j),j=undefined}}var r=d.attr2("target"),i=d.attr2("action"),o=d.attr("enctype")||d.attr("encoding")||"multipart/form-data";w.setAttribute("target",m),c&&!/post/i.test(c)||w.setAttribute("method","POST"),i!==f.url&&w.setAttribute("action",f.url),f.skipEncodingOverride||c&&!/post/i.test(c)||d.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),f.timeout&&(j=setTimeout(function(){T=!0,s(A)},f.timeout));var u=[];try{if(f.extraData)for(var l in f.extraData)f.extraData.hasOwnProperty(l)&&(e.isPlainObject(f.extraData[l])&&f.extraData[l].hasOwnProperty("name")&&f.extraData[l].hasOwnProperty("value")?u.push(e('<input type="hidden" name="'+f.extraData[l].name+'">',k).val(f.extraData[l].value).appendTo(w)[0]):u.push(e('<input type="hidden" name="'+l+'">',k).val(f.extraData[l]).appendTo(w)[0]));f.iframeTarget||h.appendTo(D),g.attachEvent?g.attachEvent("onload",s):g.addEventListener("load",s,!1),setTimeout(t,15);try{w.submit()}catch(p){document.createElement("form").submit.apply(w)}}finally{w.setAttribute("action",i),w.setAttribute("enctype",o),r?w.setAttribute("target",r):d.removeAttr("target"),e(u).remove()}}function s(t){if(!x.aborted&&!X){if((O=n(g))||(a("cannot access response document"),t=L),t===A&&x)return x.abort("timeout"),void S.reject(x,"timeout");if(t===L&&x)return x.abort("server abort"),void S.reject(x,"error","server abort");if(O&&O.location.href!==f.iframeSrc||T){g.detachEvent?g.detachEvent("onload",s):g.removeEventListener("load",s,!1);var r,i="success";try{if(T)throw"timeout";var o="xml"===f.dataType||O.XMLDocument||e.isXMLDoc(O);if(a("isXml="+o),!o&&window.opera&&(null===O.body||!O.body.innerHTML)&&--C)return a("requeing onLoad callback, DOM not available"),void setTimeout(s,250);var u=O.body?O.body:O.documentElement;x.responseText=u?u.innerHTML:null,x.responseXML=O.XMLDocument?O.XMLDocument:O,o&&(f.dataType="xml"),x.getResponseHeader=function(e){return{"content-type":f.dataType}[e.toLowerCase()]},u&&(x.status=Number(u.getAttribute("status"))||x.status,x.statusText=u.getAttribute("statusText")||x.statusText);var c=(f.dataType||"").toLowerCase(),l=/(json|script|text)/.test(c);if(l||f.textarea){var d=O.getElementsByTagName("textarea")[0];if(d)x.responseText=d.value,x.status=Number(d.getAttribute("status"))||x.status,x.statusText=d.getAttribute("statusText")||x.statusText;else if(l){var m=O.getElementsByTagName("pre")[0],v=O.getElementsByTagName("body")[0];m?x.responseText=m.textContent?m.textContent:m.innerText:v&&(x.responseText=v.textContent?v.textContent:v.innerText)}}else"xml"===c&&!x.responseXML&&x.responseText&&(x.responseXML=q(x.responseText));try{M=N(x,c,f)}catch(y){i="parsererror",x.error=r=y||i}}catch(y){a("error caught: ",y),i="error",x.error=r=y||i}x.aborted&&(a("upload aborted"),i=null),x.status&&(i=x.status>=200&&x.status<300||304===x.status?"success":"error"),"success"===i?(f.success&&f.success.call(f.context,M,"success",x),S.resolve(x.responseText,"success",x),p&&e.event.trigger("ajaxSuccess",[x,f])):i&&(void 0===r&&(r=x.statusText),f.error&&f.error.call(f.context,x,i,r),S.reject(x,"error",r),p&&e.event.trigger("ajaxError",[x,f,r])),p&&e.event.trigger("ajaxComplete",[x,f]),p&&!--e.active&&e.event.trigger("ajaxStop"),f.complete&&f.complete.call(f.context,x,i),X=!0,f.timeout&&clearTimeout(j),setTimeout(function(){f.iframeTarget?h.attr("src",f.iframeSrc):h.remove(),x.responseXML=null},100)}}}var u,l,f,p,m,h,g,x,y,b,T,j,w=d[0],S=e.Deferred();if(S.abort=function(e){x.abort(e)},r)for(l=0;l<v.length;l++)u=e(v[l]),o?u.prop("disabled",!1):u.removeAttr("disabled");(f=e.extend(!0,{},e.ajaxSettings,t)).context=f.context||f,m="jqFormIO"+(new Date).getTime();var k=w.ownerDocument,D=d.closest("body");if(f.iframeTarget?(b=(h=e(f.iframeTarget,k)).attr2("name"))?m=b:h.attr2("name",m):(h=e('<iframe name="'+m+'" src="'+f.iframeSrc+'" />',k)).css({position:"absolute",top:"-1000px",left:"-1000px"}),g=h[0],x={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(t){var r="timeout"===t?"timeout":"aborted";a("aborting upload... "+r),this.aborted=1;try{g.contentWindow.document.execCommand&&g.contentWindow.document.execCommand("Stop")}catch(n){}h.attr("src",f.iframeSrc),x.error=r,f.error&&f.error.call(f.context,x,r,t),p&&e.event.trigger("ajaxError",[x,f,r]),f.complete&&f.complete.call(f.context,x,r)}},(p=f.global)&&0==e.active++&&e.event.trigger("ajaxStart"),p&&e.event.trigger("ajaxSend",[x,f]),f.beforeSend&&!1===f.beforeSend.call(f.context,x,f))return f.global&&e.active--,S.reject(),S;if(x.aborted)return S.reject(),S;(y=w.clk)&&(b=y.name)&&!y.disabled&&(f.extraData=f.extraData||{},f.extraData[b]=y.value,"image"===y.type&&(f.extraData[b+".x"]=w.clk_x,f.extraData[b+".y"]=w.clk_y));var A=1,L=2,F=e("meta[name=csrf-token]").attr("content"),E=e("meta[name=csrf-param]").attr("content");E&&F&&(f.extraData=f.extraData||{},f.extraData[E]=F),f.forceSync?i():setTimeout(i,10);var M,O,X,C=50,q=e.parseXML||function(e,t){return window.ActiveXObject?((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!==t.documentElement.nodeName?t:null},_=e.parseJSON||function(e){return window.eval("("+e+")")},N=function(t,r,a){var n=t.getResponseHeader("content-type")||"",i=("xml"===r||!r)&&n.indexOf("xml")>=0,o=i?t.responseXML:t.responseText;return i&&"parsererror"===o.documentElement.nodeName&&e.error&&e.error("parsererror"),a&&a.dataFilter&&(o=a.dataFilter(o,r)),"string"==typeof o&&(("json"===r||!r)&&n.indexOf("json")>=0?o=_(o):("script"===r||!r)&&n.indexOf("javascript")>=0&&e.globalEval(o)),o};return S}if(!this.length)return a("ajaxSubmit: skipping submit process - no element selected"),this;var c,l,f,d=this;"function"==typeof t?t={success:t}:"string"==typeof t||!1===t&&arguments.length>0?(t={url:t,data:r,dataType:n},"function"==typeof s&&(t.success=s)):void 0===t&&(t={}),c=t.method||t.type||this.attr2("method"),(f=(f="string"==typeof(l=t.url||this.attr2("action"))?e.trim(l):"")||window.location.href||"")&&(f=(f.match(/^([^#]+)/)||[])[1]),t=e.extend(!0,{url:f,success:e.ajaxSettings.success,type:c||e.ajaxSettings.type,iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},t);var p={};if(this.trigger("form-pre-serialize",[this,t,p]),p.veto)return a("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(t.beforeSerialize&&!1===t.beforeSerialize(this,t))return a("ajaxSubmit: submit aborted via beforeSerialize callback"),this;var m=t.traditional;void 0===m&&(m=e.ajaxSettings.traditional);var h,v=[],g=this.formToArray(t.semantic,v,t.filtering);if(t.data){var x=e.isFunction(t.data)?t.data(g):t.data;t.extraData=x,h=e.param(x,m)}if(t.beforeSubmit&&!1===t.beforeSubmit(g,this,t))return a("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[g,this,t,p]),p.veto)return a("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;var y=e.param(g,m);h&&(y=y?y+"&"+h:h),"GET"===t.type.toUpperCase()?(t.url+=(t.url.indexOf("?")>=0?"&":"?")+y,t.data=null):t.data=y;var b=[];if(t.resetForm&&b.push(function(){d.resetForm()}),t.clearForm&&b.push(function(){d.clearForm(t.includeHidden)}),!t.dataType&&t.target){var T=t.success||function(){};b.push(function(r,a,n){var i=arguments,o=t.replaceTarget?"replaceWith":"html";e(t.target)[o](r).each(function(){T.apply(this,i)})})}else t.success&&(e.isArray(t.success)?e.merge(b,t.success):b.push(t.success));if(t.success=function(e,r,a){for(var n=t.context||this,i=0,o=b.length;i<o;i++)b[i].apply(n,[e,r,a||d,d])},t.error){var j=t.error;t.error=function(e,r,a){var n=t.context||this;j.apply(n,[e,r,a,d])}}if(t.complete){var w=t.complete;t.complete=function(e,r){var a=t.context||this;w.apply(a,[e,r,d])}}var S=e("input[type=file]:enabled",this).filter(function(){return""!==e(this).val()}).length>0,k="multipart/form-data",D=d.attr("enctype")===k||d.attr("encoding")===k,A=i.fileapi&&i.formdata;a("fileAPI :"+A);var L,F=(S||D)&&!A;!1!==t.iframe&&(t.iframe||F)?t.closeKeepAlive?e.get(t.closeKeepAlive,function(){L=u(g)}):L=u(g):L=(S||D)&&A?function(r){for(var a=new FormData,n=0;n<r.length;n++)a.append(r[n].name,r[n].value);if(t.extraData){var i=function(r){var a,n,i=e.param(r,t.traditional).split("&"),o=i.length,s=[];for(a=0;a<o;a++)i[a]=i[a].replace(/\+/g," "),n=i[a].split("="),s.push([decodeURIComponent(n[0]),decodeURIComponent(n[1])]);return s}(t.extraData);for(n=0;n<i.length;n++)i[n]&&a.append(i[n][0],i[n][1])}t.data=null;var o=e.extend(!0,{},e.ajaxSettings,t,{contentType:!1,processData:!1,cache:!1,type:c||"POST"});t.uploadProgress&&(o.xhr=function(){var r=e.ajaxSettings.xhr();return r.upload&&r.upload.addEventListener("progress",function(e){var r=0,a=e.loaded||e.position,n=e.total;e.lengthComputable&&(r=Math.ceil(a/n*100)),t.uploadProgress(e,a,n,r)},!1),r}),o.data=null;var s=o.beforeSend;return o.beforeSend=function(e,r){t.formData?r.data=t.formData:r.data=a,s&&s.call(this,e,r)},e.ajax(o)}(g):e.ajax(t),d.removeData("jqxhr").data("jqxhr",L);for(var E=0;E<v.length;E++)v[E]=null;return this.trigger("form-submit-notify",[this,t]),this},e.fn.ajaxForm=function(n,i,o,s){if(("string"==typeof n||!1===n&&arguments.length>0)&&(n={url:n,data:i,dataType:o},"function"==typeof s&&(n.success=s)),n=n||{},n.delegation=n.delegation&&e.isFunction(e.fn.on),!n.delegation&&0===this.length){var u={s:this.selector,c:this.context};return!e.isReady&&u.s?(a("DOM not ready, queuing ajaxForm"),e(function(){e(u.s,u.c).ajaxForm(n)}),this):(a("terminating; zero elements found by selector"+(e.isReady?"":" (DOM not ready)")),this)}return n.delegation?(e(document).off("submit.form-plugin",this.selector,t).off("click.form-plugin",this.selector,r).on("submit.form-plugin",this.selector,n,t).on("click.form-plugin",this.selector,n,r),this):this.ajaxFormUnbind().on("submit.form-plugin",n,t).on("click.form-plugin",n,r)},e.fn.ajaxFormUnbind=function(){return this.off("submit.form-plugin click.form-plugin")},e.fn.formToArray=function(t,r,a){var n=[];if(0===this.length)return n;var o,s=this[0],u=this.attr("id"),c=t||"undefined"==typeof s.elements?s.getElementsByTagName("*"):s.elements;if(c&&(c=e.makeArray(c)),u&&(t||/(Edge|Trident)\//.test(navigator.userAgent))&&(o=e(':input[form="'+u+'"]').get()).length&&(c=(c||[]).concat(o)),!c||!c.length)return n;e.isFunction(a)&&(c=e.map(c,a));var l,f,d,p,m,h,v;for(l=0,h=c.length;l<h;l++)if(m=c[l],(d=m.name)&&!m.disabled)if(t&&s.clk&&"image"===m.type)s.clk===m&&(n.push({name:d,value:e(m).val(),type:m.type}),n.push({name:d+".x",value:s.clk_x},{name:d+".y",value:s.clk_y}));else if((p=e.fieldValue(m,!0))&&p.constructor===Array)for(r&&r.push(m),f=0,v=p.length;f<v;f++)n.push({name:d,value:p[f]});else if(i.fileapi&&"file"===m.type){r&&r.push(m);var g=m.files;if(g.length)for(f=0;f<g.length;f++)n.push({name:d,value:g[f],type:m.type});else n.push({name:d,value:"",type:m.type})}else null!==p&&void 0!==p&&(r&&r.push(m),n.push({name:d,value:p,type:m.type,required:m.required}));if(!t&&s.clk){var x=e(s.clk),y=x[0];(d=y.name)&&!y.disabled&&"image"===y.type&&(n.push({name:d,value:x.val()}),n.push({name:d+".x",value:s.clk_x},{name:d+".y",value:s.clk_y}))}return n},e.fn.formSerialize=function(t){return e.param(this.formToArray(t))},e.fn.fieldSerialize=function(t){var r=[];return this.each(function(){var a=this.name;if(a){var n=e.fieldValue(this,t);if(n&&n.constructor===Array)for(var i=0,o=n.length;i<o;i++)r.push({name:a,value:n[i]});else null!==n&&void 0!==n&&r.push({name:this.name,value:n})}}),e.param(r)},e.fn.fieldValue=function(t){for(var r=[],a=0,n=this.length;a<n;a++){var i=this[a],o=e.fieldValue(i,t);null===o||void 0===o||o.constructor===Array&&!o.length||(o.constructor===Array?e.merge(r,o):r.push(o))}return r},e.fieldValue=function(t,r){var a=t.name,i=t.type,o=t.tagName.toLowerCase();if(void 0===r&&(r=!0),r&&(!a||t.disabled||"reset"===i||"button"===i||("checkbox"===i||"radio"===i)&&!t.checked||("submit"===i||"image"===i)&&t.form&&t.form.clk!==t||"select"===o&&-1===t.selectedIndex))return null;if("select"===o){var s=t.selectedIndex;if(s<0)return null;for(var u=[],c=t.options,l="select-one"===i,f=l?s+1:c.length,d=l?s:0;d<f;d++){var p=c[d];if(p.selected&&!p.disabled){var m=p.value;if(m||(m=p.attributes&&p.attributes.value&&!p.attributes.value.specified?p.text:p.value),l)return m;u.push(m)}}return u}return e(t).val().replace(n,"\r\n")},e.fn.clearForm=function(t){return this.each(function(){e("input,select,textarea",this).clearFields(t)})},e.fn.clearFields=e.fn.clearInputs=function(t){var r=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var a=this.type,n=this.tagName.toLowerCase();r.test(a)||"textarea"===n?this.value="":"checkbox"===a||"radio"===a?this.checked=!1:"select"===n?this.selectedIndex=-1:"file"===a?/MSIE/.test(navigator.userAgent)?e(this).replaceWith(e(this).clone(!0)):e(this).val(""):t&&(!0===t&&/hidden/.test(a)||"string"==typeof t&&e(this).is(t))&&(this.value="")})},e.fn.resetForm=function(){return this.each(function(){var t=e(this),r=this.tagName.toLowerCase();switch(r){case"input":this.checked=this.defaultChecked;case"textarea":return this.value=this.defaultValue,!0;case"option":case"optgroup":var a=t.parents("select");return a.length&&a[0].multiple?"option"===r?this.selected=this.defaultSelected:t.find("option").resetForm():a.resetForm(),!0;case"select":return t.find("option").each(function(e){if(this.selected=this.defaultSelected,this.defaultSelected&&!t[0].multiple)return t[0].selectedIndex=e,!1}),!0;case"label":var n=e(t.attr("for")),i=t.find("input,select,textarea");return n[0]&&i.unshift(n[0]),i.resetForm(),!0;case"form":return("function"==typeof this.reset||"object"==typeof this.reset&&!this.reset.nodeType)&&this.reset(),!0;default:return t.find("form,input,label,select,textarea").resetForm(),!0}})},e.fn.enable=function(e){return void 0===e&&(e=!0),this.each(function(){this.disabled=!e})},e.fn.selected=function(t){return void 0===t&&(t=!0),this.each(function(){var r=this.type;if("checkbox"===r||"radio"===r)this.checked=t;else if("option"===this.tagName.toLowerCase()){var a=e(this).parent("select");t&&a[0]&&"select-one"===a[0].type&&a.find("option").selected(!1),this.selected=t}})},e.fn.ajaxSubmit.debug=!1}); /** * Copyright (c) 2007-2015 Ariel Flesler - aflesler<a>gmail<d>com | http://flesler.blogspot.com * Licensed under MIT * @author Ariel Flesler * @version 2.1.2 */ ;(function(f){"use strict";"function"===typeof define&&define.amd?define(["jquery"],f):"undefined"!==typeof module&&module.exports?module.exports=f(require("jquery")):f(jQuery)})(function($){"use strict";function n(a){return!a.nodeName||-1!==$.inArray(a.nodeName.toLowerCase(),["iframe","#document","html","body"])}function h(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a}}var p=$.scrollTo=function(a,d,b){return $(window).scrollTo(a,d,b)};p.defaults={axis:"xy",duration:0,limit:!0};$.fn.scrollTo=function(a,d,b){"object"=== typeof d&&(b=d,d=0);"function"===typeof b&&(b={onAfter:b});"max"===a&&(a=9E9);b=$.extend({},p.defaults,b);d=d||b.duration;var u=b.queue&&1<b.axis.length;u&&(d/=2);b.offset=h(b.offset);b.over=h(b.over);return this.each(function(){function k(a){var k=$.extend({},b,{queue:!0,duration:d,complete:a&&function(){a.call(q,e,b)}});r.animate(f,k)}if(null!==a){var l=n(this),q=l?this.contentWindow||window:this,r=$(q),e=a,f={},t;switch(typeof e){case "number":case "string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(e)){e= h(e);break}e=l?$(e):$(e,q);case "object":if(e.length===0)return;if(e.is||e.style)t=(e=$(e)).offset()}var v=$.isFunction(b.offset)&&b.offset(q,e)||b.offset;$.each(b.axis.split(""),function(a,c){var d="x"===c?"Left":"Top",m=d.toLowerCase(),g="scroll"+d,h=r[g](),n=p.max(q,c);t?(f[g]=t[m]+(l?0:h-r.offset()[m]),b.margin&&(f[g]-=parseInt(e.css("margin"+d),10)||0,f[g]-=parseInt(e.css("border"+d+"Width"),10)||0),f[g]+=v[m]||0,b.over[m]&&(f[g]+=e["x"===c?"width":"height"]()*b.over[m])):(d=e[m],f[g]=d.slice&& "%"===d.slice(-1)?parseFloat(d)/100*n:d);b.limit&&/^\d+$/.test(f[g])&&(f[g]=0>=f[g]?0:Math.min(f[g],n));!a&&1<b.axis.length&&(h===f[g]?f={}:u&&(k(b.onAfterFirst),f={}))});k(b.onAfter)}})};p.max=function(a,d){var b="x"===d?"Width":"Height",h="scroll"+b;if(!n(a))return a[h]-$(a)[b.toLowerCase()]();var b="client"+b,k=a.ownerDocument||a.document,l=k.documentElement,k=k.body;return Math.max(l[h],k[h])-Math.min(l[b],k[b])};$.Tween.propHooks.scrollLeft=$.Tween.propHooks.scrollTop={get:function(a){return $(a.elem)[a.prop]()}, set:function(a){var d=this.get(a);if(a.options.interrupt&&a._last&&a._last!==d)return $(a.elem).stop();var b=Math.round(a.now);d!==b&&($(a.elem)[a.prop](b),a._last=this.get(a))}};return p}); !function(t,e,i){!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):jQuery&&!jQuery.fn.qtip&&t(jQuery)}(function(s){"use strict";function o(t,e,i,o){this.id=i,this.target=t,this.tooltip=W,this.elements={target:t},this._id=N+"-"+i,this.timers={img:{}},this.options=e,this.plugins={},this.cache={event:{},target:s(),disabled:M,attr:o,onTooltip:M,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=M}function n(t){return t===W||"object"!==s.type(t)}function r(t){return!(s.isFunction(t)||t&&t.attr||t.length||"object"===s.type(t)&&(t.jquery||t.then))}function a(t){var e,i,o,a;return n(t)?M:(n(t.metadata)&&(t.metadata={type:t.metadata}),"content"in t&&(n(e=t.content)||e.jquery||e.done?e=t.content={text:i=r(e)?M:e}:i=e.text,"ajax"in e&&(o=e.ajax,a=o&&o.once!==M,delete e.ajax,e.text=function(t,e){var n=i||s(this).attr(e.options.content.attr)||"Loading...",r=s.ajax(s.extend({},o,{context:e})).then(o.success,W,o.error).then(function(t){return t&&a&&e.set("content.text",t),t},function(t,i,s){e.destroyed||0===t.status||e.set("content.text",i+": "+s)});return a?n:(e.set("content.text",n),r)}),"title"in e&&(s.isPlainObject(e.title)&&(e.button=e.title.button,e.title=e.title.text),r(e.title||M)&&(e.title=M))),"position"in t&&n(t.position)&&(t.position={my:t.position,at:t.position}),"show"in t&&n(t.show)&&(t.show=t.show.jquery?{target:t.show}:t.show===z?{ready:z}:{event:t.show}),"hide"in t&&n(t.hide)&&(t.hide=t.hide.jquery?{target:t.hide}:{event:t.hide}),"style"in t&&n(t.style)&&(t.style={classes:t.style}),s.each(F,function(){this.sanitize&&this.sanitize(t)}),t)}function h(t,e){for(var i,s=0,o=t,n=e.split(".");o=o[n[s++]];)s<n.length&&(i=o);return[i||t,n.pop()]}function l(t,e){var i,s,o;for(i in this.checks)for(s in this.checks[i])(o=new RegExp(s,"i").exec(t))&&(e.push(o),("builtin"===i||this.plugins[i])&&this.checks[i][s].apply(this.plugins[i]||this,e))}function c(t){return V.concat("").join(t?"-"+t+" ":" ")}function d(t,e){if(e>0)return setTimeout(s.proxy(t,this),e);t.call(this)}function p(t){this.tooltip.hasClass(U)||(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this.timers.show=d.call(this,function(){this.toggle(z,t)},this.options.show.delay))}function u(t){if(!this.tooltip.hasClass(U)&&!this.destroyed){var e=s(t.relatedTarget),i=e.closest(O)[0]===this.tooltip[0],o=e[0]===this.options.show.target[0];if(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this!==e[0]&&"mouse"===this.options.position.target&&i||this.options.hide.fixed&&/mouse(out|leave|move)/.test(t.type)&&(i||o))try{t.preventDefault(),t.stopImmediatePropagation()}catch(n){}else this.timers.hide=d.call(this,function(){this.toggle(M,t)},this.options.hide.delay,this)}}function f(t){!this.tooltip.hasClass(U)&&this.options.hide.inactive&&(clearTimeout(this.timers.inactive),this.timers.inactive=d.call(this,function(){this.hide(t)},this.options.hide.inactive))}function g(t){this.rendered&&this.tooltip[0].offsetWidth>0&&this.reposition(t)}function m(t,i,o){s(e.body).delegate(t,(i.split?i:i.join("."+N+" "))+"."+N,function(){var t=_.api[s.attr(this,$)];t&&!t.disabled&&o.apply(t,arguments)})}function v(t){return t.charAt(0).toUpperCase()+t.slice(1)}function y(t,e){return Math.ceil(parseFloat(function(t,e){var s,o,n=e.charAt(0).toUpperCase()+e.slice(1),r=(e+" "+lt.join(n+" ")+n).split(" "),a=0;if(ht[e])return t.css(ht[e]);for(;s=r[a++];)if((o=t.css(s))!==i)return ht[e]=s,o}(t,e)))}function b(t,e){this._ns="tip",this.options=e,this.offset=e.offset,this.size=[e.width,e.height],this.init(this.qtip=t)}function w(t,e){this.options=e,this._ns="-modal",this.init(this.qtip=t)}function x(t,e){this._ns="ie6",this.init(this.qtip=t)}var _,C,q,T,j,z=!0,M=!1,W=null,I="x",k="y",E="width",A="bottom",L="right",P="center",D="flipinvert",B="shift",F={},N="qtip",S="data-hasqtip",$="data-qtip-id",V=["ui-widget","ui-tooltip"],O="."+N,R="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),H=N+"-fixed",X=N+"-default",Y=N+"-focus",G=N+"-hover",U=N+"-disabled",Q="_replacedByqTip",J="oldtitle",K=function(){for(var t=4,i=e.createElement("div");(i.innerHTML="\x3c!--[if gt IE "+t+"]><i></i><![endif]--\x3e")&&i.getElementsByTagName("i")[0];t+=1);return t>4?t:NaN}(),Z=parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||M;(C=o.prototype)._when=function(t){return s.when.apply(s,t)},C.render=function(t){if(this.rendered||this.destroyed)return this;var e=this,i=this.options,o=this.cache,n=this.elements,r=i.content.text,a=i.content.title,h=i.content.button,l=i.position,c=(this._id,[]);return s.attr(this.target[0],"aria-describedby",this._id),o.posClass=this._createPosClass((this.position={my:l.my,at:l.at}).my),this.tooltip=n.tooltip=s("<div/>",{id:this._id,"class":[N,X,i.style.classes,o.posClass].join(" "),width:i.style.width||"",height:i.style.height||"",tracking:"mouse"===l.target&&l.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":M,"aria-describedby":this._id+"-content","aria-hidden":z}).toggleClass(U,this.disabled).attr($,this.id).data(N,this).appendTo(l.container).append(n.content=s("<div />",{"class":N+"-content",id:this._id+"-content","aria-atomic":z})),this.rendered=-1,this.positioning=z,a&&(this._createTitle(),s.isFunction(a)||c.push(this._updateTitle(a,M))),h&&this._createButton(),s.isFunction(r)||c.push(this._updateContent(r,M)),this.rendered=z,this._setWidget(),s.each(F,function(t){var i;"render"===this.initialize&&(i=this(e))&&(e.plugins[t]=i)}),this._unassignEvents(),this._assignEvents(),this._when(c).then(function(){e._trigger("render"),e.positioning=M,e.hiddenDuringWait||!i.show.ready&&!t||e.toggle(z,o.event,M),e.hiddenDuringWait=M}),_.api[this.id]=this,this},C.destroy=function(t){function e(){if(!this.destroyed){this.destroyed=z;var t,e=this.target,i=e.attr(J);this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove(),s.each(this.plugins,function(t){this.destroy&&this.destroy()});for(t in this.timers)clearTimeout(this.timers[t]);e.removeData(N).removeAttr($).removeAttr(S).removeAttr("aria-describedby"),this.options.suppress&&i&&e.attr("title",i).removeAttr(J),this._unassignEvents(),this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=W,delete _.api[this.id]}}return this.destroyed?this.target:(t===z&&"hide"!==this.triggering||!this.rendered?e.call(this):(this.tooltip.one("tooltiphidden",s.proxy(e,this)),!this.triggering&&this.hide()),this.target)},T=C.checks={builtin:{"^id$":function(t,e,i,o){var n=i===z?_.nextid:i,r=N+"-"+n;n!==M&&n.length>0&&!s("#"+r).length?(this._id=r,this.rendered&&(this.tooltip[0].id=this._id,this.elements.content[0].id=this._id+"-content",this.elements.title[0].id=this._id+"-title")):t[e]=o},"^prerender":function(t,e,i){i&&!this.rendered&&this.render(this.options.show.ready)},"^content.text$":function(t,e,i){this._updateContent(i)},"^content.attr$":function(t,e,i,s){this.options.content.text===this.target.attr(s)&&this._updateContent(this.target.attr(i))},"^content.title$":function(t,e,i){if(!i)return this._removeTitle();i&&!this.elements.title&&this._createTitle(),this._updateTitle(i)},"^content.button$":function(t,e,i){this._updateButton(i)},"^content.title.(text|button)$":function(t,e,i){this.set("content."+e,i)},"^position.(my|at)$":function(t,e,i){"string"==typeof i&&(this.position[e]=t[e]=new q(i,"at"===e))},"^position.container$":function(t,e,i){this.rendered&&this.tooltip.appendTo(i)},"^show.ready$":function(t,e,i){i&&(!this.rendered&&this.render(z)||this.toggle(z))},"^style.classes$":function(t,e,i,s){this.rendered&&this.tooltip.removeClass(s).addClass(i)},"^style.(width|height)":function(t,e,i){this.rendered&&this.tooltip.css(e,i)},"^style.widget|content.title":function(){this.rendered&&this._setWidget()},"^style.def":function(t,e,i){this.rendered&&this.tooltip.toggleClass(X,!!i)},"^events.(render|show|move|hide|focus|blur)$":function(t,e,i){this.rendered&&this.tooltip[(s.isFunction(i)?"":"un")+"bind"]("tooltip"+e,i)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){if(this.rendered){var t=this.options.position;this.tooltip.attr("tracking","mouse"===t.target&&t.adjust.mouse),this._unassignEvents(),this._assignEvents()}}}},C.get=function(t){if(this.destroyed)return this;var e=h(this.options,t.toLowerCase()),i=e[0][e[1]];return i.precedance?i.string():i};var tt=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,et=/^prerender|show\.ready/i;C.set=function(t,e){if(this.destroyed)return this;var i,o=this.rendered,n=M,r=this.options;this.checks;return"string"==typeof t?(i=t,(t={})[i]=e):t=s.extend({},t),s.each(t,function(e,i){if(o&&et.test(e))delete t[e];else{var a,l=h(r,e.toLowerCase());a=l[0][l[1]],l[0][l[1]]=i&&i.nodeType?s(i):i,n=tt.test(e)||n,t[e]=[l[0],l[1],i,a]}}),a(r),this.positioning=z,s.each(t,s.proxy(l,this)),this.positioning=M,this.rendered&&this.tooltip[0].offsetWidth>0&&n&&this.reposition("mouse"===r.position.target?W:this.cache.event),this},C._update=function(t,e,i){var o=this,n=this.cache;return this.rendered&&t?(s.isFunction(t)&&(t=t.call(this.elements.target,n.event,this)||""),s.isFunction(t.then)?(n.waiting=z,t.then(function(t){return n.waiting=M,o._update(t,e)},W,function(t){return o._update(t,e)})):t===M||!t&&""!==t?M:(t.jquery&&t.length>0?e.empty().append(t.css({display:"block",visibility:"visible"})):e.html(t),this._waitForContent(e).then(function(t){o.rendered&&o.tooltip[0].offsetWidth>0&&o.reposition(n.event,!t.length)}))):M},C._waitForContent=function(t){var e=this.cache;return e.waiting=z,(s.fn.imagesLoaded?t.imagesLoaded():s.Deferred().resolve([])).done(function(){e.waiting=M}).promise()},C._updateContent=function(t,e){this._update(t,this.elements.content,e)},C._updateTitle=function(t,e){this._update(t,this.elements.title,e)===M&&this._removeTitle(M)},C._createTitle=function(){var t=this.elements,e=this._id+"-title";t.titlebar&&this._removeTitle(),t.titlebar=s("<div />",{"class":N+"-titlebar "+(this.options.style.widget?c("header"):"")}).append(t.title=s("<div />",{id:e,"class":N+"-title","aria-atomic":z})).insertBefore(t.content).delegate(".qtip-close","mousedown keydown mouseup keyup mouseout",function(t){s(this).toggleClass("ui-state-active ui-state-focus","down"===t.type.substr(-4))}).delegate(".qtip-close","mouseover mouseout",function(t){s(this).toggleClass("ui-state-hover","mouseover"===t.type)}),this.options.content.button&&this._createButton()},C._removeTitle=function(t){var e=this.elements;e.title&&(e.titlebar.remove(),e.titlebar=e.title=e.button=W,t!==M&&this.reposition())},C._createPosClass=function(t){return N+"-pos-"+(t||this.options.position.my).abbrev()},C.reposition=function(i,o){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=z;var n,r,a,h,l=this.cache,c=this.tooltip,d=this.options.position,p=d.target,u=d.my,f=d.at,g=d.viewport,m=d.container,v=d.adjust,y=v.method.split(" "),b=c.outerWidth(M),w=c.outerHeight(M),x=0,_=0,C=c.css("position"),q={left:0,top:0},T=c[0].offsetWidth>0,j=i&&"scroll"===i.type,W=s(t),I=m[0].ownerDocument,k=this.mouse;if(s.isArray(p)&&2===p.length)f={x:"left",y:"top"},q={left:p[0],top:p[1]};else if("mouse"===p)f={x:"left",y:"top"},(!v.mouse||this.options.hide.distance)&&l.origin&&l.origin.pageX?i=l.origin:!i||i&&("resize"===i.type||"scroll"===i.type)?i=l.event:k&&k.pageX&&(i=k),"static"!==C&&(q=m.offset()),I.body.offsetWidth!==(t.innerWidth||I.documentElement.clientWidth)&&(r=s(e.body).offset()),q={left:i.pageX-q.left+(r&&r.left||0),top:i.pageY-q.top+(r&&r.top||0)},v.mouse&&j&&k&&(q.left-=(k.scrollX||0)-W.scrollLeft(),q.top-=(k.scrollY||0)-W.scrollTop());else{if("event"===p?i&&i.target&&"scroll"!==i.type&&"resize"!==i.type?l.target=s(i.target):i.target||(l.target=this.elements.target):"event"!==p&&(l.target=s(p.jquery?p:this.elements.target)),p=l.target,0===(p=s(p).eq(0)).length)return this;p[0]===e||p[0]===t?(x=Z?t.innerWidth:p.width(),_=Z?t.innerHeight:p.height(),p[0]===t&&(q={top:(g||p).scrollTop(),left:(g||p).scrollLeft()})):F.imagemap&&p.is("area")?n=F.imagemap(this,p,f,F.viewport?y:M):F.svg&&p&&p[0].ownerSVGElement?n=F.svg(this,p,f,F.viewport?y:M):(x=p.outerWidth(M),_=p.outerHeight(M),q=p.offset()),n&&(x=n.width,_=n.height,r=n.offset,q=n.position),q=this.reposition.offset(p,q,m),(Z>3.1&&Z<4.1||Z>=4.3&&Z<4.33||!Z&&"fixed"===C)&&(q.left-=W.scrollLeft(),q.top-=W.scrollTop()),(!n||n&&n.adjustable!==M)&&(q.left+=f.x===L?x:f.x===P?x/2:0,q.top+=f.y===A?_:f.y===P?_/2:0)}return q.left+=v.x+(u.x===L?-b:u.x===P?-b/2:0),q.top+=v.y+(u.y===A?-w:u.y===P?-w/2:0),F.viewport?(a=q.adjusted=F.viewport(this,q,d,x,_,b,w),r&&a.left&&(q.left+=r.left),r&&a.top&&(q.top+=r.top),a.my&&(this.position.my=a.my)):q.adjusted={left:0,top:0},l.posClass!==(h=this._createPosClass(this.position.my))&&c.removeClass(l.posClass).addClass(l.posClass=h),this._trigger("move",[q,g.elem||g],i)?(delete q.adjusted,o===M||!T||isNaN(q.left)||isNaN(q.top)||"mouse"===p||!s.isFunction(d.effect)?c.css(q):s.isFunction(d.effect)&&(d.effect.call(c,this,s.extend({},q)),c.queue(function(t){s(this).css({opacity:"",height:""}),K&&this.style.removeAttribute("filter"),t()})),this.positioning=M,this):this},C.reposition.offset=function(t,i,o){function n(t,e){i.left+=e*t.scrollLeft(),i.top+=e*t.scrollTop()}if(!o[0])return i;var r,a,h,l,c=s(t[0].ownerDocument),d=!!K&&"CSS1Compat"!==e.compatMode,p=o[0];do{"static"!==(a=s.css(p,"position"))&&("fixed"===a?(h=p.getBoundingClientRect(),n(c,-1)):((h=s(p).position()).left+=parseFloat(s.css(p,"borderLeftWidth"))||0,h.top+=parseFloat(s.css(p,"borderTopWidth"))||0),i.left-=h.left+(parseFloat(s.css(p,"marginLeft"))||0),i.top-=h.top+(parseFloat(s.css(p,"marginTop"))||0),r||"hidden"===(l=s.css(p,"overflow"))||"visible"===l||(r=s(p)))}while(p=p.offsetParent);return r&&(r[0]!==c[0]||d)&&n(r,1),i};var it=(q=C.reposition.Corner=function(t,e){t=(""+t).replace(/([A-Z])/," $1").replace(/middle/gi,P).toLowerCase(),this.x=(t.match(/left|right/i)||t.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(t.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.forceY=!!e;var i=t.charAt(0);this.precedance="t"===i||"b"===i?k:I}).prototype;it.invert=function(t,e){this[t]="left"===this[t]?L:this[t]===L?"left":e||this[t]},it.string=function(t){var e=this.x,i=this.y,s=e!==i?"center"===e||"center"!==i&&(this.precedance===k||this.forceY)?[i,e]:[e,i]:[e];return!1!==t?s.join(" "):s},it.abbrev=function(){var t=this.string(!1);return t[0].charAt(0)+(t[1]&&t[1].charAt(0)||"")},it.clone=function(){return new q(this.string(),this.forceY)},C.toggle=function(t,i){var o=this.cache,n=this.options,r=this.tooltip;if(i){if(/over|enter/.test(i.type)&&o.event&&/out|leave/.test(o.event.type)&&n.show.target.add(i.target).length===n.show.target.length&&r.has(i.relatedTarget).length)return this;o.event=s.event.fix(i)}if(this.waiting&&!t&&(this.hiddenDuringWait=z),!this.rendered)return t?this.render(1):this;if(this.destroyed||this.disabled)return this;var a,h,l,c=t?"show":"hide",d=this.options[c],p=(this.options[t?"hide":"show"],this.options.position),u=this.options.content,f=this.tooltip.css("width"),g=this.tooltip.is(":visible"),m=t||1===d.target.length,v=!i||d.target.length<2||o.target[0]===i.target;return(typeof t).search("boolean|number")&&(t=!g),a=!r.is(":animated")&&g===t&&v,h=a?W:!!this._trigger(c,[90]),this.destroyed?this:(h!==M&&t&&this.focus(i),!h||a?this:(s.attr(r[0],"aria-hidden",!t),t?(this.mouse&&(o.origin=s.event.fix(this.mouse)),s.isFunction(u.text)&&this._updateContent(u.text,M),s.isFunction(u.title)&&this._updateTitle(u.title,M),!j&&"mouse"===p.target&&p.adjust.mouse&&(s(e).bind("mousemove."+N,this._storeMouse),j=z),f||r.css("width",r.outerWidth(M)),this.reposition(i,arguments[2]),f||r.css("width",""),d.solo&&("string"==typeof d.solo?s(d.solo):s(O,d.solo)).not(r).not(d.target).qtip("hide",s.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete o.origin,j&&!s(O+'[tracking="true"]:visible',d.solo).not(r).length&&(s(e).unbind("mousemove."+N),j=M),this.blur(i)),l=s.proxy(function(){t?(K&&r[0].style.removeAttribute("filter"),r.css("overflow",""),"string"==typeof d.autofocus&&s(this.options.show.autofocus,r).focus(),this.options.show.target.trigger("qtip-"+this.id+"-inactive")):r.css({display:"",visibility:"",opacity:"",left:"",top:""}),this._trigger(t?"visible":"hidden")},this),d.effect===M||m===M?(r[c](),l()):s.isFunction(d.effect)?(r.stop(1,1),d.effect.call(r,this),r.queue("fx",function(t){l(),t()})):r.fadeTo(90,t?1:0,l),t&&d.target.trigger("qtip-"+this.id+"-inactive"),this))},C.show=function(t){return this.toggle(z,t)},C.hide=function(t){return this.toggle(M,t)},C.focus=function(t){if(!this.rendered||this.destroyed)return this;var e=s(O),i=this.tooltip,o=parseInt(i[0].style.zIndex,10),n=_.zindex+e.length;return i.hasClass(Y)||this._trigger("focus",[n],t)&&(o!==n&&(e.each(function(){this.style.zIndex>o&&(this.style.zIndex=this.style.zIndex-1)}),e.filter("."+Y).qtip("blur",t)),i.addClass(Y)[0].style.zIndex=n),this},C.blur=function(t){return!this.rendered||this.destroyed?this:(this.tooltip.removeClass(Y),this._trigger("blur",[this.tooltip.css("zIndex")],t),this)},C.disable=function(t){return this.destroyed?this:("toggle"===t?t=!(this.rendered?this.tooltip.hasClass(U):this.disabled):"boolean"!=typeof t&&(t=z),this.rendered&&this.tooltip.toggleClass(U,t).attr("aria-disabled",t),this.disabled=!!t,this)},C.enable=function(){return this.disable(M)},C._createButton=function(){var t=this,e=this.elements,i=e.tooltip,o=this.options.content.button,n="string"==typeof o?o:"Close tooltip";e.button&&e.button.remove(),o.jquery?e.button=o:e.button=s("<a />",{"class":"qtip-close "+(this.options.style.widget?"":N+"-icon"),title:n,"aria-label":n}).prepend(s("<span />",{"class":"ui-icon ui-icon-close",html:"&times;"})),e.button.appendTo(e.titlebar||i).attr("role","button").click(function(e){return i.hasClass(U)||t.hide(e),M})},C._updateButton=function(t){if(!this.rendered)return M;var e=this.elements.button;t?this._createButton():e.remove()},C._setWidget=function(){var t=this.options.style.widget,e=this.elements,i=e.tooltip,s=i.hasClass(U);i.removeClass(U),U=t?"ui-state-disabled":"qtip-disabled",i.toggleClass(U,s),i.toggleClass("ui-helper-reset "+c(),t).toggleClass(X,this.options.style.def&&!t),e.content&&e.content.toggleClass(c("content"),t),e.titlebar&&e.titlebar.toggleClass(c("header"),t),e.button&&e.button.toggleClass(N+"-icon",!t)},C._storeMouse=function(t){return(this.mouse=s.event.fix(t)).type="mousemove",this},C._bind=function(t,e,i,o,n){if(t&&i&&e.length){var r="."+this._id+(o?"-"+o:"");return s(t).bind((e.split?e:e.join(r+" "))+r,s.proxy(i,n||this)),this}},C._unbind=function(t,e){return t&&s(t).unbind("."+this._id+(e?"-"+e:"")),this},C._trigger=function(t,e,i){var o=s.Event("tooltip"+t);return o.originalEvent=i&&s.extend({},i)||this.cache.event||W,this.triggering=t,this.tooltip.trigger(o,[this].concat(e||[])),this.triggering=M,!o.isDefaultPrevented()},C._bindEvents=function(t,e,i,o,n,r){var a=i.filter(o).add(o.filter(i)),h=[];a.length&&(s.each(e,function(e,i){var o=s.inArray(i,t);o>-1&&h.push(t.splice(o,1)[0])}),h.length&&(this._bind(a,h,function(t){(!!this.rendered&&this.tooltip[0].offsetWidth>0?r:n).call(this,t)}),i=i.not(a),o=o.not(a))),this._bind(i,t,n),this._bind(o,e,r)},C._assignInitialEvents=function(t){function e(t){if(this.disabled||this.destroyed)return M;this.cache.event=t&&s.event.fix(t),this.cache.target=t&&s(t.target),clearTimeout(this.timers.show),this.timers.show=d.call(this,function(){this.render("object"==typeof t||i.show.ready)},i.prerender?0:i.show.delay)}var i=this.options,o=i.show.target,n=i.hide.target,r=i.show.event?s.trim(""+i.show.event).split(" "):[],a=i.hide.event?s.trim(""+i.hide.event).split(" "):[];this._bind(this.elements.target,["remove","removeqtip"],function(t){this.destroy(!0)},"destroy"),/mouse(over|enter)/i.test(i.show.event)&&!/mouse(out|leave)/i.test(i.hide.event)&&a.push("mouseleave"),this._bind(o,"mousemove",function(t){this._storeMouse(t),this.cache.onTarget=z}),this._bindEvents(r,a,o,n,e,function(){if(!this.timers)return M;clearTimeout(this.timers.show)}),(i.show.ready||i.prerender)&&e.call(this,t)},C._assignEvents=function(){var i=this,o=this.options,n=o.position,r=this.tooltip,a=o.show.target,h=o.hide.target,l=n.container,c=n.viewport,d=s(e),m=(s(e.body),s(t)),v=o.show.event?s.trim(""+o.show.event).split(" "):[],y=o.hide.event?s.trim(""+o.hide.event).split(" "):[];s.each(o.events,function(t,e){i._bind(r,"toggle"===t?["tooltipshow","tooltiphide"]:["tooltip"+t],e,null,r)}),/mouse(out|leave)/i.test(o.hide.event)&&"window"===o.hide.leave&&this._bind(d,["mouseout","blur"],function(t){/select|option/.test(t.target.nodeName)||t.relatedTarget||this.hide(t)}),o.hide.fixed?h=h.add(r.addClass(H)):/mouse(over|enter)/i.test(o.show.event)&&this._bind(h,"mouseleave",function(){clearTimeout(this.timers.show)}),(""+o.hide.event).indexOf("unfocus")>-1&&this._bind(l.closest("html"),["mousedown","touchstart"],function(t){var e=s(t.target),i=this.rendered&&!this.tooltip.hasClass(U)&&this.tooltip[0].offsetWidth>0,o=e.parents(O).filter(this.tooltip[0]).length>0;e[0]===this.target[0]||e[0]===this.tooltip[0]||o||this.target.has(e[0]).length||!i||this.hide(t)}),"number"==typeof o.hide.inactive&&(this._bind(a,"qtip-"+this.id+"-inactive",f,"inactive"),this._bind(h.add(r),_.inactiveEvents,f)),this._bindEvents(v,y,a,h,p,u),this._bind(a.add(r),"mousemove",function(t){if("number"==typeof o.hide.distance){var e=this.cache.origin||{},i=this.options.hide.distance,s=Math.abs;(s(t.pageX-e.pageX)>=i||s(t.pageY-e.pageY)>=i)&&this.hide(t)}this._storeMouse(t)}),"mouse"===n.target&&n.adjust.mouse&&(o.hide.event&&this._bind(a,["mouseenter","mouseleave"],function(t){if(!this.cache)return M;this.cache.onTarget="mouseenter"===t.type}),this._bind(d,"mousemove",function(t){this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(U)&&this.tooltip[0].offsetWidth>0&&this.reposition(t)})),(n.adjust.resize||c.length)&&this._bind(s.event.special.resize?c:m,"resize",g),n.adjust.scroll&&this._bind(m.add(n.container),"scroll",g)},C._unassignEvents=function(){var i=this.options,o=i.show.target,n=i.hide.target,r=s.grep([this.elements.target[0],this.rendered&&this.tooltip[0],i.position.container[0],i.position.viewport[0],i.position.container.closest("html")[0],t,e],function(t){return"object"==typeof t});o&&o.toArray&&(r=r.concat(o.toArray())),n&&n.toArray&&(r=r.concat(n.toArray())),this._unbind(r)._unbind(r,"destroy")._unbind(r,"inactive")},s(function(){m(O,["mouseenter","mouseleave"],function(t){var e="mouseenter"===t.type,i=s(t.currentTarget),o=s(t.relatedTarget||t.target),n=this.options;e?(this.focus(t),i.hasClass(H)&&!i.hasClass(U)&&clearTimeout(this.timers.hide)):"mouse"===n.position.target&&n.position.adjust.mouse&&n.hide.event&&n.show.target&&!o.closest(n.show.target[0]).length&&this.hide(t),i.toggleClass(G,e)}),m("["+$+"]",R,f)}),_=s.fn.qtip=function(t,n,r){var h=(""+t).toLowerCase(),l=W,c=s.makeArray(arguments).slice(1),d=c[c.length-1],p=this[0]?s.data(this[0],N):W;return!arguments.length&&p||"api"===h?p:"string"==typeof t?(this.each(function(){var t=s.data(this,N);if(!t)return z;if(d&&d.timeStamp&&(t.cache.event=d),!n||"option"!==h&&"options"!==h)t[h]&&t[h].apply(t,c);else{if(r===i&&!s.isPlainObject(n))return l=t.get(n),M;t.set(n,r)}}),l!==W?l:this):"object"!=typeof t&&arguments.length?void 0:(p=a(s.extend(z,{},t)),this.each(function(t){var i,n;if(n=s.isArray(p.id)?p.id[t]:p.id,n=!n||n===M||n.length<1||_.api[n]?_.nextid++:n,(i=function(t,i,n){var r,h,l,c,d,p=s(e.body),u=t[0]===e?p:t,f=t.metadata?t.metadata(n.metadata):W,g="html5"===n.metadata.type&&f?f[n.metadata.name]:W,m=t.data(n.metadata.name||"qtipopts");try{m="string"==typeof m?s.parseJSON(m):m}catch(v){}if(c=s.extend(z,{},_.defaults,n,"object"==typeof m?a(m):W,a(g||f)),h=c.position,c.id=i,"boolean"==typeof c.content.text){if(l=t.attr(c.content.attr),c.content.attr===M||!l)return M;c.content.text=l}if(h.container.length||(h.container=p),h.target===M&&(h.target=u),c.show.target===M&&(c.show.target=u),c.show.solo===z&&(c.show.solo=h.container.closest("body")),c.hide.target===M&&(c.hide.target=u),c.position.viewport===z&&(c.position.viewport=h.container),h.container=h.container.eq(0),h.at=new q(h.at,z),h.my=new q(h.my),t.data(N))if(c.overwrite)t.qtip("destroy",!0);else if(c.overwrite===M)return M;return t.attr(S,i),c.suppress&&(d=t.attr("title"))&&t.removeAttr("title").attr(J,d).attr("title",""),r=new o(t,c,i,!!l),t.data(N,r),r}(s(this),n,p))===M)return z;_.api[n]=i,s.each(F,function(){"initialize"===this.initialize&&this(i)}),i._assignInitialEvents(d)}))},s.qtip=o,_.api={},s.each({attr:function(t,e){if(this.length){var i=this[0],o=s.data(i,"qtip");if("title"===t&&o&&"object"==typeof o&&o.options.suppress)return arguments.length<2?s.attr(i,J):(o&&"title"===o.options.content.attr&&o.cache.attr&&o.set("content.text",e),this.attr(J,e))}return s.fn["attr"+Q].apply(this,arguments)},clone:function(t){s([]);var e=s.fn["clone"+Q].apply(this,arguments);return t||e.filter("["+J+"]").attr("title",function(){return s.attr(this,J)}).removeAttr(J),e}},function(t,e){if(!e||s.fn[t+Q])return z;var i=s.fn[t+Q]=s.fn[t];s.fn[t]=function(){return e.apply(this,arguments)||i.apply(this,arguments)}}),s.ui||(s["cleanData"+Q]=s.cleanData,s.cleanData=function(t){for(var e,i=0;(e=s(t[i])).length;i++)if(e.attr(S))try{e.triggerHandler("removeqtip")}catch(o){}s["cleanData"+Q].apply(this,arguments)}),_.version="2.2.1",_.nextid=0,_.inactiveEvents=R,_.zindex=15e3,_.defaults={prerender:M,id:M,overwrite:z,suppress:z,content:{text:z,attr:"title",title:M,button:M},position:{my:"top left",at:"bottom right",target:M,container:M,viewport:M,adjust:{x:0,y:0,mouse:z,scroll:z,resize:z,method:"flipinvert flipinvert"},effect:function(t,e,i){s(this).animate(e,{duration:200,queue:M})}},show:{target:M,event:"mouseenter",effect:z,delay:90,solo:M,ready:M,autofocus:M},hide:{target:M,event:"mouseleave",effect:z,delay:0,fixed:M,inactive:M,leave:"window",distance:M},style:{classes:"",widget:M,width:M,height:M,def:z},events:{render:W,move:W,show:W,hide:W,toggle:W,visible:W,hidden:W,focus:W,blur:W}};var st,ot="margin",nt="background-color",rt=!!e.createElement("canvas").getContext,at=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i,ht={},lt=["Webkit","O","Moz","ms"];if(rt)var ct=(t.devicePixelRatio||1)/function(){var t=e.createElement("canvas").getContext("2d");return t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||1}();else var dt=function(t,e,i){return"<qtipvml:"+t+' xmlns="urn:schemas-microsoft.com:vml" class="qtip-vml" '+(e||"")+' style="behavior: url(#default#VML); '+(i||"")+'" />'};s.extend(b.prototype,{init:function(t){var e,i;i=this.element=t.elements.tip=s("<div />",{"class":N+"-tip"}).prependTo(t.tooltip),rt?((e=s("<canvas />").appendTo(this.element)[0].getContext("2d")).lineJoin="miter",e.miterLimit=1e5,e.save()):(e=dt("shape",'coordorigin="0,0"',"position:absolute;"),this.element.html(e+e),t._bind(s("*",i).add(i),["click","mousedown"],function(t){t.stopPropagation()},this._ns)),t._bind(t.tooltip,"tooltipmove",this.reposition,this._ns,this),this.create()},_swapDimensions:function(){this.size[0]=this.options.height,this.size[1]=this.options.width},_resetDimensions:function(){this.size[0]=this.options.width,this.size[1]=this.options.height},_useTitle:function(t){var e=this.qtip.elements.titlebar;return e&&("top"===t.y||t.y===P&&this.element.position().top+this.size[1]/2+this.options.offset<e.outerHeight(z))},_parseCorner:function(t){var e=this.qtip.options.position.my;return t===M||e===M?t=M:t===z?t=new q(e.string()):t.string||((t=new q(t)).fixed=z),t},_parseWidth:function(t,e,i){var s=this.qtip.elements,o="border"+v(e)+"Width";return(i?y(i,o):y(s.content,o)||y(this._useTitle(t)&&s.titlebar||s.content,o)||y(s.tooltip,o))||0},_parseRadius:function(t){var e=this.qtip.elements,i="border"+v(t.y)+v(t.x)+"Radius";return K<9?0:y(this._useTitle(t)&&e.titlebar||e.content,i)||y(e.tooltip,i)||0},_invalidColour:function(t,e,i){var s=t.css(e);return!s||i&&s===t.css(i)||at.test(s)?M:s},_parseColours:function(t){var e=this.qtip.elements,i=this.element.css("cssText",""),o="border"+v(t[t.precedance])+v("color"),n=this._useTitle(t)&&e.titlebar||e.content,r=this._invalidColour,a=[];return a[0]=r(i,nt)||r(n,nt)||r(e.content,nt)||r(e.tooltip,nt)||i.css(nt),a[1]=r(i,o,"color")||r(n,o,"color")||r(e.content,o,"color")||r(e.tooltip,o,"color")||e.tooltip.css(o),s("*",i).add(i).css("cssText",nt+":transparent !important;border:0 !important;"),a},_calculateSize:function(t){var e,i,s,o=t.precedance===k,n=this.options.width,r=this.options.height,a="c"===t.abbrev(),h=(o?n:r)*(a?.5:1),l=Math.pow,c=Math.round,d=Math.sqrt(l(h,2)+l(r,2)),p=[this.border/h*d,this.border/r*d];return p[2]=Math.sqrt(l(p[0],2)-l(this.border,2)),p[3]=Math.sqrt(l(p[1],2)-l(this.border,2)),e=d+p[2]+p[3]+(a?0:p[0]),i=e/d,s=[c(i*n),c(i*r)],o?s:s.reverse()},_calculateTip:function(t,e,i){i=i||1;var s=(e=e||this.size)[0]*i,o=e[1]*i,n=Math.ceil(s/2),r=Math.ceil(o/2),a={br:[0,0,s,o,s,0],bl:[0,0,s,0,0,o],tr:[0,o,s,0,s,o],tl:[0,0,0,o,s,o],tc:[0,o,n,0,s,o],bc:[0,0,s,0,n,o],rc:[0,0,s,r,0,o],lc:[s,0,s,o,0,r]};return a.lt=a.br,a.rt=a.bl,a.lb=a.tr,a.rb=a.tl,a[t.abbrev()]},_drawCoords:function(t,e){t.beginPath(),t.moveTo(e[0],e[1]),t.lineTo(e[2],e[3]),t.lineTo(e[4],e[5]),t.closePath()},create:function(){var t=this.corner=(rt||K)&&this._parseCorner(this.options.corner);return(this.enabled=!!this.corner&&"c"!==this.corner.abbrev())&&(this.qtip.cache.corner=t.clone(),this.update()),this.element.toggle(this.enabled),this.corner},update:function(e,i){if(!this.enabled)return this;var o,n,r,a,h,l,c,d,p=this.qtip.elements,u=this.element,f=u.children(),g=this.options,m=this.size,v=g.mimic,y=Math.round;e||(e=this.qtip.cache.corner||this.corner),v===M?v=e:((v=new q(v)).precedance=e.precedance,"inherit"===v.x?v.x=e.x:"inherit"===v.y?v.y=e.y:v.x===v.y&&(v[e.precedance]=e[e.precedance])),n=v.precedance,e.precedance===I?this._swapDimensions():this._resetDimensions(),"transparent"!==(o=this.color=this._parseColours(e))[1]?(d=this.border=this._parseWidth(e,e[e.precedance]),g.border&&d<1&&!at.test(o[1])&&(o[0]=o[1]),this.border=d=g.border!==z?g.border:d):this.border=d=0,c=this.size=this._calculateSize(e),u.css({width:c[0],height:c[1],lineHeight:c[1]+"px"}),l=e.precedance===k?[y("left"===v.x?d:v.x===L?c[0]-m[0]-d:(c[0]-m[0])/2),y("top"===v.y?c[1]-m[1]:0)]:[y("left"===v.x?c[0]-m[0]:0),y("top"===v.y?d:v.y===A?c[1]-m[1]-d:(c[1]-m[1])/2)],rt?((r=f[0].getContext("2d")).restore(),r.save(),r.clearRect(0,0,6e3,6e3),a=this._calculateTip(v,m,ct),h=this._calculateTip(v,this.size,ct),f.attr(E,c[0]*ct).attr("height",c[1]*ct),f.css(E,c[0]).css("height",c[1]),this._drawCoords(r,h),r.fillStyle=o[1],r.fill(),r.translate(l[0]*ct,l[1]*ct),this._drawCoords(r,a),r.fillStyle=o[0],r.fill()):(a="m"+(a=this._calculateTip(v))[0]+","+a[1]+" l"+a[2]+","+a[3]+" "+a[4]+","+a[5]+" xe",l[2]=d&&/^(r|b)/i.test(e.string())?8===K?2:1:0,f.css({coordsize:c[0]+d+" "+(c[1]+d),antialias:""+(v.string().indexOf(P)>-1),left:l[0]-l[2]*Number(n===I),top:l[1]-l[2]*Number(n===k),width:c[0]+d,height:c[1]+d}).each(function(t){var e=s(this);e[e.prop?"prop":"attr"]({coordsize:c[0]+d+" "+(c[1]+d),path:a,fillcolor:o[0],filled:!!t,stroked:!t}).toggle(!(!d&&!t)),!t&&e.html(dt("stroke",'weight="'+2*d+'px" color="'+o[1]+'" miterlimit="1000" joinstyle="miter"'))})),t.opera&&setTimeout(function(){p.tip.css({display:"inline-block",visibility:"visible"})},1),i!==M&&this.calculate(e,c)},calculate:function(t,e){if(!this.enabled)return M;var i,o,n=this,r=this.qtip.elements,a=this.element,h=this.options.offset,l=(r.tooltip.hasClass("ui-widget"),{});return t=t||this.corner,i=t.precedance,e=e||this._calculateSize(t),o=[t.x,t.y],i===I&&o.reverse(),s.each(o,function(s,o){var a,c,d;o===P?(l[a=i===k?"left":"top"]="50%",l[ot+"-"+a]=-Math.round(e[i===k?0:1]/2)+h):(a=n._parseWidth(t,o,r.tooltip),c=n._parseWidth(t,o,r.content),d=n._parseRadius(t),l[o]=Math.max(-n.border,s?c:h+(d>a?d:-a)))}),l[t[i]]-=e[i===I?0:1],a.css({margin:"",top:"",bottom:"",left:"",right:""}).css(l),l},reposition:function(t,e,s,o){function n(t,e,i,s,o){t===B&&c.precedance===e&&d[s]&&c[i]!==P?c.precedance=c.precedance===I?k:I:t!==B&&d[s]&&(c[e]=c[e]===P?d[s]>0?s:o:c[e]===s?o:s)}function r(t,e,o){c[t]===P?m[ot+"-"+e]=g[t]=a[ot+"-"+e]-d[e]:(h=a[o]!==i?[d[e],-a[e]]:[-d[e],a[e]],(g[t]=Math.max(h[0],h[1]))>h[0]&&(s[e]-=d[e],g[e]=M),m[a[o]!==i?o:e]=g[t])}if(this.enabled){var a,h,l=e.cache,c=this.corner.clone(),d=s.adjusted,p=e.options.position.adjust.method.split(" "),u=p[0],f=p[1]||p[0],g={left:M,top:M,x:0,y:0},m={};this.corner.fixed!==z&&(n(u,I,k,"left",L),n(f,k,I,"top",A),c.string()===l.corner.string()&&l.cornerTop===d.top&&l.cornerLeft===d.left||this.update(c,M)),(a=this.calculate(c)).right!==i&&(a.left=-a.right),a.bottom!==i&&(a.top=-a.bottom),a.user=this.offset,(g.left=u===B&&!!d.left)&&r(I,"left",L),(g.top=f===B&&!!d.top)&&r(k,"top",A),this.element.css(m).toggle(!(g.x&&g.y||c.x===P&&g.y||c.y===P&&g.x)),s.left-=a.left.charAt?a.user:u!==B||g.top||!g.left&&!g.top?a.left+this.border:0,s.top-=a.top.charAt?a.user:f!==B||g.left||!g.left&&!g.top?a.top+this.border:0,l.cornerLeft=d.left,l.cornerTop=d.top,l.corner=c.clone()}},destroy:function(){this.qtip._unbind(this.qtip.tooltip,this._ns),this.qtip.elements.tip&&this.qtip.elements.tip.find("*").remove().end().remove()}}),(st=F.tip=function(t){return new b(t,t.options.style.tip)}).initialize="render",st.sanitize=function(t){if(t.style&&"tip"in t.style){var e=t.style.tip;"object"!=typeof e&&(e=t.style.tip={corner:e}),/string|boolean/i.test(typeof e.corner)||(e.corner=z)}},T.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){this.create(),this.qtip.reposition()},"^style.tip.(height|width)$":function(t){this.size=[t.width,t.height],this.update(),this.qtip.reposition()},"^content.title|style.(classes|widget)$":function(){this.update()}},s.extend(z,_.defaults,{style:{tip:{corner:z,mimic:M,width:6,height:6,border:z,offset:0}}});var pt,ut,ft="qtip-modal",gt="."+ft;ut=new(ut=function(){function t(t){h.length<1&&t.length?t.not("body").blur():h.first().focus()}function i(e){if(r.is(":visible")){var i=s(e.target),n=o.tooltip,a=i.closest(O);(a.length<1?M:parseInt(a[0].style.zIndex,10)>parseInt(n[0].style.zIndex,10))||i.closest(O)[0]===n[0]||t(i),e.target===h[h.length-1]}}var o,n,r,a=this,h={};s.extend(a,{init:function(){return r=a.elem=s("<div />",{id:"qtip-overlay",html:"<div></div>",mousedown:function(){return M}}).hide(),s(e.body).bind("focusin"+gt,i),s(e).bind("keydown"+gt,function(t){o&&o.options.show.modal.escape&&27===t.keyCode&&o.hide(t)}),r.bind("click"+gt,function(t){o&&o.options.show.modal.blur&&o.hide(t)}),a},update:function(t){o=t,h=t.options.show.modal.stealfocus!==M?t.tooltip.find("*").filter(function(){return function(t){if(s.expr[":"].focusable)return s.expr[":"].focusable;var e,i,o,n=!isNaN(s.attr(t,"tabindex")),r=t.nodeName&&t.nodeName.toLowerCase();return"area"===r?(e=t.parentNode,i=e.name,!(!t.href||!i||"map"!==e.nodeName.toLowerCase())&&!!(o=s("img[usemap=#"+i+"]")[0])&&o.is(":visible")):/input|select|textarea|button|object/.test(r)?!t.disabled:"a"===r?t.href||n:n}(this)}):[]},toggle:function(i,h,l){s(e.body);var c=i.tooltip,d=i.options.show.modal,p=d.effect,u=h?"show":"hide",f=r.is(":visible"),g=s(gt).filter(":visible:not(:animated)").not(c);return a.update(i),h&&d.stealfocus!==M&&t(s(":focus")),r.toggleClass("blurs",d.blur),h&&r.appendTo(e.body),r.is(":animated")&&f===h&&n!==M||!h&&g.length?a:(r.stop(z,M),s.isFunction(p)?p.call(r,h):p===M?r[u]():r.fadeTo(parseInt(l,10)||90,h?1:0,function(){h||r.hide()}),h||r.queue(function(t){r.css({left:"",top:""}),s(gt).length||r.detach(),t()}),n=h,o.destroyed&&(o=W),a)}}),a.init()}),s.extend(w.prototype,{init:function(t){var e=t.tooltip;if(!this.options.on)return this;t.elements.overlay=ut.elem,e.addClass(ft).css("z-index",_.modal_zindex+s(gt).length),t._bind(e,["tooltipshow","tooltiphide"],function(t,i,o){var n=t.originalEvent;if(t.target===e[0])if(n&&"tooltiphide"===t.type&&/mouse(leave|enter)/.test(n.type)&&s(n.relatedTarget).closest(ut.elem[0]).length)try{t.preventDefault()}catch(r){}else(!n||n&&"tooltipsolo"!==n.type)&&this.toggle(t,"tooltipshow"===t.type,o)},this._ns,this),t._bind(e,"tooltipfocus",function(t,i){if(!t.isDefaultPrevented()&&t.target===e[0]){var o=s(gt),n=_.modal_zindex+o.length,r=parseInt(e[0].style.zIndex,10);ut.elem[0].style.zIndex=n-1,o.each(function(){this.style.zIndex>r&&(this.style.zIndex-=1)}),o.filter("."+Y).qtip("blur",t.originalEvent),e.addClass(Y)[0].style.zIndex=n,ut.update(i);try{t.preventDefault()}catch(a){}}},this._ns,this),t._bind(e,"tooltiphide",function(t){t.target===e[0]&&s(gt).filter(":visible").not(e).last().qtip("focus",t)},this._ns,this)},toggle:function(t,e,i){if(t&&t.isDefaultPrevented())return this;ut.toggle(this.qtip,!!e,i)},destroy:function(){this.qtip.tooltip.removeClass(ft),this.qtip._unbind(this.qtip.tooltip,this._ns),ut.toggle(this.qtip,M),delete this.qtip.elements.overlay}}),(pt=F.modal=function(t){return new w(t,t.options.show.modal)}).sanitize=function(t){t.show&&("object"!=typeof t.show.modal?t.show.modal={on:!!t.show.modal}:"undefined"==typeof t.show.modal.on&&(t.show.modal.on=z))},_.modal_zindex=_.zindex-200,pt.initialize="render",T.modal={"^show.modal.(on|blur)$":function(){this.destroy(),this.init(),this.qtip.elems.overlay.toggle(this.qtip.tooltip[0].offsetWidth>0)}},s.extend(z,_.defaults,{show:{modal:{on:M,effect:z,blur:z,stealfocus:z,escape:z}}}),F.viewport=function(i,s,o,n,r,a,h){function l(t,e,i,o,n,r,a,h,l){var c=s[n],y=w[t],b=x[t],_=i===B,C=y===n?l:y===r?-l:-l/2,q=b===n?h:b===r?-h:-h/2,T=m[n]+v[n]-(u?0:p[n]),j=T-c,z=c+l-(a===E?f:g)-T,M=C-(w.precedance===t||y===w[e]?q:0)-(b===P?h/2:0);return _?(M=(y===n?1:-1)*C,s[n]+=j>0?j:z>0?-z:0,s[n]=Math.max(-p[n]+v[n],c-M,Math.min(Math.max(-p[n]+v[n]+(a===E?f:g),c+M),s[n],"center"===y?c-C:1e9))):(o*=i===D?2:0,j>0&&(y!==n||z>0)?(s[n]-=M+o,d.invert(t,n)):z>0&&(y!==r||j>0)&&(s[n]-=(y===P?-M:M)+o,d.invert(t,r)),s[n]<m&&-s[n]>z&&(s[n]=c,d=w.clone())),s[n]-c}var c,d,p,u,f,g,m,v,y=o.target,b=i.elements.tooltip,w=o.my,x=o.at,_=o.adjust,C=_.method.split(" "),q=C[0],T=C[1]||C[0],j=o.viewport,z=o.container,W=(i.cache,{left:0,top:0});return j.jquery&&y[0]!==t&&y[0]!==e.body&&"none"!==_.method?(p=z.offset()||W,u="static"===z.css("position"),c="fixed"===b.css("position"),f=j[0]===t?j.width():j.outerWidth(M),g=j[0]===t?j.height():j.outerHeight(M),m={left:c?0:j.scrollLeft(),top:c?0:j.scrollTop()},v=j.offset()||W,"shift"===q&&"shift"===T||(d=w.clone()),W={left:"none"!==q?l(I,k,q,_.x,"left",L,E,n,a):0,top:"none"!==T?l(k,I,T,_.y,"top",A,"height",r,h):0,my:d}):W},F.polys={polygon:function(t,e){var i,s,o,n={width:0,height:0,position:{top:1e10,right:0,bottom:0,left:1e10},adjustable:M},r=0,a=[],h=1,l=1,c=0,d=0;for(r=t.length;r--;)(i=[parseInt(t[--r],10),parseInt(t[r+1],10)])[0]>n.position.right&&(n.position.right=i[0]),i[0]<n.position.left&&(n.position.left=i[0]),i[1]>n.position.bottom&&(n.position.bottom=i[1]),i[1]<n.position.top&&(n.position.top=i[1]),a.push(i);if(s=n.width=Math.abs(n.position.right-n.position.left),o=n.height=Math.abs(n.position.bottom-n.position.top),"c"===e.abbrev())n.position={left:n.position.left+n.width/2,top:n.position.top+n.height/2};else{for(;s>0&&o>0&&h>0&&l>0;)for(s=Math.floor(s/2),o=Math.floor(o/2),"left"===e.x?h=s:e.x===L?h=n.width-s:h+=Math.floor(s/2),"top"===e.y?l=o:e.y===A?l=n.height-o:l+=Math.floor(o/2),r=a.length;r--&&!(a.length<2);)c=a[r][0]-n.position.left,d=a[r][1]-n.position.top,("left"===e.x&&c>=h||e.x===L&&c<=h||e.x===P&&(c<h||c>n.width-h)||"top"===e.y&&d>=l||e.y===A&&d<=l||e.y===P&&(d<l||d>n.height-l))&&a.splice(r,1);n.position={left:a[0][0],top:a[0][1]}}return n},rect:function(t,e,i,s){return{width:Math.abs(i-t),height:Math.abs(s-e),position:{left:Math.min(t,i),top:Math.min(e,s)}}},_angles:{tc:1.5,tr:7/4,tl:5/4,bc:.5,br:.25,bl:.75,rc:2,lc:1,c:0},ellipse:function(t,e,i,s,o){var n=F.polys._angles[o.abbrev()],r=0===n?0:i*Math.cos(n*Math.PI),a=s*Math.sin(n*Math.PI);return{width:2*i-Math.abs(r),height:2*s-Math.abs(a),position:{left:t+r,top:e+a},adjustable:M}},circle:function(t,e,i,s){return F.polys.ellipse(t,e,i,i,s)}},F.svg=function(t,i,o){s(e);for(var n,r,a,h,l,c,d,p,u,f=i[0],g=s(f.ownerSVGElement),m=f.ownerDocument,v=(parseInt(i.css("stroke-width"),10)||0)/2;!f.getBBox;)f=f.parentNode;if(!f.getBBox||!f.parentNode)return M;switch(f.nodeName){case"ellipse":case"circle":p=F.polys.ellipse(f.cx.baseVal.value,f.cy.baseVal.value,(f.rx||f.r).baseVal.value+v,(f.ry||f.r).baseVal.value+v,o);break;case"line":case"polygon":case"polyline":for(p=[],c=-1,h=(d=f.points||[{x:f.x1.baseVal.value,y:f.y1.baseVal.value},{x:f.x2.baseVal.value,y:f.y2.baseVal.value}]).numberOfItems||d.length;++c<h;)l=d.getItem?d.getItem(c):d[c],p.push.apply(p,[l.x,l.y]);p=F.polys.polygon(p,o);break;default:p={width:(p=f.getBBox()).width,height:p.height,position:{left:p.x,top:p.y}}}return u=p.position,(g=g[0]).createSVGPoint&&(r=f.getScreenCTM(),(d=g.createSVGPoint()).x=u.left,d.y=u.top,a=d.matrixTransform(r),u.left=a.x,u.top=a.y),m!==e&&"mouse"!==t.position.target&&(n=s((m.defaultView||m.parentWindow).frameElement).offset())&&(u.left+=n.left,u.top+=n.top),m=s(m),u.left+=m.scrollLeft(),u.top+=m.scrollTop(),p},F.imagemap=function(t,e,i,o){e.jquery||(e=s(e));var n,r,a,h,l,c=(e.attr("shape")||"rect").toLowerCase().replace("poly","polygon"),d=s('img[usemap="#'+e.parent("map").attr("name")+'"]'),p=s.trim(e.attr("coords")).replace(/,$/,"").split(",");if(!d.length)return M;if("polygon"===c)h=F.polys.polygon(p,i);else{if(!F.polys[c])return M;for(a=-1,l=p.length,r=[];++a<l;)r.push(parseInt(p[a],10));h=F.polys[c].apply(this,r.concat(i))}return n=d.offset(),n.left+=Math.ceil((d.outerWidth(M)-d.width())/2),n.top+=Math.ceil((d.outerHeight(M)-d.height())/2),h.position.left+=n.left,h.position.top+=n.top,h};s.extend(x.prototype,{_scroll:function(){var e=this.qtip.elements.overlay;e&&(e[0].style.top=s(t).scrollTop()+"px")},init:function(i){var o=i.tooltip;s("select, object").length<1&&(this.bgiframe=i.elements.bgiframe=s('<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:\'\';" style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=0); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";"></iframe>').appendTo(o),i._bind(o,"tooltipmove",this.adjustBGIFrame,this._ns,this)),this.redrawContainer=s("<div/>",{id:N+"-rcontainer"}).appendTo(e.body),i.elements.overlay&&i.elements.overlay.addClass("qtipmodal-ie6fix")&&(i._bind(t,["scroll","resize"],this._scroll,this._ns,this),i._bind(o,["tooltipshow"],this._scroll,this._ns,this)),this.redraw()},adjustBGIFrame:function(){var t,e,i=this.qtip.tooltip,s={height:i.outerHeight(M),width:i.outerWidth(M)},o=this.qtip.plugins.tip,n=this.qtip.elements.tip;e={left:-(e=parseInt(i.css("borderLeftWidth"),10)||0),top:-e},o&&n&&(e[(t="x"===o.corner.precedance?[E,"left"]:["height","top"])[1]]-=n[t[0]]()),this.bgiframe.css(e).css(s)},redraw:function(){if(this.qtip.rendered<1||this.drawing)return this;var t,e,i,s,o=this.qtip.tooltip,n=this.qtip.options.style,r=this.qtip.options.position.container;return this.qtip.drawing=1,n.height&&o.css("height",n.height),n.width?o.css(E,n.width):(o.css(E,"").appendTo(this.redrawContainer),(e=o.width())%2<1&&(e+=1),t=((i=o.css("maxWidth")||"")+(s=o.css("minWidth")||"")).indexOf("%")>-1?r.width()/100:0,e=(i=(i.indexOf("%")>-1?t:1)*parseInt(i,10)||e)+(s=(s.indexOf("%")>-1?t:1)*parseInt(s,10)||0)?Math.min(Math.max(e,s),i):e,o.css(E,Math.round(e)).appendTo(r)),this.drawing=0,this},destroy:function(){this.bgiframe&&this.bgiframe.remove(),this.qtip._unbind([t,this.qtip.tooltip],this._ns)}}),(F.ie6=function(t){return 6===K?new x(t):M}).initialize="render",T.ie6={"^content|style$":function(){this.redraw()}}})}(window,document); /*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */ (function(s,H,f,w){var K=f("html"),q=f(s),p=f(H),b=f.fancybox=function(){b.open.apply(this,arguments)},J=navigator.userAgent.match(/msie/i),C=null,t=H.createTouch!==w,u=function(a){return a&&a.hasOwnProperty&&a instanceof f},r=function(a){return a&&"string"===f.type(a)},F=function(a){return r(a)&&0<a.indexOf("%")},m=function(a,d){var e=parseInt(a,10)||0;d&&F(a)&&(e*=b.getViewport()[d]/100);return Math.ceil(e)},x=function(a,b){return m(a,b)+"px"};f.extend(b,{version:"2.1.5",defaults:{padding:15,margin:20, width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!t,fitToView:!0,aspectRatio:!1,topRatio:0.5,leftRatio:0.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3E3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"}, keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+ (J?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0, openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeChange:f.noop,beforeClose:f.noop,afterClose:f.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1, isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,d){if(a&&(f.isPlainObject(d)||(d={}),!1!==b.close(!0)))return f.isArray(a)||(a=u(a)?f(a).get():[a]),f.each(a,function(e,c){var l={},g,h,k,n,m;"object"===f.type(c)&&(c.nodeType&&(c=f(c)),u(c)?(l={href:c.data("fancybox-href")||c.attr("href"),title:f("<div/>").text(c.data("fancybox-title")||c.attr("title")).html(),isDom:!0,element:c}, f.metadata&&f.extend(!0,l,c.metadata())):l=c);g=d.href||l.href||(r(c)?c:null);h=d.title!==w?d.title:l.title||"";n=(k=d.content||l.content)?"html":d.type||l.type;!n&&l.isDom&&(n=c.data("fancybox-type"),n||(n=(n=c.prop("class").match(/fancybox\.(\w+)/))?n[1]:null));r(g)&&(n||(b.isImage(g)?n="image":b.isSWF(g)?n="swf":"#"===g.charAt(0)?n="inline":r(c)&&(n="html",k=c)),"ajax"===n&&(m=g.split(/\s+/,2),g=m.shift(),m=m.shift()));k||("inline"===n?g?k=f(r(g)?g.replace(/.*(?=#[^\s]+$)/,""):g):l.isDom&&(k=c): "html"===n?k=g:n||g||!l.isDom||(n="inline",k=c));f.extend(l,{href:g,type:n,content:k,title:h,selector:m});a[e]=l}),b.opts=f.extend(!0,{},b.defaults,d),d.keys!==w&&(b.opts.keys=d.keys?f.extend({},b.defaults.keys,d.keys):!1),b.group=a,b._start(b.opts.index)},cancel:function(){var a=b.coming;a&&!1===b.trigger("onCancel")||(b.hideLoading(),a&&(b.ajaxLoad&&b.ajaxLoad.abort(),b.ajaxLoad=null,b.imgPreload&&(b.imgPreload.onload=b.imgPreload.onerror=null),a.wrap&&a.wrap.stop(!0,!0).trigger("onReset").remove(), b.coming=null,b.current||b._afterZoomOut(a)))},close:function(a){b.cancel();!1!==b.trigger("beforeClose")&&(b.unbindEvents(),b.isActive&&(b.isOpen&&!0!==a?(b.isOpen=b.isOpened=!1,b.isClosing=!0,f(".fancybox-item, .fancybox-nav").remove(),b.wrap.stop(!0,!0).removeClass("fancybox-opened"),b.transitions[b.current.closeMethod]()):(f(".fancybox-wrap").stop(!0).trigger("onReset").remove(),b._afterZoomOut())))},play:function(a){var d=function(){clearTimeout(b.player.timer)},e=function(){d();b.current&&b.player.isActive&& (b.player.timer=setTimeout(b.next,b.current.playSpeed))},c=function(){d();p.unbind(".player");b.player.isActive=!1;b.trigger("onPlayEnd")};!0===a||!b.player.isActive&&!1!==a?b.current&&(b.current.loop||b.current.index<b.group.length-1)&&(b.player.isActive=!0,p.bind({"onCancel.player beforeClose.player":c,"onUpdate.player":e,"beforeLoad.player":d}),e(),b.trigger("onPlayStart")):c()},next:function(a){var d=b.current;d&&(r(a)||(a=d.direction.next),b.jumpto(d.index+1,a,"next"))},prev:function(a){var d= b.current;d&&(r(a)||(a=d.direction.prev),b.jumpto(d.index-1,a,"prev"))},jumpto:function(a,d,e){var c=b.current;c&&(a=m(a),b.direction=d||c.direction[a>=c.index?"next":"prev"],b.router=e||"jumpto",c.loop&&(0>a&&(a=c.group.length+a%c.group.length),a%=c.group.length),c.group[a]!==w&&(b.cancel(),b._start(a)))},reposition:function(a,d){var e=b.current,c=e?e.wrap:null,l;c&&(l=b._getPosition(d),a&&"scroll"===a.type?(delete l.position,c.stop(!0,!0).animate(l,200)):(c.css(l),e.pos=f.extend({},e.dim,l)))}, update:function(a){var d=a&&a.originalEvent&&a.originalEvent.type,e=!d||"orientationchange"===d;e&&(clearTimeout(C),C=null);b.isOpen&&!C&&(C=setTimeout(function(){var c=b.current;c&&!b.isClosing&&(b.wrap.removeClass("fancybox-tmp"),(e||"load"===d||"resize"===d&&c.autoResize)&&b._setDimension(),"scroll"===d&&c.canShrink||b.reposition(a),b.trigger("onUpdate"),C=null)},e&&!t?0:300))},toggle:function(a){b.isOpen&&(b.current.fitToView="boolean"===f.type(a)?a:!b.current.fitToView,t&&(b.wrap.removeAttr("style").addClass("fancybox-tmp"), b.trigger("onUpdate")),b.update())},hideLoading:function(){p.unbind(".loading");f("#fancybox-loading").remove()},showLoading:function(){var a,d;b.hideLoading();a=f('<div id="fancybox-loading"><div></div></div>').click(b.cancel).appendTo("body");p.bind("keydown.loading",function(a){27===(a.which||a.keyCode)&&(a.preventDefault(),b.cancel())});b.defaults.fixed||(d=b.getViewport(),a.css({position:"absolute",top:0.5*d.h+d.y,left:0.5*d.w+d.x}));b.trigger("onLoading")},getViewport:function(){var a=b.current&& b.current.locked||!1,d={x:q.scrollLeft(),y:q.scrollTop()};a&&a.length?(d.w=a[0].clientWidth,d.h=a[0].clientHeight):(d.w=t&&s.innerWidth?s.innerWidth:q.width(),d.h=t&&s.innerHeight?s.innerHeight:q.height());return d},unbindEvents:function(){b.wrap&&u(b.wrap)&&b.wrap.unbind(".fb");p.unbind(".fb");q.unbind(".fb")},bindEvents:function(){var a=b.current,d;a&&(q.bind("orientationchange.fb"+(t?"":" resize.fb")+(a.autoCenter&&!a.locked?" scroll.fb":""),b.update),(d=a.keys)&&p.bind("keydown.fb",function(e){var c= e.which||e.keyCode,l=e.target||e.srcElement;if(27===c&&b.coming)return!1;e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||l&&(l.type||f(l).is("[contenteditable]"))||f.each(d,function(d,l){if(1<a.group.length&&l[c]!==w)return b[d](l[c]),e.preventDefault(),!1;if(-1<f.inArray(c,l))return b[d](),e.preventDefault(),!1})}),f.fn.mousewheel&&a.mouseWheel&&b.wrap.bind("mousewheel.fb",function(d,c,l,g){for(var h=f(d.target||null),k=!1;h.length&&!(k||h.is(".fancybox-skin")||h.is(".fancybox-wrap"));)k=h[0]&&!(h[0].style.overflow&& "hidden"===h[0].style.overflow)&&(h[0].clientWidth&&h[0].scrollWidth>h[0].clientWidth||h[0].clientHeight&&h[0].scrollHeight>h[0].clientHeight),h=f(h).parent();0!==c&&!k&&1<b.group.length&&!a.canShrink&&(0<g||0<l?b.prev(0<g?"down":"left"):(0>g||0>l)&&b.next(0>g?"up":"right"),d.preventDefault())}))},trigger:function(a,d){var e,c=d||b.coming||b.current;if(c){f.isFunction(c[a])&&(e=c[a].apply(c,Array.prototype.slice.call(arguments,1)));if(!1===e)return!1;c.helpers&&f.each(c.helpers,function(d,e){if(e&& b.helpers[d]&&f.isFunction(b.helpers[d][a]))b.helpers[d][a](f.extend(!0,{},b.helpers[d].defaults,e),c)})}p.trigger(a)},isImage:function(a){return r(a)&&a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(a){return r(a)&&a.match(/\.(swf)((\?|#).*)?$/i)},_start:function(a){var d={},e,c;a=m(a);e=b.group[a]||null;if(!e)return!1;d=f.extend(!0,{},b.opts,e);e=d.margin;c=d.padding;"number"===f.type(e)&&(d.margin=[e,e,e,e]);"number"===f.type(c)&&(d.padding=[c,c, c,c]);d.modal&&f.extend(!0,d,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}});d.autoSize&&(d.autoWidth=d.autoHeight=!0);"auto"===d.width&&(d.autoWidth=!0);"auto"===d.height&&(d.autoHeight=!0);d.group=b.group;d.index=a;b.coming=d;if(!1===b.trigger("beforeLoad"))b.coming=null;else{c=d.type;e=d.href;if(!c)return b.coming=null,b.current&&b.router&&"jumpto"!==b.router?(b.current.index=a,b[b.router](b.direction)):!1;b.isActive=!0;if("image"=== c||"swf"===c)d.autoHeight=d.autoWidth=!1,d.scrolling="visible";"image"===c&&(d.aspectRatio=!0);"iframe"===c&&t&&(d.scrolling="scroll");d.wrap=f(d.tpl.wrap).addClass("fancybox-"+(t?"mobile":"desktop")+" fancybox-type-"+c+" fancybox-tmp "+d.wrapCSS).appendTo(d.parent||"body");f.extend(d,{skin:f(".fancybox-skin",d.wrap),outer:f(".fancybox-outer",d.wrap),inner:f(".fancybox-inner",d.wrap)});f.each(["Top","Right","Bottom","Left"],function(a,b){d.skin.css("padding"+b,x(d.padding[a]))});b.trigger("onReady"); if("inline"===c||"html"===c){if(!d.content||!d.content.length)return b._error("content")}else if(!e)return b._error("href");"image"===c?b._loadImage():"ajax"===c?b._loadAjax():"iframe"===c?b._loadIframe():b._afterLoad()}},_error:function(a){f.extend(b.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:a,content:b.coming.tpl.error});b._afterLoad()},_loadImage:function(){var a=b.imgPreload=new Image;a.onload=function(){this.onload=this.onerror=null;b.coming.width= this.width/b.opts.pixelRatio;b.coming.height=this.height/b.opts.pixelRatio;b._afterLoad()};a.onerror=function(){this.onload=this.onerror=null;b._error("image")};a.src=b.coming.href;!0!==a.complete&&b.showLoading()},_loadAjax:function(){var a=b.coming;b.showLoading();b.ajaxLoad=f.ajax(f.extend({},a.ajax,{url:a.href,error:function(a,e){b.coming&&"abort"!==e?b._error("ajax",a):b.hideLoading()},success:function(d,e){"success"===e&&(a.content=d,b._afterLoad())}}))},_loadIframe:function(){var a=b.coming, d=f(a.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",t?"auto":a.iframe.scrolling).attr("src",a.href);f(a.wrap).bind("onReset",function(){try{f(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(a){}});a.iframe.preload&&(b.showLoading(),d.one("load",function(){f(this).data("ready",1);t||f(this).bind("load.fb",b.update);f(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show();b._afterLoad()}));a.content=d.appendTo(a.inner);a.iframe.preload|| b._afterLoad()},_preloadImages:function(){var a=b.group,d=b.current,e=a.length,c=d.preload?Math.min(d.preload,e-1):0,f,g;for(g=1;g<=c;g+=1)f=a[(d.index+g)%e],"image"===f.type&&f.href&&((new Image).src=f.href)},_afterLoad:function(){var a=b.coming,d=b.current,e,c,l,g,h;b.hideLoading();if(a&&!1!==b.isActive)if(!1===b.trigger("afterLoad",a,d))a.wrap.stop(!0).trigger("onReset").remove(),b.coming=null;else{d&&(b.trigger("beforeChange",d),d.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()); b.unbindEvents();e=a.content;c=a.type;l=a.scrolling;f.extend(b,{wrap:a.wrap,skin:a.skin,outer:a.outer,inner:a.inner,current:a,previous:d});g=a.href;switch(c){case "inline":case "ajax":case "html":a.selector?e=f("<div>").html(e).find(a.selector):u(e)&&(e.data("fancybox-placeholder")||e.data("fancybox-placeholder",f('<div class="fancybox-placeholder"></div>').insertAfter(e).hide()),e=e.show().detach(),a.wrap.bind("onReset",function(){f(this).find(e).length&&e.hide().replaceAll(e.data("fancybox-placeholder")).data("fancybox-placeholder", !1)}));break;case "image":e=a.tpl.image.replace(/\{href\}/g,g);break;case "swf":e='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+g+'"></param>',h="",f.each(a.swf,function(a,b){e+='<param name="'+a+'" value="'+b+'"></param>';h+=" "+a+'="'+b+'"'}),e+='<embed src="'+g+'" type="application/x-shockwave-flash" width="100%" height="100%"'+h+"></embed></object>"}u(e)&&e.parent().is(a.inner)||a.inner.append(e);b.trigger("beforeShow"); a.inner.css("overflow","yes"===l?"scroll":"no"===l?"hidden":l);b._setDimension();b.reposition();b.isOpen=!1;b.coming=null;b.bindEvents();if(!b.isOpened)f(".fancybox-wrap").not(a.wrap).stop(!0).trigger("onReset").remove();else if(d.prevMethod)b.transitions[d.prevMethod]();b.transitions[b.isOpened?a.nextMethod:a.openMethod]();b._preloadImages()}},_setDimension:function(){var a=b.getViewport(),d=0,e=!1,c=!1,e=b.wrap,l=b.skin,g=b.inner,h=b.current,c=h.width,k=h.height,n=h.minWidth,v=h.minHeight,p=h.maxWidth, q=h.maxHeight,t=h.scrolling,r=h.scrollOutside?h.scrollbarWidth:0,y=h.margin,z=m(y[1]+y[3]),s=m(y[0]+y[2]),w,A,u,D,B,G,C,E,I;e.add(l).add(g).width("auto").height("auto").removeClass("fancybox-tmp");y=m(l.outerWidth(!0)-l.width());w=m(l.outerHeight(!0)-l.height());A=z+y;u=s+w;D=F(c)?(a.w-A)*m(c)/100:c;B=F(k)?(a.h-u)*m(k)/100:k;if("iframe"===h.type){if(I=h.content,h.autoHeight&&1===I.data("ready"))try{I[0].contentWindow.document.location&&(g.width(D).height(9999),G=I.contents().find("body"),r&&G.css("overflow-x", "hidden"),B=G.outerHeight(!0))}catch(H){}}else if(h.autoWidth||h.autoHeight)g.addClass("fancybox-tmp"),h.autoWidth||g.width(D),h.autoHeight||g.height(B),h.autoWidth&&(D=g.width()),h.autoHeight&&(B=g.height()),g.removeClass("fancybox-tmp");c=m(D);k=m(B);E=D/B;n=m(F(n)?m(n,"w")-A:n);p=m(F(p)?m(p,"w")-A:p);v=m(F(v)?m(v,"h")-u:v);q=m(F(q)?m(q,"h")-u:q);G=p;C=q;h.fitToView&&(p=Math.min(a.w-A,p),q=Math.min(a.h-u,q));A=a.w-z;s=a.h-s;h.aspectRatio?(c>p&&(c=p,k=m(c/E)),k>q&&(k=q,c=m(k*E)),c<n&&(c=n,k=m(c/ E)),k<v&&(k=v,c=m(k*E))):(c=Math.max(n,Math.min(c,p)),h.autoHeight&&"iframe"!==h.type&&(g.width(c),k=g.height()),k=Math.max(v,Math.min(k,q)));if(h.fitToView)if(g.width(c).height(k),e.width(c+y),a=e.width(),z=e.height(),h.aspectRatio)for(;(a>A||z>s)&&c>n&&k>v&&!(19<d++);)k=Math.max(v,Math.min(q,k-10)),c=m(k*E),c<n&&(c=n,k=m(c/E)),c>p&&(c=p,k=m(c/E)),g.width(c).height(k),e.width(c+y),a=e.width(),z=e.height();else c=Math.max(n,Math.min(c,c-(a-A))),k=Math.max(v,Math.min(k,k-(z-s)));r&&"auto"===t&&k<B&& c+y+r<A&&(c+=r);g.width(c).height(k);e.width(c+y);a=e.width();z=e.height();e=(a>A||z>s)&&c>n&&k>v;c=h.aspectRatio?c<G&&k<C&&c<D&&k<B:(c<G||k<C)&&(c<D||k<B);f.extend(h,{dim:{width:x(a),height:x(z)},origWidth:D,origHeight:B,canShrink:e,canExpand:c,wPadding:y,hPadding:w,wrapSpace:z-l.outerHeight(!0),skinSpace:l.height()-k});!I&&h.autoHeight&&k>v&&k<q&&!c&&g.height("auto")},_getPosition:function(a){var d=b.current,e=b.getViewport(),c=d.margin,f=b.wrap.width()+c[1]+c[3],g=b.wrap.height()+c[0]+c[2],c={position:"absolute", top:c[0],left:c[3]};d.autoCenter&&d.fixed&&!a&&g<=e.h&&f<=e.w?c.position="fixed":d.locked||(c.top+=e.y,c.left+=e.x);c.top=x(Math.max(c.top,c.top+(e.h-g)*d.topRatio));c.left=x(Math.max(c.left,c.left+(e.w-f)*d.leftRatio));return c},_afterZoomIn:function(){var a=b.current;a&&((b.isOpen=b.isOpened=!0,b.wrap.css("overflow","visible").addClass("fancybox-opened"),b.update(),(a.closeClick||a.nextClick&&1<b.group.length)&&b.inner.css("cursor","pointer").bind("click.fb",function(d){f(d.target).is("a")||f(d.target).parent().is("a")|| (d.preventDefault(),b[a.closeClick?"close":"next"]())}),a.closeBtn&&f(a.tpl.closeBtn).appendTo(b.skin).bind("click.fb",function(a){a.preventDefault();b.close()}),a.arrows&&1<b.group.length&&((a.loop||0<a.index)&&f(a.tpl.prev).appendTo(b.outer).bind("click.fb",b.prev),(a.loop||a.index<b.group.length-1)&&f(a.tpl.next).appendTo(b.outer).bind("click.fb",b.next)),b.trigger("afterShow"),a.loop||a.index!==a.group.length-1)?b.opts.autoPlay&&!b.player.isActive&&(b.opts.autoPlay=!1,b.play(!0)):b.play(!1))}, _afterZoomOut:function(a){a=a||b.current;f(".fancybox-wrap").trigger("onReset").remove();f.extend(b,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null});b.trigger("afterClose",a)}});b.transitions={getOrigPosition:function(){var a=b.current,d=a.element,e=a.orig,c={},f=50,g=50,h=a.hPadding,k=a.wPadding,n=b.getViewport();!e&&a.isDom&&d.is(":visible")&&(e=d.find("img:first"),e.length||(e=d));u(e)?(c=e.offset(),e.is("img")&& (f=e.outerWidth(),g=e.outerHeight())):(c.top=n.y+(n.h-g)*a.topRatio,c.left=n.x+(n.w-f)*a.leftRatio);if("fixed"===b.wrap.css("position")||a.locked)c.top-=n.y,c.left-=n.x;return c={top:x(c.top-h*a.topRatio),left:x(c.left-k*a.leftRatio),width:x(f+k),height:x(g+h)}},step:function(a,d){var e,c,f=d.prop;c=b.current;var g=c.wrapSpace,h=c.skinSpace;if("width"===f||"height"===f)e=d.end===d.start?1:(a-d.start)/(d.end-d.start),b.isClosing&&(e=1-e),c="width"===f?c.wPadding:c.hPadding,c=a-c,b.skin[f](m("width"=== f?c:c-g*e)),b.inner[f](m("width"===f?c:c-g*e-h*e))},zoomIn:function(){var a=b.current,d=a.pos,e=a.openEffect,c="elastic"===e,l=f.extend({opacity:1},d);delete l.position;c?(d=this.getOrigPosition(),a.openOpacity&&(d.opacity=0.1)):"fade"===e&&(d.opacity=0.1);b.wrap.css(d).animate(l,{duration:"none"===e?0:a.openSpeed,easing:a.openEasing,step:c?this.step:null,complete:b._afterZoomIn})},zoomOut:function(){var a=b.current,d=a.closeEffect,e="elastic"===d,c={opacity:0.1};e&&(c=this.getOrigPosition(),a.closeOpacity&& (c.opacity=0.1));b.wrap.animate(c,{duration:"none"===d?0:a.closeSpeed,easing:a.closeEasing,step:e?this.step:null,complete:b._afterZoomOut})},changeIn:function(){var a=b.current,d=a.nextEffect,e=a.pos,c={opacity:1},f=b.direction,g;e.opacity=0.1;"elastic"===d&&(g="down"===f||"up"===f?"top":"left","down"===f||"right"===f?(e[g]=x(m(e[g])-200),c[g]="+=200px"):(e[g]=x(m(e[g])+200),c[g]="-=200px"));"none"===d?b._afterZoomIn():b.wrap.css(e).animate(c,{duration:a.nextSpeed,easing:a.nextEasing,complete:b._afterZoomIn})}, changeOut:function(){var a=b.previous,d=a.prevEffect,e={opacity:0.1},c=b.direction;"elastic"===d&&(e["down"===c||"up"===c?"top":"left"]=("up"===c||"left"===c?"-":"+")+"=200px");a.wrap.animate(e,{duration:"none"===d?0:a.prevSpeed,easing:a.prevEasing,complete:function(){f(this).trigger("onReset").remove()}})}};b.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!t,fixed:!0},overlay:null,fixed:!1,el:f("html"),create:function(a){var d;a=f.extend({},this.defaults,a);this.overlay&& this.close();d=b.coming?b.coming.parent:a.parent;this.overlay=f('<div class="fancybox-overlay"></div>').appendTo(d&&d.lenth?d:"body");this.fixed=!1;a.fixed&&b.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(a){var d=this;a=f.extend({},this.defaults,a);this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(a);this.fixed||(q.bind("resize.overlay",f.proxy(this.update,this)),this.update());a.closeClick&&this.overlay.bind("click.overlay", function(a){if(f(a.target).hasClass("fancybox-overlay"))return b.isActive?b.close():d.close(),!1});this.overlay.css(a.css).show()},close:function(){q.unbind("resize.overlay");this.el.hasClass("fancybox-lock")&&(f(".fancybox-margin").removeClass("fancybox-margin"),this.el.removeClass("fancybox-lock"),q.scrollTop(this.scrollV).scrollLeft(this.scrollH));f(".fancybox-overlay").remove().hide();f.extend(this,{overlay:null,fixed:!1})},update:function(){var a="100%",b;this.overlay.width(a).height("100%"); J?(b=Math.max(H.documentElement.offsetWidth,H.body.offsetWidth),p.width()>b&&(a=p.width())):p.width()>q.width()&&(a=p.width());this.overlay.width(a).height(p.height())},onReady:function(a,b){var e=this.overlay;f(".fancybox-overlay").stop(!0,!0);e||this.create(a);a.locked&&this.fixed&&b.fixed&&(b.locked=this.overlay.append(b.wrap),b.fixed=!1);!0===a.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(a,b){b.locked&&!this.el.hasClass("fancybox-lock")&&(!1!==this.fixPosition&&f("*").filter(function(){return"fixed"=== f(this).css("position")&&!f(this).hasClass("fancybox-overlay")&&!f(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin"),this.scrollV=q.scrollTop(),this.scrollH=q.scrollLeft(),this.el.addClass("fancybox-lock"),q.scrollTop(this.scrollV).scrollLeft(this.scrollH));this.open(a)},onUpdate:function(){this.fixed||this.update()},afterClose:function(a){this.overlay&&!b.coming&&this.overlay.fadeOut(a.speedOut,f.proxy(this.close,this))}};b.helpers.title={defaults:{type:"float", position:"bottom"},beforeShow:function(a){var d=b.current,e=d.title,c=a.type;f.isFunction(e)&&(e=e.call(d.element,d));if(r(e)&&""!==f.trim(e)){d=f('<div class="fancybox-title fancybox-title-'+c+'-wrap">'+e+"</div>");switch(c){case "inside":c=b.skin;break;case "outside":c=b.wrap;break;case "over":c=b.inner;break;default:c=b.skin,d.appendTo("body"),J&&d.width(d.width()),d.wrapInner('<span class="child"></span>'),b.current.margin[2]+=Math.abs(m(d.css("margin-bottom")))}d["top"===a.position?"prependTo": "appendTo"](c)}}};f.fn.fancybox=function(a){var d,e=f(this),c=this.selector||"",l=function(g){var h=f(this).blur(),k=d,l,m;g.ctrlKey||g.altKey||g.shiftKey||g.metaKey||h.is(".fancybox-wrap")||(l=a.groupAttr||"data-fancybox-group",m=h.attr(l),m||(l="rel",m=h.get(0)[l]),m&&""!==m&&"nofollow"!==m&&(h=c.length?f(c):e,h=h.filter("["+l+'="'+m+'"]'),k=h.index(this)),a.index=k,!1!==b.open(h,a)&&g.preventDefault())};a=a||{};d=a.index||0;c&&!1!==a.live?p.undelegate(c,"click.fb-start").delegate(c+":not('.fancybox-item, .fancybox-nav')", "click.fb-start",l):e.unbind("click.fb-start").bind("click.fb-start",l);this.filter("[data-fancybox-start=1]").trigger("click");return this};p.ready(function(){var a,d;f.scrollbarWidth===w&&(f.scrollbarWidth=function(){var a=f('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),b=a.children(),b=b.innerWidth()-b.height(99).innerWidth();a.remove();return b});f.support.fixedPosition===w&&(f.support.fixedPosition=function(){var a=f('<div style="position:fixed;top:20px;"></div>').appendTo("body"), b=20===a[0].offsetTop||15===a[0].offsetTop;a.remove();return b}());f.extend(b.defaults,{scrollbarWidth:f.scrollbarWidth(),fixed:f.support.fixedPosition,parent:f("body")});a=f(s).width();K.addClass("fancybox-lock-test");d=f(s).width();K.removeClass("fancybox-lock-test");f("<style type='text/css'>.fancybox-margin{margin-right:"+(d-a)+"px;}</style>").appendTo("head")})})(window,document,jQuery); /* * jquery.infieldlabel * A simple jQuery plugin for adding labels that sit over a form field and fade away when the fields are populated. * * Copyright (c) 2009 - 2013 Doug Neiner <doug@dougneiner.com> (http://code.dougneiner.com) * Source: https://github.com/dcneiner/In-Field-Labels-jQuery-Plugin * Dual licensed MIT or GPL * MIT (http://www.opensource.org/licenses/mit-license) * GPL (http://www.opensource.org/licenses/gpl-license) * * @version 0.1.5 */ (function(e){e.InFieldLabels=function(n,i,t){var a=this;a.$label=e(n),a.label=n,a.$field=e(i),a.field=i,a.$label.data("InFieldLabels",a),a.showing=!0,a.init=function(){var n;a.options=e.extend({},e.InFieldLabels.defaultOptions,t),a.options.className&&a.$label.addClass(a.options.className),setTimeout(function(){""!==a.$field.val()?(a.$label.hide(),a.showing=!1):(a.$label.show(),a.showing=!0)},200),a.$field.focus(function(){a.fadeOnFocus()}).blur(function(){a.checkForEmpty(!0)}).bind("keydown.infieldlabel",function(e){a.hideOnChange(e)}).bind("paste",function(){a.setOpacity(0)}).change(function(){a.checkForEmpty()}).bind("onPropertyChange",function(){a.checkForEmpty()}).bind("keyup.infieldlabel",function(){a.checkForEmpty()}),a.options.pollDuration>0&&(n=setInterval(function(){""!==a.$field.val()&&(a.$label.hide(),a.showing=!1,clearInterval(n))},a.options.pollDuration))},a.fadeOnFocus=function(){a.showing&&a.setOpacity(a.options.fadeOpacity)},a.setOpacity=function(e){a.$label.stop().animate({opacity:e},a.options.fadeDuration,function(){0===e&&a.$label.hide()}),a.showing=e>0},a.checkForEmpty=function(e){""===a.$field.val()?(a.prepForShow(),a.setOpacity(e?1:a.options.fadeOpacity)):a.setOpacity(0)},a.prepForShow=function(){a.showing||(a.$label.css({opacity:0}).show(),a.$field.bind("keydown.infieldlabel",function(e){a.hideOnChange(e)}))},a.hideOnChange=function(e){16!==e.keyCode&&9!==e.keyCode&&(a.showing&&(a.$label.hide(),a.showing=!1),a.$field.unbind("keydown.infieldlabel"))},a.init()},e.InFieldLabels.defaultOptions={fadeOpacity:.5,fadeDuration:300,pollDuration:0,enabledInputTypes:["text","search","tel","url","email","password","number","textarea"],className:!1},e.fn.inFieldLabels=function(n){var i=n&&n.enabledInputTypes||e.InFieldLabels.defaultOptions.enabledInputTypes;return this.each(function(){var t,a,o=e(this).attr("for");o&&(t=document.getElementById(o),t&&(a=e.inArray(t.type,i),(-1!==a||"TEXTAREA"===t.nodeName)&&new e.InFieldLabels(this,t,n)))})}})(jQuery); !function(e){"use strict";var t;t=function(){function t(o,i){if(this.$form=e(o),this.submitted=!1,this.nextUploadId=1,this.removedUploadUids=[],this.uploadQueue=[],this.uploadElements=[],this.logicCache={},!this.$form.length)throw new Error("Form not found.");if(this.$form.data("quform"))throw new Error("Quform already attached.");this.$form.data("quform",this),this.options=e.extend({},t.defaults,i),e.isFunction(e.scrollTo)&&e.isFunction(e.fn.scrollTo)||(this.options.scrolling=!1),this.$wrapper=this.$form.closest(".quform"),this.$elements=e(".quform-elements",this.$form),this.$loading=e(".quform-loading",this.$form),this.currentPageId=this.options.currentPageId,this.submitStartTime=0,this.submitEndTime=0,this.successTimeout=null,this.errorShowFunction=this.$wrapper.hasClass("quform-errors-absolute")?"fadeIn":"quformShowSlide",this.init()}return t.defaults={errorsIcon:"",scrolling:!0,scrollSpeed:800,scrollDelay:0,scrollOffset:-50,hasPages:!1,pages:[],logic:{logic:[],dependents:[],elementIds:[],dependentElementIds:[],animate:!0}},t.prototype.init=function(){var t=this;this.setupInsideLabels(),this.setupEnhancedSelects(),this.setupEnhancedUploaders(),this.setupDatepickers(),this.setupTimepickers(),this.applyAllLogic(!0),this.setupTooltips(),this.setupCaptchaImages(),this.$wrapper.hasClass("quform-prevent-fouc")&&this.$wrapper.removeClass("quform-prevent-fouc"),this.options.ajax&&(t.$form.on("submit",function(e){if(e.preventDefault(),window.grecaptcha){var o=t.$form.find(".quform-recaptcha");if(o.length){if("invisible"==o.data("config").size)return void window.grecaptcha.execute(o.data("recaptcha-id"))}}t.submit()}),e(".quform-back",t.$form).on("click",function(e){e.preventDefault(),t.submit("back")})),e(".quform-field-select.quform-submit-on-choice").change(function(){t.$form.submit()}),e(".quform-field-radio.quform-submit-on-choice").click(function(){t.$form.submit()}),e(".quform-button-submit > button",this.$form).each(function(){var o,i,r=e(this),n=r.closest(".quform-button-submit"),a=n.data("animation"),s=1e3,u=t.options.scrollDelay;a&&(o="quform-button-animation-"+a,"two"==a&&(s=3200),r.click(function(){t.options.scrollDelay=s,n.removeClass(o),"number"==typeof i&&(clearTimeout(i),i=null),setTimeout(function(){n.addClass(o),i=setTimeout(function(){n.removeClass(o),t.options.scrollDelay=u},s)},4)}))})},t.prototype.setupInsideLabels=function(){e.InFieldLabels?e(".quform-labels-inside > .quform-spacer > .quform-label",this.$form).each(function(){var t=e(this),o=t.parent().find(".quform-input"),i=o.find(".quform-field");t.addClass("quform-label-inside").css({top:parseInt(i.css("padding-top"),10)+parseInt(i.css("border-top-width"),10),left:parseInt(i.css("padding-left"),10)+parseInt(i.css("border-left-width"),10)}).prependTo(o),new e.InFieldLabels(t[0],i[0])}):e(".quform-labels-inside > .quform-spacer > .quform-label",this.$form).show()},t.prototype.setupEnhancedSelects=function(){if("function"==typeof e.fn.select2){var o=this;e(".quform-field-select-enhanced",o.$form).each(function(){var i=e(this),r=i.data("options"),n={theme:"quform",language:{noResults:function(){return r.noResultsFound}}};r.search||(n.minimumResultsForSearch=Infinity),r.rtl&&(n.dir="rtl"),i.select2(n);var a="quform-"+o.options.id+"-select2";t.isNonEmptyString(o.options.theme)&&(a+=" quform-theme-"+o.options.theme),i.on("select2:opening",function(){i.data("select2").$dropdown.addClass(a)})}),e(".quform-field-multiselect-enhanced",o.$form).each(function(){var i=e(this),r=i.data("options"),n={theme:"quform",language:{noResults:function(){return r.noResultsFound}}};t.isNonEmptyString(r.placeholder)&&(n.placeholder=r.placeholder),r.rtl&&(n.dir="rtl"),i.select2(n);var a="quform-"+o.options.id+"-select2";t.isNonEmptyString(o.options.theme)&&(a+=" quform-theme-"+o.options.theme),i.on("select2:opening",function(){i.data("select2").$dropdown.addClass(a)})})}},t.prototype.setupEnhancedUploaders=function(){if(e.isFunction(e.fn.fileupload)&&e.support.xhrFileUpload&&e.support.xhrFormDataFileUpload){var t=this;e(".quform-field-file-enhanced",t.$form).each(function(){var o,i=e(this),r=i.closest(".quform-input-file"),n=i.data("config"),a=e('<div class="quform-upload-files quform-cf">').insertAfter(r).hide();n.queued=0,t.uploadElements.push(n),o="dropzone"==n.buttonType?t.createUploadButton("quform-upload-dropzone",n):t.createUploadButton("quform-upload-button",n),r.append(o.append(i));var s=i.closest(".quform-element").addClass("quform-enhanced-upload");i.fileupload({dataType:"json",paramName:n.name+"[]",dropZone:o,change:function(){s.find(".quform-error").empty().remove()},add:function(e,o){t.uploadAdd(o,n,a)},start:function(){e(".quform-upload-progress-wrap",t.$form).show()},progress:function(o,i){var r=Math.min(100,i.loaded/i.total*100);e(".quform-upload-progress-bar",t.$form).css("width",r+"%"),e(".quform-upload-filename",t.$form).text(i.files[0].name)}})})}},t.prototype.createUploadButton=function(o,i){var r=e('<div class="'+o+'">');if(r.append(e('<span class="'+o+'-text">').text(i.buttonText)),t.isNonEmptyString(i.buttonIcon)){var n=e('<span class="'+o+'-icon">').append(e('<i class="'+i.buttonIcon+'">'));r.addClass(o+"-icon-"+i.buttonIconPosition),"right"==i.buttonIconPosition?r.append(n):r.prepend(n)}return r},t.prototype.setupDatepickers=function(){if(e.isFunction(e.fn.kendoDatePicker)){var o=this;e(".quform-field-date",o.$form).each(function(){var i=e(this).addClass("quform-field-date-enhanced"),r=i.closest(".quform-input-date"),n=r.find("> .quform-field-icon"),a=i.data("options"),s=e("<input>",{type:"hidden",name:i.attr("name"),value:i.val()}).data("default",i.val()).addClass("quform-field-date-hidden").insertAfter(i);i.attr("name",""),a.placeholder?i.attr("placeholder",a.placeholder):i.removeAttr("placeholder");var u={start:a.start||"month",depth:a.depth||"month",culture:a.locale||"en-US"};if(a.format?u.format=a.format:u.format=kendo.getCulture(a.locale).calendars.standard.patterns.d,a.showFooter||(u.footer=!1),a.min)if("{today}"==a.min)u.min=new Date;else{var l=kendo.parseDate(a.min,"yyyy-MM-dd");null!==l&&(u.min=l)}if(a.max)if("{today}"==a.max)u.max=new Date;else{var c=kendo.parseDate(a.max,"yyyy-MM-dd");null!==c&&(u.max=c)}i.kendoDatePicker(u),i.removeClass("k-input").closest(".k-datepicker").removeClass().addClass("k-widget k-datepicker k-header");var f=i.data("kendoDatePicker"),m="quform-datepicker quform-"+o.options.id+"-datepicker";t.isNonEmptyString(o.options.theme)&&(m+=" quform-theme-"+o.options.theme),f.dateView.popup.element.addClass(m),r.find(".k-select").hide(),a.autoOpen&&i.on("click focus",function(){f.open()}).blur(function(){f.close()}),n.click(function(){f.open()});var p=function(){var e=i.val();if(t.isNonEmptyString(e)){var o=kendo.parseDate(e,u.format,u.culture);null===o?s.val("9999-99-99"):s.val(kendo.toString(o,"yyyy-MM-dd"))}else s.val("")};if(f.bind("change",p),i.on("blur.quformDatePicker keyup.quformDatePicker",p),a.today)f.value(new Date),p();else{var d=i.val();if(t.isNonEmptyString(d)){var h=kendo.parseDate(d,"yyyy-MM-dd");null!==h&&(f.value(h),p())}}})}},t.prototype.setupTimepickers=function(){if(e.isFunction(e.fn.kendoTimePicker)){var o=this;e(".quform-field-time",o.$form).each(function(){var i=e(this).addClass("quform-field-time-enhanced"),r=i.closest(".quform-input-time"),n=r.find("> .quform-field-icon"),a=i.data("options"),s=e("<input>",{type:"hidden",name:i.attr("name"),value:i.val()}).data("default",i.val()).addClass("quform-field-time-hidden").insertAfter(i);i.attr("name",""),a.placeholder?i.attr("placeholder",a.placeholder):i.removeAttr("placeholder");var u={interval:a.interval&&e.isNumeric(a.interval)?parseInt(a.interval,10):30,culture:a.locale||"en-US"};if(a.format?u.format=a.format:u.format=kendo.getCulture(a.locale).calendars.standard.patterns.t,a.min)if("{now}"==a.min)u.min=new Date;else{var l=kendo.parseDate(a.min,"HH:mm");null!==l&&(u.min=l)}if(a.max)if("{now}"==a.max)u.max=new Date;else{var c=kendo.parseDate(a.max,"HH:mm");null!==c&&(u.max=c)}i.kendoTimePicker(u),i.removeClass("k-input").closest(".k-timepicker").removeClass().addClass("k-widget k-timepicker k-header");var f=i.data("kendoTimePicker"),m="quform-timepicker quform-"+o.options.id+"-timepicker";t.isNonEmptyString(o.options.theme)&&(m+=" quform-theme-"+o.options.theme),f.timeView.popup.element.addClass(m),r.find(".k-select").hide(),a.autoOpen&&i.on("click focus",function(){f.open()}).blur(function(){f.close()}),n.click(function(){f.open()});var p=function(){var e=i.val();if(t.isNonEmptyString(e)){var o=kendo.parseDate(e,u.format,u.culture);null===o?s.val("99:99"):s.val(kendo.toString(o,"HH:mm"))}else s.val("")};if(f.bind("change",p),i.on("blur.quformTimePicker keyup.quformTimePicker",p),a.now)f.value(new Date),p();else{var d=i.val();if(t.isNonEmptyString(d)){var h=kendo.parseDate(d,"HH:mm");null!==h&&(f.value(h),p())}}})}},t.prototype.setupTooltips=function(){if(e.isFunction(e.fn.qtip)&&this.options.tooltipsEnabled){var t={style:{classes:this.options.tooltipClasses},position:{my:this.options.tooltipMy,at:this.options.tooltipAt,viewport:!0,adjust:{method:"shift shift"}}};e(".quform-tooltip-hover",this.$form).qtip(e.extend({},t,{content:{text:function(){return e(this).closest(".quform-input").find("> .quform-tooltip-content").html()}}})),e(".quform-tooltip-click",this.$form).qtip(e.extend({},t,{show:{event:"focus"},hide:{event:"unfocus"},content:{text:function(){return e(this).closest(".quform-input").find("> .quform-tooltip-content").html()}}})),e(".quform-tooltip-icon-hover",this.$form).qtip(e.extend({},t,{content:{text:function(){return e(this).find(".quform-tooltip-icon-content").html()}}})),e(".quform-tooltip-icon-click",this.$form).qtip(e.extend({},t,{show:{event:"click"},hide:{event:"unfocus"},content:{text:function(){return e(this).find(".quform-tooltip-icon-content").html()}}})),e(".quform-labels-inside > .quform-spacer > .quform-inner > .quform-input > .quform-label",this.$form).hover(function(){e(this).siblings(".quform-tooltip-hover").qtip("show")},function(){e(this).siblings(".quform-tooltip-hover").qtip("hide")})}},t.prototype.setupCaptchaImages=function(){e(".quform-captcha-image img",this.$form).hover(function(){e(this).stop().fadeTo(400,"0.3")},function(){e(this).stop().fadeTo(400,"1.0")}).click(function(){var o=e(this);e.ajax({type:"GET",url:quformL10n.ajaxUrl,dataType:"json",data:{action:"quform_regenerate_captcha",quform_form_id:o.data("form-id"),quform_element_id:o.data("element-id"),quform_unique_id:o.data("unique-id")}}).done(function(e){"success"==(e=t.sanitiseResponse(e)).type&&o.attr("src",e.image)})})},t.prototype.applyAllLogic=function(e){this.logicCache={},this.options.logic.elementIds.length&&(this.applyLogic(this.options.logic.elementIds,e),e&&this.applyDependentLogic(this.options.logic.dependentElementIds))},t.prototype.applyLogic=function(e,t){for(var o=0,i=e.length;o<i;o++)this.applyElementLogic(e[o],t)},t.prototype.applyElementLogic=function(t,o){if(this.options.logic&&this.options.logic.logic){var i=this.options.logic.logic[t];if(i&&i.rules&&i.rules.length){for(var r=0,n=i.action,a=this.options.id+"_"+t,s=0;s<i.rules.length;s++)this.isLogicRuleMatch(i.rules[s])&&r++;"any"==i.match&&r>0||"all"==i.match&&r==i.rules.length||(n=!n);var u=e(".quform-element-"+a),l=this,c=n?"show":"hide";!o&&this.options.logic.animate?u.animate({opacity:c,height:c,marginTop:c,marginBottom:c,paddingTop:c,paddingBottom:c},{duration:400,complete:function(){l.updateFancybox()}}):(u[c](),o||l.updateFancybox())}}},t.prototype.applyDependentLogic=function(t){if(this.options.logic&&this.options.logic.dependents)for(var o=this,i=0,r=t.length,n=function(e,t,i,r){e.on(t,function(){o.logicCache[r]=[],setTimeout(function(){o.applyLogic(i)},0)})};i<r;i++){var a=this.options.logic.dependents[t[i]],s=this.options.id+"_"+t[i],u=e(".quform-field-"+s,this.$form);if(u.length){var l;u.is("select")||u.is('input[type="hidden"]')?l="change.quform":u.is('input[type="checkbox"]')||u.is('input[type="radio"]')?l="click.quform":u.is('textarea, input[type="text"], input[type="email"], input[type="password"]')&&(l="keyup.quform blur.quform",(u.hasClass("quform-field-date-enhanced")||u.hasClass("quform-field-time-enhanced"))&&(l="change.quform")),l&&n(u,l,a,s)}}},t.prototype.isLogicRuleMatch=function(t){var o=this.options.id+"_"+t.elementId;if(e.isArray(this.logicCache[o])){if(this.logicCache[o].length)for(var i=0,r=this.logicCache[o].length;i<r;i++)if(this.logicCache[o][i].operator===t.operator&&this.logicCache[o][i].value===t.value)return this.logicCache[o][i].result}else this.logicCache[o]=[];var n,a,s=e(".quform-field-"+o,this.$form);if(s.length){if(s.is('select:not([multiple]), input[type="hidden"], textarea, input[type="text"], input[type="email"], input[type="password"]')){var u=s.val();return s.hasClass("quform-field-date-enhanced")?(a="date",u=s.closest(".quform-input").find(".quform-field-date-hidden").val()):s.hasClass("quform-field-time-enhanced")&&(a="time",u=s.closest(".quform-input").find(".quform-field-time-hidden").val()),n=this.isLogicValueMatch(u,t,a),this.logicCache[o].push({value:t.value,result:n}),n}if(s.is('input[type="checkbox"]')||s.is('input[type="radio"]')){var l=this;return n=!1,e.each(s,function(){if(e(this).is(":checked")&&l.isLogicValueMatch(e(this).val(),t))return n=!0,!1}),this.logicCache[o].push({value:t.value,result:n}),n}if(s.is("select[multiple]")){var c;l=this,u=s.val();if(n=!1,"empty"==t.operator)n=null===u;else if("not_empty"==t.operator)n=null!==u;else if(e.isArray(u))for(c=0;c<u.length;c++)if(l.isLogicValueMatch(u[c],t)){n=!0;break}return this.logicCache[o].push({value:t.value,result:n}),n}}return this.logicCache[o].push({value:t.value,result:!1}),!1},t.prototype.isLogicValueMatch=function(o,i,r){switch("string"!=typeof o&&(o=""),i.operator){case"eq":return o===i.value;case"neq":return o!==i.value;case"empty":return""===o;case"not_empty":return""!==o;case"gt":return"date"==r?1===t.compareDates(o,i.value):"time"==r?1===t.compareTimes(o,i.value):e.isNumeric(o)&&o>i.value;case"lt":return"date"==r?-1===t.compareDates(o,i.value):"time"==r?-1===t.compareTimes(o,i.value):e.isNumeric(o)&&o<i.value;case"contains":return-1!==o.indexOf(i.value);case"starts_with":return 0===o.indexOf(i.value);case"ends_with":return-1!==o.indexOf(i.value,i.value.length)}return!1},t.prototype.uploadAdd=function(o,i,r){var n=this,a=o.files[0];if(i.max&&i.queued===i.max)this.addElementError(i.identifier,i.tooMany.replace("%max%",i.max))[this.errorShowFunction]();else if(!i.allowedExtensions||t.isValidFile(a,i.allowedExtensions))if(i.size&&a.size>i.size)this.addElementError(i.identifier,i.tooBigWithFilename.replace("%filename%",a.name))[this.errorShowFunction]();else{var s=this.nextUploadId++;o.formData={quform_ajax_uploading:1,quform_form_id:this.options.id,quform_form_uid:this.options.uniqueId,quform_element_id:i.id,quform_element_identifier:i.identifier,quform_upload_id:s},this.uploadQueue.push(o),i.queued++;var u=o.context=e('<div class="quform-upload-file">').data("quform-upload-id",s);e('<span class="quform-upload-file-name">').text(a.name).appendTo(u),e('<span class="quform-upload-file-remove">').attr("title",quformL10n.removeFile).click(function(){for(var t=e(this).closest(".quform-upload-file"),o=t.data("quform-upload-id"),a=n.uploadQueue.length;a--;)n.uploadQueue[a].formData.quform_upload_id==o&&n.uploadQueue.splice(a,1);t.data("quform-upload-uid")&&n.removedUploadUids.push(t.data("quform-upload-uid")),t.remove(),0===r.children().length&&r.hide(),i.queued--}).appendTo(u),r.append(u).show()}else this.addElementError(i.identifier,i.notAllowedTypeWithFilename.replace("%filename%",a.name))[this.errorShowFunction]()},t.prototype.processUploadQueue=function(){var o=this,i=o.uploadQueue.shift();i.submit().done(function(r){"success"==(r=t.sanitiseResponse(r)).type?(i.context.addClass("quform-uploaded").prepend(e('<span class="quform-upload-tick"><i class="qicon-check">')).data("quform-upload-uid",r.uid),o.uploadQueue.length?o.processUploadQueue():(e(".quform-upload-progress-wrap",o.$form).hide(),o.submitted=!1,o.submit())):o.uploadError(i,r.message)}).fail(function(){o.uploadError(i,quformL10n.ajaxError)})},t.prototype.uploadError=function(t,o){e(".quform-upload-progress-wrap",this.$form).hide(),this.uploadQueue.unshift(t),this.allowResubmission(),this.addElementError(t.formData.quform_element_identifier,o)[this.errorShowFunction](),this.scrollTo(e(".quform-element-"+t.formData.quform_element_identifier,this.$form))},t.prototype.submit=function(e){var o=this;if(!o.submitted)if(o.submitStartTime=t.timeNow(),o.submitted=!0,e="back"==e?"back":"submit",o.$form.trigger("quform:submit",[o,e]),o.$loading.fadeIn().addClass("quform-loading-triggered"),"submit"==e&&this.uploadQueue.length)o.processUploadQueue();else{var i={quform_ajax:1,quform_submit:e,quform_removed_upload_uids:o.removedUploadUids.join(",")};o.$form.ajaxSubmit({type:"POST",data:i,dataType:"json",iframe:!0,url:"",success:function(e){switch(o.submitEndTime=t.timeNow(),(e=t.sanitiseResponse(e)).type){case"success":o.responseSuccess(e.confirmation);break;case"error":o.responseError(e);break;case"page":o.allowResubmission(),o.goToPage(e.page);break;case"invalid":o.responseInvalid(e)}},error:function(){o.submitEndTime=t.timeNow(),o.responseInvalid({message:quformL10n.ajaxError})}})}},t.prototype.responseSuccess=function(e){var t=this;t.$form.trigger("quform:successStart",[t,e]),t.$loading.addClass("quform-loading-success");var o=function(){switch(e.type){case"message":t.reset(e.resetForm),t.showSuccessMessage(e);break;case"message-redirect-page":case"message-redirect-url":t.showSuccessMessage(e),setTimeout(function(){window.location=e.redirectUrl},1e3*parseFloat(e.redirectDelay));break;case"redirect-page":case"redirect-url":window.location=e.redirectUrl;break;case"reload":window.location.reload()}};e.hideForm?t.$elements.quformHideSlide(function(){o()}):o()},t.prototype.showSuccessMessage=function(o){var i=this,r=e('<div class="quform-success-message-animate">').hide(),n=e('<div class="quform-success-message quform-success-message-'+i.options.id+'">').appendTo(r);t.isNonEmptyString(o.messageIcon)&&n.addClass("quform-success-message-has-icon").append('<div class="quform-success-message-icon"><i class="'+o.messageIcon+'"></i></div>'),n.append(e('<div class="quform-success-message-content">').html(o.message)),r["below"==o.messagePosition?"insertAfter":"insertBefore"](i.$elements).quformShowSlide(),setTimeout(function(){i.scrollTo(r)},i.getScrollDelay());var a=1e3*parseFloat(o.messageTimeout);a>0&&(i.successTimeout=setTimeout(function(){r.quformHideSlide(function(){i.updateFancybox()})},a))},t.prototype.responseError=function(t){var o=this,i=null,r=!1;o.$form.trigger("quform:errorStart",[o,t]),o.allowResubmission(),"object"==typeof t.error&&null!==t.error&&t.error.enabled&&"string"==typeof t.error.content&&t.error.content.length&&(o.errorMessage(t.error.content,t.error.title),r=!0),e.each(t.errors,function(t,r){var n=e(".quform-element-"+t,o.$form);n.length&&(o.addElementError(t,r),i||(i=n))}),o.options.hasPages&&t.page!==o.currentPageId&&o.goToPage(t.page),e(".quform-error",o.$form)[this.errorShowFunction](),!r&&i&&setTimeout(function(){o.scrollTo(i)},o.getScrollDelay()),o.updateFancybox(),o.$form.trigger("quform:errorEnd",[o,t])},t.prototype.responseInvalid=function(e){this.allowResubmission(),this.errorMessage(e.message,quformL10n.errorMessageTitle)},t.prototype.goToPage=function(t){var o=e(".quform-page-"+t,this.$form);if(o.length&&this.options.pages.length>1){var i=e.inArray(t,this.options.pages);if(i>-1){this.currentPageId=t,e('input[name="quform_current_page_id"]',this.$form).val(t),e(".quform-current-page",this.$form).hide().removeClass("quform-current-page"),o.show().addClass("quform-current-page"),this.scrollTo(this.$form);var r=Math.round((i+1)/this.options.pages.length*100);"numbers"==this.options.pageProgressType||"percentage"==this.options.pageProgressType?(e(".quform-page-progress-bar",this.$form).width(r+"%"),"numbers"==this.options.pageProgressType?e(".quform-page-progress-text > .quform-page-progress-number",this.$form).text(i+1):e(".quform-page-progress-text > .quform-page-progress-percentage",this.$form).text(r)):"tabs"==this.options.pageProgressType&&(e(".quform-page-progress-tab.quform-current-tab",this.$form).removeClass("quform-current-tab"),e(".quform-page-progress-tab").filter(function(){return e(this).data("id")==t}).addClass("quform-current-tab"))}}},t.prototype.allowResubmission=function(){var t=this;t.$loading.removeClass("quform-loading-triggered").fadeOut(function(){t.$loading.removeClass("quform-loading-success")}),e(".quform-error-message, .quform-error, .quform-success-message-animate",t.$form).remove(),e(".quform-has-error",t.$form).removeClass("quform-has-error"),"number"==typeof t.successTimeout&&(clearTimeout(t.successTimeout),t.successTimeout=null),window.grecaptcha&&e(".quform-recaptcha",t.$form).each(function(){try{window.grecaptcha.reset(e(this).data("recaptcha-id"))}catch(t){}}),t.submitted=!1},t.prototype.reset=function(o){switch(this.allowResubmission(),o){default:case"":this.$form.resetForm(),e("input.quform-field-date-enhanced",self.$form).each(function(){var o=e(this),i=o.closest(".quform-input").find(".quform-field-date-hidden").data("default"),r=o.data("kendoDatePicker");i=t.isNonEmptyString(i)?kendo.parseDate(i,"yyyy-MM-dd"):null,r.value(i),r.trigger("change"),r.dateView.calendar&&r.dateView.calendar.navigate(null===i?new Date:i)}),e("input.quform-field-time-enhanced",self.$form).each(function(){var o=e(this),i=o.closest(".quform-input").find(".quform-field-time-hidden").data("default"),r=o.data("kendoTimePicker");i=t.isNonEmptyString(i)?kendo.parseDate(i,"HH:mm"):null,r.value(i),r.trigger("change")}),e(".quform-field-hidden",self.$form).each(function(){var t=e(this);t.val(t.data("default")).change()});break;case"clear":this.$form.clearForm(),e("select",this.$form).each(function(){e(this).prop("selectedIndex",0)}),e("input.quform-field-date-enhanced",self.$form).each(function(){var t=e(this).data("kendoDatePicker");t.value(null),t.trigger("change"),t.dateView.calendar&&t.dateView.calendar.navigate(new Date)}),e("input.quform-field-time-enhanced",self.$form).each(function(){var t=e(this).data("kendoTimePicker");t.value(null),t.trigger("change")}),e(".quform-field-hidden",self.$form).val("").change();break;case"keep":}e(".quform-captcha-image img",this.$form).trigger("click"),e('input[type="text"], input[type="email"], textarea',this.$form).blur(),this.applyAllLogic(),e(".quform-field-select-enhanced, .quform-field-multiselect-enhanced",this.$form).trigger("change"),this.removedUploadUids=[],e(".quform-upload-files",this.$form).empty().hide();for(var i=0,r=this.uploadElements.length;i<r;i++)this.uploadElements[i].queued=0;e('input[type="file"]',this.$form).each(function(){var t=e(this);t.replaceWith(t.val("").clone(!0))}),e(".qtip").hide(),this.options.hasPages&&this.goToPage(this.options.pages[0])},t.prototype.errorMessage=function(t,o){var i=this,r=e('<div class="quform-error-message">').hide(),n=e('<div class="quform-error-message-inner">');"string"==typeof o&&o.length&&n.append(e('<div class="quform-error-message-title">').html(o)),n.append(e('<div class="quform-error-message-content">').html(t)).appendTo(r),i.$elements.prepend(r),r.quformShowSlide(),setTimeout(function(){i.scrollTo(r)},i.getScrollDelay())},t.prototype.addElementError=function(o,i){var r=e('<div class="quform-error quform-cf">'),n=e('<div class="quform-error-inner">').appendTo(r);if(t.isNonEmptyString(this.options.errorsIcon)&&n.append(e('<span class="quform-error-icon">').append('<i class="'+this.options.errorsIcon+'"></i>')),n.append(e('<span class="quform-error-text">').html(i)),this.$wrapper.hasClass("quform-errors-absolute")){var a=e('<span class="quform-error-close">').append('<i class="qicon-close">');a.click(function(){e(this).closest(".quform-error").fadeOut()}),n.append(a)}return e(".quform-element-"+o,this.$form).addClass("quform-has-error"),e(".quform-input-"+o,this.$form).after(r),r},t.prototype.scrollTo=function(o){if(this.options.scrolling&&o&&o.length){var i=this.getScrollElement();i?i.scrollTo(o,this.options.scrollSpeed,{axis:"y",offset:this.options.scrollOffset}):t.isScrolledIntoView(o)||e.scrollTo(o,this.options.scrollSpeed,{axis:"y",offset:this.options.scrollOffset})}},t.prototype.getScrollDelay=function(){return this.options.scrollDelay>0?t.clamp(this.options.scrollDelay-(this.submitEndTime-this.submitStartTime),0,3200):0},t.prototype.getScrollElement=function(){var t=null;return this.$form.closest(".fancybox-inner").length?t=this.$form.closest(".fancybox-inner"):this.$form.closest("#fancybox-content").length?this.$form.closest(".quform").hasClass("quform-custom-height")&&(t=this.$form.closest("#fancybox-content > div")):this.$form.closest(".mfp-wrap").length&&(this.$form.closest(".quform").hasClass("quform-max-height")?t=this.$form.closest(".quform"):e.magnificPopup&&e.magnificPopup.instance&&e.magnificPopup.instance.fixedContentPos&&(t=this.$form.closest(".mfp-wrap"))),t},t.prototype.updateFancybox=function(){if(this.options.updateFancybox&&e.isFunction(e.fn.fancybox)&&e.fancybox){var t;e.fancybox.version?(t=e(".fancybox-wrap")).length&&t.is(":visible")&&e.fancybox.reposition():(t=e("#fancybox-wrap")).length&&t.is(":visible")&&e.fancybox.center()}},t.isScrolledIntoView=function(t){var o=e(window).scrollTop(),i=o+e(window).height(),r=t.offset().top,n=r+t.height();return n>=o&&r<=i&&n<=i&&r>=o},t.formatFileSize=function(e){return e>=1073741824?e=Math.round(e/1073741824*10)/10+" GB":e>=1048576?e=Math.round(e/1048576*10)/10+" MB":e>=1024?e=Math.round(e/1024*10)/10+" KB":e+=" bytes",e},t.preLoadImages=function(e,o){for(var i=0;i<e.length;i++){var r=new Image;r.src=o?o+e[i]:e[i],t.preLoadImages.cache.push(r)}},t.preLoadImages.cache=[],t.sanitiseResponse=function(e){return null!==e&&"object"==typeof e&&"string"==typeof e.type&&0!==e.type.length||(e={type:"invalid",message:"The response from the server was invalid or malformed"}),e},t.compareDates=function(e,o){if(!t.isNonEmptyString(e)||!t.isNonEmptyString(o))return!1;if(e=kendo.parseDate(e,"yyyy-MM-dd"),o=kendo.parseDate(o,"yyyy-MM-dd"),null===e||null===o)return!1;var i=e.getTime(),r=o.getTime();return i<r?-1:i>r?1:0},t.compareTimes=function(e,o){if(!t.isNonEmptyString(e)||!t.isNonEmptyString(o))return!1;if(e=kendo.parseDate(e,"HH:mm"),o=kendo.parseDate(o,"HH:mm"),null===e||null===o)return!1;var i=e.getTime(),r=o.getTime();return i<r?-1:i>r?1:0},t.isValidFile=function(e,t){var o,i;if(!t.length)return!0;for(o=0,i=t.length;o<i;o++)if(-1!==e.name.toLowerCase().indexOf(t[o].toLowerCase(),e.name.length-t[o].length))return!0;return!1},t.isNonEmptyString=function(e){return"string"==typeof e&&e.length},t.clamp=function(e,t,o){return Math.min(Math.max(e,t),o)},t.timeNow=function(){return(new Date).getTime()},t.setupPopupLinks=function(){(e.isFunction(e.fn.fancybox)||e.isFunction(e.fn.magnificPopup))&&e(".quform-popup-link").each(function(){var t=e(this);if(!t.data("quform-processed")){var o,i="#quform-"+t.data("unique-id"),r=e(i),n=t.data("options")||{};e.isFunction(e.fn.fancybox)&&e.fancybox?(e.fancybox.version?(o={type:"inline",wrapCSS:"quform-fancybox-2-popup",href:i,beforeClose:function(){e(".qtip").hide()}},(n.width||n.height)&&("undefined"==typeof n.autoSize&&(n.autoSize=!1),n.width||"undefined"!=typeof n.autoWidth||(n.autoWidth=!0),n.height||"undefined"!=typeof n.autoHeight||(n.autoHeight=!0))):(o={inline:!0,href:i,onStart:function(){e("#fancybox-outer").css("opacity",0),e("#fancybox-wrap").addClass("quform-fancybox-1-popup")},onComplete:function(){window.grecaptcha&&e("#fancybox-content .quform-recaptcha").each(function(){try{window.grecaptcha.reset(e(this).data("recaptcha-id"))}catch(t){}}),e("#fancybox-wrap, #fancybox-content").css({width:"auto"}),e.fancybox.center(0),setTimeout(function(){e("#fancybox-outer").animate({opacity:1},200),e("#fancybox-overlay").css({height:e(document).height()})},1)},onClosed:function(){e("#fancybox-wrap").removeClass("quform-fancybox-1-popup")}},(n.width||n.height)&&"undefined"==typeof n.autoDimensions&&(n.autoDimensions=!1),n.height&&r.addClass("quform-custom-height")),t.fancybox(e.extend({},o,n))):e.isFunction(e.fn.magnificPopup)&&(o={items:{src:r,type:"inline"},mainClass:"quform-magnific-popup"},n.width&&(r.css({maxWidth:e.isNumeric(n.width)?n.width+"px":n.width}),delete n.width),n.height&&(r.css({maxHeight:e.isNumeric(n.height)?n.height+"px":n.height}).addClass("quform-max-height"),delete n.height),t.magnificPopup(e.extend({},o,n)),e.magnificPopup.instance._onFocusIn=function(t){if(e(t.target).hasClass("select2-search__field"))return!0;e.magnificPopup.proto._onFocusIn.call(this,t)}),t.data("quform-processed",!0)}})},t.recaptchaLoaded=function(){window.grecaptcha&&e(".quform-recaptcha").each(function(){var t=e(this),o=t.data("config");t.is(":empty")&&("invisible"==o.size&&(o.callback=function(){t.closest(".quform-form").data("quform").submit()}),t.data("recaptcha-id",window.grecaptcha.render(t[0],o)))})},t}(),window.Quform=t,window.QuformRecaptchaLoaded=t.recaptchaLoaded,e.fn.extend({quform:function(){return this.each(function(){return new t(this,e(this).data("options")||{})})},quformHideSlide:function(t,o){var i={height:"hide",opacity:"hide",marginTop:"hide",marginBottom:"hide",paddingTop:"hide",paddingBottom:"hide"},r={duration:400};return t&&(r.complete=t),o&&(i=e.extend(i,o)),this.animate(i,r)},quformShowSlide:function(t,o){var i={height:"show",opacity:"show",marginTop:"show",marginBottom:"show",paddingTop:"show",paddingBottom:"show"},r={duration:400};return t&&(r.complete=t),o&&(i=e.extend(i,o)),this.animate(i,r)}}),e(document).ready(function(){e(".quform-form").quform(),t.setupPopupLinks()})}(jQuery);
import { router } from '../index' const API_URL = 'http://localhost:3000/' const LOGIN_URL = API_URL + 'sessions/create/' const SIGNUP_URL = API_URL + 'signup/' export default { user: { authenticated: false }, login(context, creds, redirect) { context.$http.post(LOGIN_URL, creds, (data) => { localStorage.setItem('id_token', data.id_token) this.user.authenticated = true if (redirect) { router.go(redirect) } }).error((err) => { context.error = err }) }, signup(context, creds, redirect) { context.$http.post(SIGNUP_URL, creds, (data) => { localStorage.setItem('id_token', data.id_token) this.user.authenticated = true if (redirect) { router.go(redirect) } }).error((err) => { context.error = err }) }, logout() { localStorage.removeItem('id_token') this.user.authenticated = false }, checkAuth() { var jwt = localStorage.getItem('id_token') if (jwt) { this.user.authenticated = true } else { this.user.authenticated = false } }, getAuthHeader() { return { 'Authorization': 'Bearer ' + localStorage.getItem('id_token') } } }
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. 'use strict'; const common = require('../common'); if (!common.hasCrypto) common.skip('missing crypto'); const tls = require('tls'); const net = require('net'); const socket = net.connect(443, 'www.example.org', common.mustCall(() => { const secureSocket = tls.connect({ socket }, common.mustCall(() => { secureSocket.destroy(); console.log('ok'); })); }));
module.exports = function(sequelize: any, DataTypes: any) { const Company = sequelize.define('company', { name: { type: DataTypes.STRING, allowNull: false }, description: { type: DataTypes.TEXT, allowNull: false }, sector: { type: DataTypes.INTEGER, allowNull: false }, products: { type: DataTypes.STRING, allowNull: false }, capitalPercentage: { type: DataTypes.INTEGER, allowNull: false }, employeesPercentage: { type: DataTypes.INTEGER, allowNull: false }, productivityPercentage: { type: DataTypes.INTEGER, allowNull: false }, province: { type: DataTypes.INTEGER, allowNull: true }, city: { type: DataTypes.INTEGER, allowNull: true }, address: { type: DataTypes.STRING, allowNull: true }, branches: { type: DataTypes.STRING, allowNull: true }, email: { type: DataTypes.STRING, allowNull: false }, primaryPhoneNumber: { type: DataTypes.STRING, allowNull: false }, isPrimaryPhoneNumberInWhatsapp: { type: DataTypes.BOOLEAN, allowNull: false }, secondaryPhoneNumber: { type: DataTypes.STRING, allowNull: true }, isSecondaryPhoneNumberInWhatsapp: { type: DataTypes.BOOLEAN, allowNull: false }, facebook: { type: DataTypes.STRING, allowNull: true }, instagram: { type: DataTypes.STRING, allowNull: true }, website: { type: DataTypes.STRING, allowNull: true }, image: { type: DataTypes.BLOB, allowNull: true }, isAccepted: { type: DataTypes.BOOLEAN, allowNull: false }, isDeleted: { type: DataTypes.BOOLEAN, allowNull: false }, createdAt: { type: DataTypes.DATE, allowNull: true }, updatedAt: { type: DataTypes.DATE, allowNull: true }, status: { type: DataTypes.STRING, allowNull: false }, }); return Company; };
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.videojs=e()}(this,function(){function t(t,e){return e={exports:{}},t(e,e.exports),e.exports}function e(t,e){Ke(t).forEach(function(n){return e(t[n],n)})}function n(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Ke(t).reduce(function(n,r){return e(n,t[r],r)},n)}function r(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Object.assign?Object.assign.apply(Object,[t].concat(r)):(r.forEach(function(n){n&&e(n,function(e,n){t[n]=e})}),t)}function i(t){return!!t&&"object"===(void 0===t?"undefined":Ve(t))}function o(t){return i(t)&&"[object Object]"===qe.call(t)&&t.constructor===Object}function s(t){return t.replace(/\n\r?\s*/g,"")}function a(t,e){if(!t||!e)return"";if("function"==typeof pe.getComputedStyle){var n=pe.getComputedStyle(t);return n?n[e]:""}return t.currentStyle[e]||""}function l(t){return"string"==typeof t&&/\S/.test(t)}function c(t){if(/\s/.test(t))throw new Error("class has illegal whitespace characters")}function u(t){return new RegExp("(^|\\s)"+t+"($|\\s)")}function h(){return ge===pe.document&&void 0!==ge.createElement}function p(t){return i(t)&&1===t.nodeType}function d(){try{return pe.parent!==pe.self}catch(t){return!0}}function f(t){return function(e,n){if(!l(e))return ge[t](null);l(n)&&(n=ge.querySelector(n));var r=p(n)?n:ge;return r[t]&&r[t](e)}}function v(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments[3],i=ge.createElement(t);return Object.getOwnPropertyNames(e).forEach(function(t){var n=e[t];-1!==t.indexOf("aria-")||"role"===t||"type"===t?(Qe.warn(Ze(tn,t,n)),i.setAttribute(t,n)):"textContent"===t?y(i,n):i[t]=n}),Object.getOwnPropertyNames(n).forEach(function(t){i.setAttribute(t,n[t])}),r&&D(i,r),i}function y(t,e){return void 0===t.textContent?t.innerText=e:t.textContent=e,t}function g(t,e){e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}function m(t,e){return c(e),t.classList?t.classList.contains(e):u(e).test(t.className)}function _(t,e){return t.classList?t.classList.add(e):m(t,e)||(t.className=(t.className+" "+e).trim()),t}function b(t,e){return t.classList?t.classList.remove(e):(c(e),t.className=t.className.split(/\s+/).filter(function(t){return t!==e}).join(" ")),t}function T(t,e,n){var r=m(t,e);if("function"==typeof n&&(n=n(t,e)),"boolean"!=typeof n&&(n=!r),n!==r)return n?_(t,e):b(t,e),t}function C(t,e){Object.getOwnPropertyNames(e).forEach(function(n){var r=e[n];null===r||void 0===r||!1===r?t.removeAttribute(n):t.setAttribute(n,!0===r?"":r)})}function k(t){var e={};if(t&&t.attributes&&t.attributes.length>0)for(var n=t.attributes,r=n.length-1;r>=0;r--){var i=n[r].name,o=n[r].value;"boolean"!=typeof t[i]&&-1===",autoplay,controls,playsinline,loop,muted,default,defaultMuted,".indexOf(","+i+",")||(o=null!==o),e[i]=o}return e}function w(t,e){return t.getAttribute(e)}function E(t,e,n){t.setAttribute(e,n)}function S(t,e){t.removeAttribute(e)}function x(){ge.body.focus(),ge.onselectstart=function(){return!1}}function j(){ge.onselectstart=function(){return!0}}function A(t){if(t&&t.getBoundingClientRect&&t.parentNode){var e=t.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach(function(t){void 0!==e[t]&&(n[t]=e[t])}),n.height||(n.height=parseFloat(a(t,"height"))),n.width||(n.width=parseFloat(a(t,"width"))),n}}function P(t){var e=void 0;if(t.getBoundingClientRect&&t.parentNode&&(e=t.getBoundingClientRect()),!e)return{left:0,top:0};var n=ge.documentElement,r=ge.body,i=n.clientLeft||r.clientLeft||0,o=pe.pageXOffset||r.scrollLeft,s=e.left+o-i,a=n.clientTop||r.clientTop||0,l=pe.pageYOffset||r.scrollTop,c=e.top+l-a;return{left:Math.round(s),top:Math.round(c)}}function O(t,e){var n={},r=P(t),i=t.offsetWidth,o=t.offsetHeight,s=r.top,a=r.left,l=e.pageY,c=e.pageX;return e.changedTouches&&(c=e.changedTouches[0].pageX,l=e.changedTouches[0].pageY),n.y=Math.max(0,Math.min(1,(s-l+o)/o)),n.x=Math.max(0,Math.min(1,(c-a)/i)),n}function M(t){return i(t)&&3===t.nodeType}function N(t){for(;t.firstChild;)t.removeChild(t.firstChild);return t}function I(t){return"function"==typeof t&&(t=t()),(Array.isArray(t)?t:[t]).map(function(t){return"function"==typeof t&&(t=t()),p(t)||M(t)?t:"string"==typeof t&&/\S/.test(t)?ge.createTextNode(t):void 0}).filter(function(t){return t})}function D(t,e){return I(e).forEach(function(e){return t.appendChild(e)}),t}function L(t,e){return D(N(t),e)}function R(t){return void 0===t.button&&void 0===t.buttons||(0===t.button&&void 0===t.buttons||(9===De||0===t.button&&1===t.buttons))}function B(){return on++}function F(t){var e=t[an];return e||(e=t[an]=B()),sn[e]||(sn[e]={}),sn[e]}function H(t){var e=t[an];return!!e&&!!Object.getOwnPropertyNames(sn[e]).length}function V(t){var e=t[an];if(e){delete sn[e];try{delete t[an]}catch(e){t.removeAttribute?t.removeAttribute(an):t[an]=null}}}function z(t,e){var n=F(t);0===n.handlers[e].length&&(delete n.handlers[e],t.removeEventListener?t.removeEventListener(e,n.dispatcher,!1):t.detachEvent&&t.detachEvent("on"+e,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&V(t)}function W(t,e,n,r){n.forEach(function(n){t(e,n,r)})}function U(t){function e(){return!0}function n(){return!1}if(!t||!t.isPropagationStopped){var r=t||pe.event;t={};for(var i in r)"layerX"!==i&&"layerY"!==i&&"keyLocation"!==i&&"webkitMovementX"!==i&&"webkitMovementY"!==i&&("returnValue"===i&&r.preventDefault||(t[i]=r[i]));if(t.target||(t.target=t.srcElement||ge),t.relatedTarget||(t.relatedTarget=t.fromElement===t.target?t.toElement:t.fromElement),t.preventDefault=function(){r.preventDefault&&r.preventDefault(),t.returnValue=!1,r.returnValue=!1,t.defaultPrevented=!0},t.defaultPrevented=!1,t.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),t.cancelBubble=!0,r.cancelBubble=!0,t.isPropagationStopped=e},t.isPropagationStopped=n,t.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),t.isImmediatePropagationStopped=e,t.stopPropagation()},t.isImmediatePropagationStopped=n,null!==t.clientX&&void 0!==t.clientX){var o=ge.documentElement,s=ge.body;t.pageX=t.clientX+(o&&o.scrollLeft||s&&s.scrollLeft||0)-(o&&o.clientLeft||s&&s.clientLeft||0),t.pageY=t.clientY+(o&&o.scrollTop||s&&s.scrollTop||0)-(o&&o.clientTop||s&&s.clientTop||0)}t.which=t.charCode||t.keyCode,null!==t.button&&void 0!==t.button&&(t.button=1&t.button?0:4&t.button?1:2&t.button?2:0)}return t}function X(t,e,n){if(Array.isArray(e))return W(X,t,e,n);var r=F(t);if(r.handlers||(r.handlers={}),r.handlers[e]||(r.handlers[e]=[]),n.guid||(n.guid=B()),r.handlers[e].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(e,n){if(!r.disabled){e=U(e);var i=r.handlers[e.type];if(i)for(var o=i.slice(0),s=0,a=o.length;s<a&&!e.isImmediatePropagationStopped();s++)try{o[s].call(t,e,n)}catch(t){Qe.error(t)}}}),1===r.handlers[e].length)if(t.addEventListener){var i=!1;ln&&cn.indexOf(e)>-1&&(i={passive:!0}),t.addEventListener(e,r.dispatcher,i)}else t.attachEvent&&t.attachEvent("on"+e,r.dispatcher)}function q(t,e,n){if(H(t)){var r=F(t);if(r.handlers){if(Array.isArray(e))return W(q,t,e,n);var i=function(t,e){r.handlers[e]=[],z(t,e)};if(void 0!==e){var o=r.handlers[e];if(o){if(!n)return void i(t,e);if(n.guid)for(var s=0;s<o.length;s++)o[s].guid===n.guid&&o.splice(s--,1);z(t,e)}}else for(var a in r.handlers)Object.prototype.hasOwnProperty.call(r.handlers||{},a)&&i(t,a)}}}function K(t,e,n){var r=H(t)?F(t):{},i=t.parentNode||t.ownerDocument;if("string"==typeof e&&(e={type:e,target:t}),e=U(e),r.dispatcher&&r.dispatcher.call(t,e,n),i&&!e.isPropagationStopped()&&!0===e.bubbles)K.call(null,i,e,n);else if(!i&&!e.defaultPrevented){var o=F(e.target);e.target[e.type]&&(o.disabled=!0,"function"==typeof e.target[e.type]&&e.target[e.type](),o.disabled=!1)}return!e.defaultPrevented}function Y(t,e,n){if(Array.isArray(e))return W(Y,t,e,n);var r=function r(){q(t,e,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||B(),X(t,e,r)}function G(t,e){e&&(pn=e),pe.setTimeout(dn,t)}function $(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.eventBusKey;if(n){if(!t[n].nodeName)throw new Error('The eventBusKey "'+n+'" does not refer to an element.');t.eventBusEl_=t[n]}else t.eventBusEl_=v("span",{className:"vjs-event-bus"});return r(t,xn),t.on("dispose",function(){t.off(),pe.setTimeout(function(){t.eventBusEl_=null},0)}),t}function J(t,e){return r(t,jn),t.state=r({},t.state,e),"function"==typeof t.handleStateChanged&&bn(t)&&t.on("statechanged",t.handleStateChanged),t}function Q(t){return"string"!=typeof t?t:t.charAt(0).toUpperCase()+t.slice(1)}function Z(t,e){return Q(t)===Q(e)}function tt(){for(var t={},n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return r.forEach(function(n){n&&e(n,function(e,n){if(!o(e))return void(t[n]=e);o(t[n])||(t[n]={}),t[n]=tt(t[n],e)})}),t}function et(t,e,n){if("number"!=typeof e||e<0||e>n)throw new Error("Failed to execute '"+t+"' on 'TimeRanges': The index provided ("+e+") is non-numeric or out of bounds (0-"+n+").")}function nt(t,e,n,r){return et(t,r,n.length-1),n[r][e]}function rt(t){return void 0===t||0===t.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:t.length,start:nt.bind(null,"start",0,t),end:nt.bind(null,"end",1,t)}}function it(t,e){return Array.isArray(t)?rt(t):void 0===t||void 0===e?rt():rt([[t,e]])}function ot(t,e){var n=0,r=void 0,i=void 0;if(!e)return 0;t&&t.length||(t=it(0,0));for(var o=0;o<t.length;o++)r=t.start(o),i=t.end(o),i>e&&(i=e),n+=i-r;return n/e}function st(t){if(t instanceof st)return t;"number"==typeof t?this.code=t:"string"==typeof t?this.message=t:i(t)&&("number"==typeof t.code&&(this.code=t.code),r(this,t)),this.message||(this.message=st.defaultMessages[this.code]||"")}function at(t,e){var n,r=null;try{n=JSON.parse(t,e)}catch(t){r=t}return[r,n]}function lt(t){return void 0!==t&&null!==t&&"function"==typeof t.then}function ct(t){lt(t)&&t.then(null,function(t){})}function ut(t){var e=ur.call(t);return"[object Function]"===e||"function"==typeof t&&"[object RegExp]"!==e||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)}function ht(t,e,n){if(!cr(e))throw new TypeError("iterator must be a function");arguments.length<3&&(n=this),"[object Array]"===dr.call(t)?pt(t,e,n):"string"==typeof t?dt(t,e,n):ft(t,e,n)}function pt(t,e,n){for(var r=0,i=t.length;r<i;r++)fr.call(t,r)&&e.call(n,t[r],r,t)}function dt(t,e,n){for(var r=0,i=t.length;r<i;r++)e.call(n,t.charAt(r),r,t)}function ft(t,e,n){for(var r in t)fr.call(t,r)&&e.call(n,t[r],r,t)}function vt(){for(var t={},e=0;e<arguments.length;e++){var n=arguments[e];for(var r in n)mr.call(n,r)&&(t[r]=n[r])}return t}function yt(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}function gt(t,e,n){var r=t;return cr(e)?(n=e,"string"==typeof t&&(r={uri:t})):r=gr(e,{uri:t}),r.callback=n,r}function mt(t,e,n){return e=gt(t,e,n),_t(e)}function _t(t){function e(){4===a.readyState&&setTimeout(i,0)}function n(){var t=void 0;if(t=a.response?a.response:a.responseText||bt(a),y)try{t=JSON.parse(t)}catch(t){}return t}function r(t){return clearTimeout(u),t instanceof Error||(t=new Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,s(t,g)}function i(){if(!c){var e;clearTimeout(u),e=t.useXDR&&void 0===a.status?200:1223===a.status?204:a.status;var r=g,i=null;return 0!==e?(r={body:n(),statusCode:e,method:p,headers:{},url:h,rawRequest:a},a.getAllResponseHeaders&&(r.headers=yr(a.getAllResponseHeaders()))):i=new Error("Internal XMLHttpRequest Error"),s(i,r,r.body)}}if(void 0===t.callback)throw new Error("callback argument missing");var o=!1,s=function(e,n,r){o||(o=!0,t.callback(e,n,r))},a=t.xhr||null;a||(a=t.cors||t.useXDR?new mt.XDomainRequest:new mt.XMLHttpRequest);var l,c,u,h=a.url=t.uri||t.url,p=a.method=t.method||"GET",d=t.body||t.data,f=a.headers=t.headers||{},v=!!t.sync,y=!1,g={body:void 0,headers:{},statusCode:0,method:p,url:h,rawRequest:a};if("json"in t&&!1!==t.json&&(y=!0,f.accept||f.Accept||(f.Accept="application/json"),"GET"!==p&&"HEAD"!==p&&(f["content-type"]||f["Content-Type"]||(f["Content-Type"]="application/json"),d=JSON.stringify(!0===t.json?d:t.json))),a.onreadystatechange=e,a.onload=i,a.onerror=r,a.onprogress=function(){},a.onabort=function(){c=!0},a.ontimeout=r,a.open(p,h,!v,t.username,t.password),v||(a.withCredentials=!!t.withCredentials),!v&&t.timeout>0&&(u=setTimeout(function(){if(!c){c=!0,a.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",r(t)}},t.timeout)),a.setRequestHeader)for(l in f)f.hasOwnProperty(l)&&a.setRequestHeader(l,f[l]);else if(t.headers&&!yt(t.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(a.responseType=t.responseType),"beforeSend"in t&&"function"==typeof t.beforeSend&&t.beforeSend(a),a.send(d||null),a}function bt(t){if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;return""!==t.responseType||e?null:t.responseXML}function Tt(){}function Ct(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function kt(t){function e(t,e,n,r){return 3600*(0|t)+60*(0|e)+(0|n)+(0|r)/1e3}var n=t.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return n?n[3]?e(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?e(n[1],n[2],0,n[4]):e(0,n[1],n[2],n[4]):null}function wt(){this.values=Or(null)}function Et(t,e,n,r){var i=r?t.split(r):[t];for(var o in i)if("string"==typeof i[o]){var s=i[o].split(n);if(2===s.length){var a=s[0],l=s[1];e(a,l)}}}function St(t,e,n){function r(){var e=kt(t);if(null===e)throw new Ct(Ct.Errors.BadTimeStamp,"Malformed timestamp: "+o);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function i(){t=t.replace(/^\s+/,"")}var o=t;if(i(),e.startTime=r(),i(),"--\x3e"!==t.substr(0,3))throw new Ct(Ct.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+o);t=t.substr(3),i(),e.endTime=r(),i(),function(t,e){var r=new wt;Et(t,function(t,e){switch(t){case"region":for(var i=n.length-1;i>=0;i--)if(n[i].id===e){r.set(t,n[i].region);break}break;case"vertical":r.alt(t,e,["rl","lr"]);break;case"line":var o=e.split(","),s=o[0];r.integer(t,s),r.percent(t,s)&&r.set("snapToLines",!1),r.alt(t,s,["auto"]),2===o.length&&r.alt("lineAlign",o[1],["start","middle","end"]);break;case"position":o=e.split(","),r.percent(t,o[0]),2===o.length&&r.alt("positionAlign",o[1],["start","middle","end"]);break;case"size":r.percent(t,e);break;case"align":r.alt(t,e,["start","middle","end","left","right"])}},/:/,/\s/),e.region=r.get("region",null),e.vertical=r.get("vertical",""),e.line=r.get("line","auto"),e.lineAlign=r.get("lineAlign","start"),e.snapToLines=r.get("snapToLines",!0),e.size=r.get("size",100),e.align=r.get("align","middle"),e.position=r.get("position",{start:0,left:0,middle:50,end:100,right:100},e.align),e.positionAlign=r.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},e.align)}(t,e)}function xt(t,e){function n(t){return Mr[t]}for(var r,i=t.document.createElement("div"),o=i,s=[];null!==(r=function(){if(!e)return null;var t=e.match(/^([^<]*)(<[^>]+>?)?/);return function(t){return e=e.substr(t.length),t}(t[1]?t[1]:t[2])}());)if("<"!==r[0])o.appendChild(t.document.createTextNode(function(t){for(;c=t.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)t=t.replace(c[0],n);return t}(r)));else{if("/"===r[1]){s.length&&s[s.length-1]===r.substr(2).replace(">","")&&(s.pop(),o=o.parentNode);continue}var a,l=kt(r.substr(1,r.length-2));if(l){a=t.document.createProcessingInstruction("timestamp",l),o.appendChild(a);continue}var c=r.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!c)continue;if(!(a=function(e,n){var r=Nr[e];if(!r)return null;var i=t.document.createElement(r);i.localName=r;var o=Ir[e];return o&&n&&(i[o]=n.trim()),i}(c[1],c[3])))continue;if(!function(t,e){return!Dr[e.localName]||Dr[e.localName]===t.localName}(o,a))continue;c[2]&&(a.className=c[2].substr(1).replace("."," ")),s.push(c[1]),o.appendChild(a),o=a}return i}function jt(t){for(var e=0;e<Lr.length;e++){var n=Lr[e];if(t>=n[0]&&t<=n[1])return!0}return!1}function At(t){function e(t,e){for(var n=e.childNodes.length-1;n>=0;n--)t.push(e.childNodes[n])}function n(t){if(!t||!t.length)return null;var r=t.pop(),i=r.textContent||r.innerText;if(i){var o=i.match(/^.*(\n|\r)/);return o?(t.length=0,o[0]):i}return"ruby"===r.tagName?n(t):r.childNodes?(e(t,r),n(t)):void 0}var r,i=[],o="";if(!t||!t.childNodes)return"ltr";for(e(i,t);o=n(i);)for(var s=0;s<o.length;s++)if(r=o.charCodeAt(s),jt(r))return"rtl";return"ltr"}function Pt(t){if("number"==typeof t.line&&(t.snapToLines||t.line>=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,n=e.textTrackList,r=0,i=0;i<n.length&&n[i]!==e;i++)"showing"===n[i].mode&&r++;return-1*++r}function Ot(){}function Mt(t,e,n){var r=/MSIE\s8\.0/.test(navigator.userAgent),i="rgba(255, 255, 255, 1)",o="rgba(0, 0, 0, 0.8)";r&&(i="rgb(255, 255, 255)",o="rgb(0, 0, 0)"),Ot.call(this),this.cue=e,this.cueDiv=xt(t,e.text);var s={color:i,backgroundColor:o,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};r||(s.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",s.unicodeBidi="plaintext"),this.applyStyles(s,this.cueDiv),this.div=t.document.createElement("div"),s={textAlign:"middle"===e.align?"center":e.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},r||(s.direction=At(this.cueDiv),s.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(s),this.div.appendChild(this.cueDiv);var a=0;switch(e.positionAlign){case"start":a=e.position;break;case"middle":a=e.position-e.size/2;break;case"end":a=e.position-e.size}""===e.vertical?this.applyStyles({left:this.formatStyle(a,"%"),width:this.formatStyle(e.size,"%")}):this.applyStyles({top:this.formatStyle(a,"%"),height:this.formatStyle(e.size,"%")}),this.move=function(t){this.applyStyles({top:this.formatStyle(t.top,"px"),bottom:this.formatStyle(t.bottom,"px"),left:this.formatStyle(t.left,"px"),right:this.formatStyle(t.right,"px"),height:this.formatStyle(t.height,"px"),width:this.formatStyle(t.width,"px")})}}function Nt(t){var e,n,r,i,o=/MSIE\s8\.0/.test(navigator.userAgent);if(t.div){n=t.div.offsetHeight,r=t.div.offsetWidth,i=t.div.offsetTop;var s=(s=t.div.childNodes)&&(s=s[0])&&s.getClientRects&&s.getClientRects();t=t.div.getBoundingClientRect(),e=s?Math.max(s[0]&&s[0].height||0,t.height/s.length):0}this.left=t.left,this.right=t.right,this.top=t.top||i,this.height=t.height||n,this.bottom=t.bottom||i+(t.height||n),this.width=t.width||r,this.lineHeight=void 0!==e?e:t.lineHeight,o&&!this.lineHeight&&(this.lineHeight=13)}function It(t,e,n,r){var i=new Nt(e),o=e.cue,s=Pt(o),a=[];if(o.snapToLines){var l;switch(o.vertical){case"":a=["+y","-y"],l="height";break;case"rl":a=["+x","-x"],l="width";break;case"lr":a=["-x","+x"],l="width"}var c=i.lineHeight,u=c*Math.round(s),h=n[l]+c,p=a[0];Math.abs(u)>h&&(u=u<0?-1:1,u*=Math.ceil(h/c)*c),s<0&&(u+=""===o.vertical?n.height:n.width,a=a.reverse()),i.move(p,u)}else{var d=i.lineHeight/n.height*100;switch(o.lineAlign){case"middle":s-=d/2;break;case"end":s-=d}switch(o.vertical){case"":e.applyStyles({top:e.formatStyle(s,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(s,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(s,"%")})}a=["+y","-x","+x","-y"],i=new Nt(e)}var f=function(t,e){for(var i,o=new Nt(t),s=1,a=0;a<e.length;a++){for(;t.overlapsOppositeAxis(n,e[a])||t.within(n)&&t.overlapsAny(r);)t.move(e[a]);if(t.within(n))return t;var l=t.intersectPercentage(n);s>l&&(i=new Nt(t),s=l),t=new Nt(o)}return i||o}(i,a);e.move(f.toCSSCompatValues(n))}function Dt(){}function Lt(t){return"string"==typeof t&&(!!Fr[t.toLowerCase()]&&t.toLowerCase())}function Rt(t){return"string"==typeof t&&(!!Hr[t.toLowerCase()]&&t.toLowerCase())}function Bt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function Ft(t,e,n){var r=this,i=/MSIE\s8\.0/.test(navigator.userAgent),o={};i?r=document.createElement("custom"):o.enumerable=!0,r.hasBeenReset=!1;var s="",a=!1,l=t,c=e,u=n,h=null,p="",d=!0,f="auto",v="start",y=50,g="middle",m=50,_="middle";if(Object.defineProperty(r,"id",Bt({},o,{get:function(){return s},set:function(t){s=""+t}})),Object.defineProperty(r,"pauseOnExit",Bt({},o,{get:function(){return a},set:function(t){a=!!t}})),Object.defineProperty(r,"startTime",Bt({},o,{get:function(){return l},set:function(t){if("number"!=typeof t)throw new TypeError("Start time must be set to a number.");l=t,this.hasBeenReset=!0}})),Object.defineProperty(r,"endTime",Bt({},o,{get:function(){return c},set:function(t){if("number"!=typeof t)throw new TypeError("End time must be set to a number.");c=t,this.hasBeenReset=!0}})),Object.defineProperty(r,"text",Bt({},o,{get:function(){return u},set:function(t){u=""+t,this.hasBeenReset=!0}})),Object.defineProperty(r,"region",Bt({},o,{get:function(){return h},set:function(t){h=t,this.hasBeenReset=!0}})),Object.defineProperty(r,"vertical",Bt({},o,{get:function(){return p},set:function(t){var e=Lt(t);if(!1===e)throw new SyntaxError("An invalid or illegal string was specified.");p=e,this.hasBeenReset=!0}})),Object.defineProperty(r,"snapToLines",Bt({},o,{get:function(){return d},set:function(t){d=!!t,this.hasBeenReset=!0}})),Object.defineProperty(r,"line",Bt({},o,{get:function(){return f},set:function(t){if("number"!=typeof t&&t!==Br)throw new SyntaxError("An invalid number or illegal string was specified.");f=t,this.hasBeenReset=!0}})),Object.defineProperty(r,"lineAlign",Bt({},o,{get:function(){return v},set:function(t){var e=Rt(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");v=e,this.hasBeenReset=!0}})),Object.defineProperty(r,"position",Bt({},o,{get:function(){return y},set:function(t){if(t<0||t>100)throw new Error("Position must be between 0 and 100.");y=t,this.hasBeenReset=!0}})),Object.defineProperty(r,"positionAlign",Bt({},o,{get:function(){return g},set:function(t){var e=Rt(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");g=e,this.hasBeenReset=!0}})),Object.defineProperty(r,"size",Bt({},o,{get:function(){return m},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");m=t,this.hasBeenReset=!0}})),Object.defineProperty(r,"align",Bt({},o,{get:function(){return _},set:function(t){var e=Rt(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");_=e,this.hasBeenReset=!0}})),r.displayState=void 0,i)return r}function Ht(t){return"string"==typeof t&&(!!zr[t.toLowerCase()]&&t.toLowerCase())}function Vt(t){return"number"==typeof t&&t>=0&&t<=100}function zt(){var t=100,e=3,n=0,r=100,i=0,o=100,s="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!Vt(e))throw new Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return e},set:function(t){if("number"!=typeof t)throw new TypeError("Lines must be set to a number.");e=t}},regionAnchorY:{enumerable:!0,get:function(){return r},set:function(t){if(!Vt(t))throw new Error("RegionAnchorX must be between 0 and 100.");r=t}},regionAnchorX:{enumerable:!0,get:function(){return n},set:function(t){if(!Vt(t))throw new Error("RegionAnchorY must be between 0 and 100.");n=t}},viewportAnchorY:{enumerable:!0,get:function(){return o},set:function(t){if(!Vt(t))throw new Error("ViewportAnchorY must be between 0 and 100.");o=t}},viewportAnchorX:{enumerable:!0,get:function(){return i},set:function(t){if(!Vt(t))throw new Error("ViewportAnchorX must be between 0 and 100.");i=t}},scroll:{enumerable:!0,get:function(){return s},set:function(t){var e=Ht(t);if(!1===e)throw new SyntaxError("An invalid or illegal string was specified.");s=e}}})}function Wt(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=t.textTracks();i.kind=e,n&&(i.label=n),r&&(i.language=r),i.tech=t;var s=new Pr.text.TrackClass(i);return o.addTrack(s),s}function Ut(t,e){qr[t]=qr[t]||[],qr[t].push(e)}function Xt(t,e,n){t.setTimeout(function(){return te(e,qr[e.type],n,t)},1)}function qt(t,e){t.forEach(function(t){return t.setTech&&t.setTech(e)})}function Kt(t,e,n){return t.reduceRight($t(n),e[n]())}function Yt(t,e,n,r){return e[n](t.reduce($t(n),r))}function Gt(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i="call"+Q(n),o=t.reduce($t(i),r),s=o===Yr,a=s?null:e[n](o);return Jt(t,n,a,s),a}function $t(t){return function(e,n){return e===Yr?Yr:n[t]?n[t](e):e}}function Jt(t,e,n,r){for(var i=t.length-1;i>=0;i--){var o=t[i];o[e]&&o[e](r,n)}}function Qt(t){Kr[t.id()]=null}function Zt(t,e){var n=Kr[t.id()],r=null;if(void 0===n||null===n)return r=e(t),Kr[t.id()]=[[e,r]],r;for(var i=0;i<n.length;i++){var o=n[i],s=o[0],a=o[1];s===e&&(r=a)}return null===r&&(r=e(t),n.push([e,r])),r}function te(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2],i=arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=e[0],l=e.slice(1);if("string"==typeof a)te(t,qr[a],n,i,o,s);else if(a){var c=Zt(i,a);c.setSource(r({},t),function(e,r){if(e)return te(t,l,n,i,o,s);o.push(c),te(r,t.type===r.type?l:qr[r.type],n,i,o,s)})}else l.length?te(t,l,n,i,o,s):s?n(t,o):te(t,qr["*"],n,i,o,!0)}function ee(t,e){return"rgba("+parseInt(t[1]+t[1],16)+","+parseInt(t[2]+t[2],16)+","+parseInt(t[3]+t[3],16)+","+e+")"}function ne(t,e,n){try{t.style[e]=n}catch(t){return}}function re(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;t=t<0?0:t;var n=Math.floor(t%60),r=Math.floor(t/60%60),i=Math.floor(t/3600),o=Math.floor(e/60%60),s=Math.floor(e/3600);return(isNaN(t)||t===1/0)&&(i=r=n="-"),i=i>0||s>0?i+":":"",r=((i||o>=10)&&r<10?"0"+r:r)+":",n=n<10?"0"+n:n,i+r+n}function ie(t,e){if(e&&(t=e(t)),t&&"none"!==t)return t}function oe(t,e){return ie(t.options[t.options.selectedIndex].value,e)}function se(t,e,n){if(e)for(var r=0;r<t.options.length;r++)if(ie(t.options[r].value,n)===e){t.selectedIndex=r;break}}function ae(t,e,n){var r=ae.getPlayer(t);if(r)return e&&Qe.warn('Player "'+t+'" is already initialised. Options will not be applied.'),n&&r.ready(n),r;var o="string"==typeof t?en("#"+Io(t)):t;if(!p(o))throw new TypeError("The element or ID supplied is not valid. (videojs)");ge.body.contains(o)||Qe.warn("The element supplied is not included in the DOM"),e=e||{},ae.hooks("beforesetup").forEach(function(t){var n=t(o,tt(e));if(!i(n)||Array.isArray(n))return void Qe.error("please return an object in beforesetup hooks");e=tt(e,n)});var s=An.getComponent("Player");return r=new s(o,e,n),ae.hooks("setup").forEach(function(t){return t(r)}),r}var le,ce="6.7.3",ue="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};le="undefined"!=typeof window?window:void 0!==ue?ue:"undefined"!=typeof self?self:{};var he,pe=le,de={},fe=(Object.freeze||Object)({default:de}),ve=fe&&de||fe,ye=void 0!==ue?ue:"undefined"!=typeof window?window:{};"undefined"!=typeof document?he=document:(he=ye["__GLOBAL_DOCUMENT_CACHE@4"])||(he=ye["__GLOBAL_DOCUMENT_CACHE@4"]=ve);var ge=he,me=pe.navigator&&pe.navigator.userAgent||"",_e=/AppleWebKit\/([\d.]+)/i.exec(me),be=_e?parseFloat(_e.pop()):null,Te=/iPad/i.test(me),Ce=/iPhone/i.test(me)&&!Te,ke=/iPod/i.test(me),we=Ce||Te||ke,Ee=function(){var t=me.match(/OS (\d+)_/i);return t&&t[1]?t[1]:null}(),Se=/Android/i.test(me),xe=function(){var t=me.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!t)return null;var e=t[1]&&parseFloat(t[1]),n=t[2]&&parseFloat(t[2]);return e&&n?parseFloat(t[1]+"."+t[2]):e||null}(),je=Se&&/webkit/i.test(me)&&xe<2.3,Ae=Se&&xe<5&&be<537,Pe=/Firefox/i.test(me),Oe=/Edge/i.test(me),Me=!Oe&&/Chrome/i.test(me),Ne=function(){var t=me.match(/Chrome\/(\d+)/);return t&&t[1]?parseFloat(t[1]):null}(),Ie=/MSIE\s8\.0/.test(me),De=function(){var t=/MSIE\s(\d+)\.\d/.exec(me),e=t&&parseFloat(t[1]);return!e&&/Trident\/7.0/i.test(me)&&/rv:11.0/.test(me)&&(e=11),e}(),Le=/Safari/i.test(me)&&!Me&&!Se&&!Oe,Re=Le||we,Be=h()&&("ontouchstart"in pe||pe.DocumentTouch&&pe.document instanceof pe.DocumentTouch),Fe=h()&&"backgroundSize"in pe.document.createElement("video").style,He=(Object.freeze||Object)({IS_IPAD:Te,IS_IPHONE:Ce,IS_IPOD:ke,IS_IOS:we,IOS_VERSION:Ee,IS_ANDROID:Se,ANDROID_VERSION:xe,IS_OLD_ANDROID:je,IS_NATIVE_ANDROID:Ae,IS_FIREFOX:Pe,IS_EDGE:Oe,IS_CHROME:Me,CHROME_VERSION:Ne,IS_IE8:Ie,IE_VERSION:De,IS_SAFARI:Le,IS_ANY_SAFARI:Re,TOUCH_ENABLED:Be,BACKGROUND_SIZE_SUPPORTED:Fe}),Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ze=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},We=function(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)},Ue=function(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},Xe=function(t,e){return t.raw=e,t},qe=Object.prototype.toString,Ke=function(t){return i(t)?Object.keys(t):[]},Ye=void 0,Ge="info",$e=[],Je=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:!!De&&De<11,r=Ye.levels[Ge],o=new RegExp("^("+r+")$");if("log"!==t&&e.unshift(t.toUpperCase()+":"),$e&&$e.push([].concat(e)),e.unshift("VIDEOJS:"),pe.console){var s=pe.console[t];s||"debug"!==t||(s=pe.console.info||pe.console.log),s&&r&&o.test(t)&&(n&&(e=e.map(function(t){if(i(t)||Array.isArray(t))try{return JSON.stringify(t)}catch(e){return String(t)}return String(t)}).join(" ")),s.apply?s[Array.isArray(e)?"apply":"call"](pe.console,e):s(e))}};Ye=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];Je("log",e)},Ye.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:Ge},Ye.level=function(t){if("string"==typeof t){if(!Ye.levels.hasOwnProperty(t))throw new Error('"'+t+'" in not a valid log level');Ge=t}return Ge},Ye.history=function(){return $e?[].concat($e):[]},Ye.history.clear=function(){$e&&($e.length=0)},Ye.history.disable=function(){null!==$e&&($e.length=0,$e=null)},Ye.history.enable=function(){null===$e&&($e=[])},Ye.error=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return Je("error",e)},Ye.warn=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return Je("warn",e)},Ye.debug=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return Je("debug",e)};var Qe=Ye,Ze=function(t){for(var e="",n=0;n<arguments.length;n++)e+=s(t[n])+(arguments[n+1]||"");return e },tn=Xe(["Setting attributes in the second argument of createEl()\n has been deprecated. Use the third argument instead.\n createEl(type, properties, attributes). Attempting to set "," to ","."],["Setting attributes in the second argument of createEl()\n has been deprecated. Use the third argument instead.\n createEl(type, properties, attributes). Attempting to set "," to ","."]),en=f("querySelector"),nn=f("querySelectorAll"),rn=(Object.freeze||Object)({isReal:h,isEl:p,isInFrame:d,createEl:v,textContent:y,prependTo:g,hasClass:m,addClass:_,removeClass:b,toggleClass:T,setAttributes:C,getAttributes:k,getAttribute:w,setAttribute:E,removeAttribute:S,blockTextSelection:x,unblockTextSelection:j,getBoundingClientRect:A,findPosition:P,getPointerPosition:O,isTextNode:M,emptyEl:N,normalizeContent:I,appendContent:D,insertContent:L,isSingleLeftClick:R,$:en,$$:nn}),on=1,sn={},an="vdata"+(new Date).getTime(),ln=!1;!function(){try{var t=Object.defineProperty({},"passive",{get:function(){ln=!0}});pe.addEventListener("test",null,t),pe.removeEventListener("test",null,t)}catch(t){}}();var cn=["touchstart","touchmove"],un=(Object.freeze||Object)({fixEvent:U,on:X,off:q,trigger:K,one:Y}),hn=!1,pn=void 0,dn=function(){if(h()){var t=ge.getElementsByTagName("video"),e=ge.getElementsByTagName("audio"),n=ge.getElementsByTagName("video-js"),r=[];if(t&&t.length>0)for(var i=0,o=t.length;i<o;i++)r.push(t[i]);if(e&&e.length>0)for(var s=0,a=e.length;s<a;s++)r.push(e[s]);if(n&&n.length>0)for(var l=0,c=n.length;l<c;l++)r.push(n[l]);if(r&&r.length>0)for(var u=0,p=r.length;u<p;u++){var d=r[u];if(!d||!d.getAttribute){G(1);break}if(void 0===d.player){var f=d.getAttribute("data-setup");null!==f&&pn(d)}}else hn||G(1)}};h()&&"complete"===ge.readyState?hn=!0:Y(pe,"load",function(){hn=!0});var fn=function(t){var e=ge.createElement("style");return e.className=t,e},vn=function(t,e){t.styleSheet?t.styleSheet.cssText=e:t.textContent=e},yn=function(t,e,n){e.guid||(e.guid=B());var r=function(){return e.apply(t,arguments)};return r.guid=n?n+"_"+e.guid:e.guid,r},gn=function(t,e){var n=Date.now();return function(){var r=Date.now();r-n>=e&&(t.apply(void 0,arguments),n=r)}},mn=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:pe,i=void 0;return function(){var o=this,s=arguments,a=function(){i=null,a=null,n||t.apply(o,s)};!i&&n&&t.apply(o,s),r.clearTimeout(i),i=r.setTimeout(a,e)}},_n=function(){};_n.prototype.allowedEvents_={},_n.prototype.on=function(t,e){var n=this.addEventListener;this.addEventListener=function(){},X(this,t,e),this.addEventListener=n},_n.prototype.addEventListener=_n.prototype.on,_n.prototype.off=function(t,e){q(this,t,e)},_n.prototype.removeEventListener=_n.prototype.off,_n.prototype.one=function(t,e){var n=this.addEventListener;this.addEventListener=function(){},Y(this,t,e),this.addEventListener=n},_n.prototype.trigger=function(t){var e=t.type||t;"string"==typeof t&&(t={type:e}),t=U(t),this.allowedEvents_[e]&&this["on"+e]&&this["on"+e](t),K(this,t)},_n.prototype.dispatchEvent=_n.prototype.trigger;var bn=function(t){return t instanceof _n||!!t.eventBusEl_&&["on","one","off","trigger"].every(function(e){return"function"==typeof t[e]})},Tn=function(t){return"string"==typeof t&&/\S/.test(t)||Array.isArray(t)&&!!t.length},Cn=function(t){if(!t.nodeName&&!bn(t))throw new Error("Invalid target; must be a DOM node or evented object.")},kn=function(t){if(!Tn(t))throw new Error("Invalid event type; must be a non-empty string or array.")},wn=function(t){if("function"!=typeof t)throw new Error("Invalid listener; must be a function.")},En=function(t,e){var n=e.length<3||e[0]===t||e[0]===t.eventBusEl_,r=void 0,i=void 0,o=void 0;return n?(r=t.eventBusEl_,e.length>=3&&e.shift(),i=e[0],o=e[1]):(r=e[0],i=e[1],o=e[2]),Cn(r),kn(i),wn(o),o=yn(t,o),{isTargetingSelf:n,target:r,type:i,listener:o}},Sn=function(t,e,n,r){Cn(t),t.nodeName?un[e](t,n,r):t[e](n,r)},xn={on:function(){for(var t=this,e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=En(this,n),o=i.isTargetingSelf,s=i.target,a=i.type,l=i.listener;if(Sn(s,"on",a,l),!o){var c=function(){return t.off(s,a,l)};c.guid=l.guid;var u=function(){return t.off("dispose",c)};u.guid=l.guid,Sn(this,"on","dispose",c),Sn(s,"on","dispose",u)}},one:function(){for(var t=this,e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=En(this,n),o=i.isTargetingSelf,s=i.target,a=i.type,l=i.listener;if(o)Sn(s,"one",a,l);else{var c=function e(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];t.off(s,a,e),l.apply(null,r)};c.guid=l.guid,Sn(s,"one",a,c)}},off:function(t,e,n){if(!t||Tn(t))q(this.eventBusEl_,t,e);else{var r=t,i=e;Cn(r),kn(i),wn(n),n=yn(this,n),this.off("dispose",n),r.nodeName?(q(r,i,n),q(r,"dispose",n)):bn(r)&&(r.off(i,n),r.off("dispose",n))}},trigger:function(t,e){return K(this.eventBusEl_,t,e)}},jn={state:{},setState:function(t){var n=this;"function"==typeof t&&(t=t());var r=void 0;return e(t,function(t,e){n.state[e]!==t&&(r=r||{},r[e]={from:n.state[e],to:t}),n.state[e]=t}),r&&bn(this)&&this.trigger({changes:r,type:"statechanged"}),r}},An=function(){function t(e,n,r){if(ze(this,t),!e&&this.play?this.player_=e=this:this.player_=e,this.options_=tt({},this.options_),n=this.options_=tt(this.options_,n),this.id_=n.id||n.el&&n.el.id,!this.id_){var i=e&&e.id&&e.id()||"no_player";this.id_=i+"_component_"+B()}this.name_=n.name||null,n.el?this.el_=n.el:!1!==n.createEl&&(this.el_=this.createEl()),!1!==n.evented&&$(this,{eventBusKey:this.el_?"el_":null}),J(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},!1!==n.initChildren&&this.initChildren(),this.ready(r),!1!==n.reportTouchActivity&&this.enableTouchActivity()}return t.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var t=this.children_.length-1;t>=0;t--)this.children_[t].dispose&&this.children_[t].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.el_&&(this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),V(this.el_),this.el_=null),this.player_=null},t.prototype.player=function(){return this.player_},t.prototype.options=function(t){return Qe.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),t?(this.options_=tt(this.options_,t),this.options_):this.options_},t.prototype.el=function(){return this.el_},t.prototype.createEl=function(t,e,n){return v(t,e,n)},t.prototype.localize=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=this.player_.language&&this.player_.language(),i=this.player_.languages&&this.player_.languages(),o=i&&i[r],s=r&&r.split("-")[0],a=i&&i[s],l=n;return o&&o[t]?l=o[t]:a&&a[t]&&(l=a[t]),e&&(l=l.replace(/\{(\d+)\}/g,function(t,n){var r=e[n-1],i=r;return void 0===r&&(i=t),i})),l},t.prototype.contentEl=function(){return this.contentEl_||this.el_},t.prototype.id=function(){return this.id_},t.prototype.name=function(){return this.name_},t.prototype.children=function(){return this.children_},t.prototype.getChildById=function(t){return this.childIndex_[t]},t.prototype.getChild=function(t){if(t)return t=Q(t),this.childNameIndex_[t]},t.prototype.addChild=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.children_.length,i=void 0,o=void 0;if("string"==typeof e){o=Q(e);var s=n.componentClass||o;n.name=o;var a=t.getComponent(s);if(!a)throw new Error("Component "+s+" does not exist");if("function"!=typeof a)return null;i=new a(this.player_||this,n)}else i=e;if(this.children_.splice(r,0,i),"function"==typeof i.id&&(this.childIndex_[i.id()]=i),o=o||i.name&&Q(i.name()),o&&(this.childNameIndex_[o]=i),"function"==typeof i.el&&i.el()){var l=this.contentEl().children,c=l[r]||null;this.contentEl().insertBefore(i.el(),c)}return i},t.prototype.removeChild=function(t){if("string"==typeof t&&(t=this.getChild(t)),t&&this.children_){for(var e=!1,n=this.children_.length-1;n>=0;n--)if(this.children_[n]===t){e=!0,this.children_.splice(n,1);break}if(e){this.childIndex_[t.id()]=null,this.childNameIndex_[t.name()]=null;var r=t.el();r&&r.parentNode===this.contentEl()&&this.contentEl().removeChild(t.el())}}},t.prototype.initChildren=function(){var e=this,n=this.options_.children;if(n){var r=this.options_,i=function(t){var n=t.name,i=t.opts;if(void 0!==r[n]&&(i=r[n]),!1!==i){!0===i&&(i={}),i.playerOptions=e.options_.playerOptions;var o=e.addChild(n,i);o&&(e[n]=o)}},o=void 0,s=t.getComponent("Tech");o=Array.isArray(n)?n:Object.keys(n),o.concat(Object.keys(this.options_).filter(function(t){return!o.some(function(e){return"string"==typeof e?t===e:t===e.name})})).map(function(t){var r=void 0,i=void 0;return"string"==typeof t?(r=t,i=n[r]||e.options_[r]||{}):(r=t.name,i=t),{name:r,opts:i}}).filter(function(e){var n=t.getComponent(e.opts.componentClass||Q(e.name));return n&&!s.isTech(n)}).forEach(i)}},t.prototype.buildCSSClass=function(){return""},t.prototype.ready=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return this.isReady_?void(e?t.call(this):this.setTimeout(t,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(t))},t.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var t=this.readyQueue_;this.readyQueue_=[],t&&t.length>0&&t.forEach(function(t){t.call(this)},this),this.trigger("ready")},1)},t.prototype.$=function(t,e){return en(t,e||this.contentEl())},t.prototype.$$=function(t,e){return nn(t,e||this.contentEl())},t.prototype.hasClass=function(t){return m(this.el_,t)},t.prototype.addClass=function(t){_(this.el_,t)},t.prototype.removeClass=function(t){b(this.el_,t)},t.prototype.toggleClass=function(t,e){T(this.el_,t,e)},t.prototype.show=function(){this.removeClass("vjs-hidden")},t.prototype.hide=function(){this.addClass("vjs-hidden")},t.prototype.lockShowing=function(){this.addClass("vjs-lock-showing")},t.prototype.unlockShowing=function(){this.removeClass("vjs-lock-showing")},t.prototype.getAttribute=function(t){return w(this.el_,t)},t.prototype.setAttribute=function(t,e){E(this.el_,t,e)},t.prototype.removeAttribute=function(t){S(this.el_,t)},t.prototype.width=function(t,e){return this.dimension("width",t,e)},t.prototype.height=function(t,e){return this.dimension("height",t,e)},t.prototype.dimensions=function(t,e){this.width(t,!0),this.height(e)},t.prototype.dimension=function(t,e,n){if(void 0!==e)return null!==e&&e===e||(e=0),-1!==(""+e).indexOf("%")||-1!==(""+e).indexOf("px")?this.el_.style[t]=e:this.el_.style[t]="auto"===e?"":e+"px",void(n||this.trigger("componentresize"));if(!this.el_)return 0;var r=this.el_.style[t],i=r.indexOf("px");return-1!==i?parseInt(r.slice(0,i),10):parseInt(this.el_["offset"+Q(t)],10)},t.prototype.currentDimension=function(t){var e=0;if("width"!==t&&"height"!==t)throw new Error("currentDimension only accepts width or height value");if("function"==typeof pe.getComputedStyle){var n=pe.getComputedStyle(this.el_);e=n.getPropertyValue(t)||n[t]}if(0===(e=parseFloat(e))){var r="offset"+Q(t);e=this.el_[r]}return e},t.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},t.prototype.currentWidth=function(){return this.currentDimension("width")},t.prototype.currentHeight=function(){return this.currentDimension("height")},t.prototype.focus=function(){this.el_.focus()},t.prototype.blur=function(){this.el_.blur()},t.prototype.emitTapEvents=function(){var t=0,e=null,n=void 0;this.on("touchstart",function(r){1===r.touches.length&&(e={pageX:r.touches[0].pageX,pageY:r.touches[0].pageY},t=(new Date).getTime(),n=!0)}),this.on("touchmove",function(t){if(t.touches.length>1)n=!1;else if(e){var r=t.touches[0].pageX-e.pageX,i=t.touches[0].pageY-e.pageY,o=Math.sqrt(r*r+i*i);o>10&&(n=!1)}});var r=function(){n=!1};this.on("touchleave",r),this.on("touchcancel",r),this.on("touchend",function(r){if(e=null,!0===n){(new Date).getTime()-t<200&&(r.preventDefault(),this.trigger("tap"))}})},t.prototype.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var t=yn(this.player(),this.player().reportUserActivity),e=void 0;this.on("touchstart",function(){t(),this.clearInterval(e),e=this.setInterval(t,250)});var n=function(n){t(),this.clearInterval(e)};this.on("touchmove",t),this.on("touchend",n),this.on("touchcancel",n)}},t.prototype.setTimeout=function(t,e){var n=this;t=yn(this,t);var r=pe.setTimeout(t,e),i=function(){return n.clearTimeout(r)};return i.guid="vjs-timeout-"+r,this.on("dispose",i),r},t.prototype.clearTimeout=function(t){pe.clearTimeout(t);var e=function(){};return e.guid="vjs-timeout-"+t,this.off("dispose",e),t},t.prototype.setInterval=function(t,e){var n=this;t=yn(this,t);var r=pe.setInterval(t,e),i=function(){return n.clearInterval(r)};return i.guid="vjs-interval-"+r,this.on("dispose",i),r},t.prototype.clearInterval=function(t){pe.clearInterval(t);var e=function(){};return e.guid="vjs-interval-"+t,this.off("dispose",e),t},t.prototype.requestAnimationFrame=function(t){var e=this;if(this.supportsRaf_){t=yn(this,t);var n=pe.requestAnimationFrame(t),r=function(){return e.cancelAnimationFrame(n)};return r.guid="vjs-raf-"+n,this.on("dispose",r),n}return this.setTimeout(t,1e3/60)},t.prototype.cancelAnimationFrame=function(t){if(this.supportsRaf_){pe.cancelAnimationFrame(t);var e=function(){};return e.guid="vjs-raf-"+t,this.off("dispose",e),t}return this.clearTimeout(t)},t.registerComponent=function(e,n){if("string"!=typeof e||!e)throw new Error('Illegal component name, "'+e+'"; must be a non-empty string.');var r=t.getComponent("Tech"),i=r&&r.isTech(n),o=t===n||t.prototype.isPrototypeOf(n.prototype);if(i||!o){var s=void 0;throw s=i?"techs must be registered using Tech.registerTech()":"must be a Component subclass",new Error('Illegal component, "'+e+'"; '+s+".")}e=Q(e),t.components_||(t.components_={});var a=t.getComponent("Player");if("Player"===e&&a&&a.players){var l=a.players,c=Object.keys(l);if(l&&c.length>0&&c.map(function(t){return l[t]}).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return t.components_[e]=n,n},t.getComponent=function(e){if(e)return e=Q(e),t.components_&&t.components_[e]?t.components_[e]:void 0},t}();An.prototype.supportsRaf_="function"==typeof pe.requestAnimationFrame&&"function"==typeof pe.cancelAnimationFrame,An.registerComponent("Component",An);for(var Pn={},On=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],Mn=On[0],Nn=void 0,In=0;In<On.length;In++)if(On[In][1]in ge){Nn=On[In];break}if(Nn)for(var Dn=0;Dn<Nn.length;Dn++)Pn[Mn[Dn]]=Nn[Dn];st.prototype.code=0,st.prototype.message="",st.prototype.status=null,st.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],st.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var Ln=0;Ln<st.errorTypes.length;Ln++)st[st.errorTypes[Ln]]=Ln,st.prototype[st.errorTypes[Ln]]=Ln;var Rn=at,Bn=function(t){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(e,n,r){return t[n]&&(e[n]=t[n]),e},{cues:t.cues&&Array.prototype.map.call(t.cues,function(t){return{startTime:t.startTime,endTime:t.endTime,text:t.text,id:t.id}})})},Fn=function(t){var e=t.$$("track"),n=Array.prototype.map.call(e,function(t){return t.track});return Array.prototype.map.call(e,function(t){var e=Bn(t.track);return t.src&&(e.src=t.src),e}).concat(Array.prototype.filter.call(t.textTracks(),function(t){return-1===n.indexOf(t)}).map(Bn))},Hn=function(t,e){return t.forEach(function(t){var n=e.addRemoteTextTrack(t).track;!t.src&&t.cues&&t.cues.forEach(function(t){return n.addCue(t)})}),e.textTracks()},Vn={textTracksToJson:Fn,jsonToTextTracks:Hn,trackToJson_:Bn},zn="vjs-modal-dialog",Wn=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.opened_=i.hasBeenOpened_=i.hasBeenFilled_=!1,i.closeable(!i.options_.uncloseable),i.content(i.options_.content),i.contentEl_=v("div",{className:zn+"-content"},{role:"document"}),i.descEl_=v("p",{className:zn+"-description vjs-control-text",id:i.el().getAttribute("aria-describedby")}),y(i.descEl_,i.description()),i.el_.appendChild(i.descEl_),i.el_.appendChild(i.contentEl_),i}return We(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},e.prototype.dispose=function(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,t.prototype.dispose.call(this)},e.prototype.buildCSSClass=function(){return zn+" vjs-hidden "+t.prototype.buildCSSClass.call(this)},e.prototype.handleKeyPress=function(t){27===t.which&&this.closeable()&&this.close()},e.prototype.label=function(){return this.localize(this.options_.label||"Modal Window")},e.prototype.description=function(){var t=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(t+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),t},e.prototype.open=function(){if(!this.opened_){var t=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!t.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&t.pause(),this.closeable()&&this.on(this.el_.ownerDocument,"keydown",yn(this,this.handleKeyPress)),this.hadControls_=t.controls(),t.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}},e.prototype.opened=function(t){return"boolean"==typeof t&&this[t?"open":"close"](),this.opened_},e.prototype.close=function(){if(this.opened_){var t=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&t.play(),this.closeable()&&this.off(this.el_.ownerDocument,"keydown",yn(this,this.handleKeyPress)),this.hadControls_&&t.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}},e.prototype.closeable=function(t){if("boolean"==typeof t){var e=this.closeable_=!!t,n=this.getChild("closeButton");if(e&&!n){var r=this.contentEl_;this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=r,this.on(n,"close",this.close)}!e&&n&&(this.off(n,"close",this.close),this.removeChild(n),n.dispose())}return this.closeable_},e.prototype.fill=function(){this.fillWith(this.content())},e.prototype.fillWith=function(t){var e=this.contentEl(),n=e.parentNode,r=e.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(e),this.empty(),L(e,t),this.trigger("modalfill"),r?n.insertBefore(e,r):n.appendChild(e);var i=this.getChild("closeButton");i&&n.appendChild(i.el_)},e.prototype.empty=function(){this.trigger("beforemodalempty"),N(this.contentEl()),this.trigger("modalempty")},e.prototype.content=function(t){return void 0!==t&&(this.content_=t),this.content_},e.prototype.conditionalFocus_=function(){var t=ge.activeElement,e=this.player_.el_;this.previouslyActiveEl_=null,(e.contains(t)||e===t)&&(this.previouslyActiveEl_=t,this.focus(),this.on(ge,"keydown",this.handleKeyDown))},e.prototype.conditionalBlur_=function(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null),this.off(ge,"keydown",this.handleKeyDown)},e.prototype.handleKeyDown=function(t){if(9===t.which){for(var e=this.focusableEls_(),n=this.el_.querySelector(":focus"),r=void 0,i=0;i<e.length;i++)if(n===e[i]){r=i;break}ge.activeElement===this.el_&&(r=0),t.shiftKey&&0===r?(e[e.length-1].focus(),t.preventDefault()):t.shiftKey||r!==e.length-1||(e[0].focus(),t.preventDefault())}},e.prototype.focusableEls_=function(){var t=this.el_.querySelectorAll("*");return Array.prototype.filter.call(t,function(t){return(t instanceof pe.HTMLAnchorElement||t instanceof pe.HTMLAreaElement)&&t.hasAttribute("href")||(t instanceof pe.HTMLInputElement||t instanceof pe.HTMLSelectElement||t instanceof pe.HTMLTextAreaElement||t instanceof pe.HTMLButtonElement)&&!t.hasAttribute("disabled")||t instanceof pe.HTMLIFrameElement||t instanceof pe.HTMLObjectElement||t instanceof pe.HTMLEmbedElement||t.hasAttribute("tabindex")&&-1!==t.getAttribute("tabindex")||t.hasAttribute("contenteditable")})},e}(An);Wn.prototype.options_={pauseOnOpen:!0,temporary:!0},An.registerComponent("ModalDialog",Wn);var Un=function(t){function e(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;ze(this,e);var o=Ue(this,t.call(this));if(!i&&(i=o,Ie)){i=ge.createElement("custom");for(var s in e.prototype)"constructor"!==s&&(i[s]=e.prototype[s])}i.tracks_=[],Object.defineProperty(i,"length",{get:function(){return this.tracks_.length}});for(var a=0;a<r.length;a++)i.addTrack(r[a]);return n=i,Ue(o,n)}return We(e,t),e.prototype.addTrack=function(t){var e=this.tracks_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.tracks_[e]}}),-1===this.tracks_.indexOf(t)&&(this.tracks_.push(t),this.trigger({track:t,type:"addtrack"}))},e.prototype.removeTrack=function(t){for(var e=void 0,n=0,r=this.length;n<r;n++)if(this[n]===t){e=this[n],e.off&&e.off(),this.tracks_.splice(n,1);break}e&&this.trigger({track:e,type:"removetrack"})},e.prototype.getTrackById=function(t){for(var e=null,n=0,r=this.length;n<r;n++){var i=this[n];if(i.id===t){e=i;break}}return e},e}(_n);Un.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"};for(var Xn in Un.prototype.allowedEvents_)Un.prototype["on"+Xn]=null;var qn=function(t,e){for(var n=0;n<t.length;n++)Object.keys(t[n]).length&&e.id!==t[n].id&&(t[n].enabled=!1)},Kn=function(t){function e(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];ze(this,e);for(var o=void 0,s=i.length-1;s>=0;s--)if(i[s].enabled){qn(i,i[s]);break}if(Ie){o=ge.createElement("custom");for(var a in Un.prototype)"constructor"!==a&&(o[a]=Un.prototype[a]);for(var l in e.prototype)"constructor"!==l&&(o[l]=e.prototype[l])}return o=n=Ue(this,t.call(this,i,o)),o.changing_=!1,r=o,Ue(n,r)}return We(e,t),e.prototype.addTrack=function(e){var n=this;e.enabled&&qn(this,e),t.prototype.addTrack.call(this,e),e.addEventListener&&e.addEventListener("enabledchange",function(){n.changing_||(n.changing_=!0,qn(n,e),n.changing_=!1,n.trigger("change"))})},e}(Un),Yn=function(t,e){for(var n=0;n<t.length;n++)Object.keys(t[n]).length&&e.id!==t[n].id&&(t[n].selected=!1)},Gn=function(t){function e(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];ze(this,e);for(var o=void 0,s=i.length-1;s>=0;s--)if(i[s].selected){Yn(i,i[s]);break}if(Ie){o=ge.createElement("custom");for(var a in Un.prototype)"constructor"!==a&&(o[a]=Un.prototype[a]);for(var l in e.prototype)"constructor"!==l&&(o[l]=e.prototype[l])}return o=n=Ue(this,t.call(this,i,o)),o.changing_=!1,Object.defineProperty(o,"selectedIndex",{get:function(){for(var t=0;t<this.length;t++)if(this[t].selected)return t;return-1},set:function(){}}),r=o,Ue(n,r)}return We(e,t),e.prototype.addTrack=function(e){var n=this;e.selected&&Yn(this,e),t.prototype.addTrack.call(this,e),e.addEventListener&&e.addEventListener("selectedchange",function(){n.changing_||(n.changing_=!0,Yn(n,e),n.changing_=!1,n.trigger("change"))})},e}(Un),$n=function(t){function e(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];ze(this,e);var o=void 0;if(Ie){o=ge.createElement("custom");for(var s in Un.prototype)"constructor"!==s&&(o[s]=Un.prototype[s]);for(var a in e.prototype)"constructor"!==a&&(o[a]=e.prototype[a])}return o=n=Ue(this,t.call(this,i,o)),r=o,Ue(n,r)}return We(e,t),e.prototype.addTrack=function(e){t.prototype.addTrack.call(this,e),e.addEventListener("modechange",yn(this,function(){this.trigger("change")})),-1===["metadata","chapters"].indexOf(e.kind)&&e.addEventListener("modechange",yn(this,function(){this.trigger("selectedlanguagechange")}))},e}(Un),Jn=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];ze(this,t);var n=this;if(Ie){n=ge.createElement("custom");for(var r in t.prototype)"constructor"!==r&&(n[r]=t.prototype[r])}n.trackElements_=[],Object.defineProperty(n,"length",{get:function(){return this.trackElements_.length}});for(var i=0,o=e.length;i<o;i++)n.addTrackElement_(e[i]);if(Ie)return n}return t.prototype.addTrackElement_=function(t){var e=this.trackElements_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.trackElements_[e]}}),-1===this.trackElements_.indexOf(t)&&this.trackElements_.push(t)},t.prototype.getTrackElementByTrack_=function(t){for(var e=void 0,n=0,r=this.trackElements_.length;n<r;n++)if(t===this.trackElements_[n].track){e=this.trackElements_[n];break}return e},t.prototype.removeTrackElement_=function(t){for(var e=0,n=this.trackElements_.length;e<n;e++)if(t===this.trackElements_[e]){this.trackElements_.splice(e,1);break}},t}(),Qn=function(){function t(e){ze(this,t);var n=this;if(Ie){n=ge.createElement("custom");for(var r in t.prototype)"constructor"!==r&&(n[r]=t.prototype[r])}if(t.prototype.setCues_.call(n,e),Object.defineProperty(n,"length",{get:function(){return this.length_}}),Ie)return n}return t.prototype.setCues_=function(t){var e=this.length||0,n=0,r=t.length;this.cues_=t,this.length_=t.length;var i=function(t){""+t in this||Object.defineProperty(this,""+t,{get:function(){return this.cues_[t]}})};if(e<r)for(n=e;n<r;n++)i.call(this,n)},t.prototype.getCueById=function(t){for(var e=null,n=0,r=this.length;n<r;n++){var i=this[n];if(i.id===t){e=i;break}}return e},t}(),Zn={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},tr={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},er={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},nr={disabled:"disabled",hidden:"hidden",showing:"showing"},rr=function(t){function e(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ze(this,e);var i=Ue(this,t.call(this)),o=i;if(Ie){o=ge.createElement("custom");for(var s in e.prototype)"constructor"!==s&&(o[s]=e.prototype[s])}var a={id:r.id||"vjs_track_"+B(),kind:r.kind||"",label:r.label||"",language:r.language||""};for(var l in a)!function(t){Object.defineProperty(o,t,{get:function(){return a[t]},set:function(){}})}(l);return n=o,Ue(i,n)}return We(e,t),e}(_n),ir=function(t){var e=["protocol","hostname","port","pathname","search","hash","host"],n=ge.createElement("a");n.href=t;var r=""===n.host&&"file:"!==n.protocol,i=void 0;r&&(i=ge.createElement("div"),i.innerHTML='<a href="'+t+'"></a>',n=i.firstChild,i.setAttribute("style","display:none; position:absolute;"),ge.body.appendChild(i));for(var o={},s=0;s<e.length;s++)o[e[s]]=n[e[s]];return"http:"===o.protocol&&(o.host=o.host.replace(/:80$/,"")),"https:"===o.protocol&&(o.host=o.host.replace(/:443$/,"")),o.protocol||(o.protocol=pe.location.protocol),r&&ge.body.removeChild(i),o},or=function(t){if(!t.match(/^https?:\/\//)){var e=ge.createElement("div");e.innerHTML='<a href="'+t+'">x</a>',t=e.firstChild.href}return t},sr=function(t){if("string"==typeof t){var e=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i,n=e.exec(t);if(n)return n.pop().toLowerCase()}return""},ar=function(t){var e=pe.location,n=ir(t);return(":"===n.protocol?e.protocol:n.protocol)+n.host!==e.protocol+e.host},lr=(Object.freeze||Object)({parseUrl:ir,getAbsoluteURL:or,getFileExtension:sr,isCrossOrigin:ar}),cr=ut,ur=Object.prototype.toString,hr=t(function(t,e){function n(t){return t.replace(/^\s*|\s*$/g,"")}e=t.exports=n,e.left=function(t){return t.replace(/^\s*/,"")},e.right=function(t){return t.replace(/\s*$/,"")}}),pr=ht,dr=Object.prototype.toString,fr=Object.prototype.hasOwnProperty,vr=function(t){return"[object Array]"===Object.prototype.toString.call(t)},yr=function(t){if(!t)return{};var e={};return pr(hr(t).split("\n"),function(t){var n=t.indexOf(":"),r=hr(t.slice(0,n)).toLowerCase(),i=hr(t.slice(n+1));void 0===e[r]?e[r]=i:vr(e[r])?e[r].push(i):e[r]=[e[r],i]}),e},gr=vt,mr=Object.prototype.hasOwnProperty,_r=mt;mt.XMLHttpRequest=pe.XMLHttpRequest||Tt,mt.XDomainRequest="withCredentials"in new mt.XMLHttpRequest?mt.XMLHttpRequest:pe.XDomainRequest,function(t,e){for(var n=0;n<t.length;n++)e(t[n])}(["get","put","post","patch","head","delete"],function(t){mt["delete"===t?"del":t]=function(e,n,r){return n=gt(e,n,r),n.method=t.toUpperCase(),_t(n)}});var br=function(t,e){var n=new pe.WebVTT.Parser(pe,pe.vttjs,pe.WebVTT.StringDecoder()),r=[];n.oncue=function(t){e.addCue(t)},n.onparsingerror=function(t){r.push(t)},n.onflush=function(){e.trigger({type:"loadeddata",target:e})},n.parse(t),r.length>0&&(pe.console&&pe.console.groupCollapsed&&pe.console.groupCollapsed("Text Track parsing errors for "+e.src),r.forEach(function(t){return Qe.error(t)}),pe.console&&pe.console.groupEnd&&pe.console.groupEnd()),n.flush()},Tr=function(t,e){var n={uri:t},r=ar(t);r&&(n.cors=r),_r(n,yn(this,function(t,n,r){if(t)return Qe.error(t,n);if(e.loaded_=!0,"function"!=typeof pe.WebVTT){if(e.tech_){var i=function(){return br(r,e)};e.tech_.on("vttjsloaded",i),e.tech_.on("vttjserror",function(){Qe.error("vttjs failed to load, stopping trying to process "+e.src),e.tech_.off("vttjsloaded",i)})}}else br(r,e)}))},Cr=function(t){function e(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(ze(this,e),!i.tech)throw new Error("A tech was not provided.");var o=tt(i,{kind:er[i.kind]||"subtitles",language:i.language||i.srclang||""}),s=nr[o.mode]||"disabled",a=o.default;"metadata"!==o.kind&&"chapters"!==o.kind||(s="hidden");var l=n=Ue(this,t.call(this,o));if(l.tech_=o.tech,Ie)for(var c in e.prototype)"constructor"!==c&&(l[c]=e.prototype[c]);l.cues_=[],l.activeCues_=[];var u=new Qn(l.cues_),h=new Qn(l.activeCues_),p=!1,d=yn(l,function(){this.activeCues,p&&(this.trigger("cuechange"),p=!1)});return"disabled"!==s&&l.tech_.ready(function(){l.tech_.on("timeupdate",d)},!0),Object.defineProperty(l,"default",{get:function(){return a},set:function(){}}),Object.defineProperty(l,"mode",{get:function(){return s},set:function(t){var e=this;nr[t]&&(s=t,"showing"===s&&this.tech_.ready(function(){e.tech_.on("timeupdate",d)},!0),this.trigger("modechange"))}}),Object.defineProperty(l,"cues",{get:function(){return this.loaded_?u:null},set:function(){}}),Object.defineProperty(l,"activeCues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return h ;for(var t=this.tech_.currentTime(),e=[],n=0,r=this.cues.length;n<r;n++){var i=this.cues[n];i.startTime<=t&&i.endTime>=t?e.push(i):i.startTime===i.endTime&&i.startTime<=t&&i.startTime+.5>=t&&e.push(i)}if(p=!1,e.length!==this.activeCues_.length)p=!0;else for(var o=0;o<e.length;o++)-1===this.activeCues_.indexOf(e[o])&&(p=!0);return this.activeCues_=e,h.setCues_(this.activeCues_),h},set:function(){}}),o.src?(l.src=o.src,Tr(o.src,l)):l.loaded_=!0,r=l,Ue(n,r)}return We(e,t),e.prototype.addCue=function(t){var e=t;if(pe.vttjs&&!(t instanceof pe.vttjs.VTTCue)){e=new pe.vttjs.VTTCue(t.startTime,t.endTime,t.text);for(var n in t)n in e||(e[n]=t[n]);e.id=t.id,e.originalCue_=t}for(var r=this.tech_.textTracks(),i=0;i<r.length;i++)r[i]!==this&&r[i].removeCue(e);this.cues_.push(e),this.cues.setCues_(this.cues_)},e.prototype.removeCue=function(t){for(var e=this.cues_.length;e--;){var n=this.cues_[e];if(n===t||n.originalCue_&&n.originalCue_===t){this.cues_.splice(e,1),this.cues.setCues_(this.cues_);break}}},e}(rr);Cr.prototype.allowedEvents_={cuechange:"cuechange"};var kr=function(t){function e(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ze(this,e);var o=tt(i,{kind:tr[i.kind]||""}),s=n=Ue(this,t.call(this,o)),a=!1;if(Ie)for(var l in e.prototype)"constructor"!==l&&(s[l]=e.prototype[l]);return Object.defineProperty(s,"enabled",{get:function(){return a},set:function(t){"boolean"==typeof t&&t!==a&&(a=t,this.trigger("enabledchange"))}}),o.enabled&&(s.enabled=o.enabled),s.loaded_=!0,r=s,Ue(n,r)}return We(e,t),e}(rr),wr=function(t){function e(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ze(this,e);var o=tt(i,{kind:Zn[i.kind]||""}),s=n=Ue(this,t.call(this,o)),a=!1;if(Ie)for(var l in e.prototype)"constructor"!==l&&(s[l]=e.prototype[l]);return Object.defineProperty(s,"selected",{get:function(){return a},set:function(t){"boolean"==typeof t&&t!==a&&(a=t,this.trigger("selectedchange"))}}),o.selected&&(s.selected=o.selected),r=s,Ue(n,r)}return We(e,t),e}(rr),Er=0,Sr=2,xr=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ze(this,e);var r=Ue(this,t.call(this)),i=void 0,o=r;if(Ie){o=ge.createElement("custom");for(var s in e.prototype)"constructor"!==s&&(o[s]=e.prototype[s])}var a=new Cr(n);if(o.kind=a.kind,o.src=a.src,o.srclang=a.language,o.label=a.label,o.default=a.default,Object.defineProperty(o,"readyState",{get:function(){return i}}),Object.defineProperty(o,"track",{get:function(){return a}}),i=Er,a.addEventListener("loadeddata",function(){i=Sr,o.trigger({type:"load",target:o})}),Ie){var l;return l=o,Ue(r,l)}return r}return We(e,t),e}(_n);xr.prototype.allowedEvents_={load:"load"},xr.NONE=Er,xr.LOADING=1,xr.LOADED=Sr,xr.ERROR=3;var jr={audio:{ListClass:Kn,TrackClass:kr,capitalName:"Audio"},video:{ListClass:Gn,TrackClass:wr,capitalName:"Video"},text:{ListClass:$n,TrackClass:Cr,capitalName:"Text"}};Object.keys(jr).forEach(function(t){jr[t].getterName=t+"Tracks",jr[t].privateName=t+"Tracks_"});var Ar={remoteText:{ListClass:$n,TrackClass:Cr,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:Jn,TrackClass:xr,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},Pr=tt(jr,Ar);Ar.names=Object.keys(Ar),jr.names=Object.keys(jr),Pr.names=[].concat(Ar.names).concat(jr.names);var Or=Object.create||function(){function t(){}return function(e){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return t.prototype=e,new t}}();Ct.prototype=Or(Error.prototype),Ct.prototype.constructor=Ct,Ct.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},wt.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,n){return n?this.has(t)?this.values[t]:e[n]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,n){for(var r=0;r<n.length;++r)if(e===n[r]){this.set(t,e);break}},integer:function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},percent:function(t,e){return!!(e.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(e=parseFloat(e))>=0&&e<=100)&&(this.set(t,e),!0)}};var Mr={"&amp;":"&","&lt;":"<","&gt;":">","&lrm;":"‎","&rlm;":"‏","&nbsp;":" "},Nr={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},Ir={v:"title",lang:"lang"},Dr={rt:"ruby"},Lr=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];Ot.prototype.applyStyles=function(t,e){e=e||this.div;for(var n in t)t.hasOwnProperty(n)&&(e.style[n]=t[n])},Ot.prototype.formatStyle=function(t,e){return 0===t?0:t+e},Mt.prototype=Or(Ot.prototype),Mt.prototype.constructor=Mt,Nt.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},Nt.prototype.overlaps=function(t){return this.left<t.right&&this.right>t.left&&this.top<t.bottom&&this.bottom>t.top},Nt.prototype.overlapsAny=function(t){for(var e=0;e<t.length;e++)if(this.overlaps(t[e]))return!0;return!1},Nt.prototype.within=function(t){return this.top>=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},Nt.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.left<t.left;case"-x":return this.right>t.right;case"+y":return this.top<t.top;case"-y":return this.bottom>t.bottom}},Nt.prototype.intersectPercentage=function(t){return Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left))*Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top))/(this.height*this.width)},Nt.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},Nt.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,n=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,r=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;return t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t,{left:t.left,right:t.right,top:t.top||r,height:t.height||e,bottom:t.bottom||r+(t.height||e),width:t.width||n}},Dt.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!=typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},Dt.convertCueToDOMTree=function(t,e){return t&&e?xt(t,e):null};Dt.processCues=function(t,e,n){if(!t||!e||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var r=t.document.createElement("div");if(r.style.position="absolute",r.style.left="0",r.style.right="0",r.style.top="0",r.style.bottom="0",r.style.margin="1.5%",n.appendChild(r),function(t){for(var e=0;e<t.length;e++)if(t[e].hasBeenReset||!t[e].displayState)return!0;return!1}(e)){var i=[],o=Nt.getSimpleBoxPosition(r),s=Math.round(.05*o.height*100)/100,a={font:s+"px sans-serif"};!function(){for(var n,s,l=0;l<e.length;l++)s=e[l],n=new Mt(t,s,a),r.appendChild(n.div),It(t,n,o,i),s.displayState=n.div,i.push(Nt.getSimpleBoxPosition(n))}()}else for(var l=0;l<e.length;l++)r.appendChild(e[l].displayState)},Dt.Parser=function(t,e,n){n||(n=e,e={}),e||(e={}),this.window=t,this.vttjs=e,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},Dt.Parser.prototype={reportOrThrowError:function(t){if(!(t instanceof Ct))throw t;this.onparsingerror&&this.onparsingerror(t)},parse:function(t){function e(){for(var t=i.buffer,e=0;e<t.length&&"\r"!==t[e]&&"\n"!==t[e];)++e;var n=t.substr(0,e);return"\r"===t[e]&&++e,"\n"===t[e]&&++e,i.buffer=t.substr(e),n}function n(t){var e=new wt;if(Et(t,function(t,n){switch(t){case"id":e.set(t,n);break;case"width":e.percent(t,n);break;case"lines":e.integer(t,n);break;case"regionanchor":case"viewportanchor":var r=n.split(",");if(2!==r.length)break;var i=new wt;if(i.percent("x",r[0]),i.percent("y",r[1]),!i.has("x")||!i.has("y"))break;e.set(t+"X",i.get("x")),e.set(t+"Y",i.get("y"));break;case"scroll":e.alt(t,n,["up"])}},/=/,/\s/),e.has("id")){var n=new(i.vttjs.VTTRegion||i.window.VTTRegion);n.width=e.get("width",100),n.lines=e.get("lines",3),n.regionAnchorX=e.get("regionanchorX",0),n.regionAnchorY=e.get("regionanchorY",100),n.viewportAnchorX=e.get("viewportanchorX",0),n.viewportAnchorY=e.get("viewportanchorY",100),n.scroll=e.get("scroll",""),i.onregion&&i.onregion(n),i.regionList.push({id:e.get("id"),region:n})}}function r(t){var e=new wt;Et(t,function(t,n){switch(t){case"MPEGT":e.integer(t+"S",n);break;case"LOCA":e.set(t+"L",kt(n))}},/[^\d]:/,/,/),i.ontimestampmap&&i.ontimestampmap({MPEGTS:e.get("MPEGTS"),LOCAL:e.get("LOCAL")})}var i=this;t&&(i.buffer+=i.decoder.decode(t,{stream:!0}));try{var o;if("INITIAL"===i.state){if(!/\r\n|\n/.test(i.buffer))return this;o=e();var s=o.match(/^WEBVTT([ \t].*)?$/);if(!s||!s[0])throw new Ct(Ct.Errors.BadSignature);i.state="HEADER"}for(var a=!1;i.buffer;){if(!/\r\n|\n/.test(i.buffer))return this;switch(a?a=!1:o=e(),i.state){case"HEADER":/:/.test(o)?function(t){t.match(/X-TIMESTAMP-MAP/)?Et(t,function(t,e){switch(t){case"X-TIMESTAMP-MAP":r(e)}},/=/):Et(t,function(t,e){switch(t){case"Region":n(e)}},/:/)}(o):o||(i.state="ID");continue;case"NOTE":o||(i.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(o)){i.state="NOTE";break}if(!o)continue;if(i.cue=new(i.vttjs.VTTCue||i.window.VTTCue)(0,0,""),i.state="CUE",-1===o.indexOf("--\x3e")){i.cue.id=o;continue}case"CUE":try{St(o,i.cue,i.regionList)}catch(t){i.reportOrThrowError(t),i.cue=null,i.state="BADCUE";continue}i.state="CUETEXT";continue;case"CUETEXT":var l=-1!==o.indexOf("--\x3e");if(!o||l&&(a=!0)){i.oncue&&i.oncue(i.cue),i.cue=null,i.state="ID";continue}i.cue.text&&(i.cue.text+="\n"),i.cue.text+=o;continue;case"BADCUE":o||(i.state="ID");continue}}}catch(t){i.reportOrThrowError(t),"CUETEXT"===i.state&&i.cue&&i.oncue&&i.oncue(i.cue),i.cue=null,i.state="INITIAL"===i.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var t=this;try{if(t.buffer+=t.decoder.decode(),(t.cue||"HEADER"===t.state)&&(t.buffer+="\n\n",t.parse()),"INITIAL"===t.state)throw new Ct(Ct.Errors.BadSignature)}catch(e){t.reportOrThrowError(e)}return t.onflush&&t.onflush(),this}};var Rr=Dt,Br="auto",Fr={"":!0,lr:!0,rl:!0},Hr={start:!0,middle:!0,end:!0,left:!0,right:!0};Ft.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)};var Vr=Ft,zr={"":!0,up:!0},Wr=zt,Ur=t(function(t){var e=t.exports={WebVTT:Rr,VTTCue:Vr,VTTRegion:Wr};pe.vttjs=e,pe.WebVTT=e.WebVTT;var n=e.VTTCue,r=e.VTTRegion,i=pe.VTTCue,o=pe.VTTRegion;e.shim=function(){pe.VTTCue=n,pe.VTTRegion=r},e.restore=function(){pe.VTTCue=i,pe.VTTRegion=o},pe.VTTCue||e.shim()}),Xr=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};ze(this,e),n.reportTouchActivity=!1;var i=Ue(this,t.call(this,null,n,r));return i.hasStarted_=!1,i.on("playing",function(){this.hasStarted_=!0}),i.on("loadstart",function(){this.hasStarted_=!1}),Pr.names.forEach(function(t){var e=Pr[t];n&&n[e.getterName]&&(i[e.privateName]=n[e.getterName])}),i.featuresProgressEvents||i.manualProgressOn(),i.featuresTimeupdateEvents||i.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(function(t){!1===n["native"+t+"Tracks"]&&(i["featuresNative"+t+"Tracks"]=!1)}),!1===n.nativeCaptions||!1===n.nativeTextTracks?i.featuresNativeTextTracks=!1:!0!==n.nativeCaptions&&!0!==n.nativeTextTracks||(i.featuresNativeTextTracks=!0),i.featuresNativeTextTracks||i.emulateTextTracks(),i.autoRemoteTextTracks_=new Pr.text.ListClass,i.initTrackListeners(),n.nativeControlsForTouch||i.emitTapEvents(),i.constructor&&(i.name_=i.constructor.name||"Unknown Tech"),i}return We(e,t),e.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},e.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},e.prototype.trackProgress=function(t){this.stopTrackingProgress(),this.progressInterval=this.setInterval(yn(this,function(){var t=this.bufferedPercent();this.bufferedPercent_!==t&&this.trigger("progress"),this.bufferedPercent_=t,1===t&&this.stopTrackingProgress()}),500)},e.prototype.onDurationChange=function(t){this.duration_=this.duration()},e.prototype.buffered=function(){return it(0,0)},e.prototype.bufferedPercent=function(){return ot(this.buffered(),this.duration_)},e.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},e.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},e.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},e.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},e.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},e.prototype.dispose=function(){this.clearTracks(jr.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),t.prototype.dispose.call(this)},e.prototype.clearTracks=function(t){var e=this;t=[].concat(t),t.forEach(function(t){for(var n=e[t+"Tracks"]()||[],r=n.length;r--;){var i=n[r];"text"===t&&e.removeRemoteTextTrack(i),n.removeTrack(i)}})},e.prototype.cleanupAutoTextTracks=function(){for(var t=this.autoRemoteTextTracks_||[],e=t.length;e--;){var n=t[e];this.removeRemoteTextTrack(n)}},e.prototype.reset=function(){},e.prototype.error=function(t){return void 0!==t&&(this.error_=new st(t),this.trigger("error")),this.error_},e.prototype.played=function(){return this.hasStarted_?it(0,0):it()},e.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},e.prototype.initTrackListeners=function(){var t=this;jr.names.forEach(function(e){var n=jr[e],r=function(){t.trigger(e+"trackchange")},i=t[n.getterName]();i.addEventListener("removetrack",r),i.addEventListener("addtrack",r),t.on("dispose",function(){i.removeEventListener("removetrack",r),i.removeEventListener("addtrack",r)})})},e.prototype.addWebVttScript_=function(){var t=this;if(!pe.WebVTT)if(ge.body.contains(this.el())){if(!this.options_["vtt.js"]&&o(Ur)&&Object.keys(Ur).length>0)return void this.trigger("vttjsloaded");var e=ge.createElement("script");e.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.12.4/vtt.min.js",e.onload=function(){t.trigger("vttjsloaded")},e.onerror=function(){t.trigger("vttjserror")},this.on("dispose",function(){e.onload=null,e.onerror=null}),pe.WebVTT=!0,this.el().parentNode.appendChild(e)}else this.ready(this.addWebVttScript_)},e.prototype.emulateTextTracks=function(){var t=this,e=this.textTracks(),n=this.remoteTextTracks(),r=function(t){return e.addTrack(t.track)},i=function(t){return e.removeTrack(t.track)};n.on("addtrack",r),n.on("removetrack",i),this.addWebVttScript_();var o=function(){return t.trigger("texttrackchange")},s=function(){o();for(var t=0;t<e.length;t++){var n=e[t];n.removeEventListener("cuechange",o),"showing"===n.mode&&n.addEventListener("cuechange",o)}};s(),e.addEventListener("change",s),e.addEventListener("addtrack",s),e.addEventListener("removetrack",s),this.on("dispose",function(){n.off("addtrack",r),n.off("removetrack",i),e.removeEventListener("change",s),e.removeEventListener("addtrack",s),e.removeEventListener("removetrack",s);for(var t=0;t<e.length;t++){e[t].removeEventListener("cuechange",o)}})},e.prototype.addTextTrack=function(t,e,n){if(!t)throw new Error("TextTrack kind is required but was not provided");return Wt(this,t,e,n)},e.prototype.createRemoteTextTrack=function(t){var e=tt(t,{tech:this});return new Ar.remoteTextEl.TrackClass(e)},e.prototype.addRemoteTextTrack=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1],r=this.createRemoteTextTrack(e);return!0!==n&&!1!==n&&(Qe.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),n=!0),this.remoteTextTrackEls().addTrackElement_(r),this.remoteTextTracks().addTrack(r.track),!0!==n&&this.ready(function(){return t.autoRemoteTextTracks_.addTrack(r.track)}),r},e.prototype.removeRemoteTextTrack=function(t){var e=this.remoteTextTrackEls().getTrackElementByTrack_(t);this.remoteTextTrackEls().removeTrackElement_(e),this.remoteTextTracks().removeTrack(t),this.autoRemoteTextTracks_.removeTrack(t)},e.prototype.getVideoPlaybackQuality=function(){return{}},e.prototype.setPoster=function(){},e.prototype.playsinline=function(){},e.prototype.setPlaysinline=function(){},e.prototype.canPlayType=function(){return""},e.canPlayType=function(){return""},e.canPlaySource=function(t,n){return e.canPlayType(t.type)},e.isTech=function(t){return t.prototype instanceof e||t instanceof e||t===e},e.registerTech=function(t,n){if(e.techs_||(e.techs_={}),!e.isTech(n))throw new Error("Tech "+t+" must be a Tech");if(!e.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!e.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return t=Q(t),e.techs_[t]=n,"Tech"!==t&&e.defaultTechOrder_.push(t),n},e.getTech=function(t){if(t)return t=Q(t),e.techs_&&e.techs_[t]?e.techs_[t]:pe&&pe.videojs&&pe.videojs[t]?(Qe.warn("The "+t+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),pe.videojs[t]):void 0},e}(An);Pr.names.forEach(function(t){var e=Pr[t];Xr.prototype[e.getterName]=function(){return this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName]}}),Xr.prototype.featuresVolumeControl=!0,Xr.prototype.featuresFullscreenResize=!1,Xr.prototype.featuresPlaybackRate=!1,Xr.prototype.featuresProgressEvents=!1,Xr.prototype.featuresTimeupdateEvents=!1,Xr.prototype.featuresNativeTextTracks=!1,Xr.withSourceHandlers=function(t){t.registerSourceHandler=function(e,n){var r=t.sourceHandlers;r||(r=t.sourceHandlers=[]),void 0===n&&(n=r.length),r.splice(n,0,e)},t.canPlayType=function(e){for(var n=t.sourceHandlers||[],r=void 0,i=0;i<n.length;i++)if(r=n[i].canPlayType(e))return r;return""},t.selectSourceHandler=function(e,n){for(var r=t.sourceHandlers||[],i=0;i<r.length;i++)if(r[i].canHandleSource(e,n))return r[i];return null},t.canPlaySource=function(e,n){var r=t.selectSourceHandler(e,n);return r?r.canHandleSource(e,n):""},["seekable","duration"].forEach(function(t){var e=this[t];"function"==typeof e&&(this[t]=function(){return this.sourceHandler_&&this.sourceHandler_[t]?this.sourceHandler_[t].apply(this.sourceHandler_,arguments):e.apply(this,arguments)})},t.prototype),t.prototype.setSource=function(e){var n=t.selectSourceHandler(e,this.options_);n||(t.nativeSourceHandler?n=t.nativeSourceHandler:Qe.error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),n!==t.nativeSourceHandler&&(this.currentSource_=e),this.sourceHandler_=n.handleSource(e,this,this.options_),this.on("dispose",this.disposeSourceHandler)},t.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},An.registerComponent("Tech",Xr),Xr.registerTech("Tech",Xr),Xr.defaultTechOrder_=[];var qr={},Kr={},Yr={},Gr={buffered:1,currentTime:1,duration:1,seekable:1,played:1,paused:1},$r={setCurrentTime:1},Jr={play:1,pause:1},Qr=function t(e){if(Array.isArray(e)){var n=[];e.forEach(function(e){e=t(e),Array.isArray(e)?n=n.concat(e):i(e)&&n.push(e)}),e=n}else e="string"==typeof e&&e.trim()?[{src:e}]:i(e)&&"string"==typeof e.src&&e.src&&e.src.trim()?[e]:[];return e},Zr=function(t){function e(n,r,i){ze(this,e);var o=tt({createEl:!1},r),s=Ue(this,t.call(this,n,o,i));if(r.playerOptions.sources&&0!==r.playerOptions.sources.length)n.src(r.playerOptions.sources);else for(var a=0,l=r.playerOptions.techOrder;a<l.length;a++){var c=Q(l[a]),u=Xr.getTech(c);if(c||(u=An.getComponent(c)),u&&u.isSupported()){n.loadTech_(c);break}}return s}return We(e,t),e}(An);An.registerComponent("MediaLoader",Zr);var ti=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.emitTapEvents(),i.enable(),i}return We(e,t),e.prototype.createEl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n=r({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass(),tabIndex:0},n),"button"===e&&Qe.error("Creating a ClickableComponent with an HTML element of "+e+" is not supported; use a Button instead."),i=r({role:"button","aria-live":"polite"},i),this.tabIndex_=n.tabIndex;var o=t.prototype.createEl.call(this,e,n,i);return this.createControlTextEl(o),o},e.prototype.dispose=function(){this.controlTextEl_=null,t.prototype.dispose.call(this)},e.prototype.createControlTextEl=function(t){return this.controlTextEl_=v("span",{className:"vjs-control-text"}),t&&t.appendChild(this.controlTextEl_),this.controlText(this.controlText_,t),this.controlTextEl_},e.prototype.controlText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.el();if(void 0===t)return this.controlText_||"Need Text";var n=this.localize(t);this.controlText_=t,y(this.controlTextEl_,n),this.nonIconControl||e.setAttribute("title",n)},e.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+t.prototype.buildCSSClass.call(this)},e.prototype.enable=function(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),void 0!==this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur))},e.prototype.disable=function(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),void 0!==this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off(["tap","click"],this.handleClick),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur)},e.prototype.handleClick=function(t){},e.prototype.handleFocus=function(t){X(ge,"keydown",yn(this,this.handleKeyPress))},e.prototype.handleKeyPress=function(e){32===e.which||13===e.which?(e.preventDefault(),this.trigger("click")):t.prototype.handleKeyPress&&t.prototype.handleKeyPress.call(this,e)},e.prototype.handleBlur=function(t){q(ge,"keydown",yn(this,this.handleKeyPress))},e}(An);An.registerComponent("ClickableComponent",ti);var ei=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.update(),n.on("posterchange",yn(i,i.update)),i}return We(e,t),e.prototype.dispose=function(){this.player().off("posterchange",this.update),t.prototype.dispose.call(this)},e.prototype.createEl=function(){var t=v("div",{className:"vjs-poster",tabIndex:-1});return Fe||(this.fallbackImg_=v("img"),t.appendChild(this.fallbackImg_)),t},e.prototype.update=function(t){var e=this.player().poster();this.setSrc(e),e?this.show():this.hide()},e.prototype.setSrc=function(t){if(this.fallbackImg_)this.fallbackImg_.src=t;else{var e="";t&&(e='url("'+t+'")'),this.el_.style.backgroundImage=e}},e.prototype.handleClick=function(t){this.player_.controls()&&(this.player_.paused()?this.player_.play():this.player_.pause())},e}(ti);An.registerComponent("PosterImage",ei);var ni={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'},ri=function(t){function e(n,r,i){ze(this,e);var o=Ue(this,t.call(this,n,r,i));return n.on("loadstart",yn(o,o.toggleDisplay)),n.on("texttrackchange",yn(o,o.updateDisplay)),n.on("loadstart",yn(o,o.preselectTrack)),n.ready(yn(o,function(){if(n.tech_&&n.tech_.featuresNativeTextTracks)return void this.hide();n.on("fullscreenchange",yn(this,this.updateDisplay));for(var t=this.options_.playerOptions.tracks||[],e=0;e<t.length;e++)this.player_.addRemoteTextTrack(t[e],!0);this.preselectTrack()})),o}return We(e,t),e.prototype.preselectTrack=function(){for(var t={captions:1,subtitles:1},e=this.player_.textTracks(),n=this.player_.cache_.selectedLanguage,r=void 0,i=void 0,o=void 0,s=0;s<e.length;s++){var a=e[s];n&&n.enabled&&n.language===a.language?a.kind===n.kind?o=a:o||(o=a):n&&!n.enabled?(o=null,r=null,i=null):a.default&&("descriptions"!==a.kind||r?a.kind in t&&!i&&(i=a):r=a)}o?o.mode="showing":i?i.mode="showing":r&&(r.mode="showing")},e.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"off","aria-atomic":"true"})},e.prototype.clearDisplay=function(){"function"==typeof pe.WebVTT&&pe.WebVTT.processCues(pe,[],this.el_)},e.prototype.updateDisplay=function(){var t=this.player_.textTracks();this.clearDisplay();for(var e=null,n=null,r=t.length;r--;){var i=t[r];"showing"===i.mode&&("descriptions"===i.kind?e=i:n=i)}n?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(n)):e&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(e))},e.prototype.updateForTrack=function(t){if("function"==typeof pe.WebVTT&&t.activeCues){for(var e=this.player_.textTrackSettings.getValues(),n=[],r=0;r<t.activeCues.length;r++)n.push(t.activeCues[r]);pe.WebVTT.processCues(pe,n,this.el_);for(var i=n.length;i--;){var o=n[i];if(o){var s=o.displayState;if(e.color&&(s.firstChild.style.color=e.color),e.textOpacity&&ne(s.firstChild,"color",ee(e.color||"#fff",e.textOpacity)),e.backgroundColor&&(s.firstChild.style.backgroundColor=e.backgroundColor),e.backgroundOpacity&&ne(s.firstChild,"backgroundColor",ee(e.backgroundColor||"#000",e.backgroundOpacity)),e.windowColor&&(e.windowOpacity?ne(s,"backgroundColor",ee(e.windowColor,e.windowOpacity)):s.style.backgroundColor=e.windowColor),e.edgeStyle&&("dropshadow"===e.edgeStyle?s.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px #222":"raised"===e.edgeStyle?s.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px #222":"depressed"===e.edgeStyle?s.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px #222":"uniform"===e.edgeStyle&&(s.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px #222")),e.fontPercent&&1!==e.fontPercent){var a=pe.parseFloat(s.style.fontSize);s.style.fontSize=a*e.fontPercent+"px",s.style.height="auto",s.style.top="auto",s.style.bottom="2px"}e.fontFamily&&"default"!==e.fontFamily&&("small-caps"===e.fontFamily?s.firstChild.style.fontVariant="small-caps":s.firstChild.style.fontFamily=ni[e.fontFamily])}}}},e}(An);An.registerComponent("TextTrackDisplay",ri);var ii=function(t){function e(){return ze(this,e),Ue(this,t.apply(this,arguments))}return We(e,t),e.prototype.createEl=function(){var e=this.player_.isAudio(),n=this.localize(e?"Audio Player":"Video Player"),r=v("span",{className:"vjs-control-text",innerHTML:this.localize("{1} is loading.",[n])}),i=t.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"});return i.appendChild(r),i},e}(An);An.registerComponent("LoadingSpinner",ii);var oi=function(t){function e(){return ze(this,e),Ue(this,t.apply(this,arguments))}return We(e,t),e.prototype.createEl=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t="button",e=r({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass()},e),n=r({type:"button","aria-live":"polite"},n);var i=An.prototype.createEl.call(this,t,e,n);return this.createControlTextEl(i),i},e.prototype.addChild=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.constructor.name;return Qe.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),An.prototype.addChild.call(this,t,e)},e.prototype.enable=function(){t.prototype.enable.call(this),this.el_.removeAttribute("disabled")},e.prototype.disable=function(){t.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},e.prototype.handleKeyPress=function(e){32!==e.which&&13!==e.which&&t.prototype.handleKeyPress.call(this,e)},e}(ti);An.registerComponent("Button",oi);var si=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.mouseused_=!1,i.on("mousedown",i.handleMouseDown),i}return We(e,t),e.prototype.buildCSSClass=function(){return"vjs-big-play-button"},e.prototype.handleClick=function(t){var e=this.player_.play();if(!(this.mouseused_&&t.clientX&&t.clientY)){var n=this.player_.getChild("controlBar"),r=n&&n.getChild("playToggle");if(!r)return void this.player_.focus();var i=function(){return r.focus()};lt(e)?e.then(i,function(){}):this.setTimeout(i,1)}},e.prototype.handleKeyPress=function(e){this.mouseused_=!1,t.prototype.handleKeyPress.call(this,e)},e.prototype.handleMouseDown=function(t){this.mouseused_=!0},e}(oi);si.prototype.controlText_="Play Video",An.registerComponent("BigPlayButton",si);var ai=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.controlText(r&&r.controlText||i.localize("Close")),i}return We(e,t),e.prototype.buildCSSClass=function(){return"vjs-close-button "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(t){this.trigger({type:"close",bubbles:!1})},e}(oi);An.registerComponent("CloseButton",ai);var li=function(t){function e(n,r){ ze(this,e);var i=Ue(this,t.call(this,n,r));return i.on(n,"play",i.handlePlay),i.on(n,"pause",i.handlePause),i.on(n,"ended",i.handleEnded),i}return We(e,t),e.prototype.buildCSSClass=function(){return"vjs-play-control "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(t){this.player_.paused()?this.player_.play():this.player_.pause()},e.prototype.handleSeeked=function(t){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(t):this.handlePlay(t)},e.prototype.handlePlay=function(t){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},e.prototype.handlePause=function(t){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},e.prototype.handleEnded=function(t){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",this.handleSeeked)},e}(oi);li.prototype.controlText_="Play",An.registerComponent("PlayToggle",li);var ci=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.throttledUpdateContent=gn(yn(i,i.updateContent),25),i.on(n,"timeupdate",i.throttledUpdateContent),i}return We(e,t),e.prototype.createEl=function(e){var n=this.buildCSSClass(),r=t.prototype.createEl.call(this,"div",{className:n+" vjs-time-control vjs-control"});return this.contentEl_=v("div",{className:n+"-display"},{"aria-live":"off"},v("span",{className:"vjs-control-text",textContent:this.localize(this.controlText_)})),this.updateTextNode_(),r.appendChild(this.contentEl_),r},e.prototype.dispose=function(){this.contentEl_=null,this.textNode_=null,t.prototype.dispose.call(this)},e.prototype.updateTextNode_=function(){if(this.contentEl_){for(;this.contentEl_.firstChild;)this.contentEl_.removeChild(this.contentEl_.firstChild);this.textNode_=ge.createTextNode(this.formattedTime_||"0:00"),this.contentEl_.appendChild(this.textNode_)}},e.prototype.formatTime_=function(t){return re(t)},e.prototype.updateFormattedTime_=function(t){var e=this.formatTime_(t);e!==this.formattedTime_&&(this.formattedTime_=e,this.requestAnimationFrame(this.updateTextNode_))},e.prototype.updateContent=function(t){},e}(An);ci.prototype.controlText_="Time",An.registerComponent("TimeDisplay",ci);var ui=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.on(n,"ended",i.handleEnded),i}return We(e,t),e.prototype.buildCSSClass=function(){return"vjs-current-time"},e.prototype.updateContent=function(t){var e=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.updateFormattedTime_(e)},e.prototype.handleEnded=function(t){this.player_.duration()&&this.updateFormattedTime_(this.player_.duration())},e}(ci);ui.prototype.controlText_="Current Time",An.registerComponent("CurrentTimeDisplay",ui);var hi=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.on(n,"durationchange",i.updateContent),i.on(n,"loadedmetadata",i.throttledUpdateContent),i}return We(e,t),e.prototype.buildCSSClass=function(){return"vjs-duration"},e.prototype.updateContent=function(t){var e=this.player_.duration();e&&this.duration_!==e&&(this.duration_=e,this.updateFormattedTime_(e))},e}(ci);hi.prototype.controlText_="Duration Time",An.registerComponent("DurationDisplay",hi);var pi=function(t){function e(){return ze(this,e),Ue(this,t.apply(this,arguments))}return We(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},e}(An);An.registerComponent("TimeDivider",pi);var di=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.on(n,"durationchange",i.throttledUpdateContent),i.on(n,"ended",i.handleEnded),i}return We(e,t),e.prototype.buildCSSClass=function(){return"vjs-remaining-time"},e.prototype.formatTime_=function(e){return"-"+t.prototype.formatTime_.call(this,e)},e.prototype.updateContent=function(t){this.player_.duration()&&(this.player_.remainingTimeDisplay?this.updateFormattedTime_(this.player_.remainingTimeDisplay()):this.updateFormattedTime_(this.player_.remainingTime()))},e.prototype.handleEnded=function(t){this.player_.duration()&&this.updateFormattedTime_(0)},e}(ci);di.prototype.controlText_="Remaining Time",An.registerComponent("RemainingTimeDisplay",di);var fi=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.updateShowing(),i.on(i.player(),"durationchange",i.updateShowing),i}return We(e,t),e.prototype.createEl=function(){var e=t.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=v("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"</span>"+this.localize("LIVE")},{"aria-live":"off"}),e.appendChild(this.contentEl_),e},e.prototype.dispose=function(){this.contentEl_=null,t.prototype.dispose.call(this)},e.prototype.updateShowing=function(t){this.player().duration()===1/0?this.show():this.hide()},e}(An);An.registerComponent("LiveDisplay",fi);var vi=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.bar=i.getChild(i.options_.barName),i.vertical(!!i.options_.vertical),i.enable(),i}return We(e,t),e.prototype.enabled=function(){return this.enabled_},e.prototype.enable=function(){this.enabled()||(this.on("mousedown",this.handleMouseDown),this.on("touchstart",this.handleMouseDown),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur),this.on("click",this.handleClick),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)},e.prototype.disable=function(){if(this.enabled()){var t=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown),this.off("touchstart",this.handleMouseDown),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur),this.off("click",this.handleClick),this.off(this.player_,"controlsvisible",this.update),this.off(t,"mousemove",this.handleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchmove",this.handleMouseMove),this.off(t,"touchend",this.handleMouseUp),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}},e.prototype.createEl=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.className=n.className+" vjs-slider",n=r({tabIndex:0},n),i=r({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},i),t.prototype.createEl.call(this,e,n,i)},e.prototype.handleMouseDown=function(t){var e=this.bar.el_.ownerDocument;t.preventDefault(),x(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(e,"mousemove",this.handleMouseMove),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchmove",this.handleMouseMove),this.on(e,"touchend",this.handleMouseUp),this.handleMouseMove(t)},e.prototype.handleMouseMove=function(t){},e.prototype.handleMouseUp=function(){var t=this.bar.el_.ownerDocument;j(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(t,"mousemove",this.handleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchmove",this.handleMouseMove),this.off(t,"touchend",this.handleMouseUp),this.update()},e.prototype.update=function(){if(this.el_){var t=this.getPercent(),e=this.bar;if(e){("number"!=typeof t||t!==t||t<0||t===1/0)&&(t=0);var n=(100*t).toFixed(2)+"%",r=e.el().style;return this.vertical()?r.height=n:r.width=n,t}}},e.prototype.calculateDistance=function(t){var e=O(this.el_,t);return this.vertical()?e.y:e.x},e.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},e.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepBack()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepForward())},e.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},e.prototype.handleClick=function(t){t.stopImmediatePropagation(),t.preventDefault()},e.prototype.vertical=function(t){if(void 0===t)return this.vertical_||!1;this.vertical_=!!t,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},e}(An);An.registerComponent("Slider",vi);var yi=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.partEls_=[],i.on(n,"progress",i.update),i}return We(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},e.prototype.dispose=function(){this.partEls_=null,t.prototype.dispose.call(this)},e.prototype.update=function(t){var e=this.player_.buffered(),n=this.player_.duration(),r=this.player_.bufferedEnd(),i=this.partEls_,o=function(t,e){var n=t/e||0;return 100*(n>=1?1:n)+"%"};this.el_.style.width=o(r,n);for(var s=0;s<e.length;s++){var a=e.start(s),l=e.end(s),c=i[s];c||(c=this.el_.appendChild(v()),i[s]=c),c.style.left=o(a,r),c.style.width=o(l-a,r)}for(var u=i.length;u>e.length;u--)this.el_.removeChild(i[u-1]);i.length=e.length},e}(An);An.registerComponent("LoadProgressBar",yi);var gi=function(t){function e(){return ze(this,e),Ue(this,t.apply(this,arguments))}return We(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"})},e.prototype.update=function(t,e,n){var r=A(this.el_),i=A(this.player_.el()),o=t.width*e;if(i&&r){var s=t.left-i.left+o,a=t.width-o+(i.right-t.right),l=r.width/2;s<l?l+=l-s:a<l&&(l=a),l<0?l=0:l>r.width&&(l=r.width),this.el_.style.right="-"+l+"px",y(this.el_,n)}},e}(An);An.registerComponent("TimeTooltip",gi);var mi=function(t){function e(){return ze(this,e),Ue(this,t.apply(this,arguments))}return We(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"})},e.prototype.update=function(t,e){var n=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame(function(){var r=n.player_.scrubbing()?n.player_.getCache().currentTime:n.player_.currentTime(),i=re(r,n.player_.duration()),o=n.getChild("timeTooltip");o&&o.update(t,e,i)})},e}(An);mi.prototype.options_={children:[]},De&&!(De>8)||we||Se||mi.prototype.options_.children.push("timeTooltip"),An.registerComponent("PlayProgressBar",mi);var _i=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.update=gn(yn(i,i.update),25),i}return We(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},e.prototype.update=function(t,e){var n=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame(function(){var r=n.player_.duration(),i=re(e*r,r);n.el_.style.left=t.width*e+"px",n.getChild("timeTooltip").update(t,e,i)})},e}(An);_i.prototype.options_={children:["timeTooltip"]},An.registerComponent("MouseTimeDisplay",_i);var bi=30,Ti=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.update=gn(yn(i,i.update),bi),i.on(n,"timeupdate",i.update),i.on(n,"ended",i.handleEnded),i.updateInterval=null,i.on(n,["playing"],function(){i.clearInterval(i.updateInterval),i.updateInterval=i.setInterval(function(){i.requestAnimationFrame(function(){i.update()})},bi)}),i.on(n,["ended","pause","waiting"],function(){i.clearInterval(i.updateInterval)}),i.on(n,["timeupdate","ended"],i.update),i}return We(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},e.prototype.update_=function(t,e){var n=this.player_.duration();this.el_.setAttribute("aria-valuenow",(100*e).toFixed(2)),this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[re(t,n),re(n,n)],"{1} of {2}")),this.bar.update(A(this.el_),e)},e.prototype.update=function(e){var n=t.prototype.update.call(this);return this.update_(this.getCurrentTime_(),n),n},e.prototype.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},e.prototype.handleEnded=function(t){this.update_(this.player_.duration(),1)},e.prototype.getPercent=function(){var t=this.getCurrentTime_()/this.player_.duration();return t>=1?1:t},e.prototype.handleMouseDown=function(e){R(e)&&(e.stopPropagation(),this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),t.prototype.handleMouseDown.call(this,e))},e.prototype.handleMouseMove=function(t){if(R(t)){var e=this.calculateDistance(t)*this.player_.duration();e===this.player_.duration()&&(e-=.1),this.player_.currentTime(e)}},e.prototype.enable=function(){t.prototype.enable.call(this);var e=this.getChild("mouseTimeDisplay");e&&e.show()},e.prototype.disable=function(){t.prototype.disable.call(this);var e=this.getChild("mouseTimeDisplay");e&&e.hide()},e.prototype.handleMouseUp=function(e){t.prototype.handleMouseUp.call(this,e),e.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying&&ct(this.player_.play())},e.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},e.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},e.prototype.handleAction=function(t){this.player_.paused()?this.player_.play():this.player_.pause()},e.prototype.handleKeyPress=function(e){32===e.which||13===e.which?(e.preventDefault(),this.handleAction(e)):t.prototype.handleKeyPress&&t.prototype.handleKeyPress.call(this,e)},e}(vi);Ti.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},De&&!(De>8)||we||Se||Ti.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),Ti.prototype.playerEvent="timeupdate",An.registerComponent("SeekBar",Ti);var Ci=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.handleMouseMove=gn(yn(i,i.handleMouseMove),25),i.throttledHandleMouseSeek=gn(yn(i,i.handleMouseSeek),25),i.enable(),i}return We(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},e.prototype.handleMouseMove=function(t){var e=this.getChild("seekBar");if(e){var n=e.getChild("mouseTimeDisplay"),r=e.el(),i=A(r),o=O(r,t).x;o>1?o=1:o<0&&(o=0),n&&n.update(i,o)}},e.prototype.handleMouseSeek=function(t){var e=this.getChild("seekBar");e&&e.handleMouseMove(t)},e.prototype.enabled=function(){return this.enabled_},e.prototype.disable=function(){this.children().forEach(function(t){return t.disable&&t.disable()}),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDown),this.off(this.el_,"mousemove",this.handleMouseMove),this.handleMouseUp(),this.addClass("disabled"),this.enabled_=!1)},e.prototype.enable=function(){this.children().forEach(function(t){return t.enable&&t.enable()}),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDown),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},e.prototype.handleMouseDown=function(t){var e=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseDown(t),this.on(e,"mousemove",this.throttledHandleMouseSeek),this.on(e,"touchmove",this.throttledHandleMouseSeek),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchend",this.handleMouseUp)},e.prototype.handleMouseUp=function(t){var e=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseUp(t),this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchend",this.handleMouseUp)},e}(An);Ci.prototype.options_={children:["seekBar"]},An.registerComponent("ProgressControl",Ci);var ki=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.on(n,"fullscreenchange",i.handleFullscreenChange),i}return We(e,t),e.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+t.prototype.buildCSSClass.call(this)},e.prototype.handleFullscreenChange=function(t){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},e.prototype.handleClick=function(t){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},e}(oi);ki.prototype.controlText_="Fullscreen",An.registerComponent("FullscreenToggle",ki);var wi=function(t,e){e.tech_&&!e.tech_.featuresVolumeControl&&t.addClass("vjs-hidden"),t.on(e,"loadstart",function(){e.tech_.featuresVolumeControl?t.removeClass("vjs-hidden"):t.addClass("vjs-hidden")})},Ei=function(t){function e(){return ze(this,e),Ue(this,t.apply(this,arguments))}return We(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},e}(An);An.registerComponent("VolumeLevel",Ei);var Si=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.on("slideractive",i.updateLastVolume_),i.on(n,"volumechange",i.updateARIAAttributes),n.ready(function(){return i.updateARIAAttributes()}),i}return We(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},e.prototype.handleMouseDown=function(e){R(e)&&t.prototype.handleMouseDown.call(this,e)},e.prototype.handleMouseMove=function(t){R(t)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(t)))},e.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},e.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},e.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},e.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},e.prototype.updateARIAAttributes=function(t){var e=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",e),this.el_.setAttribute("aria-valuetext",e+"%")},e.prototype.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},e.prototype.updateLastVolume_=function(){var t=this,e=this.player_.volume();this.one("sliderinactive",function(){0===t.player_.volume()&&t.player_.lastVolume_(e)})},e}(vi);Si.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},Si.prototype.playerEvent="volumechange",An.registerComponent("VolumeBar",Si);var xi=function(t){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ze(this,e),r.vertical=r.vertical||!1,(void 0===r.volumeBar||o(r.volumeBar))&&(r.volumeBar=r.volumeBar||{},r.volumeBar.vertical=r.vertical);var i=Ue(this,t.call(this,n,r));return wi(i,n),i.throttledHandleMouseMove=gn(yn(i,i.handleMouseMove),25),i.on("mousedown",i.handleMouseDown),i.on("touchstart",i.handleMouseDown),i.on(i.volumeBar,["focus","slideractive"],function(){i.volumeBar.addClass("vjs-slider-active"),i.addClass("vjs-slider-active"),i.trigger("slideractive")}),i.on(i.volumeBar,["blur","sliderinactive"],function(){i.volumeBar.removeClass("vjs-slider-active"),i.removeClass("vjs-slider-active"),i.trigger("sliderinactive")}),i}return We(e,t),e.prototype.createEl=function(){var e="vjs-volume-horizontal";return this.options_.vertical&&(e="vjs-volume-vertical"),t.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+e})},e.prototype.handleMouseDown=function(t){var e=this.el_.ownerDocument;this.on(e,"mousemove",this.throttledHandleMouseMove),this.on(e,"touchmove",this.throttledHandleMouseMove),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchend",this.handleMouseUp)},e.prototype.handleMouseUp=function(t){var e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseMove),this.off(e,"touchmove",this.throttledHandleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchend",this.handleMouseUp)},e.prototype.handleMouseMove=function(t){this.volumeBar.handleMouseMove(t)},e}(An);xi.prototype.options_={children:["volumeBar"]},An.registerComponent("VolumeControl",xi);var ji=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return wi(i,n),i.on(n,["loadstart","volumechange"],i.update),i}return We(e,t),e.prototype.buildCSSClass=function(){return"vjs-mute-control "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(t){var e=this.player_.volume(),n=this.player_.lastVolume_();if(0===e){var r=n<.1?.1:n;this.player_.volume(r),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())},e.prototype.update=function(t){this.updateIcon_(),this.updateControlText_()},e.prototype.updateIcon_=function(){var t=this.player_.volume(),e=3;0===t||this.player_.muted()?e=0:t<.33?e=1:t<.67&&(e=2);for(var n=0;n<4;n++)b(this.el_,"vjs-vol-"+n);_(this.el_,"vjs-vol-"+e)},e.prototype.updateControlText_=function(){var t=this.player_.muted()||0===this.player_.volume(),e=t?"Unmute":"Mute";this.controlText()!==e&&this.controlText(e)},e}(oi);ji.prototype.controlText_="Mute",An.registerComponent("MuteToggle",ji);var Ai=function(t){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ze(this,e),void 0!==r.inline?r.inline=r.inline:r.inline=!0,(void 0===r.volumeControl||o(r.volumeControl))&&(r.volumeControl=r.volumeControl||{},r.volumeControl.vertical=!r.inline);var i=Ue(this,t.call(this,n,r));return wi(i,n),i.on(i.volumeControl,["slideractive"],i.sliderActive_),i.on(i.volumeControl,["sliderinactive"],i.sliderInactive_),i}return We(e,t),e.prototype.sliderActive_=function(){this.addClass("vjs-slider-active")},e.prototype.sliderInactive_=function(){this.removeClass("vjs-slider-active")},e.prototype.createEl=function(){var e="vjs-volume-panel-horizontal";return this.options_.inline||(e="vjs-volume-panel-vertical"),t.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+e})},e}(An);Ai.prototype.options_={children:["muteToggle","volumeControl"]},An.registerComponent("VolumePanel",Ai);var Pi=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return r&&(i.menuButton_=r.menuButton),i.focusedChild_=-1,i.on("keydown",i.handleKeyPress),i}return We(e,t),e.prototype.addItem=function(t){this.addChild(t),t.on("click",yn(this,function(e){this.menuButton_&&(this.menuButton_.unpressButton(),"CaptionSettingsMenuItem"!==t.name()&&this.menuButton_.focus())}))},e.prototype.createEl=function(){var e=this.options_.contentElType||"ul";this.contentEl_=v(e,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var n=t.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),X(n,"click",function(t){t.preventDefault(),t.stopImmediatePropagation()}),n},e.prototype.dispose=function(){this.contentEl_=null,t.prototype.dispose.call(this)},e.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepForward()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepBack())},e.prototype.stepForward=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_+1),this.focus(t)},e.prototype.stepBack=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_-1),this.focus(t)},e.prototype.focus=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=this.children().slice();e.length&&e[0].className&&/vjs-menu-title/.test(e[0].className)&&e.shift(),e.length>0&&(t<0?t=0:t>=e.length&&(t=e.length-1),this.focusedChild_=t,e[t].el_.focus())},e}(An);An.registerComponent("Menu",Pi);var Oi=function(t){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ze(this,e);var i=Ue(this,t.call(this,n,r));i.menuButton_=new oi(n,r),i.menuButton_.controlText(i.controlText_),i.menuButton_.el_.setAttribute("aria-haspopup","true");var o=oi.prototype.buildCSSClass();return i.menuButton_.el_.className=i.buildCSSClass()+" "+o,i.menuButton_.removeClass("vjs-control"),i.addChild(i.menuButton_),i.update(),i.enabled_=!0,i.on(i.menuButton_,"tap",i.handleClick),i.on(i.menuButton_,"click",i.handleClick),i.on(i.menuButton_,"focus",i.handleFocus),i.on(i.menuButton_,"blur",i.handleBlur),i.on("keydown",i.handleSubmenuKeyPress),i}return We(e,t),e.prototype.update=function(){var t=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=t,this.addChild(t),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},e.prototype.createMenu=function(){var t=new Pi(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var e=v("li",{className:"vjs-menu-title",innerHTML:Q(this.options_.title),tabIndex:-1});this.hideThreshold_+=1,t.children_.unshift(e),g(e,t.contentEl())}if(this.items=this.createItems(),this.items)for(var n=0;n<this.items.length;n++)t.addItem(this.items[n]);return t},e.prototype.createItems=function(){},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildWrapperCSSClass()},{})},e.prototype.buildWrapperCSSClass=function(){var e="vjs-menu-button";return!0===this.options_.inline?e+="-inline":e+="-popup","vjs-menu-button "+e+" "+oi.prototype.buildCSSClass()+" "+t.prototype.buildCSSClass.call(this)},e.prototype.buildCSSClass=function(){var e="vjs-menu-button";return!0===this.options_.inline?e+="-inline":e+="-popup","vjs-menu-button "+e+" "+t.prototype.buildCSSClass.call(this)},e.prototype.controlText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.menuButton_.el();return this.menuButton_.controlText(t,e)},e.prototype.handleClick=function(t){this.one(this.menu.contentEl(),"mouseleave",yn(this,function(t){this.unpressButton(),this.el_.blur()})),this.buttonPressed_?this.unpressButton():this.pressButton()},e.prototype.focus=function(){this.menuButton_.focus()},e.prototype.blur=function(){this.menuButton_.blur()},e.prototype.handleFocus=function(){X(ge,"keydown",yn(this,this.handleKeyPress))},e.prototype.handleBlur=function(){q(ge,"keydown",yn(this,this.handleKeyPress))},e.prototype.handleKeyPress=function(t){27===t.which||9===t.which?(this.buttonPressed_&&this.unpressButton(),9!==t.which&&(t.preventDefault(),this.menuButton_.el_.focus())):38!==t.which&&40!==t.which||this.buttonPressed_||(this.pressButton(),t.preventDefault())},e.prototype.handleSubmenuKeyPress=function(t){27!==t.which&&9!==t.which||(this.buttonPressed_&&this.unpressButton(),9!==t.which&&(t.preventDefault(),this.menuButton_.el_.focus()))},e.prototype.pressButton=function(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),we&&d())return;this.menu.focus()}},e.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},e.prototype.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},e.prototype.enable=function(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},e}(An);An.registerComponent("MenuButton",Oi);var Mi=function(t){function e(n,r){ze(this,e);var i=r.tracks,o=Ue(this,t.call(this,n,r));if(o.items.length<=1&&o.hide(),!i)return Ue(o);var s=yn(o,o.update);return i.addEventListener("removetrack",s),i.addEventListener("addtrack",s),o.player_.on("ready",s),o.player_.on("dispose",function(){i.removeEventListener("removetrack",s),i.removeEventListener("addtrack",s)}),o}return We(e,t),e}(Oi);An.registerComponent("TrackButton",Mi);var Ni=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.selectable=r.selectable,i.isSelected_=r.selected||!1,i.selected(i.isSelected_),i.selectable?i.el_.setAttribute("role","menuitemcheckbox"):i.el_.setAttribute("role","menuitem"),i}return We(e,t),e.prototype.createEl=function(e,n,i){return this.nonIconControl=!0,t.prototype.createEl.call(this,"li",r({className:"vjs-menu-item",innerHTML:'<span class="vjs-menu-item-text">'+this.localize(this.options_.label)+"</span>",tabIndex:-1},n),i)},e.prototype.handleClick=function(t){this.selected(!0)},e.prototype.selected=function(t){this.selectable&&(t?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))},e}(ti);An.registerComponent("MenuItem",Ni);var Ii=function(t){function e(n,r){ze(this,e);var i=r.track,o=n.textTracks();r.label=i.label||i.language||"Unknown",r.selected="showing"===i.mode;var s=Ue(this,t.call(this,n,r));s.track=i;var a=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];s.handleTracksChange.apply(s,e)},l=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];s.handleSelectedLanguageChange.apply(s,e)};if(n.on(["loadstart","texttrackchange"],a),o.addEventListener("change",a),o.addEventListener("selectedlanguagechange",l),s.on("dispose",function(){n.off(["loadstart","texttrackchange"],a),o.removeEventListener("change",a),o.removeEventListener("selectedlanguagechange",l)}),void 0===o.onchange){var c=void 0;s.on(["tap","click"],function(){if("object"!==Ve(pe.Event))try{c=new pe.Event("change")}catch(t){}c||(c=ge.createEvent("Event"),c.initEvent("change",!0,!0)),o.dispatchEvent(c)})}return s.handleTracksChange(),s}return We(e,t),e.prototype.handleClick=function(e){var n=this.track.kind,r=this.track.kinds,i=this.player_.textTracks();if(r||(r=[n]),t.prototype.handleClick.call(this,e),i)for(var o=0;o<i.length;o++){var s=i[o];s===this.track&&r.indexOf(s.kind)>-1?"showing"!==s.mode&&(s.mode="showing"):"disabled"!==s.mode&&(s.mode="disabled")}},e.prototype.handleTracksChange=function(t){var e="showing"===this.track.mode;e!==this.isSelected_&&this.selected(e)},e.prototype.handleSelectedLanguageChange=function(t){if("showing"===this.track.mode){var e=this.player_.cache_.selectedLanguage;if(e&&e.enabled&&e.language===this.track.language&&e.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}},e.prototype.dispose=function(){this.track=null,t.prototype.dispose.call(this)},e}(Ni);An.registerComponent("TextTrackMenuItem",Ii);var Di=function(t){function e(n,r){return ze(this,e),r.track={player:n,kind:r.kind,kinds:r.kinds,default:!1,mode:"disabled"},r.kinds||(r.kinds=[r.kind]),r.label?r.track.label=r.label:r.track.label=r.kinds.join(" and ")+" off",r.selectable=!0,Ue(this,t.call(this,n,r))}return We(e,t),e.prototype.handleTracksChange=function(t){for(var e=this.player().textTracks(),n=!0,r=0,i=e.length;r<i;r++){var o=e[r];if(this.options_.kinds.indexOf(o.kind)>-1&&"showing"===o.mode){n=!1;break}}n!==this.isSelected_&&this.selected(n)},e.prototype.handleSelectedLanguageChange=function(t){for(var e=this.player().textTracks(),n=!0,r=0,i=e.length;r<i;r++){var o=e[r];if(["captions","descriptions","subtitles"].indexOf(o.kind)>-1&&"showing"===o.mode){n=!1;break}}n&&(this.player_.cache_.selectedLanguage={enabled:!1})},e}(Ii);An.registerComponent("OffTextTrackMenuItem",Di);var Li=function(t){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ze(this,e),r.tracks=n.textTracks(),Ue(this,t.call(this,n,r))}return We(e,t),e.prototype.createItems=function(){ var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ii,n=void 0;this.label_&&(n=this.label_+" off"),t.push(new Di(this.player_,{kinds:this.kinds_,kind:this.kind_,label:n})),this.hideThreshold_+=1;var r=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var i=0;i<r.length;i++){var o=r[i];if(this.kinds_.indexOf(o.kind)>-1){var s=new e(this.player_,{track:o,selectable:!0});s.addClass("vjs-"+o.kind+"-menu-item"),t.push(s)}}return t},e}(Mi);An.registerComponent("TextTrackButton",Li);var Ri=function(t){function e(n,r){ze(this,e);var i=r.track,o=r.cue,s=n.currentTime();r.selectable=!0,r.label=o.text,r.selected=o.startTime<=s&&s<o.endTime;var a=Ue(this,t.call(this,n,r));return a.track=i,a.cue=o,i.addEventListener("cuechange",yn(a,a.update)),a}return We(e,t),e.prototype.handleClick=function(e){t.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},e.prototype.update=function(t){var e=this.cue,n=this.player_.currentTime();this.selected(e.startTime<=n&&n<e.endTime)},e}(Ni);An.registerComponent("ChaptersTrackMenuItem",Ri);var Bi=function(t){function e(n,r,i){return ze(this,e),Ue(this,t.call(this,n,r,i))}return We(e,t),e.prototype.buildCSSClass=function(){return"vjs-chapters-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-chapters-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.update=function(e){this.track_&&(!e||"addtrack"!==e.type&&"removetrack"!==e.type)||this.setTrack(this.findChaptersTrack()),t.prototype.update.call(this)},e.prototype.setTrack=function(t){if(this.track_!==t){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var e=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);e&&e.removeEventListener("load",this.updateHandler_),this.track_=null}if(this.track_=t,this.track_){this.track_.mode="hidden";var n=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);n&&n.addEventListener("load",this.updateHandler_)}}},e.prototype.findChaptersTrack=function(){for(var t=this.player_.textTracks()||[],e=t.length-1;e>=0;e--){var n=t[e];if(n.kind===this.kind_)return n}},e.prototype.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(Q(this.kind_))},e.prototype.createMenu=function(){return this.options_.title=this.getMenuCaption(),t.prototype.createMenu.call(this)},e.prototype.createItems=function(){var t=[];if(!this.track_)return t;var e=this.track_.cues;if(!e)return t;for(var n=0,r=e.length;n<r;n++){var i=e[n],o=new Ri(this.player_,{track:this.track_,cue:i});t.push(o)}return t},e}(Li);Bi.prototype.kind_="chapters",Bi.prototype.controlText_="Chapters",An.registerComponent("ChaptersButton",Bi);var Fi=function(t){function e(n,r,i){ze(this,e);var o=Ue(this,t.call(this,n,r,i)),s=n.textTracks(),a=yn(o,o.handleTracksChange);return s.addEventListener("change",a),o.on("dispose",function(){s.removeEventListener("change",a)}),o}return We(e,t),e.prototype.handleTracksChange=function(t){for(var e=this.player().textTracks(),n=!1,r=0,i=e.length;r<i;r++){var o=e[r];if(o.kind!==this.kind_&&"showing"===o.mode){n=!0;break}}n?this.disable():this.enable()},e.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-descriptions-button "+t.prototype.buildWrapperCSSClass.call(this)},e}(Li);Fi.prototype.kind_="descriptions",Fi.prototype.controlText_="Descriptions",An.registerComponent("DescriptionsButton",Fi);var Hi=function(t){function e(n,r,i){return ze(this,e),Ue(this,t.call(this,n,r,i))}return We(e,t),e.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-subtitles-button "+t.prototype.buildWrapperCSSClass.call(this)},e}(Li);Hi.prototype.kind_="subtitles",Hi.prototype.controlText_="Subtitles",An.registerComponent("SubtitlesButton",Hi);var Vi=function(t){function e(n,r){ze(this,e),r.track={player:n,kind:r.kind,label:r.kind+" settings",selectable:!1,default:!1,mode:"disabled"},r.selectable=!1,r.name="CaptionSettingsMenuItem";var i=Ue(this,t.call(this,n,r));return i.addClass("vjs-texttrack-settings"),i.controlText(", opens "+r.kind+" settings dialog"),i}return We(e,t),e.prototype.handleClick=function(t){this.player().getChild("textTrackSettings").open()},e}(Ii);An.registerComponent("CaptionSettingsMenuItem",Vi);var zi=function(t){function e(n,r,i){return ze(this,e),Ue(this,t.call(this,n,r,i))}return We(e,t),e.prototype.buildCSSClass=function(){return"vjs-captions-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-captions-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createItems=function(){var e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||(e.push(new Vi(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),t.prototype.createItems.call(this,e)},e}(Li);zi.prototype.kind_="captions",zi.prototype.controlText_="Captions",An.registerComponent("CaptionsButton",zi);var Wi=function(t){function e(){return ze(this,e),Ue(this,t.apply(this,arguments))}return We(e,t),e.prototype.createEl=function(e,n,i){var o='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);return"captions"===this.options_.track.kind&&(o+='\n <span aria-hidden="true" class="vjs-icon-placeholder"></span>\n <span class="vjs-control-text"> '+this.localize("Captions")+"</span>\n "),o+="</span>",t.prototype.createEl.call(this,e,r({innerHTML:o},n),i)},e}(Ii);An.registerComponent("SubsCapsMenuItem",Wi);var Ui=function(t){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ze(this,e);var i=Ue(this,t.call(this,n,r));return i.label_="subtitles",["en","en-us","en-ca","fr-ca"].indexOf(i.player_.language_)>-1&&(i.label_="captions"),i.menuButton_.controlText(Q(i.label_)),i}return We(e,t),e.prototype.buildCSSClass=function(){return"vjs-subs-caps-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createItems=function(){var e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||(e.push(new Vi(this.player_,{kind:this.label_})),this.hideThreshold_+=1),e=t.prototype.createItems.call(this,e,Wi)},e}(Li);Ui.prototype.kinds_=["captions","subtitles"],Ui.prototype.controlText_="Subtitles",An.registerComponent("SubsCapsButton",Ui);var Xi=function(t){function e(n,r){ze(this,e);var i=r.track,o=n.audioTracks();r.label=i.label||i.language||"Unknown",r.selected=i.enabled;var s=Ue(this,t.call(this,n,r));s.track=i;var a=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];s.handleTracksChange.apply(s,e)};return o.addEventListener("change",a),s.on("dispose",function(){o.removeEventListener("change",a)}),s}return We(e,t),e.prototype.handleClick=function(e){var n=this.player_.audioTracks();t.prototype.handleClick.call(this,e);for(var r=0;r<n.length;r++){var i=n[r];i.enabled=i===this.track}},e.prototype.handleTracksChange=function(t){this.selected(this.track.enabled)},e}(Ni);An.registerComponent("AudioTrackMenuItem",Xi);var qi=function(t){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ze(this,e),r.tracks=n.audioTracks(),Ue(this,t.call(this,n,r))}return We(e,t),e.prototype.buildCSSClass=function(){return"vjs-audio-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-audio-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createItems=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.hideThreshold_=1;for(var e=this.player_.audioTracks(),n=0;n<e.length;n++){var r=e[n];t.push(new Xi(this.player_,{track:r,selectable:!0}))}return t},e}(Mi);qi.prototype.controlText_="Audio Track",An.registerComponent("AudioTrackButton",qi);var Ki=function(t){function e(n,r){ze(this,e);var i=r.rate,o=parseFloat(i,10);r.label=i,r.selected=1===o,r.selectable=!0;var s=Ue(this,t.call(this,n,r));return s.label=i,s.rate=o,s.on(n,"ratechange",s.update),s}return We(e,t),e.prototype.handleClick=function(e){t.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},e.prototype.update=function(t){this.selected(this.player().playbackRate()===this.rate)},e}(Ni);Ki.prototype.contentElType="button",An.registerComponent("PlaybackRateMenuItem",Ki);var Yi=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.updateVisibility(),i.updateLabel(),i.on(n,"loadstart",i.updateVisibility),i.on(n,"ratechange",i.updateLabel),i}return We(e,t),e.prototype.createEl=function(){var e=t.prototype.createEl.call(this);return this.labelEl_=v("div",{className:"vjs-playback-rate-value",innerHTML:"1x"}),e.appendChild(this.labelEl_),e},e.prototype.dispose=function(){this.labelEl_=null,t.prototype.dispose.call(this)},e.prototype.buildCSSClass=function(){return"vjs-playback-rate "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-playback-rate "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createMenu=function(){var t=new Pi(this.player()),e=this.playbackRates();if(e)for(var n=e.length-1;n>=0;n--)t.addChild(new Ki(this.player(),{rate:e[n]+"x"}));return t},e.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},e.prototype.handleClick=function(t){for(var e=this.player().playbackRate(),n=this.playbackRates(),r=n[0],i=0;i<n.length;i++)if(n[i]>e){r=n[i];break}this.player().playbackRate(r)},e.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},e.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},e.prototype.updateVisibility=function(t){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},e.prototype.updateLabel=function(t){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},e}(Oi);Yi.prototype.controlText_="Playback Rate",An.registerComponent("PlaybackRateMenuButton",Yi);var Gi=function(t){function e(){return ze(this,e),Ue(this,t.apply(this,arguments))}return We(e,t),e.prototype.buildCSSClass=function(){return"vjs-spacer "+t.prototype.buildCSSClass.call(this)},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},e}(An);An.registerComponent("Spacer",Gi);var $i=function(t){function e(){return ze(this,e),Ue(this,t.apply(this,arguments))}return We(e,t),e.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+t.prototype.buildCSSClass.call(this)},e.prototype.createEl=function(){var e=t.prototype.createEl.call(this,{className:this.buildCSSClass()});return e.innerHTML=" ",e},e}(Gi);An.registerComponent("CustomControlSpacer",$i);var Ji=function(t){function e(){return ze(this,e),Ue(this,t.apply(this,arguments))}return We(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},e}(An);Ji.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},An.registerComponent("ControlBar",Ji);var Qi=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r));return i.on(n,"error",i.open),i}return We(e,t),e.prototype.buildCSSClass=function(){return"vjs-error-display "+t.prototype.buildCSSClass.call(this)},e.prototype.content=function(){var t=this.player().error();return t?this.localize(t.message):""},e}(Wn);Qi.prototype.options_=tt(Wn.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),An.registerComponent("ErrorDisplay",Qi);var Zi=["#000","Black"],to=["#00F","Blue"],eo=["#0FF","Cyan"],no=["#0F0","Green"],ro=["#F0F","Magenta"],io=["#F00","Red"],oo=["#FFF","White"],so=["#FF0","Yellow"],ao=["1","Opaque"],lo=["0.5","Semi-Transparent"],co=["0","Transparent"],uo={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[Zi,oo,io,no,to,so,ro,eo]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[ao,lo,co]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[oo,Zi,io,no,to,so,ro,eo]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(t){return"1.00"===t?null:Number(t)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[ao,lo]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[co,lo,ao]}};uo.windowColor.options=uo.backgroundColor.options;var ho=function(t){function r(n,i){ze(this,r),i.temporary=!1;var o=Ue(this,t.call(this,n,i));return o.updateDisplay=yn(o,o.updateDisplay),o.fill(),o.hasBeenOpened_=o.hasBeenFilled_=!0,o.endDialog=v("p",{className:"vjs-control-text",textContent:o.localize("End of dialog window.")}),o.el().appendChild(o.endDialog),o.setDefaults(),void 0===i.persistTextTrackSettings&&(o.options_.persistTextTrackSettings=o.options_.playerOptions.persistTextTrackSettings),o.on(o.$(".vjs-done-button"),"click",function(){o.saveSettings(),o.close()}),o.on(o.$(".vjs-default-button"),"click",function(){o.setDefaults(),o.updateDisplay()}),e(uo,function(t){o.on(o.$(t.selector),"change",o.updateDisplay)}),o.options_.persistTextTrackSettings&&o.restoreSettings(),o}return We(r,t),r.prototype.dispose=function(){this.endDialog=null,t.prototype.dispose.call(this)},r.prototype.createElSelect_=function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"label",i=uo[t],o=i.id.replace("%s",this.id_);return["<"+r+' id="'+o+'" class="'+("label"===r?"vjs-label":"")+'">',this.localize(i.label),"</"+r+">",'<select aria-labelledby="'+(""!==n?n+" ":"")+o+'">'].concat(i.options.map(function(t){var r=o+"-"+t[1];return['<option id="'+r+'" value="'+t[0]+'" ','aria-labelledby="'+(""!==n?n+" ":"")+o+" "+r+'">',e.localize(t[1]),"</option>"].join("")})).concat("</select>").join("")},r.prototype.createElFgColor_=function(){var t="captions-text-legend-"+this.id_;return['<fieldset class="vjs-fg-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Text"),"</legend>",this.createElSelect_("color",t),'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",t),"</span>","</fieldset>"].join("")},r.prototype.createElBgColor_=function(){var t="captions-background-"+this.id_;return['<fieldset class="vjs-bg-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Background"),"</legend>",this.createElSelect_("backgroundColor",t),'<span class="vjs-bg-opacity vjs-opacity">',this.createElSelect_("backgroundOpacity",t),"</span>","</fieldset>"].join("")},r.prototype.createElWinColor_=function(){var t="captions-window-"+this.id_;return['<fieldset class="vjs-window-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Window"),"</legend>",this.createElSelect_("windowColor",t),'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",t),"</span>","</fieldset>"].join("")},r.prototype.createElColors_=function(){return v("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},r.prototype.createElFont_=function(){return v("div",{className:"vjs-track-settings-font",innerHTML:['<fieldset class="vjs-font-percent vjs-track-setting">',this.createElSelect_("fontPercent","","legend"),"</fieldset>",'<fieldset class="vjs-edge-style vjs-track-setting">',this.createElSelect_("edgeStyle","","legend"),"</fieldset>",'<fieldset class="vjs-font-family vjs-track-setting">',this.createElSelect_("fontFamily","","legend"),"</fieldset>"].join("")})},r.prototype.createElControls_=function(){var t=this.localize("restore all settings to the default values");return v("div",{className:"vjs-track-settings-controls",innerHTML:['<button class="vjs-default-button" title="'+t+'">',this.localize("Reset"),'<span class="vjs-control-text"> '+t+"</span>","</button>",'<button class="vjs-done-button">'+this.localize("Done")+"</button>"].join("")})},r.prototype.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},r.prototype.label=function(){return this.localize("Caption Settings Dialog")},r.prototype.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},r.prototype.buildCSSClass=function(){return t.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},r.prototype.getValues=function(){var t=this;return n(uo,function(e,n,r){var i=oe(t.$(n.selector),n.parser);return void 0!==i&&(e[r]=i),e},{})},r.prototype.setValues=function(t){var n=this;e(uo,function(e,r){se(n.$(e.selector),t[r],e.parser)})},r.prototype.setDefaults=function(){var t=this;e(uo,function(e){var n=e.hasOwnProperty("default")?e.default:0;t.$(e.selector).selectedIndex=n})},r.prototype.restoreSettings=function(){var t=void 0;try{t=JSON.parse(pe.localStorage.getItem("vjs-text-track-settings"))}catch(t){Qe.warn(t)}t&&this.setValues(t)},r.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var t=this.getValues();try{Object.keys(t).length?pe.localStorage.setItem("vjs-text-track-settings",JSON.stringify(t)):pe.localStorage.removeItem("vjs-text-track-settings")}catch(t){Qe.warn(t)}}},r.prototype.updateDisplay=function(){var t=this.player_.getChild("textTrackDisplay");t&&t.updateDisplay()},r.prototype.conditionalBlur_=function(){this.previouslyActiveEl_=null,this.off(ge,"keydown",this.handleKeyDown);var t=this.player_.controlBar,e=t&&t.subsCapsButton,n=t&&t.captionsButton;e?e.focus():n&&n.focus()},r}(Wn);An.registerComponent("TextTrackSettings",ho);var po=function(t){function e(n,r){ze(this,e);var i=r.ResizeObserver||pe.ResizeObserver;null===r.ResizeObserver&&(i=!1);var o=tt({createEl:!i},r),s=Ue(this,t.call(this,n,o));return s.ResizeObserver=r.ResizeObserver||pe.ResizeObserver,s.loadListener_=null,s.resizeObserver_=null,s.debouncedHandler_=mn(function(){s.resizeHandler()},100,!1,n),i?(s.resizeObserver_=new s.ResizeObserver(s.debouncedHandler_),s.resizeObserver_.observe(n.el())):(s.loadListener_=function(){s.el_.contentWindow&&X(s.el_.contentWindow,"resize",s.debouncedHandler_),s.off("load",s.loadListener_)},s.on("load",s.loadListener_)),s}return We(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"iframe",{className:"vjs-resize-manager"})},e.prototype.resizeHandler=function(){this.player_.trigger("playerresize")},e.prototype.dispose=function(){this.resizeObserver_&&(this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.el_&&this.el_.contentWindow&&q(this.el_.contentWindow,"resize",this.debouncedHandler_),this.loadListener_&&this.off("load",this.loadListener_),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null},e}(An);An.registerComponent("ResizeManager",po);var fo=Xe(["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n This may prevent text tracks from loading."],["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n This may prevent text tracks from loading."]),vo=function(t){function e(n,r){ze(this,e);var i=Ue(this,t.call(this,n,r)),o=n.source,s=!1;if(o&&(i.el_.currentSrc!==o.src||n.tag&&3===n.tag.initNetworkState_)?i.setSource(o):i.handleLateInit_(i.el_),i.el_.hasChildNodes()){for(var a=i.el_.childNodes,l=a.length,c=[];l--;){var u=a[l];"track"===u.nodeName.toLowerCase()&&(i.featuresNativeTextTracks?(i.remoteTextTrackEls().addTrackElement_(u),i.remoteTextTracks().addTrack(u.track),i.textTracks().addTrack(u.track),s||i.el_.hasAttribute("crossorigin")||!ar(u.src)||(s=!0)):c.push(u))}for(var h=0;h<c.length;h++)i.el_.removeChild(c[h])}return i.proxyNativeTracks_(),i.featuresNativeTextTracks&&s&&Qe.warn(Ze(fo)),i.restoreMetadataTracksInIOSNativePlayer_(),(Be||Ce||Ae)&&!0===n.nativeControlsForTouch&&i.setControls(!0),i.proxyWebkitFullscreen_(),i.triggerReady(),i}return We(e,t),e.prototype.dispose=function(){e.disposeMediaElement(this.el_),this.options_=null,t.prototype.dispose.call(this)},e.prototype.restoreMetadataTracksInIOSNativePlayer_=function(){var t=this.textTracks(),e=void 0,n=function(){e=[];for(var n=0;n<t.length;n++){var r=t[n];"metadata"===r.kind&&e.push({track:r,storedMode:r.mode})}};n(),t.addEventListener("change",n),this.on("dispose",function(){return t.removeEventListener("change",n)});var r=function n(){for(var r=0;r<e.length;r++){var i=e[r];"disabled"===i.track.mode&&i.track.mode!==i.storedMode&&(i.track.mode=i.storedMode)}t.removeEventListener("change",n)};this.on("webkitbeginfullscreen",function(){t.removeEventListener("change",n),t.removeEventListener("change",r),t.addEventListener("change",r)}),this.on("webkitendfullscreen",function(){t.removeEventListener("change",n),t.addEventListener("change",n),t.removeEventListener("change",r)})},e.prototype.proxyNativeTracks_=function(){var t=this;jr.names.forEach(function(e){var n=jr[e],r=t.el()[n.getterName],i=t[n.getterName]();if(t["featuresNative"+n.capitalName+"Tracks"]&&r&&r.addEventListener){var o={change:function(t){i.trigger({type:"change",target:i,currentTarget:i,srcElement:i})},addtrack:function(t){i.addTrack(t.track)},removetrack:function(t){i.removeTrack(t.track)}},s=function(){for(var t=[],e=0;e<i.length;e++){for(var n=!1,o=0;o<r.length;o++)if(r[o]===i[e]){n=!0;break}n||t.push(i[e])}for(;t.length;)i.removeTrack(t.shift())};Object.keys(o).forEach(function(e){var n=o[e];r.addEventListener(e,n),t.on("dispose",function(t){return r.removeEventListener(e,n)})}),t.on("loadstart",s),t.on("dispose",function(e){return t.off("loadstart",s)})}})},e.prototype.createEl=function(){var t=this.options_.tag;if(!t||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(t){var n=t.cloneNode(!0);t.parentNode&&t.parentNode.insertBefore(n,t),e.disposeMediaElement(t),t=n}else{t=ge.createElement("video");var i=this.options_.tag&&k(this.options_.tag),o=tt({},i);Be&&!0===this.options_.nativeControlsForTouch||delete o.controls,C(t,r(o,{id:this.options_.techId,class:"vjs-tech"}))}t.playerId=this.options_.playerId}void 0!==this.options_.preload&&E(t,"preload",this.options_.preload);for(var s=["loop","muted","playsinline","autoplay"],a=0;a<s.length;a++){var l=s[a],c=this.options_[l];void 0!==c&&(c?E(t,l,l):S(t,l),t[l]=c)}return t},e.prototype.handleLateInit_=function(t){if(0!==t.networkState&&3!==t.networkState){if(0===t.readyState){var e=!1,n=function(){e=!0};this.on("loadstart",n);var r=function(){e||this.trigger("loadstart")};return this.on("loadedmetadata",r),void this.ready(function(){this.off("loadstart",n),this.off("loadedmetadata",r),e||this.trigger("loadstart")})}var i=["loadstart"];i.push("loadedmetadata"),t.readyState>=2&&i.push("loadeddata"),t.readyState>=3&&i.push("canplay"),t.readyState>=4&&i.push("canplaythrough"),this.ready(function(){i.forEach(function(t){this.trigger(t)},this)})}},e.prototype.setCurrentTime=function(t){try{this.el_.currentTime=t}catch(t){Qe(t,"Video is not ready. (Video.js)")}},e.prototype.duration=function(){var t=this;if(this.el_.duration===1/0&&Se&&Me&&0===this.el_.currentTime){var e=function e(){t.el_.currentTime>0&&(t.el_.duration===1/0&&t.trigger("durationchange"),t.off("timeupdate",e))};return this.on("timeupdate",e),NaN}return this.el_.duration||NaN},e.prototype.width=function(){return this.el_.offsetWidth},e.prototype.height=function(){return this.el_.offsetHeight},e.prototype.proxyWebkitFullscreen_=function(){var t=this;if("webkitDisplayingFullscreen"in this.el_){var e=function(){this.trigger("fullscreenchange",{isFullscreen:!1})},n=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",e),this.trigger("fullscreenchange",{isFullscreen:!0}))};this.on("webkitbeginfullscreen",n),this.on("dispose",function(){t.off("webkitbeginfullscreen",n),t.off("webkitendfullscreen",e)})}},e.prototype.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var t=pe.navigator&&pe.navigator.userAgent||"";if(/Android/.test(t)||!/Chrome|Mac OS X 10.5/.test(t))return!0}return!1},e.prototype.enterFullScreen=function(){var t=this.el_;t.paused&&t.networkState<=t.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){t.pause(),t.webkitEnterFullScreen()},0)):t.webkitEnterFullScreen()},e.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},e.prototype.src=function(t){if(void 0===t)return this.el_.src;this.setSrc(t)},e.prototype.reset=function(){e.resetMediaElement(this.el_)},e.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},e.prototype.setControls=function(t){this.el_.controls=!!t},e.prototype.addTextTrack=function(e,n,r){return this.featuresNativeTextTracks?this.el_.addTextTrack(e,n,r):t.prototype.addTextTrack.call(this,e,n,r)},e.prototype.createRemoteTextTrack=function(e){if(!this.featuresNativeTextTracks)return t.prototype.createRemoteTextTrack.call(this,e);var n=ge.createElement("track");return e.kind&&(n.kind=e.kind),e.label&&(n.label=e.label),(e.language||e.srclang)&&(n.srclang=e.language||e.srclang),e.default&&(n.default=e.default),e.id&&(n.id=e.id),e.src&&(n.src=e.src),n},e.prototype.addRemoteTextTrack=function(e,n){var r=t.prototype.addRemoteTextTrack.call(this,e,n);return this.featuresNativeTextTracks&&this.el().appendChild(r),r},e.prototype.removeRemoteTextTrack=function(e){if(t.prototype.removeRemoteTextTrack.call(this,e),this.featuresNativeTextTracks)for(var n=this.$$("track"),r=n.length;r--;)e!==n[r]&&e!==n[r].track||this.el().removeChild(n[r])},e.prototype.getVideoPlaybackQuality=function(){if("function"==typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var t={};return void 0!==this.el().webkitDroppedFrameCount&&void 0!==this.el().webkitDecodedFrameCount&&(t.droppedVideoFrames=this.el().webkitDroppedFrameCount,t.totalVideoFrames=this.el().webkitDecodedFrameCount),pe.performance&&"function"==typeof pe.performance.now?t.creationTime=pe.performance.now():pe.performance&&pe.performance.timing&&"number"==typeof pe.performance.timing.navigationStart&&(t.creationTime=pe.Date.now()-pe.performance.timing.navigationStart),t},e}(Xr);if(h()){vo.TEST_VID=ge.createElement("video");var yo=ge.createElement("track");yo.kind="captions",yo.srclang="en",yo.label="English",vo.TEST_VID.appendChild(yo)}vo.isSupported=function(){try{vo.TEST_VID.volume=.5}catch(t){return!1}return!(!vo.TEST_VID||!vo.TEST_VID.canPlayType)},vo.canPlayType=function(t){return vo.TEST_VID.canPlayType(t)},vo.canPlaySource=function(t,e){return vo.canPlayType(t.type)},vo.canControlVolume=function(){try{var t=vo.TEST_VID.volume;return vo.TEST_VID.volume=t/2+.1,t!==vo.TEST_VID.volume}catch(t){return!1}},vo.canControlPlaybackRate=function(){if(Se&&Me&&Ne<58)return!1;try{var t=vo.TEST_VID.playbackRate;return vo.TEST_VID.playbackRate=t/2+.1,t!==vo.TEST_VID.playbackRate}catch(t){return!1}},vo.supportsNativeTextTracks=function(){return Re},vo.supportsNativeVideoTracks=function(){return!(!vo.TEST_VID||!vo.TEST_VID.videoTracks)},vo.supportsNativeAudioTracks=function(){return!(!vo.TEST_VID||!vo.TEST_VID.audioTracks)},vo.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],vo.prototype.featuresVolumeControl=vo.canControlVolume(),vo.prototype.featuresPlaybackRate=vo.canControlPlaybackRate(),vo.prototype.movingMediaElementInDOM=!we,vo.prototype.featuresFullscreenResize=!0,vo.prototype.featuresProgressEvents=!0,vo.prototype.featuresTimeupdateEvents=!0,vo.prototype.featuresNativeTextTracks=vo.supportsNativeTextTracks(),vo.prototype.featuresNativeVideoTracks=vo.supportsNativeVideoTracks(),vo.prototype.featuresNativeAudioTracks=vo.supportsNativeAudioTracks();var go=vo.TEST_VID&&vo.TEST_VID.constructor.prototype.canPlayType,mo=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,_o=/^video\/mp4/i;vo.patchCanPlayType=function(){xe>=4&&!Pe&&!Me?vo.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&mo.test(t)?"maybe":go.call(this,t)}:je&&(vo.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&_o.test(t)?"maybe":go.call(this,t)})},vo.unpatchCanPlayType=function(){var t=vo.TEST_VID.constructor.prototype.canPlayType;return vo.TEST_VID.constructor.prototype.canPlayType=go,t},vo.patchCanPlayType(),vo.disposeMediaElement=function(t){if(t){for(t.parentNode&&t.parentNode.removeChild(t);t.hasChildNodes();)t.removeChild(t.firstChild);t.removeAttribute("src"),"function"==typeof t.load&&function(){try{t.load()}catch(t){}}()}},vo.resetMediaElement=function(t){if(t){for(var e=t.querySelectorAll("source"),n=e.length;n--;)t.removeChild(e[n]);t.removeAttribute("src"),"function"==typeof t.load&&function(){try{t.load()}catch(t){}}()}},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach(function(t){vo.prototype[t]=function(){return this.el_[t]||this.el_.hasAttribute(t)}}),["muted","defaultMuted","autoplay","loop","playsinline"].forEach(function(t){vo.prototype["set"+Q(t)]=function(e){this.el_[t]=e,e?this.el_.setAttribute(t,t):this.el_.removeAttribute(t)}}),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","played","networkState","readyState","videoWidth","videoHeight"].forEach(function(t){vo.prototype[t]=function(){return this.el_[t]}}),["volume","src","poster","preload","playbackRate","defaultPlaybackRate"].forEach(function(t){vo.prototype["set"+Q(t)]=function(e){this.el_[t]=e}}),["pause","load","play"].forEach(function(t){vo.prototype[t]=function(){return this.el_[t]()}}),Xr.withSourceHandlers(vo),vo.nativeSourceHandler={},vo.nativeSourceHandler.canPlayType=function(t){try{return vo.TEST_VID.canPlayType(t)}catch(t){return""}},vo.nativeSourceHandler.canHandleSource=function(t,e){if(t.type)return vo.nativeSourceHandler.canPlayType(t.type);if(t.src){var n=sr(t.src);return vo.nativeSourceHandler.canPlayType("video/"+n)}return""}, vo.nativeSourceHandler.handleSource=function(t,e,n){e.setSrc(t.src)},vo.nativeSourceHandler.dispose=function(){},vo.registerSourceHandler(vo.nativeSourceHandler),Xr.registerTech("Html5",vo);var bo=Xe(["\n Using the tech directly can be dangerous. I hope you know what you're doing.\n See https://github.com/videojs/video.js/issues/2617 for more info.\n "],["\n Using the tech directly can be dangerous. I hope you know what you're doing.\n See https://github.com/videojs/video.js/issues/2617 for more info.\n "]),To=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","ratechange","resize","volumechange","texttrackchange"],Co=function(t){function e(n,i,o){if(ze(this,e),n.id=n.id||"vjs_video_"+B(),i=r(e.getTagSettings(n),i),i.initChildren=!1,i.createEl=!1,i.evented=!1,i.reportTouchActivity=!1,!i.language)if("function"==typeof n.closest){var s=n.closest("[lang]");s&&s.getAttribute&&(i.language=s.getAttribute("lang"))}else for(var a=n;a&&1===a.nodeType;){if(k(a).hasOwnProperty("lang")){i.language=a.getAttribute("lang");break}a=a.parentNode}var l=Ue(this,t.call(this,null,i,o));if(l.isReady_=!1,l.hasStarted_=!1,l.userActive_=!1,!l.options_||!l.options_.techOrder||!l.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(l.tag=n,l.tagAttributes=n&&k(n),l.language(l.options_.language),i.languages){var c={};Object.getOwnPropertyNames(i.languages).forEach(function(t){c[t.toLowerCase()]=i.languages[t]}),l.languages_=c}else l.languages_=e.prototype.options_.languages;l.cache_={},l.poster_=i.poster||"",l.controls_=!!i.controls,l.cache_.lastVolume=1,n.controls=!1,n.removeAttribute("controls"),l.scrubbing_=!1,l.el_=l.createEl(),$(l,{eventBusKey:"el_"});var u=tt(l.options_);if(i.plugins){var h=i.plugins;Object.keys(h).forEach(function(t){if("function"!=typeof this[t])throw new Error('plugin "'+t+'" does not exist');this[t](h[t])},l)}l.options_.playerOptions=u,l.middleware_=[],l.initChildren(),l.isAudio("audio"===n.nodeName.toLowerCase()),l.controls()?l.addClass("vjs-controls-enabled"):l.addClass("vjs-controls-disabled"),l.el_.setAttribute("role","region"),l.isAudio()?l.el_.setAttribute("aria-label",l.localize("Audio Player")):l.el_.setAttribute("aria-label",l.localize("Video Player")),l.isAudio()&&l.addClass("vjs-audio"),l.flexNotSupported_()&&l.addClass("vjs-no-flex"),we||l.addClass("vjs-workinghover"),e.players[l.id_]=l;var p=ce.split(".")[0];return l.addClass("vjs-v"+p),l.userActive(!0),l.reportUserActivity(),l.listenForUserActivity_(),l.on("fullscreenchange",l.handleFullscreenChange_),l.on("stageclick",l.handleStageClick_),l.changingSrc_=!1,l.playWaitingForReady_=!1,l.playOnLoadstart_=null,l.forceAutoplayInChrome_(),l}return We(e,t),e.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),e.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&this.tech_.dispose(),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),Qt(this),t.prototype.dispose.call(this)},e.prototype.createEl=function(){var e=this.tag,n=void 0,r=this.playerElIngest_=e.parentNode&&e.parentNode.hasAttribute&&e.parentNode.hasAttribute("data-vjs-player"),i="video-js"===this.tag.tagName.toLowerCase();r?n=this.el_=e.parentNode:i||(n=this.el_=t.prototype.createEl.call(this,"div"));var o=k(e);if(i){for(n=this.el_=e,e=this.tag=ge.createElement("video");n.children.length;)e.appendChild(n.firstChild);m(n,"video-js")||_(n,"video-js"),n.appendChild(e),r=this.playerElIngest_=n}if(e.setAttribute("tabindex","-1"),e.removeAttribute("width"),e.removeAttribute("height"),Object.getOwnPropertyNames(o).forEach(function(t){"class"===t?(n.className+=" "+o[t],i&&(e.className+=" "+o[t])):(n.setAttribute(t,o[t]),i&&e.setAttribute(t,o[t]))}),e.playerId=e.id,e.id+="_html5_api",e.className="vjs-tech",e.player=n.player=this,this.addClass("vjs-paused"),!0!==pe.VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=fn("vjs-styles-dimensions");var s=en(".vjs-styles-defaults"),a=en("head");a.insertBefore(this.styleEl_,s?s.nextSibling:a.firstChild)}this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio);for(var l=e.getElementsByTagName("a"),c=0;c<l.length;c++){var u=l.item(c);_(u,"vjs-hidden"),u.setAttribute("hidden","hidden")}return e.initNetworkState_=e.networkState,e.parentNode&&!r&&e.parentNode.insertBefore(n,e),g(e,n),this.children_.unshift(e),this.el_.setAttribute("lang",this.language_),this.el_=n,n},e.prototype.width=function(t){return this.dimension("width",t)},e.prototype.height=function(t){return this.dimension("height",t)},e.prototype.dimension=function(t,e){var n=t+"_";if(void 0===e)return this[n]||0;if(""===e)return this[n]=void 0,void this.updateStyleEl_();var r=parseFloat(e);if(isNaN(r))return void Qe.error('Improper value "'+e+'" supplied for for '+t);this[n]=r,this.updateStyleEl_()},e.prototype.fluid=function(t){if(void 0===t)return!!this.fluid_;this.fluid_=!!t,t?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid"),this.updateStyleEl_()},e.prototype.aspectRatio=function(t){if(void 0===t)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(t))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=t,this.fluid(!0),this.updateStyleEl_()},e.prototype.updateStyleEl_=function(){if(!0===pe.VIDEOJS_NO_DYNAMIC_STYLE){var t="number"==typeof this.width_?this.width_:this.options_.width,e="number"==typeof this.height_?this.height_:this.options_.height,n=this.tech_&&this.tech_.el();return void(n&&(t>=0&&(n.width=t),e>=0&&(n.height=e)))}var r=void 0,i=void 0,o=void 0,s=void 0;o=void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9";var a=o.split(":"),l=a[1]/a[0];r=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/l:this.videoWidth()||300,i=void 0!==this.height_?this.height_:r*l,s=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(s),vn(this.styleEl_,"\n ."+s+" {\n width: "+r+"px;\n height: "+i+"px;\n }\n\n ."+s+".vjs-fluid {\n padding-top: "+100*l+"%;\n }\n ")},e.prototype.loadTech_=function(t,e){var n=this;this.tech_&&this.unloadTech_();var i=Q(t),o=t.charAt(0).toLowerCase()+t.slice(1);"Html5"!==i&&this.tag&&(Xr.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=i,this.isReady_=!1;var s={source:e,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+i+"_api",autoplay:this.options_.autoplay,playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"]};Pr.names.forEach(function(t){var e=Pr[t];s[e.getterName]=n[e.privateName]}),r(s,this.options_[i]),r(s,this.options_[o]),r(s,this.options_[t.toLowerCase()]),this.tag&&(s.tag=this.tag),e&&e.src===this.cache_.src&&this.cache_.currentTime>0&&(s.startTime=this.cache_.currentTime);var a=Xr.getTech(t);if(!a)throw new Error("No Tech named '"+i+"' exists! '"+i+"' should be registered using videojs.registerTech()'");this.tech_=new a(s),this.tech_.ready(yn(this,this.handleTechReady_),!0),Vn.jsonToTextTracks(this.textTracksJson_||[],this.tech_),To.forEach(function(t){n.on(n.tech_,t,n["handleTech"+Q(t)+"_"])}),this.on(this.tech_,"loadstart",this.handleTechLoadStart_),this.on(this.tech_,"waiting",this.handleTechWaiting_),this.on(this.tech_,"canplay",this.handleTechCanPlay_),this.on(this.tech_,"canplaythrough",this.handleTechCanPlayThrough_),this.on(this.tech_,"playing",this.handleTechPlaying_),this.on(this.tech_,"ended",this.handleTechEnded_),this.on(this.tech_,"seeking",this.handleTechSeeking_),this.on(this.tech_,"seeked",this.handleTechSeeked_),this.on(this.tech_,"play",this.handleTechPlay_),this.on(this.tech_,"firstplay",this.handleTechFirstPlay_),this.on(this.tech_,"pause",this.handleTechPause_),this.on(this.tech_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.on(this.tech_,"textdata",this.handleTechTextData_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===i&&this.tag||g(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},e.prototype.unloadTech_=function(){var t=this;Pr.names.forEach(function(e){var n=Pr[e];t[n.privateName]=t[n.getterName]()}),this.textTracksJson_=Vn.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1},e.prototype.tech=function(t){return void 0===t&&Qe.warn(Ze(bo)),this.tech_},e.prototype.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"mousedown",this.handleTechClick_),this.on(this.tech_,"touchstart",this.handleTechTouchStart_),this.on(this.tech_,"touchmove",this.handleTechTouchMove_),this.on(this.tech_,"touchend",this.handleTechTouchEnd_),this.on(this.tech_,"tap",this.handleTechTap_)},e.prototype.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_),this.off(this.tech_,"touchstart",this.handleTechTouchStart_),this.off(this.tech_,"touchmove",this.handleTechTouchMove_),this.off(this.tech_,"touchend",this.handleTechTouchEnd_),this.off(this.tech_,"mousedown",this.handleTechClick_)},e.prototype.handleTechReady_=function(){if(this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),(this.src()||this.currentSrc())&&this.tag&&this.options_.autoplay&&this.paused())try{delete this.tag.poster}catch(t){Qe("deleting tag.poster throws in some browsers",t)}},e.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay"))},e.prototype.hasStarted=function(t){if(void 0===t)return this.hasStarted_;t!==this.hasStarted_&&(this.hasStarted_=t,this.hasStarted_?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started"))},e.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},e.prototype.handleTechWaiting_=function(){var t=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",function(){return t.removeClass("vjs-waiting")})},e.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},e.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},e.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},e.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},e.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},e.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&(Qe.warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},e.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},e.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},e.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},e.prototype.handleTechClick_=function(t){R(t)&&this.controls_&&(this.paused()?this.play():this.pause())},e.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},e.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},e.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},e.prototype.handleTechTouchEnd_=function(t){t.preventDefault()},e.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},e.prototype.handleStageClick_=function(){this.reportUserActivity()},e.prototype.handleTechFullscreenChange_=function(t,e){e&&this.isFullscreen(e.isFullscreen),this.trigger("fullscreenchange")},e.prototype.handleTechError_=function(){var t=this.tech_.error();this.error(t)},e.prototype.handleTechTextData_=function(){var t=null;arguments.length>1&&(t=arguments[1]),this.trigger("textdata",t)},e.prototype.getCache=function(){return this.cache_},e.prototype.techCall_=function(t,e){this.ready(function(){if(t in $r)return Yt(this.middleware_,this.tech_,t,e);if(t in Jr)return Gt(this.middleware_,this.tech_,t,e);try{this.tech_&&this.tech_[t](e)}catch(t){throw Qe(t),t}},!0)},e.prototype.techGet_=function(t){if(this.tech_&&this.tech_.isReady_){if(t in Gr)return Kt(this.middleware_,this.tech_,t);if(t in Jr)return Gt(this.middleware_,this.tech_,t);try{return this.tech_[t]()}catch(e){if(void 0===this.tech_[t])throw Qe("Video.js: "+t+" method not defined for "+this.techName_+" playback technology.",e),e;if("TypeError"===e.name)throw Qe("Video.js: "+t+" unavailable on "+this.techName_+" playback technology element.",e),this.tech_.isReady_=!1,e;throw Qe(e),e}}},e.prototype.play=function(){var t=this;if(this.playOnLoadstart_&&this.off("loadstart",this.playOnLoadstart_),this.isReady_){if(!this.changingSrc_&&(this.src()||this.currentSrc()))return this.techGet_("play");this.playOnLoadstart_=function(){t.playOnLoadstart_=null,ct(t.play())},this.one("loadstart",this.playOnLoadstart_)}else{if(this.playWaitingForReady_)return;this.playWaitingForReady_=!0,this.ready(function(){t.playWaitingForReady_=!1,ct(t.play())})}},e.prototype.pause=function(){this.techCall_("pause")},e.prototype.paused=function(){return!1!==this.techGet_("paused")},e.prototype.played=function(){return this.techGet_("played")||it(0,0)},e.prototype.scrubbing=function(t){if(void 0===t)return this.scrubbing_;this.scrubbing_=!!t,t?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},e.prototype.currentTime=function(t){return void 0!==t?(t<0&&(t=0),void this.techCall_("setCurrentTime",t)):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},e.prototype.duration=function(t){if(void 0===t)return void 0!==this.cache_.duration?this.cache_.duration:NaN;t=parseFloat(t),t<0&&(t=1/0),t!==this.cache_.duration&&(this.cache_.duration=t,t===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange"))},e.prototype.remainingTime=function(){return this.duration()-this.currentTime()},e.prototype.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},e.prototype.buffered=function(){var t=this.techGet_("buffered");return t&&t.length||(t=it(0,0)),t},e.prototype.bufferedPercent=function(){return ot(this.buffered(),this.duration())},e.prototype.bufferedEnd=function(){var t=this.buffered(),e=this.duration(),n=t.end(t.length-1);return n>e&&(n=e),n},e.prototype.volume=function(t){var e=void 0;return void 0!==t?(e=Math.max(0,Math.min(1,parseFloat(t))),this.cache_.volume=e,this.techCall_("setVolume",e),void(e>0&&this.lastVolume_(e))):(e=parseFloat(this.techGet_("volume")),isNaN(e)?1:e)},e.prototype.muted=function(t){return void 0!==t?void this.techCall_("setMuted",t):this.techGet_("muted")||!1},e.prototype.defaultMuted=function(t){return void 0!==t?this.techCall_("setDefaultMuted",t):this.techGet_("defaultMuted")||!1},e.prototype.lastVolume_=function(t){return void 0!==t&&0!==t?void(this.cache_.lastVolume=t):this.cache_.lastVolume},e.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},e.prototype.isFullscreen=function(t){return void 0!==t?void(this.isFullscreen_=!!t):!!this.isFullscreen_},e.prototype.requestFullscreen=function(){var t=Pn;this.isFullscreen(!0),t.requestFullscreen?(X(ge,t.fullscreenchange,yn(this,function e(n){this.isFullscreen(ge[t.fullscreenElement]),!1===this.isFullscreen()&&q(ge,t.fullscreenchange,e),this.trigger("fullscreenchange")})),this.el_[t.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange"))},e.prototype.exitFullscreen=function(){var t=Pn;this.isFullscreen(!1),t.requestFullscreen?ge[t.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange"))},e.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=ge.documentElement.style.overflow,X(ge,"keydown",yn(this,this.fullWindowOnEscKey)),ge.documentElement.style.overflow="hidden",_(ge.body,"vjs-full-window"),this.trigger("enterFullWindow")},e.prototype.fullWindowOnEscKey=function(t){27===t.keyCode&&(!0===this.isFullscreen()?this.exitFullscreen():this.exitFullWindow())},e.prototype.exitFullWindow=function(){this.isFullWindow=!1,q(ge,"keydown",this.fullWindowOnEscKey),ge.documentElement.style.overflow=this.docOrigOverflow,b(ge.body,"vjs-full-window"),this.trigger("exitFullWindow")},e.prototype.canPlayType=function(t){for(var e=void 0,n=0,r=this.options_.techOrder;n<r.length;n++){var i=r[n],o=Xr.getTech(i);if(o||(o=An.getComponent(i)),o){if(o.isSupported()&&(e=o.canPlayType(t)))return e}else Qe.error('The "'+i+'" tech is undefined. Skipped browser support check for that tech.')}return""},e.prototype.selectSource=function(t){var e=this,n=this.options_.techOrder.map(function(t){return[t,Xr.getTech(t)]}).filter(function(t){var e=t[0],n=t[1];return n?n.isSupported():(Qe.error('The "'+e+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),r=function(t,e,n){var r=void 0;return t.some(function(t){return e.some(function(e){if(r=n(t,e))return!0})}),r},i=function(t,n){var r=t[0];if(t[1].canPlaySource(n,e.options_[r.toLowerCase()]))return{source:n,tech:r}};return(this.options_.sourceOrder?r(t,n,function(t){return function(e,n){return t(n,e)}}(i)):r(n,t,i))||!1},e.prototype.src=function(t){var e=this;if(void 0===t)return this.cache_.src||"";var n=Qr(t);if(!n.length)return void this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0);this.cache_.sources=n,this.changingSrc_=!0,this.cache_.source=n[0],Xt(this,n[0],function(t,r){if(e.middleware_=r,e.src_(t))return n.length>1?e.src(n.slice(1)):(e.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),void e.triggerReady());e.changingSrc_=!1,e.cache_.src=t.src,qt(r,e.tech_)})},e.prototype.src_=function(t){var e=this.selectSource([t]);return!e||(Z(e.tech,this.techName_)?(this.ready(function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",t):this.techCall_("src",t.src),"auto"===this.options_.preload&&this.load()},!0),!1):(this.changingSrc_=!0,this.loadTech_(e.tech,e.source),!1))},e.prototype.load=function(){this.techCall_("load")},e.prototype.reset=function(){this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset")},e.prototype.currentSources=function(){var t=this.currentSource(),e=[];return 0!==Object.keys(t).length&&e.push(t),this.cache_.sources||e},e.prototype.currentSource=function(){return this.cache_.source||{}},e.prototype.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},e.prototype.currentType=function(){return this.currentSource()&&this.currentSource().type||""},e.prototype.preload=function(t){return void 0!==t?(this.techCall_("setPreload",t),void(this.options_.preload=t)):this.techGet_("preload")},e.prototype.autoplay=function(t){return void 0!==t?(this.techCall_("setAutoplay",t),this.options_.autoplay=t,void this.ready(this.forceAutoplayInChrome_)):this.techGet_("autoplay",t)},e.prototype.forceAutoplayInChrome_=function(){this.paused()&&(this.autoplay()||this.options_.autoplay)&&Me&&!Se&&this.play()},e.prototype.playsinline=function(t){return void 0!==t?(this.techCall_("setPlaysinline",t),this.options_.playsinline=t,this):this.techGet_("playsinline")},e.prototype.loop=function(t){return void 0!==t?(this.techCall_("setLoop",t),void(this.options_.loop=t)):this.techGet_("loop")},e.prototype.poster=function(t){if(void 0===t)return this.poster_;t||(t=""),this.poster_=t,this.techCall_("setPoster",t),this.trigger("posterchange")},e.prototype.handleTechPosterChange_=function(){!this.poster_&&this.tech_&&this.tech_.poster&&(this.poster_=this.tech_.poster()||"",this.trigger("posterchange"))},e.prototype.controls=function(t){if(void 0===t)return!!this.controls_;t=!!t,this.controls_!==t&&(this.controls_=t,this.usingNativeControls()&&this.techCall_("setControls",t),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))},e.prototype.usingNativeControls=function(t){if(void 0===t)return!!this.usingNativeControls_;t=!!t,this.usingNativeControls_!==t&&(this.usingNativeControls_=t,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))},e.prototype.error=function(t){return void 0===t?this.error_||null:null===t?(this.error_=t,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close())):(this.error_=new st(t),this.addClass("vjs-error"),Qe.error("(CODE:"+this.error_.code+" "+st.errorTypes[this.error_.code]+")",this.error_.message,this.error_),void this.trigger("error"))},e.prototype.reportUserActivity=function(t){this.userActivity_=!0},e.prototype.userActive=function(t){if(void 0===t)return this.userActive_;if((t=!!t)!==this.userActive_){if(this.userActive_=t,this.userActive_)return this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),void this.trigger("useractive");this.tech_&&this.tech_.one("mousemove",function(t){t.stopPropagation(),t.preventDefault()}),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}},e.prototype.listenForUserActivity_=function(){var t=void 0,e=void 0,n=void 0,r=yn(this,this.reportUserActivity),i=function(t){t.screenX===e&&t.screenY===n||(e=t.screenX,n=t.screenY,r())},o=function(){r(),this.clearInterval(t),t=this.setInterval(r,250)},s=function(e){r(),this.clearInterval(t)};this.on("mousedown",o),this.on("mousemove",i),this.on("mouseup",s),this.on("keydown",r),this.on("keyup",r);var a=void 0;this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(a);var t=this.options_.inactivityTimeout;t<=0||(a=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},t))}},250)},e.prototype.playbackRate=function(t){return void 0!==t?void this.techCall_("setPlaybackRate",t):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("playbackRate"):1},e.prototype.defaultPlaybackRate=function(t){return void 0!==t?this.techCall_("setDefaultPlaybackRate",t):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},e.prototype.isAudio=function(t){return void 0!==t?void(this.isAudio_=!!t):!!this.isAudio_},e.prototype.addTextTrack=function(t,e,n){if(this.tech_)return this.tech_.addTextTrack(t,e,n)},e.prototype.addRemoteTextTrack=function(t,e){if(this.tech_)return this.tech_.addRemoteTextTrack(t,e)},e.prototype.removeRemoteTextTrack=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.track,n=void 0===e?arguments[0]:e;if(this.tech_)return this.tech_.removeRemoteTextTrack(n)},e.prototype.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},e.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},e.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},e.prototype.language=function(t){if(void 0===t)return this.language_;this.language_=String(t).toLowerCase()},e.prototype.languages=function(){return tt(e.prototype.options_.languages,this.languages_)},e.prototype.toJSON=function(){var t=tt(this.options_),e=t.tracks;t.tracks=[];for(var n=0;n<e.length;n++){var r=e[n];r=tt(r),r.player=void 0,t.tracks[n]=r}return t},e.prototype.createModal=function(t,e){var n=this;e=e||{},e.content=t||"";var r=new Wn(this,e);return this.addChild(r),r.on("dispose",function(){n.removeChild(r)}),r.open(),r},e.getTagSettings=function(t){var e={sources:[],tracks:[]},n=k(t),i=n["data-setup"];if(m(t,"vjs-fluid")&&(n.fluid=!0),null!==i){var o=Rn(i||"{}"),s=o[0],a=o[1];s&&Qe.error(s),r(n,a)}if(r(e,n),t.hasChildNodes())for(var l=t.childNodes,c=0,u=l.length;c<u;c++){var h=l[c],p=h.nodeName.toLowerCase();"source"===p?e.sources.push(k(h)):"track"===p&&e.tracks.push(k(h))}return e},e.prototype.flexNotSupported_=function(){var t=ge.createElement("i");return!("flexBasis"in t.style||"webkitFlexBasis"in t.style||"mozFlexBasis"in t.style||"msFlexBasis"in t.style||"msFlexOrder"in t.style)},e}(An);Pr.names.forEach(function(t){var e=Pr[t];Co.prototype[e.getterName]=function(){return this.tech_?this.tech_[e.getterName]():(this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName])}}),Co.players={};var ko=pe.navigator;Co.prototype.options_={techOrder:Xr.defaultTechOrder_,html5:{},flash:{},inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:ko&&(ko.languages&&ko.languages[0]||ko.userLanguage||ko.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."},Ie||Co.prototype.options_.children.push("resizeManager"),["ended","seeking","seekable","networkState","readyState"].forEach(function(t){Co.prototype[t]=function(){return this.techGet_(t)}}),To.forEach(function(t){Co.prototype["handleTech"+Q(t)+"_"]=function(){return this.trigger(t)}}),An.registerComponent("Player",Co);var wo={},Eo=function(t){return wo.hasOwnProperty(t)},So=function(t){return Eo(t)?wo[t]:void 0},xo=function(t,e){t.activePlugins_=t.activePlugins_||{},t.activePlugins_[e]=!0},jo=function(t,e,n){var r=(n?"before":"")+"pluginsetup";t.trigger(r,e),t.trigger(r+":"+e.name,e)},Ao=function(t,e){var n=function(){jo(this,{name:t,plugin:e,instance:null},!0);var n=e.apply(this,arguments);return xo(this,t),jo(this,{name:t,plugin:e,instance:n}),n};return Object.keys(e).forEach(function(t){n[t]=e[t]}),n},Po=function(t,e){return e.prototype.name=t,function(){jo(this,{name:t,plugin:e,instance:null},!0);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=new(Function.prototype.bind.apply(e,[null].concat([this].concat(r))));return this[t]=function(){return o},jo(this,o.getEventHash()),o}},Oo=function(){function t(e){if(ze(this,t),this.constructor===t)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=e,$(this),delete this.trigger,J(this,this.constructor.defaultState),xo(e,this.name),this.dispose=yn(this,this.dispose),e.on("dispose",this.dispose)}return t.prototype.version=function(){return this.constructor.VERSION},t.prototype.getEventHash=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.name=this.name,t.plugin=this.constructor,t.instance=this,t},t.prototype.trigger=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return K(this.eventBusEl_,t,this.getEventHash(e))},t.prototype.handleStateChanged=function(t){},t.prototype.dispose=function(){var t=this.name,e=this.player;this.trigger("dispose"),this.off(),e.off("dispose",this.dispose),e.activePlugins_[t]=!1,this.player=this.state=null,e[t]=Po(t,wo[t])},t.isBasic=function(e){var n="string"==typeof e?So(e):e;return"function"==typeof n&&!t.prototype.isPrototypeOf(n.prototype)},t.registerPlugin=function(e,n){if("string"!=typeof e)throw new Error('Illegal plugin name, "'+e+'", must be a string, was '+(void 0===e?"undefined":Ve(e))+".");if(Eo(e))Qe.warn('A plugin named "'+e+'" already exists. You may want to avoid re-registering plugins!');else if(Co.prototype.hasOwnProperty(e))throw new Error('Illegal plugin name, "'+e+'", cannot share a name with an existing player method!');if("function"!=typeof n)throw new Error('Illegal plugin for "'+e+'", must be a function, was '+(void 0===n?"undefined":Ve(n))+".");return wo[e]=n,"plugin"!==e&&(t.isBasic(n)?Co.prototype[e]=Ao(e,n):Co.prototype[e]=Po(e,n)),n},t.deregisterPlugin=function(t){if("plugin"===t)throw new Error("Cannot de-register base plugin.");Eo(t)&&(delete wo[t],delete Co.prototype[t])},t.getPlugins=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Object.keys(wo),e=void 0;return t.forEach(function(t){var n=So(t);n&&(e=e||{},e[t]=n)}),e},t.getPluginVersion=function(t){var e=So(t);return e&&e.VERSION||""},t}();Oo.getPlugin=So,Oo.BASE_PLUGIN_NAME="plugin",Oo.registerPlugin("plugin",Oo),Co.prototype.usingPlugin=function(t){return!!this.activePlugins_&&!0===this.activePlugins_[t]},Co.prototype.hasPlugin=function(t){return!!Eo(t)};var Mo=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":Ve(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.super_=e)},No=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(){t.apply(this,arguments)},r={};"object"===(void 0===e?"undefined":Ve(e))?(e.constructor!==Object.prototype.constructor&&(n=e.constructor),r=e):"function"==typeof e&&(n=e),Mo(n,t);for(var i in r)r.hasOwnProperty(i)&&(n.prototype[i]=r[i]);return n};"undefined"==typeof HTMLVideoElement&&h()&&(ge.createElement("video"),ge.createElement("audio"),ge.createElement("track"),ge.createElement("video-js"));var Io=function(t){return 0===t.indexOf("#")?t.slice(1):t};if(ae.hooks_={},ae.hooks=function(t,e){return ae.hooks_[t]=ae.hooks_[t]||[],e&&(ae.hooks_[t]=ae.hooks_[t].concat(e)),ae.hooks_[t]},ae.hook=function(t,e){ae.hooks(t,e)},ae.hookOnce=function(t,e){ae.hooks(t,[].concat(e).map(function(e){return function n(){return ae.removeHook(t,n),e.apply(void 0,arguments)}}))},ae.removeHook=function(t,e){var n=ae.hooks(t).indexOf(e);return!(n<=-1)&&(ae.hooks_[t]=ae.hooks_[t].slice(),ae.hooks_[t].splice(n,1),!0)},!0!==pe.VIDEOJS_NO_DYNAMIC_STYLE&&h()){var Do=en(".vjs-styles-defaults");if(!Do){Do=fn("vjs-styles-defaults");var Lo=en("head");Lo&&Lo.insertBefore(Do,Lo.firstChild),vn(Do,"\n .video-js {\n width: 300px;\n height: 150px;\n }\n\n .vjs-fluid {\n padding-top: 56.25%\n }\n ")}}return G(1,ae),ae.VERSION=ce,ae.options=Co.prototype.options_,ae.getPlayers=function(){return Co.players},ae.getPlayer=function(t){var e=Co.players,n=void 0;if("string"==typeof t){var r=Io(t),i=e[r];if(i)return i ;n=en("#"+r)}else n=t;if(p(n)){var o=n,s=o.player,a=o.playerId;if(s||e[a])return s||e[a]}},ae.getAllPlayers=function(){return Object.keys(Co.players).map(function(t){return Co.players[t]}).filter(Boolean)},ae.players=Co.players,ae.getComponent=An.getComponent,ae.registerComponent=function(t,e){Xr.isTech(e)&&Qe.warn("The "+t+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),An.registerComponent.call(An,t,e)},ae.getTech=Xr.getTech,ae.registerTech=Xr.registerTech,ae.use=Ut,!Ie&&Object.defineProperty?(Object.defineProperty(ae,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(ae.middleware,"TERMINATOR",{value:Yr,writeable:!1,enumerable:!0})):ae.middleware={TERMINATOR:Yr},ae.browser=He,ae.TOUCH_ENABLED=Be,ae.extend=No,ae.mergeOptions=tt,ae.bind=yn,ae.registerPlugin=Oo.registerPlugin,ae.plugin=function(t,e){return Qe.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),Oo.registerPlugin(t,e)},ae.getPlugins=Oo.getPlugins,ae.getPlugin=Oo.getPlugin,ae.getPluginVersion=Oo.getPluginVersion,ae.addLanguage=function(t,e){var n;return t=(""+t).toLowerCase(),ae.options.languages=tt(ae.options.languages,(n={},n[t]=e,n)),ae.options.languages[t]},ae.log=Qe,ae.createTimeRange=ae.createTimeRanges=it,ae.formatTime=re,ae.parseUrl=ir,ae.isCrossOrigin=ar,ae.EventTarget=_n,ae.on=X,ae.one=Y,ae.off=q,ae.trigger=K,ae.xhr=_r,ae.TextTrack=Cr,ae.AudioTrack=kr,ae.VideoTrack=wr,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach(function(t){ae[t]=function(){return Qe.warn("videojs."+t+"() is deprecated; use videojs.dom."+t+"() instead"),rn[t].apply(null,arguments)}}),ae.computedStyle=a,ae.dom=rn,ae.url=lr,ae});
burger.addEventListener("click", navToggle); window.addEventListener("mousemove", cursor); window.addEventListener("mouseover", activeCursor); window.addEventListener("scroll", HideCursor);
'use strict'; var gulp = require('gulp'), stripDebug = require('gulp-strip-debug'), gulpif = require('gulp-if'), $ = require('gulp-load-plugins')(), browserify = require('browserify'), watchify = require('watchify'), source = require('vinyl-source-stream'), connect = $.connectMulti, wiredep = require('wiredep').stream, devServer = connect(), proServer = connect(); gulp.task('connect-dev', devServer.server({ root: ['src'], port: 8989, livereload: true })); gulp.task('connect-pro', proServer.server({ root: ['dist'], port: 9090, livereload: true })); gulp.task('clean', function() { return gulp.src(['dist'], {read: false}) .pipe($.rimraf()); }); gulp.task('lint', function() { return gulp.src(['src/app/*.js', 'src/app/**/*.js']) .pipe($.jshint('.jshintrc')) .pipe($.jshint.reporter('jshint-stylish')); }); gulp.task('robots', function() { gulp.src('src/robots.txt') .pipe(gulp.dest('dist/')); }); gulp.task('static', function() { gulp.src('src/static/*') .pipe(gulp.dest('dist/static/')); }); gulp.task('config', function() { gulp.src('src/config/*') .pipe(gulp.dest('dist/config/')); }); gulp.task('fonts', function() { gulp.src('src/bower_components/bootstrap/dist/fonts/*') .pipe(gulp.dest('dist/assets/fonts')); }); gulp.task('images', function() { gulp.src('src/assets/images/*') .pipe(gulp.dest('dist/assets/images')); }); gulp.task('styles', ['compass'], function() { gulp.src('src/assets/styles/*.css') .pipe(gulp.dest('dist/assets/styles')); }); gulp.task('compass', function() { return gulp.src('src/assets/sass/*.scss') .pipe($.compass({ sass: 'src/assets/sass', css: 'src/assets/styles' })) .pipe($.minifyCss()) .pipe(gulp.dest('src/assets/styles')) }); gulp.task('base', ['robots', 'static', 'config', 'fonts', 'images', 'styles']); gulp.task('scripts', ['lint'], function() { var bundler = browserify({ entries: ['./src/app/app.js'], transform: ['babelify'], extensions: ['.jsx'], debug: true, cache: {}, packageCache: {}, fullPaths: true }); var watcher = watchify(bundler); return watcher .on('prebundle', function(bundler) { bundler.require('react'); }) .bundle() .pipe(source('app.js')) .pipe(gulp.dest('./dist/scripts/')); }); gulp.task('html', ['base', 'scripts'], function() { var assets = $.useref.assets(); return gulp.src('src/*.html') .pipe(assets) .pipe(gulpif('*.css', $.minifyCss())) .pipe(assets.restore()) .pipe($.useref()) .pipe(gulp.dest('dist')) .pipe($.size()); }); gulp.task('compress', ['html'], function() { gulp.src(['dist/scripts/app.js', 'dist/scripts/vendor.js']) .pipe(stripDebug()) .pipe($.uglify()) .pipe(gulp.dest('dist/scripts/')); }); gulp.task('wiredep', function() { gulp.src('src/*.html') .pipe(wiredep({ directory: 'src/bower_components', ignorePath: 'src/' })) .pipe(gulp.dest('src')); }); gulp.task('browserify', function() { var bundler = browserify({ entries: ['./src/app/app.js'], transform: ['babelify'], extensions: ['.jsx'], debug: true, cache: {}, packageCache: {}, fullPaths: true }); var watcher = watchify(bundler); return watcher .on('prebundle', function(bundler) { bundler.require('react'); }) .on('update', function() { var updateStart = Date.now(); console.log('Updating!'); watcher.bundle() .pipe(source('app.js')) .pipe(gulp.dest('./src/scripts/')); console.log('Updated!', (Date.now()-updateStart)+'ms'); }) .bundle() .pipe(source('app.js')) .pipe(gulp.dest('./src/scripts/')); }); gulp.task('refresh', ['browserify'], function() { gulp.src('src/scripts/app.js') .pipe(devServer.reload()); }); gulp.task('watch', ['connect-dev'], function() { gulp.watch([ 'src/*.html', 'src/assets/styles/*.css', 'src/assets/images/*', 'src/app/*.js', 'src/app/**/*.js' ], function(event) { return gulp.src(event.path) .pipe(devServer.reload()); }); gulp.watch(['src/assets/sass/*.scss'], ['compass']); gulp.watch(['src/app/*.js', 'src/app/**/*.js'], ['refresh']); gulp.watch('bower.json', ['wiredep']); }); gulp.task('dev', ['browserify'], function() { gulp.start('watch'); }); gulp.task('build', ['compress'], function() { gulp.start('connect-pro'); }); gulp.task('pro', ['clean'], function() { gulp.start('build'); }); gulp.task('deploy', ['compress'], function() { gulp.doneCallback = function(err) { process.exit(err ? 1:0); } }); gulp.task('production', ['clean'], function() { gulp.start('deploy'); });
const prompt = require('inquirer').prompt const axios = require('axios') const qs = require('qs') const store = require('../utils/store') const colors = require('colors') const config = require('../config') const logger = require('../utils/logger') const authUser = function (user) { return axios.post(config.server + '/login', qs.stringify(user)) } const saveAuthToken = function (res) { const token = res.data.data.token const message = res.data.message store.set(config.storeKeys.token, token) return logger.log(message.green) } module.exports = function (user) { if (!user || !user.email || !user.password) { return Promise.reject('Please provide your login details') } return authUser(user).then(saveAuthToken) }
// Copyright IBM Corp. 2018,2020. All Rights Reserved. // Node module: strong-globalize // This file is licensed under the Artistic License 2.0. // License text available at https://opensource.org/licenses/Artistic-2.0 'use strict'; var SG = require('../'); var helper = require('../lib/helper'); var loadMsgHelper = require('./load-msg-helper'); var sltTH = require('./slt-test-helper'); var test = require('tap').test; var targets = { formatjson001: { out: [ '{"title":"This is an error.","types":["error","log","info","warn"],' + '"threeWrites":{"e":"ewrite","o":"owrite","w":"write"}}\n', '{"title":"Dies ist ein Fehler.","types":["Fehler","Protokoll",' + '"Informationen","Warnen Sie"],"threeWrites":{"e":"ewrite",' + '"o":"owrite","w":"Schreiben Sie"}}\n', '{"title":"Este es un error.","types":["Error","Registro",' + '"Información","Aviso"],"threeWrites":{"e":"Writevx","o":"Owrite",' + '"w":"Escritura"}}\n', '{"title":"C\'est une erreur.","types":["Erreur","Journal","Info",' + '"Avertir"],"threeWrites":{"e":"Ewrite","o":"Owrite",' + '"w":"Ecriture"}}\n', '{"title":"Questo è un errore.","types":["Errore","Registrazione",' + '"Informazioni","Avvertite"],"threeWrites":{"e":"ewrite",' + '"o":"owrite","w":"Scrittura"}}\n', '{"title":"Este é um erro.","types":["Erro","REGISTRO","Informação",' + '"Avisar"],"threeWrites":{"e":"Ewrite","o":"Owrite","w":"Gravação"}}\n', // '{"title":"This is an error.","types":["error","log","info","warn"],' + // '"threeWrites":{"e":"ewrite","o":"owrite","w":"write"}}\n', '{"title":"これは間違いです。","types":["間違い","丸太","情報",' + '"警告をして下さい"],"threeWrites":{"e":"ewrite","o":"owrite",' + '"w":"書いて下さい"}}\n', '{"title":"이것은 오류이다.","types":["오류","통나무","정보","경고를 해라"],' + '"threeWrites":{"e":"ewrite","o":"owrite","w":"기록"}}\n', '{"title":"这个是一在中的错误。","types":["在中的错误","原木","信息","警告"],' + '"threeWrites":{"e":"ewrite","o":"owrite","w":"写"}}\n', '{"title":"這個是一在中的錯誤。","types":["在中的錯誤","原木","資訊","警告"],' + '"threeWrites":{"e":"ewrite","o":"owrite","w":"寫"}}\n', ], err: [], }, }; // results should be exactly the same targets.formatyaml001 = targets.formatjson001; var allKeys = '[' + '"title",' + '["types", 0],' + '["types", 1],' + '["types", 2],' + '["types", 3],' + '["threeWrites", "e"],' + '["threeWrites", "o"],' + '["threeWrites", "w"]' + ']'; test('test formatJson and formatYaml', function (t) { sltTH.testHarness( t, targets, false, function (name, unhook_intercept, callback) { var rootDir = helper.getRootDir(); SG.SetRootDir(rootDir); var g = new SG(); var fileName = null; if (name === 'formatjson001') fileName = 'data.json'; if (name === 'formatyaml001') fileName = 'data.yml'; switch (name) { case 'formatjson001': case 'formatyaml001': g.formatMessage(fileName, allKeys); var langs = loadMsgHelper.wellKnownLangs; langs.forEach(function (lang) { g.setLanguage(lang); var dataJson = g.formatMessage( fileName, '[' + '"title",' + '["types", 0],' + '["types", 1],' + '["types", 2],' + '["types", 3],' + '["threeWrites", "e"],' + '["threeWrites", "o"],' + '["threeWrites", "w"]' + ']', lang ); console.log(JSON.stringify(dataJson)); }); break; default: } unhook_intercept(); callback(); }, function () { t.end(); } ); });
import { graphql } from "gatsby" import React from "react" import Layout from "../components/layout" import ReactHtmlParser from "react-html-parser"; const PressReleaseDetail = ({ data }) => ( <Layout> <section className="grid-container"> <h2>{ data.nodePressRelease.title }</h2> { ReactHtmlParser(data.nodePressRelease.body.value) } </section> </Layout> ) export default PressReleaseDetail export const query = graphql` query PressReleaseDetails($id: String!) { nodePressRelease(id: { eq: $id }) { title body { value } } } `
import React, { Component } from 'react'; import axios from 'axios'; export default class ApproveComment extends Component { constructor(props){ super(props); this.state = { comments_id: this.props.comments_id, comment: this.props.comment, artist: this.props.artist, custom_id: this.props.custom_id, status: this.props.status } this.onClick = this.onClick.bind(this) } onClick(){ let approve ={ status_custom_id : this.state.custom_id, status_artist_id : this.state.artist.artist_id } console.log(JSON.stringify(approve)); axios.post("http://localhost:8090/artistComments/approveCustRequestStatusTrial",JSON.stringify(approve),{ headers: {'Content-Type': 'application/json'} }) .then(res=>{ console.log(res.data); console.log(res.status) this.props.history.push({pathname:'/custom-art-request'}); }).catch(err=>{ console.log(err); }); } render() { return ( <div className="paintbox" id={this.state.comments_id}> <div className="details"> {/* <p>Customer Name:{this.state.buyer}</p> */} <label>Comment:</label> <p>{this.state.comment}</p> <label>Artist Details:</label> <p>Name: {this.state.artist.userDetails.first_name + " " + this.state.artist.userDetails.last_name}</p> <p>Experiece in Art: {this.state.artist.experience} years</p> <p>Contact: {this.state.artist.userDetails.email_address}</p> <p>From: {this.state.artist.userDetails.address}</p> <button className="btn btn-dark btn-lg btn-block" onClick={this.onClick}> <p>Approve</p> </button> </div> </div> ) } }
import {RegularBall} from "./regularBall"; import TWEEN from "@tweenjs/tween.js"; export const x3Ball = 'x3'; export class X3Ball extends RegularBall { constructor(x, y, colorIdx, color, cellWidth, cellHeight, game) { super(x, y, colorIdx, color, cellWidth, cellHeight, game); this.opacity = 1; } getType() { return x3Ball; } drawBall() { super.drawBall(); let radius = Math.floor(this.cellHeight * 0.3125); this.game.ctx.font = `bold ${radius * 0.55}px SmallPixel`; this.game.ctx.textAlign = 'center'; this.game.ctx.textBaseline = 'middle'; this.game.ctx.fillStyle = `rgba(0,0,0,${this.opacity})`; this.game.ctx.fillText('x3', 0, 0); } vanish(onComplete, delay = 0) { super.vanish(onComplete, delay); let textVanish = new TWEEN.Tween(this).to({opacity:0}, 300).easing(TWEEN.Easing.Quadratic.In) .delay(delay).start(); } }
Ext.define('RaxaEmr.Pharmacy.store.Persons', { extend: 'Ext.data.Store', model: 'RaxaEmr.Pharmacy.model.Person', proxy: { type: 'rest', url: HOST + '/ws/rest/v1/person', headers: Util.getBasicAuthHeaders(), reader: { type: 'json' }, writer: { type: 'json' } } });
import { UNPAID_STATE, WIZARD_ENABLED } from '../../constants'; import { API_CUSTOM_ERROR_CODES } from '../../errors'; /* @ngInject */ function signupUserProcess( $location, AppModel, dispatchers, gettextCatalog, settingsApi, signupModel, authentication, lazyLoader, Address, $state, setupKeys, notification ) { const CACHE = {}; const { dispatcher } = dispatchers(['signup']); const dispatch = (type, data = {}) => dispatcher.signup(type, data); const I18N = { ERROR_ADDRESS_CREATION: gettextCatalog.getString('Something went wrong during address creation', null, 'Error'), ERROR_PROCESS: gettextCatalog.getString('Something went wrong', null, 'Error') }; async function doCreateUser(model) { dispatch('create.user', { value: true }); try { const { data } = await signupModel.createUser(model); return data; } catch (e) { const { data = {} } = e; // Failed Human verification if (data.Code === API_CUSTOM_ERROR_CODES.USER_CREATE_TOKEN_INVALID) { dispatch('creating', { value: false }); dispatch('chech.humanity', { value: true }); return Promise.reject({ error: new Error(data.Error), verbose: false }); } return Promise.reject({ error: new Error(data.Error), verbose: true }); } } async function setUserLanguage() { if ($location.search().language) { return settingsApi.updateLocale({ Locale: gettextCatalog.getCurrentLanguage() }); } } function doLogUserIn() { dispatch('loguserin', { value: true }); return authentication .loginWithCredentials({ Username: signupModel.get('username'), Password: signupModel.getPassword() }) .then(({ data }) => { authentication.receivedCredentials(data); return authentication.setAuthCookie(data); }) .then(() => { AppModel.set('isLoggedIn', authentication.isLoggedIn()); AppModel.set('isLocked', authentication.isLocked()); AppModel.set('isSecure', authentication.isSecured()); }); } async function doAccountSetup() { dispatch('setup.account', { value: true }); try { const { data } = await Address.setup({ Domain: signupModel.getDomain() }); CACHE.setupPayload.keys[0].AddressID = data.Address.ID; return setupKeys.setup(CACHE.setupPayload, signupModel.getPassword()).then(() => { authentication.savePassword(CACHE.setupPayload.mailboxPassword); AppModel.set('isLoggedIn', authentication.isLoggedIn()); AppModel.set('isLocked', authentication.isLocked()); AppModel.set('isSecure', authentication.isSecured()); return data; }); } catch (err) { const { data = {} } = err; if (data.Error) { throw new Error(data.Error); } throw err; } } async function doGetUserInfo() { dispatch('user.get', { value: true }); await lazyLoader.app(); return authentication.fetchUserInfo(); } function finishRedirect() { dispatch('user.finish', { value: true }); delete CACHE.setupPayload; if (authentication.user.Delinquent < UNPAID_STATE.DELINQUENT) { return $state.go('secured.inbox', { welcome: WIZARD_ENABLED }); } $state.go('secured.dashboard'); } const createAddress = async () => { try { return await doLogUserIn().then(doAccountSetup); } catch (e) { const { data = {} } = e; if (data.Error) { return Promise.reject({ error: new Error(data.Error || I18N.ERROR_ADDRESS_CREATION), verbose: true, redirect: 'login' }); } throw e; } }; const create = async (model) => { await doCreateUser(model); await createAddress(); return setUserLanguage() .then(doGetUserInfo) .then(finishRedirect); }; function generateNewKeys() { dispatch('generate.newkeys', { value: true }); return setupKeys .generate([{ ID: 0, Email: signupModel.getEmail() }], signupModel.getPassword()) .then((result) => (CACHE.setupPayload = result)); } const createAccount = (model) => { create(model).catch((e) => { notification.error(e.error ? e.error.message : I18N.ERROR_PROCESS); dispatch('signup.error', { value: true }); console.error(e); e.redirect && $state.go(e.redirect); }); }; return { createAccount, generateNewKeys }; } export default signupUserProcess;
module.exports = { siteName: 'From Design to Development Crash Course', homepage: 'https://fromdesignto.dev', authorName: 'Colby Fayock', authorUrl: 'https://twitter.com/colbyfayock', supportEmail: 'hello@colbyfayock.com' }
/* * Copyright © 2016-2019 The Thingsboard Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* eslint-disable */ const HtmlWebpackPlugin = require('html-webpack-plugin'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); const CopyWebpackPlugin = require('copy-webpack-plugin'); const CompressionPlugin = require('compression-webpack-plugin'); const webpack = require('webpack'); const path = require('path'); const dirTree = require('directory-tree'); const jsonminify = require("jsonminify"); const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); const HappyPack = require('happypack'); const PUBLIC_RESOURCE_PATH = '/static/'; var langs = []; dirTree('./src/app/locale/', {extensions:/\.json$/}, (item) => { /* It is expected what the name of a locale file has the following format: */ /* 'locale.constant-LANG_CODE[_REGION_CODE].json', e.g. locale.constant-es.json or locale.constant-zh_CN.json*/ langs.push(item.name.slice(item.name.lastIndexOf('-') + 1, -5)); }); var happyThreadPool = HappyPack.ThreadPool({ size: 3 }); module.exports = { devtool: 'source-map', entry: [ './src/app/app.js', 'webpack-material-design-icons' ], output: { path: path.resolve(__dirname, 'target/generated-resources/public/static'), publicPath: PUBLIC_RESOURCE_PATH, filename: 'bundle.[hash].js', }, plugins: [ new webpack.ProvidePlugin({ $: "jquery", jQuery: "jquery", "window.jQuery": "jquery", tinycolor: "tinycolor2", tv4: "tv4", moment: "moment" }), new CopyWebpackPlugin([ { from: './src/thingsboard.ico', to: 'thingsboard.ico' }, { from: './src/app/locale', to: 'locale', ignore: [ '*.js' ], transform: function(content, path) { return Buffer.from(jsonminify(content.toString())); } } ]), new HtmlWebpackPlugin({ template: './src/index.html', filename: '../index.html', title: 'ThingsBoard', inject: 'body', }), new webpack.optimize.OccurrenceOrderPlugin(), new webpack.NoErrorsPlugin(), new webpack.optimize.DedupePlugin(), new webpack.optimize.CommonsChunkPlugin('vendor', 'vendor.[hash].js'), new ExtractTextPlugin('style.[contentHash].css', { allChunks: true, }), new webpack.DefinePlugin({ THINGSBOARD_VERSION: JSON.stringify(require('./package.json').version), '__DEVTOOLS__': false, 'process.env': { NODE_ENV: JSON.stringify('production'), }, PUBLIC_PATH: PUBLIC_RESOURCE_PATH, SUPPORTED_LANGS: JSON.stringify(langs) }), new CompressionPlugin({ asset: "[path].gz[query]", algorithm: "gzip", test: /\.js$|\.css$|\.svg$|\.ttf$|\.woff$|\.woff2|\.eot$\.json$/, threshold: 10240, minRatio: 0.8 }), new UglifyJsPlugin({ cache: true, parallel: true }), new HappyPack({ threadPool: happyThreadPool, id: 'cached-babel', loaders: ["babel-loader?cacheDirectory=true"] }), new HappyPack({ threadPool: happyThreadPool, id: 'eslint', loaders: ["eslint-loader?{parser: 'babel-eslint'}"] }), new HappyPack({ threadPool: happyThreadPool, id: 'ng-annotate-and-cached-babel-loader', loaders: ['ng-annotate', 'babel-loader?cacheDirectory=true'] }) ], node: { tls: "empty", fs: "empty" }, module: { loaders: [ { test: /\.jsx$/, loader: 'happypack/loader?id=cached-babel', exclude: /node_modules/, include: __dirname, }, { test: /\.js$/, loaders: ['happypack/loader?id=ng-annotate-and-cached-babel-loader'], exclude: /node_modules/, include: __dirname, }, { test: /\.js$/, loaders: ['happypack/loader?id=eslint'], // loader: "eslint-loader?{parser: 'babel-eslint'}", exclude: /node_modules|vendor/, include: __dirname, }, { test: /\.css$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader'), }, { test: /\.scss$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader!postcss-loader!sass-loader'), }, { test: /\.less$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader!postcss-loader!less-loader'), }, { test: /\.tpl\.html$/, loader: 'ngtemplate?relativeTo=' + (path.resolve(__dirname, './src/app')) + '/!html!html-minifier-loader' }, { test: /\.(svg)(\?v=[0-9]+\.[0-9]+\.[0-9]+)?$/, loader: 'url?limit=8192' }, { test: /\.(png|jpe?g|gif|woff|woff2|ttf|otf|eot|ico)(\?v=[0-9]+\.[0-9]+\.[0-9]+)?$/, loaders: [ 'url?limit=8192', 'img?minimize' ] } ], }, 'html-minifier-loader': { caseSensitive: true, removeComments: true, collapseWhitespace: false, preventAttributesEscaping: true, removeEmptyAttributes: false } };
describe("Utils", function(){ it("Utils.convBase", function(){ expect(Nehan.Utils.convBase(128, 10)).toEqual([1, 2, 8]); expect(Nehan.Utils.convBase(128, 16)).toEqual([8, 0]); }); it("Utils.trimHeadCRLF", function(){ expect(Nehan.Utils.trimHeadCRLF("\r\n\nhoge")).toBe("hoge"); }); it("Utils.trimTailCRLF", function(){ expect(Nehan.Utils.trimTailCRLF("hoge\r\n\n\r\n")).toBe("hoge"); }); it("Utils.trimCRLF", function(){ expect(Nehan.Utils.trimCRLF("\r\n\nhoge\n\r\n")).toBe("hoge"); }); it("Utils.trim", function(){ expect(Nehan.Utils.trim(" \nhoge \n")).toBe("hoge"); }); it("Utils.cutQuote", function(){ expect(Nehan.Utils.cutQuote("'hoge' \"hige\"")).toBe("hoge hige"); }); it("Utils.capitalize", function(){ expect(Nehan.Utils.capitalize("japan")).toBe("Japan"); }); it("Utils.filenameConcat", function(){ expect(Nehan.Utils.filenameConcat("/path/to", "foo")).toBe("/path/to/foo"); expect(Nehan.Utils.filenameConcat("/path/to/", "foo")).toBe("/path/to/foo"); }); it("Utils.camelToChain", function(){ expect(Nehan.Utils.camelToChain("fontSize")).toBe("font-size"); expect(Nehan.Utils.camelToChain("helpMeDoraemon")).toBe("help-me-doraemon"); }); it("Utils.camelize", function(){ expect(Nehan.Utils.camelize("font-size")).toBe("fontSize"); expect(Nehan.Utils.camelize("help-me-doraemon")).toBe("helpMeDoraemon"); }); it("Utils.splitBy", function(){ expect(Nehan.Utils.splitBy("foo", ",")).toEqual(["foo"]); expect(Nehan.Utils.splitBy("foo,bar", ",")).toEqual(["foo", "bar"]); }); it("Utils.splitBySpace", function(){ expect(Nehan.Utils.splitBySpace("foo")).toEqual(["foo"]); expect(Nehan.Utils.splitBySpace("foo bar\tbaz")).toEqual(["foo", "bar", "baz"]); }); it("Utils.isNumber", function(){ expect(Nehan.Utils.isNumber(true)).toBe(false); expect(Nehan.Utils.isNumber(false)).toBe(false); expect(Nehan.Utils.isNumber(0)).toBe(true); expect(Nehan.Utils.isNumber(1)).toBe(true); expect(Nehan.Utils.isNumber("0")).toBe(true); expect(Nehan.Utils.isNumber("1")).toBe(true); expect(Nehan.Utils.isNumber("1.0")).toBe(true); expect(Nehan.Utils.isNumber("1.5")).toBe(true); expect(Nehan.Utils.isNumber("10e+2")).toBe(true); expect(Nehan.Utils.isNumber("10e-2")).toBe(true); expect(Nehan.Utils.isNumber(Infinity)).toBe(true); }); it("Utils.getPercentValue", function(){ expect(Nehan.Utils.getPercentValue(10, 100)).toBe(10); expect(Nehan.Utils.getPercentValue(10.1, 100)).toBe(10); expect(Nehan.Utils.getPercentValue(10.5, 100)).toBe(11); // floating point is rounded. expect(Nehan.Utils.getPercentValue(55, 100)).toBe(55); expect(Nehan.Utils.getPercentValue(110, 100)).toBe(110); }); it("Utils.getEmSize", function(){ expect(Nehan.Utils.getEmSize(0.5, 16)).toBe(8); expect(Nehan.Utils.getEmSize(0.6, 16)).toBe(10); // Math.round(9.6) -> 10 expect(Nehan.Utils.getEmSize(1, 16)).toBe(16); expect(Nehan.Utils.getEmSize(2, 16)).toBe(32); }); // 1pt = 4/3px it("Utils.getPxFromPt", function(){ expect(Nehan.Utils.getPxFromPt(1)).toBe(1); expect(Nehan.Utils.getPxFromPt(1.5)).toBe(2); expect(Nehan.Utils.getPxFromPt(2)).toBe(3); expect(Nehan.Utils.getPxFromPt(3)).toBe(4); }); it("Utils.replaceFirstLetter", function(){ expect(Nehan.Utils.replaceFirstLetter("foo", function(letter){ return "<letter>" + letter + "</letter>"; })).toBe("<letter>f</letter>oo"); expect(Nehan.Utils.replaceFirstLetter("\n\t foo", function(letter){ return "<letter>" + letter + "</letter>"; })).toBe("\n\t <letter>f</letter>oo"); expect(Nehan.Utils.replaceFirstLetter("<p>foo</p>", function(letter){ return "<letter>" + letter + "</letter>"; })).toBe("<p><letter>f</letter>oo</p>"); expect(Nehan.Utils.replaceFirstLetter("<p>\nfoo</p>", function(letter){ return "<letter>" + letter + "</letter>"; })).toBe("<p>\n<letter>f</letter>oo</p>"); expect(Nehan.Utils.replaceFirstLetter("<p>\n\t foo</p>", function(letter){ return "<letter>" + letter + "</letter>"; })).toBe("<p>\n\t <letter>f</letter>oo</p>"); }); it("Utils.charCodeOfCharRef", function(){ expect(Nehan.Utils.charCodeOfCharRef("&#xFB00;")).toEqual(64256); expect(Nehan.Utils.charCodeOfCharRef("&#64256;")).toEqual(64256); }); it("Utils.charRefToUni", function(){ expect(Nehan.Utils.charRefToUni("&#xFB00;")).toBe("\uFB00"); expect(Nehan.Utils.charRefToUni("&#xfb00;")).toBe("\uFB00"); expect(Nehan.Utils.charRefToUni("&#64256;")).toBe("\uFB00"); }); });
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // tslint:disable no-string-based-set-timeout exports.default = (ms = 1000) => { return new Promise(resolve => setTimeout(resolve, ms)); };
/** * BSD 3-Clause License * * Copyright (c) 2021, Avonni Labs, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, this * list of conditions and the following disclaimer. * * - Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. * * - Neither the name of the copyright holder nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ import { InputCounter } from '../__examples__/inputCounter'; export default { title: 'Example/Input Counter', argTypes: { label: { control: { type: 'text' }, type: { required: true }, description: 'Text label for the input.', table: { type: { summary: 'string' } } }, fieldLevelHelp: { name: 'field-level-help', control: { type: 'text' }, description: 'Help text detailing the purpose and function of the input.', table: { type: { summary: 'string' } } }, max: { control: { type: 'number' }, description: 'The maximum acceptable value for the input. Constrains the incrementer to stop at the specified max. If the entered value is above the max, incrementing or decrementing will then set the value to the specified max', table: { type: { summary: 'number' }, category: 'Validation' } }, min: { control: { type: 'number' }, description: 'The minimum acceptable value for the input. Constrains the decrementer to stop at the specified min. If an entered value is below the min, incrementing or decrementing will then set the value to the specified min', table: { type: { summary: 'number' }, category: 'Validation' } }, step: { name: 'step', control: { type: 'number' }, defaultValue: 1, description: 'Amount to add or substract from the value', table: { type: { summary: 'number' }, defaultValue: 1, category: 'Validation' } }, fractionDigits: { name: 'fraction-digits', control: { type: 'number' }, description: 'Granularity of the value - precision of significant decimal digits ( specified as a positive integer. ex: 2 formats the value to 2 digits after the decimal )', table: { type: { summary: 'number' }, category: 'Validation' } }, value: { control: { type: 'number' }, description: 'Specifies the value of an input element.', table: { type: { summary: 'number' } } }, variant: { control: { type: 'select' }, options: [ 'standard', 'label-inline', 'label-hidden', 'label-stacked' ], defaultValue: 'standard', description: 'The variant changes the appearance of an input field. Accepted variants include standard, label-inline, label-hidden, and label-stacked. This value defaults to standard, which displays the label above the field. Use label-hidden to hide the label but make it available to assistive technology. Use label-inline to horizontally align the label and input field. Use label-stacked to place the label above the input field.', table: { type: { summary: 'string' }, defaultValue: { summary: 'standard' } } }, disabled: { control: { type: 'boolean' }, defaultValue: 0, description: 'If present, the input field is disabled and users cannot interact with it.', table: { type: { summary: 'boolean' }, defaultValue: { summary: 'false' }, category: 'Validation' } }, readOnly: { name: 'read-only', control: { type: 'boolean' }, defaultValue: 0, description: 'If present, the input field is read-only and cannot be edited by users.', table: { defaultValue: { summary: 'false' }, type: { summary: 'boolean' }, category: 'Validation' } }, required: { control: { type: 'boolean' }, defaultValue: 0, description: 'If present, the input field must be filled out before the form is submitted.', table: { defaultValue: { summary: 'false' }, type: { summary: 'boolean' }, category: 'Validation' } }, messageWhenBadInput: { name: 'message-when-bad-input', control: { type: 'text' }, description: 'Error message to be displayed when a bad input is detected.', table: { category: 'Validation', subcategory: 'Error messages', type: { summary: 'string' } } }, messageWhenPatternMismatch: { name: 'message-when-pattern-mismatch', control: { type: 'text' }, description: 'Error message to be displayed when a pattern mismatch is detected.', table: { category: 'Validation', subcategory: 'Error messages', type: { summary: 'string' } } }, messageWhenRangeOverflow: { name: 'message-when-range-overflow', control: { type: 'text' }, description: 'Error message to be displayed when a range overflow is detected.', table: { category: 'Validation', subcategory: 'Error messages', type: { summary: 'string' } } }, messageWhenRangeUnderflow: { name: 'message-when-range-underflow', control: { type: 'text' }, description: 'Error message to be displayed when a range underflow is detected.', table: { category: 'Validation', subcategory: 'Error messages', type: { summary: 'string' } } }, messageWhenStepMismatch: { name: 'message-when-step-mismatch', control: { type: 'text' }, description: 'Error message to be displayed when a step mismatch is detected.', table: { category: 'Validation', subcategory: 'Error messages', type: { summary: 'string' } } }, messageWhenValueMissing: { name: 'message-when-value-missing', control: { type: 'text' }, description: 'Error message to be displayed when the value is missing.', table: { category: 'Validation', subcategory: 'Error messages', type: { summary: 'string' } } }, type: { name: 'type', control: { type: 'select' }, options: ['number', 'currency', 'percent'], defaultValue: 'number', description: 'Input counter type. Valid values include number (default), currency, percent.', table: { default: { summary: 'number' }, type: { summary: 'string' } } } }, args: { disabled: false, readOnly: false, required: false } }; const Template = (args) => InputCounter(args); export const Base = Template.bind({}); Base.args = { label: 'Text label' }; export const InlineLabel = Template.bind({}); InlineLabel.args = { label: 'Input with inline label', fieldLevelHelp: 'Help text', variant: 'label-inline' }; export const HiddenLabel = Template.bind({}); HiddenLabel.args = { label: 'Input with hidden label', variant: 'label-hidden' }; export const ReadOnly = Template.bind({}); ReadOnly.args = { label: 'Read only input', fieldLevelHelp: 'The value has been set to 3', value: 3, readOnly: true }; export const Disabled = Template.bind({}); Disabled.args = { label: 'Disabled input', fieldLevelHelp: 'The value has been set to 16', value: 16, disabled: true }; export const Validations = Template.bind({}); Validations.args = { label: 'Input with validations', fieldLevelHelp: 'max is set to 6, min is set to 3', min: 3, max: 6, messageWhenRangeOverflow: 'The value needs to be equal or lesser than 6', messageWhenRangeUnderflow: 'The value needs to be equal or greater than 3' }; export const FractionDigitsTypeCurrency = Template.bind({}); FractionDigitsTypeCurrency.args = { label: 'Input with fraction digits, type currency and min/max', fieldLevelHelp: 'Max is set to $20, Min is set to $3.50, Step is set to $5.50, Fraction-Digits is 2 decimal spots', type: 'currency', step: 5.5, fractionDigits: 2, min: 3.5, max: 20, messageWhenRangeOverflow: 'The value needs to be equal or lesser than 20', messageWhenRangeUnderflow: 'The value needs to be equal or greater than 3.50' };
(function() { const redirect = { to_protocol: "https", to_domain_path:"ryoyakawai.com/blog", replace_reg_exp: new RegExp("^" + document["domain"]), arr_to_URL: new Array(), str_to_URL: "" }; document["URL"].split('/').map( value => { if(value.match(redirect.replace_reg_exp, value) != null) { value = redirect.to_domain_path; } redirect.arr_to_URL.push(value); }); redirect.arr_to_URL[0] = redirect.to_protocol + ":"; redirect.str_to_URL = redirect.arr_to_URL.join("/"); console.log("Redirecting to: " + redirect.str_to_URL); window.location.replace(redirect.str_to_URL); }());
/* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.editorConfig = function(config) { config.uiColor = '#F5F5F5'; config.plugins = 'uploadwidget,a11yhelp,about,basicstyles,bidi,blockquote,button,clipboard,colorbutton,colordialog,contextmenu,dialog,dialogadvtab,dialogui,div,enterkey,entities,fakeobjects,find,flash,floatingspace,floatpanel,font,format,forms,horizontalrule,htmlwriter,iframe,image2,indent,indentblock,indentlist,justify,link,list,listblock,liststyle,magicline,maximize,menu,menubutton,newpage,pagebreak,panel,panelbutton,pastefromword,pastetext,popup,preview,print,removeformat,resize,richcombo,save,scayt,selectall,showblocks,showborders,smiley,sourcearea,specialchar,stylescombo,tab,table,tabletools,templates,toolbar,undo,wsc,wysiwygarea,mathjax,widget,embed,filebrowser,autoembed,codesnippet,footnotes'; config.extraPlugins = "resource,resourceupload,chamilo,chamilofakeobjects,autosave,quickquestion,recording,resourcestylecontextmenu"; config.menu_groups = 'clipboard,' + 'form,' + 'tablecell,tablecellproperties,tablerow,tablecolumn,table,' + 'anchor,link,image,flash,' + 'checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea,div,' + 'chamilo'; config.toolbarCanCollapse = true; config.toolbar_Full = [ [ 'Source', '-', 'Save', 'NewPage', 'Preview', '-', 'Templates' ], [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', 'PasteCode', '-', 'Print', 'SpellChecker', 'Scayt' ], [ 'Undo', 'Redo', '-', 'Find', 'Replace', '-', 'SelectAll', 'RemoveFormat' ], [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ], '/', [ 'Bold', 'Italic', 'Underline', 'Strike', '-', 'Subscript', 'Superscript' ], [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote' ], [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock' ], [ 'Link', 'Unlink', 'Anchor' ], [ 'Chamilo', 'Image', 'Embed', 'Mathjax', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Footnotes', 'CodeSnippet' ], '/', [ 'Format', 'Font', 'FontSize' ], [ 'TextColor', 'BGColor' ], [ 'Maximize', 'ShowBlocks', '-', 'About' ] ]; config.toolbar_Basic = [ [ 'Maximize', '-', 'Format', 'Font', 'FontSize', '-', 'Bold', 'Italic', 'Underline' ], '/', [ 'Preview', 'Print', '-', 'Undo', 'Redo', '-', 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', 'PasteCode', '-', 'NumberedList', 'BulletedList', 'HorizontalRule', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', 'Outdent', 'Indent' ], '/', [ 'Link', 'Unlink', 'Anchor', '-', 'TextColor', 'BGColor', '-', 'Table', 'Resource', 'Embed', 'Mathjax', 'Smiley', 'Quickquestion', 'Recording', '-', 'Templates', 'SpecialChar', 'Footnotes', 'CodeSnippet', '-', 'Source' ] ]; /*config.filebrowserBrowseUrl = web_path + 'index.php?application=Chamilo\\Core\\Repository&go=HtmlEditorFile&plugin=chamilo';*/ config.uploadUrl = web_path + 'index.php?application=Chamilo\\Core\\Repository\\Ajax&go=HtmlEditorFileUpload'; /*config.filebrowserImageBrowseUrl = web_path + 'index.php?application=Chamilo\\Core\\Repository&go=HtmlEditorFile&plugin=chamilo&tab=Browser'; config.filebrowserImageUploadUrl= web_path + 'index.php?application=Chamilo\\Core\\Repository&go=HtmlEditorFile&plugin=chamilo';*/ config.filebrowserChamiloBrowseUrl = web_path + 'index.php?application=Chamilo\\Core\\Repository&go=HtmlEditorFile&plugin=chamilo'; config.filebrowserChamiloHandbookLinkBrowseUrl = web_path + 'index.php?application=Chamilo\\Application\Handbook&go=handbook_topic_picker'; config.latexDialogUrl = web_path + 'Chamilo/Libraries/Resources/Javascript/HtmlEditor/Ckeditor/plugins/latex/dialogs/latex.html?a=b'; config.image2_captionedClass = 'image-captioned'; config.image2_alignClasses = [ 'align-left', 'align-center', 'align-right' ]; config.contentsCss = [ web_path + 'Chamilo/Libraries/Resources/Javascript/HtmlEditor/Ckeditor/contents.css?t=' + CKEDITOR.timestamp, web_path + 'index.php?application=Chamilo\\Libraries\\Ajax&go=CkeditorCss&theme=' + getTheme() + '&t=' + CKEDITOR.timestamp, web_path + 'index.php?application=Chamilo%5CLibraries%5CAjax&go=resource&type=css&theme=' + getTheme() + '&t=' + CKEDITOR.timestamp ]; config.embed_provider = '//noembed.com/embed?maxwidth=640&maxheight=480&url={url}&callback={callback}'; //free. Default is iframely. config.disableNativeSpellChecker = false; config.allowedContent = true; config.resize_dir = 'both'; //config.enterMode = CKEDITOR.ENTER_DIV; // config.startupFocus = true; config.mathJaxLib = '//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_HTML'; config.forcePasteAsPlainText = false; //config.pasteFromWordRemoveFontStyles = true; //config.pasteFromWordRemoveStyles = true; config.pasteFromWordPromptCleanup = true; config.codeSnippet_theme = 'github'; config.autosave = { SaveKey: null, // fix to force unique savekey (even for page with multiple instances) // Save Content on Destroy - Setting to Save content on editor destroy (Default is false) ... saveOnDestroy : true, // Setting to set the Save button to inform the plugin when the content is saved by the user and doesn't need to be stored temporary ... saveDetectionSelectors : 'button[type="submit"]', // Notification Type - Setting to set the if you want to show the "Auto Saved" message, and if yes you can show as Notification or as Message in the Status bar (Default is "notification") messageType : "no", // Delay delay : 15 //@todo: check performance with large pages }; };
import { run } from '@ember/runloop'; import { moduleFor, test } from 'ember-qunit'; import window, { reset } from 'ember-window-mock'; import sinon from 'sinon'; import mock from 'ember-metrics-adobe-dtm/test-support/mock'; let setDebugSpy; let pageBottomSpy; let trackSpy; moduleFor('metrics-adapter:adobe-dtm', 'adobe-dtm adapter', { integration: true, beforeEach() { mock({ window, pageBottom: pageBottomSpy = sinon.spy(), track: trackSpy = sinon.spy(), }); setDebugSpy = sinon.spy(window._satellite, 'setDebug'); subject = _subject.bind(this); }, afterEach() { reset(window); } }); let subject; function _subject(config, load) { let adapter = this.subject({ config: Object.assign({ src: '//assets.adobedtm.com/123.js' }, config) }); let { document } = window; let script = document.querySelector('script[src*="assets.adobedtm.com"]'); if (script) { let _load = () => script.dispatchEvent(new Event('load')); if (load) { load(_load); } else { _load(); } } return adapter; } test('it initializes _satellite', async function(assert) { subject(); assert.deepEqual(setDebugSpy.args, [[false]]); assert.ok(pageBottomSpy.calledOnce); }); test('it marks script async', async function(assert) { subject(); let script = document.querySelector('script[src*="assets.adobedtm.com"]'); assert.equal(script.async, 1); }); test('it doesn\'t initialize _satellite twice', async function(assert) { subject({}, load => { load(); load(); }); assert.deepEqual(setDebugSpy.args, [[false]]); assert.ok(pageBottomSpy.calledOnce); }); test('it sets debug flag', async function(assert) { subject({ debug: true }); assert.deepEqual(setDebugSpy.args, [[true]]); }); test('it calls track from trackEvent', async function(assert) { let adapter = subject(); adapter.trackEvent({ event: 'my test event' }); assert.deepEqual(trackSpy.args, [['my test event']]); }); test('it calls track from trackPage', async function(assert) { let adapter = subject(); adapter.trackPage({ page: 'my test page' }); assert.deepEqual(trackSpy.args, [['my test page']]); }); test('it pushed pending from trackEvent if not initialized', async function(assert) { window._satellite.initialized = false; let adapter = subject(); adapter.trackEvent({ event: 'my test event' }); assert.deepEqual(window._satellite.pending, ['my test event']); }); test('it pushed pending from trackPage if not initialized', async function(assert) { window._satellite.initialized = false; let adapter = subject(); adapter.trackPage({ page: 'my test page' }); assert.deepEqual(window._satellite.pending, ['my test page']); }); test('it initializes pending from trackEvent if not loaded', async function(assert) { delete window._satellite; let adapter = subject({}, () => {}); assert.notOk('_satellite' in window); adapter.trackEvent({ event: 'my test event' }); assert.deepEqual(window._satellite.pending, ['my test event']); }); test('it initializes pending from trackPage if not loaded', async function(assert) { delete window._satellite; let adapter = subject({}, () => {}); assert.notOk('_satellite' in window); adapter.trackPage({ page: 'my test page' }); assert.deepEqual(window._satellite.pending, ['my test page']); }); test('it initializes pending from trackEvent if partially loaded', async function(assert) { window._satellite = { }; let adapter = subject({}, () => {}); assert.notOk('pending' in window._satellite); adapter.trackEvent({ event: 'my test event' }); assert.deepEqual(window._satellite.pending, ['my test event']); }); test('it initializes pending from trackPage if partially loaded', async function(assert) { window._satellite = { }; let adapter = subject({}, () => {}); assert.notOk('pending' in window._satellite); adapter.trackPage({ page: 'my test page' }); assert.deepEqual(window._satellite.pending, ['my test page']); }); test('it still deletes _satellite if no src', function(assert) { let adapter = subject({ src: null }); assert.ok('_satellite' in window); run(() => { adapter.destroy(); }); assert.notOk('_satellite' in window); }); test('it removes script', function(assert) { let adapter = subject(); assert.ok(document.querySelector('script[src*="assets.adobedtm.com"]')); run(() => { adapter.destroy(); }); assert.notOk(document.querySelector('script[src*="assets.adobedtm.com"]')); });
/***************************************************************************** * Open MCT, Copyright (c) 2014-2022, United States Government * as represented by the Administrator of the National Aeronautics and Space * Administration. All rights reserved. * * Open MCT is licensed under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations * under the License. * * Open MCT includes source code licensed under additional open source * licenses. See the Open Source Licenses file (LICENSES.md) included with * this source code distribution or the Licensing information page available * at runtime from the About dialog for additional information. *****************************************************************************/ import ExampleUserProvider from './ExampleUserProvider'; export default function ExampleUserPlugin() { return function install(openmct) { openmct.user.setProvider(new ExampleUserProvider(openmct)); }; }
/* * @Author: doramart * @Date: 2019-06-20 18:55:40 * @Last Modified by: doramart * @Last Modified time: 2021-04-17 14:35:34 */ 'use strict'; const Controller = require('egg').Controller; const { adminResourceRule } = require('@validate'); const xss = require('xss'); const _ = require('lodash'); const { siteFunc } = require('@utils'); class AdminResourceController extends Controller { async list() { const { ctx, service } = this; try { const payload = ctx.query; _.assign(payload, { pageSize: 1000, }); const adminResourceList = await ctx.service.adminResource.find(payload); ctx.helper.renderSuccess(ctx, { data: adminResourceList, }); } catch (err) { ctx.helper.renderFail(ctx, { message: err, }); } } async listByPower() { const { ctx, service } = this; try { const payload = { isPaging: '0', }; _.assign(payload, { pageSize: 1000, }); const manageCates = await ctx.service.adminResource.find(payload, { files: 'api _id label enable routePath parentId type icon comments', }); const adminPower = await ctx.helper.getAdminPower(ctx); const currentCates = await siteFunc.renderNoPowerMenus( manageCates, adminPower ); ctx.helper.renderSuccess(ctx, { data: currentCates, }); } catch (err) { ctx.helper.renderFail(ctx, { message: err, }); } } async alllist() { const { ctx, service } = this; return await ctx.service.adminResource.find( { isPaging: '0', }, { type: '1', } ); } async create() { const { ctx, service } = this; try { const fields = ctx.request.body || {}; const formObj = { label: fields.label, type: fields.type, api: fields.api, parentId: fields.parentId, sortId: fields.sortId, routePath: fields.routePath, icon: fields.icon, componentPath: fields.componentPath, enable: fields.enable, comments: fields.comments, }; ctx.validate(adminResourceRule.form(ctx), formObj); if (fields.type === '0' && !fields.label) { formObj.label = fields.routePath; } await ctx.service.adminResource.create(formObj); ctx.helper.renderSuccess(ctx); } catch (err) { ctx.helper.renderFail(ctx, { message: err, }); } } async getOne() { const { ctx, service } = this; try { const _id = ctx.query.id; const targetItem = await ctx.service.adminResource.item(ctx, { query: { _id, }, }); ctx.helper.renderSuccess(ctx, { data: targetItem, }); } catch (err) { ctx.helper.renderFail(ctx, { message: err, }); } } async update() { const { ctx, service } = this; try { const fields = ctx.request.body || {}; const formObj = { label: fields.label, type: fields.type, api: fields.api, parentId: fields.parentId, sortId: fields.sortId, routePath: fields.routePath, icon: fields.icon, componentPath: fields.componentPath, enable: fields.enable, comments: fields.comments, }; ctx.validate(adminResourceRule.form(ctx), formObj); let oldResource; if (fields.type === '0') { oldResource = await ctx.service.adminResource.item(ctx, { query: { label: fields.label, }, }); } else { oldResource = await ctx.service.adminResource.item(ctx, { query: { parentId: fields.parentId, comments: fields.comments, }, }); } if (!_.isEmpty(oldResource) && oldResource._id !== fields._id) { throw new Error( ctx.__('user_action_tips_repeat', [ctx.__('label_resourceName')]) ); } await ctx.service.adminResource.update(ctx, fields._id, formObj); ctx.helper.renderSuccess(ctx); } catch (err) { ctx.helper.renderFail(ctx, { message: err, }); } } async updateParentId() { const { ctx, service } = this; try { const fields = ctx.request.body || {}; const formObj = { parentId: fields.parentId, }; const oldResource = await ctx.service.adminResource.item(ctx, { query: { label: fields.label, }, }); if (!_.isEmpty(oldResource) && oldResource._id !== fields._id) { throw new Error( ctx.__('user_action_tips_repeat', [ctx.__('label_resourceName')]) ); } await ctx.service.adminResource.update(ctx, fields._id, formObj); ctx.helper.renderSuccess(ctx); } catch (err) { ctx.helper.renderFail(ctx, { message: err, }); } } async removes() { const { ctx, service } = this; try { const targetIds = ctx.query.ids; // 删除主类 await ctx.service.adminResource.removes(ctx, targetIds); // 删除子类 await ctx.service.adminResource.removes(ctx, targetIds, 'parentId'); ctx.helper.renderSuccess(ctx); } catch (err) { ctx.helper.renderFail(ctx, { message: err, }); } } } module.exports = AdminResourceController;
(function() { 'use strict'; /** * @ngdoc directive * @name mdCalendar * @module material.components.datepicker * * @param {Date} ng-model The component's model. Should be a Date object. * @param {Date=} md-min-date Expression representing the minimum date. * @param {Date=} md-max-date Expression representing the maximum date. * @param {(function(Date): boolean)=} md-date-filter Function expecting a date and returning a boolean whether it can be selected or not. * * @description * `<md-calendar>` is a component that renders a calendar that can be used to select a date. * It is a part of the `<md-datepicker` pane, however it can also be used on it's own. * * @usage * * <hljs lang="html"> * <md-calendar ng-model="birthday"></md-calendar> * </hljs> */ angular.module('material.components.datepicker') .directive('mdCalendar', calendarDirective); // POST RELEASE // TODO(jelbourn): Mac Cmd + left / right == Home / End // TODO(jelbourn): Refactor month element creation to use cloneNode (performance). // TODO(jelbourn): Define virtual scrolling constants (compactness) users can override. // TODO(jelbourn): Animated month transition on ng-model change (virtual-repeat) // TODO(jelbourn): Scroll snapping (virtual repeat) // TODO(jelbourn): Remove superfluous row from short months (virtual-repeat) // TODO(jelbourn): Month headers stick to top when scrolling. // TODO(jelbourn): Previous month opacity is lowered when partially scrolled out of view. // TODO(jelbourn): Support md-calendar standalone on a page (as a tabstop w/ aria-live // announcement and key handling). // Read-only calendar (not just date-picker). function calendarDirective() { return { template: function(tElement, tAttr) { // TODO(crisbeto): This is a workaround that allows the calendar to work, without // a datepicker, until issue #8585 gets resolved. It can safely be removed // afterwards. This ensures that the virtual repeater scrolls to the proper place on load by // deferring the execution until the next digest. It's necessary only if the calendar is used // without a datepicker, otherwise it's already wrapped in an ngIf. var extraAttrs = tAttr.hasOwnProperty('ngIf') ? '' : 'ng-if="calendarCtrl.isInitialized"'; var template = '' + '<div ng-switch="calendarCtrl.currentView" ' + extraAttrs + '>' + '<md-calendar-year ng-switch-when="year"></md-calendar-year>' + '<md-calendar-month ng-switch-default></md-calendar-month>' + '</div>'; return template; }, scope: { minDate: '=mdMinDate', maxDate: '=mdMaxDate', dateFilter: '=mdDateFilter', _currentView: '@mdCurrentView' }, require: ['ngModel', 'mdCalendar'], controller: CalendarCtrl, controllerAs: 'calendarCtrl', bindToController: true, link: function(scope, element, attrs, controllers) { var ngModelCtrl = controllers[0]; var mdCalendarCtrl = controllers[1]; mdCalendarCtrl.configureNgModel(ngModelCtrl); } }; } /** * Occasionally the hideVerticalScrollbar method might read an element's * width as 0, because it hasn't been laid out yet. This value will be used * as a fallback, in order to prevent scenarios where the element's width * would otherwise have been set to 0. This value is the "usual" width of a * calendar within a floating calendar pane. */ var FALLBACK_WIDTH = 340; /** Next identifier for calendar instance. */ var nextUniqueId = 0; /** * Controller for the mdCalendar component. * @ngInject @constructor */ function CalendarCtrl($element, $scope, $$mdDateUtil, $mdUtil, $mdConstant, $mdTheming, $$rAF, $attrs, $mdDateLocale) { $mdTheming($element); /** @final {!angular.JQLite} */ this.$element = $element; /** @final {!angular.Scope} */ this.$scope = $scope; /** @final */ this.dateUtil = $$mdDateUtil; /** @final */ this.$mdUtil = $mdUtil; /** @final */ this.keyCode = $mdConstant.KEY_CODE; /** @final */ this.$$rAF = $$rAF; /** @final */ this.$mdDateLocale = $mdDateLocale; /** @final {Date} */ this.today = this.dateUtil.createDateAtMidnight(); /** @type {!angular.NgModelController} */ this.ngModelCtrl = null; /** @type {String} Class applied to the selected date cell. */ this.SELECTED_DATE_CLASS = 'md-calendar-selected-date'; /** @type {String} Class applied to the cell for today. */ this.TODAY_CLASS = 'md-calendar-date-today'; /** @type {String} Class applied to the focused cell. */ this.FOCUSED_DATE_CLASS = 'md-focus'; /** @final {number} Unique ID for this calendar instance. */ this.id = nextUniqueId++; /** * The date that is currently focused or showing in the calendar. This will initially be set * to the ng-model value if set, otherwise to today. It will be updated as the user navigates * to other months. The cell corresponding to the displayDate does not necesarily always have * focus in the document (such as for cases when the user is scrolling the calendar). * @type {Date} */ this.displayDate = null; /** * The selected date. Keep track of this separately from the ng-model value so that we * can know, when the ng-model value changes, what the previous value was before it's updated * in the component's UI. * * @type {Date} */ this.selectedDate = null; /** * The first date that can be rendered by the calendar. The default is taken * from the mdDateLocale provider and is limited by the mdMinDate. * @type {Date} */ this.firstRenderableDate = null; /** * The last date that can be rendered by the calendar. The default comes * from the mdDateLocale provider and is limited by the maxDate. * @type {Date} */ this.lastRenderableDate = null; /** * Used to toggle initialize the root element in the next digest. * @type {Boolean} */ this.isInitialized = false; /** * Cache for the width of the element without a scrollbar. Used to hide the scrollbar later on * and to avoid extra reflows when switching between views. * @type {Number} */ this.width = 0; /** * Caches the width of the scrollbar in order to be used when hiding it and to avoid extra reflows. * @type {Number} */ this.scrollbarWidth = 0; // Unless the user specifies so, the calendar should not be a tab stop. // This is necessary because ngAria might add a tabindex to anything with an ng-model // (based on whether or not the user has turned that particular feature on/off). if (!$attrs.tabindex) { $element.attr('tabindex', '-1'); } var boundKeyHandler = angular.bind(this, this.handleKeyEvent); // If use the md-calendar directly in the body without datepicker, // handleKeyEvent will disable other inputs on the page. // So only apply the handleKeyEvent on the body when the md-calendar inside datepicker, // otherwise apply on the calendar element only. var handleKeyElement; if ($element.parent().hasClass('md-datepicker-calendar')) { handleKeyElement = angular.element(document.body); } else { handleKeyElement = $element; } // Bind the keydown handler to the body, in order to handle cases where the focused // element gets removed from the DOM and stops propagating click events. handleKeyElement.on('keydown', boundKeyHandler); $scope.$on('$destroy', function() { handleKeyElement.off('keydown', boundKeyHandler); }); // For Angular 1.4 and older, where there are no lifecycle hooks but bindings are pre-assigned, // manually call the $onInit hook. if (angular.version.major === 1 && angular.version.minor <= 4) { this.$onInit(); } } /** * Angular Lifecycle hook for newer Angular versions. * Bindings are not guaranteed to have been assigned in the controller, but they are in the $onInit hook. */ CalendarCtrl.prototype.$onInit = function() { /** * The currently visible calendar view. Note the prefix on the scope value, * which is necessary, because the datepicker seems to reset the real one value if the * calendar is open, but the value on the datepicker's scope is empty. * @type {String} */ this.currentView = this._currentView || 'month'; var dateLocale = this.$mdDateLocale; if (this.minDate && this.minDate > dateLocale.firstRenderableDate) { this.firstRenderableDate = this.minDate; } else { this.firstRenderableDate = dateLocale.firstRenderableDate; } if (this.maxDate && this.maxDate < dateLocale.lastRenderableDate) { this.lastRenderableDate = this.maxDate; } else { this.lastRenderableDate = dateLocale.lastRenderableDate; } }; /** * Sets up the controller's reference to ngModelController. * @param {!angular.NgModelController} ngModelCtrl */ CalendarCtrl.prototype.configureNgModel = function(ngModelCtrl) { var self = this; self.ngModelCtrl = ngModelCtrl; self.$mdUtil.nextTick(function() { self.isInitialized = true; }); ngModelCtrl.$render = function() { var value = this.$viewValue; // Notify the child scopes of any changes. self.$scope.$broadcast('md-calendar-parent-changed', value); // Set up the selectedDate if it hasn't been already. if (!self.selectedDate) { self.selectedDate = value; } // Also set up the displayDate. if (!self.displayDate) { self.displayDate = self.selectedDate || self.today; } }; }; /** * Sets the ng-model value for the calendar and emits a change event. * @param {Date} date */ CalendarCtrl.prototype.setNgModelValue = function(date) { var value = this.dateUtil.createDateAtMidnight(date); this.focus(value); this.$scope.$emit('md-calendar-change', value); this.ngModelCtrl.$setViewValue(value); this.ngModelCtrl.$render(); return value; }; /** * Sets the current view that should be visible in the calendar * @param {string} newView View name to be set. * @param {number|Date} time Date object or a timestamp for the new display date. */ CalendarCtrl.prototype.setCurrentView = function(newView, time) { var self = this; self.$mdUtil.nextTick(function() { self.currentView = newView; if (time) { self.displayDate = angular.isDate(time) ? time : new Date(time); } }); }; /** * Focus the cell corresponding to the given date. * @param {Date} date The date to be focused. */ CalendarCtrl.prototype.focus = function(date) { if (this.dateUtil.isValidDate(date)) { var previousFocus = this.$element[0].querySelector('.md-focus'); if (previousFocus) { previousFocus.classList.remove(this.FOCUSED_DATE_CLASS); } var cellId = this.getDateId(date, this.currentView); var cell = document.getElementById(cellId); if (cell) { cell.classList.add(this.FOCUSED_DATE_CLASS); cell.focus(); this.displayDate = date; } } else { var rootElement = this.$element[0].querySelector('[ng-switch]'); if (rootElement) { rootElement.focus(); } } }; /** * Normalizes the key event into an action name. The action will be broadcast * to the child controllers. * @param {KeyboardEvent} event * @returns {String} The action that should be taken, or null if the key * does not match a calendar shortcut. */ CalendarCtrl.prototype.getActionFromKeyEvent = function(event) { var keyCode = this.keyCode; switch (event.which) { case keyCode.ENTER: return 'select'; case keyCode.RIGHT_ARROW: return 'move-right'; case keyCode.LEFT_ARROW: return 'move-left'; // TODO(crisbeto): Might want to reconsider using metaKey, because it maps // to the "Windows" key on PC, which opens the start menu or resizes the browser. case keyCode.DOWN_ARROW: return event.metaKey ? 'move-page-down' : 'move-row-down'; case keyCode.UP_ARROW: return event.metaKey ? 'move-page-up' : 'move-row-up'; case keyCode.PAGE_DOWN: return 'move-page-down'; case keyCode.PAGE_UP: return 'move-page-up'; case keyCode.HOME: return 'start'; case keyCode.END: return 'end'; default: return null; } }; /** * Handles a key event in the calendar with the appropriate action. The action will either * be to select the focused date or to navigate to focus a new date. * @param {KeyboardEvent} event */ CalendarCtrl.prototype.handleKeyEvent = function(event) { var self = this; this.$scope.$apply(function() { // Capture escape and emit back up so that a wrapping component // (such as a date-picker) can decide to close. if (event.which == self.keyCode.ESCAPE || event.which == self.keyCode.TAB) { self.$scope.$emit('md-calendar-close'); if (event.which == self.keyCode.TAB) { event.preventDefault(); } return; } // Broadcast the action that any child controllers should take. var action = self.getActionFromKeyEvent(event); if (action) { event.preventDefault(); event.stopPropagation(); self.$scope.$broadcast('md-calendar-parent-action', action); } }); }; /** * Hides the vertical scrollbar on the calendar scroller of a child controller by * setting the width on the calendar scroller and the `overflow: hidden` wrapper * around the scroller, and then setting a padding-right on the scroller equal * to the width of the browser's scrollbar. * * This will cause a reflow. * * @param {object} childCtrl The child controller whose scrollbar should be hidden. */ CalendarCtrl.prototype.hideVerticalScrollbar = function(childCtrl) { var self = this; var element = childCtrl.$element[0]; var scrollMask = element.querySelector('.md-calendar-scroll-mask'); if (self.width > 0) { setWidth(); } else { self.$$rAF(function() { var scroller = childCtrl.calendarScroller; self.scrollbarWidth = scroller.offsetWidth - scroller.clientWidth; self.width = element.querySelector('table').offsetWidth; setWidth(); }); } function setWidth() { var width = self.width || FALLBACK_WIDTH; var scrollbarWidth = self.scrollbarWidth; var scroller = childCtrl.calendarScroller; scrollMask.style.width = width + 'px'; scroller.style.width = (width + scrollbarWidth) + 'px'; scroller.style.paddingRight = scrollbarWidth + 'px'; } }; /** * Gets an identifier for a date unique to the calendar instance for internal * purposes. Not to be displayed. * @param {Date} date The date for which the id is being generated * @param {string} namespace Namespace for the id. (month, year etc.) * @returns {string} */ CalendarCtrl.prototype.getDateId = function(date, namespace) { if (!namespace) { throw new Error('A namespace for the date id has to be specified.'); } return [ 'md', this.id, namespace, date.getFullYear(), date.getMonth(), date.getDate() ].join('-'); }; /** * Util to trigger an extra digest on a parent scope, in order to to ensure that * any child virtual repeaters have updated. This is necessary, because the virtual * repeater doesn't update the $index the first time around since the content isn't * in place yet. The case, in which this is an issue, is when the repeater has less * than a page of content (e.g. a month or year view has a min or max date). */ CalendarCtrl.prototype.updateVirtualRepeat = function() { var scope = this.$scope; var virtualRepeatResizeListener = scope.$on('$md-resize-enable', function() { if (!scope.$$phase) { scope.$apply(); } virtualRepeatResizeListener(); }); }; })();
/*! For license information please see 2.2e3fc15f.chunk.js.LICENSE.txt */ (this.webpackJsonpfreecodingschool=this.webpackJsonpfreecodingschool||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(323)},function(e,t,n){"use strict";e.exports=n(331)},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},function(e,t,n){e.exports=n(328)()},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(24);function i(e,t){if(null==e)return{};var n,i,o=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"===typeof e||"number"===typeof e)i+=e;else if("object"===typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}t.a=function(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i}},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=n.n(o),u=(n(3),n(33)),s=n.n(u),c=n(371),l=n(314),f=n(182),d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var o=t.defaultTheme,u=t.withTheme,d=void 0!==u&&u,p=t.name,h=Object(i.a)(t,["defaultTheme","withTheme","name"]);var m=p,v=Object(c.a)(e,Object(r.a)({defaultTheme:o,Component:n,name:p||n.displayName,classNamePrefix:m},h)),b=a.a.forwardRef((function(e,t){e.classes;var u,s=e.innerRef,c=Object(i.a)(e,["classes","innerRef"]),h=v(Object(r.a)({},n.defaultProps,e)),m=c;return("string"===typeof p||d)&&(u=Object(f.a)()||o,p&&(m=Object(l.a)({theme:u,name:p,props:c})),d&&!m.theme&&(m.theme=u)),a.a.createElement(n,Object(r.a)({ref:s||t,classes:h},m))}));return s()(b,n),b}},p=n(62);t.a=function(e,t){return d(e,Object(r.a)({defaultTheme:p.a},t))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(183);function i(e){if("string"!==typeof e)throw new Error(Object(r.a)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={};n.r(r),n.d(r,"common",(function(){return i.a})),n.d(r,"red",(function(){return o.a})),n.d(r,"pink",(function(){return a.a})),n.d(r,"purple",(function(){return u})),n.d(r,"deepPurple",(function(){return s})),n.d(r,"indigo",(function(){return c.a})),n.d(r,"blue",(function(){return l.a})),n.d(r,"lightBlue",(function(){return f})),n.d(r,"cyan",(function(){return d})),n.d(r,"teal",(function(){return p})),n.d(r,"green",(function(){return h.a})),n.d(r,"lightGreen",(function(){return m})),n.d(r,"lime",(function(){return v})),n.d(r,"yellow",(function(){return b})),n.d(r,"amber",(function(){return y})),n.d(r,"orange",(function(){return g.a})),n.d(r,"deepOrange",(function(){return w})),n.d(r,"brown",(function(){return O})),n.d(r,"grey",(function(){return x.a})),n.d(r,"blueGrey",(function(){return S}));var i=n(78),o=n(88),a=n(87),u={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},s={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},c=n(86),l=n(90),f={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},d={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},p={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},h=n(91),m={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},v={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},b={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},y={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},g=n(89),w={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},O={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},x=n(85),S={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return l}));var r=n(12),i=n(52),o=(n(3),n(0));function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){if(null==e)return{};var n,r={},i=Object.keys(e);for(n=0;n<i.length;n++){var o=i[n];0<=t.indexOf(o)||(r[o]=e[o])}return r}function s(e){var t=e.children;e=e.window;var n=Object(o.useRef)();null==n.current&&(n.current=Object(i.b)({window:e}));var a=n.current;n=(e=Object(o.useReducer)((function(e,t){return t}),{action:a.action,location:a.location}))[0];var u=e[1];return Object(o.useLayoutEffect)((function(){return a.listen(u)}),[a]),Object(o.createElement)(r.c,{children:t,action:n.action,location:n.location,navigator:a})}var c=Object(o.forwardRef)((function(e,t){var n=e.onClick,a=e.replace,s=void 0!==a&&a,c=e.state,l=e.target,f=e.to;e=u(e,["onClick","replace","state","target","to"]),a=Object(r.f)(f);var d=Object(r.h)(),p=Object(r.g)(),h=Object(r.j)(f);return Object(o.createElement)("a",Object.assign({},e,{href:a,onClick:function(e){n&&n(e),e.defaultPrevented||0!==e.button||l&&"_self"!==l||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||(e.preventDefault(),e=!!s||Object(i.e)(p)===Object(i.e)(h),d(f,{replace:e,state:c}))},ref:t,target:l}))})),l=Object(o.forwardRef)((function(e,t){var n=e["aria-current"],i=void 0===n?"page":n,s=void 0===(n=e.activeClassName)?"active":n;n=e.activeStyle;var l=e.caseSensitive,f=void 0!==l&&l,d=void 0===(l=e.className)?"":l,p=void 0!==(l=e.end)&&l,h=e.style;l=e.to,e=u(e,"aria-current activeClassName activeStyle caseSensitive className end style to".split(" "));var m=Object(r.g)(),v=Object(r.j)(l);return m=m.pathname,v=v.pathname,f||(m=m.toLowerCase(),v=v.toLowerCase()),i=(f=p?m===v:m.startsWith(v))?i:void 0,s=[d,f?s:null].filter(Boolean).join(" "),n=a({},h,{},f?n:null),Object(o.createElement)(c,Object.assign({},e,{"aria-current":i,className:s,ref:t,style:n,to:l}))}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return x})),n.d(t,"e",(function(){return j})),n.d(t,"f",(function(){return _})),n.d(t,"g",(function(){return h})),n.d(t,"h",(function(){return m})),n.d(t,"i",(function(){return T})),n.d(t,"j",(function(){return v})),n.d(t,"k",(function(){return C}));var r=n(52),i=(n(3),n(0));function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a=function(e){return e};function u(e,t){if(!e)throw Error(t)}var s=Object(i.createContext)({static:!1}),c=Object(i.createContext)({outlet:null,params:a({}),pathname:"",route:null});function l(e){var t=e.to,n=e.replace,r=e.state;p()||u(!1);var o=m();return Object(i.useEffect)((function(){o(t,{replace:n,state:r})})),null}function f(){return Object(i.useContext)(c).outlet}function d(e){var t=e.children;t=void 0===t?null:t;var n=e.action;n=void 0===n?r.a.Pop:n;var o=e.location,a=e.navigator;return e=void 0!==(e=e.static)&&e,p()&&u(!1),Object(i.createElement)(s.Provider,{children:t,value:{action:n,location:o,navigator:a,static:e}})}function p(){return null!=Object(i.useContext)(s).location}function h(){return p()||u(!1),Object(i.useContext)(s).location}function m(){p()||u(!1);var e=Object(i.useContext)(s).navigator,t=Object(i.useContext)(c).pathname,n=Object(i.useRef)(!1);return Object(i.useEffect)((function(){n.current=!0})),Object(i.useCallback)((function(r,i){void 0===i&&(i={}),n.current&&("number"===typeof r?e.go(r):(r=S(r,t),(i.replace?e.replace:e.push)(r,i.state)))}),[e,t])}function v(e){var t=Object(i.useContext)(c).pathname;return Object(i.useMemo)((function(){return S(e,t)}),[e,t])}function b(e,t){void 0===t&&(t="");var n=Object(i.useContext)(c),u=n.route,s=n.pathname,l=n.params;t=t?k([s,t]):s;var f=h();return(u=Object(i.useMemo)((function(){return function(e,t,n){if(void 0===n&&(n=""),"string"===typeof t&&(t=Object(r.f)(t)),t=t.pathname||"/",n){if(n=n.replace(/^\/*/,"/").replace(/\/+$/,""),!t.startsWith(n))return null;t=t===n?"/":t.slice(n.length)}!function(e){var t=e.reduce((function(e,t){return e[t=t[0]]=function(e){var t=(e=e.split("/")).length;return e.some(O)&&(t+=-2),e.filter((function(e){return!O(e)})).reduce((function(e,t){return e+(w.test(t)?2:""===t?1:10)}),t)}(t),e}),{});!function(e,t){var n=e.slice(0);e.sort((function(e,r){return t(e,r)||n.indexOf(e)-n.indexOf(r)}))}(e,(function(e,n){var r=e[2];e=t[e[0]];var i=n[2];return e!==(n=t[n[0]])?n-e:function(e,t){return e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}))?e[e.length-1]-t[t.length-1]:0}(r,i)}))}(e=g(e));var i=null;for(n=0;null==i&&n<e.length;++n)e:{i=t;for(var u=e[n][1],s="/",c={},l=[],f=0;f<u.length;++f){var d=u[f],p="/"===s?i:i.slice(s.length)||"/";if(!(p=x({path:d.path,caseSensitive:d.caseSensitive,end:f===u.length-1},p))){i=null;break e}s=k([s,p.pathname]),c=o({},c,{},p.params),l.push({route:d,pathname:s,params:a(c)})}i=l}return i}(e,f,t)}),[f,e,t]))?u.reduceRight((function(e,n){var r=n.pathname,u=n.route;return Object(i.createElement)(c.Provider,{children:u.element,value:{outlet:e,params:a(o({},l,{},n.params)),pathname:k([t,r]),route:u}})}),null):null}function y(e){return e.map((function(e){var t={path:e.path||"/",caseSensitive:!0===e.caseSensitive,element:e.element||Object(i.createElement)(f,null)};return e.children&&(t.children=y(e.children)),t}))}function g(e,t,n,r,i){return void 0===t&&(t=[]),void 0===n&&(n=""),void 0===r&&(r=[]),void 0===i&&(i=[]),e.forEach((function(e,o){var a=k([n,e.path]),u=r.concat(e);o=i.concat(o),e.children&&g(e.children,t,a,u,o),t.push([a,u,o])})),t}var w=/^:\w+$/;function O(e){return"*"===e}function x(e,t){"string"===typeof e&&(e={path:e});var n=e;e=n.path;var r=n.caseSensitive;if(n=function(e,t,n){var r=[],i="^("+e.replace(/^\/*/,"/").replace(/\/?\*?$/,"").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(function(e,t){return r.push(t),"([^\\/]+)"}))+")";return e.endsWith("*")?(e.endsWith("/*")&&(i+="\\/?"),r.push("*"),i+="(.*)"):n&&(i+="\\/?"),n&&(i+="$"),[new RegExp(i,t?void 0:"i"),r]}(e,void 0!==r&&r,void 0===(n=n.end)||n),r=n[1],!(n=t.match(n[0])))return null;t=n[1];var i=n.slice(2);return r=r.reduce((function(e,t,n){n=i[n];try{var r=decodeURIComponent(n.replace(/\+/g," "))}catch(o){r=n}return e[t]=r,e}),{}),{path:e,pathname:t,params:r}}function S(e,t){void 0===t&&(t="/");var n="string"===typeof e?Object(r.f)(e):e;e=n.pathname;var i=n.search;return i=void 0===i?"":i,n=void 0===(n=n.hash)?"":n,{pathname:e?E(e,e.startsWith("/")?"/":t):t,search:i,hash:n}}function k(e){return e.join("/").replace(/\/\/+/g,"/")}function E(e,t){var n=t.replace(/\/+$/,"").replace(/\/\/+/g,"/").split("/");return e.replace(/\/\/+/g,"/").split("/").forEach((function(e){".."===e?1<n.length&&n.pop():"."!==e&&n.push(e)})),1<n.length?k(n):"/"}function j(e,t){void 0===t&&(t=!0),p()||u(!1);var n=Object(i.useContext)(s).navigator;Object(i.useEffect)((function(){if(t){var r=n.block((function(t){var n=o({},t,{retry:function(){r(),t.retry()}});e(n)}));return r}}),[n,e,t])}function _(e){p()||u(!1);var t=Object(i.useContext)(s).navigator;return e=v(e),t.createHref(e)}function T(){return Object(i.useContext)(c).params}function C(e,t){return void 0===t&&(t=""),p()||u(!1),b(Object(i.useMemo)((function(){return y(e)}),[e]),t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(71);function o(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){Object(i.a)(e,n),Object(i.a)(t,n)}}),[e,t])}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(22);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(137);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){i=!0,o=s}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return n}}(e,t)||Object(r.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";n.d(t,"d",(function(){return u})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return f})),n.d(t,"e",(function(){return d}));var r=n(183);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function o(e){if(e.type)return e;if("#"===e.charAt(0))return o(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Object(r.a)(3,e));var i=e.substring(t+1,e.length-1).split(",");return{type:n,values:i=i.map((function(e){return parseFloat(e)}))}}function a(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function u(e,t){var n=s(e),r=s(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function s(e){var t="hsl"===(e=o(e)).type?o(function(e){var t=(e=o(e)).values,n=t[0],r=t[1]/100,i=t[2]/100,u=r*Math.min(i,1-i),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return i-u*Math.max(Math.min(t-3,9-t,1),-1)},c="rgb",l=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(c+="a",l.push(t[3])),a({type:c,values:l})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return s(e)>.5?f(e,t):d(e,t)}function l(e,t){return e=o(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,a(e)}function f(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function d(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return a(e)}},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(324)},function(e,t,n){e.exports=n(332)},function(e,t,n){"use strict";n.d(t,"d",(function(){return $t})),n.d(t,"b",(function(){return tr})),n.d(t,"c",(function(){return Kn})),n.d(t,"a",(function(){return Zn}));var r=n(2),i=n(70),o=Object.prototype.hasOwnProperty;var a=function(e,t){return null!=e&&o.call(e,t)},u=n(21),s=n(63),c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/;var f=function(e,t){if(Object(u.a)(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Object(s.a)(e))||(l.test(e)||!c.test(e)||null!=t&&e in Object(t))},d=n(154),p=n(44);var h=function(e,t){return Object(u.a)(e)?e:f(e,t)?[e]:Object(d.a)(Object(p.a)(e))},m=n(155),v=n(144),b=n(95),y=n(49);var g=function(e,t,n){for(var r=-1,i=(t=h(t,e)).length,o=!1;++r<i;){var a=Object(y.a)(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Object(b.a)(i)&&Object(v.a)(a,i)&&(Object(u.a)(e)||Object(m.a)(e))};var w=function(e,t){return null!=e&&g(e,t,a)},O=n(102);var x=function(e,t){return t="function"==typeof t?t:void 0,Object(O.a)(e,5,t)},S=n(29),k=n(100),E=n(46),j=n(98),_=n(32),T=n(26);var C=function(e){return"string"==typeof e||!Object(u.a)(e)&&Object(T.a)(e)&&"[object String]"==Object(_.a)(e)};var P=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n};var R=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};var A=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n};var M=function(e){return e.split("")},D=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var N=function(e){return D.test(e)},F="[\\ud800-\\udfff]",I="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",L="\\ud83c[\\udffb-\\udfff]",z="[^\\ud800-\\udfff]",W="(?:\\ud83c[\\udde6-\\uddff]){2}",U="[\\ud800-\\udbff][\\udc00-\\udfff]",B="(?:"+I+"|"+L+")"+"?",V="[\\ufe0e\\ufe0f]?",H=V+B+("(?:\\u200d(?:"+[z,W,U].join("|")+")"+V+B+")*"),Y="(?:"+[z+I+"?",I,W,U,F].join("|")+")",$=RegExp(L+"(?="+L+")|"+Y+H,"g");var q=function(e){return e.match($)||[]};var G=function(e){return N(e)?q(e):M(e)},K=n(94);var X=function(e,t){return Object(K.a)(t,(function(t){return e[t]}))},Q=n(43);var Z=function(e){return null==e?[]:X(e,Object(Q.a)(e))},J=S.a?S.a.iterator:void 0;var ee=function(e){if(!e)return[];if(Object(j.a)(e))return C(e)?G(e):Object(k.a)(e);if(J&&e[J])return P(e[J]());var t=Object(E.a)(e);return("[object Map]"==t?R:"[object Set]"==t?A:Z)(e)},te=Object.prototype.toString,ne=Error.prototype.toString,re=RegExp.prototype.toString,ie="undefined"!==typeof Symbol?Symbol.prototype.toString:function(){return""},oe=/^Symbol\((.*)\)(.*)$/;function ae(e,t){if(void 0===t&&(t=!1),null==e||!0===e||!1===e)return""+e;var n=typeof e;if("number"===n)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===n)return t?'"'+e+'"':e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return ie.call(e).replace(oe,"Symbol($1)");var r=te.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+ne.call(e)+"]":"RegExp"===r?re.call(e):null}function ue(e,t){var n=ae(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){var r=ae(this[e],t);return null!==r?r:n}),2)}var se={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:function(e){var t=e.path,n=e.type,r=e.value,i=e.originalValue,o=null!=i&&i!==r,a=t+" must be a `"+n+"` type, but the final value was: `"+ue(r,!0)+"`"+(o?" (cast from the value `"+ue(i,!0)+"`).":".");return null===r&&(a+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),a},defined:"${path} must be defined"},ce={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},le={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",notEqual:"${path} must be not equal to ${notEqual}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},fe={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},de={noUnknown:"${path} field has unspecified keys: ${unknown}"},pe={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items"},he=function(e){return e&&e.__isYupSchema__},me=function(){function e(e,t){if(this.refs=e,"function"!==typeof t){if(!w(t,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!t.then&&!t.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");var n=t.is,r=t.then,i=t.otherwise,o="function"===typeof n?n:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.every((function(e){return e===n}))};this.fn=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=t.pop(),u=t.pop(),s=o.apply(void 0,t)?r:i;if(s)return"function"===typeof s?s(u):u.concat(s.resolve(a))}}else this.fn=t}return e.prototype.resolve=function(e,t){var n=this.refs.map((function(e){return e.getValue(t)})),r=this.fn.apply(e,n.concat(e,t));if(void 0===r||r===e)return e;if(!he(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)},e}(),ve=n(24),be=n(96),ye=/\$\{\s*(\w+)\s*\}/g,ge=function(e){return function(t){return e.replace(ye,(function(e,n){return ue(t[n])}))}};function we(e,t,n,r){var i=this;this.name="ValidationError",this.value=t,this.path=n,this.type=r,this.errors=[],this.inner=[],e&&[].concat(e).forEach((function(e){i.errors=i.errors.concat(e.errors||e),e.inner&&(i.inner=i.inner.concat(e.inner.length?e.inner:e))})),this.message=this.errors.length>1?this.errors.length+" errors occurred":this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,we)}we.prototype=Object.create(Error.prototype),we.prototype.constructor=we,we.isError=function(e){return e&&"ValidationError"===e.name},we.formatError=function(e,t){"string"===typeof e&&(e=ge(e));var n=function(t){return t.path=t.label||t.path||"this","function"===typeof e?e(t):e};return 1===arguments.length?n:n(t)};var Oe=function(e){return e?be.SynchronousPromise:Promise};function xe(e,t){return e?null:function(e){return t.push(e),e.value}}function Se(e){var t=e.validations,n=e.value,r=e.path,i=e.sync,o=e.errors,a=e.sort;return o=function(e){return void 0===e&&(e=[]),e.inner&&e.inner.length?e.inner:[].concat(e)}(o),function(e,t){var n=Oe(t);return n.all(e.map((function(e){return n.resolve(e).then((function(e){return{fulfilled:!0,value:e}}),(function(e){return{fulfilled:!1,value:e}}))})))}(t,i).then((function(e){var t=e.filter((function(e){return!e.fulfilled})).reduce((function(e,t){var n=t.value;if(!we.isError(n))throw n;return e.concat(n)}),[]);if(a&&t.sort(a),(o=t.concat(o)).length)throw new we(o,n,r);return n}))}function ke(e){var t,n,r,i=e.endEarly,o=Object(ve.a)(e,["endEarly"]);return i?(t=o.validations,n=o.value,r=o.sync,Oe(r).all(t).catch((function(e){throw"ValidationError"===e.name&&(e.value=n),e})).then((function(){return n}))):Se(o)}var Ee=function(e){return"[object Object]"===Object.prototype.toString.call(e)};function je(e,t){for(var n in t)if(w(t,n)){var r=t[n],i=e[n];if(void 0===i)e[n]=r;else{if(i===r)continue;he(i)?he(r)&&(e[n]=r.concat(i)):Ee(i)?Ee(r)&&(e[n]=je(i,r)):Array.isArray(i)&&Array.isArray(r)&&(e[n]=r.concat(i))}}return e}var _e=n(69);var Te=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),u=a.length;u--;){var s=a[e?u:++i];if(!1===n(o[s],s,o))break}return t}}();var Ce=function(e,t){return e&&Te(e,t,Q.a)},Pe=n(74),Re=n(82);var Ae=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};var Me=function(e){return this.__data__.has(e)};function De(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Re.a;++t<n;)this.add(e[t])}De.prototype.add=De.prototype.push=Ae,De.prototype.has=Me;var Ne=De;var Fe=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};var Ie=function(e,t){return e.has(t)};var Le=function(e,t,n,r,i,o){var a=1&n,u=e.length,s=t.length;if(u!=s&&!(a&&s>u))return!1;var c=o.get(e);if(c&&o.get(t))return c==t;var l=-1,f=!0,d=2&n?new Ne:void 0;for(o.set(e,t),o.set(t,e);++l<u;){var p=e[l],h=t[l];if(r)var m=a?r(h,p,l,t,e,o):r(p,h,l,e,t,o);if(void 0!==m){if(m)continue;f=!1;break}if(d){if(!Fe(t,(function(e,t){if(!Ie(d,t)&&(p===e||i(p,e,n,r,o)))return d.push(t)}))){f=!1;break}}else if(p!==h&&!i(p,h,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f},ze=n(108),We=n(93),Ue=S.a?S.a.prototype:void 0,Be=Ue?Ue.valueOf:void 0;var Ve=function(e,t,n,r,i,o,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new ze.a(e),new ze.a(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Object(We.a)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var u=R;case"[object Set]":var s=1&r;if(u||(u=A),e.size!=t.size&&!s)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var l=Le(u(e),u(t),r,i,o,a);return a.delete(e),l;case"[object Symbol]":if(Be)return Be.call(e)==Be.call(t)}return!1},He=n(120),Ye=Object.prototype.hasOwnProperty;var $e=function(e,t,n,r,i,o){var a=1&n,u=Object(He.a)(e),s=u.length;if(s!=Object(He.a)(t).length&&!a)return!1;for(var c=s;c--;){var l=u[c];if(!(a?l in t:Ye.call(t,l)))return!1}var f=o.get(e);if(f&&o.get(t))return f==t;var d=!0;o.set(e,t),o.set(t,e);for(var p=a;++c<s;){var h=e[l=u[c]],m=t[l];if(r)var v=a?r(m,h,l,t,e,o):r(h,m,l,e,t,o);if(!(void 0===v?h===m||i(h,m,n,r,o):v)){d=!1;break}p||(p="constructor"==l)}if(d&&!p){var b=e.constructor,y=t.constructor;b==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof y&&y instanceof y||(d=!1)}return o.delete(e),o.delete(t),d},qe=n(79),Ge=n(157),Ke="[object Arguments]",Xe="[object Array]",Qe="[object Object]",Ze=Object.prototype.hasOwnProperty;var Je=function(e,t,n,r,i,o){var a=Object(u.a)(e),s=Object(u.a)(t),c=a?Xe:Object(E.a)(e),l=s?Xe:Object(E.a)(t),f=(c=c==Ke?Qe:c)==Qe,d=(l=l==Ke?Qe:l)==Qe,p=c==l;if(p&&Object(qe.a)(e)){if(!Object(qe.a)(t))return!1;a=!0,f=!1}if(p&&!f)return o||(o=new Pe.a),a||Object(Ge.a)(e)?Le(e,t,n,r,i,o):Ve(e,t,c,n,r,i,o);if(!(1&n)){var h=f&&Ze.call(e,"__wrapped__"),m=d&&Ze.call(t,"__wrapped__");if(h||m){var v=h?e.value():e,b=m?t.value():t;return o||(o=new Pe.a),i(v,b,n,r,o)}}return!!p&&(o||(o=new Pe.a),$e(e,t,n,r,i,o))};var et=function e(t,n,r,i,o){return t===n||(null==t||null==n||!Object(T.a)(t)&&!Object(T.a)(n)?t!==t&&n!==n:Je(t,n,r,i,e,o))};var tt=function(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Object(e);i--;){var u=n[i];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i<o;){var s=(u=n[i])[0],c=e[s],l=u[1];if(a&&u[2]){if(void 0===c&&!(s in e))return!1}else{var f=new Pe.a;if(r)var d=r(c,l,s,e,t,f);if(!(void 0===d?et(l,c,3,r,f):d))return!1}}return!0},nt=n(41);var rt=function(e){return e===e&&!Object(nt.a)(e)};var it=function(e){for(var t=Object(Q.a)(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,rt(i)]}return t};var ot=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}};var at=function(e){var t=it(e);return 1==t.length&&t[0][2]?ot(t[0][0],t[0][1]):function(n){return n===e||tt(n,e,t)}};var ut=function(e,t){for(var n=0,r=(t=h(t,e)).length;null!=e&&n<r;)e=e[Object(y.a)(t[n++])];return n&&n==r?e:void 0};var st=function(e,t,n){var r=null==e?void 0:ut(e,t);return void 0===r?n:r};var ct=function(e,t){return null!=e&&t in Object(e)};var lt=function(e,t){return null!=e&&g(e,t,ct)};var ft=function(e,t){return f(e)&&rt(t)?ot(Object(y.a)(e),t):function(n){var r=st(n,e);return void 0===r&&r===t?lt(n,e):et(t,r,3)}};var dt=function(e){return e};var pt=function(e){return function(t){return null==t?void 0:t[e]}};var ht=function(e){return function(t){return ut(t,e)}};var mt=function(e){return f(e)?pt(Object(y.a)(e)):ht(e)};var vt=function(e){return"function"==typeof e?e:null==e?dt:"object"==typeof e?Object(u.a)(e)?ft(e[0],e[1]):at(e):mt(e)};var bt=function(e,t){var n={};return t=vt(t,3),Ce(e,(function(e,r,i){Object(_e.a)(n,r,t(e,r,i))})),n},yt=n(64),gt="$",wt=".",Ot=function(){function e(e,t){if(void 0===t&&(t={}),"string"!==typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===gt,this.isValue=this.key[0]===wt,this.isSibling=!this.isContext&&!this.isValue;var n=this.isContext?gt:this.isValue?wt:"";this.path=this.key.slice(n.length),this.getter=this.path&&Object(yt.getter)(this.path,!0),this.map=t.map}var t=e.prototype;return t.getValue=function(e){var t=this.isContext?e.context:this.isValue?e.value:e.parent;return this.getter&&(t=this.getter(t||{})),this.map&&(t=this.map(t)),t},t.cast=function(e,t){return this.getValue(Object(r.a)({},t,{value:e}))},t.resolve=function(){return this},t.describe=function(){return{type:"ref",key:this.key}},t.toString=function(){return"Ref("+this.key+")"},e.isRef=function(e){return e&&e.__isYupRef},e}();Ot.prototype.__isYupRef=!0;var xt=we.formatError;function St(e){var t=e.value,n=e.label,i=e.resolve,o=e.originalValue,a=Object(ve.a)(e,["value","label","resolve","originalValue"]);return function(e){var u=void 0===e?{}:e,s=u.path,c=void 0===s?a.path:s,l=u.message,f=void 0===l?a.message:l,d=u.type,p=void 0===d?a.name:d,h=u.params;return h=Object(r.a)({path:c,value:t,originalValue:o,label:n},function(e,t,n){return bt(Object(r.a)({},e,t),n)}(a.params,h,i)),Object(r.a)(new we(xt(f,h),t,c,p),{params:h})}}function kt(e){var t=e.name,n=e.message,i=e.test,o=e.params;function a(e){var a=e.value,u=e.path,s=e.label,c=e.options,l=e.originalValue,f=e.sync,d=Object(ve.a)(e,["value","path","label","options","originalValue","sync"]),p=c.parent,h=function(e){return Ot.isRef(e)?e.getValue({value:a,parent:p,context:c.context}):e},m=St({message:n,path:u,value:a,originalValue:l,params:o,label:s,resolve:h,name:t}),v=Object(r.a)({path:u,parent:p,type:t,createError:m,resolve:h,options:c},d);return function(e,t,n,r){var i,o=e.call(t,n);if(!r)return Promise.resolve(o);if((i=o)&&"function"===typeof i.then&&"function"===typeof i.catch)throw new Error('Validation test of type: "'+t.type+'" returned a Promise during a synchronous validate. This test will finish after the validate call has returned');return be.SynchronousPromise.resolve(o)}(i,v,a,f).then((function(e){if(we.isError(e))throw e;if(!e)throw m()}))}return a.OPTIONS=e,a}function Et(e,t,n,r){var i,o,a;return void 0===r&&(r=n),t?(Object(yt.forEach)(t,(function(u,s,c){var l=s?function(e){return e.substr(0,e.length-1).substr(1)}(u):u;if((e=e.resolve({context:r,parent:i,value:n})).innerType){var f=c?parseInt(l,10):0;if(n&&f>=n.length)throw new Error("Yup.reach cannot resolve an array item at index: "+u+", in the path: "+t+". because there is no value at that index. ");i=n,n=n&&n[f],e=e.innerType}if(!c){if(!e.fields||!e.fields[l])throw new Error("The schema does not contain the path: "+t+". (failed at: "+a+' which is a type: "'+e._type+'")');i=n,n=n&&n[l],e=e.fields[l]}o=l,a=s?"["+u+"]":"."+u})),{schema:e,parent:i,parentPath:o}):{parent:i,parentPath:t,schema:e}}function jt(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return _t(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _t(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function _t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Tt=function(){function e(){this.list=new Set,this.refs=new Map}var t=e.prototype;return t.describe=function(){for(var e,t=[],n=jt(this.list);!(e=n()).done;){var r=e.value;t.push(r)}for(var i,o=jt(this.refs);!(i=o()).done;){var a=i.value[1];t.push(a.describe())}return t},t.toArray=function(){return ee(this.list).concat(ee(this.refs.values()))},t.add=function(e){Ot.isRef(e)?this.refs.set(e.key,e):this.list.add(e)},t.delete=function(e){Ot.isRef(e)?this.refs.delete(e.key):this.list.delete(e)},t.has=function(e,t){if(this.list.has(e))return!0;for(var n,r=this.refs.values();!(n=r.next()).done;)if(t(n.value)===e)return!0;return!1},t.clone=function(){var t=new e;return t.list=new Set(this.list),t.refs=new Map(this.refs),t},t.merge=function(e,t){var n=this.clone();return e.list.forEach((function(e){return n.add(e)})),e.refs.forEach((function(e){return n.add(e)})),t.list.forEach((function(e){return n.delete(e)})),t.refs.forEach((function(e){return n.delete(e)})),n},Object(i.a)(e,[{key:"size",get:function(){return this.list.size+this.refs.size}}]),e}();function Ct(e){var t=this;if(void 0===e&&(e={}),!(this instanceof Ct))return new Ct;this._deps=[],this._conditions=[],this._options={abortEarly:!0,recursive:!0},this._exclusive=Object.create(null),this._whitelist=new Tt,this._blacklist=new Tt,this.tests=[],this.transforms=[],this.withMutation((function(){t.typeError(se.notType)})),w(e,"default")&&(this._defaultDefault=e.default),this.type=e.type||"mixed",this._type=e.type||"mixed"}for(var Pt=Ct.prototype={__isYupSchema__:!0,constructor:Ct,clone:function(){var e=this;return this._mutate?this:x(this,(function(t){if(he(t)&&t!==e)return t}))},label:function(e){var t=this.clone();return t._label=e,t},meta:function(e){if(0===arguments.length)return this._meta;var t=this.clone();return t._meta=Object(r.a)(t._meta||{},e),t},withMutation:function(e){var t=this._mutate;this._mutate=!0;var n=e(this);return this._mutate=t,n},concat:function(e){if(!e||e===this)return this;if(e._type!==this._type&&"mixed"!==this._type)throw new TypeError("You cannot `concat()` schema's of different types: "+this._type+" and "+e._type);var t=je(e.clone(),this);return w(e,"_default")&&(t._default=e._default),t.tests=this.tests,t._exclusive=this._exclusive,t._whitelist=this._whitelist.merge(e._whitelist,e._blacklist),t._blacklist=this._blacklist.merge(e._blacklist,e._whitelist),t.withMutation((function(t){e.tests.forEach((function(e){t.test(e.OPTIONS)}))})),t},isType:function(e){return!(!this._nullable||null!==e)||(!this._typeCheck||this._typeCheck(e))},resolve:function(e){var t=this;if(t._conditions.length){var n=t._conditions;(t=t.clone())._conditions=[],t=(t=n.reduce((function(t,n){return n.resolve(t,e)}),t)).resolve(e)}return t},cast:function(e,t){void 0===t&&(t={});var n=this.resolve(Object(r.a)({},t,{value:e})),i=n._cast(e,t);if(void 0!==e&&!1!==t.assert&&!0!==n.isType(i)){var o=ue(e),a=ue(i);throw new TypeError("The value of "+(t.path||"field")+' could not be cast to a value that satisfies the schema type: "'+n._type+'". \n\nattempted value: '+o+" \n"+(a!==o?"result of cast: "+a:""))}return i},_cast:function(e){var t=this,n=void 0===e?e:this.transforms.reduce((function(n,r){return r.call(t,n,e)}),e);return void 0===n&&w(this,"_default")&&(n=this.default()),n},_validate:function(e,t){var n=this;void 0===t&&(t={});var i=e,o=null!=t.originalValue?t.originalValue:e,a=this._option("strict",t),u=this._option("abortEarly",t),s=t.sync,c=t.path,l=this._label;a||(i=this._cast(i,Object(r.a)({assert:!1},t)));var f={value:i,path:c,schema:this,options:t,label:l,originalValue:o,sync:s};t.from&&(f.from=t.from);var d=[];return this._typeError&&d.push(this._typeError(f)),this._whitelistError&&d.push(this._whitelistError(f)),this._blacklistError&&d.push(this._blacklistError(f)),ke({validations:d,endEarly:u,value:i,path:c,sync:s}).then((function(e){return ke({path:c,sync:s,value:e,endEarly:u,validations:n.tests.map((function(e){return e(f)}))})}))},validate:function(e,t){return void 0===t&&(t={}),this.resolve(Object(r.a)({},t,{value:e}))._validate(e,t)},validateSync:function(e,t){var n,i;if(void 0===t&&(t={}),this.resolve(Object(r.a)({},t,{value:e}))._validate(e,Object(r.a)({},t,{sync:!0})).then((function(e){return n=e})).catch((function(e){return i=e})),i)throw i;return n},isValid:function(e,t){return this.validate(e,t).then((function(){return!0})).catch((function(e){if("ValidationError"===e.name)return!1;throw e}))},isValidSync:function(e,t){try{return this.validateSync(e,t),!0}catch(n){if("ValidationError"===n.name)return!1;throw n}},getDefault:function(e){return void 0===e&&(e={}),this.resolve(e).default()},default:function(e){if(0===arguments.length){var t=w(this,"_default")?this._default:this._defaultDefault;return"function"===typeof t?t.call(this):x(t)}var n=this.clone();return n._default=e,n},strict:function(e){void 0===e&&(e=!0);var t=this.clone();return t._options.strict=e,t},_isPresent:function(e){return null!=e},required:function(e){return void 0===e&&(e=se.required),this.test({message:e,name:"required",exclusive:!0,test:function(e){return this.schema._isPresent(e)}})},notRequired:function(){var e=this.clone();return e.tests=e.tests.filter((function(e){return"required"!==e.OPTIONS.name})),e},nullable:function(e){void 0===e&&(e=!0);var t=this.clone();return t._nullable=e,t},transform:function(e){var t=this.clone();return t.transforms.push(e),t},test:function(){var e;if(void 0===(e=1===arguments.length?"function"===typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]}).message&&(e.message=se.default),"function"!==typeof e.test)throw new TypeError("`test` is a required parameters");var t=this.clone(),n=kt(e),r=e.exclusive||e.name&&!0===t._exclusive[e.name];if(e.exclusive&&!e.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t._exclusive[e.name]=!!e.exclusive,t.tests=t.tests.filter((function(t){if(t.OPTIONS.name===e.name){if(r)return!1;if(t.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),t.tests.push(n),t},when:function(e,t){1===arguments.length&&(t=e,e=".");var n=this.clone(),r=[].concat(e).map((function(e){return new Ot(e)}));return r.forEach((function(e){e.isSibling&&n._deps.push(e.key)})),n._conditions.push(new me(r,t)),n},typeError:function(e){var t=this.clone();return t._typeError=kt({message:e,name:"typeError",test:function(e){return!(void 0!==e&&!this.schema.isType(e))||this.createError({params:{type:this.schema._type}})}}),t},oneOf:function(e,t){void 0===t&&(t=se.oneOf);var n=this.clone();return e.forEach((function(e){n._whitelist.add(e),n._blacklist.delete(e)})),n._whitelistError=kt({message:t,name:"oneOf",test:function(e){if(void 0===e)return!0;var t=this.schema._whitelist;return!!t.has(e,this.resolve)||this.createError({params:{values:t.toArray().join(", ")}})}}),n},notOneOf:function(e,t){void 0===t&&(t=se.notOneOf);var n=this.clone();return e.forEach((function(e){n._blacklist.add(e),n._whitelist.delete(e)})),n._blacklistError=kt({message:t,name:"notOneOf",test:function(e){var t=this.schema._blacklist;return!t.has(e,this.resolve)||this.createError({params:{values:t.toArray().join(", ")}})}}),n},strip:function(e){void 0===e&&(e=!0);var t=this.clone();return t._strip=e,t},_option:function(e,t){return w(t,e)?t[e]:this._options[e]},describe:function(){var e=this.clone(),t={type:e._type,meta:e._meta,label:e._label,tests:e.tests.map((function(e){return{name:e.OPTIONS.name,params:e.OPTIONS.params}})).filter((function(e,t,n){return n.findIndex((function(t){return t.name===e.name}))===t}))};return e._whitelist.size&&(t.oneOf=e._whitelist.describe()),e._blacklist.size&&(t.notOneOf=e._blacklist.describe()),t},defined:function(e){return void 0===e&&(e=se.defined),this.nullable().test({message:e,name:"defined",exclusive:!0,test:function(e){return void 0!==e}})}},Rt=function(){var e=Mt[At];Pt[e+"At"]=function(t,n,i){void 0===i&&(i={});var o=Et(this,t,n,i.context),a=o.parent,u=o.parentPath;return o.schema[e](a&&a[u],Object(r.a)({},i,{parent:a,path:t}))}},At=0,Mt=["validate","validateSync"];At<Mt.length;At++)Rt();for(var Dt=0,Nt=["equals","is"];Dt<Nt.length;Dt++){Pt[Nt[Dt]]=Pt.oneOf}for(var Ft=0,It=["not","nope"];Ft<It.length;Ft++){Pt[It[Ft]]=Pt.notOneOf}function Lt(e,t,n){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),Object(r.a)(e.prototype,n)}Pt.optional=Pt.notRequired;var zt=Wt;function Wt(){var e=this;if(!(this instanceof Wt))return new Wt;Ct.call(this,{type:"boolean"}),this.withMutation((function(){e.transform((function(e){if(!this.isType(e)){if(/^(true|1)$/i.test(e))return!0;if(/^(false|0)$/i.test(e))return!1}return e}))}))}Lt(Wt,Ct,{_typeCheck:function(e){return e instanceof Boolean&&(e=e.valueOf()),"boolean"===typeof e}});var Ut=function(e){return null==e},Bt=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,Vt=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,Ht=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$/i,Yt=function(e){return Ut(e)||e===e.trim()};function $t(){var e=this;if(!(this instanceof $t))return new $t;Ct.call(this,{type:"string"}),this.withMutation((function(){e.transform((function(e){return this.isType(e)?e:null!=e&&e.toString?e.toString():e}))}))}Lt($t,Ct,{_typeCheck:function(e){return e instanceof String&&(e=e.valueOf()),"string"===typeof e},_isPresent:function(e){return Ct.prototype._isPresent.call(this,e)&&e.length>0},length:function(e,t){return void 0===t&&(t=ce.length),this.test({message:t,name:"length",exclusive:!0,params:{length:e},test:function(t){return Ut(t)||t.length===this.resolve(e)}})},min:function(e,t){return void 0===t&&(t=ce.min),this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return Ut(t)||t.length>=this.resolve(e)}})},max:function(e,t){return void 0===t&&(t=ce.max),this.test({name:"max",exclusive:!0,message:t,params:{max:e},test:function(t){return Ut(t)||t.length<=this.resolve(e)}})},matches:function(e,t){var n,r,i=!1;return t&&("object"===typeof t?(i=t.excludeEmptyString,n=t.message,r=t.name):n=t),this.test({name:r||"matches",message:n||ce.matches,params:{regex:e},test:function(t){return Ut(t)||""===t&&i||-1!==t.search(e)}})},email:function(e){return void 0===e&&(e=ce.email),this.matches(Bt,{name:"email",message:e,excludeEmptyString:!0})},url:function(e){return void 0===e&&(e=ce.url),this.matches(Vt,{name:"url",message:e,excludeEmptyString:!0})},uuid:function(e){return void 0===e&&(e=ce.uuid),this.matches(Ht,{name:"uuid",message:e,excludeEmptyString:!1})},ensure:function(){return this.default("").transform((function(e){return null===e?"":e}))},trim:function(e){return void 0===e&&(e=ce.trim),this.transform((function(e){return null!=e?e.trim():e})).test({message:e,name:"trim",test:Yt})},lowercase:function(e){return void 0===e&&(e=ce.lowercase),this.transform((function(e){return Ut(e)?e:e.toLowerCase()})).test({message:e,name:"string_case",exclusive:!0,test:function(e){return Ut(e)||e===e.toLowerCase()}})},uppercase:function(e){return void 0===e&&(e=ce.uppercase),this.transform((function(e){return Ut(e)?e:e.toUpperCase()})).test({message:e,name:"string_case",exclusive:!0,test:function(e){return Ut(e)||e===e.toUpperCase()}})}});Lt((function e(){var t=this;if(!(this instanceof e))return new e;Ct.call(this,{type:"number"}),this.withMutation((function(){t.transform((function(e){var t=e;if("string"===typeof t){if(""===(t=t.replace(/\s/g,"")))return NaN;t=+t}return this.isType(t)?t:parseFloat(t)}))}))}),Ct,{_typeCheck:function(e){return e instanceof Number&&(e=e.valueOf()),"number"===typeof e&&!function(e){return e!=+e}(e)},min:function(e,t){return void 0===t&&(t=le.min),this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return Ut(t)||t>=this.resolve(e)}})},max:function(e,t){return void 0===t&&(t=le.max),this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(t){return Ut(t)||t<=this.resolve(e)}})},lessThan:function(e,t){return void 0===t&&(t=le.lessThan),this.test({message:t,name:"max",exclusive:!0,params:{less:e},test:function(t){return Ut(t)||t<this.resolve(e)}})},moreThan:function(e,t){return void 0===t&&(t=le.moreThan),this.test({message:t,name:"min",exclusive:!0,params:{more:e},test:function(t){return Ut(t)||t>this.resolve(e)}})},positive:function(e){return void 0===e&&(e=le.positive),this.moreThan(0,e)},negative:function(e){return void 0===e&&(e=le.negative),this.lessThan(0,e)},integer:function(e){return void 0===e&&(e=le.integer),this.test({name:"integer",message:e,test:function(e){return Ut(e)||Number.isInteger(e)}})},truncate:function(){return this.transform((function(e){return Ut(e)?e:0|e}))},round:function(e){var t=["ceil","floor","round","trunc"];if("trunc"===(e=e&&e.toLowerCase()||"round"))return this.truncate();if(-1===t.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+t.join(", "));return this.transform((function(t){return Ut(t)?t:Math[e](t)}))}});var qt=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;var Gt=new Date("");function Kt(){var e=this;if(!(this instanceof Kt))return new Kt;Ct.call(this,{type:"date"}),this.withMutation((function(){e.transform((function(e){return this.isType(e)?e:(e=function(e){var t,n,r=[1,4,5,6,7,10,11],i=0;if(n=qt.exec(e)){for(var o,a=0;o=r[a];++a)n[o]=+n[o]||0;n[2]=(+n[2]||1)-1,n[3]=+n[3]||1,n[7]=n[7]?String(n[7]).substr(0,3):0,void 0!==n[8]&&""!==n[8]||void 0!==n[9]&&""!==n[9]?("Z"!==n[8]&&void 0!==n[9]&&(i=60*n[10]+n[11],"+"===n[9]&&(i=0-i)),t=Date.UTC(n[1],n[2],n[3],n[4],n[5]+i,n[6],n[7])):t=+new Date(n[1],n[2],n[3],n[4],n[5],n[6],n[7])}else t=Date.parse?Date.parse(e):NaN;return t}(e),isNaN(e)?Gt:new Date(e))}))}))}function Xt(e,t){return t||(t=e.slice(0)),e.raw=t,e}Lt(Kt,Ct,{_typeCheck:function(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t},min:function(e,t){void 0===t&&(t=fe.min);var n=e;if(!Ot.isRef(n)&&(n=this.cast(e),!this._typeCheck(n)))throw new TypeError("`min` must be a Date or a value that can be `cast()` to a Date");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(e){return Ut(e)||e>=this.resolve(n)}})},max:function(e,t){void 0===t&&(t=fe.max);var n=e;if(!Ot.isRef(n)&&(n=this.cast(e),!this._typeCheck(n)))throw new TypeError("`max` must be a Date or a value that can be `cast()` to a Date");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(e){return Ut(e)||e<=this.resolve(n)}})}});var Qt=function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n};var Zt=function(e){return function(t){return null==e?void 0:e[t]}}({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),Jt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,en=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var tn=function(e){return(e=Object(p.a)(e))&&e.replace(Jt,Zt).replace(en,"")},nn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var rn=function(e){return e.match(nn)||[]},on=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var an=function(e){return on.test(e)},un="\\u2700-\\u27bf",sn="a-z\\xdf-\\xf6\\xf8-\\xff",cn="A-Z\\xc0-\\xd6\\xd8-\\xde",ln="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",fn="["+ln+"]",dn="\\d+",pn="[\\u2700-\\u27bf]",hn="["+sn+"]",mn="[^\\ud800-\\udfff"+ln+dn+un+sn+cn+"]",vn="(?:\\ud83c[\\udde6-\\uddff]){2}",bn="[\\ud800-\\udbff][\\udc00-\\udfff]",yn="["+cn+"]",gn="(?:"+hn+"|"+mn+")",wn="(?:"+yn+"|"+mn+")",On="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",xn="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Sn="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",kn="[\\ufe0e\\ufe0f]?",En=kn+Sn+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",vn,bn].join("|")+")"+kn+Sn+")*"),jn="(?:"+[pn,vn,bn].join("|")+")"+En,_n=RegExp([yn+"?"+hn+"+"+On+"(?="+[fn,yn,"$"].join("|")+")",wn+"+"+xn+"(?="+[fn,yn+gn,"$"].join("|")+")",yn+"?"+gn+"+"+On,yn+"+"+xn,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",dn,jn].join("|"),"g");var Tn=function(e){return e.match(_n)||[]};var Cn=function(e,t,n){return e=Object(p.a)(e),void 0===(t=n?void 0:t)?an(e)?Tn(e):rn(e):e.match(t)||[]},Pn=RegExp("['\u2019]","g");var Rn=function(e){return function(t){return Qt(Cn(tn(t).replace(Pn,"")),e,"")}},An=Rn((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Mn=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o};var Dn=function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Mn(e,t,n)};var Nn=function(e){return function(t){t=Object(p.a)(t);var n=N(t)?G(t):void 0,r=n?n[0]:t.charAt(0),i=n?Dn(n,1).join(""):t.slice(1);return r[e]()+i}}("toUpperCase");var Fn=function(e){return Nn(Object(p.a)(e).toLowerCase())},In=Rn((function(e,t,n){return t=t.toLowerCase(),e+(n?Fn(t):t)}));var Ln=function(e,t){var n={};return t=vt(t,3),Ce(e,(function(e,r,i){Object(_e.a)(n,t(e,r,i),e)})),n},zn=n(302),Wn=n.n(zn);function Un(e,t){void 0===t&&(t=[]);var n=[],r=[];function i(e,i){var o=Object(yt.split)(e)[0];~r.indexOf(o)||r.push(o),~t.indexOf(i+"-"+o)||n.push([i,o])}for(var o in e)if(w(e,o)){var a=e[o];~r.indexOf(o)||r.push(o),Ot.isRef(a)&&a.isSibling?i(a.path,o):he(a)&&a._deps&&a._deps.forEach((function(e){return i(e,o)}))}return Wn.a.array(r,n).reverse()}function Bn(e,t){var n=1/0;return e.some((function(e,r){if(-1!==t.path.indexOf(e))return n=r,!0})),n}function Vn(e){var t=Object.keys(e);return function(e,n){return Bn(t,e)-Bn(t,n)}}function Hn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=e.reduce((function(e,t){var r=n.shift();return e+(null==r?"":r)+t}));return i.replace(/^\./,"")}function Yn(){var e=Xt(["",'["','"]']);return Yn=function(){return e},e}function $n(){var e=Xt(["",".",""]);return $n=function(){return e},e}function qn(){var e=Xt(["",".",""]);return qn=function(){return e},e}var Gn=function(e){return"[object Object]"===Object.prototype.toString.call(e)};function Kn(e){var t=this;if(!(this instanceof Kn))return new Kn(e);Ct.call(this,{type:"object",default:function(){var e=this;if(this._nodes.length){var t={};return this._nodes.forEach((function(n){t[n]=e.fields[n].default?e.fields[n].default():void 0})),t}}}),this.fields=Object.create(null),this._nodes=[],this._excludedEdges=[],this.withMutation((function(){t.transform((function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null})),e&&t.shape(e)}))}function Xn(){var e=Xt(["","[","]"]);return Xn=function(){return e},e}function Qn(){var e=Xt(["","[","]"]);return Qn=function(){return e},e}Lt(Kn,Ct,{_typeCheck:function(e){return Gn(e)||"function"===typeof e},_cast:function(e,t){var n=this;void 0===t&&(t={});var i=Ct.prototype._cast.call(this,e,t);if(void 0===i)return this.default();if(!this._typeCheck(i))return i;var o=this.fields,a=!0===this._option("stripUnknown",t),u=this._nodes.concat(Object.keys(i).filter((function(e){return-1===n._nodes.indexOf(e)}))),s={},c=Object(r.a)({},t,{parent:s,__validating:t.__validating||!1}),l=!1;return u.forEach((function(e){var n=o[e],r=w(i,e);if(n){var u,f=n._options&&n._options.strict;if(c.path=Hn(qn(),t.path,e),c.value=i[e],!0===(n=n.resolve(c))._strip)return void(l=l||e in i);void 0!==(u=t.__validating&&f?i[e]:n.cast(i[e],c))&&(s[e]=u)}else r&&!a&&(s[e]=i[e]);s[e]!==i[e]&&(l=!0)})),l?s:i},_validate:function(e,t){var n,i,o=this;void 0===t&&(t={});var a=t.sync,u=[],s=null!=t.originalValue?t.originalValue:e,c=[{schema:this,value:s}].concat(t.from||[]);return n=this._option("abortEarly",t),i=this._option("recursive",t),t=Object(r.a)({},t,{__validating:!0,originalValue:s,from:c}),Ct.prototype._validate.call(this,e,t).catch(xe(n,u)).then((function(e){if(!i||!Gn(e)){if(u.length)throw u[0];return e}c=s?[].concat(c):[{schema:o,value:s||e}].concat(t.from||[]),s=s||e;var l=o._nodes.map((function(n){var i=-1===n.indexOf(".")?Hn($n(),t.path,n):Hn(Yn(),t.path,n),u=o.fields[n],l=Object(r.a)({},t,{path:i,from:c,parent:e,originalValue:s[n]});return u&&u.validate?(l.strict=!0,u.validate(e[n],l)):function(e){return e?be.SynchronousPromise:Promise}(a).resolve(!0)}));return ke({sync:a,validations:l,value:e,errors:u,endEarly:n,path:t.path,sort:Vn(o.fields)})}))},concat:function(e){var t=Ct.prototype.concat.call(this,e);return t._nodes=Un(t.fields,t._excludedEdges),t},shape:function(e,t){void 0===t&&(t=[]);var n=this.clone(),i=Object(r.a)(n.fields,e);if(n.fields=i,t.length){Array.isArray(t[0])||(t=[t]);var o=t.map((function(e){return e[0]+"-"+e[1]}));n._excludedEdges=n._excludedEdges.concat(o)}return n._nodes=Un(i,n._excludedEdges),n},from:function(e,t,n){var i=Object(yt.getter)(e,!0);return this.transform((function(o){if(null==o)return o;var a=o;return w(o,e)&&(a=Object(r.a)({},o),n||delete a[e],a[t]=i(o)),a}))},noUnknown:function(e,t){void 0===e&&(e=!0),void 0===t&&(t=de.noUnknown),"string"===typeof e&&(t=e,e=!0);var n=this.test({name:"noUnknown",exclusive:!0,message:t,test:function(t){if(null==t)return!0;var n=function(e,t){var n=Object.keys(e.fields);return Object.keys(t).filter((function(e){return-1===n.indexOf(e)}))}(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n._options.stripUnknown=e,n},unknown:function(e,t){return void 0===e&&(e=!0),void 0===t&&(t=de.noUnknown),this.noUnknown(!e,t)},transformKeys:function(e){return this.transform((function(t){return t&&Ln(t,(function(t,n){return e(n)}))}))},camelCase:function(){return this.transformKeys(In)},snakeCase:function(){return this.transformKeys(An)},constantCase:function(){return this.transformKeys((function(e){return An(e).toUpperCase()}))},describe:function(){var e=Ct.prototype.describe.call(this);return e.fields=bt(this.fields,(function(e){return e.describe()})),e}});var Zn=Jn;function Jn(e){var t=this;if(!(this instanceof Jn))return new Jn(e);Ct.call(this,{type:"array"}),this._subType=void 0,this.innerType=void 0,this.withMutation((function(){t.transform((function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null})),e&&t.of(e)}))}Lt(Jn,Ct,{_typeCheck:function(e){return Array.isArray(e)},_cast:function(e,t){var n=this,i=Ct.prototype._cast.call(this,e,t);if(!this._typeCheck(i)||!this.innerType)return i;var o=!1,a=i.map((function(e,i){var a=n.innerType.cast(e,Object(r.a)({},t,{path:Hn(Qn(),t.path,i)}));return a!==e&&(o=!0),a}));return o?a:i},_validate:function(e,t){var n=this;void 0===t&&(t={});var i=[],o=t.sync,a=t.path,u=this.innerType,s=this._option("abortEarly",t),c=this._option("recursive",t),l=null!=t.originalValue?t.originalValue:e;return Ct.prototype._validate.call(this,e,t).catch(xe(s,i)).then((function(e){if(!c||!u||!n._typeCheck(e)){if(i.length)throw i[0];return e}l=l||e;for(var f=new Array(e.length),d=0;d<e.length;d++){var p=e[d],h=Hn(Xn(),t.path,d),m=Object(r.a)({},t,{path:h,strict:!0,parent:e,index:d,originalValue:l[d]});f[d]=!u.validate||u.validate(p,m)}return ke({sync:o,path:a,value:e,errors:i,endEarly:s,validations:f})}))},_isPresent:function(e){return Ct.prototype._isPresent.call(this,e)&&e.length>0},of:function(e){var t=this.clone();if(!1!==e&&!he(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema, or `false` to negate a current sub-schema. not: "+ue(e));return t._subType=e,t.innerType=e,t},min:function(e,t){return t=t||pe.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return Ut(t)||t.length>=this.resolve(e)}})},max:function(e,t){return t=t||pe.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(t){return Ut(t)||t.length<=this.resolve(e)}})},ensure:function(){var e=this;return this.default((function(){return[]})).transform((function(t,n){return e._typeCheck(t)?t:null==n?[]:[].concat(n)}))},compact:function(e){var t=e?function(t,n,r){return!e(t,n,r)}:function(e){return!!e};return this.transform((function(e){return null!=e?e.filter(t):e}))},describe:function(){var e=Ct.prototype.describe.call(this);return this.innerType&&(e.innerType=this.innerType.describe()),e}});var er=function(){function e(e){this._resolve=function(t,n){var r=e(t,n);if(!he(r))throw new TypeError("lazy() functions must return a valid schema");return r.resolve(n)}}var t=e.prototype;return t.resolve=function(e){return this._resolve(e.value,e)},t.cast=function(e,t){return this._resolve(e,t).cast(e,t)},t.validate=function(e,t){return this._resolve(e,t).validate(e,t)},t.validateSync=function(e,t){return this._resolve(e,t).validateSync(e,t)},t.validateAt=function(e,t,n){return this._resolve(t,n).validateAt(e,t,n)},t.validateSyncAt=function(e,t,n){return this._resolve(t,n).validateSyncAt(e,t,n)},e}();er.prototype.__isYupSchema__=!0;var tr=zt},function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return v})),n.d(t,"c",(function(){return w}));var r=n(0),i=n.n(r),o=(n(3),i.a.createContext(null));var a=function(e){e()},u={notify:function(){}};function s(){var e=a,t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}var c=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=u,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=s())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=u)},e}(),l="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect;var f=function(e){var t=e.store,n=e.context,a=e.children,u=Object(r.useMemo)((function(){var e=new c(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),s=Object(r.useMemo)((function(){return t.getState()}),[t]);l((function(){var e=u.subscription;return e.trySubscribe(),s!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[u,s]);var f=n||o;return i.a.createElement(f.Provider,{value:u},a)};n(2),n(24),n(33),n(53);function d(){return Object(r.useContext)(o)}function p(e){void 0===e&&(e=o);var t=e===o?d:function(){return Object(r.useContext)(e)};return function(){return t().store}}var h=p();function m(e){void 0===e&&(e=o);var t=e===o?h:p(e);return function(){return t().dispatch}}var v=m(),b=function(e,t){return e===t};function y(e){void 0===e&&(e=o);var t=e===o?d:function(){return Object(r.useContext)(e)};return function(e,n){void 0===n&&(n=b);var i=t(),o=function(e,t,n,i){var o,a=Object(r.useReducer)((function(e){return e+1}),0)[1],u=Object(r.useMemo)((function(){return new c(n,i)}),[n,i]),s=Object(r.useRef)(),f=Object(r.useRef)(),d=Object(r.useRef)(),p=Object(r.useRef)(),h=n.getState();try{if(e!==f.current||h!==d.current||s.current){var m=e(h);o=void 0!==p.current&&t(m,p.current)?p.current:m}else o=p.current}catch(v){throw s.current&&(v.message+="\nThe error may be correlated with this previous error:\n"+s.current.stack+"\n\n"),v}return l((function(){f.current=e,d.current=h,p.current=o,s.current=void 0})),l((function(){function e(){try{var e=n.getState(),r=f.current(e);if(t(r,p.current))return;p.current=r,d.current=e}catch(v){s.current=v}a()}return u.onStateChange=e,u.trySubscribe(),e(),function(){return u.tryUnsubscribe()}}),[n,u]),o}(e,n,i.store,i.subscription);return Object(r.useDebugValue)(o),o}}var g,w=y(),O=n(17);g=O.unstable_batchedUpdates,a=g},function(e,t,n){"use strict";var r=Array.isArray;t.a=r},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(142),i="object"==typeof self&&self&&self.Object===Object&&self,o=r.a||i||Function("return this")();t.a=o},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";t.a=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";function r(e,t,n,r,i,o,a){try{var u=e[o](a),s=u.value}catch(c){return void n(c)}u.done?t(s):Promise.resolve(s).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function u(e){r(a,i,o,u,s,"next",e)}function s(e){r(a,i,o,u,s,"throw",e)}u(void 0)}))}}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(182),i=(n(0),n(62));function o(){return Object(r.a)()||i.a}},function(e,t,n){"use strict";var r=n(23).a.Symbol;t.a=r},,function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(4),i={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},o={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function a(e){return"".concat(Math.round(e),"ms")}t.a={easing:i,duration:o,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,u=void 0===n?o.standard:n,s=t.easing,c=void 0===s?i.easeInOut:s,l=t.delay,f=void 0===l?0:l;Object(r.a)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof u?u:a(u)," ").concat(c," ").concat("string"===typeof f?f:a(f))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}}},function(e,t,n){"use strict";var r=n(29),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,u=r.a?r.a.toStringTag:void 0;var s=function(e){var t=o.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(s){}var i=a.call(e);return r&&(t?e[u]=n:delete e[u]),i},c=Object.prototype.toString;var l=function(e){return c.call(e)},f=r.a?r.a.toStringTag:void 0;t.a=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":f&&f in Object(e)?s(e):l(e)}},function(e,t,n){"use strict";var r=n(53),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function s(e){return r.isMemo(e)?a:u[e.$$typeof]||i}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var u=s(t),m=s(n),v=0;v<a.length;++v){var b=a[v];if(!o[b]&&(!r||!r[b])&&(!m||!m[b])&&(!u||!u[b])){var y=d(n,b);try{c(t,b,y)}catch(g){}}}}return t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;function o(e){var t=r.useRef(e);return i((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},function(e,t,n){"use strict";var r=n(143),i=n(23).a["__core-js_shared__"],o=function(){var e=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var a=function(e){return!!o&&o in e},u=n(41),s=n(56),c=/^\[object .+?Constructor\]$/,l=Function.prototype,f=Object.prototype,d=l.toString,p=f.hasOwnProperty,h=RegExp("^"+d.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var m=function(e){return!(!Object(u.a)(e)||a(e))&&(Object(r.a)(e)?h:c).test(Object(s.a)(e))};var v=function(e,t){return null==e?void 0:e[t]};t.a=function(e,t){var n=v(e,t);return m(n)?n:void 0}},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";t.a=function(e,t){}},function(e,t,n){"use strict";var r=n(283),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return"undefined"===typeof e}function u(e){return null!==e&&"object"===typeof e}function s(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===i.call(e)}function l(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!==typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:u,isPlainObject:s,isUndefined:a,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:c,isStream:function(e){return u(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:l,merge:function e(){var t={};function n(n,r){s(t[r])&&s(n)?t[r]=e(t[r],n):s(n)?t[r]=e({},n):o(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)l(arguments[r],n);return t},extend:function(e,t,n){return l(t,(function(t,i){e[i]=n&&"function"===typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(80);function o(){return r.useContext(i.a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(2),i=n(0),o=n.n(i),a=n(105);function u(e,t){var n=o.a.memo(o.a.forwardRef((function(t,n){return o.a.createElement(a.a,Object(r.a)({ref:n},t),e)})));return n.muiName=a.a.muiName,n}},function(e,t,n){"use strict";t.a=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";function r(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&"undefined"===typeof t[n]&&(e[n]=r[n]),e}),{})}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(156),i=n(99),o=n(147),a=Object(o.a)(Object.keys,Object),u=Object.prototype.hasOwnProperty;var s=function(e){if(!Object(i.a)(e))return a(e);var t=[];for(var n in Object(e))u.call(e,n)&&"constructor"!=n&&t.push(n);return t},c=n(98);t.a=function(e){return Object(c.a)(e)?Object(r.a)(e):s(e)}},function(e,t,n){"use strict";var r=n(29),i=n(94),o=n(21),a=n(63),u=r.a?r.a.prototype:void 0,s=u?u.toString:void 0;var c=function e(t){if("string"==typeof t)return t;if(Object(o.a)(t))return Object(i.a)(t,e)+"";if(Object(a.a)(t))return s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n};t.a=function(e){return null==e?"":c(e)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r=function(e){return e.scrollTop};function i(e,t){var n=e.timeout,r=e.style,i=void 0===r?{}:r;return{duration:i.transitionDuration||"number"===typeof n?n:n[t.mode]||0,delay:i.transitionDelay}}},function(e,t,n){"use strict";var r=n(35),i=n(23),o=Object(r.a)(i.a,"DataView"),a=n(73),u=Object(r.a)(i.a,"Promise"),s=Object(r.a)(i.a,"Set"),c=Object(r.a)(i.a,"WeakMap"),l=n(32),f=n(56),d="[object Map]",p="[object Promise]",h="[object Set]",m="[object WeakMap]",v="[object DataView]",b=Object(f.a)(o),y=Object(f.a)(a.a),g=Object(f.a)(u),w=Object(f.a)(s),O=Object(f.a)(c),x=l.a;(o&&x(new o(new ArrayBuffer(1)))!=v||a.a&&x(new a.a)!=d||u&&x(u.resolve())!=p||s&&x(new s)!=h||c&&x(new c)!=m)&&(x=function(e){var t=Object(l.a)(e),n="[object Object]"==t?e.constructor:void 0,r=n?Object(f.a)(n):"";if(r)switch(r){case b:return v;case y:return d;case g:return p;case w:return h;case O:return m}return t});t.a=x},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var r=n(2),i=n(4),o=["xs","sm","md","lg","xl"];function a(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,a=e.unit,u=void 0===a?"px":a,s=e.step,c=void 0===s?5:s,l=Object(i.a)(e,["values","unit","step"]);function f(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(u,")")}function d(e,t){var r=o.indexOf(t);return r===o.length-1?f(e):"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(u,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[o[r+1]]?n[o[r+1]]:t)-c/100).concat(u,")")}return Object(r.a)({keys:o,values:n,up:f,down:function(e){var t=o.indexOf(e)+1,r=n[o[t]];return t===o.length?f("xs"):"@media (max-width:".concat(("number"===typeof r&&t>0?r:e)-c/100).concat(u,")")},between:d,only:function(e){return d(e,e)},width:function(e){return n[e]}},l)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(2),i=n(0),o=n.n(i),a=n(105);function u(e,t){var n=function(t,n){return o.a.createElement(a.a,Object(r.a)({ref:n},t),e)};return n.muiName=a.a.muiName,o.a.memo(o.a.forwardRef(n))}},function(e,t,n){"use strict";var r=n(63);t.a=function(e){if("string"==typeof e||Object(r.a)(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(117);var i=n(293),o=n(133);function a(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||Object(i.a)(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(294);var i=n(133),o=n(295);function a(e,t){return Object(r.a)(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(s){u=!0,i=s}finally{try{a||null==n.return||n.return()}finally{if(u)throw i}}return o}}(e,t)||Object(i.a)(e,t)||Object(o.a)()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return f}));var r,i=n(2),o=r||(r={});o.Pop="POP",o.Push="PUSH",o.Replace="REPLACE";var a=function(e){return e};function u(e){e.preventDefault(),e.returnValue=""}function s(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function c(){return Math.random().toString(36).substr(2,8)}function l(e){var t=e.pathname,n=e.search;return(void 0===t?"/":t)+(void 0===n?"":n)+(void 0===(e=e.hash)?"":e)}function f(e){var t={};if(e){var n=e.indexOf("#");0<=n&&(t.hash=e.substr(n),e=e.substr(0,n)),0<=(n=e.indexOf("?"))&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function d(e){function t(){var e=h.location,t=m.state||{};return[t.idx,a({pathname:e.pathname,search:e.search,hash:e.hash,state:t.usr||null,key:t.key||"default"})]}function n(e){return"string"===typeof e?e:l(e)}function o(e,t){return void 0===t&&(t=null),a(Object(i.a)({},g,{},"string"===typeof e?f(e):e,{state:t,key:c()}))}function d(e){b=e,e=t(),y=e[0],g=e[1],w.call({action:b,location:g})}function p(e){m.go(e)}void 0===e&&(e={});var h=void 0===(e=e.window)?document.defaultView:e,m=h.history,v=null;h.addEventListener("popstate",(function(){if(v)O.call(v),v=null;else{var e=r.Pop,n=t(),i=n[0];if(n=n[1],O.length){if(null!=i){var o=y-i;o&&(v={action:e,location:n,retry:function(){p(-1*o)}},p(o))}}else d(e)}}));var b=r.Pop,y=(e=t())[0],g=e[1],w=s(),O=s();return null==y&&(y=0,m.replaceState(Object(i.a)({},m.state,{idx:y}),"")),{get action(){return b},get location(){return g},createHref:n,push:function e(t,i){var a=r.Push,u=o(t,i);if(!O.length||(O.call({action:a,location:u,retry:function(){e(t,i)}}),0)){var s=[{usr:u.state,key:u.key,idx:y+1},n(u)];u=s[0],s=s[1];try{m.pushState(u,"",s)}catch(c){h.location.assign(s)}d(a)}},replace:function e(t,i){var a=r.Replace,u=o(t,i);O.length&&(O.call({action:a,location:u,retry:function(){e(t,i)}}),1)||(u=[{usr:u.state,key:u.key,idx:y},n(u)],m.replaceState(u[0],"",u[1]),d(a))},go:p,back:function(){p(-1)},forward:function(){p(1)},listen:function(e){return w.push(e)},block:function(e){var t=O.push(e);return 1===O.length&&h.addEventListener("beforeunload",u),function(){t(),O.length||h.removeEventListener("beforeunload",u)}}}}function p(e){function t(){var e=f(m.location.hash.substr(1)),t=e.pathname,n=e.search;e=e.hash;var r=v.state||{};return[r.idx,a({pathname:void 0===t?"/":t,search:void 0===n?"":n,hash:void 0===e?"":e,state:r.usr||null,key:r.key||"default"})]}function n(){if(b)x.call(b),b=null;else{var e=r.Pop,n=t(),i=n[0];if(n=n[1],x.length){if(null!=i){var o=g-i;o&&(b={action:e,location:n,retry:function(){h(-1*o)}},h(o))}}else p(e)}}function o(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=-1===(n=(t=m.location.href).indexOf("#"))?t:t.slice(0,n)),n+"#"+("string"===typeof e?e:l(e))}function d(e,t){return void 0===t&&(t=null),a(Object(i.a)({},w,{},"string"===typeof e?f(e):e,{state:t,key:c()}))}function p(e){y=e,e=t(),g=e[0],w=e[1],O.call({action:y,location:w})}function h(e){v.go(e)}void 0===e&&(e={});var m=void 0===(e=e.window)?document.defaultView:e,v=m.history,b=null;m.addEventListener("popstate",n),m.addEventListener("hashchange",(function(){l(t()[1])!==l(w)&&n()}));var y=r.Pop,g=(e=t())[0],w=e[1],O=s(),x=s();return null==g&&(g=0,v.replaceState(Object(i.a)({},v.state,{idx:g}),"")),{get action(){return y},get location(){return w},createHref:o,push:function e(t,n){var i=r.Push,a=d(t,n);if(!x.length||(x.call({action:i,location:a,retry:function(){e(t,n)}}),0)){var u=[{usr:a.state,key:a.key,idx:g+1},o(a)];a=u[0],u=u[1];try{v.pushState(a,"",u)}catch(s){m.location.assign(u)}p(i)}},replace:function e(t,n){var i=r.Replace,a=d(t,n);x.length&&(x.call({action:i,location:a,retry:function(){e(t,n)}}),1)||(a=[{usr:a.state,key:a.key,idx:g},o(a)],v.replaceState(a[0],"",a[1]),p(i))},go:h,back:function(){h(-1)},forward:function(){h(1)},listen:function(e){return O.push(e)},block:function(e){var t=x.push(e);return 1===x.length&&m.addEventListener("beforeunload",u),function(){t(),x.length||m.removeEventListener("beforeunload",u)}}}}function h(e){function t(e,t){return void 0===t&&(t=null),a(Object(i.a)({},v,{},"string"===typeof e?f(e):e,{state:t,key:c()}))}function n(e,t,n){return!y.length||(y.call({action:e,location:t,retry:n}),!1)}function o(e,t){m=e,v=t,b.call({action:m,location:v})}function u(e){var t=Math.min(Math.max(h+e,0),p.length-1),i=r.Pop,a=p[t];n(i,a,(function(){u(e)}))&&(h=t,o(i,a))}void 0===e&&(e={});var d=e;e=d.initialEntries,d=d.initialIndex;var p=(void 0===e?["/"]:e).map((function(e){return a(Object(i.a)({pathname:"/",search:"",hash:"",state:null,key:c()},"string"===typeof e?f(e):e))})),h=Math.min(Math.max(null==d?p.length-1:d,0),p.length-1),m=r.Pop,v=p[h],b=s(),y=s();return{get index(){return h},get action(){return m},get location(){return v},createHref:function(e){return"string"===typeof e?e:l(e)},push:function e(i,a){var u=r.Push,s=t(i,a);n(u,s,(function(){e(i,a)}))&&(h+=1,p.splice(h,p.length,s),o(u,s))},replace:function e(i,a){var u=r.Replace,s=t(i,a);n(u,s,(function(){e(i,a)}))&&(p[h]=s,o(u,s))},go:u,back:function(){u(-1)},forward:function(){u(1)},listen:function(e){return b.push(e)},block:function(e){return y.push(e)}}}},function(e,t,n){"use strict";e.exports=n(330)},function(e,t,n){"use strict";var r=n(355);t.a=function(e,t){return t?Object(r.a)(e,t,{clone:!1}):e}},function(e,t,n){"use strict";(function(e){var r=n(142),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.a.process,u=function(){try{var e=o&&o.require&&o.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();t.a=u}).call(this,n(178)(e))},function(e,t,n){"use strict";var r=Function.prototype.toString;t.a=function(e){if(null!=e){try{return r.call(e)}catch(t){}try{return e+""}catch(t){}}return""}},function(e,t,n){"use strict";var r=Array.isArray,i=Object.keys,o=Object.prototype.hasOwnProperty,a="undefined"!==typeof Element;function u(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){var n,s,c,l=r(e),f=r(t);if(l&&f){if((s=e.length)!=t.length)return!1;for(n=s;0!==n--;)if(!u(e[n],t[n]))return!1;return!0}if(l!=f)return!1;var d=e instanceof Date,p=t instanceof Date;if(d!=p)return!1;if(d&&p)return e.getTime()==t.getTime();var h=e instanceof RegExp,m=t instanceof RegExp;if(h!=m)return!1;if(h&&m)return e.toString()==t.toString();var v=i(e);if((s=v.length)!==i(t).length)return!1;for(n=s;0!==n--;)if(!o.call(t,v[n]))return!1;if(a&&e instanceof Element&&t instanceof Element)return e===t;for(n=s;0!==n--;)if(("_owner"!==(c=v[n])||!e.$$typeof)&&!u(e[c],t[c]))return!1;return!0}return e!==e&&t!==t}e.exports=function(e,t){try{return u(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||-2146828260===n.number)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}},function(e,t,n){"use strict";(function(e){var r=n(53),i=n(0),o=n.n(i),a=n(307),u=n.n(a),s=n(308),c=n(309),l=n(181),f=n(33),d=n.n(f);function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var h=function(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n},m=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!Object(r.typeOf)(e)},v=Object.freeze([]),b=Object.freeze({});function y(e){return"function"==typeof e}function g(e){return e.displayName||e.name||"Component"}function w(e){return e&&"string"==typeof e.styledComponentId}var O="undefined"!=typeof e&&(Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_SC_ATTR||Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).SC_ATTR)||"data-styled",x="undefined"!=typeof window&&"HTMLElement"in window,S=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof e&&void 0!==Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_SC_DISABLE_SPEEDY&&""!==Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_SC_DISABLE_SPEEDY?"false"!==Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_SC_DISABLE_SPEEDY&&Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof e&&void 0!==Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).SC_DISABLE_SPEEDY&&""!==Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).SC_DISABLE_SPEEDY&&("false"!==Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).SC_DISABLE_SPEEDY&&Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).SC_DISABLE_SPEEDY));function k(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var E=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)(i<<=1)<0&&k(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),u=0,s=t.length;u<s;u++)this.tag.insertRule(a,t[u])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),j=new Map,_=new Map,T=1,C=function(e){if(j.has(e))return j.get(e);for(;_.has(T);)T++;var t=T++;return j.set(e,t),_.set(t,e),t},P=function(e){return _.get(e)},R=function(e,t){j.set(e,t),_.set(t,e)},A="style["+O+'][data-styled-version="5.3.0"]',M=new RegExp("^"+O+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),D=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},N=function(e,t){for(var n=t.innerHTML.split("/*!sc*/\n"),r=[],i=0,o=n.length;i<o;i++){var a=n[i].trim();if(a){var u=a.match(M);if(u){var s=0|parseInt(u[1],10),c=u[2];0!==s&&(R(c,s),D(e,c,u[3]),e.getTag().insertRules(s,r)),r.length=0}else r.push(a)}}},F=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},I=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(O))return r}}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(O,"active"),r.setAttribute("data-styled-version","5.3.0");var a=F();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},L=function(){function e(e){var t=this.element=I(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}k(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),z=function(){function e(e){var t=this.element=I(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),W=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),U=x,B={isServer:!x,useCSSOMInjection:!S},V=function(){function e(e,t,n){void 0===e&&(e=b),void 0===t&&(t={}),this.options=p({},B,{},e),this.gs=t,this.names=new Map(n),!this.options.isServer&&x&&U&&(U=!1,function(e){for(var t=document.querySelectorAll(A),n=0,r=t.length;n<r;n++){var i=t[n];i&&"active"!==i.getAttribute(O)&&(N(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}e.registerId=function(e){return C(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(p({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,i=t.target,e=n?new W(i):r?new L(i):new z(i),new E(e)));var e,t,n,r,i},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(C(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(C(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(C(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=0;i<n;i++){var o=P(i);if(void 0!==o){var a=e.names.get(o),u=t.getGroup(i);if(void 0!==a&&0!==u.length){var s=O+".g"+i+'[id="'+o+'"]',c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+=e+",")})),r+=""+u+s+'{content:"'+c+'"}/*!sc*/\n'}}}return r}(this)},e}(),H=/(a)(d)/gi,Y=function(e){return String.fromCharCode(e+(e>25?39:97))};function $(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Y(t%52)+n;return(Y(t%52)+n).replace(H,"$1-$2")}var q=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},G=function(e){return q(5381,e)};function K(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(y(n)&&!w(n))return!1}return!0}var X=G("5.3.0"),Q=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&K(e),this.componentId=t,this.baseHash=q(X,t),this.baseStyle=n,V.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))i.push(this.staticRulesId);else{var o=me(this.rules,e,t,n).join(""),a=$(q(this.baseHash,o.length)>>>0);if(!t.hasNameForId(r,a)){var u=n(o,"."+a,void 0,r);t.insertRules(r,a,u)}i.push(a),this.staticRulesId=a}else{for(var s=this.rules.length,c=q(this.baseHash,n.hash),l="",f=0;f<s;f++){var d=this.rules[f];if("string"==typeof d)l+=d;else if(d){var p=me(d,e,t,n),h=Array.isArray(p)?p.join(""):p;c=q(c,h+f),l+=h}}if(l){var m=$(c>>>0);if(!t.hasNameForId(r,m)){var v=n(l,"."+m,void 0,r);t.insertRules(r,m,v)}i.push(m)}}return i.join(" ")},e}(),Z=/^\s*\/\/.*$/gm,J=[":","[",".","#"];function ee(e){var t,n,r,i,o=void 0===e?b:e,a=o.options,u=void 0===a?b:a,c=o.plugins,l=void 0===c?v:c,f=new s.a(u),d=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,o,a,u,s,c,l,f){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),h=function(e,r,o){return 0===r&&-1!==J.indexOf(o[n.length])||o.match(i)?e:"."+t};function m(e,o,a,u){void 0===u&&(u="&");var s=e.replace(Z,""),c=o&&a?a+" "+o+" { "+s+" }":s;return t=u,n=o,r=new RegExp("\\"+n+"\\b","g"),i=new RegExp("(\\"+n+"\\b){2,}"),f(a||!o?"":o,c)}return f.use([].concat(l,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(n)>0&&(i[0]=i[0].replace(r,h))},p,function(e){if(-2===e){var t=d;return d=[],t}}])),m.hash=l.length?l.reduce((function(e,t){return t.name||k(15),q(e,t.name)}),5381).toString():"",m}var te=o.a.createContext(),ne=(te.Consumer,o.a.createContext()),re=(ne.Consumer,new V),ie=ee();function oe(){return Object(i.useContext)(te)||re}function ae(){return Object(i.useContext)(ne)||ie}function ue(e){var t=Object(i.useState)(e.stylisPlugins),n=t[0],r=t[1],a=oe(),s=Object(i.useMemo)((function(){var t=a;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),c=Object(i.useMemo)((function(){return ee({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return Object(i.useEffect)((function(){u()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),o.a.createElement(te.Provider,{value:s},o.a.createElement(ne.Provider,{value:c},e.children))}var se=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ie);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return k(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=ie),this.name+e.hash},e}(),ce=/([A-Z])/,le=/([A-Z])/g,fe=/^ms-/,de=function(e){return"-"+e.toLowerCase()};function pe(e){return ce.test(e)?e.replace(le,de).replace(fe,"-ms-"):e}var he=function(e){return null==e||!1===e||""===e};function me(e,t,n,r){if(Array.isArray(e)){for(var i,o=[],a=0,u=e.length;a<u;a+=1)""!==(i=me(e[a],t,n,r))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}return he(e)?"":w(e)?"."+e.styledComponentId:y(e)?"function"!=typeof(s=e)||s.prototype&&s.prototype.isReactComponent||!t?e:me(e(t),t,n,r):e instanceof se?n?(e.inject(n,r),e.getName(r)):e:m(e)?function e(t,n){var r,i,o=[];for(var a in t)t.hasOwnProperty(a)&&!he(t[a])&&(m(t[a])?o.push.apply(o,e(t[a],a)):y(t[a])?o.push(pe(a)+":",t[a],";"):o.push(pe(a)+": "+(r=a,(null==(i=t[a])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||r in c.a?String(i).trim():i+"px")+";")));return n?[n+" {"].concat(o,["}"]):o}(e):e.toString();var s}function ve(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return y(e)||m(e)?me(h(v,[e].concat(n))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:me(h(e,n))}new Set;var be=function(e,t,n){return void 0===n&&(n=b),e.theme!==n.theme&&e.theme||t||n.theme},ye=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ge=/(^-|-$)/g;function we(e){return e.replace(ye,"-").replace(ge,"")}var Oe=function(e){return $(G(e)>>>0)};function xe(e){return"string"==typeof e&&!0}var Se=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},ke=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Ee(e,t,n){var r=e[n];Se(t)&&Se(r)?je(r,t):e[n]=t}function je(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];if(Se(a))for(var u in a)ke(u)&&Ee(e,a[u],u)}return e}var _e=o.a.createContext();_e.Consumer;var Te={};function Ce(e,t,n){var r=w(e),a=!xe(e),u=t.attrs,s=void 0===u?v:u,c=t.componentId,f=void 0===c?function(e,t){var n="string"!=typeof e?"sc":we(e);Te[n]=(Te[n]||0)+1;var r=n+"-"+Oe("5.3.0"+n+Te[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):c,h=t.displayName,m=void 0===h?function(e){return xe(e)?"styled."+e:"Styled("+g(e)+")"}(e):h,O=t.displayName&&t.componentId?we(t.displayName)+"-"+t.componentId:t.componentId||f,x=r&&e.attrs?Array.prototype.concat(e.attrs,s).filter(Boolean):s,S=t.shouldForwardProp;r&&e.shouldForwardProp&&(S=t.shouldForwardProp?function(n,r,i){return e.shouldForwardProp(n,r,i)&&t.shouldForwardProp(n,r,i)}:e.shouldForwardProp);var k,E=new Q(n,O,r?e.componentStyle:void 0),j=E.isStatic&&0===s.length,_=function(e,t){return function(e,t,n,r){var o=e.attrs,a=e.componentStyle,u=e.defaultProps,s=e.foldedComponentIds,c=e.shouldForwardProp,f=e.styledComponentId,d=e.target,h=function(e,t,n){void 0===e&&(e=b);var r=p({},t,{theme:e}),i={};return n.forEach((function(e){var t,n,o,a=e;for(t in y(a)&&(a=a(r)),a)r[t]=i[t]="className"===t?(n=i[t],o=a[t],n&&o?n+" "+o:n||o):a[t]})),[r,i]}(be(t,Object(i.useContext)(_e),u)||b,t,o),m=h[0],v=h[1],g=function(e,t,n,r){var i=oe(),o=ae();return t?e.generateAndInjectStyles(b,i,o):e.generateAndInjectStyles(n,i,o)}(a,r,m),w=n,O=v.$as||t.$as||v.as||t.as||d,x=xe(O),S=v!==t?p({},t,{},v):t,k={};for(var E in S)"$"!==E[0]&&"as"!==E&&("forwardedAs"===E?k.as=S[E]:(c?c(E,l.a,O):!x||Object(l.a)(E))&&(k[E]=S[E]));return t.style&&v.style!==t.style&&(k.style=p({},t.style,{},v.style)),k.className=Array.prototype.concat(s,f,g!==f?g:null,t.className,v.className).filter(Boolean).join(" "),k.ref=w,Object(i.createElement)(O,k)}(k,e,t,j)};return _.displayName=m,(k=o.a.forwardRef(_)).attrs=x,k.componentStyle=E,k.displayName=m,k.shouldForwardProp=S,k.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):v,k.styledComponentId=O,k.target=r?e.target:e,k.withComponent=function(e){var r=t.componentId,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(t,["componentId"]),o=r&&r+"-"+(xe(e)?e:we(g(e)));return Ce(e,p({},i,{attrs:x,componentId:o}),n)},Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?je({},e.defaultProps,t):t}}),k.toString=function(){return"."+k.styledComponentId},a&&d()(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),k}var Pe=function(e){return function e(t,n,i){if(void 0===i&&(i=b),!Object(r.isValidElementType)(n))return k(1,String(n));var o=function(){return t(n,i,ve.apply(void 0,arguments))};return o.withConfig=function(r){return e(t,n,p({},i,{},r))},o.attrs=function(r){return e(t,n,p({},i,{attrs:Array.prototype.concat(i.attrs,r).filter(Boolean)}))},o}(Ce,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Pe[e]=Pe(e)}));!function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=K(e),V.registerId(this.componentId+1)}var t=e.prototype;t.createStyles=function(e,t,n,r){var i=r(me(this.rules,t,n,r).join(""),""),o=this.componentId+e;n.insertRules(o,o,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&V.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}();!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=F();return"<style "+[n&&'nonce="'+n+'"',O+'="true"','data-styled-version="5.3.0"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?k(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return k(2);var n=((t={})[O]="",t["data-styled-version"]="5.3.0",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=F();return r&&(n.nonce=r),[o.a.createElement("style",p({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new V({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?k(2):o.a.createElement(ue,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return k(3)}}();t.a=Pe}).call(this,n(287))},,,,function(e,t,n){"use strict";var r=n(313),i=Object(r.a)();t.a=i},function(e,t,n){"use strict";var r=n(32),i=n(26);t.a=function(e){return"symbol"==typeof e||Object(i.a)(e)&&"[object Symbol]"==Object(r.a)(e)}},function(e,t,n){"use strict";function r(e){this._maxSize=e,this.clear()}r.prototype.clear=function(){this._size=0,this._values=Object.create(null)},r.prototype.get=function(e){return this._values[e]},r.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var i=/[^.^\]^[]+|(?=\[\]|\.\.)/g,o=/^\d+$/,a=/^\d/,u=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,s=/^\s*(['"]?)(.*?)(\1)\s*$/,c=new r(512),l=new r(512),f=new r(512);function d(e){return c.get(e)||c.set(e,p(e).map((function(e){return e.replace(s,"$2")})))}function p(e){return e.match(i)}function h(e){return"string"===typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function m(e){return!h(e)&&(function(e){return e.match(a)&&!e.match(o)}(e)||function(e){return u.test(e)}(e))}e.exports={Cache:r,split:p,normalizePath:d,setter:function(e){var t=d(e);return l.get(e)||l.set(e,(function(e,n){for(var r=0,i=t.length;r<i-1;)e=e[t[r++]];e[t[r]]=n}))},getter:function(e,t){var n=d(e);return f.get(e)||f.set(e,(function(e){for(var r=0,i=n.length;r<i;){if(null==e&&t)return;e=e[n[r++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(h(t)||o.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,n){!function(e,t,n){var r,i,o,a,u=e.length;for(i=0;i<u;i++)(r=e[i])&&(m(r)&&(r='"'+r+'"'),o=!(a=h(r))&&/^\d+$/.test(r),t.call(n,r,a,o,i,e))}(Array.isArray(e)?e:p(e),t,n)}}},function(e,t,n){"use strict";var r=n(0),i=r.createContext();t.a=i},function(e,t,n){"use strict";var r=function(){this.__data__=[],this.size=0},i=n(93);var o=function(e,t){for(var n=e.length;n--;)if(Object(i.a)(e[n][0],t))return n;return-1},a=Array.prototype.splice;var u=function(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)};var s=function(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]};var c=function(e){return o(this.__data__,e)>-1};var l=function(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function f(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}f.prototype.clear=r,f.prototype.delete=u,f.prototype.get=s,f.prototype.has=c,f.prototype.set=l;t.a=f},function(e,t,n){"use strict";n.d(t,"a",(function(){return ie}));var r=n(0),i=n(57),o=n.n(i),a=function(e){return function(e){return!!e&&"object"===typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===u}(e)}(e)};var u="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function s(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function c(e,t,n){return e.concat(t).map((function(e){return s(e,n)}))}function l(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||c,n.isMergeableObject=n.isMergeableObject||a;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach((function(t){r[t]=s(e[t],n)})),Object.keys(t).forEach((function(i){n.isMergeableObject(t[i])&&e[i]?r[i]=l(e[i],t[i],n):r[i]=s(t[i],n)})),r}(e,t,n):s(t,n)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return l(e,n,t)}),{})};var f=l,d=n(32),p=n(101),h=n(26),m=Function.prototype,v=Object.prototype,b=m.toString,y=v.hasOwnProperty,g=b.call(Object);var w=function(e){if(!Object(h.a)(e)||"[object Object]"!=Object(d.a)(e))return!1;var t=Object(p.a)(e);if(null===t)return!0;var n=y.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&b.call(n)==g},O=n(102);var x=function(e){return Object(O.a)(e,4)},S=n(94),k=n(100),E=n(21),j=n(63),_=n(154),T=n(49),C=n(44);var P=function(e){return Object(E.a)(e)?Object(S.a)(e,T.a):Object(j.a)(e)?[e]:Object(k.a)(Object(_.a)(Object(C.a)(e)))},R=n(37),A=n(179),M=n(33),D=n.n(M);var N=function(e){return Object(O.a)(e,5)};function F(){return(F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function I(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function L(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function z(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var W=function(e){return Array.isArray(e)&&0===e.length},U=function(e){return"function"===typeof e},B=function(e){return null!==e&&"object"===typeof e},V=function(e){return String(Math.floor(Number(e)))===e},H=function(e){return"[object String]"===Object.prototype.toString.call(e)},Y=function(e){return 0===r.Children.count(e)},$=function(e){return B(e)&&U(e.then)};function q(e,t,n,r){void 0===r&&(r=0);for(var i=P(t);e&&r<i.length;)e=e[i[r++]];return void 0===e?n:e}function G(e,t,n){for(var r=x(e),i=r,o=0,a=P(t);o<a.length-1;o++){var u=a[o],s=q(e,a.slice(0,o+1));if(s&&(B(s)||Array.isArray(s)))i=i[u]=x(s);else{var c=a[o+1];i=i[u]=V(c)&&Number(c)>=0?[]:{}}}return(0===o?e:i)[a[o]]===n?e:(void 0===n?delete i[a[o]]:i[a[o]]=n,0===o&&void 0===n&&delete r[a[o]],r)}function K(e,t,n,r){void 0===n&&(n=new WeakMap),void 0===r&&(r={});for(var i=0,o=Object.keys(e);i<o.length;i++){var a=o[i],u=e[a];B(u)?n.get(u)||(n.set(u,!0),r[a]=Array.isArray(u)?[]:{},K(u,t,n,r[a])):r[a]=t}return r}var X=Object(r.createContext)(void 0),Q=X.Provider,Z=X.Consumer;function J(){var e=Object(r.useContext)(X);return e||Object(R.a)(!1),e}function ee(e,t){switch(t.type){case"SET_VALUES":return F({},e,{values:t.payload});case"SET_TOUCHED":return F({},e,{touched:t.payload});case"SET_ERRORS":return o()(e.errors,t.payload)?e:F({},e,{errors:t.payload});case"SET_STATUS":return F({},e,{status:t.payload});case"SET_ISSUBMITTING":return F({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return F({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return F({},e,{values:G(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return F({},e,{touched:G(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return F({},e,{errors:G(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return F({},e,{},t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return F({},e,{touched:K(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return F({},e,{isSubmitting:!1});default:return e}}var te={},ne={};function re(e){var t=e.validateOnChange,n=void 0===t||t,i=e.validateOnBlur,a=void 0===i||i,u=e.validateOnMount,s=void 0!==u&&u,c=e.isInitialValid,l=e.enableReinitialize,d=void 0!==l&&l,p=e.onSubmit,h=L(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),m=F({validateOnChange:n,validateOnBlur:a,validateOnMount:s,onSubmit:p},h),v=Object(r.useRef)(m.initialValues),b=Object(r.useRef)(m.initialErrors||te),y=Object(r.useRef)(m.initialTouched||ne),g=Object(r.useRef)(m.initialStatus),w=Object(r.useRef)(!1),O=Object(r.useRef)({});Object(r.useEffect)((function(){return w.current=!0,function(){w.current=!1}}),[]);var x=Object(r.useReducer)(ee,{values:m.initialValues,errors:m.initialErrors||te,touched:m.initialTouched||ne,status:m.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),S=x[0],k=x[1],E=Object(r.useCallback)((function(e,t){return new Promise((function(n,r){var i=m.validate(e,t);null==i?n(te):$(i)?i.then((function(e){n(e||te)}),(function(e){r(e)})):n(i)}))}),[m.validate]),j=Object(r.useCallback)((function(e,t){var n=m.validationSchema,r=U(n)?n(t):n,i=t&&r.validateAt?r.validateAt(t,e):function(e,t,n,r){void 0===n&&(n=!1);void 0===r&&(r={});var i=oe(e);return t[n?"validateSync":"validate"](i,{abortEarly:!1,context:r})}(e,r);return new Promise((function(e,t){i.then((function(){e(te)}),(function(n){"ValidationError"===n.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return G(t,e.path,e.message);var n=e.inner,r=Array.isArray(n),i=0;for(n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if((i=n.next()).done)break;o=i.value}var a=o;q(t,a.path)||(t=G(t,a.path,a.message))}}return t}(n)):t(n)}))}))}),[m.validationSchema]),_=Object(r.useCallback)((function(e,t){return new Promise((function(n){return n(O.current[e].validate(t))}))}),[]),T=Object(r.useCallback)((function(e){var t=Object.keys(O.current).filter((function(e){return U(O.current[e].validate)})),n=t.length>0?t.map((function(t){return _(t,q(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(n).then((function(e){return e.reduce((function(e,n,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=G(e,t[r],n)),e}),{})}))}),[_]),C=Object(r.useCallback)((function(e){return Promise.all([T(e),m.validationSchema?j(e):{},m.validate?E(e):{}]).then((function(e){var t=e[0],n=e[1],r=e[2];return f.all([t,n,r],{arrayMerge:ae})}))}),[m.validate,m.validationSchema,T,E,j]),P=se((function(e){return void 0===e&&(e=S.values),Object(A.unstable_runWithPriority)(A.unstable_LowPriority,(function(){return C(e).then((function(e){return w.current&&k({type:"SET_ERRORS",payload:e}),e})).catch((function(e){0}))}))})),R=se((function(e){return void 0===e&&(e=S.values),k({type:"SET_ISVALIDATING",payload:!0}),C(e).then((function(e){return w.current&&(k({type:"SET_ISVALIDATING",payload:!1}),o()(S.errors,e)||k({type:"SET_ERRORS",payload:e})),e}))})),M=Object(r.useCallback)((function(e){var t=e&&e.values?e.values:v.current,n=e&&e.errors?e.errors:b.current?b.current:m.initialErrors||{},r=e&&e.touched?e.touched:y.current?y.current:m.initialTouched||{},i=e&&e.status?e.status:g.current?g.current:m.initialStatus;v.current=t,b.current=n,y.current=r,g.current=i;var o=function(){k({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:i,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"===typeof e.submitCount?e.submitCount:0}})};if(m.onReset){var a=m.onReset(S.values,de);$(a)?a.then(o):o()}else o()}),[m.initialErrors,m.initialStatus,m.initialTouched]);Object(r.useEffect)((function(){!0!==w.current||o()(v.current,m.initialValues)||(v.current=m.initialValues,d&&M(),s&&P(v.current))}),[d,m.initialValues,M,s,P]),Object(r.useEffect)((function(){d&&!0===w.current&&!o()(b.current,m.initialErrors)&&(b.current=m.initialErrors||te,k({type:"SET_ERRORS",payload:m.initialErrors||te}))}),[d,m.initialErrors]),Object(r.useEffect)((function(){d&&!0===w.current&&!o()(y.current,m.initialTouched)&&(y.current=m.initialTouched||ne,k({type:"SET_TOUCHED",payload:m.initialTouched||ne}))}),[d,m.initialTouched]),Object(r.useEffect)((function(){d&&!0===w.current&&!o()(g.current,m.initialStatus)&&(g.current=m.initialStatus,k({type:"SET_STATUS",payload:m.initialStatus}))}),[d,m.initialStatus,m.initialTouched]);var D=se((function(e){if(U(O.current[e].validate)){var t=q(S.values,e),n=O.current[e].validate(t);return $(n)?(k({type:"SET_ISVALIDATING",payload:!0}),n.then((function(e){return e})).then((function(t){k({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),k({type:"SET_ISVALIDATING",payload:!1})}))):(k({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return m.validationSchema?(k({type:"SET_ISVALIDATING",payload:!0}),j(S.values,e).then((function(e){return e})).then((function(t){k({type:"SET_FIELD_ERROR",payload:{field:e,value:t[e]}}),k({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),N=Object(r.useCallback)((function(e,t){var n=t.validate;O.current[e]={validate:n}}),[]),I=Object(r.useCallback)((function(e){delete O.current[e]}),[]),z=se((function(e,t){return k({type:"SET_TOUCHED",payload:e}),(void 0===t?a:t)?P(S.values):Promise.resolve()})),W=Object(r.useCallback)((function(e){k({type:"SET_ERRORS",payload:e})}),[]),V=se((function(e,t){return k({type:"SET_VALUES",payload:e}),(void 0===t?n:t)?P(e):Promise.resolve()})),Y=Object(r.useCallback)((function(e,t){k({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),K=se((function(e,t,r){return k({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===r?n:r)?P(G(S.values,e,t)):Promise.resolve()})),X=Object(r.useCallback)((function(e,t){var n,r=t,i=e;if(!H(e)){e.persist&&e.persist();var o=e.target?e.target:e.currentTarget,a=o.type,u=o.name,s=o.id,c=o.value,l=o.checked,f=(o.outerHTML,o.options),d=o.multiple;r=t||(u||s),i=/number|range/.test(a)?(n=parseFloat(c),isNaN(n)?"":n):/checkbox/.test(a)?function(e,t,n){if("boolean"===typeof e)return Boolean(t);var r=[],i=!1,o=-1;if(Array.isArray(e))r=e,i=(o=e.indexOf(n))>=0;else if(!n||"true"==n||"false"==n)return Boolean(t);if(t&&n&&!i)return r.concat(n);if(!i)return r;return r.slice(0,o).concat(r.slice(o+1))}(q(S.values,r),l,c):d?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(f):c}r&&K(r,i)}),[K,S.values]),Q=se((function(e){if(H(e))return function(t){return X(t,e)};X(e)})),Z=se((function(e,t,n){return void 0===t&&(t=!0),k({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?a:n)?P(S.values):Promise.resolve()})),J=Object(r.useCallback)((function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,i=n.id,o=(n.outerHTML,t||(r||i));Z(o,!0)}),[Z]),re=se((function(e){if(H(e))return function(t){return J(t,e)};J(e)})),ie=Object(r.useCallback)((function(e){U(e)?k({type:"SET_FORMIK_STATE",payload:e}):k({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),ue=Object(r.useCallback)((function(e){k({type:"SET_STATUS",payload:e})}),[]),ce=Object(r.useCallback)((function(e){k({type:"SET_ISSUBMITTING",payload:e})}),[]),le=se((function(){return k({type:"SUBMIT_ATTEMPT"}),R().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var n;try{if(void 0===(n=pe()))return}catch(r){throw r}return Promise.resolve(n).then((function(e){return w.current&&k({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(w.current)throw k({type:"SUBMIT_FAILURE"}),e}))}if(w.current&&(k({type:"SUBMIT_FAILURE"}),t))throw e}))})),fe=se((function(e){e&&e.preventDefault&&U(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&U(e.stopPropagation)&&e.stopPropagation(),le().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),de={resetForm:M,validateForm:R,validateField:D,setErrors:W,setFieldError:Y,setFieldTouched:Z,setFieldValue:K,setStatus:ue,setSubmitting:ce,setTouched:z,setValues:V,setFormikState:ie,submitForm:le},pe=se((function(){return p(S.values,de)})),he=se((function(e){e&&e.preventDefault&&U(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&U(e.stopPropagation)&&e.stopPropagation(),M()})),me=Object(r.useCallback)((function(e){return{value:q(S.values,e),error:q(S.errors,e),touched:!!q(S.touched,e),initialValue:q(v.current,e),initialTouched:!!q(y.current,e),initialError:q(b.current,e)}}),[S.errors,S.touched,S.values]),ve=Object(r.useCallback)((function(e){return{setValue:function(t,n){return K(e,t,n)},setTouched:function(t,n){return Z(e,t,n)},setError:function(t){return Y(e,t)}}}),[K,Z,Y]),be=Object(r.useCallback)((function(e){var t=B(e),n=t?e.name:e,r=q(S.values,n),i={name:n,value:r,onChange:Q,onBlur:re};if(t){var o=e.type,a=e.value,u=e.as,s=e.multiple;"checkbox"===o?void 0===a?i.checked=!!r:(i.checked=!(!Array.isArray(r)||!~r.indexOf(a)),i.value=a):"radio"===o?(i.checked=r===a,i.value=a):"select"===u&&s&&(i.value=i.value||[],i.multiple=!0)}return i}),[re,Q,S.values]),ye=Object(r.useMemo)((function(){return!o()(v.current,S.values)}),[v.current,S.values]),ge=Object(r.useMemo)((function(){return"undefined"!==typeof c?ye?S.errors&&0===Object.keys(S.errors).length:!1!==c&&U(c)?c(m):c:S.errors&&0===Object.keys(S.errors).length}),[c,ye,S.errors,m]);return F({},S,{initialValues:v.current,initialErrors:b.current,initialTouched:y.current,initialStatus:g.current,handleBlur:re,handleChange:Q,handleReset:he,handleSubmit:fe,resetForm:M,setErrors:W,setFormikState:ie,setFieldTouched:Z,setFieldValue:K,setFieldError:Y,setStatus:ue,setSubmitting:ce,setTouched:z,setValues:V,submitForm:le,validateForm:R,validateField:D,isValid:ge,dirty:ye,unregisterField:I,registerField:N,getFieldProps:be,getFieldMeta:me,getFieldHelpers:ve,validateOnBlur:a,validateOnChange:n,validateOnMount:s})}function ie(e){var t=re(e),n=e.component,i=e.children,o=e.render,a=e.innerRef;return Object(r.useImperativeHandle)(a,(function(){return t})),Object(r.createElement)(Q,{value:t},n?Object(r.createElement)(n,t):o?o(t):i?U(i)?i(t):Y(i)?null:r.Children.only(i):null)}function oe(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);!0===Array.isArray(e[r])?t[r]=e[r].map((function(e){return!0===Array.isArray(e)||w(e)?oe(e):""!==e?e:void 0})):w(e[r])?t[r]=oe(e[r]):t[r]=""!==e[r]?e[r]:void 0}return t}function ae(e,t,n){var r=e.slice();return t.forEach((function(t,i){if("undefined"===typeof r[i]){var o=!1!==n.clone&&n.isMergeableObject(t);r[i]=o?f(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?r[i]=f(e[i],t,n):-1===e.indexOf(t)&&r.push(t)})),r}var ue="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect;function se(e){var t=Object(r.useRef)(e);return ue((function(){t.current=e})),Object(r.useCallback)((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current.apply(void 0,n)}),[])}function ce(e){var t=function(t){return Object(r.createElement)(Z,null,(function(n){return n||Object(R.a)(!1),Object(r.createElement)(e,Object.assign({},t,{formik:n}))}))},n=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return t.WrappedComponent=e,t.displayName="FormikConnect("+n+")",D()(t,e)}Object(r.forwardRef)((function(e,t){var n=e.action,i=L(e,["action"]),o=n||"#",a=J(),u=a.handleReset,s=a.handleSubmit;return Object(r.createElement)("form",Object.assign({onSubmit:s,ref:t,onReset:u,action:o},i))})).displayName="Form";var le=function(e,t,n){var r=fe(e);return r.splice(t,0,n),r},fe=function(e){if(e){if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map((function(e){return parseInt(e)})).reduce((function(e,t){return t>e?t:e}),0);return Array.from(F({},e,{length:t+1}))}return[]},de=function(e){function t(t){var n;return(n=e.call(this,t)||this).updateArrayField=function(e,t,r){var i=n.props,o=i.name;(0,i.formik.setFormikState)((function(n){var i="function"===typeof r?r:e,a="function"===typeof t?t:e,u=G(n.values,o,e(q(n.values,o))),s=r?i(q(n.errors,o)):void 0,c=t?a(q(n.touched,o)):void 0;return W(s)&&(s=void 0),W(c)&&(c=void 0),F({},n,{values:u,errors:r?G(n.errors,o,s):n.errors,touched:t?G(n.touched,o,c):n.touched})}))},n.push=function(e){return n.updateArrayField((function(t){return[].concat(fe(t),[N(e)])}),!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=fe(e),i=r[t];return r[t]=r[n],r[n]=i,r}(n,e,t)}),!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=fe(e),i=r[t];return r.splice(t,1),r.splice(n,0,i),r}(n,e,t)}),!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField((function(n){return le(n,e,t)}),(function(t){return le(t,e,null)}),(function(t){return le(t,e,null)}))},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=fe(e);return r[t]=n,r}(n,e,t)}),!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField((function(n){var r=n?[e].concat(n):[e];return t<0&&(t=r.length),r}),(function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n}),(function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n})),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(z(n)),n.pop=n.pop.bind(z(n)),n}I(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){!o()(q(e.formik.values,e.name),q(this.props.formik.values,this.props.name))&&this.props.formik.validateOnChange&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(e){var t;return this.updateArrayField((function(n){var r=n?fe(n):[];return t||(t=r[e]),U(r.splice)&&r.splice(e,1),r}),!0,!0),t},n.pop=function(){var e;return this.updateArrayField((function(t){var n=t;return e||(e=n&&n.pop&&n.pop()),n}),!0,!0),e},n.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,n=t.component,i=t.render,o=t.children,a=t.name,u=F({},e,{form:L(t.formik,["validate","validationSchema"]),name:a});return n?Object(r.createElement)(n,u):i?i(u):o?"function"===typeof o?o(u):Y(o)?null:r.Children.only(o):null},t}(r.Component);de.defaultProps={validateOnChange:!0};r.Component,r.Component},function(e,t,n){"use strict";var r=n(58),i=n(3),o=n.n(i),a=n(0),u=n.n(a);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var c={preventDefaultTouchmoveEvent:!1,delta:10,rotationAngle:0,trackMouse:!1,trackTouch:!0},l={xy:[0,0],swiping:!1,eventData:void 0,start:void 0},f="mousemove",d="mouseup";function p(e,t){if(0===t)return e;var n=Math.PI/180*t;return[e[0]*Math.cos(n)+e[1]*Math.sin(n),e[1]*Math.cos(n)-e[0]*Math.sin(n)]}function h(e,t){var n=function(t){t.touches&&t.touches.length>1||e((function(e,n){n.trackMouse&&(document.addEventListener(f,r),document.addEventListener(d,a));var i=t.touches?t.touches[0]:t,o=p([i.clientX,i.clientY],n.rotationAngle);return s({},e,l,{eventData:{initial:[].concat(o),first:!0},xy:o,start:t.timeStamp||0})}))},r=function(t){e((function(e,n){if(!e.xy[0]||!e.xy[1]||t.touches&&t.touches.length>1)return e;var r=t.touches?t.touches[0]:t,i=p([r.clientX,r.clientY],n.rotationAngle),o=i[0],a=i[1],u=e.xy[0]-o,c=e.xy[1]-a,l=Math.abs(u),f=Math.abs(c),d=(t.timeStamp||0)-e.start,h=Math.sqrt(l*l+f*f)/(d||1);if(l<n.delta&&f<n.delta&&!e.swiping)return e;var m=function(e,t,n,r){return e>t?n>0?"Left":"Right":r>0?"Up":"Down"}(l,f,u,c),v=s({},e.eventData,{event:t,absX:l,absY:f,deltaX:u,deltaY:c,velocity:h,dir:m});n.onSwiping&&n.onSwiping(v);var b=!1;return(n.onSwiping||n.onSwiped||n["onSwiped"+m])&&(b=!0),b&&n.preventDefaultTouchmoveEvent&&n.trackTouch&&t.cancelable&&t.preventDefault(),s({},e,{eventData:s({},v,{first:!1}),swiping:!0})}))},i=function(t){e((function(e,n){var r;return e.swiping&&(r=s({},e.eventData,{event:t}),n.onSwiped&&n.onSwiped(r),n["onSwiped"+r.dir]&&n["onSwiped"+r.dir](r)),s({},e,l,{eventData:r})}))},o=function(){document.removeEventListener(f,r),document.removeEventListener(d,a)},a=function(e){o(),i(e)},u=function(e){if(e&&e.addEventListener){var t=[["touchstart",n],["touchmove",r],["touchend",i]];return t.forEach((function(t){var n=t[0],r=t[1];return e.addEventListener(n,r)})),function(){return t.forEach((function(t){var n=t[0],r=t[1];return e.removeEventListener(n,r)}))}}},c={ref:function(t){null!==t&&e((function(e,n){if(e.el===t)return e;var r={};return e.el&&e.el!==t&&e.cleanUpTouch&&(e.cleanUpTouch(),r.cleanUpTouch=null),n.trackTouch&&t&&(r.cleanUpTouch=u(t)),s({},e,{el:t},r)}))}};return t.trackMouse&&(c.onMouseDown=n),[c,u]}function m(e,t,n){var r={};return!t.trackTouch&&e.cleanUpTouch?(e.cleanUpTouch(),r.cleanUpTouch=null):t.trackTouch&&!e.cleanUpTouch&&e.el&&(r.cleanUpTouch=n(e.el)),s({},e,r)}var v=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this)._set=function(e){n.transientState=e(n.transientState,n.props)},n.transientState=s({},l,{type:"class"}),n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.className,n=e.style,r=e.nodeName,i=void 0===r?"div":r,o=e.innerRef,a=e.children,c=e.trackMouse,l=h(this._set,{trackMouse:c}),f=l[0],d=l[1];this.transientState=m(this.transientState,this.props,d);var p=o?function(e){return o(e),f.ref(e)}:f.ref;return u.a.createElement(i,s({},f,{className:t,style:n,ref:p}),a)},r}(u.a.PureComponent);v.propTypes={onSwiped:o.a.func,onSwiping:o.a.func,onSwipedUp:o.a.func,onSwipedRight:o.a.func,onSwipedDown:o.a.func,onSwipedLeft:o.a.func,delta:o.a.number,preventDefaultTouchmoveEvent:o.a.bool,nodeName:o.a.string,trackMouse:o.a.bool,trackTouch:o.a.bool,innerRef:o.a.func,rotationAngle:o.a.number},v.defaultProps=c;var b=n(305),y=n.n(b),g=n(306),w=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},O=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},k=function(e){function t(){return w(this,t),S(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),O(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.when,r=e.hiddenMode,i=e.className,o=u.a.Children.only(t),a=o.props,s=a.style,c=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(a,["style"]),l=x({},c),f=r&&"withNull"!==r;f&&("withCss"===r?l.className=l.className+" "+i:l.style=x({},s,"withDisplay"===r&&{display:"none"},"withVisibility"===r&&{visibility:"hidden"}));var d=u.a.cloneElement(o,l);return n?o:f?d:null}}]),t}(a.Component);k.defaultProps={hiddenMode:"withNull",className:"r-o_hidden"},k.propTypes={children:o.a.element.isRequired,when:o.a.bool.isRequired,hiddenMode:o.a.oneOf(["withNull","withDisplay","withVisibility","withCss"]),className:o.a.string};var E=k;function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T(e,t,n){return t&&_(e.prototype,t),n&&_(e,n),e}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function M(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N(e,t)}function D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function F(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function I(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?I(e):t}function z(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=D(e);if(t){var i=D(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return L(this,n)}}function W(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function U(e){return function(e){if(Array.isArray(e))return V(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||B(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B(e,t){if(e){if("string"===typeof e)return V(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?V(e,t):void 0}}function V(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function H(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=B(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}var Y=function(){},$=function(e){return U(Array(e).keys())},q=function(){for(var e="rec",t=" ",n="".concat(e),r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=i.reduce((function(n,r){return r&&(n+="".concat(t).concat(e,"-").concat(r)),n}),"");return n+=a},G=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(e,t){return t(e)}),e)}};function K(){var e=W(["\n box-sizing: border-box;\n transition: all 0.3s ease;\n font-size: 1.6em;\n background-color: rgba(103, 58, 183, 0.1);\n color: ",";\n box-shadow: 0 0 2px 0px #333;\n border-radius: 50%;\n border: none;\n padding: 0;\n width: 50px;\n height: 50px;\n min-width: 50px;\n line-height: 50px;\n align-self: center;\n cursor: pointer;\n outline: none;\n &:hover:enabled,\n &:focus:enabled {\n color: #fff;\n background-color: rgba(103, 58, 183, 1);\n box-shadow: 0 0 2px 0 #333;\n }\n &:disabled {\n cursor: not-allowed;\n }\n"]);return K=function(){return e},e}var X=r.a.button.attrs((function(e){var t=e.type;return{type:void 0===t?"button":t}}))(K(),(function(e){return e.disabled?"#999":"#333"})),Q="PREV",Z="NEXT",J="flex-start",ee="center",te="flex-end";function ne(){var e=W(["\n box-sizing: border-box;\n display: flex;\n overflow: hidden;\n user-select: none;\n justify-content: ",";\n"]);return ne=function(){return e},e}var re=r.a.div.attrs((function(e){return{style:e.style,className:q("item-wrapper")}}))(ne(),(function(e){return e.itemPosition}));function ie(){var e=W(["\n overflow: hidden;\n position: relative;\n width: 100%;\n margin: 0 10px;\n"]);return ie=function(){return e},e}re.defaultProps={style:{},itemPosition:ee},re.propTypes={children:o.a.element.isRequired,style:o.a.object,itemPosition:o.a.oneOf([J,ee,te])};var oe=r.a.div(ie());function ae(){var e=W(["\n position: absolute;\n display: flex;\n flex-direction: ",";\n ",";\n ",";\n"]);return ae=function(){return e},e}var ue=function(e){var t=e.isRTL,n=e.verticalMode,r=e.isSwiping,i=e.swipedSliderPosition,o=e.sliderPosition;return n||t?"auto":"".concat(r?i:o,"px")},se=function(e){var t=e.isRTL,n=e.verticalMode,r=e.isSwiping,i=e.swipedSliderPosition,o=e.sliderPosition;return!n&&t?"".concat(r?i:o,"px"):"auto"},ce=function(e){var t=e.verticalMode,n=e.isSwiping,r=e.swipedSliderPosition,i=e.sliderPosition;return t?"".concat(n?r:i,"px"):"auto"},le=function(e){var t=e.isSwiping,n=e.transitionMs,r=e.easing,i=e.tiltEasing,o=t?i:r;return"all ".concat(t?0:n,"ms ").concat(o)},fe=r.a.div.attrs((function(e){return{style:{transition:le(e),left:ue(e),right:se(e),top:ce(e)}}}))(ae(),(function(e){return e.verticalMode?"column":"row"}),(function(e){return e.verticalMode?"min-height: 100%;":""}),(function(e){var t=e.verticalMode,n=e.outerSpacing;return t?"":"margin: 0 ".concat(n,"px;")}));function de(){var e=W(["\n display: flex;\n flex-direction: row;\n width: 100%;\n"]);return de=function(){return e},e}var pe=r.a.div.attrs((function(e){return{style:{height:e.size.height}}}))(de());function he(){var e=W(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n direction: ",";\n"]);return he=function(){return e},e}var me=r.a.div(he(),(function(e){return e.isRTL?"rtl":"ltr"})),ve=function(e){M(n,e);var t=z(n);function n(){var e;j(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return C(I(e=t.call.apply(t,[this].concat(i))),"onClick",(function(){var t=e.props;(0,t.onClick)(t.id)})),e}return T(n,[{key:"render",value:function(){return u.a.createElement(re,P({},this.props,{onClick:this.onClick}))}}]),n}(u.a.Component);ve.defaultProps={onClick:Y},ve.propTypes={id:o.a.oneOfType([o.a.string,o.a.number]),onClick:o.a.func};var be=function(e){var t=e.children,n=e.childWidth,r=e.autoTabIndexVisibleItems,i=e.enableSwipe,o=e.enableMouseSwipe,a=e.preventDefaultTouchmoveEvent,s=e.itemsToShow,c=e.itemsToScroll,l=e.currentItem,f=e.itemPosition,d=e.itemPadding,p=e.onSwiped,h=e.onSwiping,m=e.verticalMode,b=e.onItemClick,y="".concat(n,"px"),g="".concat(d.join("px "),"px"),w=l,O=l+s,x=w-c,S=O+c,k=u.a.Children.map(t,(function(e,t){var n=t>=w&&t<O,i=!n&&t>=x&&t<l,o=!n&&t<S&&t>l,a="carousel-item",s=r?u.a.cloneElement(e,{tabIndex:n?0:-1}):e;return u.a.createElement("div",{className:q(a,"".concat(a,"-").concat(t),"".concat(a,"-").concat(n?"visible":"hidden"),i&&"".concat(a,"-prev"),o&&"".concat(a,"-next"))},u.a.createElement(ve,{id:t,itemPosition:f,style:{width:y,padding:g},key:t,onClick:b},s))}));return i?u.a.createElement(v,{style:{display:"flex",flexDirection:m?"column":"row"},stopPropagation:!0,preventDefaultTouchmoveEvent:a,trackMouse:o,onSwiped:p,onSwiping:h,className:q("swipable")},k):k};be.propTypes={children:o.a.array.isRequired,itemsToShow:o.a.number.isRequired,noAutoTabbedItems:o.a.bool,currentItem:o.a.number.isRequired,itemPosition:o.a.string,itemPadding:o.a.array,childWidth:o.a.number,verticalMode:o.a.bool,enableSwipe:o.a.bool,enableMouseSwipe:o.a.bool,preventDefaultTouchmoveEvent:o.a.bool,onSwiped:o.a.func,onSwiping:o.a.func,onItemClick:o.a.func};var ye={left:"\u276e",right:"\u276f",up:"\u276e",down:"\u276f"},ge=q("arrow"),we=function(e){var t=e.direction,n=e.onClick,r=e.icons,i=e.style,o=F(e,["direction","onClick","icons","style"]),a=A(A({},ye),r),s=A(A({},function(e){var t={};return e!==we.up&&e!==we.down||(t.transform="rotate(90deg)"),t}(t)),i);return u.a.createElement(X,P({tabIndex:0,onClick:n,className:y()(ge,"".concat(ge,"-").concat(t)),style:s},o),a[t])};we.left="left",we.right="right",we.up="up",we.down="down",we.propTypes={direction:o.a.oneOf(["left","right","up","down"]).isRequired,icons:o.a.object,style:o.a.object,onClick:o.a.func};var Oe="NEXT_ITEM",xe="PREV_ITEM",Se=function(e,t){var n=t.limit,r=t.itemsToScroll;switch(t.type){case Oe:var i=e+r;return n>=i?i:n;case xe:var o=e-r;return o>=n?o:n;default:return e}},ke=function(e,t){return{type:Oe,limit:e,itemsToScroll:t}},Ee=function(e,t){return{type:xe,limit:e,itemsToScroll:t}};function je(){var e=W(["\n box-sizing: border-box;\n padding: 0;\n transition: all 250ms ease;\n border: none;\n margin: 5px;\n background-color: ",';\n font-size: 1.3em;\n content: "";\n height: 10px;\n width: 10px;\n box-shadow: ',";\n border-radius: 50%;\n outline: none;\n &:hover,\n &:focus {\n cursor: pointer;\n box-shadow: ",";\n }\n"]);return je=function(){return e},e}var _e="0 0 1px 3px rgba(103,58,183,1)",Te=r.a.button.attrs((function(e){var t=e.type;return{type:void 0===t?"button":t}}))(je(),(function(e){return e.active?"rgba(103,58,183,.5)":"transparent"}),(function(e){return e.active?_e:"0 0 1px 2px rgba(0, 0, 0, 0.5)"}),(function(e){return e.active?_e:"0 0 1px 3px rgba(103,58,183,.5)"})),Ce=function(e){M(n,e);var t=z(n);function n(){var e;j(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return C(I(e=t.call.apply(t,[this].concat(i))),"onClick",(function(){var t=e.props;(0,t.onClick)(t.id)})),e}return T(n,[{key:"render",value:function(){var e=this.props.active;return u.a.createElement(Te,{tabIndex:e?-1:0,onClick:this.onClick,active:e,className:"".concat(q("dot")," ").concat(e?q("dot_active"):"")})}}]),n}(u.a.Component);function Pe(){var e=W(["\n display: flex;\n flex-wrap: wrap;\n margin-top: 15px;\n"]);return Pe=function(){return e},e}Ce.propTypes={id:o.a.oneOfType([o.a.string,o.a.number]),active:o.a.bool,onClick:o.a.func};var Re=r.a.div(Pe()),Ae=function(e){M(n,e);var t=z(n);function n(){return j(this,n),t.apply(this,arguments)}return T(n,[{key:"render",value:function(){var e=this.props,t=e.numOfPages,n=e.activePage,r=e.onClick,i=$(t);return u.a.createElement(Re,{className:q("pagination")},i.map((function(e,t){return u.a.createElement(Ce,{key:t,id:t,active:t===n,onClick:r})})))}}]),n}(u.a.Component);Ae.defaultProps={onClick:Y},Ae.propTypes={numOfPages:o.a.number.isRequired,activePage:o.a.number.isRequired,onClick:o.a.func};var Me=function(e){M(n,e);var t=z(n);function n(){var e;j(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return C(I(e=t.call.apply(t,[this].concat(i))),"isComponentMounted",!1),C(I(e),"state",{rootHeight:0,childHeight:0,sliderPosition:0,swipedSliderPosition:0,isSwiping:!1,transitioning:!1,transitionMs:e.props.transitionMs,activeIndex:e.props.initialActiveIndex||e.props.initialFirstItem,pages:[],activePage:0,sliderContainerWidth:0}),C(I(e),"setRef",(function(t){return function(n){return e[t]=n}})),C(I(e),"initResizeObserver",(function(){e.ro=new g.a((function(t,n){var r,i=H(t);try{var o=function(){var t=r.value;t.target===e.sliderContainer&&window.requestAnimationFrame((function(){e.onContainerResize(t)})),t.target===e.slider&&window.requestAnimationFrame((function(){e.onSliderResize(t)}))};for(i.s();!(r=i.n()).done;)o()}catch(a){i.e(a)}finally{i.f()}})),e.ro.observe(e.sliderContainer),e.ro.observe(e.slider)})),C(I(e),"unSubscribeObserver",(function(){return e.ro.disconnect()})),C(I(e),"setAutoPlay",(function(){var t=e.getDerivedPropsFromBreakPoint().autoPlaySpeed;e.autoPlayIntervalId=setInterval((function(){e.isComponentMounted&&(e.state.transitioning||e.slideNext())}),t)})),C(I(e),"removeAutoPlay",(function(){e.autoPlayIntervalId&&(clearInterval(e.autoPlayIntervalId),e.autoPlayIntervalId=null)})),C(I(e),"setPages",(function(){var t=e.getNumOfPages(),n=$(t);e.setState({pages:n})})),C(I(e),"onSliderTransitionEnd",(function(t){e.slider.addEventListener("transitionend",t)})),C(I(e),"removeSliderTransitionHook",(function(t){e.slider.removeEventListener("transitionend",t)})),C(I(e),"getDerivedPropsFromBreakPoint",(function(){var t,n=e.props,r=n.breakPoints,i=F(n,["breakPoints"]),o=e.state.sliderContainerWidth;return r&&r.length>0&&((t=r.slice().reverse().find((function(e){return e.width<=o})))||(t=r[0])),A(A({},i),t)})),C(I(e),"updateSliderPosition",(function(){e.setState((function(t){var n=e.getDerivedPropsFromBreakPoint(),r=n.children,i=n.verticalMode,o=n.itemsToShow,u=n.transitionMs,s=t.childHeight,c=t.activeIndex,l=e.calculateChildWidth(),f=a.Children.toArray(r).length,d=-1*c,p=o-(f-c);p>0&&f-o>0&&(d=p+-1*c);var h=(i?s:l)*d,m=p>0?c-p:c;return window.requestAnimationFrame((function(){e.isComponentMounted&&e.setState({transitionMs:u})})),{sliderPosition:h,activeIndex:m<0?0:m}}))})),C(I(e),"onSliderResize",(function(t){if(e.isComponentMounted){var n=e.getDerivedPropsFromBreakPoint(),r=n.verticalMode,i=n.children,o=n.itemsToShow,u=t.contentRect.height,s={},c=a.Children.toArray(i).length;if(r){var l=u/c;s.rootHeight=l*Math.min(c,o),s.childHeight=l}else s.rootHeight=u;e.setState(s)}})),C(I(e),"calculateChildWidth",(function(){var t=e.state.sliderContainerWidth,n=e.getDerivedPropsFromBreakPoint(),r=n.verticalMode,i=n.itemsToShow,o=n.showEmptySlots,u=n.children,s=a.Children.toArray(u).length||1;return r?t:t/(o?i:Math.min(s,i))})),C(I(e),"onContainerResize",(function(t){var n=t.contentRect.width,r=e.getDerivedPropsFromBreakPoint(),i=r.outerSpacing,o=n-(r.verticalMode?0:2*i);e.isComponentMounted&&e.state.sliderContainerWidth!==n&&e.setState({sliderContainerWidth:o,transitionMs:0},(function(){var t=e.getDerivedPropsFromBreakPoint(),n=t.onResize,r=t.itemsToShow,i=t.children,o=a.Children.toArray(i).length||1;e.setState((function(e){var t=e.activeIndex,n=Math.min(o,r),i=o-n;return t>i&&(t=i),{activeIndex:t}}),(function(){e.updateSliderPosition();var t=e.getDerivedPropsFromBreakPoint();n(t)}))}))})),C(I(e),"tiltMovement",(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:150;e.setState((function(e){return{isSwiping:!0,swipedSliderPosition:t-n}})),setTimeout((function(){e.setState({isSwiping:!1,swipedSliderPosition:0})}),r)})),C(I(e),"convertChildToCbObj",(function(t){var n=e.getDerivedPropsFromBreakPoint().children,r=Math.round(t);return{item:a.Children.toArray(n)[r].props,index:r}})),C(I(e),"getNextItemIndex",(function(t,n){var r=e.getDerivedPropsFromBreakPoint(),i=r.children,o=r.itemsToShow,u=r.itemsToScroll,s=a.Children.toArray(i).length||1,c=n?0:s-o;o>s&&(c=0);var l=n?Ee(0,u):ke(c,u);return Se(t,l)})),C(I(e),"getNextItemObj",(function(t){var n=e.getDerivedPropsFromBreakPoint().children,r=e.state.activeIndex,i=e.getNextItemIndex(r,t),o=Math.round(i);return{item:a.Children.toArray(n)[o].props,index:o}})),C(I(e),"resetSwipe",(function(){e.setState({swipedSliderPosition:0,transitioning:!1,isSwiping:!1})})),C(I(e),"onSwiping",(function(t){var n=t.deltaX,r=t.absX,i=t.deltaY,o=t.absY,u=t.dir;e.setState((function(t){var s=t.childHeight,c=t.activeIndex,l=t.sliderPosition,f=e.getDerivedPropsFromBreakPoint(),d=f.itemsToShow,p=f.verticalMode,h=f.children,m=f.isRTL,v=e.calculateChildWidth(),b=a.Children.toArray(h).length||1,y=!p&&"Left"===u&&!m||!p&&"Right"===u&&m||p&&"Up"===u,g=!p&&"Right"===u&&!m||!p&&"Left"===u&&m||p&&"Down"===u,w="Left"===u||"Right"===u,O="Up"===u||"Down"===u,x=!p,S=0,k=v/2,E=s/2;p?O&&(y?S=b*s-s*c-d*s+E:g&&(S=s*c+E)):w&&(y?S=b*v-v*c-d*v+k:g&&(S=v*c+k));if(!(x&&O||x&&w&&r>S)&&!(p&&w||p&&O&&o>S))return{swipedSliderPosition:w?m?l+n:l-n:l-i,isSwiping:!0,transitioning:!0}}))})),C(I(e),"onSwiped",(function(t){var n=t.absX,r=t.absY,i=t.dir,o=e.state,a=o.childHeight,u=o.activeIndex,s=e.getDerivedPropsFromBreakPoint(),c=s.verticalMode,l=s.isRTL,f=s.itemsToScroll,d=e.calculateChildWidth(),p=e.resetSwipe,h=d/5,m=a/5,v="Left"===i,b="Right"===i,y="Up"===i,g="Down"===i,w=!1;if((c&&(y||g)&&r>m||!c&&(b||v)&&n>h)&&(w=!0),w)if(c){var O=Math.ceil((r-m)/a),x=Math.max(f,O),S=u-x,k=u+x;g&&(p=function(){return e.goTo(S)}),y&&(p=function(){return e.goTo(k)})}else{var E=Math.ceil((n-h)/d),j=Math.max(f,E),_=u-j,T=u+j;l?(v&&(p=function(){return e.goTo(_)}),b&&(p=function(){return e.goTo(T)})):(v&&(p=function(){return e.goTo(T)}),b&&(p=function(){return e.goTo(_)}))}e.setState({isSwiping:!1,transitioning:!1}),p({skipTilt:!0})})),C(I(e),"onNextStart",(function(t){var n=e.getDerivedPropsFromBreakPoint().onNextStart,r=e.state.activeIndex,i=e.getNextItemObj();n(e.convertChildToCbObj(r),i),e.slideNext(t)})),C(I(e),"onPrevStart",(function(t){var n=e.getDerivedPropsFromBreakPoint().onPrevStart,r=e.state.activeIndex,i=e.getNextItemObj(!0);n(e.convertChildToCbObj(r),i),e.slidePrev(t)})),C(I(e),"slideNext",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.skipTilt,r=e.getDerivedPropsFromBreakPoint(),i=r.enableTilt,o=e.state,a=o.activeIndex,u=o.sliderPosition,s=e.getNextItemIndex(a,!1);a!==s?e.goTo(s):i&&!n&&e.tiltMovement(u,20,150)})),C(I(e),"slidePrev",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.skipTilt,r=e.state.activeIndex,i=e.getDerivedPropsFromBreakPoint(),o=i.enableTilt,a=e.getNextItemIndex(r,!0);r!==a?e.goTo(a):o&&!n&&e.tiltMovement(0,-20,150)})),C(I(e),"onNextEnd",(function(){var t=e.getDerivedPropsFromBreakPoint(),n=t.onNextEnd,r=t.onChange,i=e.state,o=i.activeIndex,a=i.activePage,u=e.convertChildToCbObj(o);e.removeSliderTransitionHook(e.onNextEnd),e.setState({transitioning:!1}),r&&r(u,a),n(u,a)})),C(I(e),"onPrevEnd",(function(){var t=e.getDerivedPropsFromBreakPoint(),n=t.onPrevEnd,r=t.onChange,i=e.state,o=i.activeIndex,a=i.activePage,u=e.convertChildToCbObj(o);e.removeSliderTransitionHook(e.onPrevEnd),e.setState({transitioning:!1}),r&&r(u,a),n(u,a)})),C(I(e),"generatePositionUpdater",(function(t,n,r,i){return function(o){var a=o.sliderPosition,u=o.childHeight,s=o.activeIndex,c=e.calculateChildWidth(),l=r?u:c;return A({sliderPosition:t===Z?a-l*(n-s):a+l*(s-n),activeIndex:n,swipedSliderPosition:0,isSwiping:!1},i)}})),C(I(e),"goTo",(function(t){var n=e.getDerivedPropsFromBreakPoint(),r=n.children,i=n.verticalMode,o=n.itemsToShow,u=e.state.activeIndex,s=a.Children.toArray(r).length,c=Math.max(0,t),l=u>c;if(!(e.getNextItemIndex(u,l)===u)){c+o>=s&&(c=Math.max(0,s-o));var f=Z,d=e.onNextEnd;l&&(f=Q,d=e.onPrevEnd);var p=e.generatePositionUpdater(f,c,i,{transitioning:!0});e.setState(p,(function(){G(e.updateActivePage(),e.onSliderTransitionEnd(d))}))}})),C(I(e),"getNumOfPages",(function(){var t=e.getDerivedPropsFromBreakPoint(),n=t.children,r=t.itemsToShow,i=a.Children.toArray(n).length,o=Math.max(r,1);return Math.ceil(i/o)||1})),C(I(e),"updateActivePage",(function(){e.setState((function(t){var n=e.getDerivedPropsFromBreakPoint(),r=n.itemsToShow,i=n.children,o=t.activeIndex,u=t.activePage,s=e.getNumOfPages(),c=a.Children.toArray(i).length,l=Math.min(c,r),f=Math.max(l,1),d=Math.ceil(o/f),p=Math.min(s-1,d);if(u!==p)return{activePage:p}}))})),C(I(e),"onIndicatorClick",(function(t){var n=t*e.getDerivedPropsFromBreakPoint().itemsToShow;e.setState({activePage:t}),e.goTo(n)})),e}return T(n,[{key:"componentDidMount",value:function(){this.isComponentMounted=!0,this.initResizeObserver(),this.updateActivePage(),this.setPages()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.enableAutoPlay,i=n.children,o=n.itemsToShow,u=n.itemsToScroll,s=n.breakPoints,c=this.state,l=c.activeIndex,f=c.sliderContainerWidth,d=this.getNextItemIndex(l,!1),p=a.Children.toArray(i).length,h=a.Children.toArray(e.children).length;if(h===p&&e.itemsToShow===o&&e.itemsToScroll===u&&e.breakPoints===s&&f===t.sliderContainerWidth||(this.onContainerResize({contentRect:{width:f}}),this.setPages(),this.updateActivePage()),l===d?this.removeAutoPlay():r&&!this.autoPlayIntervalId?this.setAutoPlay():!r&&this.autoPlayIntervalId&&this.removeAutoPlay(),h!==p){var m=this.getDerivedPropsFromBreakPoint().itemsToShow;l+m>p-1&&this.goTo(Math.max(0,p-m))}}},{key:"componentWillUnmount",value:function(){this.isComponentMounted=!1,this.removeAutoPlay(),this.unSubscribeObserver()}},{key:"render",value:function(){var e=this.state,t=e.activePage,n=e.isSwiping,r=e.sliderPosition,i=e.swipedSliderPosition,o=e.rootHeight,s=e.pages,c=e.activeIndex,l=e.transitionMs,f=this.getDerivedPropsFromBreakPoint(),d=f.className,p=f.style,h=f.itemsToShow,m=f.itemsToScroll,v=f.verticalMode,b=f.isRTL,y=f.easing,g=f.tiltEasing,w=f.children,O=f.focusOnSelect,x=f.autoTabIndexVisibleItems,S=f.itemPosition,k=f.itemPadding,j=f.outerSpacing,_=f.enableSwipe,T=f.enableMouseSwipe,C=f.pagination,P=f.showArrows,R=f.disableArrowsOnEnd,A=f.preventDefaultTouchmoveEvent,M=f.renderArrow,D=f.renderPagination,N=this.calculateChildWidth(),F=this.getNumOfPages(),I=c!==this.getNextItemIndex(c,!0),L=c!==this.getNextItemIndex(c,!1),z=!I&&R,W=!L&&R;return u.a.createElement(me,{isRTL:b,className:"".concat(q("carousel-wrapper")," ").concat(d),style:p},u.a.createElement(pe,{className:q("carousel"),size:{height:o}},u.a.createElement(E,{when:P},M?M({type:Q,onClick:this.onPrevStart,isEdge:!I}):u.a.createElement(we,{onClick:this.onPrevStart,direction:v?we.up:we.left,disabled:z})),u.a.createElement(oe,{className:q("slider-container"),ref:this.setRef("sliderContainer")},u.a.createElement(fe,{verticalMode:v,isRTL:b,easing:y,sliderPosition:r,swipedSliderPosition:i,isSwiping:n,transitionMs:l,tiltEasing:g,className:q("slider"),ref:this.setRef("slider"),outerSpacing:j},u.a.createElement(be,{verticalMode:v,children:a.Children.toArray(w),childWidth:N,currentItem:c,autoTabIndexVisibleItems:x,itemsToShow:h,itemsToScroll:m,itemPosition:S,itemPadding:k,enableSwipe:_,enableMouseSwipe:T,preventDefaultTouchmoveEvent:A,onSwiped:this.onSwiped,onSwiping:this.onSwiping,onItemClick:O?this.goTo:void 0}))),u.a.createElement(E,{when:P},M?M({type:Z,onClick:this.onNextStart,isEdge:!L}):u.a.createElement(we,{onClick:this.onNextStart,direction:v?we.down:we.right,disabled:W}))),u.a.createElement(E,{when:C},D?D({pages:s,activePage:t,onClick:this.onIndicatorClick}):u.a.createElement(Ae,{numOfPages:F,activePage:t,onClick:this.onIndicatorClick})))}}]),n}(u.a.Component);Me.defaultProps={className:"",style:{},verticalMode:!1,isRTL:!1,initialFirstItem:0,initialActiveIndex:0,showArrows:!0,showEmptySlots:!1,disableArrowsOnEnd:!0,pagination:!0,easing:"ease",tiltEasing:"ease",transitionMs:500,enableTilt:!0,enableSwipe:!0,enableMouseSwipe:!0,preventDefaultTouchmoveEvent:!1,focusOnSelect:!1,autoTabIndexVisibleItems:!0,itemsToShow:1,itemsToScroll:1,itemPosition:ee,itemPadding:[0,0,0,0],outerSpacing:0,enableAutoPlay:!1,autoPlaySpeed:2e3,onChange:Y,onNextEnd:Y,onPrevEnd:Y,onNextStart:Y,onPrevStart:Y,onResize:Y},Me.propTypes={children:o.a.node.isRequired,className:o.a.string,style:o.a.object,verticalMode:o.a.bool,isRTL:o.a.bool,pagination:o.a.bool,transitionMs:o.a.number,easing:o.a.string,tiltEasing:o.a.string,enableTilt:o.a.bool,itemsToShow:o.a.number,itemsToScroll:o.a.number,breakPoints:o.a.arrayOf(o.a.shape({width:o.a.number.isRequired,itemsToShow:o.a.number,itemsToScroll:o.a.number})),initialActiveIndex:o.a.number,initialFirstItem:o.a.number,showArrows:o.a.bool,showEmptySlots:o.a.bool,disableArrowsOnEnd:o.a.bool,focusOnSelect:o.a.bool,autoTabIndexVisibleItems:o.a.bool,renderArrow:o.a.func,renderPagination:o.a.func,itemPosition:o.a.oneOf([J,ee,te]),itemPadding:o.a.array,outerSpacing:o.a.number,enableSwipe:o.a.bool,enableMouseSwipe:o.a.bool,preventDefaultTouchmoveEvent:o.a.bool,enableAutoPlay:o.a.bool,autoPlaySpeed:o.a.number,onChange:o.a.func,onNextStart:o.a.func,onPrevStart:o.a.func,onNextEnd:o.a.func,onPrevEnd:o.a.func,onResize:o.a.func};t.a=Me},function(e,t,n){"use strict";var r=n(35),i=function(){try{var e=Object(r.a)(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();t.a=function(e,t,n){"__proto__"==t&&i?i(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r),t.apply(this,r)}}),(function(){}))}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(35),i=n(23),o=Object(r.a)(i.a,"Map");t.a=o},function(e,t,n){"use strict";var r=n(66);var i=function(){this.__data__=new r.a,this.size=0};var o=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var a=function(e){return this.__data__.get(e)};var u=function(e){return this.__data__.has(e)},s=n(73),c=n(82);var l=function(e,t){var n=this.__data__;if(n instanceof r.a){var i=n.__data__;if(!s.a||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new c.a(i)}return n.set(e,t),this.size=n.size,this};function f(e){var t=this.__data__=new r.a(e);this.size=t.size}f.prototype.clear=i,f.prototype.delete=o,f.prototype.get=a,f.prototype.has=u,f.prototype.set=l;t.a=f},,function(e,t,n){"use strict";function r(e){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(292);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Object(r.a)(e,t)}},function(e,t,n){"use strict";t.a={black:"#000",white:"#fff"}},function(e,t,n){"use strict";(function(e){var r=n(23),i=n(300),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,u=a&&a.exports===o?r.a.Buffer:void 0,s=(u?u.isBuffer:void 0)||i.a;t.a=s}).call(this,n(178)(e))},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(0),i=r.createContext();function o(){return r.useContext(i)}t.a=i},function(e,t,n){"use strict";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function o(e){return e.startAdornment}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";var r=n(35),i=Object(r.a)(Object,"create");var o=function(){this.__data__=i?i(null):{},this.size=0};var a=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},u=Object.prototype.hasOwnProperty;var s=function(e){var t=this.__data__;if(i){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return u.call(t,e)?t[e]:void 0},c=Object.prototype.hasOwnProperty;var l=function(e){var t=this.__data__;return i?void 0!==t[e]:c.call(t,e)};var f=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=i&&void 0===t?"__lodash_hash_undefined__":t,this};function d(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}d.prototype.clear=o,d.prototype.delete=a,d.prototype.get=s,d.prototype.has=l,d.prototype.set=f;var p=d,h=n(66),m=n(73);var v=function(){this.size=0,this.__data__={hash:new p,map:new(m.a||h.a),string:new p}};var b=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var y=function(e,t){var n=e.__data__;return b(t)?n["string"==typeof t?"string":"hash"]:n.map};var g=function(e){var t=y(this,e).delete(e);return this.size-=t?1:0,t};var w=function(e){return y(this,e).get(e)};var O=function(e){return y(this,e).has(e)};var x=function(e,t){var n=y(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function S(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}S.prototype.clear=v,S.prototype.delete=g,S.prototype.get=w,S.prototype.has=O,S.prototype.set=x;t.a=S},function(e,t,n){"use strict";function r(e,t){return e===t}function i(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,i=0;i<r;i++)if(!e(t[i],n[i]))return!1;return!0}function o(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"===typeof e}))){var n=t.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}n.d(t,"a",(function(){return Re})),n.d(t,"b",(function(){return De})),n.d(t,"c",(function(){return Pe}));!function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r]}((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=null,o=null;return function(){return i(t,n,arguments)||(o=e.apply(null,arguments)),n=arguments,o}}));function a(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function u(e){return!!e&&!!e[X]}function s(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===Q}(e)||Array.isArray(e)||!!e[K]||!!e.constructor[K]||m(e)||v(e))}function c(e,t,n){void 0===n&&(n=!1),0===l(e)?(n?Object.keys:Z)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function l(e){var t=e[X];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:m(e)?2:v(e)?3:0}function f(e,t){return 2===l(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){return 2===l(e)?e.get(t):e[t]}function p(e,t,n){var r=l(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function h(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function m(e){return Y&&e instanceof Map}function v(e){return $&&e instanceof Set}function b(e){return e.o||e.t}function y(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=J(e);delete t[X];for(var n=Z(t),r=0;r<n.length;r++){var i=n[r],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function g(e,t){return void 0===t&&(t=!1),O(e)||u(e)||!s(e)||(l(e)>1&&(e.set=e.add=e.clear=e.delete=w),Object.freeze(e),t&&c(e,(function(e,t){return g(t,!0)}),!0)),e}function w(){a(2)}function O(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function x(e){var t=ee[e];return t||a(18,e),t}function S(e,t){ee[e]||(ee[e]=t)}function k(){return V}function E(e,t){t&&(x("Patches"),e.u=[],e.s=[],e.v=t)}function j(e){_(e),e.p.forEach(C),e.p=null}function _(e){e===V&&(V=e.l)}function T(e){return V={p:[],l:V,h:e,m:!0,_:0}}function C(e){var t=e[X];0===t.i||1===t.i?t.j():t.O=!0}function P(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.g||x("ES5").S(t,e,r),r?(n[X].P&&(j(t),a(4)),s(e)&&(e=R(t,e),t.l||M(t,e)),t.u&&x("Patches").M(n[X],e,t.u,t.s)):e=R(t,n,[]),j(t),t.u&&t.v(t.u,t.s),e!==G?e:void 0}function R(e,t,n){if(O(t))return t;var r=t[X];if(!r)return c(t,(function(i,o){return A(e,r,t,i,o,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return M(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=y(r.k):r.o;c(3===r.i?new Set(i):i,(function(t,o){return A(e,r,i,t,o,n)})),M(e,i,!1),n&&e.u&&x("Patches").R(r,n,e.u,e.s)}return r.o}function A(e,t,n,r,i,o){if(u(i)){var a=R(e,i,o&&t&&3!==t.i&&!f(t.D,r)?o.concat(r):void 0);if(p(n,r,a),!u(a))return;e.m=!1}if(s(i)&&!O(i)){if(!e.h.F&&e._<1)return;R(e,i),t&&t.A.l||M(e,i)}}function M(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&g(t,n)}function D(e,t){var n=e[X];return(n?b(n):e)[t]}function N(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function F(e){e.P||(e.P=!0,e.l&&F(e.l))}function I(e){e.o||(e.o=y(e.t))}function L(e,t,n){var r=m(t)?x("MapSet").N(t,n):v(t)?x("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:k(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=r,o=te;n&&(i=[r],o=ne);var a=Proxy.revocable(i,o),u=a.revoke,s=a.proxy;return r.k=s,r.j=u,s}(t,n):x("ES5").J(t,n);return(n?n.A:k()).p.push(r),r}function z(e){return u(e)||a(22,e),function e(t){if(!s(t))return t;var n,r=t[X],i=l(t);if(r){if(!r.P&&(r.i<4||!x("ES5").K(r)))return r.t;r.I=!0,n=W(t,i),r.I=!1}else n=W(t,i);return c(n,(function(t,i){r&&d(r.t,t)===i||p(n,t,e(i))})),3===i?new Set(n):n}(e)}function W(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return y(e)}function U(){function e(e,t){var n=i[e];return n?n.enumerable=t:i[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[X];return te.get(t,e)},set:function(t){var n=this[X];te.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var i=e[t][X];if(!i.P)switch(i.i){case 5:r(i)&&F(i);break;case 4:n(i)&&F(i)}}}function n(e){for(var t=e.t,n=e.k,r=Z(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==X){var a=t[o];if(void 0===a&&!f(t,o))return!0;var u=n[o],s=u&&u[X];if(s?s.t!==a:!h(u,a))return!0}}var c=!!t[X];return r.length!==Z(t).length+(c?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);return!(!n||n.get)}var i={};S("ES5",{J:function(t,n){var r=Array.isArray(t),i=function(t,n){if(t){for(var r=Array(n.length),i=0;i<n.length;i++)Object.defineProperty(r,""+i,e(i,!0));return r}var o=J(n);delete o[X];for(var a=Z(o),u=0;u<a.length;u++){var s=a[u];o[s]=e(s,t||!!o[s].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(r,t),o={i:r?5:4,A:n?n.A:k(),P:!1,I:!1,D:{},l:n,t:t,k:i,o:null,O:!1,C:!1};return Object.defineProperty(i,X,{value:o,writable:!0}),i},S:function(e,n,i){i?u(n)&&n[X].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[X];if(n){var i=n.t,o=n.k,a=n.D,u=n.i;if(4===u)c(o,(function(t){t!==X&&(void 0!==i[t]||f(i,t)?a[t]||e(o[t]):(a[t]=!0,F(n)))})),c(i,(function(e){void 0!==o[e]||f(o,e)||(a[e]=!1,F(n))}));else if(5===u){if(r(n)&&(F(n),a.length=!0),o.length<i.length)for(var s=o.length;s<i.length;s++)a[s]=!1;else for(var l=i.length;l<o.length;l++)a[l]=!0;for(var d=Math.min(o.length,i.length),p=0;p<d;p++)void 0===a[p]&&e(o[p])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}var B,V,H="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Y="undefined"!=typeof Map,$="undefined"!=typeof Set,q="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,G=H?Symbol.for("immer-nothing"):((B={})["immer-nothing"]=!0,B),K=H?Symbol.for("immer-draftable"):"__$immer_draftable",X=H?Symbol.for("immer-state"):"__$immer_state",Q=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Z="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,J=Object.getOwnPropertyDescriptors||function(e){var t={};return Z(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},ee={},te={get:function(e,t){if(t===X)return e;var n=b(e);if(!f(n,t))return function(e,t,n){var r,i=N(t,n);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!s(r)?r:r===D(e.t,t)?(I(e),e.o[t]=L(e.A.h,r,e)):r},has:function(e,t){return t in b(e)},ownKeys:function(e){return Reflect.ownKeys(b(e))},set:function(e,t,n){var r=N(b(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=D(b(e),t),o=null==i?void 0:i[X];if(o&&o.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(h(n,i)&&(void 0!==n||f(e.t,t)))return!0;I(e),F(e)}return e.o[t]===n&&"number"!=typeof n&&(void 0!==n||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==D(e.t,t)||t in e.t?(e.D[t]=!1,I(e),F(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=b(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){a(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){a(12)}},ne={};c(te,(function(e,t){ne[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),ne.deleteProperty=function(e,t){return te.deleteProperty.call(this,e[0],t)},ne.set=function(e,t,n){return te.set.call(this,e[0],t,n,e[0])};var re=new(function(){function e(e){var t=this;this.g=q,this.F=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var i=n;n=e;var o=t;return function(e){var t=this;void 0===e&&(e=i);for(var r=arguments.length,a=Array(r>1?r-1:0),u=1;u<r;u++)a[u-1]=arguments[u];return o.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(a))}))}}var u;if("function"!=typeof n&&a(6),void 0!==r&&"function"!=typeof r&&a(7),s(e)){var c=T(t),l=L(t,e,void 0),f=!0;try{u=n(l),f=!1}finally{f?j(c):_(c)}return"undefined"!=typeof Promise&&u instanceof Promise?u.then((function(e){return E(c,r),P(e,c)}),(function(e){throw j(c),e})):(E(c,r),P(u,c))}if(!e||"object"!=typeof e){if((u=n(e))===G)return;return void 0===u&&(u=e),t.F&&g(u,!0),u}a(21,e)},this.produceWithPatches=function(e,n){return"function"==typeof e?function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(i))}))}:[t.produce(e,n,(function(e,t){r=e,i=t})),r,i];var r,i},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){s(e)||a(8),u(e)&&(e=z(e));var t=T(this),n=L(this,e,void 0);return n[X].C=!0,_(t),n},t.finishDraft=function(e,t){var n=(e&&e[X]).A;return E(n,t),P(void 0,n)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!q&&a(20),this.g=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}var i=x("Patches").$;return u(e)?i(e,t):this.produce(e,(function(e){return i(e,t.slice(n+1))}))},e}()),ie=re.produce,oe=(re.produceWithPatches.bind(re),re.setAutoFreeze.bind(re),re.setUseProxies.bind(re),re.applyPatches.bind(re),re.createDraft.bind(re),re.finishDraft.bind(re),ie),ae=n(10);function ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(n),!0).forEach((function(t){Object(ae.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ce(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var le="function"===typeof Symbol&&Symbol.observable||"@@observable",fe=function(){return Math.random().toString(36).substring(7).split("").join(".")},de={INIT:"@@redux/INIT"+fe(),REPLACE:"@@redux/REPLACE"+fe(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+fe()}};function pe(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function he(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(ce(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(ce(1));return n(he)(e,t)}if("function"!==typeof e)throw new Error(ce(2));var i=e,o=t,a=[],u=a,s=!1;function c(){u===a&&(u=a.slice())}function l(){if(s)throw new Error(ce(3));return o}function f(e){if("function"!==typeof e)throw new Error(ce(4));if(s)throw new Error(ce(5));var t=!0;return c(),u.push(e),function(){if(t){if(s)throw new Error(ce(6));t=!1,c();var n=u.indexOf(e);u.splice(n,1),a=null}}}function d(e){if(!pe(e))throw new Error(ce(7));if("undefined"===typeof e.type)throw new Error(ce(8));if(s)throw new Error(ce(9));try{s=!0,o=i(o,e)}finally{s=!1}for(var t=a=u,n=0;n<t.length;n++){(0,t[n])()}return e}function p(e){if("function"!==typeof e)throw new Error(ce(10));i=e,d({type:de.REPLACE})}function h(){var e,t=f;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(ce(11));function n(){e.next&&e.next(l())}return n(),{unsubscribe:t(n)}}})[le]=function(){return this},e}return d({type:de.INIT}),(r={dispatch:d,subscribe:f,getState:l,replaceReducer:p})[le]=h,r}function me(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"===typeof e[i]&&(n[i]=e[i])}var o,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:de.INIT}))throw new Error(ce(12));if("undefined"===typeof n(void 0,{type:de.PROBE_UNKNOWN_ACTION()}))throw new Error(ce(13))}))}(n)}catch(u){o=u}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,i={},u=0;u<a.length;u++){var s=a[u],c=n[s],l=e[s],f=c(l,t);if("undefined"===typeof f){t&&t.type;throw new Error(ce(14))}i[s]=f,r=r||f!==l}return(r=r||a.length!==Object.keys(e).length)?i:e}}function ve(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function be(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(ce(15))},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return r=ve.apply(void 0,o)(n.dispatch),se(se({},n),{},{dispatch:r})}}}var ye=n(119),ge=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),we=function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},Oe=Object.defineProperty,xe=Object.prototype.hasOwnProperty,Se=Object.getOwnPropertySymbols,ke=Object.prototype.propertyIsEnumerable,Ee=function(e,t,n){return t in e?Oe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},je=function(e,t){for(var n in t||(t={}))xe.call(t,n)&&Ee(e,n,t[n]);if(Se)for(var r=0,i=Se(t);r<i.length;r++){n=i[r];ke.call(t,n)&&Ee(e,n,t[n])}return e},_e="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?ve:ve.apply(null,arguments)};"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function Te(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}var Ce=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return ge(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,we([void 0],e[0].concat(this)))):new(t.bind.apply(t,we([void 0],e.concat(this))))},t}(Array);function Pe(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=(e.immutableCheck,e.serializableCheck,new Ce);return n&&(!function(e){return"boolean"===typeof e}(n)?r.push(ye.a.withExtraArgument(n.extraArgument)):r.push(ye.a)),r}function Re(e){var t,n=function(e){return Pe(e)},r=e||{},i=r.reducer,o=void 0===i?void 0:i,a=r.middleware,u=void 0===a?n():a,s=r.devTools,c=void 0===s||s,l=r.preloadedState,f=void 0===l?void 0:l,d=r.enhancers,p=void 0===d?void 0:d;if("function"===typeof o)t=o;else{if(!Te(o))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=me(o)}var h=u;"function"===typeof h&&(h=h(n));var m=be.apply(void 0,h),v=ve;c&&(v=_e(je({trace:!1},"object"===typeof c&&c)));var b=[m];return Array.isArray(p)?b=we([m],p):"function"===typeof p&&(b=p(b)),he(t,f,v.apply(void 0,b))}function Ae(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return je(je({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}function Me(e){var t,n={},r=[],i={addCase:function(e,t){var r="string"===typeof e?e:e.type;if(r in n)throw new Error("addCase cannot be called with two reducers for the same action type");return n[r]=t,i},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),i},addDefaultCase:function(e){return t=e,i}};return e(i),[n,r,t]}function De(e){var t=e.name,n=e.initialState;if(!t)throw new Error("`name` is a required option for createSlice");var r=e.reducers||{},i="function"===typeof e.extraReducers?Me(e.extraReducers):[e.extraReducers],o=i[0],a=void 0===o?{}:o,c=i[1],l=void 0===c?[]:c,f=i[2],d=void 0===f?void 0:f,p=Object.keys(r),h={},m={},v={};p.forEach((function(e){var n,i,o=r[e],a=t+"/"+e;"reducer"in o?(n=o.reducer,i=o.prepare):n=o,h[e]=n,m[a]=n,v[e]=i?Ae(a,i):Ae(a)}));var b=function(e,t,n,r){void 0===n&&(n=[]),U();var i="function"===typeof t?Me(t):[t,n,r],o=i[0],a=i[1],c=i[2],l=oe(e,(function(){}));return function(e,t){void 0===e&&(e=l);var n=we([o[t.type]],a.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===n.filter((function(e){return!!e})).length&&(n=[c]),n.reduce((function(e,n){if(n){var r;if(u(e))return"undefined"===typeof(r=n(e,t))?e:r;if(s(e))return oe(e,(function(e){return n(e,t)}));if("undefined"===typeof(r=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return e}),e)}}(n,je(je({},a),m),l,d);return{name:t,reducer:b,actions:v,caseReducers:h}}},function(e,t,n){"use strict";n.r(t);var r=n(105);n.d(t,"default",(function(){return r.a}))},function(e,t,n){"use strict";t.a={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"}},function(e,t,n){"use strict";t.a={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"}},function(e,t,n){"use strict";t.a={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"}},function(e,t,n){"use strict";t.a={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"}},function(e,t,n){"use strict";t.a={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"}},function(e,t,n){"use strict";t.a={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"}},function(e,t,n){"use strict";t.a={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"}},function(e,t,n){"use strict";function r(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=this,u=function(){e.apply(a,i)};clearTimeout(t),t=setTimeout(u,n)}return r.clear=function(){clearTimeout(t)},r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";t.a=function(e,t){return e===t||e!==e&&t!==t}},function(e,t,n){"use strict";t.a=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},function(e,t,n){"use strict";t.a=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){"use strict";function r(e){return Array.prototype.slice.apply(e)}var i="pending",o="resolved",a="rejected";function u(e){this.status=i,this._continuations=[],this._parent=null,this._paused=!1,e&&e.call(this,this._continueWith.bind(this),this._failWith.bind(this))}function s(e){return e&&"function"===typeof e.then}function c(e){return e}if(u.prototype={then:function(e,t){var n=u.unresolved()._setParent(this);if(this._isRejected()){if(this._paused)return this._continuations.push({promise:n,nextFn:e,catchFn:t}),n;if(t)try{var r=t(this._error);return s(r)?(this._chainPromiseData(r,n),n):u.resolve(r)._setParent(this)}catch(i){return u.reject(i)._setParent(this)}return u.reject(this._error)._setParent(this)}return this._continuations.push({promise:n,nextFn:e,catchFn:t}),this._runResolutions(),n},catch:function(e){if(this._isResolved())return u.resolve(this._data)._setParent(this);var t=u.unresolved()._setParent(this);return this._continuations.push({promise:t,catchFn:e}),this._runRejections(),t},finally:function(e){var t=!1;function n(n,r){if(!t){t=!0,e||(e=c);var i=e(n);return s(i)?i.then((function(){if(r)throw r;return n})):n}}return this.then((function(e){return n(e)})).catch((function(e){return n(null,e)}))},pause:function(){return this._paused=!0,this},resume:function(){var e=this._findFirstPaused();return e&&(e._paused=!1,e._runResolutions(),e._runRejections()),this},_findAncestry:function(){return this._continuations.reduce((function(e,t){if(t.promise){var n={promise:t.promise,children:t.promise._findAncestry()};e.push(n)}return e}),[])},_setParent:function(e){if(this._parent)throw new Error("parent already set");return this._parent=e,this},_continueWith:function(e){var t=this._findFirstPending();t&&(t._data=e,t._setResolved())},_findFirstPending:function(){return this._findFirstAncestor((function(e){return e._isPending&&e._isPending()}))},_findFirstPaused:function(){return this._findFirstAncestor((function(e){return e._paused}))},_findFirstAncestor:function(e){for(var t,n=this;n;)e(n)&&(t=n),n=n._parent;return t},_failWith:function(e){var t=this._findFirstPending();t&&(t._error=e,t._setRejected())},_takeContinuations:function(){return this._continuations.splice(0,this._continuations.length)},_runRejections:function(){if(!this._paused&&this._isRejected()){var e=this._error,t=this._takeContinuations(),n=this;t.forEach((function(t){if(t.catchFn)try{var r=t.catchFn(e);n._handleUserFunctionResult(r,t.promise)}catch(i){t.promise.reject(i)}else t.promise.reject(e)}))}},_runResolutions:function(){if(!this._paused&&this._isResolved()&&!this._isPending()){var e=this._takeContinuations();if(s(this._data))return this._handleWhenResolvedDataIsPromise(this._data);var t=this._data,n=this;e.forEach((function(e){if(e.nextFn)try{var r=e.nextFn(t);n._handleUserFunctionResult(r,e.promise)}catch(i){n._handleResolutionError(i,e)}else e.promise&&e.promise.resolve(t)}))}},_handleResolutionError:function(e,t){if(this._setRejected(),t.catchFn)try{return void t.catchFn(e)}catch(n){e=n}t.promise&&t.promise.reject(e)},_handleWhenResolvedDataIsPromise:function(e){var t=this;return e.then((function(e){t._data=e,t._runResolutions()})).catch((function(e){t._error=e,t._setRejected(),t._runRejections()}))},_handleUserFunctionResult:function(e,t){s(e)?this._chainPromiseData(e,t):t.resolve(e)},_chainPromiseData:function(e,t){e.then((function(e){t.resolve(e)})).catch((function(e){t.reject(e)}))},_setResolved:function(){this.status=o,this._paused||this._runResolutions()},_setRejected:function(){this.status=a,this._paused||this._runRejections()},_isPending:function(){return this.status===i},_isResolved:function(){return this.status===o},_isRejected:function(){return this.status===a}},u.resolve=function(e){return new u((function(t,n){s(e)?e.then((function(e){t(e)})).catch((function(e){n(e)})):t(e)}))},u.reject=function(e){return new u((function(t,n){n(e)}))},u.unresolved=function(){return new u((function(e,t){this.resolve=e,this.reject=t}))},u.all=function(){var e=r(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new u((function(t,n){var r=[],i=0,o=!1;e.forEach((function(a,s){u.resolve(a).then((function(n){r[s]=n,(i+=1)===e.length&&t(r)})).catch((function(e){!function(e){o||(o=!0,n(e))}(e)}))}))})):u.resolve([])},Promise===u)throw new Error("Please use SynchronousPromise.installGlobally() to install globally");var l=Promise;u.installGlobally=function(e){if(Promise===u)return e;var t=function(e){if("undefined"===typeof e||e.__patched)return e;var t=e;return(e=function(){t.apply(this,r(arguments))}).__patched=!0,e}(e);return Promise=u,t},u.uninstallGlobally=function(){Promise===u&&(Promise=l)},e.exports={SynchronousPromise:u}},function(e,t,n){"use strict";t.a=function(e){return function(t){return e(t)}}},function(e,t,n){"use strict";var r=n(143),i=n(95);t.a=function(e){return null!=e&&Object(i.a)(e.length)&&!Object(r.a)(e)}},function(e,t,n){"use strict";var r=Object.prototype;t.a=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t,n){"use strict";t.a=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},function(e,t,n){"use strict";var r=n(147),i=Object(r.a)(Object.getPrototypeOf,Object);t.a=i},function(e,t,n){"use strict";var r=n(74);var i=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},o=n(69),a=n(93),u=Object.prototype.hasOwnProperty;var s=function(e,t,n){var r=e[t];u.call(e,t)&&Object(a.a)(r,n)&&(void 0!==n||t in e)||Object(o.a)(e,t,n)};var c=function(e,t,n,r){var i=!n;n||(n={});for(var a=-1,u=t.length;++a<u;){var c=t[a],l=r?r(n[c],e[c],c,n,e):void 0;void 0===l&&(l=e[c]),i?Object(o.a)(n,c,l):s(n,c,l)}return n},l=n(43);var f=function(e,t){return e&&c(t,Object(l.a)(t),e)},d=n(156),p=n(41),h=n(99);var m=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},v=Object.prototype.hasOwnProperty;var b=function(e){if(!Object(p.a)(e))return m(e);var t=Object(h.a)(e),n=[];for(var r in e)("constructor"!=r||!t&&v.call(e,r))&&n.push(r);return n},y=n(98);var g=function(e){return Object(y.a)(e)?Object(d.a)(e,!0):b(e)};var w=function(e,t){return e&&c(t,g(t),e)},O=n(301),x=n(100),S=n(103);var k=function(e,t){return c(e,Object(S.a)(e),t)},E=n(146),j=n(101),_=n(148),T=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Object(E.a)(t,Object(S.a)(e)),e=Object(j.a)(e);return t}:_.a;var C=function(e,t){return c(e,T(e),t)},P=n(120),R=n(145);var A=function(e){return Object(R.a)(e,g,T)},M=n(46),D=Object.prototype.hasOwnProperty;var N=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&D.call(e,"index")&&(n.index=e.index,n.input=e.input),n},F=n(108);var I=function(e){var t=new e.constructor(e.byteLength);return new F.a(t).set(new F.a(e)),t};var L=function(e,t){var n=t?I(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},z=/\w*$/;var W=function(e){var t=new e.constructor(e.source,z.exec(e));return t.lastIndex=e.lastIndex,t},U=n(29),B=U.a?U.a.prototype:void 0,V=B?B.valueOf:void 0;var H=function(e){return V?Object(V.call(e)):{}};var Y=function(e,t){var n=t?I(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var $=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return I(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return L(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return Y(e,n);case"[object Map]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return W(e);case"[object Set]":return new r;case"[object Symbol]":return H(e)}},q=Object.create,G=function(){function e(){}return function(t){if(!Object(p.a)(t))return{};if(q)return q(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var K=function(e){return"function"!=typeof e.constructor||Object(h.a)(e)?{}:G(Object(j.a)(e))},X=n(21),Q=n(79),Z=n(26);var J=function(e){return Object(Z.a)(e)&&"[object Map]"==Object(M.a)(e)},ee=n(97),te=n(55),ne=te.a&&te.a.isMap,re=ne?Object(ee.a)(ne):J;var ie=function(e){return Object(Z.a)(e)&&"[object Set]"==Object(M.a)(e)},oe=te.a&&te.a.isSet,ae=oe?Object(ee.a)(oe):ie,ue="[object Arguments]",se="[object Function]",ce="[object Object]",le={};le[ue]=le["[object Array]"]=le["[object ArrayBuffer]"]=le["[object DataView]"]=le["[object Boolean]"]=le["[object Date]"]=le["[object Float32Array]"]=le["[object Float64Array]"]=le["[object Int8Array]"]=le["[object Int16Array]"]=le["[object Int32Array]"]=le["[object Map]"]=le["[object Number]"]=le[ce]=le["[object RegExp]"]=le["[object Set]"]=le["[object String]"]=le["[object Symbol]"]=le["[object Uint8Array]"]=le["[object Uint8ClampedArray]"]=le["[object Uint16Array]"]=le["[object Uint32Array]"]=!0,le["[object Error]"]=le[se]=le["[object WeakMap]"]=!1;t.a=function e(t,n,o,a,u,c){var d,h=1&n,m=2&n,v=4&n;if(o&&(d=u?o(t,a,u,c):o(t)),void 0!==d)return d;if(!Object(p.a)(t))return t;var b=Object(X.a)(t);if(b){if(d=N(t),!h)return Object(x.a)(t,d)}else{var y=Object(M.a)(t),g=y==se||"[object GeneratorFunction]"==y;if(Object(Q.a)(t))return Object(O.a)(t,h);if(y==ce||y==ue||g&&!u){if(d=m||g?{}:K(t),!h)return m?C(t,w(d,t)):k(t,f(d,t))}else{if(!le[y])return u?t:{};d=$(t,y,h)}}c||(c=new r.a);var S=c.get(t);if(S)return S;c.set(t,d),ae(t)?t.forEach((function(r){d.add(e(r,n,o,r,t,c))})):re(t)&&t.forEach((function(r,i){d.set(i,e(r,n,o,i,t,c))}));var E=v?m?A:P.a:m?keysIn:l.a,j=b?void 0:E(t);return i(j||t,(function(r,i){j&&(r=t[i=r]),s(d,i,e(r,n,o,i,t,c))})),d}},function(e,t,n){"use strict";var r=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o},i=n(148),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,u=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return o.call(e,t)})))}:i.a;t.a=u},function(e,t,n){"use strict";var r=n(0),i=n.n(r);t.a=i.a.createContext(null)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(6),s=n(7),c=o.forwardRef((function(e,t){var n=e.children,u=e.classes,c=e.className,l=e.color,f=void 0===l?"inherit":l,d=e.component,p=void 0===d?"svg":d,h=e.fontSize,m=void 0===h?"medium":h,v=e.htmlColor,b=e.titleAccess,y=e.viewBox,g=void 0===y?"0 0 24 24":y,w=Object(i.a)(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return o.createElement(p,Object(r.a)({className:Object(a.a)(u.root,c,"inherit"!==f&&u["color".concat(Object(s.a)(f))],"default"!==m&&"medium"!==m&&u["fontSize".concat(Object(s.a)(m))]),focusable:"false",viewBox:g,color:v,"aria-hidden":!b||void 0,role:b?"img":void 0,ref:t},w),n,b?o.createElement("title",null,b):null)}));c.muiName="SvgIcon",t.a=Object(u.a)((function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(c)},function(e,t,n){"use strict";var r=n(0),i=r.createContext({});t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0);function i(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},function(e,t,n){"use strict";var r=n(23).a.Uint8Array;t.a=r},,,,,,,function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"===typeof i?i(n,r,e):t(i)}}}}var i=r();i.withExtraArgument=r,t.a=i},function(e,t,n){"use strict";var r=n(145),i=n(103),o=n(43);t.a=function(e){return Object(r.a)(e,o.a,i.a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(118);var i=n(137);function o(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Object(i.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";var r=n(4),i=n(2),o=n(0),a=(n(3),n(5)),u=n(6),s=o.forwardRef((function(e,t){var n=e.classes,u=e.className,s=e.component,c=void 0===s?"div":s,l=e.square,f=void 0!==l&&l,d=e.elevation,p=void 0===d?1:d,h=e.variant,m=void 0===h?"elevation":h,v=Object(r.a)(e,["classes","className","component","square","elevation","variant"]);return o.createElement(c,Object(i.a)({className:Object(a.a)(n.root,u,"outlined"===m?n.outlined:n["elevation".concat(p)],!f&&n.rounded),ref:t},v))}));t.a=Object(u.a)((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),Object(i.a)({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"MuiPaper"})(s)},,,,,,,,function(e,t,n){"use strict";var r=n(115);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=o.default.memo(o.default.forwardRef((function(t,n){return o.default.createElement(a.default,(0,i.default)({ref:n},t),e)})));0;return n.muiName=a.default.muiName,n};var i=r(n(350)),o=r(n(0)),a=r(n(84))},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,t){for(var n,u,s=a(e),c=1;c<arguments.length;c++){for(var l in n=Object(arguments[c]))i.call(n,l)&&(s[l]=n[l]);if(r){u=r(n);for(var f=0;f<u.length;f++)o.call(n,u[f])&&(s[u[f]]=n[u[f]])}}return s}},function(e,t,n){"use strict";var r=n(0),i=n.n(r).a.createContext(null);t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(117);function i(e,t){if(e){if("string"===typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";var r="function"===typeof Symbol&&Symbol.for;t.a=r?Symbol.for("mui.nested"):"__THEME_NESTED__"},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n(50),n(2);var r=n(76),i=(n(3),n(54),{xs:0,sm:600,md:960,lg:1280,xl:1920}),o={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(i[e],"px)")}};function a(e,t,n){if(Array.isArray(t)){var i=e.theme.breakpoints||o;return t.reduce((function(e,r,o){return e[i.up(i.keys[o])]=n(t[o]),e}),{})}if("object"===Object(r.a)(t)){var a=e.theme.breakpoints||o;return Object.keys(t).reduce((function(e,r){return e[a.up(r)]=n(t[r]),e}),{})}return n(t)}},function(e,t,n){"use strict";t.a={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(118);function i(e,t){if(e){if("string"===typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(0),i=n(17),o=!0,a=!1,u=null,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(e){e.metaKey||e.altKey||e.ctrlKey||(o=!0)}function l(){o=!1}function f(){"hidden"===this.visibilityState&&a&&(o=!0)}function d(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return o||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!s[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function p(){a=!0,window.clearTimeout(u),u=window.setTimeout((function(){a=!1}),100)}function h(){return{isFocusVisible:d,onBlurVisible:p,ref:r.useCallback((function(e){var t,n=i.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",c,!0),t.addEventListener("mousedown",l,!0),t.addEventListener("pointerdown",l,!0),t.addEventListener("touchstart",l,!0),t.addEventListener("visibilitychange",f,!0))}),[])}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(25);function i(e){return Object(r.a)(e).defaultView||window}},function(e,t,n){"use strict";function r(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(115);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(0)),o=(0,r(n(130)).default)(i.default.createElement("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu");t.default=o},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(177))},function(e,t,n){"use strict";var r=n(32),i=n(41);t.a=function(e){if(!Object(i.a)(e))return!1;var t=Object(r.a)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){"use strict";var r=/^(?:0|[1-9]\d*)$/;t.a=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){"use strict";var r=n(146),i=n(21);t.a=function(e,t,n){var o=t(e);return Object(i.a)(e)?o:Object(r.a)(o,n(e))}},function(e,t,n){"use strict";t.a=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},function(e,t,n){"use strict";t.a=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){"use strict";t.a=function(){return[]}},function(e,t,n){"use strict";var r=n(0),i=n(48);t.a=Object(i.a)(r.createElement("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(7),s=o.forwardRef((function(e,t){var n=e.classes,s=e.className,c=e.disabled,l=e.IconComponent,f=e.inputRef,d=e.variant,p=void 0===d?"standard":d,h=Object(i.a)(e,["classes","className","disabled","IconComponent","inputRef","variant"]);return o.createElement(o.Fragment,null,o.createElement("select",Object(r.a)({className:Object(a.a)(n.root,n.select,n[p],s,c&&n.disabled),disabled:c,ref:f||t},h)),e.multiple?null:o.createElement(l,{className:Object(a.a)(n.icon,n["icon".concat(Object(u.a)(p))],c&&n.disabled)}))}));t.a=s},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0);function i(e){var t=e.controlled,n=e.default,i=(e.name,e.state,r.useRef(void 0!==t).current),o=r.useState(n),a=o[0],u=o[1];return[i?t:a,r.useCallback((function(e){i||u(e)}),[])]}},function(e,t,n){"use strict";var r=n(2),i=n(51),o=n(4),a=n(0),u=(n(3),n(5)),s=n(151),c=n(39),l=n(6),f=n(357),d=a.forwardRef((function(e,t){var n=e.autoFocus,l=e.checked,d=e.checkedIcon,p=e.classes,h=e.className,m=e.defaultChecked,v=e.disabled,b=e.icon,y=e.id,g=e.inputProps,w=e.inputRef,O=e.name,x=e.onBlur,S=e.onChange,k=e.onFocus,E=e.readOnly,j=e.required,_=e.tabIndex,T=e.type,C=e.value,P=Object(o.a)(e,["autoFocus","checked","checkedIcon","classes","className","defaultChecked","disabled","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]),R=Object(s.a)({controlled:l,default:Boolean(m),name:"SwitchBase",state:"checked"}),A=Object(i.a)(R,2),M=A[0],D=A[1],N=Object(c.a)(),F=v;N&&"undefined"===typeof F&&(F=N.disabled);var I="checkbox"===T||"radio"===T;return a.createElement(f.a,Object(r.a)({component:"span",className:Object(u.a)(p.root,h,M&&p.checked,F&&p.disabled),disabled:F,tabIndex:null,role:void 0,onFocus:function(e){k&&k(e),N&&N.onFocus&&N.onFocus(e)},onBlur:function(e){x&&x(e),N&&N.onBlur&&N.onBlur(e)},ref:t},P),a.createElement("input",Object(r.a)({autoFocus:n,checked:l,defaultChecked:m,className:p.input,disabled:F,id:I&&y,name:O,onChange:function(e){var t=e.target.checked;D(t),S&&S(e,t)},readOnly:E,ref:w,required:j,tabIndex:_,type:T,value:C},g)),M?d:b)}));t.a=Object(l.a)({root:{padding:9},checked:{},disabled:{},input:{cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}},{name:"PrivateSwitchBase"})(d)},function(e,t,n){"use strict";var r=n(0),i=r.createContext();t.a=i},function(e,t,n){"use strict";var r=n(82);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r.a),n}i.Cache=r.a;var o=i;var a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,s=function(e){var t=o(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,(function(e,n,r,i){t.push(r?i.replace(u,"$1"):n||e)})),t}));t.a=s},function(e,t,n){"use strict";var r=n(32),i=n(26);var o=function(e){return Object(i.a)(e)&&"[object Arguments]"==Object(r.a)(e)},a=Object.prototype,u=a.hasOwnProperty,s=a.propertyIsEnumerable,c=o(function(){return arguments}())?o:function(e){return Object(i.a)(e)&&u.call(e,"callee")&&!s.call(e,"callee")};t.a=c},function(e,t,n){"use strict";var r=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},i=n(155),o=n(21),a=n(79),u=n(144),s=n(157),c=Object.prototype.hasOwnProperty;t.a=function(e,t){var n=Object(o.a)(e),l=!n&&Object(i.a)(e),f=!n&&!l&&Object(a.a)(e),d=!n&&!l&&!f&&Object(s.a)(e),p=n||l||f||d,h=p?r(e.length,String):[],m=h.length;for(var v in e)!t&&!c.call(e,v)||p&&("length"==v||f&&("offset"==v||"parent"==v)||d&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||Object(u.a)(v,m))||h.push(v);return h}},function(e,t,n){"use strict";var r=n(32),i=n(95),o=n(26),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var u=function(e){return Object(o.a)(e)&&Object(i.a)(e.length)&&!!a[Object(r.a)(e)]},s=n(97),c=n(55),l=c.a&&c.a.isTypedArray,f=l?Object(s.a)(l):u;t.a=f},,,,,,,,,,,,,,,,,,,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";e.exports=n(351)},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function i(e){t=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(u(e,t))return!1;return!0}function c(e){return void 0===e}function l(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function f(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function p(e,t){for(var n in t)u(t,n)&&(e[n]=t[n]);return u(t,"toString")&&(e.toString=t.toString),u(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return qn(e,t,n,r,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function v(e){return null==e._pf&&(e._pf=m()),e._pf}function b(e){if(null==e._isValid){var t=v(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function y(e){var t=h(NaN);return null!=e?p(v(t),e):v(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var g=r.momentProperties=[],w=!1;function O(e,t){var n,r,i;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=v(t)),c(t._locale)||(e._locale=t._locale),g.length>0)for(n=0;n<g.length;n++)c(i=t[r=g[n]])||(e[r]=i);return e}function x(e){O(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===w&&(w=!0,r.updateOffset(this),w=!1)}function S(e){return e instanceof x||null!=e&&null!=e._isAMomentObject}function k(e){!1===r.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,t){var n=!0;return p((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,o,a,s=[];for(o=0;o<arguments.length;o++){if(i="","object"===typeof arguments[o]){for(a in i+="\n["+o+"] ",arguments[0])u(arguments[0],a)&&(i+=a+": "+arguments[0][a]+", ");i=i.slice(0,-2)}else i=arguments[o];s.push(i)}k(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var j,_={};function T(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),_[e]||(k(t),_[e]=!0)}function C(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function P(e){var t,n;for(n in e)u(e,n)&&(C(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function R(e,t){var n,r=p({},e);for(n in t)u(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},p(r[n],e[n]),p(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)u(e,n)&&!u(t,n)&&a(e[n])&&(r[n]=p({},r[n]));return r}function A(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,j=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)u(e,t)&&n.push(t);return n};var M={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function D(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return C(r)?r.call(t,n):r}function N(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,L={},z={};function W(e,t,n,r){var i=r;"string"===typeof r&&(i=function(){return this[r]()}),e&&(z[e]=i),t&&(z[t[0]]=function(){return N(i.apply(this,arguments),t[1],t[2])}),n&&(z[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function U(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function B(e){var t,n,r=e.match(F);for(t=0,n=r.length;t<n;t++)z[r[t]]?r[t]=z[r[t]]:r[t]=U(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=C(r[i])?r[i].call(t,e):r[i];return o}}function V(e,t){return e.isValid()?(t=H(t,e.localeData()),L[t]=L[t]||B(t),L[t](e)):e.localeData().invalidDate()}function H(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(I.lastIndex=0;n>=0&&I.test(e);)e=e.replace(I,r),I.lastIndex=0,n-=1;return e}var Y={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function $(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(F).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var q="Invalid date";function G(){return this._invalidDate}var K="%d",X=/\d{1,2}/;function Q(e){return this._ordinal.replace("%d",e)}var Z={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function J(e,t,n,r){var i=this._relativeTime[n];return C(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return C(n)?n(t):n.replace(/%s/i,t)}var te={};function ne(e,t){var n=e.toLowerCase();te[n]=te[n+"s"]=te[t]=e}function re(e){return"string"===typeof e?te[e]||te[e.toLowerCase()]:void 0}function ie(e){var t,n,r={};for(n in e)u(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var oe={};function ae(e,t){oe[e]=t}function ue(e){var t,n=[];for(t in e)u(e,t)&&n.push({unit:t,priority:oe[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function se(e){return e%4===0&&e%100!==0||e%400===0}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function le(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ce(t)),n}function fe(e,t){return function(n){return null!=n?(pe(this,e,n),r.updateOffset(this,t),this):de(this,e)}}function de(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&se(e.year())&&1===e.month()&&29===e.date()?(n=le(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Je(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function he(e){return C(this[e=re(e)])?this[e]():this}function me(e,t){if("object"===typeof e){var n,r=ue(e=ie(e));for(n=0;n<r.length;n++)this[r[n].unit](e[r[n].unit])}else if(C(this[e=re(e)]))return this[e](t);return this}var ve,be=/\d/,ye=/\d\d/,ge=/\d{3}/,we=/\d{4}/,Oe=/[+-]?\d{6}/,xe=/\d\d?/,Se=/\d\d\d\d?/,ke=/\d\d\d\d\d\d?/,Ee=/\d{1,3}/,je=/\d{1,4}/,_e=/[+-]?\d{1,6}/,Te=/\d+/,Ce=/[+-]?\d+/,Pe=/Z|[+-]\d\d:?\d\d/gi,Re=/Z|[+-]\d\d(?::?\d\d)?/gi,Ae=/[+-]?\d+(\.\d{1,3})?/,Me=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function De(e,t,n){ve[e]=C(t)?t:function(e,r){return e&&n?n:t}}function Ne(e,t){return u(ve,e)?ve[e](t._strict,t._locale):new RegExp(Fe(e))}function Fe(e){return Ie(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Ie(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ve={};var Le={};function ze(e,t){var n,r=t;for("string"===typeof e&&(e=[e]),l(t)&&(r=function(e,n){n[t]=le(e)}),n=0;n<e.length;n++)Le[e[n]]=r}function We(e,t){ze(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ue(e,t,n){null!=t&&u(Le,e)&&Le[e](t,n._a,n,e)}var Be,Ve=0,He=1,Ye=2,$e=3,qe=4,Ge=5,Ke=6,Xe=7,Qe=8;function Ze(e,t){return(e%t+t)%t}function Je(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Ze(t,12);return e+=(t-n)/12,1===n?se(e)?29:28:31-n%7%2}Be=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},W("M",["MM",2],"Mo",(function(){return this.month()+1})),W("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),W("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),ne("month","M"),ae("month",8),De("M",xe),De("MM",xe,ye),De("MMM",(function(e,t){return t.monthsShortRegex(e)})),De("MMMM",(function(e,t){return t.monthsRegex(e)})),ze(["M","MM"],(function(e,t){t[He]=le(e)-1})),ze(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[He]=i:v(n).invalidMonth=e}));var et="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),tt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),nt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,rt=Me,it=Me;function ot(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||nt).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone}function at(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[nt.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ut(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Be.call(this._shortMonthsParse,a))?i:null:-1!==(i=Be.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Be.call(this._shortMonthsParse,a))||-1!==(i=Be.call(this._longMonthsParse,a))?i:null:-1!==(i=Be.call(this._longMonthsParse,a))||-1!==(i=Be.call(this._shortMonthsParse,a))?i:null}function st(e,t,n){var r,i,o;if(this._monthsParseExact)return ut.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ct(e,t){var n;if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=le(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Je(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function lt(e){return null!=e?(ct(this,e),r.updateOffset(this,!0),this):de(this,"Month")}function ft(){return Je(this.year(),this.month())}function dt(e){return this._monthsParseExact?(u(this,"_monthsRegex")||ht.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=rt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function pt(e){return this._monthsParseExact?(u(this,"_monthsRegex")||ht.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=it),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ht(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=h([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=Ie(r[t]),i[t]=Ie(i[t]);for(t=0;t<24;t++)o[t]=Ie(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function mt(e){return se(e)?366:365}W("Y",0,0,(function(){var e=this.year();return e<=9999?N(e,4):"+"+e})),W(0,["YY",2],0,(function(){return this.year()%100})),W(0,["YYYY",4],0,"year"),W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),ne("year","y"),ae("year",1),De("Y",Ce),De("YY",xe,ye),De("YYYY",je,we),De("YYYYY",_e,Oe),De("YYYYYY",_e,Oe),ze(["YYYYY","YYYYYY"],Ve),ze("YYYY",(function(e,t){t[Ve]=2===e.length?r.parseTwoDigitYear(e):le(e)})),ze("YY",(function(e,t){t[Ve]=r.parseTwoDigitYear(e)})),ze("Y",(function(e,t){t[Ve]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return le(e)+(le(e)>68?1900:2e3)};var vt=fe("FullYear",!0);function bt(){return se(this.year())}function yt(e,t,n,r,i,o,a){var u;return e<100&&e>=0?(u=new Date(e+400,t,n,r,i,o,a),isFinite(u.getFullYear())&&u.setFullYear(e)):u=new Date(e,t,n,r,i,o,a),u}function gt(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function wt(e,t,n){var r=7+t-n;return-(7+gt(e,0,r).getUTCDay()-t)%7+r-1}function Ot(e,t,n,r,i){var o,a,u=1+7*(t-1)+(7+n-r)%7+wt(e,r,i);return u<=0?a=mt(o=e-1)+u:u>mt(e)?(o=e+1,a=u-mt(e)):(o=e,a=u),{year:o,dayOfYear:a}}function xt(e,t,n){var r,i,o=wt(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?r=a+St(i=e.year()-1,t,n):a>St(e.year(),t,n)?(r=a-St(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function St(e,t,n){var r=wt(e,t,n),i=wt(e+1,t,n);return(mt(e)-r+i)/7}function kt(e){return xt(e,this._week.dow,this._week.doy).week}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),ne("week","w"),ne("isoWeek","W"),ae("week",5),ae("isoWeek",5),De("w",xe),De("ww",xe,ye),De("W",xe),De("WW",xe,ye),We(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=le(e)}));var Et={dow:0,doy:6};function jt(){return this._week.dow}function _t(){return this._week.doy}function Tt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ct(e){var t=xt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Pt(e,t){return"string"!==typeof e?e:isNaN(e)?"number"===typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Rt(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function At(e,t){return e.slice(t,7).concat(e.slice(0,t))}W("d",0,"do","day"),W("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),W("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),W("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),ae("day",11),ae("weekday",11),ae("isoWeekday",11),De("d",xe),De("e",xe),De("E",xe),De("dd",(function(e,t){return t.weekdaysMinRegex(e)})),De("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),De("dddd",(function(e,t){return t.weekdaysRegex(e)})),We(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:v(n).invalidWeekday=e})),We(["d","e","E"],(function(e,t,n,r){t[r]=le(e)}));var Mt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Dt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ft=Me,It=Me,Lt=Me;function zt(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?At(n,this._week.dow):e?n[e.day()]:n}function Wt(e){return!0===e?At(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?At(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Bt(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Be.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Be.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Be.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Be.call(this._weekdaysParse,a))||-1!==(i=Be.call(this._shortWeekdaysParse,a))||-1!==(i=Be.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Be.call(this._shortWeekdaysParse,a))||-1!==(i=Be.call(this._weekdaysParse,a))||-1!==(i=Be.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Be.call(this._minWeekdaysParse,a))||-1!==(i=Be.call(this._weekdaysParse,a))||-1!==(i=Be.call(this._shortWeekdaysParse,a))?i:null}function Vt(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Bt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Ht(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Pt(e,this.localeData()),this.add(e-t,"d")):t}function Yt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function $t(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Rt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function qt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Ft),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Gt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=It),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Lt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Xt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],u=[],s=[],c=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=Ie(this.weekdaysMin(n,"")),i=Ie(this.weekdaysShort(n,"")),o=Ie(this.weekdays(n,"")),a.push(r),u.push(i),s.push(o),c.push(r),c.push(i),c.push(o);a.sort(e),u.sort(e),s.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Zt(){return this.hours()||24}function Jt(e,t){W(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function en(e,t){return t._meridiemParse}function tn(e){return"p"===(e+"").toLowerCase().charAt(0)}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Qt),W("k",["kk",2],0,Zt),W("hmm",0,0,(function(){return""+Qt.apply(this)+N(this.minutes(),2)})),W("hmmss",0,0,(function(){return""+Qt.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),W("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),W("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),Jt("a",!0),Jt("A",!1),ne("hour","h"),ae("hour",13),De("a",en),De("A",en),De("H",xe),De("h",xe),De("k",xe),De("HH",xe,ye),De("hh",xe,ye),De("kk",xe,ye),De("hmm",Se),De("hmmss",ke),De("Hmm",Se),De("Hmmss",ke),ze(["H","HH"],$e),ze(["k","kk"],(function(e,t,n){var r=le(e);t[$e]=24===r?0:r})),ze(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ze(["h","hh"],(function(e,t,n){t[$e]=le(e),v(n).bigHour=!0})),ze("hmm",(function(e,t,n){var r=e.length-2;t[$e]=le(e.substr(0,r)),t[qe]=le(e.substr(r)),v(n).bigHour=!0})),ze("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[$e]=le(e.substr(0,r)),t[qe]=le(e.substr(r,2)),t[Ge]=le(e.substr(i)),v(n).bigHour=!0})),ze("Hmm",(function(e,t,n){var r=e.length-2;t[$e]=le(e.substr(0,r)),t[qe]=le(e.substr(r))})),ze("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[$e]=le(e.substr(0,r)),t[qe]=le(e.substr(r,2)),t[Ge]=le(e.substr(i))}));var nn=/[ap]\.?m?\.?/i,rn=fe("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,un={calendar:M,longDateFormat:Y,invalidDate:q,ordinal:K,dayOfMonthOrdinalParse:X,relativeTime:Z,months:et,monthsShort:tt,week:Et,weekdays:Mt,weekdaysMin:Nt,weekdaysShort:Dt,meridiemParse:nn},sn={},cn={};function ln(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function fn(e){return e?e.toLowerCase().replace("_","-"):e}function dn(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=fn(e[o]).split("-")).length,n=(n=fn(e[o+1]))?n.split("-"):null;t>0;){if(r=pn(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&ln(i,n)>=t-1)break;t--}o++}return an}function pn(t){var n=null;if(void 0===sn[t]&&"undefined"!==typeof e&&e&&e.exports)try{n=an._abbr,function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),hn(n)}catch(r){sn[t]=null}return sn[t]}function hn(e,t){var n;return e&&((n=c(t)?bn(e):mn(e,t))?an=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function mn(e,t){if(null!==t){var n,r=un;if(t.abbr=e,null!=sn[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=sn[e]._config;else if(null!=t.parentLocale)if(null!=sn[t.parentLocale])r=sn[t.parentLocale]._config;else{if(null==(n=pn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return sn[e]=new A(R(r,t)),cn[e]&&cn[e].forEach((function(e){mn(e.name,e.config)})),hn(e),sn[e]}return delete sn[e],null}function vn(e,t){if(null!=t){var n,r,i=un;null!=sn[e]&&null!=sn[e].parentLocale?sn[e].set(R(sn[e]._config,t)):(null!=(r=pn(e))&&(i=r._config),t=R(i,t),null==r&&(t.abbr=e),(n=new A(t)).parentLocale=sn[e],sn[e]=n),hn(e)}else null!=sn[e]&&(null!=sn[e].parentLocale?(sn[e]=sn[e].parentLocale,e===hn()&&hn(e)):null!=sn[e]&&delete sn[e]);return sn[e]}function bn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!o(e)){if(t=pn(e))return t;e=[e]}return dn(e)}function yn(){return j(sn)}function gn(e){var t,n=e._a;return n&&-2===v(e).overflow&&(t=n[He]<0||n[He]>11?He:n[Ye]<1||n[Ye]>Je(n[Ve],n[He])?Ye:n[$e]<0||n[$e]>24||24===n[$e]&&(0!==n[qe]||0!==n[Ge]||0!==n[Ke])?$e:n[qe]<0||n[qe]>59?qe:n[Ge]<0||n[Ge]>59?Ge:n[Ke]<0||n[Ke]>999?Ke:-1,v(e)._overflowDayOfYear&&(t<Ve||t>Ye)&&(t=Ye),v(e)._overflowWeeks&&-1===t&&(t=Xe),v(e)._overflowWeekday&&-1===t&&(t=Qe),v(e).overflow=t),e}var wn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,On=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,xn=/Z|[+-]\d\d(?::?\d\d)?/,Sn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],kn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],En=/^\/?Date\((-?\d+)/i,jn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,_n={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tn(e){var t,n,r,i,o,a,u=e._i,s=wn.exec(u)||On.exec(u);if(s){for(v(e).iso=!0,t=0,n=Sn.length;t<n;t++)if(Sn[t][1].exec(s[1])){i=Sn[t][0],r=!1!==Sn[t][2];break}if(null==i)return void(e._isValid=!1);if(s[3]){for(t=0,n=kn.length;t<n;t++)if(kn[t][1].exec(s[3])){o=(s[2]||" ")+kn[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(s[4]){if(!xn.exec(s[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Wn(e)}else e._isValid=!1}function Cn(e,t,n,r,i,o){var a=[Pn(e),tt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function Pn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Rn(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function An(e,t,n){return!e||Dt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(v(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Mn(e,t,n){if(e)return _n[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}function Dn(e){var t,n=jn.exec(Rn(e._i));if(n){if(t=Cn(n[4],n[3],n[2],n[5],n[6],n[7]),!An(n[1],t,e))return;e._a=t,e._tzm=Mn(n[8],n[9],n[10]),e._d=gt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),v(e).rfc2822=!0}else e._isValid=!1}function Nn(e){var t=En.exec(e._i);null===t?(Tn(e),!1===e._isValid&&(delete e._isValid,Dn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:r.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Fn(e,t,n){return null!=e?e:null!=t?t:n}function In(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Ln(e){var t,n,r,i,o,a=[];if(!e._d){for(r=In(e),e._w&&null==e._a[Ye]&&null==e._a[He]&&zn(e),null!=e._dayOfYear&&(o=Fn(e._a[Ve],r[Ve]),(e._dayOfYear>mt(o)||0===e._dayOfYear)&&(v(e)._overflowDayOfYear=!0),n=gt(o,0,e._dayOfYear),e._a[He]=n.getUTCMonth(),e._a[Ye]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[$e]&&0===e._a[qe]&&0===e._a[Ge]&&0===e._a[Ke]&&(e._nextDay=!0,e._a[$e]=0),e._d=(e._useUTC?gt:yt).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[$e]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==i&&(v(e).weekdayMismatch=!0)}}function zn(e){var t,n,r,i,o,a,u,s,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,a=4,n=Fn(t.GG,e._a[Ve],xt(Gn(),1,4).year),r=Fn(t.W,1),((i=Fn(t.E,1))<1||i>7)&&(s=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,c=xt(Gn(),o,a),n=Fn(t.gg,e._a[Ve],c.year),r=Fn(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(s=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(s=!0)):i=o),r<1||r>St(n,o,a)?v(e)._overflowWeeks=!0:null!=s?v(e)._overflowWeekday=!0:(u=Ot(n,r,i,o,a),e._a[Ve]=u.year,e._dayOfYear=u.dayOfYear)}function Wn(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],v(e).empty=!0;var t,n,i,o,a,u,s=""+e._i,c=s.length,l=0;for(i=H(e._f,e._locale).match(F)||[],t=0;t<i.length;t++)o=i[t],(n=(s.match(Ne(o,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&v(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),l+=n.length),z[o]?(n?v(e).empty=!1:v(e).unusedTokens.push(o),Ue(o,n,e)):e._strict&&!n&&v(e).unusedTokens.push(o);v(e).charsLeftOver=c-l,s.length>0&&v(e).unusedInput.push(s),e._a[$e]<=12&&!0===v(e).bigHour&&e._a[$e]>0&&(v(e).bigHour=void 0),v(e).parsedDateParts=e._a.slice(0),v(e).meridiem=e._meridiem,e._a[$e]=Un(e._locale,e._a[$e],e._meridiem),null!==(u=v(e).era)&&(e._a[Ve]=e._locale.erasConvertYear(u,e._a[Ve])),Ln(e),gn(e)}else Dn(e);else Tn(e)}function Un(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Bn(e){var t,n,r,i,o,a,u=!1;if(0===e._f.length)return v(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,a=!1,t=O({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Wn(t),b(t)&&(a=!0),o+=v(t).charsLeftOver,o+=10*v(t).unusedTokens.length,v(t).score=o,u?o<r&&(r=o,n=t):(null==r||o<r||a)&&(r=o,n=t,a&&(u=!0));p(e,n||t)}function Vn(e){if(!e._d){var t=ie(e._i),n=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Ln(e)}}function Hn(e){var t=new x(gn(Yn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Yn(e){var t=e._i,n=e._f;return e._locale=e._locale||bn(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),S(t)?new x(gn(t)):(f(t)?e._d=t:o(n)?Bn(e):n?Wn(e):$n(e),b(e)||(e._d=null),e))}function $n(e){var t=e._i;c(t)?e._d=new Date(r.now()):f(t)?e._d=new Date(t.valueOf()):"string"===typeof t?Nn(e):o(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),Ln(e)):a(t)?Vn(e):l(t)?e._d=new Date(t):r.createFromInputFallback(e)}function qn(e,t,n,r,i){var u={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&s(e)||o(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=i,u._l=n,u._i=e,u._f=t,u._strict=r,Hn(u)}function Gn(e,t,n,r){return qn(e,t,n,r,!1)}r.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Kn=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Gn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()})),Xn=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Gn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}));function Qn(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Gn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Zn(){return Qn("isBefore",[].slice.call(arguments,0))}function Jn(){return Qn("isAfter",[].slice.call(arguments,0))}var er=function(){return Date.now?Date.now():+new Date},tr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function nr(e){var t,n,r=!1;for(t in e)if(u(e,t)&&(-1===Be.call(tr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<tr.length;++n)if(e[tr[n]]){if(r)return!1;parseFloat(e[tr[n]])!==le(e[tr[n]])&&(r=!0)}return!0}function rr(){return this._isValid}function ir(){return _r(NaN)}function or(e){var t=ie(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,u=t.hour||0,s=t.minute||0,c=t.second||0,l=t.millisecond||0;this._isValid=nr(t),this._milliseconds=+l+1e3*c+6e4*s+1e3*u*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=bn(),this._bubble()}function ar(e){return e instanceof or}function ur(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function sr(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&le(e[r])!==le(t[r]))&&a++;return a+o}function cr(e,t){W(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+N(~~(e/60),2)+t+N(~~e%60,2)}))}cr("Z",":"),cr("ZZ",""),De("Z",Re),De("ZZ",Re),ze(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(Re,e)}));var lr=/([\+\-]|\d\d)/gi;function fr(e,t){var n,r,i=(t||"").match(e);return null===i?null:0===(r=60*(n=((i[i.length-1]||[])+"").match(lr)||["-",0,0])[1]+le(n[2]))?0:"+"===n[0]?r:-r}function dr(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(S(e)||f(e)?e.valueOf():Gn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):Gn(e).local()}function pr(e){return-Math.round(e._d.getTimezoneOffset())}function hr(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(null===(e=fr(Re,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=pr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Ar(this,_r(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:pr(this)}function mr(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vr(e){return this.utcOffset(0,e)}function br(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pr(this),"m")),this}function yr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=fr(Pe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function gr(e){return!!this.isValid()&&(e=e?Gn(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function wr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Or(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return O(t,this),(t=Yn(t))._a?(e=t._isUTC?h(t._a):Gn(t._a),this._isDSTShifted=this.isValid()&&sr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function xr(){return!!this.isValid()&&!this._isUTC}function Sr(){return!!this.isValid()&&this._isUTC}function kr(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Er=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function _r(e,t){var n,r,i,o=e,a=null;return ar(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:l(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(a=Er.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:le(a[Ye])*n,h:le(a[$e])*n,m:le(a[qe])*n,s:le(a[Ge])*n,ms:le(ur(1e3*a[Ke]))*n}):(a=jr.exec(e))?(n="-"===a[1]?-1:1,o={y:Tr(a[2],n),M:Tr(a[3],n),w:Tr(a[4],n),d:Tr(a[5],n),h:Tr(a[6],n),m:Tr(a[7],n),s:Tr(a[8],n)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(i=Pr(Gn(o.from),Gn(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),r=new or(o),ar(e)&&u(e,"_locale")&&(r._locale=e._locale),ar(e)&&u(e,"_isValid")&&(r._isValid=e._isValid),r}function Tr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Cr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Pr(e,t){var n;return e.isValid()&&t.isValid()?(t=dr(t,e),e.isBefore(t)?n=Cr(e,t):((n=Cr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Rr(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(T(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Ar(this,_r(n,r),e),this}}function Ar(e,t,n,i){var o=t._milliseconds,a=ur(t._days),u=ur(t._months);e.isValid()&&(i=null==i||i,u&&ct(e,de(e,"Month")+u*n),a&&pe(e,"Date",de(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,a||u))}_r.fn=or.prototype,_r.invalid=ir;var Mr=Rr(1,"add"),Dr=Rr(-1,"subtract");function Nr(e){return"string"===typeof e||e instanceof String}function Fr(e){return S(e)||f(e)||Nr(e)||l(e)||Lr(e)||Ir(e)||null===e||void 0===e}function Ir(e){var t,n,r=a(e)&&!s(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<o.length;t+=1)n=o[t],i=i||u(e,n);return r&&i}function Lr(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!l(t)&&Nr(e)})).length),t&&n}function zr(e){var t,n,r=a(e)&&!s(e),i=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)n=o[t],i=i||u(e,n);return r&&i}function Wr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Ur(e,t){1===arguments.length&&(Fr(arguments[0])?(e=arguments[0],t=void 0):zr(arguments[0])&&(t=arguments[0],e=void 0));var n=e||Gn(),i=dr(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",a=t&&(C(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,Gn(n)))}function Br(){return new x(this)}function Vr(e,t){var n=S(e)?e:Gn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Hr(e,t){var n=S(e)?e:Gn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Yr(e,t,n,r){var i=S(e)?e:Gn(e),o=S(t)?t:Gn(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))}function $r(e,t){var n,r=S(e)?e:Gn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function qr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Gr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Kr(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=dr(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=re(t)){case"year":o=Xr(this,r)/12;break;case"month":o=Xr(this,r);break;case"quarter":o=Xr(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:ce(o)}function Xr(e,t){if(e.date()<t.date())return-Xr(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Qr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Zr(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?V(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):C(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",V(n,"Z")):V(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Jr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,i="moment",o="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=o+'[")]',this.format(e+t+n+r)}function ei(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=V(this,e);return this.localeData().postformat(t)}function ti(e,t){return this.isValid()&&(S(e)&&e.isValid()||Gn(e).isValid())?_r({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ni(e){return this.from(Gn(),e)}function ri(e,t){return this.isValid()&&(S(e)&&e.isValid()||Gn(e).isValid())?_r({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ii(e){return this.to(Gn(),e)}function oi(e){var t;return void 0===e?this._locale._abbr:(null!=(t=bn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ai=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ui(){return this._locale}var si=1e3,ci=60*si,li=60*ci,fi=3506328*li;function di(e,t){return(e%t+t)%t}function pi(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-fi:new Date(e,t,n).valueOf()}function hi(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-fi:Date.UTC(e,t,n)}function mi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?hi:pi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=di(t+(this._isUTC?0:this.utcOffset()*ci),li);break;case"minute":t=this._d.valueOf(),t-=di(t,ci);break;case"second":t=this._d.valueOf(),t-=di(t,si)}return this._d.setTime(t),r.updateOffset(this,!0),this}function vi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?hi:pi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=li-di(t+(this._isUTC?0:this.utcOffset()*ci),li)-1;break;case"minute":t=this._d.valueOf(),t+=ci-di(t,ci)-1;break;case"second":t=this._d.valueOf(),t+=si-di(t,si)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function bi(){return this._d.valueOf()-6e4*(this._offset||0)}function yi(){return Math.floor(this.valueOf()/1e3)}function gi(){return new Date(this.valueOf())}function wi(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Oi(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function xi(){return this.isValid()?this.toISOString():null}function Si(){return b(this)}function ki(){return p({},v(this))}function Ei(){return v(this).overflow}function ji(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function _i(e,t){var n,i,o,a=this._eras||bn("en")._eras;for(n=0,i=a.length;n<i;++n){switch(typeof a[n].since){case"string":o=r(a[n].since).startOf("day"),a[n].since=o.valueOf()}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":o=r(a[n].until).startOf("day").valueOf(),a[n].until=o.valueOf()}}return a}function Ti(e,t,n){var r,i,o,a,u,s=this.eras();for(e=e.toUpperCase(),r=0,i=s.length;r<i;++r)if(o=s[r].name.toUpperCase(),a=s[r].abbr.toUpperCase(),u=s[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return s[r];break;case"NNNN":if(o===e)return s[r];break;case"NNNNN":if(u===e)return s[r]}else if([o,a,u].indexOf(e)>=0)return s[r]}function Ci(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Pi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Ri(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Ai(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Mi(){var e,t,n,i,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,i=this.startOf("day").valueOf(),o[e].since<=i&&i<=o[e].until||o[e].until<=i&&i<=o[e].since)return(this.year()-r(o[e].since).year())*n+o[e].offset;return this.year()}function Di(e){return u(this,"_erasNameRegex")||Ui.call(this),e?this._erasNameRegex:this._erasRegex}function Ni(e){return u(this,"_erasAbbrRegex")||Ui.call(this),e?this._erasAbbrRegex:this._erasRegex}function Fi(e){return u(this,"_erasNarrowRegex")||Ui.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ii(e,t){return t.erasAbbrRegex(e)}function Li(e,t){return t.erasNameRegex(e)}function zi(e,t){return t.erasNarrowRegex(e)}function Wi(e,t){return t._eraYearOrdinalRegex||Te}function Ui(){var e,t,n=[],r=[],i=[],o=[],a=this.eras();for(e=0,t=a.length;e<t;++e)r.push(Ie(a[e].name)),n.push(Ie(a[e].abbr)),i.push(Ie(a[e].narrow)),o.push(Ie(a[e].name)),o.push(Ie(a[e].abbr)),o.push(Ie(a[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function Bi(e,t){W(0,[e,e.length],0,t)}function Vi(e){return Ki.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Hi(e){return Ki.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Yi(){return St(this.year(),1,4)}function $i(){return St(this.isoWeekYear(),1,4)}function qi(){var e=this.localeData()._week;return St(this.year(),e.dow,e.doy)}function Gi(){var e=this.localeData()._week;return St(this.weekYear(),e.dow,e.doy)}function Ki(e,t,n,r,i){var o;return null==e?xt(this,r,i).year:(t>(o=St(e,r,i))&&(t=o),Xi.call(this,e,t,n,r,i))}function Xi(e,t,n,r,i){var o=Ot(e,t,n,r,i),a=gt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}W("N",0,0,"eraAbbr"),W("NN",0,0,"eraAbbr"),W("NNN",0,0,"eraAbbr"),W("NNNN",0,0,"eraName"),W("NNNNN",0,0,"eraNarrow"),W("y",["y",1],"yo","eraYear"),W("y",["yy",2],0,"eraYear"),W("y",["yyy",3],0,"eraYear"),W("y",["yyyy",4],0,"eraYear"),De("N",Ii),De("NN",Ii),De("NNN",Ii),De("NNNN",Li),De("NNNNN",zi),ze(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?v(n).era=i:v(n).invalidEra=e})),De("y",Te),De("yy",Te),De("yyy",Te),De("yyyy",Te),De("yo",Wi),ze(["y","yy","yyy","yyyy"],Ve),ze(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ve]=n._locale.eraYearOrdinalParse(e,i):t[Ve]=parseInt(e,10)})),W(0,["gg",2],0,(function(){return this.weekYear()%100})),W(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Bi("gggg","weekYear"),Bi("ggggg","weekYear"),Bi("GGGG","isoWeekYear"),Bi("GGGGG","isoWeekYear"),ne("weekYear","gg"),ne("isoWeekYear","GG"),ae("weekYear",1),ae("isoWeekYear",1),De("G",Ce),De("g",Ce),De("GG",xe,ye),De("gg",xe,ye),De("GGGG",je,we),De("gggg",je,we),De("GGGGG",_e,Oe),De("ggggg",_e,Oe),We(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=le(e)})),We(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),W("Q",0,"Qo","quarter"),ne("quarter","Q"),ae("quarter",7),De("Q",be),ze("Q",(function(e,t){t[He]=3*(le(e)-1)})),W("D",["DD",2],"Do","date"),ne("date","D"),ae("date",9),De("D",xe),De("DD",xe,ye),De("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ze(["D","DD"],Ye),ze("Do",(function(e,t){t[Ye]=le(e.match(xe)[0])}));var Zi=fe("Date",!0);function Ji(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}W("DDD",["DDDD",3],"DDDo","dayOfYear"),ne("dayOfYear","DDD"),ae("dayOfYear",4),De("DDD",Ee),De("DDDD",ge),ze(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=le(e)})),W("m",["mm",2],0,"minute"),ne("minute","m"),ae("minute",14),De("m",xe),De("mm",xe,ye),ze(["m","mm"],qe);var eo=fe("Minutes",!1);W("s",["ss",2],0,"second"),ne("second","s"),ae("second",15),De("s",xe),De("ss",xe,ye),ze(["s","ss"],Ge);var to,no,ro=fe("Seconds",!1);for(W("S",0,0,(function(){return~~(this.millisecond()/100)})),W(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),W(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),W(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),W(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),W(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),W(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),ne("millisecond","ms"),ae("millisecond",16),De("S",Ee,be),De("SS",Ee,ye),De("SSS",Ee,ge),to="SSSS";to.length<=9;to+="S")De(to,Te);function io(e,t){t[Ke]=le(1e3*("0."+e))}for(to="S";to.length<=9;to+="S")ze(to,io);function oo(){return this._isUTC?"UTC":""}function ao(){return this._isUTC?"Coordinated Universal Time":""}no=fe("Milliseconds",!1),W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var uo=x.prototype;function so(e){return Gn(1e3*e)}function co(){return Gn.apply(null,arguments).parseZone()}function lo(e){return e}uo.add=Mr,uo.calendar=Ur,uo.clone=Br,uo.diff=Kr,uo.endOf=vi,uo.format=ei,uo.from=ti,uo.fromNow=ni,uo.to=ri,uo.toNow=ii,uo.get=he,uo.invalidAt=Ei,uo.isAfter=Vr,uo.isBefore=Hr,uo.isBetween=Yr,uo.isSame=$r,uo.isSameOrAfter=qr,uo.isSameOrBefore=Gr,uo.isValid=Si,uo.lang=ai,uo.locale=oi,uo.localeData=ui,uo.max=Xn,uo.min=Kn,uo.parsingFlags=ki,uo.set=me,uo.startOf=mi,uo.subtract=Dr,uo.toArray=wi,uo.toObject=Oi,uo.toDate=gi,uo.toISOString=Zr,uo.inspect=Jr,"undefined"!==typeof Symbol&&null!=Symbol.for&&(uo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),uo.toJSON=xi,uo.toString=Qr,uo.unix=yi,uo.valueOf=bi,uo.creationData=ji,uo.eraName=Pi,uo.eraNarrow=Ri,uo.eraAbbr=Ai,uo.eraYear=Mi,uo.year=vt,uo.isLeapYear=bt,uo.weekYear=Vi,uo.isoWeekYear=Hi,uo.quarter=uo.quarters=Qi,uo.month=lt,uo.daysInMonth=ft,uo.week=uo.weeks=Tt,uo.isoWeek=uo.isoWeeks=Ct,uo.weeksInYear=qi,uo.weeksInWeekYear=Gi,uo.isoWeeksInYear=Yi,uo.isoWeeksInISOWeekYear=$i,uo.date=Zi,uo.day=uo.days=Ht,uo.weekday=Yt,uo.isoWeekday=$t,uo.dayOfYear=Ji,uo.hour=uo.hours=rn,uo.minute=uo.minutes=eo,uo.second=uo.seconds=ro,uo.millisecond=uo.milliseconds=no,uo.utcOffset=hr,uo.utc=vr,uo.local=br,uo.parseZone=yr,uo.hasAlignedHourOffset=gr,uo.isDST=wr,uo.isLocal=xr,uo.isUtcOffset=Sr,uo.isUtc=kr,uo.isUTC=kr,uo.zoneAbbr=oo,uo.zoneName=ao,uo.dates=E("dates accessor is deprecated. Use date instead.",Zi),uo.months=E("months accessor is deprecated. Use month instead",lt),uo.years=E("years accessor is deprecated. Use year instead",vt),uo.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",mr),uo.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Or);var fo=A.prototype;function po(e,t,n,r){var i=bn(),o=h().set(r,t);return i[n](o,e)}function ho(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return po(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=po(e,r,n,"month");return i}function mo(e,t,n,r){"boolean"===typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,l(t)&&(n=t,t=void 0),t=t||"");var i,o=bn(),a=e?o._week.dow:0,u=[];if(null!=n)return po(t,(n+a)%7,r,"day");for(i=0;i<7;i++)u[i]=po(t,(i+a)%7,r,"day");return u}function vo(e,t){return ho(e,t,"months")}function bo(e,t){return ho(e,t,"monthsShort")}function yo(e,t,n){return mo(e,t,n,"weekdays")}function go(e,t,n){return mo(e,t,n,"weekdaysShort")}function wo(e,t,n){return mo(e,t,n,"weekdaysMin")}fo.calendar=D,fo.longDateFormat=$,fo.invalidDate=G,fo.ordinal=Q,fo.preparse=lo,fo.postformat=lo,fo.relativeTime=J,fo.pastFuture=ee,fo.set=P,fo.eras=_i,fo.erasParse=Ti,fo.erasConvertYear=Ci,fo.erasAbbrRegex=Ni,fo.erasNameRegex=Di,fo.erasNarrowRegex=Fi,fo.months=ot,fo.monthsShort=at,fo.monthsParse=st,fo.monthsRegex=pt,fo.monthsShortRegex=dt,fo.week=kt,fo.firstDayOfYear=_t,fo.firstDayOfWeek=jt,fo.weekdays=zt,fo.weekdaysMin=Ut,fo.weekdaysShort=Wt,fo.weekdaysParse=Vt,fo.weekdaysRegex=qt,fo.weekdaysShortRegex=Gt,fo.weekdaysMinRegex=Kt,fo.isPM=tn,fo.meridiem=on,hn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===le(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=E("moment.lang is deprecated. Use moment.locale instead.",hn),r.langData=E("moment.langData is deprecated. Use moment.localeData instead.",bn);var Oo=Math.abs;function xo(){var e=this._data;return this._milliseconds=Oo(this._milliseconds),this._days=Oo(this._days),this._months=Oo(this._months),e.milliseconds=Oo(e.milliseconds),e.seconds=Oo(e.seconds),e.minutes=Oo(e.minutes),e.hours=Oo(e.hours),e.months=Oo(e.months),e.years=Oo(e.years),this}function So(e,t,n,r){var i=_r(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function ko(e,t){return So(this,e,t,1)}function Eo(e,t){return So(this,e,t,-1)}function jo(e){return e<0?Math.floor(e):Math.ceil(e)}function _o(){var e,t,n,r,i,o=this._milliseconds,a=this._days,u=this._months,s=this._data;return o>=0&&a>=0&&u>=0||o<=0&&a<=0&&u<=0||(o+=864e5*jo(Co(u)+a),a=0,u=0),s.milliseconds=o%1e3,e=ce(o/1e3),s.seconds=e%60,t=ce(e/60),s.minutes=t%60,n=ce(t/60),s.hours=n%24,a+=ce(n/24),u+=i=ce(To(a)),a-=jo(Co(i)),r=ce(u/12),u%=12,s.days=a,s.months=u,s.years=r,this}function To(e){return 4800*e/146097}function Co(e){return 146097*e/4800}function Po(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=re(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+To(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Co(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Ro(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*le(this._months/12):NaN}function Ao(e){return function(){return this.as(e)}}var Mo=Ao("ms"),Do=Ao("s"),No=Ao("m"),Fo=Ao("h"),Io=Ao("d"),Lo=Ao("w"),zo=Ao("M"),Wo=Ao("Q"),Uo=Ao("y");function Bo(){return _r(this)}function Vo(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Ho(e){return function(){return this.isValid()?this._data[e]:NaN}}var Yo=Ho("milliseconds"),$o=Ho("seconds"),qo=Ho("minutes"),Go=Ho("hours"),Ko=Ho("days"),Xo=Ho("months"),Qo=Ho("years");function Zo(){return ce(this.days()/7)}var Jo=Math.round,ea={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ta(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function na(e,t,n,r){var i=_r(e).abs(),o=Jo(i.as("s")),a=Jo(i.as("m")),u=Jo(i.as("h")),s=Jo(i.as("d")),c=Jo(i.as("M")),l=Jo(i.as("w")),f=Jo(i.as("y")),d=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||a<=1&&["m"]||a<n.m&&["mm",a]||u<=1&&["h"]||u<n.h&&["hh",u]||s<=1&&["d"]||s<n.d&&["dd",s];return null!=n.w&&(d=d||l<=1&&["w"]||l<n.w&&["ww",l]),(d=d||c<=1&&["M"]||c<n.M&&["MM",c]||f<=1&&["y"]||["yy",f])[2]=t,d[3]=+e>0,d[4]=r,ta.apply(null,d)}function ra(e){return void 0===e?Jo:"function"===typeof e&&(Jo=e,!0)}function ia(e,t){return void 0!==ea[e]&&(void 0===t?ea[e]:(ea[e]=t,"s"===e&&(ea.ss=t-1),!0))}function oa(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=ea;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(i=e),"object"===typeof t&&(o=Object.assign({},ea,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),r=na(this,!i,o,n=this.localeData()),i&&(r=n.pastFuture(+this,r)),n.postformat(r)}var aa=Math.abs;function ua(e){return(e>0)-(e<0)||+e}function sa(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,a,u,s=aa(this._milliseconds)/1e3,c=aa(this._days),l=aa(this._months),f=this.asSeconds();return f?(e=ce(s/60),t=ce(e/60),s%=60,e%=60,n=ce(l/12),l%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",o=ua(this._months)!==ua(f)?"-":"",a=ua(this._days)!==ua(f)?"-":"",u=ua(this._milliseconds)!==ua(f)?"-":"",i+"P"+(n?o+n+"Y":"")+(l?o+l+"M":"")+(c?a+c+"D":"")+(t||e||s?"T":"")+(t?u+t+"H":"")+(e?u+e+"M":"")+(s?u+r+"S":"")):"P0D"}var ca=or.prototype;return ca.isValid=rr,ca.abs=xo,ca.add=ko,ca.subtract=Eo,ca.as=Po,ca.asMilliseconds=Mo,ca.asSeconds=Do,ca.asMinutes=No,ca.asHours=Fo,ca.asDays=Io,ca.asWeeks=Lo,ca.asMonths=zo,ca.asQuarters=Wo,ca.asYears=Uo,ca.valueOf=Ro,ca._bubble=_o,ca.clone=Bo,ca.get=Vo,ca.milliseconds=Yo,ca.seconds=$o,ca.minutes=qo,ca.hours=Go,ca.days=Ko,ca.weeks=Zo,ca.months=Xo,ca.years=Qo,ca.humanize=oa,ca.toISOString=sa,ca.toString=sa,ca.toJSON=sa,ca.locale=oi,ca.localeData=ui,ca.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",sa),ca.lang=ai,W("X",0,0,"unix"),W("x",0,0,"valueOf"),De("x",Ce),De("X",Ae),ze("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ze("x",(function(e,t,n){n._d=new Date(le(e))})),r.version="2.27.0",i(Gn),r.fn=uo,r.min=Zn,r.max=Jn,r.now=er,r.utc=h,r.unix=so,r.months=vo,r.isDate=f,r.locale=hn,r.invalid=y,r.duration=_r,r.isMoment=S,r.weekdays=yo,r.parseZone=co,r.localeData=bn,r.isDuration=ar,r.monthsShort=bo,r.weekdaysMin=wo,r.defineLocale=mn,r.updateLocale=vn,r.locales=yn,r.weekdaysShort=go,r.normalizeUnits=re,r.relativeTimeRounding=ra,r.relativeTimeThreshold=ia,r.calendarFormat=Wr,r.prototype=uo,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n(352)(e))},function(e,t,n){"use strict";var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=n.n(r),o=n(132);function a(){return i.a.useContext(o.a)}},function(e,t,n){"use strict";function r(e){for(var t="https://material-ui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(6),s=n(7),c={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},l=o.forwardRef((function(e,t){var n=e.align,u=void 0===n?"inherit":n,l=e.classes,f=e.className,d=e.color,p=void 0===d?"initial":d,h=e.component,m=e.display,v=void 0===m?"initial":m,b=e.gutterBottom,y=void 0!==b&&b,g=e.noWrap,w=void 0!==g&&g,O=e.paragraph,x=void 0!==O&&O,S=e.variant,k=void 0===S?"body1":S,E=e.variantMapping,j=void 0===E?c:E,_=Object(i.a)(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),T=h||(x?"p":j[k]||c[k])||"span";return o.createElement(T,Object(r.a)({className:Object(a.a)(l.root,f,"inherit"!==k&&l[k],"initial"!==p&&l["color".concat(Object(s.a)(p))],w&&l.noWrap,y&&l.gutterBottom,x&&l.paragraph,"inherit"!==u&&l["align".concat(Object(s.a)(u))],"initial"!==v&&l["display".concat(Object(s.a)(v))]),ref:t},_))}));t.a=Object(u.a)((function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(l)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=n.n(o),u=(n(3),n(17)),s=n(5),c=n(13),l=n(34),f=n(6),d=n(138),p=n(50),h=n(24),m=n(116),v=n(77),b=n(104);function y(e,t){var n=Object.create(null);return e&&o.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Object(o.isValidElement)(e)?t(e):e}(e)})),n}function g(e,t,n){return null!=n[t]?n[t]:e.props[t]}function w(e,t,n){var r=y(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var u={};for(var s in t){if(i[s])for(r=0;r<i[s].length;r++){var c=i[s][r];u[i[s][r]]=n(c)}u[s]=n(s)}for(r=0;r<o.length;r++)u[o[r]]=n(o[r]);return u}(t,r);return Object.keys(i).forEach((function(a){var u=i[a];if(Object(o.isValidElement)(u)){var s=a in t,c=a in r,l=t[a],f=Object(o.isValidElement)(l)&&!l.props.in;!c||s&&!f?c||!s||f?c&&s&&Object(o.isValidElement)(l)&&(i[a]=Object(o.cloneElement)(u,{onExited:n.bind(null,u),in:l.props.in,exit:g(u,"exit",e),enter:g(u,"enter",e)})):i[a]=Object(o.cloneElement)(u,{in:!1}):i[a]=Object(o.cloneElement)(u,{onExited:n.bind(null,u),in:!0,exit:g(u,"exit",e),enter:g(u,"enter",e)})}})),i}var O=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},x=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(Object(m.a)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}Object(v.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,y(n.children,(function(e){return Object(o.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:g(e,"appear",n),enter:g(e,"enter",n),exit:g(e,"exit",n)})}))):w(e,i,a),firstRender:!1}},n.handleExited=function(e,t){var n=y(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Object(r.a)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Object(h.a)(e,["component","childFactory"]),i=this.state.contextValue,o=O(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?a.a.createElement(b.a.Provider,{value:i},o):a.a.createElement(b.a.Provider,{value:i},a.a.createElement(t,r,o))},t}(a.a.Component);x.propTypes={},x.defaultProps={component:"div",childFactory:function(e){return e}};var S=x,k="undefined"===typeof window?o.useEffect:o.useLayoutEffect;var E=function(e){var t=e.classes,n=e.pulsate,r=void 0!==n&&n,i=e.rippleX,a=e.rippleY,u=e.rippleSize,c=e.in,f=e.onExited,d=void 0===f?function(){}:f,p=e.timeout,h=o.useState(!1),m=h[0],v=h[1],b=Object(s.a)(t.ripple,t.rippleVisible,r&&t.ripplePulsate),y={width:u,height:u,top:-u/2+a,left:-u/2+i},g=Object(s.a)(t.child,m&&t.childLeaving,r&&t.childPulsate),w=Object(l.a)(d);return k((function(){if(!c){v(!0);var e=setTimeout(w,p);return function(){clearTimeout(e)}}}),[w,c,p]),o.createElement("span",{className:b,style:y},o.createElement("span",{className:g}))},j=o.forwardRef((function(e,t){var n=e.center,a=void 0!==n&&n,u=e.classes,c=e.className,l=Object(i.a)(e,["center","classes","className"]),f=o.useState([]),d=f[0],h=f[1],m=o.useRef(0),v=o.useRef(null);o.useEffect((function(){v.current&&(v.current(),v.current=null)}),[d]);var b=o.useRef(!1),y=o.useRef(null),g=o.useRef(null),w=o.useRef(null);o.useEffect((function(){return function(){clearTimeout(y.current)}}),[]);var O=o.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,i=e.rippleSize,a=e.cb;h((function(e){return[].concat(Object(p.a)(e),[o.createElement(E,{key:m.current,classes:u,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i})])})),m.current+=1,v.current=a}),[u]),x=o.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t.pulsate,i=void 0!==r&&r,o=t.center,u=void 0===o?a||t.pulsate:o,s=t.fakeElement,c=void 0!==s&&s;if("mousedown"===e.type&&b.current)b.current=!1;else{"touchstart"===e.type&&(b.current=!0);var l,f,d,p=c?null:w.current,h=p?p.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(u||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)l=Math.round(h.width/2),f=Math.round(h.height/2);else{var m=e.touches?e.touches[0]:e,v=m.clientX,x=m.clientY;l=Math.round(v-h.left),f=Math.round(x-h.top)}if(u)(d=Math.sqrt((2*Math.pow(h.width,2)+Math.pow(h.height,2))/3))%2===0&&(d+=1);else{var S=2*Math.max(Math.abs((p?p.clientWidth:0)-l),l)+2,k=2*Math.max(Math.abs((p?p.clientHeight:0)-f),f)+2;d=Math.sqrt(Math.pow(S,2)+Math.pow(k,2))}e.touches?null===g.current&&(g.current=function(){O({pulsate:i,rippleX:l,rippleY:f,rippleSize:d,cb:n})},y.current=setTimeout((function(){g.current&&(g.current(),g.current=null)}),80)):O({pulsate:i,rippleX:l,rippleY:f,rippleSize:d,cb:n})}}),[a,O]),k=o.useCallback((function(){x({},{pulsate:!0})}),[x]),j=o.useCallback((function(e,t){if(clearTimeout(y.current),"touchend"===e.type&&g.current)return e.persist(),g.current(),g.current=null,void(y.current=setTimeout((function(){j(e,t)})));g.current=null,h((function(e){return e.length>0?e.slice(1):e})),v.current=t}),[]);return o.useImperativeHandle(t,(function(){return{pulsate:k,start:x,stop:j}}),[k,x,j]),o.createElement("span",Object(r.a)({className:Object(s.a)(u.root,c),ref:w},l),o.createElement(S,{component:null,exit:!0},d))})),_=Object(f.a)((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(o.memo(j)),T=o.forwardRef((function(e,t){var n=e.action,a=e.buttonRef,f=e.centerRipple,p=void 0!==f&&f,h=e.children,m=e.classes,v=e.className,b=e.component,y=void 0===b?"button":b,g=e.disabled,w=void 0!==g&&g,O=e.disableRipple,x=void 0!==O&&O,S=e.disableTouchRipple,k=void 0!==S&&S,E=e.focusRipple,j=void 0!==E&&E,T=e.focusVisibleClassName,C=e.onBlur,P=e.onClick,R=e.onFocus,A=e.onFocusVisible,M=e.onKeyDown,D=e.onKeyUp,N=e.onMouseDown,F=e.onMouseLeave,I=e.onMouseUp,L=e.onTouchEnd,z=e.onTouchMove,W=e.onTouchStart,U=e.onDragLeave,B=e.tabIndex,V=void 0===B?0:B,H=e.TouchRippleProps,Y=e.type,$=void 0===Y?"button":Y,q=Object(i.a)(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),G=o.useRef(null);var K=o.useRef(null),X=o.useState(!1),Q=X[0],Z=X[1];w&&Q&&Z(!1);var J=Object(d.a)(),ee=J.isFocusVisible,te=J.onBlurVisible,ne=J.ref;function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:k;return Object(l.a)((function(r){return t&&t(r),!n&&K.current&&K.current[e](r),!0}))}o.useImperativeHandle(n,(function(){return{focusVisible:function(){Z(!0),G.current.focus()}}}),[]),o.useEffect((function(){Q&&j&&!x&&K.current.pulsate()}),[x,j,Q]);var ie=re("start",N),oe=re("stop",U),ae=re("stop",I),ue=re("stop",(function(e){Q&&e.preventDefault(),F&&F(e)})),se=re("start",W),ce=re("stop",L),le=re("stop",z),fe=re("stop",(function(e){Q&&(te(e),Z(!1)),C&&C(e)}),!1),de=Object(l.a)((function(e){G.current||(G.current=e.currentTarget),ee(e)&&(Z(!0),A&&A(e)),R&&R(e)})),pe=function(){var e=u.findDOMNode(G.current);return y&&"button"!==y&&!("A"===e.tagName&&e.href)},he=o.useRef(!1),me=Object(l.a)((function(e){j&&!he.current&&Q&&K.current&&" "===e.key&&(he.current=!0,e.persist(),K.current.stop(e,(function(){K.current.start(e)}))),e.target===e.currentTarget&&pe()&&" "===e.key&&e.preventDefault(),M&&M(e),e.target===e.currentTarget&&pe()&&"Enter"===e.key&&!w&&(e.preventDefault(),P&&P(e))})),ve=Object(l.a)((function(e){j&&" "===e.key&&K.current&&Q&&!e.defaultPrevented&&(he.current=!1,e.persist(),K.current.stop(e,(function(){K.current.pulsate(e)}))),D&&D(e),P&&e.target===e.currentTarget&&pe()&&" "===e.key&&!e.defaultPrevented&&P(e)})),be=y;"button"===be&&q.href&&(be="a");var ye={};"button"===be?(ye.type=$,ye.disabled=w):("a"===be&&q.href||(ye.role="button"),ye["aria-disabled"]=w);var ge=Object(c.a)(a,t),we=Object(c.a)(ne,G),Oe=Object(c.a)(ge,we),xe=o.useState(!1),Se=xe[0],ke=xe[1];o.useEffect((function(){ke(!0)}),[]);var Ee=Se&&!x&&!w;return o.createElement(be,Object(r.a)({className:Object(s.a)(m.root,v,Q&&[m.focusVisible,T],w&&m.disabled),onBlur:fe,onClick:P,onFocus:de,onKeyDown:me,onKeyUp:ve,onMouseDown:ie,onMouseLeave:ue,onMouseUp:ae,onDragLeave:oe,onTouchEnd:ce,onTouchMove:le,onTouchStart:se,ref:Oe,tabIndex:w?-1:V},ye,q),h,Ee?o.createElement(_,Object(r.a)({ref:K,center:p},H)):null)}));t.a=Object(f.a)({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(T)},function(e,t,n){"use strict";var r=n(4),i=n(2),o=n(0),a=n(17),u=(n(3),n(182)),s=n(314),c=n(25),l=n(394),f=n(72),d=n(13),p=n(34),h=n(136);var m=n(70),v=n(50),b=n(140),y=n(139);function g(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function w(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function O(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,o=[t,n].concat(Object(v.a)(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===o.indexOf(e)&&-1===a.indexOf(e.tagName)&&g(e,i)}))}function x(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function S(e,t){var n,r=[],i=[],o=e.container;if(!t.disableScrollLock){if(function(e){var t=Object(c.a)(e);return t.body===e?Object(y.a)(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){var a=Object(b.a)();r.push({value:o.style.paddingRight,key:"padding-right",el:o}),o.style["padding-right"]="".concat(w(o)+a,"px"),n=Object(c.a)(o).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){i.push(e.style.paddingRight),e.style.paddingRight="".concat(w(e)+a,"px")}))}var u=o.parentElement,s="HTML"===u.nodeName&&"scroll"===window.getComputedStyle(u)["overflow-y"]?u:o;r.push({value:s.style.overflow,key:"overflow",el:s}),s.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){i[t]?e.style.paddingRight=i[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var k=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modals=[],this.containers=[]}return Object(m.a)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&g(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);O(t,e.mountNode,e.modalRef,r,!0);var i=x(this.containers,(function(e){return e.container===t}));return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=x(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=S(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=x(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&g(e.modalRef,!0),O(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var i=r.modals[r.modals.length-1];i.modalRef&&g(i.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}(),E=n(395),j={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},_=o.forwardRef((function(e,t){var n=e.invisible,a=void 0!==n&&n,u=e.open,s=Object(r.a)(e,["invisible","open"]);return u?o.createElement("div",Object(i.a)({"aria-hidden":!0,ref:t},s,{style:Object(i.a)({},j.root,a?j.invisible:{},s.style)})):null}));var T=new k,C=o.forwardRef((function(e,t){var n=Object(u.a)(),m=Object(s.a)({name:"MuiModal",props:Object(i.a)({},e),theme:n}),v=m.BackdropComponent,b=void 0===v?_:v,y=m.BackdropProps,w=m.children,O=m.closeAfterTransition,x=void 0!==O&&O,S=m.container,k=m.disableAutoFocus,j=void 0!==k&&k,C=m.disableBackdropClick,P=void 0!==C&&C,R=m.disableEnforceFocus,A=void 0!==R&&R,M=m.disableEscapeKeyDown,D=void 0!==M&&M,N=m.disablePortal,F=void 0!==N&&N,I=m.disableRestoreFocus,L=void 0!==I&&I,z=m.disableScrollLock,W=void 0!==z&&z,U=m.hideBackdrop,B=void 0!==U&&U,V=m.keepMounted,H=void 0!==V&&V,Y=m.manager,$=void 0===Y?T:Y,q=m.onBackdropClick,G=m.onClose,K=m.onEscapeKeyDown,X=m.onRendered,Q=m.open,Z=Object(r.a)(m,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),J=o.useState(!0),ee=J[0],te=J[1],ne=o.useRef({}),re=o.useRef(null),ie=o.useRef(null),oe=Object(d.a)(ie,t),ae=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(m),ue=function(){return Object(c.a)(re.current)},se=function(){return ne.current.modalRef=ie.current,ne.current.mountNode=re.current,ne.current},ce=function(){$.mount(se(),{disableScrollLock:W}),ie.current.scrollTop=0},le=Object(p.a)((function(){var e=function(e){return e="function"===typeof e?e():e,a.findDOMNode(e)}(S)||ue().body;$.add(se(),e),ie.current&&ce()})),fe=o.useCallback((function(){return $.isTopModal(se())}),[$]),de=Object(p.a)((function(e){re.current=e,e&&(X&&X(),Q&&fe()?ce():g(ie.current,!0))})),pe=o.useCallback((function(){$.remove(se())}),[$]);if(o.useEffect((function(){return function(){pe()}}),[pe]),o.useEffect((function(){Q?le():ae&&x||pe()}),[Q,pe,ae,x,le]),!H&&!Q&&(!ae||ee))return null;var he=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:h.a}),me={};return void 0===w.props.tabIndex&&(me.tabIndex=w.props.tabIndex||"-1"),ae&&(me.onEnter=Object(f.a)((function(){te(!1)}),w.props.onEnter),me.onExited=Object(f.a)((function(){te(!0),x&&pe()}),w.props.onExited)),o.createElement(l.a,{ref:de,container:S,disablePortal:F},o.createElement("div",Object(i.a)({ref:oe,onKeyDown:function(e){"Escape"===e.key&&fe()&&(K&&K(e),D||(e.stopPropagation(),G&&G(e,"escapeKeyDown")))},role:"presentation"},Z,{style:Object(i.a)({},he.root,!Q&&ee?he.hidden:{},Z.style)}),B?null:o.createElement(b,Object(i.a)({open:Q,onClick:function(e){e.target===e.currentTarget&&(q&&q(e),!P&&G&&G(e,"backdropClick"))}},y)),o.createElement(E.a,{disableEnforceFocus:A,disableAutoFocus:j,disableRestoreFocus:L,getDoc:ue,isEnabled:fe,open:Q},o.cloneElement(w,me))))}));t.a=C},function(e,t,n){"use strict";var r=n(24),i=n(77),o=(n(3),n(0)),a=n.n(o),u=n(17),s=n.n(u),c=!1,l=n(104),f="unmounted",d="exited",p="entering",h="entered",m="exiting",v=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=d,r.appearStatus=p):i=h:i=t.unmountOnExit||t.mountOnEnter?f:d,r.state={status:i},r.nextCallback=null,r}Object(i.a)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===f?{status:d}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==p&&n!==h&&(t=p):n!==p&&n!==h||(t=m)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===p?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===d&&this.setState({status:f})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[s.a.findDOMNode(this),r],o=i[0],a=i[1],u=this.getTimeouts(),l=r?u.appear:u.enter;!e&&!n||c?this.safeSetState({status:h},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:p},(function(){t.props.onEntering(o,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:h},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:s.a.findDOMNode(this);t&&!c?(this.props.onExit(r),this.safeSetState({status:m},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:d},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:d},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:s.a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===f)return null;var t=this.props,n=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Object(r.a)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.a.createElement(l.a.Provider,{value:null},"function"===typeof n?n(e,i):a.a.cloneElement(a.a.Children.only(n),i))},t}(a.a.Component);function b(){}v.contextType=l.a,v.propTypes={},v.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:b,onEntering:b,onEntered:b,onExit:b,onExiting:b,onExited:b},v.UNMOUNTED=f,v.EXITED=d,v.ENTERING=p,v.ENTERED=h,v.EXITING=m;t.a=v},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";var r=n(38);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}if(o){var u=e.indexOf("#");-1!==u&&(e=e.slice(0,u)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){var r=n(38),i=n(338),o={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u={adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n(288)),e}(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(o)})),e.exports=u}).call(this,n(287))},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var s,c=[],l=!1,f=-1;function d(){l&&s&&(l=!1,s.length?c=s.concat(c):f=-1,c.length&&p())}function p(){if(!l){var e=u(d);l=!0;for(var t=c.length;t;){for(s=c,c=[];++f<t;)s&&s[f].run();f=-1,t=c.length}s=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||l||u(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(38),i=n(339),o=n(341),a=n(284),u=n(342),s=n(345),c=n(346),l=n(289);e.exports=function(e){return new Promise((function(t,n){var f=e.data,d=e.headers;r.isFormData(f)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(h+":"+m)}var v=u(e.baseURL,e.url);if(p.open(e.method.toUpperCase(),a(v,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in p?s(p.getAllResponseHeaders()):null,o={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:r,config:e,request:p};i(t,n,o),p=null}},p.onabort=function(){p&&(n(l("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(l("Network Error",e,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(l(t,e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var b=(e.withCredentials||c(v))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;b&&(d[e.xsrfHeaderName]=b)}if("setRequestHeader"in p&&r.forEach(d,(function(e,t){"undefined"===typeof f&&"content-type"===t.toLowerCase()?delete d[t]:p.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),e.responseType)try{p.responseType=e.responseType}catch(y){if("json"!==e.responseType)throw y}"function"===typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),n(e),p=null)})),f||(f=null),p.send(f)}))}},function(e,t,n){"use strict";var r=n(340);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},function(e,t,n){"use strict";var r=n(38);e.exports=function(e,t){t=t||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],u=["validateStatus"];function s(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function c(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=s(void 0,e[i])):n[i]=s(e[i],t[i])}r.forEach(i,(function(e){r.isUndefined(t[e])||(n[e]=s(void 0,t[e]))})),r.forEach(o,c),r.forEach(a,(function(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=s(void 0,e[i])):n[i]=s(void 0,t[i])})),r.forEach(u,(function(r){r in t?n[r]=s(e[r],t[r]):r in e&&(n[r]=s(void 0,e[r]))}));var l=i.concat(o).concat(a).concat(u),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===l.indexOf(e)}));return r.forEach(f,c),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,"a",(function(){return r}))},function(e,t,n){e.exports=n(333)},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return fe}));var r=n(3),i=n.n(r),o=n(298),a=n.n(o),u=n(299),s=n.n(u),c=n(0),l=n.n(c),f=n(131),d=n.n(f),p="bodyAttributes",h="htmlAttributes",m="titleAttributes",v={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},b=(Object.keys(v).map((function(e){return v[e]})),"charset"),y="cssText",g="href",w="http-equiv",O="innerHTML",x="itemprop",S="name",k="property",E="rel",j="src",_="target",T={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},C="defaultTitle",P="defer",R="encodeSpecialCharacters",A="onChangeClientState",M="titleTemplate",D=Object.keys(T).reduce((function(e,t){return e[T[t]]=t,e}),{}),N=[v.NOSCRIPT,v.SCRIPT,v.STYLE],F="data-react-helmet",I="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},z=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},U=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},B=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},V=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},H=function(e){var t=K(e,v.TITLE),n=K(e,M);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=K(e,C);return t||r||void 0},Y=function(e){return K(e,A)||function(){}},$=function(e,t){return t.filter((function(t){return"undefined"!==typeof t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return W({},e,t)}),{})},q=function(e,t){return t.filter((function(e){return"undefined"!==typeof e[v.BASE]})).map((function(e){return e[v.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=r[i].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},G=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||("undefined"!==typeof t[e]&&ee("Helmet: "+e+' should be of type "Array". Instead found type "'+I(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var i={};n.filter((function(e){for(var n=void 0,o=Object.keys(e),a=0;a<o.length;a++){var u=o[a],s=u.toLowerCase();-1===t.indexOf(s)||n===E&&"canonical"===e[n].toLowerCase()||s===E&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(u)||u!==O&&u!==y&&u!==x||(n=u)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][c]&&(i[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(i),a=0;a<o.length;a++){var u=o[a],s=d()({},r[u],i[u]);r[u]=s}return e}),[]).reverse()},K=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},X=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout((function(){X(t)}),0)}}(),Q=function(e){return clearTimeout(e)},Z="undefined"!==typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||X:e.requestAnimationFrame||X,J="undefined"!==typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Q:e.cancelAnimationFrame||Q,ee=function(e){return console&&"function"===typeof console.warn&&console.warn(e)},te=null,ne=function(e,t){var n=e.baseTag,r=e.bodyAttributes,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,u=e.noscriptTags,s=e.onChangeClientState,c=e.scriptTags,l=e.styleTags,f=e.title,d=e.titleAttributes;oe(v.BODY,r),oe(v.HTML,i),ie(f,d);var p={baseTag:ae(v.BASE,n),linkTags:ae(v.LINK,o),metaTags:ae(v.META,a),noscriptTags:ae(v.NOSCRIPT,u),scriptTags:ae(v.SCRIPT,c),styleTags:ae(v.STYLE,l)},h={},m={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(m[e]=p[e].oldTags)})),t&&t(),s(e,h,m)},re=function(e){return Array.isArray(e)?e.join(""):e},ie=function(e,t){"undefined"!==typeof e&&document.title!==e&&(document.title=re(e)),oe(v.TITLE,t)},oe=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(F),i=r?r.split(","):[],o=[].concat(i),a=Object.keys(t),u=0;u<a.length;u++){var s=a[u],c=t[s]||"";n.getAttribute(s)!==c&&n.setAttribute(s,c),-1===i.indexOf(s)&&i.push(s);var l=o.indexOf(s);-1!==l&&o.splice(l,1)}for(var f=o.length-1;f>=0;f--)n.removeAttribute(o[f]);i.length===o.length?n.removeAttribute(F):n.getAttribute(F)!==a.join(",")&&n.setAttribute(F,a.join(","))}},ae=function(e,t){var n=document.head||document.querySelector(v.HEAD),r=n.querySelectorAll(e+"["+"data-react-helmet]"),i=Array.prototype.slice.call(r),o=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===O)n.innerHTML=t.innerHTML;else if(r===y)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var u="undefined"===typeof t[r]?"":t[r];n.setAttribute(r,u)}n.setAttribute(F,"true"),i.some((function(e,t){return a=t,n.isEqualNode(e)}))?i.splice(a,1):o.push(n)})),i.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return n.appendChild(e)})),{oldTags:i,newTags:o}},ue=function(e){return Object.keys(e).reduce((function(t,n){var r="undefined"!==typeof e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},se=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[T[n]||n]=e[n],t}),t)},ce=function(e,t,n){switch(e){case v.TITLE:return{toComponent:function(){return function(e,t,n){var r,i=((r={key:t})[F]=!0,r),o=se(n,i);return[l.a.createElement(v.TITLE,o,t)]}(0,t.title,t.titleAttributes)},toString:function(){return function(e,t,n,r){var i=ue(n),o=re(t);return i?"<"+e+' data-react-helmet="true" '+i+">"+V(o,r)+"</"+e+">":"<"+e+' data-react-helmet="true">'+V(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case p:case h:return{toComponent:function(){return se(t)},toString:function(){return ue(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,i=((r={key:n})[F]=!0,r);return Object.keys(t).forEach((function(e){var n=T[e]||e;if(n===O||n===y){var r=t.innerHTML||t.cssText;i.dangerouslySetInnerHTML={__html:r}}else i[n]=t[e]})),l.a.createElement(e,i)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!(e===O||e===y)})).reduce((function(e,t){var i="undefined"===typeof r[t]?t:t+'="'+V(r[t],n)+'"';return e?e+" "+i:i}),""),o=r.innerHTML||r.cssText||"",a=-1===N.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+i+(a?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},le=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,u=e.noscriptTags,s=e.scriptTags,c=e.styleTags,l=e.title,f=void 0===l?"":l,d=e.titleAttributes;return{base:ce(v.BASE,t,r),bodyAttributes:ce(p,n,r),htmlAttributes:ce(h,i,r),link:ce(v.LINK,o,r),meta:ce(v.META,a,r),noscript:ce(v.NOSCRIPT,u,r),script:ce(v.SCRIPT,s,r),style:ce(v.STYLE,c,r),title:ce(v.TITLE,{title:f,titleAttributes:d},r)}},fe=function(e){var t,n;return n=t=function(t){function n(){return L(this,n),B(this,t.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),n.prototype.shouldComponentUpdate=function(e){return!s()(this.props,e)},n.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case v.SCRIPT:case v.NOSCRIPT:return{innerHTML:t};case v.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},n.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,i=e.newChildProps,o=e.nestedChildren;return W({},r,((t={})[n.type]=[].concat(r[n.type]||[],[W({},i,this.mapNestedChildrenToProps(n,o))]),t))},n.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(r.type){case v.TITLE:return W({},i,((t={})[r.type]=a,t.titleAttributes=W({},o),t));case v.BODY:return W({},i,{bodyAttributes:W({},o)});case v.HTML:return W({},i,{htmlAttributes:W({},o)})}return W({},i,((n={})[r.type]=W({},o),n))},n.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=W({},t);return Object.keys(e).forEach((function(t){var r;n=W({},n,((r={})[t]=e[t],r))})),n},n.prototype.warnOnInvalidChildren=function(e,t){return!0},n.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return l.a.Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,o=i.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[D[n]||n]=e[n],t}),t)}(U(i,["children"]));switch(n.warnOnInvalidChildren(e,o),e.type){case v.LINK:case v.META:case v.NOSCRIPT:case v.SCRIPT:case v.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:a,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:o})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},n.prototype.render=function(){var t=this.props,n=t.children,r=U(t,["children"]),i=W({},r);return n&&(i=this.mapChildrenToProps(n,i)),l.a.createElement(e,i)},z(n,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),n}(l.a.Component),t.propTypes={base:i.a.object,bodyAttributes:i.a.object,children:i.a.oneOfType([i.a.arrayOf(i.a.node),i.a.node]),defaultTitle:i.a.string,defer:i.a.bool,encodeSpecialCharacters:i.a.bool,htmlAttributes:i.a.object,link:i.a.arrayOf(i.a.object),meta:i.a.arrayOf(i.a.object),noscript:i.a.arrayOf(i.a.object),onChangeClientState:i.a.func,script:i.a.arrayOf(i.a.object),style:i.a.arrayOf(i.a.object),title:i.a.string,titleAttributes:i.a.object,titleTemplate:i.a.string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=le({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},n}(a()((function(e){return{baseTag:q([g,_],e),bodyAttributes:$(p,e),defer:K(e,P),encode:K(e,R),htmlAttributes:$(h,e),linkTags:G(v.LINK,[E,g],e),metaTags:G(v.META,[S,b,w,k,x],e),noscriptTags:G(v.NOSCRIPT,[O],e),onChangeClientState:Y(e),scriptTags:G(v.SCRIPT,[j,O],e),styleTags:G(v.STYLE,[y],e),title:H(e),titleAttributes:$(m,e)}}),(function(e){te&&J(te),e.defer?te=Z((function(){ne(e,(function(){te=null}))})):(ne(e),te=null)}),le)((function(){return null})));fe.renderStatic=fe.rewind}).call(this,n(177))},function(e,t,n){"use strict";var r,i=n(0),o=(r=i)&&"object"===typeof r&&"default"in r?r.default:r;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=!("undefined"===typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!==typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!==typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if("undefined"!==typeof n&&"function"!==typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!==typeof r)throw new Error("Expected WrappedComponent to be a React component.");var s,c=[];function l(){s=e(c.map((function(e){return e.props}))),f.canUseDOM?t(s):n&&(s=n(s))}var f=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.peek=function(){return s},i.rewind=function(){if(i.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=s;return s=void 0,c=[],e};var a=i.prototype;return a.UNSAFE_componentWillMount=function(){c.push(this),l()},a.componentDidUpdate=function(){l()},a.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),l()},a.render=function(){return o.createElement(r,this.props)},i}(i.PureComponent);return a(f,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),a(f,"canUseDOM",u),f}}},function(e,t){var n="undefined"!==typeof Element,r="function"===typeof Map,i="function"===typeof Set,o="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var u,s,c,l;if(Array.isArray(e)){if((u=e.length)!=t.length)return!1;for(s=u;0!==s--;)if(!a(e[s],t[s]))return!1;return!0}if(r&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(l=e.entries();!(s=l.next()).done;)if(!t.has(s.value[0]))return!1;for(l=e.entries();!(s=l.next()).done;)if(!a(s.value[1],t.get(s.value[0])))return!1;return!0}if(i&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(l=e.entries();!(s=l.next()).done;)if(!t.has(s.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((u=e.length)!=t.length)return!1;for(s=u;0!==s--;)if(e[s]!==t[s])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if((u=(c=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(s=u;0!==s--;)if(!Object.prototype.hasOwnProperty.call(t,c[s]))return!1;if(n&&e instanceof Element)return!1;for(s=u;0!==s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!e.$$typeof)&&!a(e[c[s]],t[c[s]]))return!1;return!0}return e!==e&&t!==t}e.exports=function(e,t){try{return a(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},function(e,t,n){"use strict";t.a=function(){return!1}},function(e,t,n){"use strict";(function(e){var r=n(23),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.a.Buffer:void 0,u=a?a.allocUnsafe:void 0;t.a=function(e,t){if(t)return e.slice();var n=e.length,r=u?u(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(178)(e))},function(e,t){function n(e,t){var n=e.length,r=new Array(n),i={},o=n,a=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var i=e[n];t.has(i[0])||t.set(i[0],new Set),t.has(i[1])||t.set(i[1],new Set),t.get(i[0]).add(i[1])}return t}(t),u=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach((function(e){if(!u.has(e[0])||!u.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));o--;)i[o]||s(e[o],o,new Set);return r;function s(e,t,o){if(o.has(e)){var c;try{c=", node was:"+JSON.stringify(e)}catch(d){c=""}throw new Error("Cyclic dependency"+c)}if(!u.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!i[t]){i[t]=!0;var l=a.get(e)||new Set;if(t=(l=Array.from(l)).length){o.add(e);do{var f=l[--t];s(f,u.get(f),o)}while(t);o.delete(e)}r[--n]=e}}}e.exports=function(e){return n(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var i=e[n];t.add(i[0]),t.add(i[1])}return Array.from(t)}(e),e)},e.exports.array=n},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(2),i=n(4),o=n(0),a=(n(3),n(150)),u=n(6),s=n(42),c=n(39),l=n(149),f=n(317),d=function(e){return{root:{},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",borderRadius:0,minWidth:16,cursor:"pointer","&:focus":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:e.palette.background.paper},"&&":{paddingRight:24}},filled:{"&&":{paddingRight:32}},outlined:{borderRadius:e.shape.borderRadius,"&&":{paddingRight:32}},selectMenu:{height:"auto",minHeight:"1.1876em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",pointerEvents:"none",color:e.palette.action.active,"&$disabled":{color:e.palette.action.disabled}},iconOpen:{transform:"rotate(180deg)"},iconFilled:{right:7},iconOutlined:{right:7},nativeInput:{bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%"}}},p=o.createElement(f.a,null),h=o.forwardRef((function(e,t){var n=e.children,u=e.classes,f=e.IconComponent,d=void 0===f?l.a:f,h=e.input,m=void 0===h?p:h,v=e.inputProps,b=(e.variant,Object(i.a)(e,["children","classes","IconComponent","input","inputProps","variant"])),y=Object(c.a)(),g=Object(s.a)({props:e,muiFormControl:y,states:["variant"]});return o.cloneElement(m,Object(r.a)({inputComponent:a.a,inputProps:Object(r.a)({children:n,classes:u,IconComponent:d,variant:g.variant,type:void 0},v,m?m.props.inputProps:{}),ref:t},b))}));h.muiName="Select";Object(u.a)(d,{name:"MuiNativeSelect"})(h)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(53),n(3),n(5)),u=n(6),s=n(366),c=n(367),l=n(17),f=n(71),d=n(28),p={vertical:"top",horizontal:"right"},h={vertical:"top",horizontal:"left"},m=o.forwardRef((function(e,t){var n=e.autoFocus,u=void 0===n||n,m=e.children,v=e.classes,b=e.disableAutoFocusItem,y=void 0!==b&&b,g=e.MenuListProps,w=void 0===g?{}:g,O=e.onClose,x=e.onEntering,S=e.open,k=e.PaperProps,E=void 0===k?{}:k,j=e.PopoverClasses,_=e.transitionDuration,T=void 0===_?"auto":_,C=e.TransitionProps,P=(C=void 0===C?{}:C).onEntering,R=Object(i.a)(C,["onEntering"]),A=e.variant,M=void 0===A?"selectedMenu":A,D=Object(i.a)(e,["autoFocus","children","classes","disableAutoFocusItem","MenuListProps","onClose","onEntering","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"]),N=Object(d.a)(),F=u&&!y&&S,I=o.useRef(null),L=o.useRef(null),z=-1;o.Children.map(m,(function(e,t){o.isValidElement(e)&&(e.props.disabled||("menu"!==M&&e.props.selected||-1===z)&&(z=t))}));var W=o.Children.map(m,(function(e,t){return t===z?o.cloneElement(e,{ref:function(t){L.current=l.findDOMNode(t),Object(f.a)(e.ref,t)}}):e}));return o.createElement(s.a,Object(r.a)({getContentAnchorEl:function(){return L.current},classes:j,onClose:O,TransitionProps:Object(r.a)({onEntering:function(e,t){I.current&&I.current.adjustStyleForScrollbar(e,N),x&&x(e,t),P&&P(e,t)}},R),anchorOrigin:"rtl"===N.direction?p:h,transformOrigin:"rtl"===N.direction?p:h,PaperProps:Object(r.a)({},E,{classes:Object(r.a)({},E.classes,{root:v.paper})}),open:S,ref:t,transitionDuration:T},D),o.createElement(c.a,Object(r.a)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),O&&O(e,"tabKeyDown"))},actions:I,autoFocus:u&&(-1===z||y),autoFocusItem:F,variant:M},w,{className:Object(a.a)(v.list,w.className)}),W))}));t.a=Object(u.a)({paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"},list:{outline:0}},{name:"MuiMenu"})(m)},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var a=i.apply(null,r);a&&e.push(a)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var u in r)n.call(r,u)&&r[u]&&e.push(u);else e.push(r.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";(function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}var n={size:{configurable:!0}};return n.size.get=function(){return this.__entries__.length},t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n+=1){var i=r[n];e.call(t,i[1],i[0])}},Object.defineProperties(t.prototype,n),t}()}(),r="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i="undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")(),o="function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},a=["top","right","bottom","left","width","height","size","weight"],u="undefined"!==typeof MutationObserver,s=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function a(){n&&(n=!1,e()),r&&s()}function u(){o(a)}function s(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(u,t);i=e}return s}(this.refresh.bind(this),20)};s.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},s.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},s.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},s.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},s.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},s.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},s.prototype.onTransitionEnd_=function(e){var t=e.propertyName;void 0===t&&(t=""),a.some((function(e){return!!~t.indexOf(e)}))&&this.refresh()},s.getInstance=function(){return this.instance_||(this.instance_=new s),this.instance_},s.instance_=null;var c=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n+=1){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},l=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},f=b(0,0,0,0);function d(e){return parseFloat(e)||0}function p(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}function h(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return f;var r=l(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n+=1){var i=r[n],o=e["padding-"+i];t[i]=d(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,u=d(r.width),s=d(r.height);if("border-box"===r.boxSizing&&(Math.round(u+o)!==t&&(u-=p(r,"left","right")+o),Math.round(s+a)!==n&&(s-=p(r,"top","bottom")+a)),!function(e){return e===l(e).document.documentElement}(e)){var c=Math.round(u+o)-t,h=Math.round(s+a)-n;1!==Math.abs(c)&&(u-=c),1!==Math.abs(h)&&(s-=h)}return b(i.left,i.top,u,s)}var m="undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof l(e).SVGGraphicsElement}:function(e){return e instanceof l(e).SVGElement&&"function"===typeof e.getBBox};function v(e){return r?m(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):h(e):f}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var y=function(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e};y.prototype.isActive=function(){var e=v(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},y.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e};var g=function(e,t){var n=function(e){var t=e.x,n=e.y,r=e.width,i=e.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return c(a,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),a}(t);c(this,{target:e,contentRect:n})},w=function(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r};w.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof l(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new y(e)),this.controller_.addObserver(this),this.controller_.refresh())}},w.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof l(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},w.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},w.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},w.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new g(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},w.prototype.clearActive=function(){this.activeObservations_.splice(0)},w.prototype.hasActive=function(){return this.activeObservations_.length>0};var O="undefined"!==typeof WeakMap?new WeakMap:new n,x=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=s.getInstance(),r=new w(t,n,this);O.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){x.prototype[e]=function(){return(t=O.get(this))[e].apply(t,arguments);var t}}));var S="undefined"!==typeof i.ResizeObserver?i.ResizeObserver:x;t.a=S}).call(this,n(177))},function(e,t){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),s=0;s<o.length;s++){var c=o[s];if(!u(c))return!1;var l=e[c],f=t[c];if(!1===(i=n?n.call(r,l,f,c):void 0)||void 0===i&&l!==f)return!1}return!0}},function(e,t,n){"use strict";t.a=function(e){function t(e,r,s,c,d){for(var p,h,m,v,w,x=0,S=0,k=0,E=0,j=0,A=0,D=m=p=0,F=0,I=0,L=0,z=0,W=s.length,U=W-1,B="",V="",H="",Y="";F<W;){if(h=s.charCodeAt(F),F===U&&0!==S+E+k+x&&(0!==S&&(h=47===S?10:47),E=k=x=0,W++,U++),0===S+E+k+x){if(F===U&&(0<I&&(B=B.replace(f,"")),0<B.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:B+=s.charAt(F)}h=59}switch(h){case 123:for(p=(B=B.trim()).charCodeAt(0),m=1,z=++F;F<W;){switch(h=s.charCodeAt(F)){case 123:m++;break;case 125:m--;break;case 47:switch(h=s.charCodeAt(F+1)){case 42:case 47:e:{for(D=F+1;D<U;++D)switch(s.charCodeAt(D)){case 47:if(42===h&&42===s.charCodeAt(D-1)&&F+2!==D){F=D+1;break e}break;case 10:if(47===h){F=D+1;break e}}F=D}}break;case 91:h++;case 40:h++;case 34:case 39:for(;F++<U&&s.charCodeAt(F)!==h;);}if(0===m)break;F++}switch(m=s.substring(z,F),0===p&&(p=(B=B.replace(l,"").trim()).charCodeAt(0)),p){case 64:switch(0<I&&(B=B.replace(f,"")),h=B.charCodeAt(1)){case 100:case 109:case 115:case 45:I=r;break;default:I=R}if(z=(m=t(r,I,m,h,d+1)).length,0<M&&(w=u(3,m,I=n(R,B,L),r,T,_,z,h,d,c),B=I.join(""),void 0!==w&&0===(z=(m=w.trim()).length)&&(h=0,m="")),0<z)switch(h){case 115:B=B.replace(O,a);case 100:case 109:case 45:m=B+"{"+m+"}";break;case 107:m=(B=B.replace(b,"$1 $2"))+"{"+m+"}",m=1===P||2===P&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=B+m,112===c&&(V+=m,m="")}else m="";break;default:m=t(r,n(r,B,L),m,c,d+1)}H+=m,m=L=I=D=p=0,B="",h=s.charCodeAt(++F);break;case 125:case 59:if(1<(z=(B=(0<I?B.replace(f,""):B).trim()).length))switch(0===D&&(p=B.charCodeAt(0),45===p||96<p&&123>p)&&(z=(B=B.replace(" ",":")).length),0<M&&void 0!==(w=u(1,B,r,e,T,_,V.length,c,d,c))&&0===(z=(B=w.trim()).length)&&(B="\0\0"),p=B.charCodeAt(0),h=B.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){Y+=B+s.charAt(F);break}default:58!==B.charCodeAt(z-1)&&(V+=i(B,p,h,B.charCodeAt(2)))}L=I=D=p=0,B="",h=s.charCodeAt(++F)}}switch(h){case 13:case 10:47===S?S=0:0===1+p&&107!==c&&0<B.length&&(I=1,B+="\0"),0<M*N&&u(0,B,r,e,T,_,V.length,c,d,c),_=1,T++;break;case 59:case 125:if(0===S+E+k+x){_++;break}default:switch(_++,v=s.charAt(F),h){case 9:case 32:if(0===E+x+S)switch(j){case 44:case 58:case 9:case 32:v="";break;default:32!==h&&(v=" ")}break;case 0:v="\\0";break;case 12:v="\\f";break;case 11:v="\\v";break;case 38:0===E+S+x&&(I=L=1,v="\f"+v);break;case 108:if(0===E+S+x+C&&0<D)switch(F-D){case 2:112===j&&58===s.charCodeAt(F-3)&&(C=j);case 8:111===A&&(C=A)}break;case 58:0===E+S+x&&(D=F);break;case 44:0===S+k+E+x&&(I=1,v+="\r");break;case 34:case 39:0===S&&(E=E===h?0:0===E?h:E);break;case 91:0===E+S+k&&x++;break;case 93:0===E+S+k&&x--;break;case 41:0===E+S+x&&k--;break;case 40:if(0===E+S+x){if(0===p)switch(2*j+3*A){case 533:break;default:p=1}k++}break;case 64:0===S+k+E+x+D+m&&(m=1);break;case 42:case 47:if(!(0<E+x+k))switch(S){case 0:switch(2*h+3*s.charCodeAt(F+1)){case 235:S=47;break;case 220:z=F,S=42}break;case 42:47===h&&42===j&&z+2!==F&&(33===s.charCodeAt(z+2)&&(V+=s.substring(z,F+1)),v="",S=0)}}0===S&&(B+=v)}A=j,j=h,F++}if(0<(z=V.length)){if(I=r,0<M&&(void 0!==(w=u(2,V,I,e,T,_,z,c,d,c))&&0===(V=w).length))return Y+V+H;if(V=I.join(",")+"{"+V+"}",0!==P*C){switch(2!==P||o(V,2)||(C=0),C){case 111:V=V.replace(g,":-moz-$1")+V;break;case 112:V=V.replace(y,"::-webkit-input-$1")+V.replace(y,"::-moz-$1")+V.replace(y,":-ms-input-$1")+V}C=0}}return Y+V+H}function n(e,t,n){var i=t.trim().split(m);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var u=0;for(e=0===a?"":e[0]+" ";u<o;++u)t[u]=r(e,t[u],n).trim();break;default:var s=u=0;for(t=[];u<o;++u)for(var c=0;c<a;++c)t[s++]=r(e[c]+" ",i[u],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(v,"$1"+e.trim());case 58:return e.trim()+t.replace(v,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(v,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,n,r){var a=e+";",u=2*t+3*n+4*r;if(944===u){e=a.indexOf(":",9)+1;var s=a.substring(e,a.length-1).trim();return s=a.substring(0,e).trim()+s+";",1===P||2===P&&o(s,1)?"-webkit-"+s+s:s}if(0===P||2===P&&!o(a,1))return a;switch(u){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(j,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(s=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+s+a;case 1005:return p.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(t=(s=a.substring(13).trim()).indexOf("-")+1,s.charCodeAt(0)+s.charCodeAt(t)){case 226:s=a.replace(w,"tb");break;case 232:s=a.replace(w,"tb-rl");break;case 220:s=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+s+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,u=(s=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|s.charCodeAt(7))){case 203:if(111>s.charCodeAt(8))break;case 115:a=a.replace(s,"-webkit-"+s)+";"+a;break;case 207:case 102:a=a.replace(s,"-webkit-"+(102<u?"inline-":"")+"box")+";"+a.replace(s,"-webkit-"+s)+";"+a.replace(s,"-ms-"+s+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return s=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+s+"-ms-flex-"+s+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(S,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(S,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===E.test(e))return 115===(s=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(s,"-webkit-"+s)+a.replace(s,"-moz-"+s.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),D(2!==t?r:r.replace(k,"$1"),n,t)}function a(e,t){var n=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(x," or ($1)").substring(4):"("+t+")"}function u(e,t,n,r,i,o,a,u,s,l){for(var f,d=0,p=t;d<M;++d)switch(f=A[d].call(c,e,p,n,r,i,o,a,u,s,l)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function s(e){return void 0!==(e=e.prefix)&&(D=null,e?"function"!==typeof e?P=1:(P=2,D=e):P=0),s}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<M){var i=u(-1,n,r,r,T,_,0,0,0,0);void 0!==i&&"string"===typeof i&&(n=i)}var o=t(R,r,n,0,0);return 0<M&&(void 0!==(i=u(-2,o,r,r,T,_,o.length,0,0,0))&&(o=i)),"",C=0,_=T=1,o}var l=/^\0+/g,f=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,v=/([\t\r\n ])*\f?&/g,b=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,g=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,O=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,S=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,E=/stretch|:\s*\w+\-(?:conte|avail)/,j=/([^-])(image-set\()/,_=1,T=1,C=0,P=1,R=[],A=[],M=0,D=null,N=0;return c.use=function e(t){switch(t){case void 0:case null:M=A.length=0;break;default:if("function"===typeof t)A[M++]=t;else if("object"===typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else N=0|!!t}return e},c.set=s,void 0!==e&&s(e),c}},function(e,t,n){"use strict";t.a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},function(e,t,n){"use strict";var r=n(115);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(0)),o=(0,r(n(130)).default)(i.default.createElement("path",{d:"M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z"}),"School");t.default=o},function(e,t,n){"use strict";var r=n(115);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(0)),o=(0,r(n(130)).default)(i.default.createElement("path",{d:"M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5z"}),"PanTool");t.default=o},function(e,t,n){"use strict";var r=n(115);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(0)),o=(0,r(n(130)).default)(i.default.createElement("path",{d:"M15 11V5l-3-3-3 3v2H3v14h18V11h-6zm-8 8H5v-2h2v2zm0-4H5v-2h2v2zm0-4H5V9h2v2zm6 8h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V9h2v2zm0-4h-2V5h2v2zm6 12h-2v-2h2v2zm0-4h-2v-2h2v2z"}),"LocationCity");t.default=o},function(e,t,n){"use strict";var r=n(10),i=n(4),o=n(355),a=n(47),u=n(2);function s(e,t,n){var i;return Object(u.a)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),Object(u.a)({paddingLeft:t(2),paddingRight:t(2)},n,Object(r.a)({},e.up("sm"),Object(u.a)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(i={minHeight:56},Object(r.a)(i,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),Object(r.a)(i,e.up("sm"),{minHeight:64}),i)},n)}var c=n(183),l=n(78),f=n(85),d=n(86),p=n(87),h=n(88),m=n(89),v=n(90),b=n(91),y=n(16),g={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:l.a.white,default:f.a[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},w={text:{primary:l.a.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:f.a[800],default:"#303030"},action:{active:l.a.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function O(e,t,n,r){var i=r.light||r,o=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Object(y.e)(e.main,i):"dark"===t&&(e.dark=Object(y.b)(e.main,o)))}function x(e){var t=e.primary,n=void 0===t?{light:d.a[300],main:d.a[500],dark:d.a[700]}:t,r=e.secondary,a=void 0===r?{light:p.a.A200,main:p.a.A400,dark:p.a.A700}:r,s=e.error,x=void 0===s?{light:h.a[300],main:h.a[500],dark:h.a[700]}:s,S=e.warning,k=void 0===S?{light:m.a[300],main:m.a[500],dark:m.a[700]}:S,E=e.info,j=void 0===E?{light:v.a[300],main:v.a[500],dark:v.a[700]}:E,_=e.success,T=void 0===_?{light:b.a[300],main:b.a[500],dark:b.a[700]}:_,C=e.type,P=void 0===C?"light":C,R=e.contrastThreshold,A=void 0===R?3:R,M=e.tonalOffset,D=void 0===M?.2:M,N=Object(i.a)(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function F(e){return Object(y.d)(e,w.text.primary)>=A?w.text.primary:g.text.primary}var I=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=Object(u.a)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(Object(c.a)(4,t));if("string"!==typeof e.main)throw new Error(Object(c.a)(5,JSON.stringify(e.main)));return O(e,"light",n,D),O(e,"dark",r,D),e.contrastText||(e.contrastText=F(e.main)),e},L={dark:w,light:g};return Object(o.a)(Object(u.a)({common:l.a,type:P,primary:I(n),secondary:I(a,"A400","A200","A700"),error:I(x),warning:I(k),info:I(j),success:I(T),grey:f.a,contrastThreshold:A,getContrastText:F,augmentColor:I,tonalOffset:D},L[P]),N)}function S(e){return Math.round(1e5*e)/1e5}function k(e){return S(e)}var E={textTransform:"uppercase"},j='"Roboto", "Helvetica", "Arial", sans-serif';function _(e,t){var n="function"===typeof t?t(e):t,r=n.fontFamily,a=void 0===r?j:r,s=n.fontSize,c=void 0===s?14:s,l=n.fontWeightLight,f=void 0===l?300:l,d=n.fontWeightRegular,p=void 0===d?400:d,h=n.fontWeightMedium,m=void 0===h?500:h,v=n.fontWeightBold,b=void 0===v?700:v,y=n.htmlFontSize,g=void 0===y?16:y,w=n.allVariants,O=n.pxToRem,x=Object(i.a)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var _=c/14,T=O||function(e){return"".concat(e/g*_,"rem")},C=function(e,t,n,r,i){return Object(u.a)({fontFamily:a,fontWeight:e,fontSize:T(t),lineHeight:n},a===j?{letterSpacing:"".concat(S(r/t),"em")}:{},i,w)},P={h1:C(f,96,1.167,-1.5),h2:C(f,60,1.2,-.5),h3:C(p,48,1.167,0),h4:C(p,34,1.235,.25),h5:C(p,24,1.334,0),h6:C(m,20,1.6,.15),subtitle1:C(p,16,1.75,.15),subtitle2:C(m,14,1.57,.1),body1:C(p,16,1.5,.15),body2:C(p,14,1.43,.15),button:C(m,14,1.75,.4,E),caption:C(p,12,1.66,.4),overline:C(p,12,2.66,1,E)};return Object(o.a)(Object(u.a)({htmlFontSize:g,pxToRem:T,round:k,fontFamily:a,fontSize:c,fontWeightLight:f,fontWeightRegular:p,fontWeightMedium:m,fontWeightBold:b},P),x,{clone:!1})}function T(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var C=["none",T(0,2,1,-1,0,1,1,0,0,1,3,0),T(0,3,1,-2,0,2,2,0,0,1,5,0),T(0,3,3,-2,0,3,4,0,0,1,8,0),T(0,2,4,-1,0,4,5,0,0,1,10,0),T(0,3,5,-1,0,5,8,0,0,1,14,0),T(0,3,5,-1,0,6,10,0,0,1,18,0),T(0,4,5,-2,0,7,10,1,0,2,16,1),T(0,5,5,-3,0,8,10,1,0,3,14,2),T(0,5,6,-3,0,9,12,1,0,3,16,2),T(0,6,6,-3,0,10,14,1,0,4,18,3),T(0,6,7,-4,0,11,15,1,0,4,20,3),T(0,7,8,-4,0,12,17,2,0,5,22,4),T(0,7,8,-4,0,13,19,2,0,5,24,4),T(0,7,9,-4,0,14,21,2,0,5,26,4),T(0,8,9,-5,0,15,22,2,0,6,28,5),T(0,8,10,-5,0,16,24,2,0,6,30,5),T(0,8,11,-5,0,17,26,2,0,6,32,5),T(0,9,11,-5,0,18,28,2,0,7,34,6),T(0,9,12,-6,0,19,29,2,0,7,36,6),T(0,10,13,-6,0,20,31,3,0,8,38,7),T(0,10,13,-6,0,21,33,3,0,8,40,7),T(0,10,14,-6,0,22,35,3,0,8,42,7),T(0,11,14,-7,0,23,36,3,0,9,44,8),T(0,11,15,-7,0,24,38,3,0,9,46,8)],P={borderRadius:4},R=n(435);function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=Object(R.a)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"===typeof e)return e;var n=t(e);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}var M=n(31),D=n(136);function N(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,u=void 0===r?{}:r,c=e.palette,l=void 0===c?{}:c,f=e.spacing,d=e.typography,p=void 0===d?{}:d,h=Object(i.a)(e,["breakpoints","mixins","palette","spacing","typography"]),m=x(l),v=Object(a.a)(n),b=A(f),y=Object(o.a)({breakpoints:v,direction:"ltr",mixins:s(v,b,u),overrides:{},palette:m,props:{},shadows:C,typography:_(m,p),spacing:b,shape:P,transitions:M.a,zIndex:D.a},h),g=arguments.length,w=new Array(g>1?g-1:0),O=1;O<g;O++)w[O-1]=arguments[O];return y=w.reduce((function(e,t){return Object(o.a)(e,t)}),y)}t.a=N},function(e,t,n){"use strict";function r(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var i,o=t.props[n];for(i in o)void 0===r[i]&&(r[i]=o[i]);return r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(6),s=n(316),c=o.forwardRef((function(e,t){var n=e.children,u=e.classes,c=e.className,l=e.invisible,f=void 0!==l&&l,d=e.open,p=e.transitionDuration,h=e.TransitionComponent,m=void 0===h?s.a:h,v=Object(i.a)(e,["children","classes","className","invisible","open","transitionDuration","TransitionComponent"]);return o.createElement(m,Object(r.a)({in:d,timeout:p},v),o.createElement("div",{className:Object(a.a)(u.root,c,f&&u.invisible),"aria-hidden":!0,ref:t},n))}));t.a=Object(u.a)({root:{zIndex:-1,position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(c)},function(e,t,n){"use strict";var r=n(2),i=n(51),o=n(4),a=n(0),u=(n(3),n(187)),s=n(31),c=n(28),l=n(45),f=n(13),d={entering:{opacity:1},entered:{opacity:1}},p={enter:s.b.enteringScreen,exit:s.b.leavingScreen},h=a.forwardRef((function(e,t){var n=e.children,s=e.disableStrictModeCompat,h=void 0!==s&&s,m=e.in,v=e.onEnter,b=e.onEntered,y=e.onEntering,g=e.onExit,w=e.onExited,O=e.onExiting,x=e.style,S=e.TransitionComponent,k=void 0===S?u.a:S,E=e.timeout,j=void 0===E?p:E,_=Object(o.a)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","TransitionComponent","timeout"]),T=Object(c.a)(),C=T.unstable_strictMode&&!h,P=a.useRef(null),R=Object(f.a)(n.ref,t),A=Object(f.a)(C?P:void 0,R),M=function(e){return function(t,n){if(e){var r=C?[P.current,t]:[t,n],o=Object(i.a)(r,2),a=o[0],u=o[1];void 0===u?e(a):e(a,u)}}},D=M(y),N=M((function(e,t){Object(l.b)(e);var n=Object(l.a)({style:x,timeout:j},{mode:"enter"});e.style.webkitTransition=T.transitions.create("opacity",n),e.style.transition=T.transitions.create("opacity",n),v&&v(e,t)})),F=M(b),I=M(O),L=M((function(e){var t=Object(l.a)({style:x,timeout:j},{mode:"exit"});e.style.webkitTransition=T.transitions.create("opacity",t),e.style.transition=T.transitions.create("opacity",t),g&&g(e)})),z=M(w);return a.createElement(k,Object(r.a)({appear:!0,in:m,nodeRef:C?P:void 0,onEnter:N,onEntered:F,onEntering:D,onExit:L,onExited:z,onExiting:I,timeout:j},_),(function(e,t){return a.cloneElement(n,Object(r.a)({style:Object(r.a)({opacity:0,visibility:"exited"!==e||m?void 0:"hidden"},d[e],x,n.props.style),ref:A},t))}))}));t.a=h},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(318),s=n(6),c=o.forwardRef((function(e,t){var n=e.disableUnderline,s=e.classes,c=e.fullWidth,l=void 0!==c&&c,f=e.inputComponent,d=void 0===f?"input":f,p=e.multiline,h=void 0!==p&&p,m=e.type,v=void 0===m?"text":m,b=Object(i.a)(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return o.createElement(u.a,Object(r.a)({classes:Object(r.a)({},s,{root:Object(a.a)(s.root,!n&&s.underline),underline:null}),fullWidth:l,inputComponent:d,multiline:h,ref:t,type:v},b))}));c.muiName="Input",t.a=Object(s.a)((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return{root:{position:"relative"},formControl:{"label + &":{marginTop:16}},focused:{},disabled:{},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(t),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:not($disabled):before":{borderBottom:"2px solid ".concat(e.palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(t)}},"&$disabled:before":{borderBottomStyle:"dotted"}},error:{},marginDense:{},multiline:{},fullWidth:{},input:{},inputMarginDense:{},inputMultiline:{},inputTypeSearch:{}}}),{name:"MuiInput"})(c)},function(e,t,n){"use strict";var r=n(4),i=n(2),o=n(183),a=n(0),u=(n(3),n(5)),s=n(42),c=n(80),l=n(6),f=n(7),d=n(13),p=n(361),h=n(81),m="undefined"===typeof window?a.useEffect:a.useLayoutEffect,v=a.forwardRef((function(e,t){var n=e["aria-describedby"],l=e.autoComplete,v=e.autoFocus,b=e.classes,y=e.className,g=(e.color,e.defaultValue),w=e.disabled,O=e.endAdornment,x=(e.error,e.fullWidth),S=void 0!==x&&x,k=e.id,E=e.inputComponent,j=void 0===E?"input":E,_=e.inputProps,T=void 0===_?{}:_,C=e.inputRef,P=(e.margin,e.multiline),R=void 0!==P&&P,A=e.name,M=e.onBlur,D=e.onChange,N=e.onClick,F=e.onFocus,I=e.onKeyDown,L=e.onKeyUp,z=e.placeholder,W=e.readOnly,U=e.renderSuffix,B=e.rows,V=e.rowsMax,H=e.rowsMin,Y=e.maxRows,$=e.minRows,q=e.startAdornment,G=e.type,K=void 0===G?"text":G,X=e.value,Q=Object(r.a)(e,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","maxRows","minRows","startAdornment","type","value"]),Z=null!=T.value?T.value:X,J=a.useRef(null!=Z).current,ee=a.useRef(),te=a.useCallback((function(e){0}),[]),ne=Object(d.a)(T.ref,te),re=Object(d.a)(C,ne),ie=Object(d.a)(ee,re),oe=a.useState(!1),ae=oe[0],ue=oe[1],se=Object(c.b)();var ce=Object(s.a)({props:e,muiFormControl:se,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});ce.focused=se?se.focused:ae,a.useEffect((function(){!se&&w&&ae&&(ue(!1),M&&M())}),[se,w,ae,M]);var le=se&&se.onFilled,fe=se&&se.onEmpty,de=a.useCallback((function(e){Object(h.b)(e)?le&&le():fe&&fe()}),[le,fe]);m((function(){J&&de({value:Z})}),[Z,de,J]);a.useEffect((function(){de(ee.current)}),[]);var pe=j,he=Object(i.a)({},T,{ref:ie});"string"!==typeof pe?he=Object(i.a)({inputRef:ie,type:K},he,{ref:null}):R?!B||Y||$||V||H?(he=Object(i.a)({minRows:B||$,rowsMax:V,maxRows:Y},he),pe=p.a):pe="textarea":he=Object(i.a)({type:K},he);return a.useEffect((function(){se&&se.setAdornedStart(Boolean(q))}),[se,q]),a.createElement("div",Object(i.a)({className:Object(u.a)(b.root,b["color".concat(Object(f.a)(ce.color||"primary"))],y,ce.disabled&&b.disabled,ce.error&&b.error,S&&b.fullWidth,ce.focused&&b.focused,se&&b.formControl,R&&b.multiline,q&&b.adornedStart,O&&b.adornedEnd,"dense"===ce.margin&&b.marginDense),onClick:function(e){ee.current&&e.currentTarget===e.target&&ee.current.focus(),N&&N(e)},ref:t},Q),q,a.createElement(c.a.Provider,{value:null},a.createElement(pe,Object(i.a)({"aria-invalid":ce.error,"aria-describedby":n,autoComplete:l,autoFocus:v,defaultValue:g,disabled:ce.disabled,id:k,onAnimationStart:function(e){de("mui-auto-fill-cancel"===e.animationName?ee.current:{value:"x"})},name:A,placeholder:z,readOnly:W,required:ce.required,rows:B,value:Z,onKeyDown:I,onKeyUp:L},he,{className:Object(u.a)(b.input,T.className,ce.disabled&&b.disabled,R&&b.inputMultiline,ce.hiddenLabel&&b.inputHiddenLabel,q&&b.inputAdornedStart,O&&b.inputAdornedEnd,"search"===K&&b.inputTypeSearch,"dense"===ce.margin&&b.inputMarginDense),onBlur:function(e){M&&M(e),T.onBlur&&T.onBlur(e),se&&se.onBlur?se.onBlur(e):ue(!1)},onChange:function(e){if(!J){var t=e.target||ee.current;if(null==t)throw new Error(Object(o.a)(1));de({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];T.onChange&&T.onChange.apply(T,[e].concat(r)),D&&D.apply(void 0,[e].concat(r))},onFocus:function(e){ce.disabled?e.stopPropagation():(F&&F(e),T.onFocus&&T.onFocus(e),se&&se.onFocus?se.onFocus(e):ue(!0))}}))),O,U?U(Object(i.a)({},ce,{startAdornment:q})):null)}));t.a=Object(l.a)((function(e){var t="light"===e.palette.type,n={color:"currentColor",opacity:t?.42:.5,transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o={opacity:t?.42:.5};return{"@global":{"@keyframes mui-auto-fill":{},"@keyframes mui-auto-fill-cancel":{}},root:Object(i.a)({},e.typography.body1,{color:e.palette.text.primary,lineHeight:"1.1876em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center","&$disabled":{color:e.palette.text.disabled,cursor:"default"}}),formControl:{},focused:{},disabled:{},adornedStart:{},adornedEnd:{},error:{},marginDense:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px"),"&$marginDense":{paddingTop:3}},colorSecondary:{},fullWidth:{width:"100%"},input:{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",background:"none",height:"1.1876em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},"&$disabled":{opacity:1},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},inputMarginDense:{paddingTop:3},inputMultiline:{height:"auto",resize:"none",padding:0},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}}),{name:"MuiInputBase"})(v)},function(e,t,n){"use strict";var r=n(2),i=n(51),o=n(4),a=n(0),u=(n(3),n(187)),s=n(28),c=n(45),l=n(13);function f(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var d={entering:{opacity:1,transform:f(1)},entered:{opacity:1,transform:"none"}},p=a.forwardRef((function(e,t){var n=e.children,p=e.disableStrictModeCompat,h=void 0!==p&&p,m=e.in,v=e.onEnter,b=e.onEntered,y=e.onEntering,g=e.onExit,w=e.onExited,O=e.onExiting,x=e.style,S=e.timeout,k=void 0===S?"auto":S,E=e.TransitionComponent,j=void 0===E?u.a:E,_=Object(o.a)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),T=a.useRef(),C=a.useRef(),P=Object(s.a)(),R=P.unstable_strictMode&&!h,A=a.useRef(null),M=Object(l.a)(n.ref,t),D=Object(l.a)(R?A:void 0,M),N=function(e){return function(t,n){if(e){var r=R?[A.current,t]:[t,n],o=Object(i.a)(r,2),a=o[0],u=o[1];void 0===u?e(a):e(a,u)}}},F=N(y),I=N((function(e,t){Object(c.b)(e);var n,r=Object(c.a)({style:x,timeout:k},{mode:"enter"}),i=r.duration,o=r.delay;"auto"===k?(n=P.transitions.getAutoHeightDuration(e.clientHeight),C.current=n):n=i,e.style.transition=[P.transitions.create("opacity",{duration:n,delay:o}),P.transitions.create("transform",{duration:.666*n,delay:o})].join(","),v&&v(e,t)})),L=N(b),z=N(O),W=N((function(e){var t,n=Object(c.a)({style:x,timeout:k},{mode:"exit"}),r=n.duration,i=n.delay;"auto"===k?(t=P.transitions.getAutoHeightDuration(e.clientHeight),C.current=t):t=r,e.style.transition=[P.transitions.create("opacity",{duration:t,delay:i}),P.transitions.create("transform",{duration:.666*t,delay:i||.333*t})].join(","),e.style.opacity="0",e.style.transform=f(.75),g&&g(e)})),U=N(w);return a.useEffect((function(){return function(){clearTimeout(T.current)}}),[]),a.createElement(j,Object(r.a)({appear:!0,in:m,nodeRef:R?A:void 0,onEnter:I,onEntered:L,onEntering:F,onExit:W,onExited:U,onExiting:z,addEndListener:function(e,t){var n=R?e:t;"auto"===k&&(T.current=setTimeout(n,C.current||0))},timeout:"auto"===k?null:k},_),(function(e,t){return a.cloneElement(n,Object(r.a)({style:Object(r.a)({opacity:0,transform:f(.75),visibility:"exited"!==e||m?void 0:"hidden"},d[e],x,n.props.style),ref:D},t))}))}));p.muiSupportAuto=!0,t.a=p},,,,function(e,t,n){"use strict";var r=n(131),i="function"===typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,u=i?Symbol.for("react.fragment"):60107,s=i?Symbol.for("react.strict_mode"):60108,c=i?Symbol.for("react.profiler"):60114,l=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,d=i?Symbol.for("react.forward_ref"):60112,p=i?Symbol.for("react.suspense"):60113,h=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116,v="function"===typeof Symbol&&Symbol.iterator;function b(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function w(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||y}function O(){}function x(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||y}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(b(85));this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},O.prototype=w.prototype;var S=x.prototype=new O;S.constructor=x,r(S,w.prototype),S.isPureReactComponent=!0;var k={current:null},E=Object.prototype.hasOwnProperty,j={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,n){var r,i={},a=null,u=null;if(null!=t)for(r in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(a=""+t.key),t)E.call(t,r)&&!j.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){for(var c=Array(s),l=0;l<s;l++)c[l]=arguments[l+2];i.children=c}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===i[r]&&(i[r]=s[r]);return{$$typeof:o,type:e,key:a,ref:u,props:i,_owner:k.current}}function T(e){return"object"===typeof e&&null!==e&&e.$$typeof===o}var C=/\/+/g,P=[];function R(e,t,n,r){if(P.length){var i=P.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function A(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>P.length&&P.push(e)}function M(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var u=!1;if(null===e)u=!0;else switch(i){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case o:case a:u=!0}}if(u)return n(r,e,""===t?"."+N(e,0):t),1;if(u=0,t=""===t?".":t+":",Array.isArray(e))for(var s=0;s<e.length;s++){var c=t+N(i=e[s],s);u+=M(i,c,n,r)}else if(null===e||"object"!==typeof e?c=null:c="function"===typeof(c=v&&e[v]||e["@@iterator"])?c:null,"function"===typeof c)for(e=c.call(e),s=0;!(i=e.next()).done;)u+=M(i=i.value,c=t+N(i,s++),n,r);else if("object"===i)throw n=""+e,Error(b(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return u}function D(e,t,n){return null==e?0:M(e,"",t,n)}function N(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function F(e,t){e.func.call(e.context,t,e.count++)}function I(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?L(e,r,n,(function(e){return e})):null!=e&&(T(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(C,"$&/")+"/")+n)),r.push(e))}function L(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(C,"$&/")+"/"),D(e,I,t=R(t,o,r,i)),A(t)}var z={current:null};function W(){var e=z.current;if(null===e)throw Error(b(321));return e}var U={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:k,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return L(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;D(e,F,t=R(null,null,t,n)),A(t)},count:function(e){return D(e,(function(){return null}),null)},toArray:function(e){var t=[];return L(e,t,null,(function(e){return e})),t},only:function(e){if(!T(e))throw Error(b(143));return e}},t.Component=w,t.Fragment=u,t.Profiler=c,t.PureComponent=x,t.StrictMode=s,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(b(267,e));var i=r({},e.props),a=e.key,u=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,s=k.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in t)E.call(t,l)&&!j.hasOwnProperty(l)&&(i[l]=void 0===t[l]&&void 0!==c?c[l]:t[l])}var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){c=Array(l);for(var f=0;f<l;f++)c[f]=arguments[f+2];i.children=c}return{$$typeof:o,type:e.type,key:a,ref:u,props:i,_owner:s}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=_,t.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:d,render:e}},t.isValidElement=T,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return W().useCallback(e,t)},t.useContext=function(e,t){return W().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return W().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return W().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return W().useLayoutEffect(e,t)},t.useMemo=function(e,t){return W().useMemo(e,t)},t.useReducer=function(e,t,n){return W().useReducer(e,t,n)},t.useRef=function(e){return W().useRef(e)},t.useState=function(e){return W().useState(e)},t.version="16.14.0"},function(e,t,n){"use strict";var r=n(0),i=n(131),o=n(325);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function u(e,t,n,r,i,o,a,u,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(l){this.onError(l)}}var s=!1,c=null,l=!1,f=null,d={onError:function(e){s=!0,c=e}};function p(e,t,n,r,i,o,a,l,f){s=!1,c=null,u.apply(d,arguments)}var h=null,m=null,v=null;function b(e,t,n){var r=e.type||"unknown-event";e.currentTarget=v(n),function(e,t,n,r,i,o,u,d,h){if(p.apply(this,arguments),s){if(!s)throw Error(a(198));var m=c;s=!1,c=null,l||(l=!0,f=m)}}(r,t,void 0,e),e.currentTarget=null}var y=null,g={};function w(){if(y)for(var e in g){var t=g[e],n=y.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!x[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in x[n]=t,n=t.eventTypes){var i=void 0,o=n[r],u=t,s=r;if(S.hasOwnProperty(s))throw Error(a(99,s));S[s]=o;var c=o.phasedRegistrationNames;if(c){for(i in c)c.hasOwnProperty(i)&&O(c[i],u,s);i=!0}else o.registrationName?(O(o.registrationName,u,s),i=!0):i=!1;if(!i)throw Error(a(98,r,e))}}}}function O(e,t,n){if(k[e])throw Error(a(100,e));k[e]=t,E[e]=t.eventTypes[n].dependencies}var x=[],S={},k={},E={};function j(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!g.hasOwnProperty(t)||g[t]!==r){if(g[t])throw Error(a(102,t));g[t]=r,n=!0}}n&&w()}var _=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),T=null,C=null,P=null;function R(e){if(e=m(e)){if("function"!==typeof T)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),T(e.stateNode,e.type,t))}}function A(e){C?P?P.push(e):P=[e]:C=e}function M(){if(C){var e=C,t=P;if(P=C=null,R(e),t)for(e=0;e<t.length;e++)R(t[e])}}function D(e,t){return e(t)}function N(e,t,n,r,i){return e(t,n,r,i)}function F(){}var I=D,L=!1,z=!1;function W(){null===C&&null===P||(F(),M())}function U(e,t,n){if(z)return e(t,n);z=!0;try{return I(e,t,n)}finally{z=!1,W()}}var B=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,V=Object.prototype.hasOwnProperty,H={},Y={};function $(e,t,n,r,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){q[e]=new $(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];q[t]=new $(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){q[e]=new $(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){q[e]=new $(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){q[e]=new $(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){q[e]=new $(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){q[e]=new $(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){q[e]=new $(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){q[e]=new $(e,5,!1,e.toLowerCase(),null,!1)}));var G=/[\-:]([a-z])/g;function K(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(G,K);q[t]=new $(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(G,K);q[t]=new $(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(G,K);q[t]=new $(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){q[e]=new $(e,1,!1,e.toLowerCase(),null,!1)})),q.xlinkHref=new $("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){q[e]=new $(e,1,!1,e.toLowerCase(),null,!0)}));var X=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Q(e,t,n,r){var i=q.hasOwnProperty(t)?q[t]:null;(null!==i?0===i.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!V.call(Y,e)||!V.call(H,e)&&(B.test(e)?Y[e]=!0:(H[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}X.hasOwnProperty("ReactCurrentDispatcher")||(X.ReactCurrentDispatcher={current:null}),X.hasOwnProperty("ReactCurrentBatchConfig")||(X.ReactCurrentBatchConfig={suspense:null});var Z=/^(.*)[\\\/]/,J="function"===typeof Symbol&&Symbol.for,ee=J?Symbol.for("react.element"):60103,te=J?Symbol.for("react.portal"):60106,ne=J?Symbol.for("react.fragment"):60107,re=J?Symbol.for("react.strict_mode"):60108,ie=J?Symbol.for("react.profiler"):60114,oe=J?Symbol.for("react.provider"):60109,ae=J?Symbol.for("react.context"):60110,ue=J?Symbol.for("react.concurrent_mode"):60111,se=J?Symbol.for("react.forward_ref"):60112,ce=J?Symbol.for("react.suspense"):60113,le=J?Symbol.for("react.suspense_list"):60120,fe=J?Symbol.for("react.memo"):60115,de=J?Symbol.for("react.lazy"):60116,pe=J?Symbol.for("react.block"):60121,he="function"===typeof Symbol&&Symbol.iterator;function me(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=he&&e[he]||e["@@iterator"])?e:null}function ve(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case ie:return"Profiler";case re:return"StrictMode";case ce:return"Suspense";case le:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case oe:return"Context.Provider";case se:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case fe:return ve(e.type);case pe:return ve(e.render);case de:if(e=1===e._status?e._result:null)return ve(e)}return null}function be(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,o=ve(e.type);n=null,r&&(n=ve(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(Z,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n in "+(r||"Unknown")+o}t+=n,e=e.return}while(e);return t}function ye(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function ge(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function we(e){e._valueTracker||(e._valueTracker=function(e){var t=ge(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Oe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ge(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function xe(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Se(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ye(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ke(e,t){null!=(t=t.checked)&&Q(e,"checked",t,!1)}function Ee(e,t){ke(e,t);var n=ye(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?_e(e,t.type,n):t.hasOwnProperty("defaultValue")&&_e(e,t.type,ye(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function je(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function _e(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Te(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Ce(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ye(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function Pe(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Re(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ye(n)}}function Ae(e,t){var n=ye(t.value),r=ye(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Me(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var De="http://www.w3.org/1999/xhtml",Ne="http://www.w3.org/2000/svg";function Fe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ie(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Fe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Le,ze,We=(ze=function(e,t){if(e.namespaceURI!==Ne||"innerHTML"in e)e.innerHTML=t;else{for((Le=Le||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Le.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ze(e,t)}))}:ze);function Ue(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Be(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ve={animationend:Be("Animation","AnimationEnd"),animationiteration:Be("Animation","AnimationIteration"),animationstart:Be("Animation","AnimationStart"),transitionend:Be("Transition","TransitionEnd")},He={},Ye={};function $e(e){if(He[e])return He[e];if(!Ve[e])return e;var t,n=Ve[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ye)return He[e]=n[t];return e}_&&(Ye=document.createElement("div").style,"AnimationEvent"in window||(delete Ve.animationend.animation,delete Ve.animationiteration.animation,delete Ve.animationstart.animation),"TransitionEvent"in window||delete Ve.transitionend.transition);var qe=$e("animationend"),Ge=$e("animationiteration"),Ke=$e("animationstart"),Xe=$e("transitionend"),Qe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ze=new("function"===typeof WeakMap?WeakMap:Map);function Je(e){var t=Ze.get(e);return void 0===t&&(t=new Map,Ze.set(e,t)),t}function et(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function tt(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function nt(e){if(et(e)!==e)throw Error(a(188))}function rt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=et(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return nt(i),e;if(o===r)return nt(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var u=!1,s=i.child;s;){if(s===n){u=!0,n=i,r=o;break}if(s===r){u=!0,r=i,n=o;break}s=s.sibling}if(!u){for(s=o.child;s;){if(s===n){u=!0,n=o,r=i;break}if(s===r){u=!0,r=o,n=i;break}s=s.sibling}if(!u)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function it(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ot(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var at=null;function ut(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)b(e,t[r],n[r]);else t&&b(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function st(e){if(null!==e&&(at=it(at,e)),e=at,at=null,e){if(ot(e,ut),at)throw Error(a(95));if(l)throw e=f,l=!1,f=null,e}}function ct(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function lt(e){if(!_)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"===typeof t[e]),t}var ft=[];function dt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ft.length&&ft.push(e)}function pt(e,t,n,r){if(ft.length){var i=ft.pop();return i.topLevelType=e,i.eventSystemFlags=r,i.nativeEvent=t,i.targetInst=n,i}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function ht(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=Rn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var i=ct(e.nativeEvent);r=e.topLevelType;var o=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var u=null,s=0;s<x.length;s++){var c=x[s];c&&(c=c.extractEvents(r,t,o,i,a))&&(u=it(u,c))}st(u)}}function mt(e,t,n){if(!n.has(e)){switch(e){case"scroll":Kt(t,"scroll",!0);break;case"focus":case"blur":Kt(t,"focus",!0),Kt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":lt(e)&&Kt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Qe.indexOf(e)&&Gt(e,t)}n.set(e,null)}}var vt,bt,yt,gt=!1,wt=[],Ot=null,xt=null,St=null,kt=new Map,Et=new Map,jt=[],_t="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Tt="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Ct(e,t,n,r,i){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:i,container:r}}function Pt(e,t){switch(e){case"focus":case"blur":Ot=null;break;case"dragenter":case"dragleave":xt=null;break;case"mouseover":case"mouseout":St=null;break;case"pointerover":case"pointerout":kt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Et.delete(t.pointerId)}}function Rt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=Ct(t,n,r,i,o),null!==t&&(null!==(t=An(t))&&bt(t)),e):(e.eventSystemFlags|=r,e)}function At(e){var t=Rn(e.target);if(null!==t){var n=et(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=tt(n)))return e.blockedOn=t,void o.unstable_runWithPriority(e.priority,(function(){yt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Mt(e){if(null!==e.blockedOn)return!1;var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=An(t);return null!==n&&bt(n),e.blockedOn=t,!1}return!0}function Dt(e,t,n){Mt(e)&&n.delete(t)}function Nt(){for(gt=!1;0<wt.length;){var e=wt[0];if(null!==e.blockedOn){null!==(e=An(e.blockedOn))&&vt(e);break}var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:wt.shift()}null!==Ot&&Mt(Ot)&&(Ot=null),null!==xt&&Mt(xt)&&(xt=null),null!==St&&Mt(St)&&(St=null),kt.forEach(Dt),Et.forEach(Dt)}function Ft(e,t){e.blockedOn===t&&(e.blockedOn=null,gt||(gt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Nt)))}function It(e){function t(t){return Ft(t,e)}if(0<wt.length){Ft(wt[0],e);for(var n=1;n<wt.length;n++){var r=wt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ot&&Ft(Ot,e),null!==xt&&Ft(xt,e),null!==St&&Ft(St,e),kt.forEach(t),Et.forEach(t),n=0;n<jt.length;n++)(r=jt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<jt.length&&null===(n=jt[0]).blockedOn;)At(n),null===n.blockedOn&&jt.shift()}var Lt={},zt=new Map,Wt=new Map,Ut=["abort","abort",qe,"animationEnd",Ge,"animationIteration",Ke,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Xe,"transitionEnd","waiting","waiting"];function Bt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1],o="on"+(i[0].toUpperCase()+i.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[r],eventPriority:t},Wt.set(r,t),zt.set(r,o),Lt[i]=o}}Bt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Bt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Bt(Ut,2);for(var Vt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Ht=0;Ht<Vt.length;Ht++)Wt.set(Vt[Ht],0);var Yt=o.unstable_UserBlockingPriority,$t=o.unstable_runWithPriority,qt=!0;function Gt(e,t){Kt(t,e,!1)}function Kt(e,t,n){var r=Wt.get(t);switch(void 0===r?2:r){case 0:r=Xt.bind(null,t,1,e);break;case 1:r=Qt.bind(null,t,1,e);break;default:r=Zt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Xt(e,t,n,r){L||F();var i=Zt,o=L;L=!0;try{N(i,e,t,n,r)}finally{(L=o)||W()}}function Qt(e,t,n,r){$t(Yt,Zt.bind(null,e,t,n,r))}function Zt(e,t,n,r){if(qt)if(0<wt.length&&-1<_t.indexOf(e))e=Ct(null,e,t,n,r),wt.push(e);else{var i=Jt(e,t,n,r);if(null===i)Pt(e,r);else if(-1<_t.indexOf(e))e=Ct(i,e,t,n,r),wt.push(e);else if(!function(e,t,n,r,i){switch(t){case"focus":return Ot=Rt(Ot,e,t,n,r,i),!0;case"dragenter":return xt=Rt(xt,e,t,n,r,i),!0;case"mouseover":return St=Rt(St,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return kt.set(o,Rt(kt.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Et.set(o,Rt(Et.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r)){Pt(e,r),e=pt(e,r,null,t);try{U(ht,e)}finally{dt(e)}}}}function Jt(e,t,n,r){if(null!==(n=Rn(n=ct(r)))){var i=et(n);if(null===i)n=null;else{var o=i.tag;if(13===o){if(null!==(n=tt(i)))return n;n=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}e=pt(e,r,n,t);try{U(ht,e)}finally{dt(e)}return null}var en={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},tn=["Webkit","ms","Moz","O"];function nn(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||en.hasOwnProperty(e)&&en[e]?(""+t).trim():t+"px"}function rn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=nn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(en).forEach((function(e){tn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),en[t]=en[e]}))}));var on=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function an(e,t){if(t){if(on[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62,""))}}function un(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var sn=De;function cn(e,t){var n=Je(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=E[t];for(var r=0;r<t.length;r++)mt(t[r],e,n)}function ln(){}function fn(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function dn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pn(e,t){var n,r=dn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=dn(r)}}function hn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function mn(){for(var e=window,t=fn();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=fn((e=t.contentWindow).document)}return t}function vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var bn="$?",yn="$!",gn=null,wn=null;function On(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function xn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Sn="function"===typeof setTimeout?setTimeout:void 0,kn="function"===typeof clearTimeout?clearTimeout:void 0;function En(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function jn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||n===yn||n===bn){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var _n=Math.random().toString(36).slice(2),Tn="__reactInternalInstance$"+_n,Cn="__reactEventHandlers$"+_n,Pn="__reactContainere$"+_n;function Rn(e){var t=e[Tn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Pn]||n[Tn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=jn(e);null!==e;){if(n=e[Tn])return n;e=jn(e)}return t}n=(e=n).parentNode}return null}function An(e){return!(e=e[Tn]||e[Pn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Mn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Dn(e){return e[Cn]||null}function Nn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Fn(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(a(231,t,typeof n));return n}function In(e,t,n){(t=Fn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=it(n._dispatchListeners,t),n._dispatchInstances=it(n._dispatchInstances,e))}function Ln(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Nn(t);for(t=n.length;0<t--;)In(n[t],"captured",e);for(t=0;t<n.length;t++)In(n[t],"bubbled",e)}}function zn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Fn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=it(n._dispatchListeners,t),n._dispatchInstances=it(n._dispatchInstances,e))}function Wn(e){e&&e.dispatchConfig.registrationName&&zn(e._targetInst,null,e)}function Un(e){ot(e,Ln)}var Bn=null,Vn=null,Hn=null;function Yn(){if(Hn)return Hn;var e,t,n=Vn,r=n.length,i="value"in Bn?Bn.value:Bn.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Hn=i.slice(e,1<t?1-t:void 0)}function $n(){return!0}function qn(){return!1}function Gn(e,t,n,r){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?$n:qn,this.isPropagationStopped=qn,this}function Kn(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function Xn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Qn(e){e.eventPool=[],e.getPooled=Kn,e.release=Xn}i(Gn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=$n)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=$n)},persist:function(){this.isPersistent=$n},isPersistent:qn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=qn,this._dispatchInstances=this._dispatchListeners=null}}),Gn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Gn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,Qn(n),n},Qn(Gn);var Zn=Gn.extend({data:null}),Jn=Gn.extend({data:null}),er=[9,13,27,32],tr=_&&"CompositionEvent"in window,nr=null;_&&"documentMode"in document&&(nr=document.documentMode);var rr=_&&"TextEvent"in window&&!nr,ir=_&&(!tr||nr&&8<nr&&11>=nr),or=String.fromCharCode(32),ar={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},ur=!1;function sr(e,t){switch(e){case"keyup":return-1!==er.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function cr(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var lr=!1;var fr={eventTypes:ar,extractEvents:function(e,t,n,r){var i;if(tr)e:{switch(e){case"compositionstart":var o=ar.compositionStart;break e;case"compositionend":o=ar.compositionEnd;break e;case"compositionupdate":o=ar.compositionUpdate;break e}o=void 0}else lr?sr(e,n)&&(o=ar.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=ar.compositionStart);return o?(ir&&"ko"!==n.locale&&(lr||o!==ar.compositionStart?o===ar.compositionEnd&&lr&&(i=Yn()):(Vn="value"in(Bn=r)?Bn.value:Bn.textContent,lr=!0)),o=Zn.getPooled(o,t,n,r),i?o.data=i:null!==(i=cr(n))&&(o.data=i),Un(o),i=o):i=null,(e=rr?function(e,t){switch(e){case"compositionend":return cr(t);case"keypress":return 32!==t.which?null:(ur=!0,or);case"textInput":return(e=t.data)===or&&ur?null:e;default:return null}}(e,n):function(e,t){if(lr)return"compositionend"===e||!tr&&sr(e,t)?(e=Yn(),Hn=Vn=Bn=null,lr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ir&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Jn.getPooled(ar.beforeInput,t,n,r)).data=e,Un(t)):t=null,null===i?t:null===t?i:[i,t]}},dr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!dr[e.type]:"textarea"===t}var hr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function mr(e,t,n){return(e=Gn.getPooled(hr.change,e,t,n)).type="change",A(n),Un(e),e}var vr=null,br=null;function yr(e){st(e)}function gr(e){if(Oe(Mn(e)))return e}function wr(e,t){if("change"===e)return t}var Or=!1;function xr(){vr&&(vr.detachEvent("onpropertychange",Sr),br=vr=null)}function Sr(e){if("value"===e.propertyName&&gr(br))if(e=mr(br,e,ct(e)),L)st(e);else{L=!0;try{D(yr,e)}finally{L=!1,W()}}}function kr(e,t,n){"focus"===e?(xr(),br=n,(vr=t).attachEvent("onpropertychange",Sr)):"blur"===e&&xr()}function Er(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return gr(br)}function jr(e,t){if("click"===e)return gr(t)}function _r(e,t){if("input"===e||"change"===e)return gr(t)}_&&(Or=lt("input")&&(!document.documentMode||9<document.documentMode));var Tr={eventTypes:hr,_isInputEventSupported:Or,extractEvents:function(e,t,n,r){var i=t?Mn(t):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=wr;else if(pr(i))if(Or)a=_r;else{a=Er;var u=kr}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=jr);if(a&&(a=a(e,t)))return mr(a,n,r);u&&u(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&_e(i,"number",i.value)}},Cr=Gn.extend({view:null,detail:null}),Pr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Rr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Pr[e])&&!!t[e]}function Ar(){return Rr}var Mr=0,Dr=0,Nr=!1,Fr=!1,Ir=Cr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Ar,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Mr;return Mr=e.screenX,Nr?"mousemove"===e.type?e.screenX-t:0:(Nr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Dr;return Dr=e.screenY,Fr?"mousemove"===e.type?e.screenY-t:0:(Fr=!0,0)}}),Lr=Ir.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),zr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Wr={eventTypes:zr,extractEvents:function(e,t,n,r,i){var o="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(o&&0===(32&i)&&(n.relatedTarget||n.fromElement)||!a&&!o)return null;(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?Rn(t):null)&&(t!==et(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var u=Ir,s=zr.mouseLeave,c=zr.mouseEnter,l="mouse";else"pointerout"!==e&&"pointerover"!==e||(u=Lr,s=zr.pointerLeave,c=zr.pointerEnter,l="pointer");if(e=null==a?o:Mn(a),o=null==t?o:Mn(t),(s=u.getPooled(s,a,n,r)).type=l+"leave",s.target=e,s.relatedTarget=o,(n=u.getPooled(c,t,n,r)).type=l+"enter",n.target=o,n.relatedTarget=e,l=t,(r=a)&&l)e:{for(c=l,a=0,e=u=r;e;e=Nn(e))a++;for(e=0,t=c;t;t=Nn(t))e++;for(;0<a-e;)u=Nn(u),a--;for(;0<e-a;)c=Nn(c),e--;for(;a--;){if(u===c||u===c.alternate)break e;u=Nn(u),c=Nn(c)}u=null}else u=null;for(c=u,u=[];r&&r!==c&&(null===(a=r.alternate)||a!==c);)u.push(r),r=Nn(r);for(r=[];l&&l!==c&&(null===(a=l.alternate)||a!==c);)r.push(l),l=Nn(l);for(l=0;l<u.length;l++)zn(u[l],"bubbled",s);for(l=r.length;0<l--;)zn(r[l],"captured",n);return 0===(64&i)?[s]:[s,n]}};var Ur="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},Br=Object.prototype.hasOwnProperty;function Vr(e,t){if(Ur(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Br.call(t,n[r])||!Ur(e[n[r]],t[n[r]]))return!1;return!0}var Hr=_&&"documentMode"in document&&11>=document.documentMode,Yr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},$r=null,qr=null,Gr=null,Kr=!1;function Xr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Kr||null==$r||$r!==fn(n)?null:("selectionStart"in(n=$r)&&vn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Gr&&Vr(Gr,n)?null:(Gr=n,(e=Gn.getPooled(Yr.select,qr,e,t)).type="select",e.target=$r,Un(e),e))}var Qr={eventTypes:Yr,extractEvents:function(e,t,n,r,i,o){if(!(o=!(i=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{i=Je(i),o=E.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break e}i=!0}o=!i}if(o)return null;switch(i=t?Mn(t):window,e){case"focus":(pr(i)||"true"===i.contentEditable)&&($r=i,qr=t,Gr=null);break;case"blur":Gr=qr=$r=null;break;case"mousedown":Kr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Kr=!1,Xr(n,r);case"selectionchange":if(Hr)break;case"keydown":case"keyup":return Xr(n,r)}return null}},Zr=Gn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Jr=Gn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ei=Cr.extend({relatedTarget:null});function ti(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var ni={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ri={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ii=Cr.extend({key:function(e){if(e.key){var t=ni[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ti(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ri[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Ar,charCode:function(e){return"keypress"===e.type?ti(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ti(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),oi=Ir.extend({dataTransfer:null}),ai=Cr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Ar}),ui=Gn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),si=Ir.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),ci={eventTypes:Lt,extractEvents:function(e,t,n,r){var i=zt.get(e);if(!i)return null;switch(e){case"keypress":if(0===ti(n))return null;case"keydown":case"keyup":e=ii;break;case"blur":case"focus":e=ei;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Ir;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=oi;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ai;break;case qe:case Ge:case Ke:e=Zr;break;case Xe:e=ui;break;case"scroll":e=Cr;break;case"wheel":e=si;break;case"copy":case"cut":case"paste":e=Jr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Lr;break;default:e=Gn}return Un(t=e.getPooled(i,t,n,r)),t}};if(y)throw Error(a(101));y=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w(),h=Dn,m=An,v=Mn,j({SimpleEventPlugin:ci,EnterLeaveEventPlugin:Wr,ChangeEventPlugin:Tr,SelectEventPlugin:Qr,BeforeInputEventPlugin:fr});var li=[],fi=-1;function di(e){0>fi||(e.current=li[fi],li[fi]=null,fi--)}function pi(e,t){fi++,li[fi]=e.current,e.current=t}var hi={},mi={current:hi},vi={current:!1},bi=hi;function yi(e,t){var n=e.type.contextTypes;if(!n)return hi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function gi(e){return null!==(e=e.childContextTypes)&&void 0!==e}function wi(){di(vi),di(mi)}function Oi(e,t,n){if(mi.current!==hi)throw Error(a(168));pi(mi,t),pi(vi,n)}function xi(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,ve(t)||"Unknown",o));return i({},n,{},r)}function Si(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||hi,bi=mi.current,pi(mi,e),pi(vi,vi.current),!0}function ki(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=xi(e,t,bi),r.__reactInternalMemoizedMergedChildContext=e,di(vi),di(mi),pi(mi,e)):di(vi),pi(vi,n)}var Ei=o.unstable_runWithPriority,ji=o.unstable_scheduleCallback,_i=o.unstable_cancelCallback,Ti=o.unstable_requestPaint,Ci=o.unstable_now,Pi=o.unstable_getCurrentPriorityLevel,Ri=o.unstable_ImmediatePriority,Ai=o.unstable_UserBlockingPriority,Mi=o.unstable_NormalPriority,Di=o.unstable_LowPriority,Ni=o.unstable_IdlePriority,Fi={},Ii=o.unstable_shouldYield,Li=void 0!==Ti?Ti:function(){},zi=null,Wi=null,Ui=!1,Bi=Ci(),Vi=1e4>Bi?Ci:function(){return Ci()-Bi};function Hi(){switch(Pi()){case Ri:return 99;case Ai:return 98;case Mi:return 97;case Di:return 96;case Ni:return 95;default:throw Error(a(332))}}function Yi(e){switch(e){case 99:return Ri;case 98:return Ai;case 97:return Mi;case 96:return Di;case 95:return Ni;default:throw Error(a(332))}}function $i(e,t){return e=Yi(e),Ei(e,t)}function qi(e,t,n){return e=Yi(e),ji(e,t,n)}function Gi(e){return null===zi?(zi=[e],Wi=ji(Ri,Xi)):zi.push(e),Fi}function Ki(){if(null!==Wi){var e=Wi;Wi=null,_i(e)}Xi()}function Xi(){if(!Ui&&null!==zi){Ui=!0;var e=0;try{var t=zi;$i(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),zi=null}catch(n){throw null!==zi&&(zi=zi.slice(e+1)),ji(Ri,Ki),n}finally{Ui=!1}}}function Qi(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Zi(e,t){if(e&&e.defaultProps)for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Ji={current:null},eo=null,to=null,no=null;function ro(){no=to=eo=null}function io(e){var t=Ji.current;di(Ji),e.type._context._currentValue=t}function oo(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function ao(e,t){eo=e,no=to=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Da=!0),e.firstContext=null)}function uo(e,t){if(no!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(no=e,t=1073741823),t={context:e,observedBits:t,next:null},null===to){if(null===eo)throw Error(a(308));to=t,eo.dependencies={expirationTime:0,firstContext:t,responders:null}}else to=to.next=t;return e._currentValue}var so=!1;function co(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function lo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function fo(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function po(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function ho(e,t){var n=e.alternate;null!==n&&lo(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function mo(e,t,n,r){var o=e.updateQueue;so=!1;var a=o.baseQueue,u=o.shared.pending;if(null!==u){if(null!==a){var s=a.next;a.next=u.next,u.next=s}a=u,o.shared.pending=null,null!==(s=e.alternate)&&(null!==(s=s.updateQueue)&&(s.baseQueue=u))}if(null!==a){s=a.next;var c=o.baseState,l=0,f=null,d=null,p=null;if(null!==s)for(var h=s;;){if((u=h.expirationTime)<r){var m={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===p?(d=p=m,f=c):p=p.next=m,u>l&&(l=u)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),ps(u,h.suspenseConfig);e:{var v=e,b=h;switch(u=t,m=n,b.tag){case 1:if("function"===typeof(v=b.payload)){c=v.call(m,c,u);break e}c=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null===(u="function"===typeof(v=b.payload)?v.call(m,c,u):v)||void 0===u)break e;c=i({},c,u);break e;case 2:so=!0}}null!==h.callback&&(e.effectTag|=32,null===(u=o.effects)?o.effects=[h]:u.push(h))}if(null===(h=h.next)||h===s){if(null===(u=o.shared.pending))break;h=a.next=u.next,u.next=s,o.baseQueue=a=u,o.shared.pending=null}}null===p?f=c:p.next=d,o.baseState=f,o.baseQueue=p,hs(l),e.expirationTime=l,e.memoizedState=c}}function vo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=i,i=n,"function"!==typeof r)throw Error(a(191,r));r.call(i)}}}var bo=X.ReactCurrentBatchConfig,yo=(new r.Component).refs;function go(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:i({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var wo={isMounted:function(e){return!!(e=e._reactInternalFiber)&&et(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=es(),i=bo.suspense;(i=fo(r=ts(r,e,i),i)).payload=t,void 0!==n&&null!==n&&(i.callback=n),po(e,i),ns(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=es(),i=bo.suspense;(i=fo(r=ts(r,e,i),i)).tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),po(e,i),ns(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=es(),r=bo.suspense;(r=fo(n=ts(n,e,r),r)).tag=2,void 0!==t&&null!==t&&(r.callback=t),po(e,r),ns(e,n)}};function Oo(e,t,n,r,i,o,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!Vr(n,r)||!Vr(i,o))}function xo(e,t,n){var r=!1,i=hi,o=t.contextType;return"object"===typeof o&&null!==o?o=uo(o):(i=gi(t)?bi:mi.current,o=(r=null!==(r=t.contextTypes)&&void 0!==r)?yi(e,i):hi),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=wo,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function So(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&wo.enqueueReplaceState(t,t.state,null)}function ko(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=yo,co(e);var o=t.contextType;"object"===typeof o&&null!==o?i.context=uo(o):(o=gi(t)?bi:mi.current,i.context=yi(e,o)),mo(e,n,i,r),i.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&(go(e,t,o,n),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&wo.enqueueReplaceState(i,i.state,null),mo(e,n,i,r),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.effectTag|=4)}var Eo=Array.isArray;function jo(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===yo&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!==typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function _o(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function To(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Ds(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function u(t){return e&&null===t.alternate&&(t.effectTag=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Is(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=jo(e,t,n),r.return=e,r):((r=Ns(n.type,n.key,n.props,null,e.mode,r)).ref=jo(e,t,n),r.return=e,r)}function l(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ls(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=Fs(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t||"number"===typeof t)return(t=Is(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Ns(t.type,t.key,t.props,null,e.mode,n)).ref=jo(e,null,t),n.return=e,n;case te:return(t=Ls(t,e.mode,n)).return=e,t}if(Eo(t)||me(t))return(t=Fs(t,e.mode,n,null)).return=e,t;_o(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==i?null:s(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===i?n.type===ne?f(e,t,n.props.children,r,i):c(e,t,n,r):null;case te:return n.key===i?l(e,t,n,r):null}if(Eo(n)||me(n))return null!==i?null:f(e,t,n,r,null);_o(e,n)}return null}function h(e,t,n,r,i){if("string"===typeof r||"number"===typeof r)return s(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?f(t,e,r.props.children,i,r.key):c(t,e,r,i);case te:return l(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(Eo(r)||me(r))return f(t,e=e.get(n)||null,r,i,null);_o(t,r)}return null}function m(i,a,u,s){for(var c=null,l=null,f=a,m=a=0,v=null;null!==f&&m<u.length;m++){f.index>m?(v=f,f=null):v=f.sibling;var b=p(i,f,u[m],s);if(null===b){null===f&&(f=v);break}e&&f&&null===b.alternate&&t(i,f),a=o(b,a,m),null===l?c=b:l.sibling=b,l=b,f=v}if(m===u.length)return n(i,f),c;if(null===f){for(;m<u.length;m++)null!==(f=d(i,u[m],s))&&(a=o(f,a,m),null===l?c=f:l.sibling=f,l=f);return c}for(f=r(i,f);m<u.length;m++)null!==(v=h(f,i,m,u[m],s))&&(e&&null!==v.alternate&&f.delete(null===v.key?m:v.key),a=o(v,a,m),null===l?c=v:l.sibling=v,l=v);return e&&f.forEach((function(e){return t(i,e)})),c}function v(i,u,s,c){var l=me(s);if("function"!==typeof l)throw Error(a(150));if(null==(s=l.call(s)))throw Error(a(151));for(var f=l=null,m=u,v=u=0,b=null,y=s.next();null!==m&&!y.done;v++,y=s.next()){m.index>v?(b=m,m=null):b=m.sibling;var g=p(i,m,y.value,c);if(null===g){null===m&&(m=b);break}e&&m&&null===g.alternate&&t(i,m),u=o(g,u,v),null===f?l=g:f.sibling=g,f=g,m=b}if(y.done)return n(i,m),l;if(null===m){for(;!y.done;v++,y=s.next())null!==(y=d(i,y.value,c))&&(u=o(y,u,v),null===f?l=y:f.sibling=y,f=y);return l}for(m=r(i,m);!y.done;v++,y=s.next())null!==(y=h(m,i,v,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),u=o(y,u,v),null===f?l=y:f.sibling=y,f=y);return e&&m.forEach((function(e){return t(i,e)})),l}return function(e,r,o,s){var c="object"===typeof o&&null!==o&&o.type===ne&&null===o.key;c&&(o=o.props.children);var l="object"===typeof o&&null!==o;if(l)switch(o.$$typeof){case ee:e:{for(l=o.key,c=r;null!==c;){if(c.key===l){switch(c.tag){case 7:if(o.type===ne){n(e,c.sibling),(r=i(c,o.props.children)).return=e,e=r;break e}break;default:if(c.elementType===o.type){n(e,c.sibling),(r=i(c,o.props)).ref=jo(e,c,o),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}o.type===ne?((r=Fs(o.props.children,e.mode,s,o.key)).return=e,e=r):((s=Ns(o.type,o.key,o.props,null,e.mode,s)).ref=jo(e,r,o),s.return=e,e=s)}return u(e);case te:e:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Ls(o,e.mode,s)).return=e,e=r}return u(e)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=Is(o,e.mode,s)).return=e,e=r),u(e);if(Eo(o))return m(e,r,o,s);if(me(o))return v(e,r,o,s);if(l&&_o(e,o),"undefined"===typeof o&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Co=To(!0),Po=To(!1),Ro={},Ao={current:Ro},Mo={current:Ro},Do={current:Ro};function No(e){if(e===Ro)throw Error(a(174));return e}function Fo(e,t){switch(pi(Do,t),pi(Mo,e),pi(Ao,Ro),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ie(null,"");break;default:t=Ie(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}di(Ao),pi(Ao,t)}function Io(){di(Ao),di(Mo),di(Do)}function Lo(e){No(Do.current);var t=No(Ao.current),n=Ie(t,e.type);t!==n&&(pi(Mo,e),pi(Ao,n))}function zo(e){Mo.current===e&&(di(Ao),di(Mo))}var Wo={current:0};function Uo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===bn||n.data===yn))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Bo(e,t){return{responder:e,props:t}}var Vo=X.ReactCurrentDispatcher,Ho=X.ReactCurrentBatchConfig,Yo=0,$o=null,qo=null,Go=null,Ko=!1;function Xo(){throw Error(a(321))}function Qo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ur(e[n],t[n]))return!1;return!0}function Zo(e,t,n,r,i,o){if(Yo=o,$o=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Vo.current=null===e||null===e.memoizedState?Oa:xa,e=n(r,i),t.expirationTime===Yo){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(a(301));o+=1,Go=qo=null,t.updateQueue=null,Vo.current=Sa,e=n(r,i)}while(t.expirationTime===Yo)}if(Vo.current=wa,t=null!==qo&&null!==qo.next,Yo=0,Go=qo=$o=null,Ko=!1,t)throw Error(a(300));return e}function Jo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Go?$o.memoizedState=Go=e:Go=Go.next=e,Go}function ea(){if(null===qo){var e=$o.alternate;e=null!==e?e.memoizedState:null}else e=qo.next;var t=null===Go?$o.memoizedState:Go.next;if(null!==t)Go=t,qo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(qo=e).memoizedState,baseState:qo.baseState,baseQueue:qo.baseQueue,queue:qo.queue,next:null},null===Go?$o.memoizedState=Go=e:Go=Go.next=e}return Go}function ta(e,t){return"function"===typeof t?t(e):t}function na(e){var t=ea(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=qo,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var u=i.next;i.next=o.next,o.next=u}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var s=u=o=null,c=i;do{var l=c.expirationTime;if(l<Yo){var f={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===s?(u=s=f,o=r):s=s.next=f,l>$o.expirationTime&&($o.expirationTime=l,hs(l))}else null!==s&&(s=s.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),ps(l,c.suspenseConfig),r=c.eagerReducer===e?c.eagerState:e(r,c.action);c=c.next}while(null!==c&&c!==i);null===s?o=r:s.next=u,Ur(r,t.memoizedState)||(Da=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function ra(e){var t=ea(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var u=i=i.next;do{o=e(o,u.action),u=u.next}while(u!==i);Ur(o,t.memoizedState)||(Da=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ia(e){var t=Jo();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ta,lastRenderedState:e}).dispatch=ga.bind(null,$o,e),[t.memoizedState,e]}function oa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=$o.updateQueue)?(t={lastEffect:null},$o.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function aa(){return ea().memoizedState}function ua(e,t,n,r){var i=Jo();$o.effectTag|=e,i.memoizedState=oa(1|t,n,void 0,void 0===r?null:r)}function sa(e,t,n,r){var i=ea();r=void 0===r?null:r;var o=void 0;if(null!==qo){var a=qo.memoizedState;if(o=a.destroy,null!==r&&Qo(r,a.deps))return void oa(t,n,o,r)}$o.effectTag|=e,i.memoizedState=oa(1|t,n,o,r)}function ca(e,t){return ua(516,4,e,t)}function la(e,t){return sa(516,4,e,t)}function fa(e,t){return sa(4,2,e,t)}function da(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function pa(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,sa(4,2,da.bind(null,t,e),n)}function ha(){}function ma(e,t){return Jo().memoizedState=[e,void 0===t?null:t],e}function va(e,t){var n=ea();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Qo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ba(e,t){var n=ea();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Qo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ya(e,t,n){var r=Hi();$i(98>r?98:r,(function(){e(!0)})),$i(97<r?97:r,(function(){var r=Ho.suspense;Ho.suspense=void 0===t?null:t;try{e(!1),n()}finally{Ho.suspense=r}}))}function ga(e,t,n){var r=es(),i=bo.suspense;i={expirationTime:r=ts(r,e,i),suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var o=t.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),t.pending=i,o=e.alternate,e===$o||null!==o&&o===$o)Ko=!0,i.expirationTime=Yo,$o.expirationTime=Yo;else{if(0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,u=o(a,n);if(i.eagerReducer=o,i.eagerState=u,Ur(u,a))return}catch(s){}ns(e,r)}}var wa={readContext:uo,useCallback:Xo,useContext:Xo,useEffect:Xo,useImperativeHandle:Xo,useLayoutEffect:Xo,useMemo:Xo,useReducer:Xo,useRef:Xo,useState:Xo,useDebugValue:Xo,useResponder:Xo,useDeferredValue:Xo,useTransition:Xo},Oa={readContext:uo,useCallback:ma,useContext:uo,useEffect:ca,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,ua(4,2,da.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ua(4,2,e,t)},useMemo:function(e,t){var n=Jo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Jo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ga.bind(null,$o,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Jo().memoizedState=e},useState:ia,useDebugValue:ha,useResponder:Bo,useDeferredValue:function(e,t){var n=ia(e),r=n[0],i=n[1];return ca((function(){var n=Ho.suspense;Ho.suspense=void 0===t?null:t;try{i(e)}finally{Ho.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ia(!1),n=t[0];return t=t[1],[ma(ya.bind(null,t,e),[t,e]),n]}},xa={readContext:uo,useCallback:va,useContext:uo,useEffect:la,useImperativeHandle:pa,useLayoutEffect:fa,useMemo:ba,useReducer:na,useRef:aa,useState:function(){return na(ta)},useDebugValue:ha,useResponder:Bo,useDeferredValue:function(e,t){var n=na(ta),r=n[0],i=n[1];return la((function(){var n=Ho.suspense;Ho.suspense=void 0===t?null:t;try{i(e)}finally{Ho.suspense=n}}),[e,t]),r},useTransition:function(e){var t=na(ta),n=t[0];return t=t[1],[va(ya.bind(null,t,e),[t,e]),n]}},Sa={readContext:uo,useCallback:va,useContext:uo,useEffect:la,useImperativeHandle:pa,useLayoutEffect:fa,useMemo:ba,useReducer:ra,useRef:aa,useState:function(){return ra(ta)},useDebugValue:ha,useResponder:Bo,useDeferredValue:function(e,t){var n=ra(ta),r=n[0],i=n[1];return la((function(){var n=Ho.suspense;Ho.suspense=void 0===t?null:t;try{i(e)}finally{Ho.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ra(ta),n=t[0];return t=t[1],[va(ya.bind(null,t,e),[t,e]),n]}},ka=null,Ea=null,ja=!1;function _a(e,t){var n=As(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ta(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Ca(e){if(ja){var t=Ea;if(t){var n=t;if(!Ta(e,t)){if(!(t=En(n.nextSibling))||!Ta(e,t))return e.effectTag=-1025&e.effectTag|2,ja=!1,void(ka=e);_a(ka,n)}ka=e,Ea=En(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,ja=!1,ka=e}}function Pa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ka=e}function Ra(e){if(e!==ka)return!1;if(!ja)return Pa(e),ja=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!xn(t,e.memoizedProps))for(t=Ea;t;)_a(e,t),t=En(t.nextSibling);if(Pa(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ea=En(e.nextSibling);break e}t--}else"$"!==n&&n!==yn&&n!==bn||t++}e=e.nextSibling}Ea=null}}else Ea=ka?En(e.stateNode.nextSibling):null;return!0}function Aa(){Ea=ka=null,ja=!1}var Ma=X.ReactCurrentOwner,Da=!1;function Na(e,t,n,r){t.child=null===e?Po(t,null,n,r):Co(t,e.child,n,r)}function Fa(e,t,n,r,i){n=n.render;var o=t.ref;return ao(t,i),r=Zo(e,t,n,r,o,i),null===e||Da?(t.effectTag|=1,Na(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Za(e,t,i))}function Ia(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!==typeof a||Ms(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ns(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,La(e,t,a,r,i,o))}return a=e.child,i<o&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:Vr)(i,r)&&e.ref===t.ref)?Za(e,t,o):(t.effectTag|=1,(e=Ds(a,r)).ref=t.ref,e.return=t,t.child=e)}function La(e,t,n,r,i,o){return null!==e&&Vr(e.memoizedProps,r)&&e.ref===t.ref&&(Da=!1,i<o)?(t.expirationTime=e.expirationTime,Za(e,t,o)):Wa(e,t,n,r,o)}function za(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Wa(e,t,n,r,i){var o=gi(n)?bi:mi.current;return o=yi(t,o),ao(t,i),n=Zo(e,t,n,r,o,i),null===e||Da?(t.effectTag|=1,Na(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Za(e,t,i))}function Ua(e,t,n,r,i){if(gi(n)){var o=!0;Si(t)}else o=!1;if(ao(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),xo(t,n,r),ko(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,u=t.memoizedProps;a.props=u;var s=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=uo(c):c=yi(t,c=gi(n)?bi:mi.current);var l=n.getDerivedStateFromProps,f="function"===typeof l||"function"===typeof a.getSnapshotBeforeUpdate;f||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==r||s!==c)&&So(t,a,r,c),so=!1;var d=t.memoizedState;a.state=d,mo(t,r,a,i),s=t.memoizedState,u!==r||d!==s||vi.current||so?("function"===typeof l&&(go(t,n,l,r),s=t.memoizedState),(u=so||Oo(t,n,u,r,d,s,c))?(f||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.effectTag|=4)):("function"===typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=c,r=u):("function"===typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,lo(e,t),u=t.memoizedProps,a.props=t.type===t.elementType?u:Zi(t.type,u),s=a.context,"object"===typeof(c=n.contextType)&&null!==c?c=uo(c):c=yi(t,c=gi(n)?bi:mi.current),(f="function"===typeof(l=n.getDerivedStateFromProps)||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==r||s!==c)&&So(t,a,r,c),so=!1,s=t.memoizedState,a.state=s,mo(t,r,a,i),d=t.memoizedState,u!==r||s!==d||vi.current||so?("function"===typeof l&&(go(t,n,l,r),d=t.memoizedState),(l=so||Oo(t,n,u,r,s,d,c))?(f||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,d,c),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,d,c)),"function"===typeof a.componentDidUpdate&&(t.effectTag|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!==typeof a.componentDidUpdate||u===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=d),a.props=r,a.state=d,a.context=c,r=l):("function"!==typeof a.componentDidUpdate||u===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=256),r=!1);return Ba(e,t,n,r,o,i)}function Ba(e,t,n,r,i,o){za(e,t);var a=0!==(64&t.effectTag);if(!r&&!a)return i&&ki(t,n,!1),Za(e,t,o);r=t.stateNode,Ma.current=t;var u=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Co(t,e.child,null,o),t.child=Co(t,null,u,o)):Na(e,t,u,o),t.memoizedState=r.state,i&&ki(t,n,!0),t.child}function Va(e){var t=e.stateNode;t.pendingContext?Oi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Oi(0,t.context,!1),Fo(e,t.containerInfo)}var Ha,Ya,$a,qa={dehydrated:null,retryTime:0};function Ga(e,t,n){var r,i=t.mode,o=t.pendingProps,a=Wo.current,u=!1;if((r=0!==(64&t.effectTag))||(r=0!==(2&a)&&(null===e||null!==e.memoizedState)),r?(u=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),pi(Wo,1&a),null===e){if(void 0!==o.fallback&&Ca(t),u){if(u=o.fallback,(o=Fs(null,i,0,null)).return=t,0===(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Fs(u,i,n,null)).return=t,o.sibling=n,t.memoizedState=qa,t.child=o,n}return i=o.children,t.memoizedState=null,t.child=Po(t,null,i,n)}if(null!==e.memoizedState){if(i=(e=e.child).sibling,u){if(o=o.fallback,(n=Ds(e,e.pendingProps)).return=t,0===(2&t.mode)&&(u=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=u;null!==u;)u.return=n,u=u.sibling;return(i=Ds(i,o)).return=t,n.sibling=i,n.childExpirationTime=0,t.memoizedState=qa,t.child=n,i}return n=Co(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,u){if(u=o.fallback,(o=Fs(null,i,0,null)).return=t,o.child=e,null!==e&&(e.return=o),0===(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Fs(u,i,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=qa,t.child=o,n}return t.memoizedState=null,t.child=Co(t,e,o.children,n)}function Ka(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),oo(e.return,t)}function Xa(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function Qa(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Na(e,t,r.children,n),0!==(2&(r=Wo.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!==(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ka(e,n);else if(19===e.tag)Ka(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(pi(Wo,r),0===(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Uo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Xa(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Uo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Xa(t,!0,n,null,o,t.lastEffect);break;case"together":Xa(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Za(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&hs(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Ds(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ds(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ja(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function eu(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return gi(t.type)&&wi(),null;case 3:return Io(),di(vi),di(mi),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Ra(t)||(t.effectTag|=4),null;case 5:zo(t),n=No(Do.current);var o=t.type;if(null!==e&&null!=t.stateNode)Ya(e,t,o,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=No(Ao.current),Ra(t)){r=t.stateNode,o=t.type;var u=t.memoizedProps;switch(r[Tn]=t,r[Cn]=u,o){case"iframe":case"object":case"embed":Gt("load",r);break;case"video":case"audio":for(e=0;e<Qe.length;e++)Gt(Qe[e],r);break;case"source":Gt("error",r);break;case"img":case"image":case"link":Gt("error",r),Gt("load",r);break;case"form":Gt("reset",r),Gt("submit",r);break;case"details":Gt("toggle",r);break;case"input":Se(r,u),Gt("invalid",r),cn(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!u.multiple},Gt("invalid",r),cn(n,"onChange");break;case"textarea":Re(r,u),Gt("invalid",r),cn(n,"onChange")}for(var s in an(o,u),e=null,u)if(u.hasOwnProperty(s)){var c=u[s];"children"===s?"string"===typeof c?r.textContent!==c&&(e=["children",c]):"number"===typeof c&&r.textContent!==""+c&&(e=["children",""+c]):k.hasOwnProperty(s)&&null!=c&&cn(n,s)}switch(o){case"input":we(r),je(r,u,!0);break;case"textarea":we(r),Me(r);break;case"select":case"option":break;default:"function"===typeof u.onClick&&(r.onclick=ln)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(s=9===n.nodeType?n:n.ownerDocument,e===sn&&(e=Fe(o)),e===sn?"script"===o?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=s.createElement(o,{is:r.is}):(e=s.createElement(o),"select"===o&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,o),e[Tn]=t,e[Cn]=r,Ha(e,t),t.stateNode=e,s=un(o,r),o){case"iframe":case"object":case"embed":Gt("load",e),c=r;break;case"video":case"audio":for(c=0;c<Qe.length;c++)Gt(Qe[c],e);c=r;break;case"source":Gt("error",e),c=r;break;case"img":case"image":case"link":Gt("error",e),Gt("load",e),c=r;break;case"form":Gt("reset",e),Gt("submit",e),c=r;break;case"details":Gt("toggle",e),c=r;break;case"input":Se(e,r),c=xe(e,r),Gt("invalid",e),cn(n,"onChange");break;case"option":c=Te(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},c=i({},r,{value:void 0}),Gt("invalid",e),cn(n,"onChange");break;case"textarea":Re(e,r),c=Pe(e,r),Gt("invalid",e),cn(n,"onChange");break;default:c=r}an(o,c);var l=c;for(u in l)if(l.hasOwnProperty(u)){var f=l[u];"style"===u?rn(e,f):"dangerouslySetInnerHTML"===u?null!=(f=f?f.__html:void 0)&&We(e,f):"children"===u?"string"===typeof f?("textarea"!==o||""!==f)&&Ue(e,f):"number"===typeof f&&Ue(e,""+f):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(k.hasOwnProperty(u)?null!=f&&cn(n,u):null!=f&&Q(e,u,f,s))}switch(o){case"input":we(e),je(e,r,!1);break;case"textarea":we(e),Me(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ye(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Ce(e,!!r.multiple,n,!1):null!=r.defaultValue&&Ce(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof c.onClick&&(e.onclick=ln)}On(o,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)$a(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(a(166));n=No(Do.current),No(Ao.current),Ra(t)?(n=t.stateNode,r=t.memoizedProps,n[Tn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Tn]=t,t.stateNode=n)}return null;case 13:return di(Wo),r=t.memoizedState,0!==(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Ra(t):(r=null!==(o=e.memoizedState),n||null===o||null!==(o=e.child.sibling)&&(null!==(u=t.firstEffect)?(t.firstEffect=o,o.nextEffect=u):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),n&&!r&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&Wo.current)?Nu===Tu&&(Nu=Cu):(Nu!==Tu&&Nu!==Cu||(Nu=Pu),0!==Wu&&null!==Au&&(Us(Au,Du),Bs(Au,Wu)))),(n||r)&&(t.effectTag|=4),null);case 4:return Io(),null;case 10:return io(t),null;case 17:return gi(t.type)&&wi(),null;case 19:if(di(Wo),null===(r=t.memoizedState))return null;if(o=0!==(64&t.effectTag),null===(u=r.rendering)){if(o)Ja(r,!1);else if(Nu!==Tu||null!==e&&0!==(64&e.effectTag))for(u=t.child;null!==u;){if(null!==(e=Uo(u))){for(t.effectTag|=64,Ja(r,!1),null!==(o=e.updateQueue)&&(t.updateQueue=o,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)u=n,(o=r).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(e=o.alternate)?(o.childExpirationTime=0,o.expirationTime=u,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,u=e.dependencies,o.dependencies=null===u?null:{expirationTime:u.expirationTime,firstContext:u.firstContext,responders:u.responders}),r=r.sibling;return pi(Wo,1&Wo.current|2),t.child}u=u.sibling}}else{if(!o)if(null!==(e=Uo(u))){if(t.effectTag|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Ja(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Vi()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,o=!0,Ja(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=r.last)?n.sibling=u:t.child=u,r.last=u)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Vi()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Vi(),n.sibling=null,t=Wo.current,pi(Wo,o?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function tu(e){switch(e.tag){case 1:gi(e.type)&&wi();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Io(),di(vi),di(mi),0!==(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return zo(e),null;case 13:return di(Wo),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return di(Wo),null;case 4:return Io(),null;case 10:return io(e),null;default:return null}}function nu(e,t){return{value:e,source:t,stack:be(t)}}Ha=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ya=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var u,s,c=t.stateNode;switch(No(Ao.current),e=null,n){case"input":a=xe(c,a),r=xe(c,r),e=[];break;case"option":a=Te(c,a),r=Te(c,r),e=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case"textarea":a=Pe(c,a),r=Pe(c,r),e=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(c.onclick=ln)}for(u in an(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u])if("style"===u)for(s in c=a[u])c.hasOwnProperty(s)&&(n||(n={}),n[s]="");else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(k.hasOwnProperty(u)?e||(e=[]):(e=e||[]).push(u,null));for(u in r){var l=r[u];if(c=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&l!==c&&(null!=l||null!=c))if("style"===u)if(c){for(s in c)!c.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&c[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(e||(e=[]),e.push(u,n)),n=l;else"dangerouslySetInnerHTML"===u?(l=l?l.__html:void 0,c=c?c.__html:void 0,null!=l&&c!==l&&(e=e||[]).push(u,l)):"children"===u?c===l||"string"!==typeof l&&"number"!==typeof l||(e=e||[]).push(u,""+l):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(k.hasOwnProperty(u)?(null!=l&&cn(o,u),e||c===l||(e=[])):(e=e||[]).push(u,l))}n&&(e=e||[]).push("style",n),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},$a=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var ru="function"===typeof WeakSet?WeakSet:Set;function iu(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=be(n)),null!==n&&ve(n.type),t=t.value,null!==e&&1===e.tag&&ve(e.type);try{console.error(t)}catch(i){setTimeout((function(){throw i}))}}function ou(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){js(e,n)}else t.current=null}function au(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Zi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function uu(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function su(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function cu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void su(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Zi(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&vo(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}vo(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&On(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&It(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function lu(e,t,n){switch("function"===typeof Ps&&Ps(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;$i(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var i=t;try{n()}catch(o){js(i,o)}}e=e.next}while(e!==r)}))}break;case 1:ou(t),"function"===typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(n){js(e,n)}}(t,n);break;case 5:ou(t);break;case 4:vu(e,t,n)}}function fu(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&fu(t)}function du(e){return 5===e.tag||3===e.tag||4===e.tag}function pu(e){e:{for(var t=e.return;null!==t;){if(du(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Ue(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||du(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?hu(e,n,t):mu(e,n,t)}function hu(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=ln));else if(4!==r&&null!==(e=e.child))for(hu(e,t,n),e=e.sibling;null!==e;)hu(e,t,n),e=e.sibling}function mu(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(mu(e,t,n),e=e.sibling;null!==e;)mu(e,t,n),e=e.sibling}function vu(e,t,n){for(var r,i,o=t,u=!1;;){if(!u){u=o.return;e:for(;;){if(null===u)throw Error(a(160));switch(r=u.stateNode,u.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}u=u.return}u=!0}if(5===o.tag||6===o.tag){e:for(var s=e,c=o,l=n,f=c;;)if(lu(s,f,l),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===c)break e;for(;null===f.sibling;){if(null===f.return||f.return===c)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}i?(s=r,c=o.stateNode,8===s.nodeType?s.parentNode.removeChild(c):s.removeChild(c)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(lu(e,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(u=!1)}o.sibling.return=o.return,o=o.sibling}}function bu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void uu(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Cn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&ke(n,r),un(e,i),t=un(e,r),i=0;i<o.length;i+=2){var u=o[i],s=o[i+1];"style"===u?rn(n,s):"dangerouslySetInnerHTML"===u?We(n,s):"children"===u?Ue(n,s):Q(n,u,s,t)}switch(e){case"input":Ee(n,r);break;case"textarea":Ae(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Ce(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Ce(n,!!r.multiple,r.defaultValue,!0):Ce(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,It(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Bu=Vi()),null!==n)e:for(e=n;;){if(5===e.tag)o=e.stateNode,r?"function"===typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=e.stateNode,i=void 0!==(i=e.memoizedProps.style)&&null!==i&&i.hasOwnProperty("display")?i.display:null,o.style.display=nn("display",i));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(o=e.child.sibling).return=e,e=o;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void yu(t);case 19:return void yu(t);case 17:return}throw Error(a(163))}function yu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ru),t.forEach((function(t){var r=Ts.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var gu="function"===typeof WeakMap?WeakMap:Map;function wu(e,t,n){(n=fo(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hu||(Hu=!0,Yu=r),iu(e,t)},n}function Ou(e,t,n){(n=fo(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return iu(e,t),r(i)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===$u?$u=new Set([this]):$u.add(this),iu(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var xu,Su=Math.ceil,ku=X.ReactCurrentDispatcher,Eu=X.ReactCurrentOwner,ju=16,_u=32,Tu=0,Cu=3,Pu=4,Ru=0,Au=null,Mu=null,Du=0,Nu=Tu,Fu=null,Iu=1073741823,Lu=1073741823,zu=null,Wu=0,Uu=!1,Bu=0,Vu=null,Hu=!1,Yu=null,$u=null,qu=!1,Gu=null,Ku=90,Xu=null,Qu=0,Zu=null,Ju=0;function es(){return 0!==(48&Ru)?1073741821-(Vi()/10|0):0!==Ju?Ju:Ju=1073741821-(Vi()/10|0)}function ts(e,t,n){if(0===(2&(t=t.mode)))return 1073741823;var r=Hi();if(0===(4&t))return 99===r?1073741823:1073741822;if(0!==(Ru&ju))return Du;if(null!==n)e=Qi(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Qi(e,150,100);break;case 97:case 96:e=Qi(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Au&&e===Du&&--e,e}function ns(e,t){if(50<Qu)throw Qu=0,Zu=null,Error(a(185));if(null!==(e=rs(e,t))){var n=Hi();1073741823===t?0!==(8&Ru)&&0===(48&Ru)?us(e):(os(e),0===Ru&&Ki()):os(e),0===(4&Ru)||98!==n&&99!==n||(null===Xu?Xu=new Map([[e,t]]):(void 0===(n=Xu.get(e))||n>t)&&Xu.set(e,t))}}function rs(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(Au===i&&(hs(t),Nu===Pu&&Us(i,Du)),Bs(i,t)),i}function is(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Ws(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function os(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Gi(us.bind(null,e));else{var t=is(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=es();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=e.callbackPriority;if(e.callbackExpirationTime===t&&i>=r)return;n!==Fi&&_i(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Gi(us.bind(null,e)):qi(r,as.bind(null,e),{timeout:10*(1073741821-t)-Vi()}),e.callbackNode=t}}}function as(e,t){if(Ju=0,t)return Vs(e,t=es()),os(e),null;var n=is(e);if(0!==n){if(t=e.callbackNode,0!==(48&Ru))throw Error(a(327));if(Ss(),e===Au&&n===Du||ls(e,n),null!==Mu){var r=Ru;Ru|=ju;for(var i=ds();;)try{vs();break}catch(s){fs(e,s)}if(ro(),Ru=r,ku.current=i,1===Nu)throw t=Fu,ls(e,n),Us(e,n),os(e),t;if(null===Mu)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Nu,Au=null,r){case Tu:case 1:throw Error(a(345));case 2:Vs(e,2<n?2:n);break;case Cu:if(Us(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=gs(i)),1073741823===Iu&&10<(i=Bu+500-Vi())){if(Uu){var o=e.lastPingedTime;if(0===o||o>=n){e.lastPingedTime=n,ls(e,n);break}}if(0!==(o=is(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=Sn(ws.bind(null,e),i);break}ws(e);break;case Pu:if(Us(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=gs(i)),Uu&&(0===(i=e.lastPingedTime)||i>=n)){e.lastPingedTime=n,ls(e,n);break}if(0!==(i=is(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Lu?r=10*(1073741821-Lu)-Vi():1073741823===Iu?r=0:(r=10*(1073741821-Iu)-5e3,0>(r=(i=Vi())-r)&&(r=0),(n=10*(1073741821-n)-i)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Su(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=Sn(ws.bind(null,e),r);break}ws(e);break;case 5:if(1073741823!==Iu&&null!==zu){o=Iu;var u=zu;if(0>=(r=0|u.busyMinDurationMs)?r=0:(i=0|u.busyDelayMs,r=(o=Vi()-(10*(1073741821-o)-(0|u.timeoutMs||5e3)))<=i?0:i+r-o),10<r){Us(e,n),e.timeoutHandle=Sn(ws.bind(null,e),r);break}}ws(e);break;default:throw Error(a(329))}if(os(e),e.callbackNode===t)return as.bind(null,e)}}return null}function us(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!==(48&Ru))throw Error(a(327));if(Ss(),e===Au&&t===Du||ls(e,t),null!==Mu){var n=Ru;Ru|=ju;for(var r=ds();;)try{ms();break}catch(i){fs(e,i)}if(ro(),Ru=n,ku.current=r,1===Nu)throw n=Fu,ls(e,t),Us(e,t),os(e),n;if(null!==Mu)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Au=null,ws(e),os(e)}return null}function ss(e,t){var n=Ru;Ru|=1;try{return e(t)}finally{0===(Ru=n)&&Ki()}}function cs(e,t){var n=Ru;Ru&=-2,Ru|=8;try{return e(t)}finally{0===(Ru=n)&&Ki()}}function ls(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,kn(n)),null!==Mu)for(n=Mu.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&wi();break;case 3:Io(),di(vi),di(mi);break;case 5:zo(r);break;case 4:Io();break;case 13:case 19:di(Wo);break;case 10:io(r)}n=n.return}Au=e,Mu=Ds(e.current,null),Du=t,Nu=Tu,Fu=null,Lu=Iu=1073741823,zu=null,Wu=0,Uu=!1}function fs(e,t){for(;;){try{if(ro(),Vo.current=wa,Ko)for(var n=$o.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Yo=0,Go=qo=$o=null,Ko=!1,null===Mu||null===Mu.return)return Nu=1,Fu=t,Mu=null;e:{var i=e,o=Mu.return,a=Mu,u=t;if(t=Du,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==u&&"object"===typeof u&&"function"===typeof u.then){var s=u;if(0===(2&a.mode)){var c=a.alternate;c?(a.updateQueue=c.updateQueue,a.memoizedState=c.memoizedState,a.expirationTime=c.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var l=0!==(1&Wo.current),f=o;do{var d;if(d=13===f.tag){var p=f.memoizedState;if(null!==p)d=null!==p.dehydrated;else{var h=f.memoizedProps;d=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!l)}}if(d){var m=f.updateQueue;if(null===m){var v=new Set;v.add(s),f.updateQueue=v}else m.add(s);if(0===(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var b=fo(1073741823,null);b.tag=2,po(a,b)}a.expirationTime=1073741823;break e}u=void 0,a=t;var y=i.pingCache;if(null===y?(y=i.pingCache=new gu,u=new Set,y.set(s,u)):void 0===(u=y.get(s))&&(u=new Set,y.set(s,u)),!u.has(a)){u.add(a);var g=_s.bind(null,i,s,a);s.then(g,g)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);u=Error((ve(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+be(a))}5!==Nu&&(Nu=2),u=nu(u,a),f=o;do{switch(f.tag){case 3:s=u,f.effectTag|=4096,f.expirationTime=t,ho(f,wu(f,s,t));break e;case 1:s=u;var w=f.type,O=f.stateNode;if(0===(64&f.effectTag)&&("function"===typeof w.getDerivedStateFromError||null!==O&&"function"===typeof O.componentDidCatch&&(null===$u||!$u.has(O)))){f.effectTag|=4096,f.expirationTime=t,ho(f,Ou(f,s,t));break e}}f=f.return}while(null!==f)}Mu=ys(Mu)}catch(x){t=x;continue}break}}function ds(){var e=ku.current;return ku.current=wa,null===e?wa:e}function ps(e,t){e<Iu&&2<e&&(Iu=e),null!==t&&e<Lu&&2<e&&(Lu=e,zu=t)}function hs(e){e>Wu&&(Wu=e)}function ms(){for(;null!==Mu;)Mu=bs(Mu)}function vs(){for(;null!==Mu&&!Ii();)Mu=bs(Mu)}function bs(e){var t=xu(e.alternate,e,Du);return e.memoizedProps=e.pendingProps,null===t&&(t=ys(e)),Eu.current=null,t}function ys(e){Mu=e;do{var t=Mu.alternate;if(e=Mu.return,0===(2048&Mu.effectTag)){if(t=eu(t,Mu,Du),1===Du||1!==Mu.childExpirationTime){for(var n=0,r=Mu.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}Mu.childExpirationTime=n}if(null!==t)return t;null!==e&&0===(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Mu.firstEffect),null!==Mu.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Mu.firstEffect),e.lastEffect=Mu.lastEffect),1<Mu.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Mu:e.firstEffect=Mu,e.lastEffect=Mu))}else{if(null!==(t=tu(Mu)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Mu.sibling))return t;Mu=e}while(null!==Mu);return Nu===Tu&&(Nu=5),null}function gs(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function ws(e){var t=Hi();return $i(99,Os.bind(null,e,t)),null}function Os(e,t){do{Ss()}while(null!==Gu);if(0!==(48&Ru))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=gs(n);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Au&&(Mu=Au=null,Du=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=Ru;Ru|=_u,Eu.current=null,gn=qt;var u=mn();if(vn(u)){if("selectionStart"in u)var s={start:u.selectionStart,end:u.selectionEnd};else e:{var c=(s=(s=u.ownerDocument)&&s.defaultView||window).getSelection&&s.getSelection();if(c&&0!==c.rangeCount){s=c.anchorNode;var l=c.anchorOffset,f=c.focusNode;c=c.focusOffset;try{s.nodeType,f.nodeType}catch(j){s=null;break e}var d=0,p=-1,h=-1,m=0,v=0,b=u,y=null;t:for(;;){for(var g;b!==s||0!==l&&3!==b.nodeType||(p=d+l),b!==f||0!==c&&3!==b.nodeType||(h=d+c),3===b.nodeType&&(d+=b.nodeValue.length),null!==(g=b.firstChild);)y=b,b=g;for(;;){if(b===u)break t;if(y===s&&++m===l&&(p=d),y===f&&++v===c&&(h=d),null!==(g=b.nextSibling))break;y=(b=y).parentNode}b=g}s=-1===p||-1===h?null:{start:p,end:h}}else s=null}s=s||{start:0,end:0}}else s=null;wn={activeElementDetached:null,focusedElem:u,selectionRange:s},qt=!1,Vu=i;do{try{xs()}catch(j){if(null===Vu)throw Error(a(330));js(Vu,j),Vu=Vu.nextEffect}}while(null!==Vu);Vu=i;do{try{for(u=e,s=t;null!==Vu;){var w=Vu.effectTag;if(16&w&&Ue(Vu.stateNode,""),128&w){var O=Vu.alternate;if(null!==O){var x=O.ref;null!==x&&("function"===typeof x?x(null):x.current=null)}}switch(1038&w){case 2:pu(Vu),Vu.effectTag&=-3;break;case 6:pu(Vu),Vu.effectTag&=-3,bu(Vu.alternate,Vu);break;case 1024:Vu.effectTag&=-1025;break;case 1028:Vu.effectTag&=-1025,bu(Vu.alternate,Vu);break;case 4:bu(Vu.alternate,Vu);break;case 8:vu(u,l=Vu,s),fu(l)}Vu=Vu.nextEffect}}catch(j){if(null===Vu)throw Error(a(330));js(Vu,j),Vu=Vu.nextEffect}}while(null!==Vu);if(x=wn,O=mn(),w=x.focusedElem,s=x.selectionRange,O!==w&&w&&w.ownerDocument&&hn(w.ownerDocument.documentElement,w)){null!==s&&vn(w)&&(O=s.start,void 0===(x=s.end)&&(x=O),"selectionStart"in w?(w.selectionStart=O,w.selectionEnd=Math.min(x,w.value.length)):(x=(O=w.ownerDocument||document)&&O.defaultView||window).getSelection&&(x=x.getSelection(),l=w.textContent.length,u=Math.min(s.start,l),s=void 0===s.end?u:Math.min(s.end,l),!x.extend&&u>s&&(l=s,s=u,u=l),l=pn(w,u),f=pn(w,s),l&&f&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==f.node||x.focusOffset!==f.offset)&&((O=O.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),u>s?(x.addRange(O),x.extend(f.node,f.offset)):(O.setEnd(f.node,f.offset),x.addRange(O))))),O=[];for(x=w;x=x.parentNode;)1===x.nodeType&&O.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"===typeof w.focus&&w.focus(),w=0;w<O.length;w++)(x=O[w]).element.scrollLeft=x.left,x.element.scrollTop=x.top}qt=!!gn,wn=gn=null,e.current=n,Vu=i;do{try{for(w=e;null!==Vu;){var S=Vu.effectTag;if(36&S&&cu(w,Vu.alternate,Vu),128&S){O=void 0;var k=Vu.ref;if(null!==k){var E=Vu.stateNode;switch(Vu.tag){case 5:O=E;break;default:O=E}"function"===typeof k?k(O):k.current=O}}Vu=Vu.nextEffect}}catch(j){if(null===Vu)throw Error(a(330));js(Vu,j),Vu=Vu.nextEffect}}while(null!==Vu);Vu=null,Li(),Ru=o}else e.current=n;if(qu)qu=!1,Gu=e,Ku=t;else for(Vu=i;null!==Vu;)t=Vu.nextEffect,Vu.nextEffect=null,Vu=t;if(0===(t=e.firstPendingTime)&&($u=null),1073741823===t?e===Zu?Qu++:(Qu=0,Zu=e):Qu=0,"function"===typeof Cs&&Cs(n.stateNode,r),os(e),Hu)throw Hu=!1,e=Yu,Yu=null,e;return 0!==(8&Ru)||Ki(),null}function xs(){for(;null!==Vu;){var e=Vu.effectTag;0!==(256&e)&&au(Vu.alternate,Vu),0===(512&e)||qu||(qu=!0,qi(97,(function(){return Ss(),null}))),Vu=Vu.nextEffect}}function Ss(){if(90!==Ku){var e=97<Ku?97:Ku;return Ku=90,$i(e,ks)}}function ks(){if(null===Gu)return!1;var e=Gu;if(Gu=null,0!==(48&Ru))throw Error(a(331));var t=Ru;for(Ru|=_u,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!==(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:uu(5,n),su(5,n)}}catch(r){if(null===e)throw Error(a(330));js(e,r)}n=e.nextEffect,e.nextEffect=null,e=n}return Ru=t,Ki(),!0}function Es(e,t,n){po(e,t=wu(e,t=nu(n,t),1073741823)),null!==(e=rs(e,1073741823))&&os(e)}function js(e,t){if(3===e.tag)Es(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Es(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===$u||!$u.has(r))){po(n,e=Ou(n,e=nu(t,e),1073741823)),null!==(n=rs(n,1073741823))&&os(n);break}}n=n.return}}function _s(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Au===e&&Du===n?Nu===Pu||Nu===Cu&&1073741823===Iu&&Vi()-Bu<500?ls(e,Du):Uu=!0:Ws(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,os(e)))}function Ts(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=ts(t=es(),e,null)),null!==(e=rs(e,t))&&os(e)}xu=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||vi.current)Da=!0;else{if(r<n){switch(Da=!1,t.tag){case 3:Va(t),Aa();break;case 5:if(Lo(t),4&t.mode&&1!==n&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:gi(t.type)&&Si(t);break;case 4:Fo(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,i=t.type._context,pi(Ji,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ga(e,t,n):(pi(Wo,1&Wo.current),null!==(t=Za(e,t,n))?t.sibling:null);pi(Wo,1&Wo.current);break;case 19:if(r=t.childExpirationTime>=n,0!==(64&e.effectTag)){if(r)return Qa(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),pi(Wo,Wo.current),!r)return null}return Za(e,t,n)}Da=!1}}else Da=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=yi(t,mi.current),ao(t,n),i=Zo(null,t,r,e,i,n),t.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,gi(r)){var o=!0;Si(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,co(t);var u=r.getDerivedStateFromProps;"function"===typeof u&&go(t,r,u,e),i.updater=wo,t.stateNode=i,i._reactInternalFiber=t,ko(t,r,e,n),t=Ba(null,t,r,!0,o,n)}else t.tag=0,Na(null,t,i,n),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,o=t.tag=function(e){if("function"===typeof e)return Ms(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===se)return 11;if(e===fe)return 14}return 2}(i),e=Zi(i,e),o){case 0:t=Wa(null,t,i,e,n);break e;case 1:t=Ua(null,t,i,e,n);break e;case 11:t=Fa(null,t,i,e,n);break e;case 14:t=Ia(null,t,i,Zi(i.type,e),r,n);break e}throw Error(a(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,Wa(e,t,r,i=t.elementType===r?i:Zi(r,i),n);case 1:return r=t.type,i=t.pendingProps,Ua(e,t,r,i=t.elementType===r?i:Zi(r,i),n);case 3:if(Va(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,lo(e,t),mo(t,r,null,n),(r=t.memoizedState.element)===i)Aa(),t=Za(e,t,n);else{if((i=t.stateNode.hydrate)&&(Ea=En(t.stateNode.containerInfo.firstChild),ka=t,i=ja=!0),i)for(n=Po(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Na(e,t,r,n),Aa();t=t.child}return t;case 5:return Lo(t),null===e&&Ca(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,u=i.children,xn(r,i)?u=null:null!==o&&xn(r,o)&&(t.effectTag|=16),za(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Na(e,t,u,n),t=t.child),t;case 6:return null===e&&Ca(t),null;case 13:return Ga(e,t,n);case 4:return Fo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Co(t,null,r,n):Na(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Fa(e,t,r,i=t.elementType===r?i:Zi(r,i),n);case 7:return Na(e,t,t.pendingProps,n),t.child;case 8:case 12:return Na(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,u=t.memoizedProps,o=i.value;var s=t.type._context;if(pi(Ji,s._currentValue),s._currentValue=o,null!==u)if(s=u.value,0===(o=Ur(s,o)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(s,o):1073741823))){if(u.children===i.children&&!vi.current){t=Za(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var c=s.dependencies;if(null!==c){u=s.child;for(var l=c.firstContext;null!==l;){if(l.context===r&&0!==(l.observedBits&o)){1===s.tag&&((l=fo(n,null)).tag=2,po(s,l)),s.expirationTime<n&&(s.expirationTime=n),null!==(l=s.alternate)&&l.expirationTime<n&&(l.expirationTime=n),oo(s.return,n),c.expirationTime<n&&(c.expirationTime=n);break}l=l.next}}else u=10===s.tag&&s.type===t.type?null:s.child;if(null!==u)u.return=s;else for(u=s;null!==u;){if(u===t){u=null;break}if(null!==(s=u.sibling)){s.return=u.return,u=s;break}u=u.return}s=u}Na(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,ao(t,n),r=r(i=uo(i,o.unstable_observedBits)),t.effectTag|=1,Na(e,t,r,n),t.child;case 14:return o=Zi(i=t.type,t.pendingProps),Ia(e,t,i,o=Zi(i.type,o),r,n);case 15:return La(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Zi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,gi(r)?(e=!0,Si(t)):e=!1,ao(t,n),xo(t,r,i),ko(t,r,i,n),Ba(null,t,r,!0,e,n);case 19:return Qa(e,t,n)}throw Error(a(156,t.tag))};var Cs=null,Ps=null;function Rs(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function As(e,t,n,r){return new Rs(e,t,n,r)}function Ms(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ds(e,t){var n=e.alternate;return null===n?((n=As(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ns(e,t,n,r,i,o){var u=2;if(r=e,"function"===typeof e)Ms(e)&&(u=1);else if("string"===typeof e)u=5;else e:switch(e){case ne:return Fs(n.children,i,o,t);case ue:u=8,i|=7;break;case re:u=8,i|=1;break;case ie:return(e=As(12,n,t,8|i)).elementType=ie,e.type=ie,e.expirationTime=o,e;case ce:return(e=As(13,n,t,i)).type=ce,e.elementType=ce,e.expirationTime=o,e;case le:return(e=As(19,n,t,i)).elementType=le,e.expirationTime=o,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case oe:u=10;break e;case ae:u=9;break e;case se:u=11;break e;case fe:u=14;break e;case de:u=16,r=null;break e;case pe:u=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=As(u,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function Fs(e,t,n,r){return(e=As(7,e,r,t)).expirationTime=n,e}function Is(e,t,n){return(e=As(6,e,null,t)).expirationTime=n,e}function Ls(e,t,n){return(t=As(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zs(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Ws(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Us(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Bs(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Vs(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Hs(e,t,n,r){var i=t.current,o=es(),u=bo.suspense;o=ts(o,i,u);e:if(n){t:{if(et(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(gi(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);throw Error(a(171))}if(1===n.tag){var c=n.type;if(gi(c)){n=xi(n,c,s);break e}}n=s}else n=hi;return null===t.context?t.context=n:t.pendingContext=n,(t=fo(o,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),po(i,t),ns(i,o),o}function Ys(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function $s(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function qs(e,t){$s(e,t),(e=e.alternate)&&$s(e,t)}function Gs(e,t,n){var r=new zs(e,t,n=null!=n&&!0===n.hydrate),i=As(3,null,null,2===t?7:1===t?3:0);r.current=i,i.stateNode=r,co(i),e[Pn]=r.current,n&&0!==t&&function(e,t){var n=Je(t);_t.forEach((function(e){mt(e,t,n)})),Tt.forEach((function(e){mt(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Ks(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xs(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"===typeof i){var u=i;i=function(){var e=Ys(a);u.call(e)}}Hs(t,a,e,i)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Gs(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"===typeof i){var s=i;i=function(){var e=Ys(a);s.call(e)}}cs((function(){Hs(t,a,e,i)}))}return Ys(a)}function Qs(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Zs(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ks(t))throw Error(a(200));return Qs(e,t,null,n)}Gs.prototype.render=function(e){Hs(e,this._internalRoot,null,null)},Gs.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Hs(null,e,null,(function(){t[Pn]=null}))},vt=function(e){if(13===e.tag){var t=Qi(es(),150,100);ns(e,t),qs(e,t)}},bt=function(e){13===e.tag&&(ns(e,3),qs(e,3))},yt=function(e){if(13===e.tag){var t=es();ns(e,t=ts(t,e,null)),qs(e,t)}},T=function(e,t,n){switch(t){case"input":if(Ee(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Dn(r);if(!i)throw Error(a(90));Oe(r),Ee(r,i)}}}break;case"textarea":Ae(e,n);break;case"select":null!=(t=n.value)&&Ce(e,!!n.multiple,t,!1)}},D=ss,N=function(e,t,n,r,i){var o=Ru;Ru|=4;try{return $i(98,e.bind(null,t,n,r,i))}finally{0===(Ru=o)&&Ki()}},F=function(){0===(49&Ru)&&(function(){if(null!==Xu){var e=Xu;Xu=null,e.forEach((function(e,t){Vs(t,e),os(t)})),Ki()}}(),Ss())},I=function(e,t){var n=Ru;Ru|=2;try{return e(t)}finally{0===(Ru=n)&&Ki()}};var Js={Events:[An,Mn,Dn,j,S,Un,function(e){ot(e,Wn)},A,M,Zt,st,Ss,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Cs=function(e){try{t.onCommitFiberRoot(n,e,void 0,64===(64&e.current.effectTag))}catch(r){}},Ps=function(e){try{t.onCommitFiberUnmount(n,e)}catch(r){}}}catch(r){}})(i({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:X.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=rt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:Rn,bundleType:0,version:"16.13.1",rendererPackageName:"react-dom"}),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Js,t.createPortal=Zs,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"===typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=rt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!==(48&Ru))throw Error(a(187));var n=Ru;Ru|=1;try{return $i(99,e.bind(null,t))}finally{Ru=n,Ki()}},t.hydrate=function(e,t,n){if(!Ks(t))throw Error(a(200));return Xs(null,e,t,!0,n)},t.render=function(e,t,n){if(!Ks(t))throw Error(a(200));return Xs(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Ks(e))throw Error(a(40));return!!e._reactRootContainer&&(cs((function(){Xs(null,null,e,!1,(function(){e._reactRootContainer=null,e[Pn]=null}))})),!0)},t.unstable_batchedUpdates=ss,t.unstable_createPortal=function(e,t){return Zs(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ks(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Xs(e,t,n,!1,r)},t.version="16.13.1"},function(e,t,n){"use strict";e.exports=n(326)},function(e,t,n){"use strict";var r,i,o,a,u;if("undefined"===typeof window||"function"!==typeof MessageChannel){var s=null,c=null,l=function e(){if(null!==s)try{var n=t.unstable_now();s(!0,n),s=null}catch(r){throw setTimeout(e,0),r}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==s?setTimeout(r,0,e):(s=e,setTimeout(l,0))},i=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},a=function(){return!1},u=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,h=window.setTimeout,m=window.clearTimeout;if("undefined"!==typeof console){var v=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"===typeof d&&"function"===typeof d.now)t.unstable_now=function(){return d.now()};else{var b=p.now();t.unstable_now=function(){return p.now()-b}}var y=!1,g=null,w=-1,O=5,x=0;a=function(){return t.unstable_now()>=x},u=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):O=0<e?Math.floor(1e3/e):5};var S=new MessageChannel,k=S.port2;S.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();x=e+O;try{g(!0,e)?k.postMessage(null):(y=!1,g=null)}catch(n){throw k.postMessage(null),n}}else y=!1},r=function(e){g=e,y||(y=!0,k.postMessage(null))},i=function(e,n){w=h((function(){e(t.unstable_now())}),n)},o=function(){m(w),w=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<T(i,t)))break e;e[r]=t,e[n]=i,n=r}}function j(e){return void 0===(e=e[0])?null:e}function _(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],u=o+1,s=e[u];if(void 0!==a&&0>T(a,n))void 0!==s&&0>T(s,a)?(e[r]=s,e[u]=n,r=u):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==s&&0>T(s,n)))break e;e[r]=s,e[u]=n,r=u}}}return t}return null}function T(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],P=[],R=1,A=null,M=3,D=!1,N=!1,F=!1;function I(e){for(var t=j(P);null!==t;){if(null===t.callback)_(P);else{if(!(t.startTime<=e))break;_(P),t.sortIndex=t.expirationTime,E(C,t)}t=j(P)}}function L(e){if(F=!1,I(e),!N)if(null!==j(C))N=!0,r(z);else{var t=j(P);null!==t&&i(L,t.startTime-e)}}function z(e,n){N=!1,F&&(F=!1,o()),D=!0;var r=M;try{for(I(n),A=j(C);null!==A&&(!(A.expirationTime>n)||e&&!a());){var u=A.callback;if(null!==u){A.callback=null,M=A.priorityLevel;var s=u(A.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?A.callback=s:A===j(C)&&_(C),I(n)}else _(C);A=j(C)}if(null!==A)var c=!0;else{var l=j(P);null!==l&&i(L,l.startTime-n),c=!1}return c}finally{A=null,M=r,D=!1}}function W(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var U=u;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){N||D||(N=!0,r(z))},t.unstable_getCurrentPriorityLevel=function(){return M},t.unstable_getFirstCallbackNode=function(){return j(C)},t.unstable_next=function(e){switch(M){case 1:case 2:case 3:var t=3;break;default:t=M}var n=M;M=t;try{return e()}finally{M=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=U,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=M;M=e;try{return t()}finally{M=n}},t.unstable_scheduleCallback=function(e,n,a){var u=t.unstable_now();if("object"===typeof a&&null!==a){var s=a.delay;s="number"===typeof s&&0<s?u+s:u,a="number"===typeof a.timeout?a.timeout:W(e)}else a=W(e),s=u;return e={id:R++,callback:n,priorityLevel:e,startTime:s,expirationTime:a=s+a,sortIndex:-1},s>u?(e.sortIndex=s,E(P,e),null===j(C)&&e===j(P)&&(F?o():F=!0,i(L,s-u))):(e.sortIndex=a,E(C,e),N||D||(N=!0,r(z))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();I(e);var n=j(C);return n!==A&&null!==A&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<A.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=M;return function(){var n=M;M=t;try{return e.apply(this,arguments)}finally{M=n}}}},function(e,t,n){},function(e,t,n){"use strict";var r=n(329);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case f:case d:case a:case s:case u:case h:return e;default:switch(e=e&&e.$$typeof){case l:case p:case b:case v:case c:return e;default:return t}}case o:return t}}}function S(e){return x(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=i,t.ForwardRef=p,t.Fragment=a,t.Lazy=b,t.Memo=v,t.Portal=o,t.Profiler=s,t.StrictMode=u,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||x(e)===f},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===l},t.isContextProvider=function(e){return x(e)===c},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===b},t.isMemo=function(e){return x(e)===v},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===u},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===d||e===s||e===u||e===h||e===m||"object"===typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===v||e.$$typeof===c||e.$$typeof===l||e.$$typeof===p||e.$$typeof===g||e.$$typeof===w||e.$$typeof===O||e.$$typeof===y)},t.typeOf=x},function(e,t,n){"use strict";var r=n(0),i=60103;if(t.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),t.Fragment=o("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,l=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(l=t.ref),t)u.call(t,r)&&!s.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:l,props:o,_owner:a.current}}t.jsx=c,t.jsxs=c},function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(R){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof v?t:v,o=Object.create(i.prototype),a=new T(r||[]);return o._invoke=function(e,t,n){var r=f;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return P()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=E(a,n);if(u){if(u===m)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var s=l(e,t,n);if("normal"===s.type){if(r=n.done?h:d,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=h,n.method="throw",n.arg=s.arg)}}}(e,n,a),o}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(R){return{type:"throw",arg:R}}}e.wrap=c;var f="suspendedStart",d="suspendedYield",p="executing",h="completed",m={};function v(){}function b(){}function y(){}var g={};g[o]=function(){return this};var w=Object.getPrototypeOf,O=w&&w(w(C([])));O&&O!==n&&r.call(O,o)&&(g=O);var x=y.prototype=v.prototype=Object.create(g);function S(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(i,o,a,u){var s=l(e[i],e,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"===typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,u)}))}u(s.arg)}var i;this._invoke=function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}}function E(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,E(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=l(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function C(e){if(e){var n=e[o];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:P}}function P(){return{value:t,done:!0}}return b.prototype=x.constructor=y,y.constructor=b,b.displayName=s(y,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,s(e,u,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},S(k.prototype),k.prototype[a]=function(){return this},e.AsyncIterator=k,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new k(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},S(x),s(x,u,"Generator"),x[o]=function(){return this},x.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=C,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(_),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return u.type="throw",u.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;_(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=r}catch(i){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";var r=n(38),i=n(283),o=n(334),a=n(290);function u(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var s=u(n(286));s.Axios=o,s.create=function(e){return u(a(s.defaults,e))},s.Cancel=n(291),s.CancelToken=n(347),s.isCancel=n(285),s.all=function(e){return Promise.all(e)},s.spread=n(348),s.isAxiosError=n(349),e.exports=s,e.exports.default=s},function(e,t,n){"use strict";var r=n(38),i=n(284),o=n(335),a=n(336),u=n(290);function s(e){this.defaults=e,this.interceptors={request:new o,response:new o}}s.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=u(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},s.prototype.getUri=function(e){return e=u(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){s.prototype[e]=function(t,n){return this.request(u(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){s.prototype[e]=function(t,n,r){return this.request(u(r||{},{method:e,url:t,data:n}))}})),e.exports=s},function(e,t,n){"use strict";var r=n(38);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},function(e,t,n){"use strict";var r=n(38),i=n(337),o=n(285),a=n(286);function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return u(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(u(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var r=n(38);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t,n){"use strict";var r=n(38);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},function(e,t,n){"use strict";var r=n(289);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(38);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var u=[];u.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(i)&&u.push("path="+i),r.isString(o)&&u.push("domain="+o),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(343),i=n(344);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(38),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},function(e,t,n){"use strict";var r=n(38);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(291);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";e.exports=function(e){return"object"===typeof e&&!0===e.isAxiosError}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";var r,i,o,a,u;if(Object.defineProperty(t,"__esModule",{value:!0}),"undefined"===typeof window||"function"!==typeof MessageChannel){var s=null,c=null,l=function e(){if(null!==s)try{var n=t.unstable_now();s(!0,n),s=null}catch(r){throw setTimeout(e,0),r}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==s?setTimeout(r,0,e):(s=e,setTimeout(l,0))},i=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},a=function(){return!1},u=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,h=window.setTimeout,m=window.clearTimeout;if("undefined"!==typeof console){var v=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"===typeof d&&"function"===typeof d.now)t.unstable_now=function(){return d.now()};else{var b=p.now();t.unstable_now=function(){return p.now()-b}}var y=!1,g=null,w=-1,O=5,x=0;a=function(){return t.unstable_now()>=x},u=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):O=0<e?Math.floor(1e3/e):5};var S=new MessageChannel,k=S.port2;S.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();x=e+O;try{g(!0,e)?k.postMessage(null):(y=!1,g=null)}catch(n){throw k.postMessage(null),n}}else y=!1},r=function(e){g=e,y||(y=!0,k.postMessage(null))},i=function(e,n){w=h((function(){e(t.unstable_now())}),n)},o=function(){m(w),w=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=Math.floor((n-1)/2),i=e[r];if(!(void 0!==i&&0<T(i,t)))break e;e[r]=t,e[n]=i,n=r}}function j(e){return void 0===(e=e[0])?null:e}function _(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],u=o+1,s=e[u];if(void 0!==a&&0>T(a,n))void 0!==s&&0>T(s,a)?(e[r]=s,e[u]=n,r=u):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==s&&0>T(s,n)))break e;e[r]=s,e[u]=n,r=u}}}return t}return null}function T(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],P=[],R=1,A=null,M=3,D=!1,N=!1,F=!1;function I(e){for(var t=j(P);null!==t;){if(null===t.callback)_(P);else{if(!(t.startTime<=e))break;_(P),t.sortIndex=t.expirationTime,E(C,t)}t=j(P)}}function L(e){if(F=!1,I(e),!N)if(null!==j(C))N=!0,r(z);else{var t=j(P);null!==t&&i(L,t.startTime-e)}}function z(e,n){N=!1,F&&(F=!1,o()),D=!0;var r=M;try{for(I(n),A=j(C);null!==A&&(!(A.expirationTime>n)||e&&!a());){var u=A.callback;if(null!==u){A.callback=null,M=A.priorityLevel;var s=u(A.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?A.callback=s:A===j(C)&&_(C),I(n)}else _(C);A=j(C)}if(null!==A)var c=!0;else{var l=j(P);null!==l&&i(L,l.startTime-n),c=!1}return c}finally{A=null,M=r,D=!1}}function W(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var U=u;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=M;M=e;try{return t()}finally{M=n}},t.unstable_next=function(e){switch(M){case 1:case 2:case 3:var t=3;break;default:t=M}var n=M;M=t;try{return e()}finally{M=n}},t.unstable_scheduleCallback=function(e,n,a){var u=t.unstable_now();if("object"===typeof a&&null!==a){var s=a.delay;s="number"===typeof s&&0<s?u+s:u,a="number"===typeof a.timeout?a.timeout:W(e)}else a=W(e),s=u;return e={id:R++,callback:n,priorityLevel:e,startTime:s,expirationTime:a=s+a,sortIndex:-1},s>u?(e.sortIndex=s,E(P,e),null===j(C)&&e===j(P)&&(F?o():F=!0,i(L,s-u))):(e.sortIndex=a,E(C,e),N||D||(N=!0,r(z))),e},t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_wrapCallback=function(e){var t=M;return function(){var n=M;M=t;try{return e.apply(this,arguments)}finally{M=n}}},t.unstable_getCurrentPriorityLevel=function(){return M},t.unstable_shouldYield=function(){var e=t.unstable_now();I(e);var n=j(C);return n!==A&&null!==A&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<A.expirationTime||a()},t.unstable_requestPaint=U,t.unstable_continueExecution=function(){N||D||(N=!0,r(z))},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return j(C)},t.unstable_Profiling=null},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),i=n(76);function o(e){return e&&"object"===Object(i.a)(e)&&e.constructor===Object}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},i=n.clone?Object(r.a)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(o(t[r])&&r in e?i[r]=a(e[r],t[r],n):i[r]=t[r])})),i}},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(2),i=n(0),o=n(182),a=n(314);function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object(o.a)(),u=Object(a.a)({theme:n,name:"MuiUseMediaQuery",props:{}});var s="function"===typeof e?e(n):e;s=s.replace(/^@media( ?)/m,"");var c="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,l=Object(r.a)({},u,t),f=l.defaultMatches,d=void 0!==f&&f,p=l.matchMedia,h=void 0===p?c?window.matchMedia:null:p,m=l.noSsr,v=void 0!==m&&m,b=l.ssrMatchMedia,y=void 0===b?null:b,g=i.useState((function(){return v&&c?h(s).matches:y?y(s).matches:d})),w=g[0],O=g[1];return i.useEffect((function(){var e=!0;if(c){var t=h(s),n=function(){e&&O(t.matches)};return n(),t.addListener(n),function(){e=!1,t.removeListener(n)}}}),[s,h,c]),w}},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(6),s=n(16),c=n(185),l=n(7),f=o.forwardRef((function(e,t){var n=e.edge,u=void 0!==n&&n,s=e.children,f=e.classes,d=e.className,p=e.color,h=void 0===p?"default":p,m=e.disabled,v=void 0!==m&&m,b=e.disableFocusRipple,y=void 0!==b&&b,g=e.size,w=void 0===g?"medium":g,O=Object(i.a)(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return o.createElement(c.a,Object(r.a)({className:Object(a.a)(f.root,d,"default"!==h&&f["color".concat(Object(l.a)(h))],v&&f.disabled,"small"===w&&f["size".concat(Object(l.a)(w))],{start:f.edgeStart,end:f.edgeEnd}[u]),centerRipple:!0,focusRipple:!y,disabled:v,ref:t},O),o.createElement("span",{className:f.label},s))}));t.a=Object(u.a)((function(e){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:Object(s.a)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:e.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:Object(s.a)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Object(s.a)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:e.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(f)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(6),s=n(185),c=n(107),l=n(13),f=n(106),d=n(17),p="undefined"===typeof window?o.useEffect:o.useLayoutEffect,h=o.forwardRef((function(e,t){var n=e.alignItems,u=void 0===n?"center":n,h=e.autoFocus,m=void 0!==h&&h,v=e.button,b=void 0!==v&&v,y=e.children,g=e.classes,w=e.className,O=e.component,x=e.ContainerComponent,S=void 0===x?"li":x,k=e.ContainerProps,E=(k=void 0===k?{}:k).className,j=Object(i.a)(k,["className"]),_=e.dense,T=void 0!==_&&_,C=e.disabled,P=void 0!==C&&C,R=e.disableGutters,A=void 0!==R&&R,M=e.divider,D=void 0!==M&&M,N=e.focusVisibleClassName,F=e.selected,I=void 0!==F&&F,L=Object(i.a)(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),z=o.useContext(f.a),W={dense:T||z.dense||!1,alignItems:u},U=o.useRef(null);p((function(){m&&U.current&&U.current.focus()}),[m]);var B=o.Children.toArray(y),V=B.length&&Object(c.a)(B[B.length-1],["ListItemSecondaryAction"]),H=o.useCallback((function(e){U.current=d.findDOMNode(e)}),[]),Y=Object(l.a)(H,t),$=Object(r.a)({className:Object(a.a)(g.root,w,W.dense&&g.dense,!A&&g.gutters,D&&g.divider,P&&g.disabled,b&&g.button,"center"!==u&&g.alignItemsFlexStart,V&&g.secondaryAction,I&&g.selected),disabled:P},L),q=O||"li";return b&&($.component=O||"div",$.focusVisibleClassName=Object(a.a)(g.focusVisible,N),q=s.a),V?(q=$.component||O?q:"div","li"===S&&("li"===q?q="div":"li"===$.component&&($.component="div")),o.createElement(f.a.Provider,{value:W},o.createElement(S,Object(r.a)({className:Object(a.a)(g.container,E),ref:Y},j),o.createElement(q,$,B),B.pop()))):o.createElement(f.a.Provider,{value:W},o.createElement(q,Object(r.a)({ref:Y},$),B))}));t.a=Object(u.a)((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(h)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(6),s=n(106),c=o.forwardRef((function(e,t){var n=e.children,u=e.classes,c=e.className,l=e.component,f=void 0===l?"ul":l,d=e.dense,p=void 0!==d&&d,h=e.disablePadding,m=void 0!==h&&h,v=e.subheader,b=Object(i.a)(e,["children","classes","className","component","dense","disablePadding","subheader"]),y=o.useMemo((function(){return{dense:p}}),[p]);return o.createElement(s.a.Provider,{value:y},o.createElement(f,Object(r.a)({className:Object(a.a)(u.root,c,p&&u.dense,!m&&u.padding,v&&u.subheader),ref:t},b),v,n))}));t.a=Object(u.a)({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(c)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(17)),u=n(92),s=n(187),c=n(13),l=n(28),f=n(31),d=n(45);function p(e,t){var n=function(e,t){var n,r=t.getBoundingClientRect();if(t.fakeTransform)n=t.fakeTransform;else{var i=window.getComputedStyle(t);n=i.getPropertyValue("-webkit-transform")||i.getPropertyValue("transform")}var o=0,a=0;if(n&&"none"!==n&&"string"===typeof n){var u=n.split("(")[1].split(")")[0].split(",");o=parseInt(u[4],10),a=parseInt(u[5],10)}return"left"===e?"translateX(".concat(window.innerWidth,"px) translateX(").concat(o-r.left,"px)"):"right"===e?"translateX(-".concat(r.left+r.width-o,"px)"):"up"===e?"translateY(".concat(window.innerHeight,"px) translateY(").concat(a-r.top,"px)"):"translateY(-".concat(r.top+r.height-a,"px)")}(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}var h={enter:f.b.enteringScreen,exit:f.b.leavingScreen},m=o.forwardRef((function(e,t){var n=e.children,f=e.direction,m=void 0===f?"down":f,v=e.in,b=e.onEnter,y=e.onEntered,g=e.onEntering,w=e.onExit,O=e.onExited,x=e.onExiting,S=e.style,k=e.timeout,E=void 0===k?h:k,j=e.TransitionComponent,_=void 0===j?s.a:j,T=Object(i.a)(e,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),C=Object(l.a)(),P=o.useRef(null),R=o.useCallback((function(e){P.current=a.findDOMNode(e)}),[]),A=Object(c.a)(n.ref,R),M=Object(c.a)(A,t),D=function(e){return function(t){e&&(void 0===t?e(P.current):e(P.current,t))}},N=D((function(e,t){p(m,e),Object(d.b)(e),b&&b(e,t)})),F=D((function(e,t){var n=Object(d.a)({timeout:E,style:S},{mode:"enter"});e.style.webkitTransition=C.transitions.create("-webkit-transform",Object(r.a)({},n,{easing:C.transitions.easing.easeOut})),e.style.transition=C.transitions.create("transform",Object(r.a)({},n,{easing:C.transitions.easing.easeOut})),e.style.webkitTransform="none",e.style.transform="none",g&&g(e,t)})),I=D(y),L=D(x),z=D((function(e){var t=Object(d.a)({timeout:E,style:S},{mode:"exit"});e.style.webkitTransition=C.transitions.create("-webkit-transform",Object(r.a)({},t,{easing:C.transitions.easing.sharp})),e.style.transition=C.transitions.create("transform",Object(r.a)({},t,{easing:C.transitions.easing.sharp})),p(m,e),w&&w(e)})),W=D((function(e){e.style.webkitTransition="",e.style.transition="",O&&O(e)})),U=o.useCallback((function(){P.current&&p(m,P.current)}),[m]);return o.useEffect((function(){if(!v&&"down"!==m&&"right"!==m){var e=Object(u.a)((function(){P.current&&p(m,P.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[m,v]),o.useEffect((function(){v||U()}),[v,U]),o.createElement(_,Object(r.a)({nodeRef:P,onEnter:N,onEntered:I,onEntering:F,onExit:z,onExited:W,onExiting:L,appear:!0,in:v,timeout:E},T),(function(e,t){return o.cloneElement(n,Object(r.a)({ref:M,style:Object(r.a)({visibility:"exited"!==e||v?void 0:"hidden"},S,n.props.style)},t))}))}));t.a=m},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(92)),u=n(13);function s(e,t){return parseInt(e[t],10)||0}var c="undefined"!==typeof window?o.useLayoutEffect:o.useEffect,l={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},f=o.forwardRef((function(e,t){var n=e.onChange,f=e.rows,d=e.rowsMax,p=e.rowsMin,h=e.maxRows,m=e.minRows,v=void 0===m?1:m,b=e.style,y=e.value,g=Object(i.a)(e,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),w=h||d,O=f||p||v,x=o.useRef(null!=y).current,S=o.useRef(null),k=Object(u.a)(t,S),E=o.useRef(null),j=o.useRef(0),_=o.useState({}),T=_[0],C=_[1],P=o.useCallback((function(){var t=S.current,n=window.getComputedStyle(t),r=E.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var i=n["box-sizing"],o=s(n,"padding-bottom")+s(n,"padding-top"),a=s(n,"border-bottom-width")+s(n,"border-top-width"),u=r.scrollHeight-o;r.value="x";var c=r.scrollHeight-o,l=u;O&&(l=Math.max(Number(O)*c,l)),w&&(l=Math.min(Number(w)*c,l));var f=(l=Math.max(l,c))+("border-box"===i?o+a:0),d=Math.abs(l-u)<=1;C((function(e){return j.current<20&&(f>0&&Math.abs((e.outerHeightStyle||0)-f)>1||e.overflow!==d)?(j.current+=1,{overflow:d,outerHeightStyle:f}):e}))}),[w,O,e.placeholder]);o.useEffect((function(){var e=Object(a.a)((function(){j.current=0,P()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[P]),c((function(){P()})),o.useEffect((function(){j.current=0}),[y]);return o.createElement(o.Fragment,null,o.createElement("textarea",Object(r.a)({value:y,onChange:function(e){j.current=0,x||P(),n&&n(e)},ref:k,rows:O,style:Object(r.a)({height:T.outerHeightStyle,overflow:T.overflow?"hidden":null},b)},g)),o.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:E,tabIndex:-1,style:Object(r.a)({},l,b)}))}));t.a=f},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(318),s=n(6),c=o.forwardRef((function(e,t){var n=e.disableUnderline,s=e.classes,c=e.fullWidth,l=void 0!==c&&c,f=e.inputComponent,d=void 0===f?"input":f,p=e.multiline,h=void 0!==p&&p,m=e.type,v=void 0===m?"text":m,b=Object(i.a)(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return o.createElement(u.a,Object(r.a)({classes:Object(r.a)({},s,{root:Object(a.a)(s.root,!n&&s.underline),underline:null}),fullWidth:l,inputComponent:d,multiline:h,ref:t,type:v},b))}));c.muiName="Input",t.a=Object(s.a)((function(e){var t="light"===e.palette.type,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)";return{root:{position:"relative",backgroundColor:r,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:t?"rgba(0, 0, 0, 0.13)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:r}},"&$focused":{backgroundColor:t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)"},"&$disabled":{backgroundColor:t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(n),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:before":{borderBottom:"1px solid ".concat(e.palette.text.primary)},"&$disabled:before":{borderBottomStyle:"dotted"}},focused:{},disabled:{},adornedStart:{paddingLeft:12},adornedEnd:{paddingRight:12},error:{},marginDense:{},multiline:{padding:"27px 12px 10px","&$marginDense":{paddingTop:23,paddingBottom:6}},input:{padding:"27px 12px 10px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},inputMarginDense:{paddingTop:23,paddingBottom:6},inputHiddenLabel:{paddingTop:18,paddingBottom:19,"&$inputMarginDense":{paddingTop:10,paddingBottom:11}},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiFilledInput"})(c)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(81),s=n(6),c=n(7),l=n(107),f=n(80),d=o.forwardRef((function(e,t){var n=e.children,s=e.classes,d=e.className,p=e.color,h=void 0===p?"primary":p,m=e.component,v=void 0===m?"div":m,b=e.disabled,y=void 0!==b&&b,g=e.error,w=void 0!==g&&g,O=e.fullWidth,x=void 0!==O&&O,S=e.focused,k=e.hiddenLabel,E=void 0!==k&&k,j=e.margin,_=void 0===j?"none":j,T=e.required,C=void 0!==T&&T,P=e.size,R=e.variant,A=void 0===R?"standard":R,M=Object(i.a)(e,["children","classes","className","color","component","disabled","error","fullWidth","focused","hiddenLabel","margin","required","size","variant"]),D=o.useState((function(){var e=!1;return n&&o.Children.forEach(n,(function(t){if(Object(l.a)(t,["Input","Select"])){var n=Object(l.a)(t,["Select"])?t.props.input:t;n&&Object(u.a)(n.props)&&(e=!0)}})),e})),N=D[0],F=D[1],I=o.useState((function(){var e=!1;return n&&o.Children.forEach(n,(function(t){Object(l.a)(t,["Input","Select"])&&Object(u.b)(t.props,!0)&&(e=!0)})),e})),L=I[0],z=I[1],W=o.useState(!1),U=W[0],B=W[1],V=void 0!==S?S:U;y&&V&&B(!1);var H=o.useCallback((function(){z(!0)}),[]),Y={adornedStart:N,setAdornedStart:F,color:h,disabled:y,error:w,filled:L,focused:V,fullWidth:x,hiddenLabel:E,margin:("small"===P?"dense":void 0)||_,onBlur:function(){B(!1)},onEmpty:o.useCallback((function(){z(!1)}),[]),onFilled:H,onFocus:function(){B(!0)},registerEffect:undefined,required:C,variant:A};return o.createElement(f.a.Provider,{value:Y},o.createElement(v,Object(r.a)({className:Object(a.a)(s.root,d,"none"!==_&&s["margin".concat(Object(c.a)(_))],x&&s.fullWidth),ref:t},M),n))}));t.a=Object(s.a)({root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}},{name:"MuiFormControl"})(d)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(42),s=n(39),c=n(6),l=n(365),f=o.forwardRef((function(e,t){var n=e.classes,c=e.className,f=e.disableAnimation,d=void 0!==f&&f,p=(e.margin,e.shrink),h=(e.variant,Object(i.a)(e,["classes","className","disableAnimation","margin","shrink","variant"])),m=Object(s.a)(),v=p;"undefined"===typeof v&&m&&(v=m.filled||m.focused||m.adornedStart);var b=Object(u.a)({props:e,muiFormControl:m,states:["margin","variant"]});return o.createElement(l.a,Object(r.a)({"data-shrink":v,className:Object(a.a)(n.root,c,m&&n.formControl,!d&&n.animated,v&&n.shrink,"dense"===b.margin&&n.marginDense,{filled:n.filled,outlined:n.outlined}[b.variant]),classes:{focused:n.focused,disabled:n.disabled,error:n.error,required:n.required,asterisk:n.asterisk},ref:t},h))}));t.a=Object(c.a)((function(e){return{root:{display:"block",transformOrigin:"top left"},focused:{},disabled:{},error:{},required:{},asterisk:{},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:e.transitions.create(["color","transform"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},filled:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 20px) scale(1)","&$marginDense":{transform:"translate(12px, 17px) scale(1)"},"&$shrink":{transform:"translate(12px, 10px) scale(0.75)","&$marginDense":{transform:"translate(12px, 7px) scale(0.75)"}}},outlined:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 20px) scale(1)","&$marginDense":{transform:"translate(14px, 12px) scale(1)"},"&$shrink":{transform:"translate(14px, -6px) scale(0.75)"}}}}),{name:"MuiInputLabel"})(f)},function(e,t,n){"use strict";var r=n(4),i=n(2),o=n(0),a=(n(3),n(5)),u=n(42),s=n(39),c=n(7),l=n(6),f=o.forwardRef((function(e,t){var n=e.children,l=e.classes,f=e.className,d=(e.color,e.component),p=void 0===d?"label":d,h=(e.disabled,e.error,e.filled,e.focused,e.required,Object(r.a)(e,["children","classes","className","color","component","disabled","error","filled","focused","required"])),m=Object(s.a)(),v=Object(u.a)({props:e,muiFormControl:m,states:["color","required","focused","disabled","error","filled"]});return o.createElement(p,Object(i.a)({className:Object(a.a)(l.root,l["color".concat(Object(c.a)(v.color||"primary"))],f,v.disabled&&l.disabled,v.error&&l.error,v.filled&&l.filled,v.focused&&l.focused,v.required&&l.required),ref:t},h),n,v.required&&o.createElement("span",{"aria-hidden":!0,className:Object(a.a)(l.asterisk,v.error&&l.error)},"\u2009","*"))}));t.a=Object(l.a)((function(e){return{root:Object(i.a)({color:e.palette.text.secondary},e.typography.body1,{lineHeight:1,padding:0,"&$focused":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),colorSecondary:{"&$focused":{color:e.palette.secondary.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:e.palette.error.main}}}}),{name:"MuiFormLabel"})(f)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(17)),u=n(92),s=n(5),c=n(25),l=n(139),f=n(72),d=n(6),p=n(186),h=n(319),m=n(122);function v(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function b(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function y(e){return[e.horizontal,e.vertical].map((function(e){return"number"===typeof e?"".concat(e,"px"):e})).join(" ")}function g(e){return"function"===typeof e?e():e}var w=o.forwardRef((function(e,t){var n=e.action,d=e.anchorEl,w=e.anchorOrigin,O=void 0===w?{vertical:"top",horizontal:"left"}:w,x=e.anchorPosition,S=e.anchorReference,k=void 0===S?"anchorEl":S,E=e.children,j=e.classes,_=e.className,T=e.container,C=e.elevation,P=void 0===C?8:C,R=e.getContentAnchorEl,A=e.marginThreshold,M=void 0===A?16:A,D=e.onEnter,N=e.onEntered,F=e.onEntering,I=e.onExit,L=e.onExited,z=e.onExiting,W=e.open,U=e.PaperProps,B=void 0===U?{}:U,V=e.transformOrigin,H=void 0===V?{vertical:"top",horizontal:"left"}:V,Y=e.TransitionComponent,$=void 0===Y?h.a:Y,q=e.transitionDuration,G=void 0===q?"auto":q,K=e.TransitionProps,X=void 0===K?{}:K,Q=Object(i.a)(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),Z=o.useRef(),J=o.useCallback((function(e){if("anchorPosition"===k)return x;var t=g(d),n=(t&&1===t.nodeType?t:Object(c.a)(Z.current).body).getBoundingClientRect(),r=0===e?O.vertical:"center";return{top:n.top+v(n,r),left:n.left+b(n,O.horizontal)}}),[d,O.horizontal,O.vertical,x,k]),ee=o.useCallback((function(e){var t=0;if(R&&"anchorEl"===k){var n=R(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}0}return t}),[O.vertical,k,R]),te=o.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:v(e,H.vertical)+t,horizontal:b(e,H.horizontal)}}),[H.horizontal,H.vertical]),ne=o.useCallback((function(e){var t=ee(e),n={width:e.offsetWidth,height:e.offsetHeight},r=te(n,t);if("none"===k)return{top:null,left:null,transformOrigin:y(r)};var i=J(t),o=i.top-r.vertical,a=i.left-r.horizontal,u=o+n.height,s=a+n.width,c=Object(l.a)(g(d)),f=c.innerHeight-M,p=c.innerWidth-M;if(o<M){var h=o-M;o-=h,r.vertical+=h}else if(u>f){var m=u-f;o-=m,r.vertical+=m}if(a<M){var v=a-M;a-=v,r.horizontal+=v}else if(s>p){var b=s-p;a-=b,r.horizontal+=b}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(a),"px"),transformOrigin:y(r)}}),[d,k,J,ee,te,M]),re=o.useCallback((function(){var e=Z.current;if(e){var t=ne(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[ne]),ie=o.useCallback((function(e){Z.current=a.findDOMNode(e)}),[]);o.useEffect((function(){W&&re()})),o.useImperativeHandle(n,(function(){return W?{updatePosition:function(){re()}}:null}),[W,re]),o.useEffect((function(){if(W){var e=Object(u.a)((function(){re()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[W,re]);var oe=G;"auto"!==G||$.muiSupportAuto||(oe=void 0);var ae=T||(d?Object(c.a)(g(d)).body:void 0);return o.createElement(p.a,Object(r.a)({container:ae,open:W,ref:t,BackdropProps:{invisible:!0},className:Object(s.a)(j.root,_)},Q),o.createElement($,Object(r.a)({appear:!0,in:W,onEnter:D,onEntered:N,onExit:I,onExited:L,onExiting:z,timeout:oe},X,{onEntering:Object(f.a)((function(e,t){F&&F(e,t),re()}),X.onEntering)}),o.createElement(m.a,Object(r.a)({elevation:P,ref:ie},B,{className:Object(s.a)(j.paper,B.className)}),E)))}));t.a=Object(d.a)({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(w)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(53),n(3),n(17)),u=n(25),s=n(359),c=n(140),l=n(13);function f(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function d(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function p(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function h(e,t,n,r,i,o){for(var a=!1,u=i(e,t,!!t&&n);u;){if(u===e.firstChild){if(a)return;a=!0}var s=!r&&(u.disabled||"true"===u.getAttribute("aria-disabled"));if(u.hasAttribute("tabindex")&&p(u,o)&&!s)return void u.focus();u=i(e,u,n)}}var m="undefined"===typeof window?o.useEffect:o.useLayoutEffect,v=o.forwardRef((function(e,t){var n=e.actions,v=e.autoFocus,b=void 0!==v&&v,y=e.autoFocusItem,g=void 0!==y&&y,w=e.children,O=e.className,x=e.disabledItemsFocusable,S=void 0!==x&&x,k=e.disableListWrap,E=void 0!==k&&k,j=e.onKeyDown,_=e.variant,T=void 0===_?"selectedMenu":_,C=Object(i.a)(e,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),P=o.useRef(null),R=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});m((function(){b&&P.current.focus()}),[b]),o.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!P.current.style.width;if(e.clientHeight<P.current.clientHeight&&n){var r="".concat(Object(c.a)(!0),"px");P.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,P.current.style.width="calc(100% + ".concat(r,")")}return P.current}}}),[]);var A=o.useCallback((function(e){P.current=a.findDOMNode(e)}),[]),M=Object(l.a)(A,t),D=-1;o.Children.forEach(w,(function(e,t){o.isValidElement(e)&&(e.props.disabled||("selectedMenu"===T&&e.props.selected||-1===D)&&(D=t))}));var N=o.Children.map(w,(function(e,t){if(t===D){var n={};return g&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===T&&(n.tabIndex=0),o.cloneElement(e,n)}return e}));return o.createElement(s.a,Object(r.a)({role:"menu",ref:M,className:O,onKeyDown:function(e){var t=P.current,n=e.key,r=Object(u.a)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),h(t,r,E,S,f);else if("ArrowUp"===n)e.preventDefault(),h(t,r,E,S,d);else if("Home"===n)e.preventDefault(),h(t,null,E,S,f);else if("End"===n)e.preventDefault(),h(t,null,E,S,d);else if(1===n.length){var i=R.current,o=n.toLowerCase(),a=performance.now();i.keys.length>0&&(a-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=a,i.keys.push(o);var s=r&&!i.repeating&&p(r,i);i.previousKeyMatched&&(s||h(t,r,!1,S,f,i))?e.preventDefault():i.previousKeyMatched=!1}j&&j(e)},tabIndex:b?0:-1},C),N)}));t.a=v},function(e,t,n){"use strict";var r=n(4),i=n(2),o=n(0),a=(n(3),n(5)),u=n(42),s=n(39),c=n(6),l=o.forwardRef((function(e,t){var n=e.children,c=e.classes,l=e.className,f=e.component,d=void 0===f?"p":f,p=(e.disabled,e.error,e.filled,e.focused,e.margin,e.required,e.variant,Object(r.a)(e,["children","classes","className","component","disabled","error","filled","focused","margin","required","variant"])),h=Object(s.a)(),m=Object(u.a)({props:e,muiFormControl:h,states:["variant","margin","disabled","error","filled","focused","required"]});return o.createElement(d,Object(i.a)({className:Object(a.a)(c.root,("filled"===m.variant||"outlined"===m.variant)&&c.contained,l,m.disabled&&c.disabled,m.error&&c.error,m.filled&&c.filled,m.focused&&c.focused,m.required&&c.required,"dense"===m.margin&&c.marginDense),ref:t},p)," "===n?o.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}}):n)}));t.a=Object(c.a)((function(e){return{root:Object(i.a)({color:e.palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,margin:0,"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),error:{},disabled:{},marginDense:{marginTop:4},contained:{marginLeft:14,marginRight:14},focused:{},filled:{},required:{}}}),{name:"MuiFormHelperText"})(l)},function(e,t,n){"use strict";var r=n(0),i=n(17),o=(n(3),n(25)),a=n(13),u=n(34);function s(e){return e.substring(2).toLowerCase()}t.a=function(e){var t=e.children,n=e.disableReactTree,c=void 0!==n&&n,l=e.mouseEvent,f=void 0===l?"onClick":l,d=e.onClickAway,p=e.touchEvent,h=void 0===p?"onTouchEnd":p,m=r.useRef(!1),v=r.useRef(null),b=r.useRef(!1),y=r.useRef(!1);r.useEffect((function(){return setTimeout((function(){b.current=!0}),0),function(){b.current=!1}}),[]);var g=r.useCallback((function(e){v.current=i.findDOMNode(e)}),[]),w=Object(a.a)(t.ref,g),O=Object(u.a)((function(e){var t=y.current;if(y.current=!1,b.current&&v.current&&!function(e){return document.documentElement.clientWidth<e.clientX||document.documentElement.clientHeight<e.clientY}(e))if(m.current)m.current=!1;else{var n;if(e.composedPath)n=e.composedPath().indexOf(v.current)>-1;else n=!Object(o.a)(v.current).documentElement.contains(e.target)||v.current.contains(e.target);n||!c&&t||d(e)}})),x=function(e){return function(n){y.current=!0;var r=t.props[e];r&&r(n)}},S={ref:w};return!1!==h&&(S[h]=x(h)),r.useEffect((function(){if(!1!==h){var e=s(h),t=Object(o.a)(v.current),n=function(){m.current=!0};return t.addEventListener(e,O),t.addEventListener("touchmove",n),function(){t.removeEventListener(e,O),t.removeEventListener("touchmove",n)}}}),[O,h]),!1!==f&&(S[f]=x(f)),r.useEffect((function(){if(!1!==f){var e=s(f),t=Object(o.a)(v.current);return t.addEventListener(e,O),function(){t.removeEventListener(e,O)}}}),[O,f]),r.createElement(r.Fragment,null,r.cloneElement(t,S))}},function(e,t,n){"use strict";var r=n(4),i=n(10),o=n(2),a=n(0),u=(n(3),n(5)),s=n(6),c=n(122),l=n(16),f=a.forwardRef((function(e,t){var n=e.action,i=e.classes,s=e.className,l=e.message,f=e.role,d=void 0===f?"alert":f,p=Object(r.a)(e,["action","classes","className","message","role"]);return a.createElement(c.a,Object(o.a)({role:d,square:!0,elevation:6,className:Object(u.a)(i.root,s),ref:t},p),a.createElement("div",{className:i.message},l),n?a.createElement("div",{className:i.action},n):null)}));t.a=Object(s.a)((function(e){var t="light"===e.palette.type?.8:.98,n=Object(l.c)(e.palette.background.default,t);return{root:Object(o.a)({},e.typography.body2,Object(i.a)({color:e.palette.getContrastText(n),backgroundColor:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:e.shape.borderRadius,flexGrow:1},e.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288})),message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}}}),{name:"MuiSnackbarContent"})(f)},function(e,t,n){"use strict";n.d(t,"a",(function(){return mn}));var r=n(4),i=n(2),o=n(0),a=n.n(o),u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s="object"===("undefined"===typeof window?"undefined":u(window))&&"object"===("undefined"===typeof document?"undefined":u(document))&&9===document.nodeType,c=(n(37),n(70)),l=n(77),f=n(116),d=n(24),p={}.constructor;function h(e){if(null==e||"object"!==typeof e)return e;if(Array.isArray(e))return e.map(h);if(e.constructor!==p)return e;var t={};for(var n in e)t[n]=h(e[n]);return t}function m(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,i=h(t),o=r.plugins.onCreateRule(e,i,n);return o||(e[0],null)}var v=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},b=function(e,t){if(void 0===t&&(t=!1),!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=v(e[r]," ");else n=v(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n};function y(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function g(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var i=n.indent,o=void 0===i?0:i,a=t.fallbacks;if(e&&o++,a)if(Array.isArray(a))for(var u=0;u<a.length;u++){var s=a[u];for(var c in s){var l=s[c];null!=l&&(r&&(r+="\n"),r+=y(c+": "+b(l)+";",o))}}else for(var f in a){var d=a[f];null!=d&&(r&&(r+="\n"),r+=y(f+": "+b(d)+";",o))}for(var p in t){var h=t[p];null!=h&&"fallbacks"!==p&&(r&&(r+="\n"),r+=y(p+": "+b(h)+";",o))}return(r||n.allowEmpty)&&e?(r&&(r="\n"+r+"\n"),y(e+" {"+r,--o)+y("}",o)):r}var w=/([[\].#*$><+~=|^:(),"'`\s])/g,O="undefined"!==typeof CSS&&CSS.escape,x=function(e){return O?O(e):e.replace(w,"\\$1")},S=function(){function e(e,t,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,i=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var i=t;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var o=null==i||!1===i,a=e in this.style;if(o&&!a&&!r)return this;var u=o&&a;if(u?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return u?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var s=this.options.sheet;return s&&s.attached,this},e}(),k=function(e){function t(t,n,r){var i;(i=e.call(this,t,n,r)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=r.selector,a=r.scoped,u=r.sheet,s=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=s(Object(f.a)(Object(f.a)(i)),u),i.selectorText="."+x(i.id)),i}Object(l.a)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!==typeof n?e[t]=n:Array.isArray(n)&&(e[t]=b(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(i.a)({},e,{allowEmpty:!0}):e;return g(this.selectorText,this.style,n)},Object(c.a)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(S),E={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new k(e,t,n)}},j={indent:1,children:!0},_=/@([\w-]+)/,T=function(){function e(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e;var r=e.match(_);for(var o in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new Q(Object(i.a)({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){if(void 0===e&&(e=j),null==e.indent&&(e.indent=j.indent),null==e.children&&(e.children=j.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {\n"+t+"\n}":""},e}(),C=/@media|@supports\s+/,P={onCreateRule:function(e,t,n){return C.test(e)?new T(e,t,n):null}},R={indent:1,children:!0},A=/@keyframes\s+([\w-]+)/,M=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var r=e.match(A);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,a=n.sheet,u=n.generateId;for(var s in this.id=!1===o?this.name:x(u(this,a)),this.rules=new Q(Object(i.a)({},n,{parent:this})),t)this.rules.add(s,t[s],Object(i.a)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=R),null==e.indent&&(e.indent=R.indent),null==e.children&&(e.children=R.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},e}(),D=/@keyframes\s+/,N=/\$([\w-]+)/g,F=function(e,t){return"string"===typeof e?e.replace(N,(function(e,n){return n in t?t[n]:e})):e},I=function(e,t,n){var r=e[t],i=F(r,n);i!==r&&(e[t]=i)},L={onCreateRule:function(e,t,n){return"string"===typeof e&&D.test(e)?new M(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&I(e,"animation-name",n.keyframes),"animation"in e&&I(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return F(e,r.keyframes);default:return e}}},z=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).renderable=void 0,t}return Object(l.a)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(i.a)({},e,{allowEmpty:!0}):e;return g(this.key,this.style,n)},t}(S),W={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new z(e,t,n):null}},U=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=g(this.at,this.style[n]),this.style[n+1]&&(t+="\n");return t}return g(this.at,this.style,e)},e}(),B=/@font-face/,V={onCreateRule:function(e,t,n){return B.test(e)?new U(e,t,n):null}},H=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return g(this.key,this.style,e)},e}(),Y={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new H(e,t,n):null}},$=function(){function e(e,t,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),q={"@charset":!0,"@import":!0,"@namespace":!0},G=[E,P,L,W,V,Y,{onCreateRule:function(e,t,n){return e in q?new $(e,t,n):null}}],K={process:!0},X={force:!0,process:!0},Q=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var r=this.options,o=r.parent,a=r.sheet,u=r.jss,s=r.Renderer,c=r.generateId,l=r.scoped,f=Object(i.a)({classes:this.classes,parent:o,sheet:a,jss:u,Renderer:s,generateId:c,scoped:l,name:e,keyframes:this.keyframes,selector:void 0},n),d=e;e in this.raw&&(d=e+"-d"+this.counter++),this.raw[d]=t,d in this.classes&&(f.selector="."+x(this.classes[d]));var p=m(d,t,f);if(!p)return null;this.register(p);var h=void 0===f.index?this.index.length:f.index;return this.index.splice(h,0,p),p},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof k?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof M&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof k?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof M&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"===typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.map[e],t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=K);var i=this.options,o=i.jss.plugins,a=i.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var u=t,s=u.style;if(o.onUpdate(n,t,a,r),r.process&&s&&s!==u.style){for(var c in o.onProcessStyle(u.style,u,a),u.style){var l=u.style[c];l!==s[c]&&u.prop(c,l,X)}for(var f in s){var d=u.style[f],p=s[f];null==d&&d!==p&&u.prop(f,null,X)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,i=0;i<this.index.length;i++){var o=this.index[i].toString(e);(o||r)&&(t&&(t+="\n"),t+=o)}return t},e}(),Z=function(){function e(e,t){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Object(i.a)({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new Q(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.add(e,t,n);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(r?r.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var i=this.addRule(r,e[r],t);i&&n.push(i)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"===typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),J=function(){function e(){this.plugins={internal:[],external:[]},this.registry=void 0}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var i=this.registry.onCreateRule[r](e,t,n);if(i)return i}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,i=0;i<this.registry.onChangeValue.length;i++)r=this.registry.onChangeValue[i](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),ee=new(function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=Object(d.a)(t,["attached"]),i="",o=0;o<this.registry.length;o++){var a=this.registry[o];null!=n&&a.attached!==n||(i&&(i+="\n"),i+=a.toString(r))}return i},Object(c.a)(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}()),te="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window&&window.Math===Math?window:"undefined"!==typeof self&&self.Math===Math?self:Function("return this")(),ne="2f1acc6c3a606b082e5eef5e54414ffb";null==te[ne]&&(te[ne]=0);var re=te[ne]++,ie=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var i="",o="";return r&&(r.options.classNamePrefix&&(o=r.options.classNamePrefix),null!=r.options.jss.id&&(i=String(r.options.jss.id))),e.minify?""+(o||"c")+re+i+t:o+n.key+"-"+re+(i?"-"+i:"")+"-"+t}},oe=function(e){var t;return function(){return t||(t=e()),t}},ae=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(n){return""}},ue=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=b(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,r):e.style.setProperty(t,r)}catch(i){return!1}return!0},se=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(n){}},ce=function(e,t){return e.selectorText=t,e.selectorText===t},le=oe((function(){return document.querySelector("head")}));function fe(e){var t=ee.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"===typeof r){var i=function(e){for(var t=le(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}var de=oe((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),pe=function(e,t,n){try{if("insertRule"in e)e.insertRule(t,n);else if("appendRule"in e){e.appendRule(t)}}catch(r){return!1}return e.cssRules[n]},he=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},me=function(){function e(e){this.getPropertyValue=ae,this.setProperty=ue,this.removeProperty=se,this.setSelector=ce,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],e&&ee.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,i=t.element;this.element=i||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=de();o&&this.element.setAttribute("nonce",o)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=fe(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"===typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(e,i.nextSibling)}else le().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,i=n;if("conditional"===e.type||"keyframes"===e.type){var o=he(n,t);if(!1===(i=pe(n,r.toString({children:!1}),o)))return!1;this.refCssRule(e,o,i)}return this.insertRules(r.rules,i),i}var a=e.toString();if(!a)return!1;var u=he(n,t),s=pe(n,a,u);return!1!==s&&(this.hasInsertedRules=!0,this.refCssRule(e,u,s),s)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof Z&&(this.cssRules[t]=n)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),ve=0,be=function(){function e(e){this.id=ve++,this.version="10.7.1",this.plugins=new J,this.options={id:{minify:!1},createGenerateId:ie,Renderer:s?me:null,plugins:[]},this.generateId=ie({minify:!1});for(var t=0;t<G.length;t++)this.plugins.use(G[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=Object(i.a)({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!==typeof n&&(n=0===ee.index?0:ee.index+1);var r=new Z(e,Object(i.a)({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r},t.removeStyleSheet=function(e){return e.detach(),ee.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"===typeof e)return this.createRule(void 0,e,t);var r=Object(i.a)({},n,{name:e,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var o=m(e,t,r);return o&&this.plugins.onProcessRule(o),o},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}();function ye(e){var t=null;for(var n in e){var r=e[n],i=typeof r;if("function"===i)t||(t={}),t[n]=r;else if("object"===i&&null!==r&&!Array.isArray(r)){var o=ye(r);o&&(t||(t={}),t[n]=o)}}return t}var ge="object"===typeof CSS&&null!=CSS&&"number"in CSS,we=function(e){return new be(e)},Oe=(we(),n(384)),xe={set:function(e,t,n,r){var i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},Se=n(182),ke=(n(3),n(134)),Ee=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var je=Date.now(),_e="fnValues"+je,Te="fnStyle"+ ++je,Ce=function(){return{onCreateRule:function(e,t,n){if("function"!==typeof t)return null;var r=m(e,{},n);return r[Te]=t,r},onProcessStyle:function(e,t){if(_e in t||Te in t)return e;var n={};for(var r in e){var i=e[r];"function"===typeof i&&(delete e[r],n[r]=i)}return t[_e]=n,e},onUpdate:function(e,t,n,r){var i=t,o=i[Te];o&&(i.style=o(e)||{});var a=i[_e];if(a)for(var u in a)i.prop(u,a[u](e),r)}}},Pe="@global",Re="@global ",Ae=function(){function e(e,t,n){for(var r in this.type="global",this.at=Pe,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new Q(Object(i.a)({},n,{parent:this})),t)this.rules.add(r,t[r]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),Me=function(){function e(e,t,n){this.type="global",this.at=Pe,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=e,this.options=n;var r=e.substr(Re.length);this.rule=n.jss.createRule(r,t,Object(i.a)({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),De=/\s*,\s*/g;function Ne(e,t){for(var n=e.split(De),r="",i=0;i<n.length;i++)r+=t+" "+n[i].trim(),n[i+1]&&(r+=", ");return r}var Fe=function(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===Pe)return new Ae(e,t,n);if("@"===e[0]&&e.substr(0,Re.length)===Re)return new Me(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),!1===n.scoped&&(n.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var n=e.options,r=e.style,o=r?r[Pe]:null;if(o){for(var a in o)t.addRule(a,o[a],Object(i.a)({},n,{selector:Ne(a,e.selector)}));delete r[Pe]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var o in r)if("@"===o[0]&&o.substr(0,Pe.length)===Pe){var a=Ne(o.substr(Pe.length),e.selector);t.addRule(a,r[o],Object(i.a)({},n,{selector:a})),delete r[o]}}(e,t))}}},Ie=/\s*,\s*/g,Le=/&/g,ze=/\$([\w-]+)/g;var We=function(){function e(e,t){return function(n,r){var i=e.getRule(r)||t&&t.getRule(r);return i?(i=i).selector:r}}function t(e,t){for(var n=t.split(Ie),r=e.split(Ie),i="",o=0;o<n.length;o++)for(var a=n[o],u=0;u<r.length;u++){var s=r[u];i&&(i+=", "),i+=-1!==s.indexOf("&")?s.replace(Le,a):a+" "+s}return i}function n(e,t,n){if(n)return Object(i.a)({},n,{index:n.index+1});var r=e.options.nestingLevel;r=void 0===r?1:r+1;var o=Object(i.a)({},e.options,{nestingLevel:r,index:t.indexOf(e)+1});return delete o.name,o}return{onProcessStyle:function(r,o,a){if("style"!==o.type)return r;var u,s,c=o,l=c.options.parent;for(var f in r){var d=-1!==f.indexOf("&"),p="@"===f[0];if(d||p){if(u=n(c,l,u),d){var h=t(f,c.selector);s||(s=e(l,a)),h=h.replace(ze,s),l.addRule(h,r[f],Object(i.a)({},u,{selector:h}))}else p&&l.addRule(f,{},u).addRule(c.key,r[f],{selector:c.selector});delete r[f]}}return r}}},Ue=/[A-Z]/g,Be=/^ms-/,Ve={};function He(e){return"-"+e.toLowerCase()}var Ye=function(e){if(Ve.hasOwnProperty(e))return Ve[e];var t=e.replace(Ue,He);return Ve[e]=Be.test(t)?"-"+t:t};function $e(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:Ye(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map($e):t.fallbacks=$e(e.fallbacks)),t}var qe=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=$e(e[t]);return e}return $e(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=Ye(t);return t===r?e:(n.prop(r,e),null)}}},Ge=ge&&CSS?CSS.px:"px",Ke=ge&&CSS?CSS.ms:"ms",Xe=ge&&CSS?CSS.percent:"%";function Qe(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var i in e)r[i]=e[i],r[i.replace(t,n)]=e[i];return r}var Ze=Qe({"animation-delay":Ke,"animation-duration":Ke,"background-position":Ge,"background-position-x":Ge,"background-position-y":Ge,"background-size":Ge,border:Ge,"border-bottom":Ge,"border-bottom-left-radius":Ge,"border-bottom-right-radius":Ge,"border-bottom-width":Ge,"border-left":Ge,"border-left-width":Ge,"border-radius":Ge,"border-right":Ge,"border-right-width":Ge,"border-top":Ge,"border-top-left-radius":Ge,"border-top-right-radius":Ge,"border-top-width":Ge,"border-width":Ge,"border-block":Ge,"border-block-end":Ge,"border-block-end-width":Ge,"border-block-start":Ge,"border-block-start-width":Ge,"border-block-width":Ge,"border-inline":Ge,"border-inline-end":Ge,"border-inline-end-width":Ge,"border-inline-start":Ge,"border-inline-start-width":Ge,"border-inline-width":Ge,"border-start-start-radius":Ge,"border-start-end-radius":Ge,"border-end-start-radius":Ge,"border-end-end-radius":Ge,margin:Ge,"margin-bottom":Ge,"margin-left":Ge,"margin-right":Ge,"margin-top":Ge,"margin-block":Ge,"margin-block-end":Ge,"margin-block-start":Ge,"margin-inline":Ge,"margin-inline-end":Ge,"margin-inline-start":Ge,padding:Ge,"padding-bottom":Ge,"padding-left":Ge,"padding-right":Ge,"padding-top":Ge,"padding-block":Ge,"padding-block-end":Ge,"padding-block-start":Ge,"padding-inline":Ge,"padding-inline-end":Ge,"padding-inline-start":Ge,"mask-position-x":Ge,"mask-position-y":Ge,"mask-size":Ge,height:Ge,width:Ge,"min-height":Ge,"max-height":Ge,"min-width":Ge,"max-width":Ge,bottom:Ge,left:Ge,top:Ge,right:Ge,inset:Ge,"inset-block":Ge,"inset-block-end":Ge,"inset-block-start":Ge,"inset-inline":Ge,"inset-inline-end":Ge,"inset-inline-start":Ge,"box-shadow":Ge,"text-shadow":Ge,"column-gap":Ge,"column-rule":Ge,"column-rule-width":Ge,"column-width":Ge,"font-size":Ge,"font-size-delta":Ge,"letter-spacing":Ge,"text-decoration-thickness":Ge,"text-indent":Ge,"text-stroke":Ge,"text-stroke-width":Ge,"word-spacing":Ge,motion:Ge,"motion-offset":Ge,outline:Ge,"outline-offset":Ge,"outline-width":Ge,perspective:Ge,"perspective-origin-x":Xe,"perspective-origin-y":Xe,"transform-origin":Xe,"transform-origin-x":Xe,"transform-origin-y":Xe,"transform-origin-z":Xe,"transition-delay":Ke,"transition-duration":Ke,"vertical-align":Ge,"flex-basis":Ge,"shape-margin":Ge,size:Ge,gap:Ge,grid:Ge,"grid-gap":Ge,"row-gap":Ge,"grid-row-gap":Ge,"grid-column-gap":Ge,"grid-template-rows":Ge,"grid-template-columns":Ge,"grid-auto-rows":Ge,"grid-auto-columns":Ge,"box-shadow-x":Ge,"box-shadow-y":Ge,"box-shadow-blur":Ge,"box-shadow-spread":Ge,"font-line-height":Ge,"text-shadow-x":Ge,"text-shadow-y":Ge,"text-shadow-blur":Ge});function Je(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=Je(e,t[r],n);else if("object"===typeof t)if("fallbacks"===e)for(var i in t)t[i]=Je(i,t[i],n);else for(var o in t)t[o]=Je(e+"-"+o,t[o],n);else if("number"===typeof t&&!1===isNaN(t)){var a=n[e]||Ze[e];return!a||0===t&&a===Ge?t.toString():"function"===typeof a?a(t).toString():""+t+a}return t}var et=function(e){void 0===e&&(e={});var t=Qe(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=Je(r,e[r],t);return e},onChangeValue:function(e,n){return Je(n,e,t)}}},tt=n(50),nt="",rt="",it="",ot="",at=s&&"ontouchstart"in document.documentElement;if(s){var ut={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},st=document.createElement("p").style;for(var ct in ut)if(ct+"Transform"in st){nt=ct,rt=ut[ct];break}"Webkit"===nt&&"msHyphens"in st&&(nt="ms",rt=ut.ms,ot="edge"),"Webkit"===nt&&"-apple-trailing-word"in st&&(it="apple")}var lt=nt,ft=rt,dt=it,pt=ot,ht=at;var mt={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===lt?"-webkit-"+e:ft+e)}},vt={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===lt?ft+"print-"+e:e)}},bt=/[-\s]+(.)?/g;function yt(e,t){return t?t.toUpperCase():""}function gt(e){return e.replace(bt,yt)}function wt(e){return gt("-"+e)}var Ot,xt={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===lt){var n="mask-image";if(gt(n)in t)return e;if(lt+wt(n)in t)return ft+e}return e}},St={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==dt||ht?e:ft+e)}},kt={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:ft+e)}},Et={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:ft+e)}},jt={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===lt||"ms"===lt&&"edge"!==pt?ft+e:e)}},_t={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===lt||"ms"===lt||"apple"===dt?ft+e:e)}},Tt={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===lt?"WebkitColumn"+wt(e)in t&&ft+"column-"+e:"Moz"===lt&&("page"+wt(e)in t&&"page-"+e))}},Ct={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===lt)return e;var n=e.replace("-inline","");return lt+wt(n)in t&&ft+n}},Pt={supportedProperty:function(e,t){return gt(e)in t&&e}},Rt={supportedProperty:function(e,t){var n=wt(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:lt+n in t?ft+e:"Webkit"!==lt&&"Webkit"+n in t&&"-webkit-"+e}},At={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===lt?""+ft+e:e)}},Mt={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===lt?ft+"scroll-chaining":e)}},Dt={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Nt={supportedProperty:function(e,t){var n=Dt[e];return!!n&&(lt+wt(n)in t&&ft+n)}},Ft={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},It=Object.keys(Ft),Lt=function(e){return ft+e},zt=[mt,vt,xt,St,kt,Et,jt,_t,Tt,Ct,Pt,Rt,At,Mt,Nt,{supportedProperty:function(e,t,n){var r=n.multiple;if(It.indexOf(e)>-1){var i=Ft[e];if(!Array.isArray(i))return lt+wt(i)in t&&ft+i;if(!r)return!1;for(var o=0;o<i.length;o++)if(!(lt+wt(i[0])in t))return!1;return i.map(Lt)}return!1}}],Wt=zt.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Ut=zt.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,Object(tt.a)(t.noPrefill)),e}),[]),Bt={};if(s){Ot=document.createElement("p");var Vt=window.getComputedStyle(document.documentElement,"");for(var Ht in Vt)isNaN(Ht)||(Bt[Vt[Ht]]=Vt[Ht]);Ut.forEach((function(e){return delete Bt[e]}))}function Yt(e,t){if(void 0===t&&(t={}),!Ot)return e;if(null!=Bt[e])return Bt[e];"transition"!==e&&"transform"!==e||(t[e]=e in Ot.style);for(var n=0;n<Wt.length&&(Bt[e]=Wt[n](e,Ot.style,t),!Bt[e]);n++);try{Ot.style[e]=""}catch(r){return!1}return Bt[e]}var $t,qt={},Gt={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Kt=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Xt(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?Yt(t):", "+Yt(n);return r||(t||n)}function Qt(e,t){var n=t;if(!$t||"content"===e)return t;if("string"!==typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=qt[r])return qt[r];try{$t.style[e]=n}catch(i){return qt[r]=!1,!1}if(Gt[e])n=n.replace(Kt,Xt);else if(""===$t.style[e]&&("-ms-flex"===(n=ft+n)&&($t.style[e]="-ms-flexbox"),$t.style[e]=n,""===$t.style[e]))return qt[r]=!1,!1;return $t.style[e]="",qt[r]=n,qt[r]}s&&($t=document.createElement("p"));var Zt=function(){function e(t){for(var n in t){var r=t[n];if("fallbacks"===n&&Array.isArray(r))t[n]=r.map(e);else{var i=!1,o=Yt(n);o&&o!==n&&(i=!0);var a=!1,u=Qt(o,b(r));u&&u!==r&&(a=!0),(i||a)&&(i&&delete t[n],t[o||n]=u||r)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at="-"===(n=t.at)[1]||"ms"===lt?n:"@"+ft+"keyframes"+n.substr(10)}var n},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return Qt(t,b(e))||e}}};var Jt=function(){var e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},i=Object.keys(t).sort(e),o=0;o<i.length;o++)r[i[o]]=t[i[o]];return r}}};function en(){return{plugins:[Ce(),Fe(),We(),qe(),et(),"undefined"===typeof window?null:Zt(),Jt()]}}var tn=we(en()),nn={disableGeneration:!1,generateClassName:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,i=void 0===r?"jss":r,o=e.seed,a=void 0===o?"":o,u=""===a?"":"".concat(a,"-"),s=0,c=function(){return s+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==Ee.indexOf(e.key))return"Mui-".concat(e.key);var o="".concat(u).concat(r,"-").concat(e.key);return t.options.theme[ke.a]&&""===a?"".concat(o,"-").concat(c()):o}return"".concat(u).concat(i).concat(c())}}(),jss:tn,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},rn=a.a.createContext(nn);var on=-1e9;function an(){return on+=1}n(76);var un=n(355);function sn(e){var t="function"===typeof e;return{create:function(n,r){var o;try{o=t?e(n):e}catch(s){throw s}if(!r||!n.overrides||!n.overrides[r])return o;var a=n.overrides[r],u=Object(i.a)({},o);return Object.keys(a).forEach((function(e){u[e]=Object(un.a)(u[e],a[e])})),u},options:{}}}var cn={};function ln(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,i=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,i=!0),i&&(r.cacheClasses.value=Object(Oe.a)({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function fn(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,a=e.stylesCreator,u=e.name;if(!o.disableGeneration){var s=xe.get(o.sheetsManager,a,r);s||(s={refs:0,staticSheet:null,dynamicStyles:null},xe.set(o.sheetsManager,a,r,s));var c=Object(i.a)({},a.options,o,{theme:r,flip:"boolean"===typeof o.flip?o.flip:"rtl"===r.direction});c.generateId=c.serverGenerateClassName||c.generateClassName;var l=o.sheetsRegistry;if(0===s.refs){var f;o.sheetsCache&&(f=xe.get(o.sheetsCache,a,r));var d=a.create(r,u);f||((f=o.jss.createStyleSheet(d,Object(i.a)({link:!1},c))).attach(),o.sheetsCache&&xe.set(o.sheetsCache,a,r,f)),l&&l.add(f),s.staticSheet=f,s.dynamicStyles=ye(d)}if(s.dynamicStyles){var p=o.jss.createStyleSheet(s.dynamicStyles,Object(i.a)({link:!0},c));p.update(t),p.attach(),n.dynamicSheet=p,n.classes=Object(Oe.a)({baseClasses:s.staticSheet.classes,newClasses:p.classes}),l&&l.add(p)}else n.classes=s.staticSheet.classes;s.refs+=1}}function dn(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function pn(e){var t=e.state,n=e.theme,r=e.stylesOptions,i=e.stylesCreator;if(!r.disableGeneration){var o=xe.get(r.sheetsManager,i,n);o.refs-=1;var a=r.sheetsRegistry;0===o.refs&&(xe.delete(r.sheetsManager,i,n),r.jss.removeStyleSheet(o.staticSheet),a&&a.remove(o.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function hn(e,t){var n,r=a.a.useRef([]),i=a.a.useMemo((function(){return{}}),t);r.current!==i&&(r.current=i,n=e()),a.a.useEffect((function(){return function(){n&&n()}}),[i])}function mn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,o=t.classNamePrefix,u=t.Component,s=t.defaultTheme,c=void 0===s?cn:s,l=Object(r.a)(t,["name","classNamePrefix","Component","defaultTheme"]),f=sn(e),d=n||o||"makeStyles";f.options={index:an(),name:n,meta:d,classNamePrefix:d};var p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object(Se.a)()||c,r=Object(i.a)({},a.a.useContext(rn),l),o=a.a.useRef(),s=a.a.useRef();hn((function(){var i={name:n,state:{},stylesCreator:f,stylesOptions:r,theme:t};return fn(i,e),s.current=!1,o.current=i,function(){pn(i)}}),[t,f]),a.a.useEffect((function(){s.current&&dn(o.current,e),s.current=!0}));var d=ln(o.current,e.classes,u);return d};return p}},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(318),s=n(10),c=n(6),l=n(28),f=n(7),d=o.forwardRef((function(e,t){e.children;var n=e.classes,u=e.className,c=e.label,d=e.labelWidth,p=e.notched,h=e.style,m=Object(i.a)(e,["children","classes","className","label","labelWidth","notched","style"]),v="rtl"===Object(l.a)().direction?"right":"left";if(void 0!==c)return o.createElement("fieldset",Object(r.a)({"aria-hidden":!0,className:Object(a.a)(n.root,u),ref:t,style:h},m),o.createElement("legend",{className:Object(a.a)(n.legendLabelled,p&&n.legendNotched)},c?o.createElement("span",null,c):o.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}})));var b=d>0?.75*d+8:.01;return o.createElement("fieldset",Object(r.a)({"aria-hidden":!0,style:Object(r.a)(Object(s.a)({},"padding".concat(Object(f.a)(v)),8),h),className:Object(a.a)(n.root,u),ref:t},m),o.createElement("legend",{className:n.legend,style:{width:p?b:.01}},o.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}})))})),p=Object(c.a)((function(e){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(d),h=o.forwardRef((function(e,t){var n=e.classes,s=e.fullWidth,c=void 0!==s&&s,l=e.inputComponent,f=void 0===l?"input":l,d=e.label,h=e.labelWidth,m=void 0===h?0:h,v=e.multiline,b=void 0!==v&&v,y=e.notched,g=e.type,w=void 0===g?"text":g,O=Object(i.a)(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return o.createElement(u.a,Object(r.a)({renderSuffix:function(e){return o.createElement(p,{className:n.notchedOutline,label:d,labelWidth:m,notched:"undefined"!==typeof y?y:Boolean(e.startAdornment||e.filled||e.focused)})},classes:Object(r.a)({},n,{root:Object(a.a)(n.root,n.underline),notchedOutline:null}),fullWidth:c,inputComponent:f,multiline:b,ref:t,type:w},O))}));h.muiName="Input";t.a=Object(c.a)((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:e.shape.borderRadius,"&:hover $notchedOutline":{borderColor:e.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:t}},"&$focused $notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:e.palette.error.main},"&$disabled $notchedOutline":{borderColor:e.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:t},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(h)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(384)),u=n(51),s=n(76),c=n(183),l=(n(53),n(5)),f=n(25),d=n(7),p=n(304),h=n(81),m=n(13),v=n(151);function b(e,t){return"object"===Object(s.a)(t)&&null!==t?e===t:String(e)===String(t)}var y=o.forwardRef((function(e,t){var n=e["aria-label"],a=e.autoFocus,s=e.autoWidth,y=e.children,g=e.classes,w=e.className,O=e.defaultValue,x=e.disabled,S=e.displayEmpty,k=e.IconComponent,E=e.inputRef,j=e.labelId,_=e.MenuProps,T=void 0===_?{}:_,C=e.multiple,P=e.name,R=e.onBlur,A=e.onChange,M=e.onClose,D=e.onFocus,N=e.onOpen,F=e.open,I=e.readOnly,L=e.renderValue,z=e.SelectDisplayProps,W=void 0===z?{}:z,U=e.tabIndex,B=(e.type,e.value),V=e.variant,H=void 0===V?"standard":V,Y=Object(i.a)(e,["aria-label","autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"]),$=Object(v.a)({controlled:B,default:O,name:"Select"}),q=Object(u.a)($,2),G=q[0],K=q[1],X=o.useRef(null),Q=o.useState(null),Z=Q[0],J=Q[1],ee=o.useRef(null!=F).current,te=o.useState(),ne=te[0],re=te[1],ie=o.useState(!1),oe=ie[0],ae=ie[1],ue=Object(m.a)(t,E);o.useImperativeHandle(ue,(function(){return{focus:function(){Z.focus()},node:X.current,value:G}}),[Z,G]),o.useEffect((function(){a&&Z&&Z.focus()}),[a,Z]),o.useEffect((function(){if(Z){var e=Object(f.a)(Z).getElementById(j);if(e){var t=function(){getSelection().isCollapsed&&Z.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[j,Z]);var se,ce,le=function(e,t){e?N&&N(t):M&&M(t),ee||(re(s?null:Z.clientWidth),ae(e))},fe=o.Children.toArray(y),de=function(e){return function(t){var n;if(C||le(!1,t),C){n=Array.isArray(G)?G.slice():[];var r=G.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;e.props.onClick&&e.props.onClick(t),G!==n&&(K(n),A&&(t.persist(),Object.defineProperty(t,"target",{writable:!0,value:{value:n,name:P}}),A(t,e)))}},pe=null!==Z&&(ee?F:oe);delete Y["aria-invalid"];var he=[],me=!1;(Object(h.b)({value:G})||S)&&(L?se=L(G):me=!0);var ve=fe.map((function(e){if(!o.isValidElement(e))return null;var t;if(C){if(!Array.isArray(G))throw new Error(Object(c.a)(2));(t=G.some((function(t){return b(t,e.props.value)})))&&me&&he.push(e.props.children)}else(t=b(G,e.props.value))&&me&&(ce=e.props.children);return t&&!0,o.cloneElement(e,{"aria-selected":t?"true":void 0,onClick:de(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));me&&(se=C?he.join(", "):ce);var be,ye=ne;!s&&ee&&Z&&(ye=Z.clientWidth),be="undefined"!==typeof U?U:x?null:0;var ge=W.id||(P?"mui-component-select-".concat(P):void 0);return o.createElement(o.Fragment,null,o.createElement("div",Object(r.a)({className:Object(l.a)(g.root,g.select,g.selectMenu,g[H],w,x&&g.disabled),ref:J,tabIndex:be,role:"button","aria-disabled":x?"true":void 0,"aria-expanded":pe?"true":void 0,"aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[j,ge].filter(Boolean).join(" ")||void 0,onKeyDown:function(e){if(!I){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),le(!0,e))}},onMouseDown:x||I?null:function(e){0===e.button&&(e.preventDefault(),Z.focus(),le(!0,e))},onBlur:function(e){!pe&&R&&(e.persist(),Object.defineProperty(e,"target",{writable:!0,value:{value:G,name:P}}),R(e))},onFocus:D},W,{id:ge}),function(e){return null==e||"string"===typeof e&&!e.trim()}(se)?o.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}}):se),o.createElement("input",Object(r.a)({value:Array.isArray(G)?G.join(","):G,name:P,ref:X,"aria-hidden":!0,onChange:function(e){var t=fe.map((function(e){return e.props.value})).indexOf(e.target.value);if(-1!==t){var n=fe[t];K(n.props.value),A&&A(e,n)}},tabIndex:-1,className:g.nativeInput,autoFocus:a},Y)),o.createElement(k,{className:Object(l.a)(g.icon,g["icon".concat(Object(d.a)(H))],pe&&g.iconOpen,x&&g.disabled)}),o.createElement(p.a,Object(r.a)({id:"menu-".concat(P||""),anchorEl:Z,open:pe,onClose:function(e){le(!1,e)}},T,{MenuListProps:Object(r.a)({"aria-labelledby":j,role:"listbox",disableListWrap:!0},T.MenuListProps),PaperProps:Object(r.a)({},T.PaperProps,{style:Object(r.a)({minWidth:ye},null!=T.PaperProps?T.PaperProps.style:null)})}),ve))})),g=n(42),w=n(39),O=n(6),x=n(149),S=n(317),k=n(303),E=n(150),j=n(362),_=n(372),T=k.a,C=o.createElement(S.a,null),P=o.createElement(j.a,null),R=o.forwardRef((function e(t,n){var u=t.autoWidth,s=void 0!==u&&u,c=t.children,l=t.classes,f=t.displayEmpty,d=void 0!==f&&f,p=t.IconComponent,h=void 0===p?x.a:p,m=t.id,v=t.input,b=t.inputProps,O=t.label,S=t.labelId,k=t.labelWidth,j=void 0===k?0:k,T=t.MenuProps,R=t.multiple,A=void 0!==R&&R,M=t.native,D=void 0!==M&&M,N=t.onClose,F=t.onOpen,I=t.open,L=t.renderValue,z=t.SelectDisplayProps,W=t.variant,U=void 0===W?"standard":W,B=Object(i.a)(t,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","label","labelId","labelWidth","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"]),V=D?E.a:y,H=Object(w.a)(),Y=Object(g.a)({props:t,muiFormControl:H,states:["variant"]}).variant||U,$=v||{standard:C,outlined:o.createElement(_.a,{label:O,labelWidth:j}),filled:P}[Y];return o.cloneElement($,Object(r.a)({inputComponent:V,inputProps:Object(r.a)({children:c,IconComponent:h,variant:Y,type:void 0,multiple:A},D?{id:m}:{autoWidth:s,displayEmpty:d,labelId:S,MenuProps:T,onClose:N,onOpen:F,open:I,renderValue:L,SelectDisplayProps:Object(r.a)({id:m},z)},b,{classes:b?Object(a.a)({baseClasses:l,newClasses:b.classes,Component:e}):l},v?v.props.inputProps:{}),ref:n},B))}));R.muiName="Select";t.a=Object(O.a)(T,{name:"MuiSelect"})(R)},,,,,,,,,,function(e,t,n){"use strict";var r=n(2),i=n(371),o=n(62);t.a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(e,Object(r.a)({defaultTheme:o.a},t))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var i=Object(r.a)({},t);return Object.keys(n).forEach((function(e){n[e]&&(i[e]="".concat(t[e]," ").concat(n[e]))})),i}},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(6),s=n(7),c=n(122),l=o.forwardRef((function(e,t){var n=e.classes,u=e.className,l=e.color,f=void 0===l?"primary":l,d=e.position,p=void 0===d?"fixed":d,h=Object(i.a)(e,["classes","className","color","position"]);return o.createElement(c.a,Object(r.a)({square:!0,component:"header",elevation:4,className:Object(a.a)(n.root,n["position".concat(Object(s.a)(p))],n["color".concat(Object(s.a)(f))],u,"fixed"===p&&"mui-fixed"),ref:t},h))}));t.a=Object(u.a)((function(e){var t="light"===e.palette.type?e.palette.grey[100]:e.palette.grey[900];return{root:{display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",zIndex:e.zIndex.appBar,flexShrink:0},positionFixed:{position:"fixed",top:0,left:"auto",right:0,"@media print":{position:"absolute"}},positionAbsolute:{position:"absolute",top:0,left:"auto",right:0},positionSticky:{position:"sticky",top:0,left:"auto",right:0},positionStatic:{position:"static"},positionRelative:{position:"relative"},colorDefault:{backgroundColor:t,color:e.palette.getContrastText(t)},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},colorInherit:{color:"inherit"},colorTransparent:{backgroundColor:"transparent",color:"inherit"}}}),{name:"MuiAppBar"})(l)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(10),a=n(0),u=(n(3),n(5)),s=n(6),c=n(7),l=a.forwardRef((function(e,t){var n=e.classes,o=e.className,s=e.component,l=void 0===s?"div":s,f=e.disableGutters,d=void 0!==f&&f,p=e.fixed,h=void 0!==p&&p,m=e.maxWidth,v=void 0===m?"lg":m,b=Object(i.a)(e,["classes","className","component","disableGutters","fixed","maxWidth"]);return a.createElement(l,Object(r.a)({className:Object(u.a)(n.root,o,h&&n.fixed,d&&n.disableGutters,!1!==v&&n["maxWidth".concat(Object(c.a)(String(v)))]),ref:t},b))}));t.a=Object(s.a)((function(e){return{root:Object(o.a)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",paddingLeft:e.spacing(2),paddingRight:e.spacing(2),display:"block"},e.breakpoints.up("sm"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}),disableGutters:{paddingLeft:0,paddingRight:0},fixed:Object.keys(e.breakpoints.values).reduce((function(t,n){var r=e.breakpoints.values[n];return 0!==r&&(t[e.breakpoints.up(n)]={maxWidth:r}),t}),{}),maxWidthXs:Object(o.a)({},e.breakpoints.up("xs"),{maxWidth:Math.max(e.breakpoints.values.xs,444)}),maxWidthSm:Object(o.a)({},e.breakpoints.up("sm"),{maxWidth:e.breakpoints.values.sm}),maxWidthMd:Object(o.a)({},e.breakpoints.up("md"),{maxWidth:e.breakpoints.values.md}),maxWidthLg:Object(o.a)({},e.breakpoints.up("lg"),{maxWidth:e.breakpoints.values.lg}),maxWidthXl:Object(o.a)({},e.breakpoints.up("xl"),{maxWidth:e.breakpoints.values.xl})}}),{name:"MuiContainer"})(l)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(10),a=n(0),u=(n(3),n(5)),s=n(6),c=a.forwardRef((function(e,t){var n=e.classes,o=e.className,s=e.component,c=void 0===s?"div":s,l=e.disableGutters,f=void 0!==l&&l,d=e.variant,p=void 0===d?"regular":d,h=Object(i.a)(e,["classes","className","component","disableGutters","variant"]);return a.createElement(c,Object(r.a)({className:Object(u.a)(n.root,n[p],o,!f&&n.gutters),ref:t},h))}));t.a=Object(s.a)((function(e){return{root:{position:"relative",display:"flex",alignItems:"center"},gutters:Object(o.a)({paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},e.breakpoints.up("sm"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}),regular:e.mixins.toolbar,dense:{minHeight:48}}}),{name:"MuiToolbar"})(c)},function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return p}));var r=n(2),i=n(4),o=n(0),a=(n(3),n(314)),u=n(33),s=n.n(u),c=n(28),l=n(47),f=n(356),d=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return n?l.b.indexOf(e)<=l.b.indexOf(t):l.b.indexOf(e)<l.b.indexOf(t)},p=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return n?l.b.indexOf(t)<=l.b.indexOf(e):l.b.indexOf(t)<l.b.indexOf(e)},h="undefined"===typeof window?o.useEffect:o.useLayoutEffect;t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=e.withTheme,u=void 0!==n&&n,l=e.noSSR,d=void 0!==l&&l,p=e.initialWidth;function m(e){var n=Object(c.a)(),s=e.theme||n,l=Object(a.a)({theme:s,name:"MuiWithWidth",props:Object(r.a)({},e)}),m=l.initialWidth,v=l.width,b=Object(i.a)(l,["initialWidth","width"]),y=o.useState(!1),g=y[0],w=y[1];h((function(){w(!0)}),[]);var O=s.breakpoints.keys.slice().reverse().reduce((function(e,t){var n=Object(f.a)(s.breakpoints.up(t));return!e&&n?t:e}),null),x=Object(r.a)({width:v||(g||d?O:void 0)||m||p},u?{theme:s}:{},b);return void 0===x.width?null:o.createElement(t,x)}return s()(m,t),m}}},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(40);t.a=Object(o.a)(i.a.createElement("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu")},function(e,t,n){"use strict";var r=n(4),i=n(2),o=n(0),a=(n(3),n(5)),u=n(6),s=n(16),c=n(185),l=n(7),f=o.forwardRef((function(e,t){var n=e.children,u=e.classes,s=e.className,f=e.color,d=void 0===f?"default":f,p=e.component,h=void 0===p?"button":p,m=e.disabled,v=void 0!==m&&m,b=e.disableElevation,y=void 0!==b&&b,g=e.disableFocusRipple,w=void 0!==g&&g,O=e.endIcon,x=e.focusVisibleClassName,S=e.fullWidth,k=void 0!==S&&S,E=e.size,j=void 0===E?"medium":E,_=e.startIcon,T=e.type,C=void 0===T?"button":T,P=e.variant,R=void 0===P?"text":P,A=Object(r.a)(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),M=_&&o.createElement("span",{className:Object(a.a)(u.startIcon,u["iconSize".concat(Object(l.a)(j))])},_),D=O&&o.createElement("span",{className:Object(a.a)(u.endIcon,u["iconSize".concat(Object(l.a)(j))])},O);return o.createElement(c.a,Object(i.a)({className:Object(a.a)(u.root,u[R],s,"inherit"===d?u.colorInherit:"default"!==d&&u["".concat(R).concat(Object(l.a)(d))],"medium"!==j&&[u["".concat(R,"Size").concat(Object(l.a)(j))],u["size".concat(Object(l.a)(j))]],y&&u.disableElevation,v&&u.disabled,k&&u.fullWidth),component:h,disabled:v,focusRipple:!w,focusVisibleClassName:Object(a.a)(u.focusVisible,x),ref:t,type:C},A),o.createElement("span",{className:u.label},M,n,D))}));t.a=Object(u.a)((function(e){return{root:Object(i.a)({},e.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:Object(s.a)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:Object(s.a)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Object(s.a)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(e.palette.action.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(Object(s.a)(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:Object(s.a)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(Object(s.a)(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:Object(s.a)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&:hover":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(f)},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(3),a=n.n(o);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=Object(r.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,a=void 0===o?24:o,c=s(e,["color","size"]);return i.a.createElement("svg",u({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),i.a.createElement("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),i.a.createElement("circle",{cx:"12",cy:"7",r:"4"}))}));c.propTypes={color:a.a.string,size:a.a.oneOfType([a.a.string,a.a.number])},c.displayName="User",t.a=c},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(3),a=n.n(o);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=Object(r.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,a=void 0===o?24:o,c=s(e,["color","size"]);return i.a.createElement("svg",u({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),i.a.createElement("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),i.a.createElement("circle",{cx:"9",cy:"7",r:"4"}),i.a.createElement("path",{d:"M23 21v-2a4 4 0 0 0-3-3.87"}),i.a.createElement("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"}))}));c.propTypes={color:a.a.string,size:a.a.oneOfType([a.a.string,a.a.number])},c.displayName="Users",t.a=c},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(186),s=n(315),c=n(6),l=n(360),f=n(122),d=n(7),p=n(31),h=n(28),m={left:"right",right:"left",top:"down",bottom:"up"};var v={enter:p.b.enteringScreen,exit:p.b.leavingScreen},b=o.forwardRef((function(e,t){var n=e.anchor,c=void 0===n?"left":n,p=e.BackdropProps,b=e.children,y=e.classes,g=e.className,w=e.elevation,O=void 0===w?16:w,x=e.ModalProps,S=(x=void 0===x?{}:x).BackdropProps,k=Object(i.a)(x,["BackdropProps"]),E=e.onClose,j=e.open,_=void 0!==j&&j,T=e.PaperProps,C=void 0===T?{}:T,P=e.SlideProps,R=e.TransitionComponent,A=void 0===R?l.a:R,M=e.transitionDuration,D=void 0===M?v:M,N=e.variant,F=void 0===N?"temporary":N,I=Object(i.a)(e,["anchor","BackdropProps","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"]),L=Object(h.a)(),z=o.useRef(!1);o.useEffect((function(){z.current=!0}),[]);var W=function(e,t){return"rtl"===e.direction&&function(e){return-1!==["left","right"].indexOf(e)}(t)?m[t]:t}(L,c),U=o.createElement(f.a,Object(r.a)({elevation:"temporary"===F?O:0,square:!0},C,{className:Object(a.a)(y.paper,y["paperAnchor".concat(Object(d.a)(W))],C.className,"temporary"!==F&&y["paperAnchorDocked".concat(Object(d.a)(W))])}),b);if("permanent"===F)return o.createElement("div",Object(r.a)({className:Object(a.a)(y.root,y.docked,g),ref:t},I),U);var B=o.createElement(A,Object(r.a)({in:_,direction:m[W],timeout:D,appear:z.current},P),U);return"persistent"===F?o.createElement("div",Object(r.a)({className:Object(a.a)(y.root,y.docked,g),ref:t},I),B):o.createElement(u.a,Object(r.a)({BackdropProps:Object(r.a)({},p,S,{transitionDuration:D}),BackdropComponent:s.a,className:Object(a.a)(y.root,y.modal,g),open:_,onClose:E,ref:t},I,k),B)}));t.a=Object(c.a)((function(e){return{root:{},docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:e.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(e.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(e.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(e.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(e.palette.divider)},modal:{}}}),{name:"MuiDrawer",flip:!1})(b)},function(e,t,n){"use strict";var r=n(0),i=n(17),o=(n(3),n(71)),a=n(13);var u="undefined"!==typeof window?r.useLayoutEffect:r.useEffect,s=r.forwardRef((function(e,t){var n=e.children,s=e.container,c=e.disablePortal,l=void 0!==c&&c,f=e.onRendered,d=r.useState(null),p=d[0],h=d[1],m=Object(a.a)(r.isValidElement(n)?n.ref:null,t);return u((function(){l||h(function(e){return e="function"===typeof e?e():e,i.findDOMNode(e)}(s)||document.body)}),[s,l]),u((function(){if(p&&!l)return Object(o.a)(t,p),function(){Object(o.a)(t,null)}}),[t,p,l]),u((function(){f&&(p||l)&&f()}),[f,p,l]),l?r.isValidElement(n)?r.cloneElement(n,{ref:m}):n:p?i.createPortal(n,p):p}));t.a=s},function(e,t,n){"use strict";var r=n(0),i=n(17),o=(n(3),n(25)),a=n(13);t.a=function(e){var t=e.children,n=e.disableAutoFocus,u=void 0!==n&&n,s=e.disableEnforceFocus,c=void 0!==s&&s,l=e.disableRestoreFocus,f=void 0!==l&&l,d=e.getDoc,p=e.isEnabled,h=e.open,m=r.useRef(),v=r.useRef(null),b=r.useRef(null),y=r.useRef(),g=r.useRef(null),w=r.useCallback((function(e){g.current=i.findDOMNode(e)}),[]),O=Object(a.a)(t.ref,w),x=r.useRef();return r.useEffect((function(){x.current=h}),[h]),!x.current&&h&&"undefined"!==typeof window&&(y.current=d().activeElement),r.useEffect((function(){if(h){var e=Object(o.a)(g.current);u||!g.current||g.current.contains(e.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex",-1),g.current.focus());var t=function(){null!==g.current&&(e.hasFocus()&&!c&&p()&&!m.current?g.current&&!g.current.contains(e.activeElement)&&g.current.focus():m.current=!1)},n=function(t){!c&&p()&&9===t.keyCode&&e.activeElement===g.current&&(m.current=!0,t.shiftKey?b.current.focus():v.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var r=setInterval((function(){t()}),50);return function(){clearInterval(r),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),f||(y.current&&y.current.focus&&y.current.focus(),y.current=null)}}}),[u,c,f,p,h]),r.createElement(r.Fragment,null,r.createElement("div",{tabIndex:0,ref:v,"data-test":"sentinelStart"}),r.cloneElement(t,{ref:O}),r.createElement("div",{tabIndex:0,ref:b,"data-test":"sentinelEnd"}))}},function(e,t,n){"use strict";var r=n(4),i=n(2),o=n(0),a=(n(3),n(5)),u=n(6),s=[0,1,2,3,4,5,6,7,8,9,10],c=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=parseFloat(e);return"".concat(n/t).concat(String(e).replace(String(n),"")||"px")}var f=o.forwardRef((function(e,t){var n=e.alignContent,u=void 0===n?"stretch":n,s=e.alignItems,c=void 0===s?"stretch":s,l=e.classes,f=e.className,d=e.component,p=void 0===d?"div":d,h=e.container,m=void 0!==h&&h,v=e.direction,b=void 0===v?"row":v,y=e.item,g=void 0!==y&&y,w=e.justify,O=e.justifyContent,x=void 0===O?"flex-start":O,S=e.lg,k=void 0!==S&&S,E=e.md,j=void 0!==E&&E,_=e.sm,T=void 0!==_&&_,C=e.spacing,P=void 0===C?0:C,R=e.wrap,A=void 0===R?"wrap":R,M=e.xl,D=void 0!==M&&M,N=e.xs,F=void 0!==N&&N,I=e.zeroMinWidth,L=void 0!==I&&I,z=Object(r.a)(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),W=Object(a.a)(l.root,f,m&&[l.container,0!==P&&l["spacing-xs-".concat(String(P))]],g&&l.item,L&&l.zeroMinWidth,"row"!==b&&l["direction-xs-".concat(String(b))],"wrap"!==A&&l["wrap-xs-".concat(String(A))],"stretch"!==c&&l["align-items-xs-".concat(String(c))],"stretch"!==u&&l["align-content-xs-".concat(String(u))],"flex-start"!==(w||x)&&l["justify-content-xs-".concat(String(w||x))],!1!==F&&l["grid-xs-".concat(String(F))],!1!==T&&l["grid-sm-".concat(String(T))],!1!==j&&l["grid-md-".concat(String(j))],!1!==k&&l["grid-lg-".concat(String(k))],!1!==D&&l["grid-xl-".concat(String(D))]);return o.createElement(p,Object(i.a)({className:W,ref:t},z))})),d=Object(u.a)((function(e){return Object(i.a)({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-content-xs-center":{justifyContent:"center"},"justify-content-xs-flex-end":{justifyContent:"flex-end"},"justify-content-xs-space-between":{justifyContent:"space-between"},"justify-content-xs-space-around":{justifyContent:"space-around"},"justify-content-xs-space-evenly":{justifyContent:"space-evenly"}},function(e,t){var n={};return s.forEach((function(r){var i=e.spacing(r);0!==i&&(n["spacing-".concat(t,"-").concat(r)]={margin:"-".concat(l(i,2)),width:"calc(100% + ".concat(l(i),")"),"& > $item":{padding:l(i,2)}})})),n}(e,"xs"),e.breakpoints.keys.reduce((function(t,n){return function(e,t,n){var r={};c.forEach((function(e){var t="grid-".concat(n,"-").concat(e);if(!0!==e)if("auto"!==e){var i="".concat(Math.round(e/12*1e8)/1e6,"%");r[t]={flexBasis:i,flexGrow:0,maxWidth:i}}else r[t]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else r[t]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===n?Object(i.a)(e,r):e[t.breakpoints.up(n)]=r}(t,e,n),t}),{}))}),{name:"MuiGrid"})(f);t.a=d},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(7),s=n(6),c=n(138),l=n(13),f=n(184),d=o.forwardRef((function(e,t){var n=e.classes,s=e.className,d=e.color,p=void 0===d?"primary":d,h=e.component,m=void 0===h?"a":h,v=e.onBlur,b=e.onFocus,y=e.TypographyClasses,g=e.underline,w=void 0===g?"hover":g,O=e.variant,x=void 0===O?"inherit":O,S=Object(i.a)(e,["classes","className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"]),k=Object(c.a)(),E=k.isFocusVisible,j=k.onBlurVisible,_=k.ref,T=o.useState(!1),C=T[0],P=T[1],R=Object(l.a)(t,_);return o.createElement(f.a,Object(r.a)({className:Object(a.a)(n.root,n["underline".concat(Object(u.a)(w))],s,C&&n.focusVisible,"button"===m&&n.button),classes:y,color:p,component:m,onBlur:function(e){C&&(j(),P(!1)),v&&v(e)},onFocus:function(e){E(e)&&P(!0),b&&b(e)},ref:R,variant:x},S))}));t.a=Object(s.a)({root:{},underlineNone:{textDecoration:"none"},underlineHover:{textDecoration:"none","&:hover":{textDecoration:"underline"}},underlineAlways:{textDecoration:"underline"},button:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none","&::-moz-focus-inner":{borderStyle:"none"},"&$focusVisible":{outline:"auto"}},focusVisible:{}},{name:"MuiLink"})(d)},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(40);t.a=Object(o.a)(i.a.createElement("path",{d:"M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m13 2h-2.5A3.5 3.5 0 0 0 12 8.5V11h-2v3h2v7h3v-7h3v-3h-3V9a1 1 0 0 1 1-1h2V5z"}),"Facebook")},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(40);t.a=Object(o.a)(i.a.createElement("path",{d:"M22.46 6c-.77.35-1.6.58-2.46.69.88-.53 1.56-1.37 1.88-2.38-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29 0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15 0 1.49.75 2.81 1.91 3.56-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07 4.28 4.28 0 0 0 4 2.98 8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21 16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56.84-.6 1.56-1.36 2.14-2.23z"}),"Twitter")},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(40);t.a=Object(o.a)(i.a.createElement("path",{d:"M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z"}),"Instagram")},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(3),a=n.n(o);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=Object(r.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,a=void 0===o?24:o,c=s(e,["color","size"]);return i.a.createElement("svg",u({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),i.a.createElement("line",{x1:"12",y1:"20",x2:"12",y2:"10"}),i.a.createElement("line",{x1:"18",y1:"20",x2:"18",y2:"4"}),i.a.createElement("line",{x1:"6",y1:"20",x2:"6",y2:"16"}))}));c.propTypes={color:a.a.string,size:a.a.oneOfType([a.a.string,a.a.number])},c.displayName="BarChart",t.a=c},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(3),a=n.n(o);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=Object(r.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,a=void 0===o?24:o,c=s(e,["color","size"]);return i.a.createElement("svg",u({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),i.a.createElement("path",{d:"M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z"}),i.a.createElement("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),i.a.createElement("path",{d:"M16 10a4 4 0 0 1-8 0"}))}));c.propTypes={color:a.a.string,size:a.a.oneOfType([a.a.string,a.a.number])},c.displayName="ShoppingBag",t.a=c},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(3),a=n.n(o);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=Object(r.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,a=void 0===o?24:o,c=s(e,["color","size"]);return i.a.createElement("svg",u({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),i.a.createElement("circle",{cx:"12",cy:"12",r:"3"}),i.a.createElement("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"}))}));c.propTypes={color:a.a.string,size:a.a.oneOfType([a.a.string,a.a.number])},c.displayName="Settings",t.a=c},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(3),a=n.n(o);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=Object(r.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,a=void 0===o?24:o,c=s(e,["color","size"]);return i.a.createElement("svg",u({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),i.a.createElement("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),i.a.createElement("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"}))}));c.propTypes={color:a.a.string,size:a.a.oneOfType([a.a.string,a.a.number])},c.displayName="Lock",t.a=c},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(3),a=n.n(o);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=Object(r.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,a=void 0===o?24:o,c=s(e,["color","size"]);return i.a.createElement("svg",u({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),i.a.createElement("path",{d:"M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),i.a.createElement("circle",{cx:"8.5",cy:"7",r:"4"}),i.a.createElement("line",{x1:"20",y1:"8",x2:"20",y2:"14"}),i.a.createElement("line",{x1:"23",y1:"11",x2:"17",y2:"11"}))}));c.propTypes={color:a.a.string,size:a.a.oneOfType([a.a.string,a.a.number])},c.displayName="UserPlus",t.a=c},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(3),a=n.n(o);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=Object(r.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,a=void 0===o?24:o,c=s(e,["color","size"]);return i.a.createElement("svg",u({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),i.a.createElement("circle",{cx:"12",cy:"12",r:"10"}),i.a.createElement("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),i.a.createElement("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"}))}));c.propTypes={color:a.a.string,size:a.a.oneOfType([a.a.string,a.a.number])},c.displayName="AlertCircle",t.a=c},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(6),s=n(16),c=o.forwardRef((function(e,t){var n=e.absolute,u=void 0!==n&&n,s=e.classes,c=e.className,l=e.component,f=void 0===l?"hr":l,d=e.flexItem,p=void 0!==d&&d,h=e.light,m=void 0!==h&&h,v=e.orientation,b=void 0===v?"horizontal":v,y=e.role,g=void 0===y?"hr"!==f?"separator":void 0:y,w=e.variant,O=void 0===w?"fullWidth":w,x=Object(i.a)(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return o.createElement(f,Object(r.a)({className:Object(a.a)(s.root,c,"fullWidth"!==O&&s[O],u&&s.absolute,p&&s.flexItem,m&&s.light,"vertical"===b&&s.vertical),role:g,ref:t},x))}));t.a=Object(u.a)((function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:Object(s.a)(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(c)},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(3),a=n.n(o);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=Object(r.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,a=void 0===o?24:o,c=s(e,["color","size"]);return i.a.createElement("svg",u({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),i.a.createElement("path",{d:"M4 19.5A2.5 2.5 0 0 1 6.5 17H20"}),i.a.createElement("path",{d:"M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"}))}));c.propTypes={color:a.a.string,size:a.a.oneOfType([a.a.string,a.a.number])},c.displayName="Book",t.a=c},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(3),a=n.n(o);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=Object(r.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,a=void 0===o?24:o,c=s(e,["color","size"]);return i.a.createElement("svg",u({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),i.a.createElement("path",{d:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"}),i.a.createElement("path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"}))}));c.propTypes={color:a.a.string,size:a.a.oneOfType([a.a.string,a.a.number])},c.displayName="BookOpen",t.a=c},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(317),s=n(362),c=n(372),l=n(364),f=n(363),d=n(368),p=n(373),h=n(6),m={standard:u.a,filled:s.a,outlined:c.a},v=o.forwardRef((function(e,t){var n=e.autoComplete,u=e.autoFocus,s=void 0!==u&&u,c=e.children,h=e.classes,v=e.className,b=e.color,y=void 0===b?"primary":b,g=e.defaultValue,w=e.disabled,O=void 0!==w&&w,x=e.error,S=void 0!==x&&x,k=e.FormHelperTextProps,E=e.fullWidth,j=void 0!==E&&E,_=e.helperText,T=e.hiddenLabel,C=e.id,P=e.InputLabelProps,R=e.inputProps,A=e.InputProps,M=e.inputRef,D=e.label,N=e.multiline,F=void 0!==N&&N,I=e.name,L=e.onBlur,z=e.onChange,W=e.onFocus,U=e.placeholder,B=e.required,V=void 0!==B&&B,H=e.rows,Y=e.rowsMax,$=e.maxRows,q=e.minRows,G=e.select,K=void 0!==G&&G,X=e.SelectProps,Q=e.type,Z=e.value,J=e.variant,ee=void 0===J?"standard":J,te=Object(i.a)(e,["autoComplete","autoFocus","children","classes","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","maxRows","minRows","select","SelectProps","type","value","variant"]);var ne={};if("outlined"===ee&&(P&&"undefined"!==typeof P.shrink&&(ne.notched=P.shrink),D)){var re,ie=null!==(re=null===P||void 0===P?void 0:P.required)&&void 0!==re?re:V;ne.label=o.createElement(o.Fragment,null,D,ie&&"\xa0*")}K&&(X&&X.native||(ne.id=void 0),ne["aria-describedby"]=void 0);var oe=_&&C?"".concat(C,"-helper-text"):void 0,ae=D&&C?"".concat(C,"-label"):void 0,ue=m[ee],se=o.createElement(ue,Object(r.a)({"aria-describedby":oe,autoComplete:n,autoFocus:s,defaultValue:g,fullWidth:j,multiline:F,name:I,rows:H,rowsMax:Y,maxRows:$,minRows:q,type:Q,value:Z,id:C,inputRef:M,onBlur:L,onChange:z,onFocus:W,placeholder:U,inputProps:R},ne,A));return o.createElement(f.a,Object(r.a)({className:Object(a.a)(h.root,v),disabled:O,error:S,fullWidth:j,hiddenLabel:T,ref:t,required:V,color:y,variant:ee},te),D&&o.createElement(l.a,Object(r.a)({htmlFor:C,id:ae},P),D),K?o.createElement(p.a,Object(r.a)({"aria-describedby":oe,id:C,labelId:ae,value:Z,input:se},X),c):se,_&&o.createElement(d.a,Object(r.a)({id:oe},k),_))}));t.a=Object(h.a)({root:{}},{name:"MuiTextField"})(v)},function(e,t,n){"use strict";var r=n(4),i=n(10),o=n(2),a=n(0),u=(n(3),n(5)),s=n(6),c=n(358),l=a.forwardRef((function(e,t){var n,i=e.classes,s=e.className,l=e.component,f=void 0===l?"li":l,d=e.disableGutters,p=void 0!==d&&d,h=e.ListItemClasses,m=e.role,v=void 0===m?"menuitem":m,b=e.selected,y=e.tabIndex,g=Object(r.a)(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(n=void 0!==y?y:-1),a.createElement(c.a,Object(o.a)({button:!0,role:v,tabIndex:n,component:f,selected:b,disableGutters:p,classes:Object(o.a)({dense:i.dense},h),className:Object(u.a)(i.root,s,b&&i.selected,!p&&i.gutters),ref:t},g))}));t.a=Object(s.a)((function(e){return{root:Object(o.a)({},e.typography.body1,Object(i.a)({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:Object(o.a)({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(l)},function(e,t,n){"use strict";var r=n(4),i=n(10),o=n(2),a=n(0),u=(n(3),n(5)),s=n(6),c=n(31),l=n(369),f=n(34),d=n(7),p=n(72),h=n(319),m=n(370),v=a.forwardRef((function(e,t){var n=e.action,i=e.anchorOrigin,s=(i=void 0===i?{vertical:"bottom",horizontal:"center"}:i).vertical,v=i.horizontal,b=e.autoHideDuration,y=void 0===b?null:b,g=e.children,w=e.classes,O=e.className,x=e.ClickAwayListenerProps,S=e.ContentProps,k=e.disableWindowBlurListener,E=void 0!==k&&k,j=e.message,_=e.onClose,T=e.onEnter,C=e.onEntered,P=e.onEntering,R=e.onExit,A=e.onExited,M=e.onExiting,D=e.onMouseEnter,N=e.onMouseLeave,F=e.open,I=e.resumeHideDuration,L=e.TransitionComponent,z=void 0===L?h.a:L,W=e.transitionDuration,U=void 0===W?{enter:c.b.enteringScreen,exit:c.b.leavingScreen}:W,B=e.TransitionProps,V=Object(r.a)(e,["action","anchorOrigin","autoHideDuration","children","classes","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onClose","onEnter","onEntered","onEntering","onExit","onExited","onExiting","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"]),H=a.useRef(),Y=a.useState(!0),$=Y[0],q=Y[1],G=Object(f.a)((function(){_&&_.apply(void 0,arguments)})),K=Object(f.a)((function(e){_&&null!=e&&(clearTimeout(H.current),H.current=setTimeout((function(){G(null,"timeout")}),e))}));a.useEffect((function(){return F&&K(y),function(){clearTimeout(H.current)}}),[F,y,K]);var X=function(){clearTimeout(H.current)},Q=a.useCallback((function(){null!=y&&K(null!=I?I:.5*y)}),[y,I,K]);return a.useEffect((function(){if(!E&&F)return window.addEventListener("focus",Q),window.addEventListener("blur",X),function(){window.removeEventListener("focus",Q),window.removeEventListener("blur",X)}}),[E,Q,F]),!F&&$?null:a.createElement(l.a,Object(o.a)({onClickAway:function(e){_&&_(e,"clickaway")}},x),a.createElement("div",Object(o.a)({className:Object(u.a)(w.root,w["anchorOrigin".concat(Object(d.a)(s)).concat(Object(d.a)(v))],O),onMouseEnter:function(e){D&&D(e),X()},onMouseLeave:function(e){N&&N(e),Q()},ref:t},V),a.createElement(z,Object(o.a)({appear:!0,in:F,onEnter:Object(p.a)((function(){q(!1)}),T),onEntered:C,onEntering:P,onExit:R,onExited:Object(p.a)((function(){q(!0)}),A),onExiting:M,timeout:U,direction:"top"===s?"down":"up"},B),g||a.createElement(m.a,Object(o.a)({message:j,action:n},S)))))}));t.a=Object(s.a)((function(e){var t={top:8},n={bottom:8},r={justifyContent:"flex-end"},a={justifyContent:"flex-start"},u={top:24},s={bottom:24},c={right:24},l={left:24},f={left:"50%",right:"auto",transform:"translateX(-50%)"};return{root:{zIndex:e.zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},anchorOriginTopCenter:Object(o.a)({},t,Object(i.a)({},e.breakpoints.up("sm"),Object(o.a)({},u,f))),anchorOriginBottomCenter:Object(o.a)({},n,Object(i.a)({},e.breakpoints.up("sm"),Object(o.a)({},s,f))),anchorOriginTopRight:Object(o.a)({},t,r,Object(i.a)({},e.breakpoints.up("sm"),Object(o.a)({left:"auto"},u,c))),anchorOriginBottomRight:Object(o.a)({},n,r,Object(i.a)({},e.breakpoints.up("sm"),Object(o.a)({left:"auto"},s,c))),anchorOriginTopLeft:Object(o.a)({},t,a,Object(i.a)({},e.breakpoints.up("sm"),Object(o.a)({right:"auto"},u,l))),anchorOriginBottomLeft:Object(o.a)({},n,a,Object(i.a)({},e.breakpoints.up("sm"),Object(o.a)({right:"auto"},s,l)))}}),{flip:!1,name:"MuiSnackbar"})(v)},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(40);t.a=Object(o.a)(i.a.createElement("path",{d:"M16.01 11H4v2h12.01v3L20 12l-3.99-4z"}),"ArrowRightAlt")},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(40);t.a=Object(o.a)(i.a.createElement(i.a.Fragment,null,i.a.createElement("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),i.a.createElement("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),"AccessTime")},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(10),a=n(0),u=(n(3),n(5)),s=n(6),c=n(7),l=n(186),f=n(315),d=n(316),p=n(31),h=n(122),m={enter:p.b.enteringScreen,exit:p.b.leavingScreen},v=a.forwardRef((function(e,t){var n=e.BackdropProps,o=e.children,s=e.classes,p=e.className,v=e.disableBackdropClick,b=void 0!==v&&v,y=e.disableEscapeKeyDown,g=void 0!==y&&y,w=e.fullScreen,O=void 0!==w&&w,x=e.fullWidth,S=void 0!==x&&x,k=e.maxWidth,E=void 0===k?"sm":k,j=e.onBackdropClick,_=e.onClose,T=e.onEnter,C=e.onEntered,P=e.onEntering,R=e.onEscapeKeyDown,A=e.onExit,M=e.onExited,D=e.onExiting,N=e.open,F=e.PaperComponent,I=void 0===F?h.a:F,L=e.PaperProps,z=void 0===L?{}:L,W=e.scroll,U=void 0===W?"paper":W,B=e.TransitionComponent,V=void 0===B?d.a:B,H=e.transitionDuration,Y=void 0===H?m:H,$=e.TransitionProps,q=e["aria-describedby"],G=e["aria-labelledby"],K=Object(i.a)(e,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps","aria-describedby","aria-labelledby"]),X=a.useRef();return a.createElement(l.a,Object(r.a)({className:Object(u.a)(s.root,p),BackdropComponent:f.a,BackdropProps:Object(r.a)({transitionDuration:Y},n),closeAfterTransition:!0},b?{disableBackdropClick:b}:{},{disableEscapeKeyDown:g,onEscapeKeyDown:R,onClose:_,open:N,ref:t},K),a.createElement(V,Object(r.a)({appear:!0,in:N,timeout:Y,onEnter:T,onEntering:P,onEntered:C,onExit:A,onExiting:D,onExited:M,role:"none presentation"},$),a.createElement("div",{className:Object(u.a)(s.container,s["scroll".concat(Object(c.a)(U))]),onMouseUp:function(e){e.target===e.currentTarget&&e.target===X.current&&(X.current=null,j&&j(e),!b&&_&&_(e,"backdropClick"))},onMouseDown:function(e){X.current=e.target}},a.createElement(I,Object(r.a)({elevation:24,role:"dialog","aria-describedby":q,"aria-labelledby":G},z,{className:Object(u.a)(s.paper,s["paperScroll".concat(Object(c.a)(U))],s["paperWidth".concat(Object(c.a)(String(E)))],z.className,O&&s.paperFullScreen,S&&s.paperFullWidth)}),o))))}));t.a=Object(s.a)((function(e){return{root:{"@media print":{position:"absolute !important"}},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}},container:{height:"100%","@media print":{height:"auto"},outline:0},paper:{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},paperScrollPaper:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},paperScrollBody:{display:"inline-block",verticalAlign:"middle",textAlign:"left"},paperWidthFalse:{maxWidth:"calc(100% - 64px)"},paperWidthXs:{maxWidth:Math.max(e.breakpoints.values.xs,444),"&$paperScrollBody":Object(o.a)({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})},paperWidthSm:{maxWidth:e.breakpoints.values.sm,"&$paperScrollBody":Object(o.a)({},e.breakpoints.down(e.breakpoints.values.sm+64),{maxWidth:"calc(100% - 64px)"})},paperWidthMd:{maxWidth:e.breakpoints.values.md,"&$paperScrollBody":Object(o.a)({},e.breakpoints.down(e.breakpoints.values.md+64),{maxWidth:"calc(100% - 64px)"})},paperWidthLg:{maxWidth:e.breakpoints.values.lg,"&$paperScrollBody":Object(o.a)({},e.breakpoints.down(e.breakpoints.values.lg+64),{maxWidth:"calc(100% - 64px)"})},paperWidthXl:{maxWidth:e.breakpoints.values.xl,"&$paperScrollBody":Object(o.a)({},e.breakpoints.down(e.breakpoints.values.xl+64),{maxWidth:"calc(100% - 64px)"})},paperFullWidth:{width:"calc(100% - 64px)"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,"&$paperScrollBody":{margin:0,maxWidth:"100%"}}}}),{name:"MuiDialog"})(v)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(6),s=n(184),c=o.forwardRef((function(e,t){var n=e.children,u=e.classes,c=e.className,l=e.disableTypography,f=void 0!==l&&l,d=Object(i.a)(e,["children","classes","className","disableTypography"]);return o.createElement("div",Object(r.a)({className:Object(a.a)(u.root,c),ref:t},d),f?n:o.createElement(s.a,{component:"h2",variant:"h6"},n))}));t.a=Object(u.a)({root:{margin:0,padding:"16px 24px",flex:"0 0 auto"}},{name:"MuiDialogTitle"})(c)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(6),s=o.forwardRef((function(e,t){var n=e.classes,u=e.className,s=e.dividers,c=void 0!==s&&s,l=Object(i.a)(e,["classes","className","dividers"]);return o.createElement("div",Object(r.a)({className:Object(a.a)(n.root,u,c&&n.dividers),ref:t},l))}));t.a=Object(u.a)((function(e){return{root:{flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"8px 24px","&:first-child":{paddingTop:20}},dividers:{padding:"16px 24px",borderTop:"1px solid ".concat(e.palette.divider),borderBottom:"1px solid ".concat(e.palette.divider)}}}),{name:"MuiDialogContent"})(s)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(6),s=o.forwardRef((function(e,t){var n=e.classes,u=e.className,s=e.row,c=void 0!==s&&s,l=Object(i.a)(e,["classes","className","row"]);return o.createElement("div",Object(r.a)({className:Object(a.a)(n.root,u,c&&n.row),ref:t},l))}));t.a=Object(u.a)({root:{display:"flex",flexDirection:"column",flexWrap:"wrap"},row:{flexDirection:"row"}},{name:"MuiFormGroup"})(s)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(39),s=n(6),c=n(184),l=n(7),f=o.forwardRef((function(e,t){e.checked;var n=e.classes,s=e.className,f=e.control,d=e.disabled,p=(e.inputRef,e.label),h=e.labelPlacement,m=void 0===h?"end":h,v=(e.name,e.onChange,e.value,Object(i.a)(e,["checked","classes","className","control","disabled","inputRef","label","labelPlacement","name","onChange","value"])),b=Object(u.a)(),y=d;"undefined"===typeof y&&"undefined"!==typeof f.props.disabled&&(y=f.props.disabled),"undefined"===typeof y&&b&&(y=b.disabled);var g={disabled:y};return["checked","name","onChange","value","inputRef"].forEach((function(t){"undefined"===typeof f.props[t]&&"undefined"!==typeof e[t]&&(g[t]=e[t])})),o.createElement("label",Object(r.a)({className:Object(a.a)(n.root,s,"end"!==m&&n["labelPlacement".concat(Object(l.a)(m))],y&&n.disabled),ref:t},v),o.cloneElement(f,g),o.createElement(c.a,{component:"span",className:Object(a.a)(n.label,y&&n.disabled)},p))}));t.a=Object(s.a)((function(e){return{root:{display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,"&$disabled":{cursor:"default"}},labelPlacementStart:{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},labelPlacementTop:{flexDirection:"column-reverse",marginLeft:16},labelPlacementBottom:{flexDirection:"column",marginLeft:16},disabled:{},label:{"&$disabled":{color:e.palette.text.disabled}}}}),{name:"MuiFormControlLabel"})(f)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(6),s=o.forwardRef((function(e,t){var n=e.classes,u=e.className,s=e.component,c=void 0===s?"div":s,l=Object(i.a)(e,["classes","className","component"]);return o.createElement(c,Object(r.a)({ref:t,className:Object(a.a)(n.root,u)},l))}));t.a=Object(u.a)({root:{width:"100%",overflowX:"auto"}},{name:"MuiTableContainer"})(s)},function(e,t,n){"use strict";var r=n(4),i=n(2),o=n(0),a=(n(3),n(5)),u=n(6),s=n(153),c="table",l=o.forwardRef((function(e,t){var n=e.classes,u=e.className,l=e.component,f=void 0===l?c:l,d=e.padding,p=void 0===d?"normal":d,h=e.size,m=void 0===h?"medium":h,v=e.stickyHeader,b=void 0!==v&&v,y=Object(r.a)(e,["classes","className","component","padding","size","stickyHeader"]),g=o.useMemo((function(){return{padding:p,size:m,stickyHeader:b}}),[p,m,b]);return o.createElement(s.a.Provider,{value:g},o.createElement(f,Object(i.a)({role:f===c?null:"table",ref:t,className:Object(a.a)(n.root,u,b&&n.stickyHeader)},y)))}));t.a=Object(u.a)((function(e){return{root:{display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":Object(i.a)({},e.typography.body2,{padding:e.spacing(2),color:e.palette.text.secondary,textAlign:"left",captionSide:"bottom"})},stickyHeader:{borderCollapse:"separate"}}}),{name:"MuiTable"})(l)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(6),s=n(65),c={variant:"head"},l="thead",f=o.forwardRef((function(e,t){var n=e.classes,u=e.className,f=e.component,d=void 0===f?l:f,p=Object(i.a)(e,["classes","className","component"]);return o.createElement(s.a.Provider,{value:c},o.createElement(d,Object(r.a)({className:Object(a.a)(n.root,u),ref:t,role:d===l?null:"rowgroup"},p)))}));t.a=Object(u.a)({root:{display:"table-header-group"}},{name:"MuiTableHead"})(f)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(6),s=n(65),c=n(16),l=o.forwardRef((function(e,t){var n=e.classes,u=e.className,c=e.component,l=void 0===c?"tr":c,f=e.hover,d=void 0!==f&&f,p=e.selected,h=void 0!==p&&p,m=Object(i.a)(e,["classes","className","component","hover","selected"]),v=o.useContext(s.a);return o.createElement(l,Object(r.a)({ref:t,className:Object(a.a)(n.root,u,v&&{head:n.head,footer:n.footer}[v.variant],d&&n.hover,h&&n.selected),role:"tr"===l?null:"row"},m))}));t.a=Object(u.a)((function(e){return{root:{color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,"&$hover:hover":{backgroundColor:e.palette.action.hover},"&$selected, &$selected:hover":{backgroundColor:Object(c.a)(e.palette.secondary.main,e.palette.action.selectedOpacity)}},selected:{},hover:{},head:{},footer:{}}}),{name:"MuiTableRow"})(l)},function(e,t,n){"use strict";var r=n(4),i=n(2),o=n(0),a=(n(3),n(5)),u=n(6),s=n(7),c=n(16),l=n(153),f=n(65),d=o.forwardRef((function(e,t){var n,u,c=e.align,d=void 0===c?"inherit":c,p=e.classes,h=e.className,m=e.component,v=e.padding,b=e.scope,y=e.size,g=e.sortDirection,w=e.variant,O=Object(r.a)(e,["align","classes","className","component","padding","scope","size","sortDirection","variant"]),x=o.useContext(l.a),S=o.useContext(f.a),k=S&&"head"===S.variant;m?(u=m,n=k?"columnheader":"cell"):u=k?"th":"td";var E=b;!E&&k&&(E="col");var j=v||(x&&x.padding?x.padding:"normal"),_=y||(x&&x.size?x.size:"medium"),T=w||S&&S.variant,C=null;return g&&(C="asc"===g?"ascending":"descending"),o.createElement(u,Object(i.a)({ref:t,className:Object(a.a)(p.root,p[T],h,"inherit"!==d&&p["align".concat(Object(s.a)(d))],"normal"!==j&&p["padding".concat(Object(s.a)(j))],"medium"!==_&&p["size".concat(Object(s.a)(_))],"head"===T&&x&&x.stickyHeader&&p.stickyHeader),"aria-sort":C,role:n,scope:E},O))}));t.a=Object(u.a)((function(e){return{root:Object(i.a)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n ".concat("light"===e.palette.type?Object(c.e)(Object(c.a)(e.palette.divider,1),.88):Object(c.b)(Object(c.a)(e.palette.divider,1),.68)),textAlign:"left",padding:16}),head:{color:e.palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},body:{color:e.palette.text.primary},footer:{color:e.palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},sizeSmall:{padding:"6px 24px 6px 16px","&:last-child":{paddingRight:16},"&$paddingCheckbox":{width:24,padding:"0 12px 0 16px","&:last-child":{paddingLeft:12,paddingRight:16},"& > *":{padding:0}}},paddingCheckbox:{width:48,padding:"0 0 0 4px","&:last-child":{paddingLeft:0,paddingRight:4}},paddingNone:{padding:0,"&:last-child":{padding:0}},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right",flexDirection:"row-reverse"},alignJustify:{textAlign:"justify"},stickyHeader:{position:"sticky",top:0,left:0,zIndex:2,backgroundColor:e.palette.background.default}}}),{name:"MuiTableCell"})(d)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(6),s=n(65),c={variant:"body"},l="tbody",f=o.forwardRef((function(e,t){var n=e.classes,u=e.className,f=e.component,d=void 0===f?l:f,p=Object(i.a)(e,["classes","className","component"]);return o.createElement(s.a.Provider,{value:c},o.createElement(d,Object(r.a)({className:Object(a.a)(n.root,u),ref:t,role:d===l?null:"rowgroup"},p)))}));t.a=Object(u.a)({root:{display:"table-row-group"}},{name:"MuiTableBody"})(f)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(6),s=n(16),c=n(7),l=n(152),f=o.forwardRef((function(e,t){var n=e.classes,u=e.className,s=e.color,f=void 0===s?"secondary":s,d=e.edge,p=void 0!==d&&d,h=e.size,m=void 0===h?"medium":h,v=Object(i.a)(e,["classes","className","color","edge","size"]),b=o.createElement("span",{className:n.thumb});return o.createElement("span",{className:Object(a.a)(n.root,u,{start:n.edgeStart,end:n.edgeEnd}[p],"small"===m&&n["size".concat(Object(c.a)(m))])},o.createElement(l.a,Object(r.a)({type:"checkbox",icon:b,checkedIcon:b,classes:{root:Object(a.a)(n.switchBase,n["color".concat(Object(c.a)(f))]),input:n.input,checked:n.checked,disabled:n.disabled},ref:t},v)),o.createElement("span",{className:n.track}))}));t.a=Object(u.a)((function(e){return{root:{display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},edgeStart:{marginLeft:-8},edgeEnd:{marginRight:-8},switchBase:{position:"absolute",top:0,left:0,zIndex:1,color:"light"===e.palette.type?e.palette.grey[50]:e.palette.grey[400],transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),"&$checked":{transform:"translateX(20px)"},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{opacity:.5},"&$disabled + $track":{opacity:"light"===e.palette.type?.12:.1}},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:Object(s.a)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{backgroundColor:e.palette.primary.main},"&$disabled + $track":{backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:Object(s.a)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{backgroundColor:e.palette.secondary.main},"&$disabled + $track":{backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white}},sizeSmall:{width:40,height:24,padding:7,"& $thumb":{width:16,height:16},"& $switchBase":{padding:4,"&$checked":{transform:"translateX(16px)"}}},checked:{},disabled:{},input:{left:"-100%",width:"300%"},thumb:{boxShadow:e.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"},track:{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white,opacity:"light"===e.palette.type?.38:.3}}}),{name:"MuiSwitch"})(f)},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(3),a=n.n(o);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=Object(r.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,a=void 0===o?24:o,c=s(e,["color","size"]);return i.a.createElement("svg",u({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),i.a.createElement("polyline",{points:"3 6 5 6 21 6"}),i.a.createElement("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}))}));c.propTypes={color:a.a.string,size:a.a.oneOfType([a.a.string,a.a.number])},c.displayName="Trash",t.a=c},function(e,t,n){"use strict";var r=n(2),i=n(0),o=n.n(i),a=(n(3),n(132)),u=n(182),s=n(134);t.a=function(e){var t=e.children,n=e.theme,i=Object(u.a)(),c=o.a.useMemo((function(){var e=null===i?n:function(e,t){return"function"===typeof t?t(e):Object(r.a)({},e,t)}(i,n);return null!=e&&(e[s.a]=null!==i),e}),[n,i]);return o.a.createElement(a.a.Provider,{value:c},t)}},function(e,t,n){"use strict";var r=n(50),i=n(2),o=(n(3),n(54));function a(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function u(e){var t=function(t){var n=e(t);return t.css?Object(i.a)({},Object(o.a)(n,e(Object(i.a)({theme:t.theme},t.css))),a(t.css,[e.filterProps])):t.sx?Object(i.a)({},Object(o.a)(n,e(Object(i.a)({theme:t.theme},t.sx))),a(t.sx,[e.filterProps])):n};return t.propTypes={},t.filterProps=["css","sx"].concat(Object(r.a)(e.filterProps)),t}var s=u;var c=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=function(e){return t.reduce((function(t,n){var r=n(e);return r?Object(o.a)(t,r):t}),{})};return r.propTypes={},r.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),r},l=n(10),f=n(135);function d(e,t){return t&&"string"===typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}var p=function(e){var t=e.prop,n=e.cssProperty,r=void 0===n?e.prop:n,i=e.themeKey,o=e.transform,a=function(e){if(null==e[t])return null;var n=e[t],a=d(e.theme,i)||{};return Object(f.a)(e,n,(function(e){var t;return"function"===typeof a?t=a(e):Array.isArray(a)?t=a[e]||e:(t=d(a,e)||e,o&&(t=o(t))),!1===r?t:Object(l.a)({},r,t)}))};return a.propTypes={},a.filterProps=[t],a};function h(e){return"number"!==typeof e?e:"".concat(e,"px solid")}var m=c(p({prop:"border",themeKey:"borders",transform:h}),p({prop:"borderTop",themeKey:"borders",transform:h}),p({prop:"borderRight",themeKey:"borders",transform:h}),p({prop:"borderBottom",themeKey:"borders",transform:h}),p({prop:"borderLeft",themeKey:"borders",transform:h}),p({prop:"borderColor",themeKey:"palette"}),p({prop:"borderRadius",themeKey:"shape"})),v=c(p({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),p({prop:"display"}),p({prop:"overflow"}),p({prop:"textOverflow"}),p({prop:"visibility"}),p({prop:"whiteSpace"})),b=c(p({prop:"flexBasis"}),p({prop:"flexDirection"}),p({prop:"flexWrap"}),p({prop:"justifyContent"}),p({prop:"alignItems"}),p({prop:"alignContent"}),p({prop:"order"}),p({prop:"flex"}),p({prop:"flexGrow"}),p({prop:"flexShrink"}),p({prop:"alignSelf"}),p({prop:"justifyItems"}),p({prop:"justifySelf"})),y=c(p({prop:"gridGap"}),p({prop:"gridColumnGap"}),p({prop:"gridRowGap"}),p({prop:"gridColumn"}),p({prop:"gridRow"}),p({prop:"gridAutoFlow"}),p({prop:"gridAutoColumns"}),p({prop:"gridAutoRows"}),p({prop:"gridTemplateColumns"}),p({prop:"gridTemplateRows"}),p({prop:"gridTemplateAreas"}),p({prop:"gridArea"})),g=c(p({prop:"position"}),p({prop:"zIndex",themeKey:"zIndex"}),p({prop:"top"}),p({prop:"right"}),p({prop:"bottom"}),p({prop:"left"})),w=c(p({prop:"color",themeKey:"palette"}),p({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),O=p({prop:"boxShadow",themeKey:"shadows"});function x(e){return e<=1?"".concat(100*e,"%"):e}var S=p({prop:"width",transform:x}),k=p({prop:"maxWidth",transform:x}),E=p({prop:"minWidth",transform:x}),j=p({prop:"height",transform:x}),_=p({prop:"maxHeight",transform:x}),T=p({prop:"minHeight",transform:x}),C=(p({prop:"size",cssProperty:"width",transform:x}),p({prop:"size",cssProperty:"height",transform:x}),c(S,k,E,j,_,T,p({prop:"boxSizing"}))),P=n(435),R=c(p({prop:"fontFamily",themeKey:"typography"}),p({prop:"fontSize",themeKey:"typography"}),p({prop:"fontStyle",themeKey:"typography"}),p({prop:"fontWeight",themeKey:"typography"}),p({prop:"letterSpacing"}),p({prop:"lineHeight"}),p({prop:"textAlign"})),A=n(4),M=n(0),D=n.n(M),N=n(5),F=n(33),I=n.n(F),L=n(371);function z(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}var W=n(62),U=function(e){var t=function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.name,a=Object(A.a)(r,["name"]),u=o,s="function"===typeof t?function(e){return{root:function(n){return t(Object(i.a)({theme:e},n))}}}:{root:t},c=Object(L.a)(s,Object(i.a)({Component:e,name:o||e.displayName,classNamePrefix:u},a));t.filterProps&&(n=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var l=D.a.forwardRef((function(t,r){var o=t.children,a=t.className,u=t.clone,s=t.component,l=Object(A.a)(t,["children","className","clone","component"]),f=c(t),d=Object(N.a)(f.root,a),p=l;if(n&&(p=z(p,n)),u)return D.a.cloneElement(o,Object(i.a)({className:Object(N.a)(o.props.className,d)},p));if("function"===typeof o)return o(Object(i.a)({className:d},p));var h=s||e;return D.a.createElement(h,Object(i.a)({ref:r,className:d},p),o)}));return I()(l,e),l}}(e);return function(e,n){return t(e,Object(i.a)({defaultTheme:W.a},n))}},B=s(c(m,v,b,y,g,w,O,C,P.b,R)),V=U("div")(B,{name:"MuiBox"});t.a=V},function(e,t,n){"use strict";var r=n(4),i=n(2),o=n(0),a=(n(3),n(5)),u=n(16),s=n(6),c=n(122),l=n(48),f=Object(l.a)(o.createElement("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),d=Object(l.a)(o.createElement("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),p=Object(l.a)(o.createElement("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),h=Object(l.a)(o.createElement("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),m=Object(l.a)(o.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),v=n(357),b=n(7),y={success:o.createElement(f,{fontSize:"inherit"}),warning:o.createElement(d,{fontSize:"inherit"}),error:o.createElement(p,{fontSize:"inherit"}),info:o.createElement(h,{fontSize:"inherit"})},g=o.createElement(m,{fontSize:"small"}),w=o.forwardRef((function(e,t){var n=e.action,u=e.children,s=e.classes,l=e.className,f=e.closeText,d=void 0===f?"Close":f,p=e.color,h=e.icon,m=e.iconMapping,w=void 0===m?y:m,O=e.onClose,x=e.role,S=void 0===x?"alert":x,k=e.severity,E=void 0===k?"success":k,j=e.variant,_=void 0===j?"standard":j,T=Object(r.a)(e,["action","children","classes","className","closeText","color","icon","iconMapping","onClose","role","severity","variant"]);return o.createElement(c.a,Object(i.a)({role:S,square:!0,elevation:0,className:Object(a.a)(s.root,s["".concat(_).concat(Object(b.a)(p||E))],l),ref:t},T),!1!==h?o.createElement("div",{className:s.icon},h||w[E]||y[E]):null,o.createElement("div",{className:s.message},u),null!=n?o.createElement("div",{className:s.action},n):null,null==n&&O?o.createElement("div",{className:s.action},o.createElement(v.a,{size:"small","aria-label":d,title:d,color:"inherit",onClick:O},g)):null)}));t.a=Object(s.a)((function(e){var t="light"===e.palette.type?u.b:u.e,n="light"===e.palette.type?u.e:u.b;return{root:Object(i.a)({},e.typography.body2,{borderRadius:e.shape.borderRadius,backgroundColor:"transparent",display:"flex",padding:"6px 16px"}),standardSuccess:{color:t(e.palette.success.main,.6),backgroundColor:n(e.palette.success.main,.9),"& $icon":{color:e.palette.success.main}},standardInfo:{color:t(e.palette.info.main,.6),backgroundColor:n(e.palette.info.main,.9),"& $icon":{color:e.palette.info.main}},standardWarning:{color:t(e.palette.warning.main,.6),backgroundColor:n(e.palette.warning.main,.9),"& $icon":{color:e.palette.warning.main}},standardError:{color:t(e.palette.error.main,.6),backgroundColor:n(e.palette.error.main,.9),"& $icon":{color:e.palette.error.main}},outlinedSuccess:{color:t(e.palette.success.main,.6),border:"1px solid ".concat(e.palette.success.main),"& $icon":{color:e.palette.success.main}},outlinedInfo:{color:t(e.palette.info.main,.6),border:"1px solid ".concat(e.palette.info.main),"& $icon":{color:e.palette.info.main}},outlinedWarning:{color:t(e.palette.warning.main,.6),border:"1px solid ".concat(e.palette.warning.main),"& $icon":{color:e.palette.warning.main}},outlinedError:{color:t(e.palette.error.main,.6),border:"1px solid ".concat(e.palette.error.main),"& $icon":{color:e.palette.error.main}},filledSuccess:{color:"#fff",fontWeight:e.typography.fontWeightMedium,backgroundColor:e.palette.success.main},filledInfo:{color:"#fff",fontWeight:e.typography.fontWeightMedium,backgroundColor:e.palette.info.main},filledWarning:{color:"#fff",fontWeight:e.typography.fontWeightMedium,backgroundColor:e.palette.warning.main},filledError:{color:"#fff",fontWeight:e.typography.fontWeightMedium,backgroundColor:e.palette.error.main},icon:{marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9},message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}}}),{name:"MuiAlert"})(w)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(152),s=n(48),c=Object(s.a)(o.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),l=Object(s.a)(o.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),f=n(16),d=Object(s.a)(o.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox"),p=n(7),h=n(6),m=o.createElement(l,null),v=o.createElement(c,null),b=o.createElement(d,null),y=o.forwardRef((function(e,t){var n=e.checkedIcon,s=void 0===n?m:n,c=e.classes,l=e.color,f=void 0===l?"secondary":l,d=e.icon,h=void 0===d?v:d,y=e.indeterminate,g=void 0!==y&&y,w=e.indeterminateIcon,O=void 0===w?b:w,x=e.inputProps,S=e.size,k=void 0===S?"medium":S,E=Object(i.a)(e,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon","inputProps","size"]),j=g?O:h,_=g?O:s;return o.createElement(u.a,Object(r.a)({type:"checkbox",classes:{root:Object(a.a)(c.root,c["color".concat(Object(p.a)(f))],g&&c.indeterminate),checked:c.checked,disabled:c.disabled},color:f,inputProps:Object(r.a)({"data-indeterminate":g},x),icon:o.cloneElement(j,{fontSize:void 0===j.props.fontSize&&"small"===k?k:j.props.fontSize}),checkedIcon:o.cloneElement(_,{fontSize:void 0===_.props.fontSize&&"small"===k?k:_.props.fontSize}),ref:t},E))}));t.a=Object(h.a)((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},indeterminate:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:Object(f.a)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:Object(f.a)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiCheckbox"})(y)},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=n(3),u=n.n(a),s=n(388),c=n(28);function l(e){var t=e.children,n=e.only,r=e.width,i=Object(c.a)(),o=!0;if(n)if(Array.isArray(n))for(var a=0;a<n.length;a+=1){if(r===n[a]){o=!1;break}}else n&&r===n&&(o=!1);if(o)for(var u=0;u<i.breakpoints.keys.length;u+=1){var l=i.breakpoints.keys[u],f=e["".concat(l,"Up")],d=e["".concat(l,"Down")];if(f&&Object(s.c)(l,r)||d&&Object(s.b)(l,r)){o=!1;break}}return o?t:null}l.propTypes={children:u.a.node,className:u.a.string,implementation:u.a.oneOf(["js","css"]),initialWidth:u.a.oneOf(["xs","sm","md","lg","xl"]),lgDown:u.a.bool,lgUp:u.a.bool,mdDown:u.a.bool,mdUp:u.a.bool,only:u.a.oneOfType([u.a.oneOf(["xs","sm","md","lg","xl"]),u.a.arrayOf(u.a.oneOf(["xs","sm","md","lg","xl"]))]),smDown:u.a.bool,smUp:u.a.bool,width:u.a.string.isRequired,xlDown:u.a.bool,xlUp:u.a.bool,xsDown:u.a.bool,xsUp:u.a.bool};var f=Object(s.a)()(l),d=n(10),p=n(7),h=n(6);var m=Object(h.a)((function(e){var t={display:"none"};return e.breakpoints.keys.reduce((function(n,r){return n["only".concat(Object(p.a)(r))]=Object(d.a)({},e.breakpoints.only(r),t),n["".concat(r,"Up")]=Object(d.a)({},e.breakpoints.up(r),t),n["".concat(r,"Down")]=Object(d.a)({},e.breakpoints.down(r),t),n}),{})}),{name:"PrivateHiddenCss"})((function(e){var t=e.children,n=e.classes,r=e.className,a=e.only,u=(Object(i.a)(e,["children","classes","className","only"]),Object(c.a)()),s=[];r&&s.push(r);for(var l=0;l<u.breakpoints.keys.length;l+=1){var f=u.breakpoints.keys[l],d=e["".concat(f,"Up")],h=e["".concat(f,"Down")];d&&s.push(n["".concat(f,"Up")]),h&&s.push(n["".concat(f,"Down")])}return a&&(Array.isArray(a)?a:[a]).forEach((function(e){s.push(n["only".concat(Object(p.a)(e))])})),o.createElement("div",{className:s.join(" ")},t)}));t.a=function(e){var t=e.implementation,n=void 0===t?"js":t,a=e.lgDown,u=void 0!==a&&a,s=e.lgUp,c=void 0!==s&&s,l=e.mdDown,d=void 0!==l&&l,p=e.mdUp,h=void 0!==p&&p,v=e.smDown,b=void 0!==v&&v,y=e.smUp,g=void 0!==y&&y,w=e.xlDown,O=void 0!==w&&w,x=e.xlUp,S=void 0!==x&&x,k=e.xsDown,E=void 0!==k&&k,j=e.xsUp,_=void 0!==j&&j,T=Object(i.a)(e,["implementation","lgDown","lgUp","mdDown","mdUp","smDown","smUp","xlDown","xlUp","xsDown","xsUp"]);return"js"===n?o.createElement(f,Object(r.a)({lgDown:u,lgUp:c,mdDown:d,mdUp:h,smDown:b,smUp:g,xlDown:O,xlUp:S,xsDown:E,xsUp:_},T)):o.createElement(m,Object(r.a)({lgDown:u,lgUp:c,mdDown:d,mdUp:h,smDown:b,smUp:g,xlDown:O,xlUp:S,xsDown:E,xsUp:_},T))}},function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(3),n(5)),u=n(6),s=n(48),c=Object(s.a)(o.createElement("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var l=o.forwardRef((function(e,t){var n=e.alt,u=e.children,s=e.classes,l=e.className,f=e.component,d=void 0===f?"div":f,p=e.imgProps,h=e.sizes,m=e.src,v=e.srcSet,b=e.variant,y=void 0===b?"circular":b,g=Object(i.a)(e,["alt","children","classes","className","component","imgProps","sizes","src","srcSet","variant"]),w=null,O=function(e){var t=e.src,n=e.srcSet,r=o.useState(!1),i=r[0],a=r[1];return o.useEffect((function(){if(t||n){a(!1);var e=!0,r=new Image;return r.src=t,r.srcSet=n,r.onload=function(){e&&a("loaded")},r.onerror=function(){e&&a("error")},function(){e=!1}}}),[t,n]),i}({src:m,srcSet:v}),x=m||v,S=x&&"error"!==O;return w=S?o.createElement("img",Object(r.a)({alt:n,src:m,srcSet:v,sizes:h,className:s.img},p)):null!=u?u:x&&n?n[0]:o.createElement(c,{className:s.fallback}),o.createElement(d,Object(r.a)({className:Object(a.a)(s.root,s.system,s[y],l,!S&&s.colorDefault),ref:t},g),w)}));t.a=Object(u.a)((function(e){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:e.palette.background.default,backgroundColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},circle:{},circular:{},rounded:{borderRadius:e.shape.borderRadius},square:{borderRadius:0},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4},fallback:{width:"75%",height:"75%"}}}),{name:"MuiAvatar"})(l)},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(51),i=n(135),o=n(54);var a={m:"margin",p:"padding"},u={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!s[e])return[e];e=s[e]}var t=e.split(""),n=Object(r.a)(t,2),i=n[0],o=n[1],c=a[i],l=u[o]||"";return Array.isArray(l)?l.map((function(e){return c+e})):[c+l]})),l=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function f(e){var t=e.spacing||8;return"number"===typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"===typeof t?t:function(){}}function d(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function p(e){var t=f(e.theme);return Object.keys(e).map((function(n){if(-1===l.indexOf(n))return null;var r=d(c(n),t),o=e[n];return Object(i.a)(e,o,r)})).reduce(o.a,{})}p.propTypes={},p.filterProps=l;t.b=p}]]); //# sourceMappingURL=2.2e3fc15f.chunk.js.map
module.exports = { type: 'session', fields: [ { key: 'email', label: 'Email Address', type: 'string' }, { key: 'password', label: 'Password', type: 'password' } ], sessionConfig: { perform: (z, bundle) => { // Exchange email and password for an API access token return z.request({ method: 'POST', url: 'https://api.10centuries.org/auth/login', body: { acctname: bundle.authData.email, acctpass: bundle.authData.password, client_guid: process.env.CLIENT_GUID } }).then((response) => { if (response.status !== 200) throw new Error('The credentials you supplied are not valid.'); const json = JSON.parse(response.content); return { token: json.data.token }; }) } }, test: (z, bundle) => { return z.request({ method: 'GET', url: 'https://api.10centuries.org/users/me' }).then((response) => { if (response.status !== 200) throw new Error('Authorization failed!'); return true; }); } };
/** * Created by elly on 2017/4/10. */ import React, {Component, PropTypes} from 'react'; import { Tooltip, Button, Table, Col } from '../../../src'; import Panel from './panel'; import {basic, trigger, api} from "../constants/tooltip"; export default class Main extends Component { constructor(props) { super(props); } render() { let style = {marginLeft: 10}; return ( <div className="content"> <h1>Tooltip 工具提示</h1> <Panel title="basic" code={basic} > <Tooltip title="tooltip"> <Button type="primary" style={style}>left</Button> </Tooltip> <Tooltip title="tooltip" placement="right"> <Button type="primary" style={style}>right</Button> </Tooltip> <Tooltip title="tooltip" placement="top"> <Button type="primary" style={style}>top</Button> </Tooltip> <Tooltip title="tooltip" placement="bottom"> <Button type="primary" style={style}>bottom</Button> </Tooltip> </Panel> <Panel title="trigger" code={trigger} > <Tooltip title="tooltip" trigger="click"> <Button type="secondary" style={style}>trigger by click</Button> </Tooltip> <Tooltip title="tooltip" trigger="click" hideTrigger="click"> <Button type="secondary" style={style}>hide trigger by click</Button> </Tooltip> </Panel> <h1>API</h1> <Table isKey="property" data={api} lineWrap="break"> <Col dataField="property">Property</Col> <Col dataField="description">Description</Col> <Col dataField="type">Type</Col> <Col dataField="default">Default</Col> </Table> </div> ) } }
// modules are defined as an array // [ module function, map of requires ] // // map of requires is short require name -> numeric require // // anything defined in a previous bundle is accessed via the // orig method which is the require for previous bundles parcelRequire = (function (modules, cache, entry, globalName) { // Save the require from previous bundle to this closure if any var previousRequire = typeof parcelRequire === 'function' && parcelRequire; var nodeRequire = typeof require === 'function' && require; function newRequire(name, jumped) { if (!cache[name]) { if (!modules[name]) { // if we cannot find the module within our internal map or // cache jump to the current global require ie. the last bundle // that was added to the page. var currentRequire = typeof parcelRequire === 'function' && parcelRequire; if (!jumped && currentRequire) { return currentRequire(name, true); } // If there are other bundles on this page the require from the // previous one is saved to 'previousRequire'. Repeat this as // many times as there are bundles until the module is found or // we exhaust the require chain. if (previousRequire) { return previousRequire(name, true); } // Try the node require function if it exists. if (nodeRequire && typeof name === 'string') { return nodeRequire(name); } var err = new Error('Cannot find module \'' + name + '\''); err.code = 'MODULE_NOT_FOUND'; throw err; } localRequire.resolve = resolve; localRequire.cache = {}; var module = cache[name] = new newRequire.Module(name); modules[name][0].call(module.exports, localRequire, module, module.exports, this); } return cache[name].exports; function localRequire(x){ return newRequire(localRequire.resolve(x)); } function resolve(x){ return modules[name][1][x] || x; } } function Module(moduleName) { this.id = moduleName; this.bundle = newRequire; this.exports = {}; } newRequire.isParcelRequire = true; newRequire.Module = Module; newRequire.modules = modules; newRequire.cache = cache; newRequire.parent = previousRequire; newRequire.register = function (id, exports) { modules[id] = [function (require, module) { module.exports = exports; }, {}]; }; var error; for (var i = 0; i < entry.length; i++) { try { newRequire(entry[i]); } catch (e) { // Save first error but execute all entries if (!error) { error = e; } } } if (entry.length) { // Expose entry point to Node, AMD or browser globals // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js var mainExports = newRequire(entry[entry.length - 1]); // CommonJS if (typeof exports === "object" && typeof module !== "undefined") { module.exports = mainExports; // RequireJS } else if (typeof define === "function" && define.amd) { define(function () { return mainExports; }); // <script> } else if (globalName) { this[globalName] = mainExports; } } // Override the current require with this new one parcelRequire = newRequire; if (error) { // throw error from earlier, _after updating parcelRequire_ throw error; } return newRequire; })({"../node_modules/gsap/gsap-core.js":[function(require,module,exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._getCache = exports._getSetter = exports._missingPlugin = exports._round = exports._roundModifier = exports._config = exports._ticker = exports._plugins = exports._checkPlugin = exports._replaceRandom = exports._colorStringFilter = exports._sortPropTweensByPriority = exports._forEachName = exports._removeLinkedListItem = exports._setDefaults = exports._relExp = exports._renderComplexString = exports._isUndefined = exports._isString = exports._numWithUnitExp = exports._numExp = exports._getProperty = exports.shuffle = exports.interpolate = exports.unitize = exports.pipe = exports.mapRange = exports.toArray = exports.splitColor = exports.clamp = exports.getUnit = exports.normalize = exports.snap = exports.random = exports.distribute = exports.wrapYoyo = exports.wrap = exports.Circ = exports.Expo = exports.Sine = exports.Bounce = exports.SteppedEase = exports.Back = exports.Elastic = exports.Strong = exports.Quint = exports.Quart = exports.Cubic = exports.Quad = exports.Linear = exports.Power4 = exports.Power3 = exports.Power2 = exports.Power1 = exports.Power0 = exports.default = exports.gsap = exports.PropTween = exports.TweenLite = exports.TweenMax = exports.Tween = exports.TimelineLite = exports.TimelineMax = exports.Timeline = exports.Animation = exports.GSCache = void 0; function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; } /*! * GSAP 3.3.3 * https://greensock.com * * @license Copyright 2008-2020, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */ /* eslint-disable */ var _config = { autoSleep: 120, force3D: "auto", nullTargetWarn: 1, units: { lineHeight: "" } }, _defaults = { duration: .5, overwrite: false, delay: 0 }, _bigNum = 1e8, _tinyNum = 1 / _bigNum, _2PI = Math.PI * 2, _HALF_PI = _2PI / 4, _gsID = 0, _sqrt = Math.sqrt, _cos = Math.cos, _sin = Math.sin, _isString = function _isString(value) { return typeof value === "string"; }, _isFunction = function _isFunction(value) { return typeof value === "function"; }, _isNumber = function _isNumber(value) { return typeof value === "number"; }, _isUndefined = function _isUndefined(value) { return typeof value === "undefined"; }, _isObject = function _isObject(value) { return typeof value === "object"; }, _isNotFalse = function _isNotFalse(value) { return value !== false; }, _windowExists = function _windowExists() { return typeof window !== "undefined"; }, _isFuncOrString = function _isFuncOrString(value) { return _isFunction(value) || _isString(value); }, _isArray = Array.isArray, _strictNumExp = /(?:-?\.?\d|\.)+/gi, //only numbers (including negatives and decimals) but NOT relative values. _numExp = /[-+=.]*\d+[.e\-+]*\d*[e\-\+]*\d*/g, //finds any numbers, including ones that start with += or -=, negative numbers, and ones in scientific notation like 1e-8. _numWithUnitExp = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, _complexStringNumExp = /[-+=.]*\d+(?:\.|e-|e)*\d*/gi, //duplicate so that while we're looping through matches from exec(), it doesn't contaminate the lastIndex of _numExp which we use to search for colors too. _parenthesesExp = /\(([^()]+)\)/i, //finds the string between parentheses. _relExp = /[+-]=-?[\.\d]+/, _delimitedValueExp = /[#\-+.]*\b[a-z\d-=+%.]+/gi, _globalTimeline, _win, _coreInitted, _doc, _globals = {}, _installScope = {}, _coreReady, _install = function _install(scope) { return (_installScope = _merge(scope, _globals)) && gsap; }, _missingPlugin = function _missingPlugin(property, value) { return console.warn("Invalid property", property, "set to", value, "Missing plugin? gsap.registerPlugin()"); }, _warn = function _warn(message, suppress) { return !suppress && console.warn(message); }, _addGlobal = function _addGlobal(name, obj) { return name && (_globals[name] = obj) && _installScope && (_installScope[name] = obj) || _globals; }, _emptyFunc = function _emptyFunc() { return 0; }, _reservedProps = {}, _lazyTweens = [], _lazyLookup = {}, _lastRenderedFrame, _plugins = {}, _effects = {}, _nextGCFrame = 30, _harnessPlugins = [], _callbackNames = "", _harness = function _harness(targets) { var target = targets[0], harnessPlugin, i; if (!_isObject(target) && !_isFunction(target)) { targets = [targets]; } if (!(harnessPlugin = (target._gsap || {}).harness)) { i = _harnessPlugins.length; while (i-- && !_harnessPlugins[i].targetTest(target)) {} harnessPlugin = _harnessPlugins[i]; } i = targets.length; while (i--) { targets[i] && (targets[i]._gsap || (targets[i]._gsap = new GSCache(targets[i], harnessPlugin))) || targets.splice(i, 1); } return targets; }, _getCache = function _getCache(target) { return target._gsap || _harness(toArray(target))[0]._gsap; }, _getProperty = function _getProperty(target, property) { var currentValue = target[property]; return _isFunction(currentValue) ? target[property]() : _isUndefined(currentValue) && target.getAttribute(property) || currentValue; }, _forEachName = function _forEachName(names, func) { return (names = names.split(",")).forEach(func) || names; }, //split a comma-delimited list of names into an array, then run a forEach() function and return the split array (this is just a way to consolidate/shorten some code). _round = function _round(value) { return Math.round(value * 100000) / 100000 || 0; }, _arrayContainsAny = function _arrayContainsAny(toSearch, toFind) { //searches one array to find matches for any of the items in the toFind array. As soon as one is found, it returns true. It does NOT return all the matches; it's simply a boolean search. var l = toFind.length, i = 0; for (; toSearch.indexOf(toFind[i]) < 0 && ++i < l;) {} return i < l; }, _parseVars = function _parseVars(params, type, parent) { //reads the arguments passed to one of the key methods and figures out if the user is defining things with the OLD/legacy syntax where the duration is the 2nd parameter, and then it adjusts things accordingly and spits back the corrected vars object (with the duration added if necessary, as well as runBackwards or startAt or immediateRender). type 0 = to()/staggerTo(), 1 = from()/staggerFrom(), 2 = fromTo()/staggerFromTo() var isLegacy = _isNumber(params[1]), varsIndex = (isLegacy ? 2 : 1) + (type < 2 ? 0 : 1), vars = params[varsIndex], irVars; if (isLegacy) { vars.duration = params[1]; } vars.parent = parent; if (type) { irVars = vars; while (parent && !("immediateRender" in irVars)) { // inheritance hasn't happened yet, but someone may have set a default in an ancestor timeline. We could do vars.immediateRender = _isNotFalse(_inheritDefaults(vars).immediateRender) but that'd exact a slight performance penalty because _inheritDefaults() also runs in the Tween constructor. We're paying a small kb price here to gain speed. irVars = parent.vars.defaults || {}; parent = _isNotFalse(parent.vars.inherit) && parent.parent; } vars.immediateRender = _isNotFalse(irVars.immediateRender); if (type < 2) { vars.runBackwards = 1; } else { vars.startAt = params[varsIndex - 1]; // "from" vars } } return vars; }, _lazyRender = function _lazyRender() { var l = _lazyTweens.length, a = _lazyTweens.slice(0), i, tween; _lazyLookup = {}; _lazyTweens.length = 0; for (i = 0; i < l; i++) { tween = a[i]; tween && tween._lazy && (tween.render(tween._lazy[0], tween._lazy[1], true)._lazy = 0); } }, _lazySafeRender = function _lazySafeRender(animation, time, suppressEvents, force) { _lazyTweens.length && _lazyRender(); animation.render(time, suppressEvents, force); _lazyTweens.length && _lazyRender(); //in case rendering caused any tweens to lazy-init, we should render them because typically when someone calls seek() or time() or progress(), they expect an immediate render. }, _numericIfPossible = function _numericIfPossible(value) { var n = parseFloat(value); return (n || n === 0) && (value + "").match(_delimitedValueExp).length < 2 ? n : value; }, _passThrough = function _passThrough(p) { return p; }, _setDefaults = function _setDefaults(obj, defaults) { for (var p in defaults) { if (!(p in obj)) { obj[p] = defaults[p]; } } return obj; }, _setKeyframeDefaults = function _setKeyframeDefaults(obj, defaults) { for (var p in defaults) { if (!(p in obj) && p !== "duration" && p !== "ease") { obj[p] = defaults[p]; } } }, _merge = function _merge(base, toMerge) { for (var p in toMerge) { base[p] = toMerge[p]; } return base; }, _mergeDeep = function _mergeDeep(base, toMerge) { for (var p in toMerge) { base[p] = _isObject(toMerge[p]) ? _mergeDeep(base[p] || (base[p] = {}), toMerge[p]) : toMerge[p]; } return base; }, _copyExcluding = function _copyExcluding(obj, excluding) { var copy = {}, p; for (p in obj) { p in excluding || (copy[p] = obj[p]); } return copy; }, _inheritDefaults = function _inheritDefaults(vars) { var parent = vars.parent || _globalTimeline, func = vars.keyframes ? _setKeyframeDefaults : _setDefaults; if (_isNotFalse(vars.inherit)) { while (parent) { func(vars, parent.vars.defaults); parent = parent.parent || parent._dp; } } return vars; }, _arraysMatch = function _arraysMatch(a1, a2) { var i = a1.length, match = i === a2.length; while (match && i-- && a1[i] === a2[i]) {} return i < 0; }, _addLinkedListItem = function _addLinkedListItem(parent, child, firstProp, lastProp, sortBy) { if (firstProp === void 0) { firstProp = "_first"; } if (lastProp === void 0) { lastProp = "_last"; } var prev = parent[lastProp], t; if (sortBy) { t = child[sortBy]; while (prev && prev[sortBy] > t) { prev = prev._prev; } } if (prev) { child._next = prev._next; prev._next = child; } else { child._next = parent[firstProp]; parent[firstProp] = child; } if (child._next) { child._next._prev = child; } else { parent[lastProp] = child; } child._prev = prev; child.parent = child._dp = parent; return child; }, _removeLinkedListItem = function _removeLinkedListItem(parent, child, firstProp, lastProp) { if (firstProp === void 0) { firstProp = "_first"; } if (lastProp === void 0) { lastProp = "_last"; } var prev = child._prev, next = child._next; if (prev) { prev._next = next; } else if (parent[firstProp] === child) { parent[firstProp] = next; } if (next) { next._prev = prev; } else if (parent[lastProp] === child) { parent[lastProp] = prev; } child._next = child._prev = child.parent = null; // don't delete the _dp just so we can revert if necessary. But parent should be null to indicate the item isn't in a linked list. }, _removeFromParent = function _removeFromParent(child, onlyIfParentHasAutoRemove) { if (child.parent && (!onlyIfParentHasAutoRemove || child.parent.autoRemoveChildren)) { child.parent.remove(child); } child._act = 0; }, _uncache = function _uncache(animation) { var a = animation; while (a) { a._dirty = 1; a = a.parent; } return animation; }, _recacheAncestors = function _recacheAncestors(animation) { var parent = animation.parent; while (parent && parent.parent) { //sometimes we must force a re-sort of all children and update the duration/totalDuration of all ancestor timelines immediately in case, for example, in the middle of a render loop, one tween alters another tween's timeScale which shoves its startTime before 0, forcing the parent timeline to shift around and shiftChildren() which could affect that next tween's render (startTime). Doesn't matter for the root timeline though. parent._dirty = 1; parent.totalDuration(); parent = parent.parent; } return animation; }, _hasNoPausedAncestors = function _hasNoPausedAncestors(animation) { return !animation || animation._ts && _hasNoPausedAncestors(animation.parent); }, _elapsedCycleDuration = function _elapsedCycleDuration(animation) { return animation._repeat ? _animationCycle(animation._tTime, animation = animation.duration() + animation._rDelay) * animation : 0; }, // feed in the totalTime and cycleDuration and it'll return the cycle (iteration minus 1) and if the playhead is exactly at the very END, it will NOT bump up to the next cycle. _animationCycle = function _animationCycle(tTime, cycleDuration) { return (tTime /= cycleDuration) && ~~tTime === tTime ? ~~tTime - 1 : ~~tTime; }, _parentToChildTotalTime = function _parentToChildTotalTime(parentTime, child) { return (parentTime - child._start) * child._ts + (child._ts >= 0 ? 0 : child._dirty ? child.totalDuration() : child._tDur); }, _setEnd = function _setEnd(animation) { return animation._end = _round(animation._start + (animation._tDur / Math.abs(animation._ts || animation._rts || _tinyNum) || 0)); }, /* _totalTimeToTime = (clampedTotalTime, duration, repeat, repeatDelay, yoyo) => { let cycleDuration = duration + repeatDelay, time = _round(clampedTotalTime % cycleDuration); if (time > duration) { time = duration; } return (yoyo && (~~(clampedTotalTime / cycleDuration) & 1)) ? duration - time : time; }, */ _postAddChecks = function _postAddChecks(timeline, child) { var t; if (child._time || child._initted && !child._dur) { //in case, for example, the _start is moved on a tween that has already rendered. Imagine it's at its end state, then the startTime is moved WAY later (after the end of this timeline), it should render at its beginning. t = _parentToChildTotalTime(timeline.rawTime(), child); if (!child._dur || _clamp(0, child.totalDuration(), t) - child._tTime > _tinyNum) { child.render(t, true); } } //if the timeline has already ended but the inserted tween/timeline extends the duration, we should enable this timeline again so that it renders properly. We should also align the playhead with the parent timeline's when appropriate. if (_uncache(timeline)._dp && timeline._initted && timeline._time >= timeline._dur && timeline._ts) { //in case any of the ancestors had completed but should now be enabled... if (timeline._dur < timeline.duration()) { t = timeline; while (t._dp) { t.rawTime() >= 0 && t.totalTime(t._tTime); //moves the timeline (shifts its startTime) if necessary, and also enables it. If it's currently zero, though, it may not be scheduled to render until later so there's no need to force it to align with the current playhead position. Only move to catch up with the playhead. t = t._dp; } } timeline._zTime = -_tinyNum; // helps ensure that the next render() will be forced (crossingStart = true in render()), even if the duration hasn't changed (we're adding a child which would need to get rendered). Definitely an edge case. Note: we MUST do this AFTER the loop above where the totalTime() might trigger a render() because this _addToTimeline() method gets called from the Animation constructor, BEFORE tweens even record their targets, etc. so we wouldn't want things to get triggered in the wrong order. } }, _addToTimeline = function _addToTimeline(timeline, child, position, skipChecks) { child.parent && _removeFromParent(child); child._start = _round(position + child._delay); child._end = _round(child._start + (child.totalDuration() / Math.abs(child.timeScale()) || 0)); _addLinkedListItem(timeline, child, "_first", "_last", timeline._sort ? "_start" : 0); timeline._recent = child; skipChecks || _postAddChecks(timeline, child); return timeline; }, _scrollTrigger = function _scrollTrigger(animation, trigger) { return (_globals.ScrollTrigger || _missingPlugin("scrollTrigger", trigger)) && _globals.ScrollTrigger.create(trigger, animation); }, _attemptInitTween = function _attemptInitTween(tween, totalTime, force, suppressEvents) { _initTween(tween, totalTime); if (!tween._initted) { return 1; } if (!force && tween._pt && (tween._dur && tween.vars.lazy !== false || !tween._dur && tween.vars.lazy) && _lastRenderedFrame !== _ticker.frame) { _lazyTweens.push(tween); tween._lazy = [totalTime, suppressEvents]; return 1; } }, _renderZeroDurationTween = function _renderZeroDurationTween(tween, totalTime, suppressEvents, force) { var prevRatio = tween.ratio, ratio = totalTime < 0 || !totalTime && prevRatio && !tween._start && tween._zTime > _tinyNum && !tween._dp._lock || tween._ts < 0 || tween._dp._ts < 0 ? 0 : 1, // check parent's _lock because when a timeline repeats/yoyos and does its artificial wrapping, we shouldn't force the ratio back to 0. Also, if the tween or its parent is reversed and the totalTime is 0, we should go to a ratio of 0. repeatDelay = tween._rDelay, tTime = 0, pt, iteration, prevIteration; if (repeatDelay && tween._repeat) { // in case there's a zero-duration tween that has a repeat with a repeatDelay tTime = _clamp(0, tween._tDur, totalTime); iteration = _animationCycle(tTime, repeatDelay); prevIteration = _animationCycle(tween._tTime, repeatDelay); if (iteration !== prevIteration) { prevRatio = 1 - ratio; tween.vars.repeatRefresh && tween._initted && tween.invalidate(); } } if (!tween._initted && _attemptInitTween(tween, totalTime, force, suppressEvents)) { // if we render the very beginning (time == 0) of a fromTo(), we must force the render (normal tweens wouldn't need to render at a time of 0 when the prevTime was also 0). This is also mandatory to make sure overwriting kicks in immediately. return; } if (ratio !== prevRatio || force || tween._zTime === _tinyNum || !totalTime && tween._zTime) { prevIteration = tween._zTime; tween._zTime = totalTime || (suppressEvents ? _tinyNum : 0); // when the playhead arrives at EXACTLY time 0 (right on top) of a zero-duration tween, we need to discern if events are suppressed so that when the playhead moves again (next time), it'll trigger the callback. If events are NOT suppressed, obviously the callback would be triggered in this render. Basically, the callback should fire either when the playhead ARRIVES or LEAVES this exact spot, not both. Imagine doing a timeline.seek(0) and there's a callback that sits at 0. Since events are suppressed on that seek() by default, nothing will fire, but when the playhead moves off of that position, the callback should fire. This behavior is what people intuitively expect. suppressEvents || (suppressEvents = totalTime && !prevIteration); // if it was rendered previously at exactly 0 (_zTime) and now the playhead is moving away, DON'T fire callbacks otherwise they'll seem like duplicates. tween.ratio = ratio; tween._from && (ratio = 1 - ratio); tween._time = 0; tween._tTime = tTime; suppressEvents || _callback(tween, "onStart"); pt = tween._pt; while (pt) { pt.r(ratio, pt.d); pt = pt._next; } tween._startAt && totalTime < 0 && tween._startAt.render(totalTime, true, true); tween._onUpdate && !suppressEvents && _callback(tween, "onUpdate"); tTime && tween._repeat && !suppressEvents && tween.parent && _callback(tween, "onRepeat"); if ((totalTime >= tween._tDur || totalTime < 0) && tween.ratio === ratio) { ratio && _removeFromParent(tween, 1); if (!suppressEvents) { _callback(tween, ratio ? "onComplete" : "onReverseComplete", true); tween._prom && tween._prom(); } } } else if (!tween._zTime) { tween._zTime = totalTime; } }, _findNextPauseTween = function _findNextPauseTween(animation, prevTime, time) { var child; if (time > prevTime) { child = animation._first; while (child && child._start <= time) { if (!child._dur && child.data === "isPause" && child._start > prevTime) { return child; } child = child._next; } } else { child = animation._last; while (child && child._start >= time) { if (!child._dur && child.data === "isPause" && child._start < prevTime) { return child; } child = child._prev; } } }, _setDuration = function _setDuration(animation, duration, skipUncache) { var repeat = animation._repeat, dur = _round(duration) || 0; animation._dur = dur; animation._tDur = !repeat ? dur : repeat < 0 ? 1e10 : _round(dur * (repeat + 1) + animation._rDelay * repeat); if (animation._time > dur) { animation._time = dur; animation._tTime = Math.min(animation._tTime, animation._tDur); } !skipUncache && _uncache(animation.parent); animation.parent && _setEnd(animation); return animation; }, _onUpdateTotalDuration = function _onUpdateTotalDuration(animation) { return animation instanceof Timeline ? _uncache(animation) : _setDuration(animation, animation._dur); }, _zeroPosition = { _start: 0, endTime: _emptyFunc }, _parsePosition = function _parsePosition(animation, position) { var labels = animation.labels, recent = animation._recent || _zeroPosition, clippedDuration = animation.duration() >= _bigNum ? recent.endTime(false) : animation._dur, //in case there's a child that infinitely repeats, users almost never intend for the insertion point of a new child to be based on a SUPER long value like that so we clip it and assume the most recently-added child's endTime should be used instead. i, offset; if (_isString(position) && (isNaN(position) || position in labels)) { //if the string is a number like "1", check to see if there's a label with that name, otherwise interpret it as a number (absolute value). i = position.charAt(0); if (i === "<" || i === ">") { return (i === "<" ? recent._start : recent.endTime(recent._repeat >= 0)) + (parseFloat(position.substr(1)) || 0); } i = position.indexOf("="); if (i < 0) { position in labels || (labels[position] = clippedDuration); return labels[position]; } offset = +(position.charAt(i - 1) + position.substr(i + 1)); return i > 1 ? _parsePosition(animation, position.substr(0, i - 1)) + offset : clippedDuration + offset; } return position == null ? clippedDuration : +position; }, _conditionalReturn = function _conditionalReturn(value, func) { return value || value === 0 ? func(value) : func; }, _clamp = function _clamp(min, max, value) { return value < min ? min : value > max ? max : value; }, getUnit = function getUnit(value) { return (value + "").substr((parseFloat(value) + "").length); }, clamp = function clamp(min, max, value) { return _conditionalReturn(value, function (v) { return _clamp(min, max, v); }); }, _slice = [].slice, _isArrayLike = function _isArrayLike(value, nonEmpty) { return value && _isObject(value) && "length" in value && (!nonEmpty && !value.length || value.length - 1 in value && _isObject(value[0])) && !value.nodeType && value !== _win; }, _flatten = function _flatten(ar, leaveStrings, accumulator) { if (accumulator === void 0) { accumulator = []; } return ar.forEach(function (value) { var _accumulator; return _isString(value) && !leaveStrings || _isArrayLike(value, 1) ? (_accumulator = accumulator).push.apply(_accumulator, toArray(value)) : accumulator.push(value); }) || accumulator; }, //takes any value and returns an array. If it's a string (and leaveStrings isn't true), it'll use document.querySelectorAll() and convert that to an array. It'll also accept iterables like jQuery objects. toArray = function toArray(value, leaveStrings) { return _isString(value) && !leaveStrings && (_coreInitted || !_wake()) ? _slice.call(_doc.querySelectorAll(value), 0) : _isArray(value) ? _flatten(value, leaveStrings) : _isArrayLike(value) ? _slice.call(value, 0) : value ? [value] : []; }, shuffle = function shuffle(a) { return a.sort(function () { return .5 - Math.random(); }); }, // alternative that's a bit faster and more reliably diverse but bigger: for (let j, v, i = a.length; i; j = Math.floor(Math.random() * i), v = a[--i], a[i] = a[j], a[j] = v); return a; //for distributing values across an array. Can accept a number, a function or (most commonly) a function which can contain the following properties: {base, amount, from, ease, grid, axis, length, each}. Returns a function that expects the following parameters: index, target, array. Recognizes the following distribute = function distribute(v) { if (_isFunction(v)) { return v; } var vars = _isObject(v) ? v : { each: v }, //n:1 is just to indicate v was a number; we leverage that later to set v according to the length we get. If a number is passed in, we treat it like the old stagger value where 0.1, for example, would mean that things would be distributed with 0.1 between each element in the array rather than a total "amount" that's chunked out among them all. ease = _parseEase(vars.ease), from = vars.from || 0, base = parseFloat(vars.base) || 0, cache = {}, isDecimal = from > 0 && from < 1, ratios = isNaN(from) || isDecimal, axis = vars.axis, ratioX = from, ratioY = from; if (_isString(from)) { ratioX = ratioY = { center: .5, edges: .5, end: 1 }[from] || 0; } else if (!isDecimal && ratios) { ratioX = from[0]; ratioY = from[1]; } return function (i, target, a) { var l = (a || vars).length, distances = cache[l], originX, originY, x, y, d, j, max, min, wrapAt; if (!distances) { wrapAt = vars.grid === "auto" ? 0 : (vars.grid || [1, _bigNum])[1]; if (!wrapAt) { max = -_bigNum; while (max < (max = a[wrapAt++].getBoundingClientRect().left) && wrapAt < l) {} wrapAt--; } distances = cache[l] = []; originX = ratios ? Math.min(wrapAt, l) * ratioX - .5 : from % wrapAt; originY = ratios ? l * ratioY / wrapAt - .5 : from / wrapAt | 0; max = 0; min = _bigNum; for (j = 0; j < l; j++) { x = j % wrapAt - originX; y = originY - (j / wrapAt | 0); distances[j] = d = !axis ? _sqrt(x * x + y * y) : Math.abs(axis === "y" ? y : x); d > max && (max = d); d < min && (min = d); } from === "random" && shuffle(distances); distances.max = max - min; distances.min = min; distances.v = l = (parseFloat(vars.amount) || parseFloat(vars.each) * (wrapAt > l ? l - 1 : !axis ? Math.max(wrapAt, l / wrapAt) : axis === "y" ? l / wrapAt : wrapAt) || 0) * (from === "edges" ? -1 : 1); distances.b = l < 0 ? base - l : base; distances.u = getUnit(vars.amount || vars.each) || 0; //unit ease = ease && l < 0 ? _invertEase(ease) : ease; } l = (distances[i] - distances.min) / distances.max || 0; return _round(distances.b + (ease ? ease(l) : l) * distances.v) + distances.u; //round in order to work around floating point errors }; }, _roundModifier = function _roundModifier(v) { //pass in 0.1 get a function that'll round to the nearest tenth, or 5 to round to the closest 5, or 0.001 to the closest 1000th, etc. var p = v < 1 ? Math.pow(10, (v + "").length - 2) : 1; //to avoid floating point math errors (like 24 * 0.1 == 2.4000000000000004), we chop off at a specific number of decimal places (much faster than toFixed() return function (raw) { return Math.floor(Math.round(parseFloat(raw) / v) * v * p) / p + (_isNumber(raw) ? 0 : getUnit(raw)); }; }, snap = function snap(snapTo, value) { var isArray = _isArray(snapTo), radius, is2D; if (!isArray && _isObject(snapTo)) { radius = isArray = snapTo.radius || _bigNum; if (snapTo.values) { snapTo = toArray(snapTo.values); if (is2D = !_isNumber(snapTo[0])) { radius *= radius; //performance optimization so we don't have to Math.sqrt() in the loop. } } else { snapTo = _roundModifier(snapTo.increment); } } return _conditionalReturn(value, !isArray ? _roundModifier(snapTo) : _isFunction(snapTo) ? function (raw) { is2D = snapTo(raw); return Math.abs(is2D - raw) <= radius ? is2D : raw; } : function (raw) { var x = parseFloat(is2D ? raw.x : raw), y = parseFloat(is2D ? raw.y : 0), min = _bigNum, closest = 0, i = snapTo.length, dx, dy; while (i--) { if (is2D) { dx = snapTo[i].x - x; dy = snapTo[i].y - y; dx = dx * dx + dy * dy; } else { dx = Math.abs(snapTo[i] - x); } if (dx < min) { min = dx; closest = i; } } closest = !radius || min <= radius ? snapTo[closest] : raw; return is2D || closest === raw || _isNumber(raw) ? closest : closest + getUnit(raw); }); }, random = function random(min, max, roundingIncrement, returnFunction) { return _conditionalReturn(_isArray(min) ? !max : roundingIncrement === true ? !!(roundingIncrement = 0) : !returnFunction, function () { return _isArray(min) ? min[~~(Math.random() * min.length)] : (roundingIncrement = roundingIncrement || 1e-5) && (returnFunction = roundingIncrement < 1 ? Math.pow(10, (roundingIncrement + "").length - 2) : 1) && Math.floor(Math.round((min + Math.random() * (max - min)) / roundingIncrement) * roundingIncrement * returnFunction) / returnFunction; }); }, pipe = function pipe() { for (var _len = arguments.length, functions = new Array(_len), _key = 0; _key < _len; _key++) { functions[_key] = arguments[_key]; } return function (value) { return functions.reduce(function (v, f) { return f(v); }, value); }; }, unitize = function unitize(func, unit) { return function (value) { return func(parseFloat(value)) + (unit || getUnit(value)); }; }, normalize = function normalize(min, max, value) { return mapRange(min, max, 0, 1, value); }, _wrapArray = function _wrapArray(a, wrapper, value) { return _conditionalReturn(value, function (index) { return a[~~wrapper(index)]; }); }, wrap = function wrap(min, max, value) { // NOTE: wrap() CANNOT be an arrow function! A very odd compiling bug causes problems (unrelated to GSAP). var range = max - min; return _isArray(min) ? _wrapArray(min, wrap(0, min.length), max) : _conditionalReturn(value, function (value) { return (range + (value - min) % range) % range + min; }); }, wrapYoyo = function wrapYoyo(min, max, value) { var range = max - min, total = range * 2; return _isArray(min) ? _wrapArray(min, wrapYoyo(0, min.length - 1), max) : _conditionalReturn(value, function (value) { value = (total + (value - min) % total) % total || 0; return min + (value > range ? total - value : value); }); }, _replaceRandom = function _replaceRandom(value) { //replaces all occurrences of random(...) in a string with the calculated random value. can be a range like random(-100, 100, 5) or an array like random([0, 100, 500]) var prev = 0, s = "", i, nums, end, isArray; while (~(i = value.indexOf("random(", prev))) { end = value.indexOf(")", i); isArray = value.charAt(i + 7) === "["; nums = value.substr(i + 7, end - i - 7).match(isArray ? _delimitedValueExp : _strictNumExp); s += value.substr(prev, i - prev) + random(isArray ? nums : +nums[0], +nums[1], +nums[2] || 1e-5); prev = end + 1; } return s + value.substr(prev, value.length - prev); }, mapRange = function mapRange(inMin, inMax, outMin, outMax, value) { var inRange = inMax - inMin, outRange = outMax - outMin; return _conditionalReturn(value, function (value) { return outMin + ((value - inMin) / inRange * outRange || 0); }); }, interpolate = function interpolate(start, end, progress, mutate) { var func = isNaN(start + end) ? 0 : function (p) { return (1 - p) * start + p * end; }; if (!func) { var isString = _isString(start), master = {}, p, i, interpolators, l, il; progress === true && (mutate = 1) && (progress = null); if (isString) { start = { p: start }; end = { p: end }; } else if (_isArray(start) && !_isArray(end)) { interpolators = []; l = start.length; il = l - 2; for (i = 1; i < l; i++) { interpolators.push(interpolate(start[i - 1], start[i])); //build the interpolators up front as a performance optimization so that when the function is called many times, it can just reuse them. } l--; func = function func(p) { p *= l; var i = Math.min(il, ~~p); return interpolators[i](p - i); }; progress = end; } else if (!mutate) { start = _merge(_isArray(start) ? [] : {}, start); } if (!interpolators) { for (p in end) { _addPropTween.call(master, start, p, "get", end[p]); } func = function func(p) { return _renderPropTweens(p, master) || (isString ? start.p : start); }; } } return _conditionalReturn(progress, func); }, _getLabelInDirection = function _getLabelInDirection(timeline, fromTime, backward) { //used for nextLabel() and previousLabel() var labels = timeline.labels, min = _bigNum, p, distance, label; for (p in labels) { distance = labels[p] - fromTime; if (distance < 0 === !!backward && distance && min > (distance = Math.abs(distance))) { label = p; min = distance; } } return label; }, _callback = function _callback(animation, type, executeLazyFirst) { var v = animation.vars, callback = v[type], params, scope; if (!callback) { return; } params = v[type + "Params"]; scope = v.callbackScope || animation; executeLazyFirst && _lazyTweens.length && _lazyRender(); //in case rendering caused any tweens to lazy-init, we should render them because typically when a timeline finishes, users expect things to have rendered fully. Imagine an onUpdate on a timeline that reports/checks tweened values. return params ? callback.apply(scope, params) : callback.call(scope); }, _interrupt = function _interrupt(animation) { _removeFromParent(animation); if (animation.progress() < 1) { _callback(animation, "onInterrupt"); } return animation; }, _quickTween, _createPlugin = function _createPlugin(config) { config = !config.name && config["default"] || config; //UMD packaging wraps things oddly, so for example MotionPathHelper becomes {MotionPathHelper:MotionPathHelper, default:MotionPathHelper}. var name = config.name, isFunc = _isFunction(config), Plugin = name && !isFunc && config.init ? function () { this._props = []; } : config, //in case someone passes in an object that's not a plugin, like CustomEase instanceDefaults = { init: _emptyFunc, render: _renderPropTweens, add: _addPropTween, kill: _killPropTweensOf, modifier: _addPluginModifier, rawVars: 0 }, statics = { targetTest: 0, get: 0, getSetter: _getSetter, aliases: {}, register: 0 }; _wake(); if (config !== Plugin) { if (_plugins[name]) { return; } _setDefaults(Plugin, _setDefaults(_copyExcluding(config, instanceDefaults), statics)); //static methods _merge(Plugin.prototype, _merge(instanceDefaults, _copyExcluding(config, statics))); //instance methods _plugins[Plugin.prop = name] = Plugin; if (config.targetTest) { _harnessPlugins.push(Plugin); _reservedProps[name] = 1; } name = (name === "css" ? "CSS" : name.charAt(0).toUpperCase() + name.substr(1)) + "Plugin"; //for the global name. "motionPath" should become MotionPathPlugin } _addGlobal(name, Plugin); if (config.register) { config.register(gsap, Plugin, PropTween); } }, /* * -------------------------------------------------------------------------------------- * COLORS * -------------------------------------------------------------------------------------- */ _255 = 255, _colorLookup = { aqua: [0, _255, _255], lime: [0, _255, 0], silver: [192, 192, 192], black: [0, 0, 0], maroon: [128, 0, 0], teal: [0, 128, 128], blue: [0, 0, _255], navy: [0, 0, 128], white: [_255, _255, _255], olive: [128, 128, 0], yellow: [_255, _255, 0], orange: [_255, 165, 0], gray: [128, 128, 128], purple: [128, 0, 128], green: [0, 128, 0], red: [_255, 0, 0], pink: [_255, 192, 203], cyan: [0, _255, _255], transparent: [_255, _255, _255, 0] }, _hue = function _hue(h, m1, m2) { h = h < 0 ? h + 1 : h > 1 ? h - 1 : h; return (h * 6 < 1 ? m1 + (m2 - m1) * h * 6 : h < .5 ? m2 : h * 3 < 2 ? m1 + (m2 - m1) * (2 / 3 - h) * 6 : m1) * _255 + .5 | 0; }, splitColor = function splitColor(v, toHSL, forceAlpha) { var a = !v ? _colorLookup.black : _isNumber(v) ? [v >> 16, v >> 8 & _255, v & _255] : 0, r, g, b, h, s, l, max, min, d, wasHSL; if (!a) { if (v.substr(-1) === ",") { //sometimes a trailing comma is included and we should chop it off (typically from a comma-delimited list of values like a textShadow:"2px 2px 2px blue, 5px 5px 5px rgb(255,0,0)" - in this example "blue," has a trailing comma. We could strip it out inside parseComplex() but we'd need to do it to the beginning and ending values plus it wouldn't provide protection from other potential scenarios like if the user passes in a similar value. v = v.substr(0, v.length - 1); } if (_colorLookup[v]) { a = _colorLookup[v]; } else if (v.charAt(0) === "#") { if (v.length === 4) { //for shorthand like #9F0 r = v.charAt(1); g = v.charAt(2); b = v.charAt(3); v = "#" + r + r + g + g + b + b; } v = parseInt(v.substr(1), 16); a = [v >> 16, v >> 8 & _255, v & _255]; } else if (v.substr(0, 3) === "hsl") { a = wasHSL = v.match(_strictNumExp); if (!toHSL) { h = +a[0] % 360 / 360; s = +a[1] / 100; l = +a[2] / 100; g = l <= .5 ? l * (s + 1) : l + s - l * s; r = l * 2 - g; if (a.length > 3) { a[3] *= 1; //cast as number } a[0] = _hue(h + 1 / 3, r, g); a[1] = _hue(h, r, g); a[2] = _hue(h - 1 / 3, r, g); } else if (~v.indexOf("=")) { //if relative values are found, just return the raw strings with the relative prefixes in place. a = v.match(_numExp); forceAlpha && a.length < 4 && (a[3] = 1); return a; } } else { a = v.match(_strictNumExp) || _colorLookup.transparent; } a = a.map(Number); } if (toHSL && !wasHSL) { r = a[0] / _255; g = a[1] / _255; b = a[2] / _255; max = Math.max(r, g, b); min = Math.min(r, g, b); l = (max + min) / 2; if (max === min) { h = s = 0; } else { d = max - min; s = l > 0.5 ? d / (2 - max - min) : d / (max + min); h = max === r ? (g - b) / d + (g < b ? 6 : 0) : max === g ? (b - r) / d + 2 : (r - g) / d + 4; h *= 60; } a[0] = ~~(h + .5); a[1] = ~~(s * 100 + .5); a[2] = ~~(l * 100 + .5); } forceAlpha && a.length < 4 && (a[3] = 1); return a; }, _colorOrderData = function _colorOrderData(v) { // strips out the colors from the string, finds all the numeric slots (with units) and returns an array of those. The Array also has a "c" property which is an Array of the index values where the colors belong. This is to help work around issues where there's a mis-matched order of color/numeric data like drop-shadow(#f00 0px 1px 2px) and drop-shadow(0x 1px 2px #f00). This is basically a helper function used in _formatColors() var values = [], c = [], i = -1; v.split(_colorExp).forEach(function (v) { var a = v.match(_numWithUnitExp) || []; values.push.apply(values, a); c.push(i += a.length + 1); }); values.c = c; return values; }, _formatColors = function _formatColors(s, toHSL, orderMatchData) { var result = "", colors = (s + result).match(_colorExp), type = toHSL ? "hsla(" : "rgba(", i = 0, c, shell, d, l; if (!colors) { return s; } colors = colors.map(function (color) { return (color = splitColor(color, toHSL, 1)) && type + (toHSL ? color[0] + "," + color[1] + "%," + color[2] + "%," + color[3] : color.join(",")) + ")"; }); if (orderMatchData) { d = _colorOrderData(s); c = orderMatchData.c; if (c.join(result) !== d.c.join(result)) { shell = s.replace(_colorExp, "1").split(_numWithUnitExp); l = shell.length - 1; for (; i < l; i++) { result += shell[i] + (~c.indexOf(i) ? colors.shift() || type + "0,0,0,0)" : (d.length ? d : colors.length ? colors : orderMatchData).shift()); } } } if (!shell) { shell = s.split(_colorExp); l = shell.length - 1; for (; i < l; i++) { result += shell[i] + colors[i]; } } return result + shell[l]; }, _colorExp = function () { var s = "(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b", //we'll dynamically build this Regular Expression to conserve file size. After building it, it will be able to find rgb(), rgba(), # (hexadecimal), and named color values like red, blue, purple, etc., p; for (p in _colorLookup) { s += "|" + p + "\\b"; } return new RegExp(s + ")", "gi"); }(), _hslExp = /hsl[a]?\(/, _colorStringFilter = function _colorStringFilter(a) { var combined = a.join(" "), toHSL; _colorExp.lastIndex = 0; if (_colorExp.test(combined)) { toHSL = _hslExp.test(combined); a[1] = _formatColors(a[1], toHSL); a[0] = _formatColors(a[0], toHSL, _colorOrderData(a[1])); // make sure the order of numbers/colors match with the END value. return true; } }, /* * -------------------------------------------------------------------------------------- * TICKER * -------------------------------------------------------------------------------------- */ _tickerActive, _ticker = function () { var _getTime = Date.now, _lagThreshold = 500, _adjustedLag = 33, _startTime = _getTime(), _lastUpdate = _startTime, _gap = 1 / 240, _nextTime = _gap, _listeners = [], _id, _req, _raf, _self, _tick = function _tick(v) { var elapsed = _getTime() - _lastUpdate, manual = v === true, overlap, dispatch; if (elapsed > _lagThreshold) { _startTime += elapsed - _adjustedLag; } _lastUpdate += elapsed; _self.time = (_lastUpdate - _startTime) / 1000; overlap = _self.time - _nextTime; if (overlap > 0 || manual) { _self.frame++; _nextTime += overlap + (overlap >= _gap ? 0.004 : _gap - overlap); dispatch = 1; } manual || (_id = _req(_tick)); //make sure the request is made before we dispatch the "tick" event so that timing is maintained. Otherwise, if processing the "tick" requires a bunch of time (like 15ms) and we're using a setTimeout() that's based on 16.7ms, it'd technically take 31.7ms between frames otherwise. dispatch && _listeners.forEach(function (l) { return l(_self.time, elapsed, _self.frame, v); }); }; _self = { time: 0, frame: 0, tick: function tick() { _tick(true); }, wake: function wake() { if (_coreReady) { if (!_coreInitted && _windowExists()) { _win = _coreInitted = window; _doc = _win.document || {}; _globals.gsap = gsap; (_win.gsapVersions || (_win.gsapVersions = [])).push(gsap.version); _install(_installScope || _win.GreenSockGlobals || !_win.gsap && _win || {}); _raf = _win.requestAnimationFrame; } _id && _self.sleep(); _req = _raf || function (f) { return setTimeout(f, (_nextTime - _self.time) * 1000 + 1 | 0); }; _tickerActive = 1; _tick(2); } }, sleep: function sleep() { (_raf ? _win.cancelAnimationFrame : clearTimeout)(_id); _tickerActive = 0; _req = _emptyFunc; }, lagSmoothing: function lagSmoothing(threshold, adjustedLag) { _lagThreshold = threshold || 1 / _tinyNum; //zero should be interpreted as basically unlimited _adjustedLag = Math.min(adjustedLag, _lagThreshold, 0); }, fps: function fps(_fps) { _gap = 1 / (_fps || 240); _nextTime = _self.time + _gap; }, add: function add(callback) { _listeners.indexOf(callback) < 0 && _listeners.push(callback); _wake(); }, remove: function remove(callback) { var i; ~(i = _listeners.indexOf(callback)) && _listeners.splice(i, 1); }, _listeners: _listeners }; return _self; }(), _wake = function _wake() { return !_tickerActive && _ticker.wake(); }, //also ensures the core classes are initialized. /* * ------------------------------------------------- * EASING * ------------------------------------------------- */ _easeMap = {}, _customEaseExp = /^[\d.\-M][\d.\-,\s]/, _quotesExp = /["']/g, _parseObjectInString = function _parseObjectInString(value) { //takes a string like "{wiggles:10, type:anticipate})" and turns it into a real object. Notice it ends in ")" and includes the {} wrappers. This is because we only use this function for parsing ease configs and prioritized optimization rather than reusability. var obj = {}, split = value.substr(1, value.length - 3).split(":"), key = split[0], i = 1, l = split.length, index, val, parsedVal; for (; i < l; i++) { val = split[i]; index = i !== l - 1 ? val.lastIndexOf(",") : val.length; parsedVal = val.substr(0, index); obj[key] = isNaN(parsedVal) ? parsedVal.replace(_quotesExp, "").trim() : +parsedVal; key = val.substr(index + 1).trim(); } return obj; }, _configEaseFromString = function _configEaseFromString(name) { //name can be a string like "elastic.out(1,0.5)", and pass in _easeMap as obj and it'll parse it out and call the actual function like _easeMap.Elastic.easeOut.config(1,0.5). It will also parse custom ease strings as long as CustomEase is loaded and registered (internally as _easeMap._CE). var split = (name + "").split("("), ease = _easeMap[split[0]]; return ease && split.length > 1 && ease.config ? ease.config.apply(null, ~name.indexOf("{") ? [_parseObjectInString(split[1])] : _parenthesesExp.exec(name)[1].split(",").map(_numericIfPossible)) : _easeMap._CE && _customEaseExp.test(name) ? _easeMap._CE("", name) : ease; }, _invertEase = function _invertEase(ease) { return function (p) { return 1 - ease(1 - p); }; }, // allow yoyoEase to be set in children and have those affected when the parent/ancestor timeline yoyos. _propagateYoyoEase = function _propagateYoyoEase(timeline, isYoyo) { var child = timeline._first, ease; while (child) { if (child instanceof Timeline) { _propagateYoyoEase(child, isYoyo); } else if (child.vars.yoyoEase && (!child._yoyo || !child._repeat) && child._yoyo !== isYoyo) { if (child.timeline) { _propagateYoyoEase(child.timeline, isYoyo); } else { ease = child._ease; child._ease = child._yEase; child._yEase = ease; child._yoyo = isYoyo; } } child = child._next; } }, _parseEase = function _parseEase(ease, defaultEase) { return !ease ? defaultEase : (_isFunction(ease) ? ease : _easeMap[ease] || _configEaseFromString(ease)) || defaultEase; }, _insertEase = function _insertEase(names, easeIn, easeOut, easeInOut) { if (easeOut === void 0) { easeOut = function easeOut(p) { return 1 - easeIn(1 - p); }; } if (easeInOut === void 0) { easeInOut = function easeInOut(p) { return p < .5 ? easeIn(p * 2) / 2 : 1 - easeIn((1 - p) * 2) / 2; }; } var ease = { easeIn: easeIn, easeOut: easeOut, easeInOut: easeInOut }, lowercaseName; _forEachName(names, function (name) { _easeMap[name] = _globals[name] = ease; _easeMap[lowercaseName = name.toLowerCase()] = easeOut; for (var p in ease) { _easeMap[lowercaseName + (p === "easeIn" ? ".in" : p === "easeOut" ? ".out" : ".inOut")] = _easeMap[name + "." + p] = ease[p]; } }); return ease; }, _easeInOutFromOut = function _easeInOutFromOut(easeOut) { return function (p) { return p < .5 ? (1 - easeOut(1 - p * 2)) / 2 : .5 + easeOut((p - .5) * 2) / 2; }; }, _configElastic = function _configElastic(type, amplitude, period) { var p1 = amplitude >= 1 ? amplitude : 1, //note: if amplitude is < 1, we simply adjust the period for a more natural feel. Otherwise the math doesn't work right and the curve starts at 1. p2 = (period || (type ? .3 : .45)) / (amplitude < 1 ? amplitude : 1), p3 = p2 / _2PI * (Math.asin(1 / p1) || 0), easeOut = function easeOut(p) { return p === 1 ? 1 : p1 * Math.pow(2, -10 * p) * _sin((p - p3) * p2) + 1; }, ease = type === "out" ? easeOut : type === "in" ? function (p) { return 1 - easeOut(1 - p); } : _easeInOutFromOut(easeOut); p2 = _2PI / p2; //precalculate to optimize ease.config = function (amplitude, period) { return _configElastic(type, amplitude, period); }; return ease; }, _configBack = function _configBack(type, overshoot) { if (overshoot === void 0) { overshoot = 1.70158; } var easeOut = function easeOut(p) { return p ? --p * p * ((overshoot + 1) * p + overshoot) + 1 : 0; }, ease = type === "out" ? easeOut : type === "in" ? function (p) { return 1 - easeOut(1 - p); } : _easeInOutFromOut(easeOut); ease.config = function (overshoot) { return _configBack(type, overshoot); }; return ease; }; // a cheaper (kb and cpu) but more mild way to get a parameterized weighted ease by feeding in a value between -1 (easeIn) and 1 (easeOut) where 0 is linear. // _weightedEase = ratio => { // let y = 0.5 + ratio / 2; // return p => (2 * (1 - p) * p * y + p * p); // }, // a stronger (but more expensive kb/cpu) parameterized weighted ease that lets you feed in a value between -1 (easeIn) and 1 (easeOut) where 0 is linear. // _weightedEaseStrong = ratio => { // ratio = .5 + ratio / 2; // let o = 1 / 3 * (ratio < .5 ? ratio : 1 - ratio), // b = ratio - o, // c = ratio + o; // return p => p === 1 ? p : 3 * b * (1 - p) * (1 - p) * p + 3 * c * (1 - p) * p * p + p * p * p; // }; exports._ticker = _ticker; exports._colorStringFilter = _colorStringFilter; exports.splitColor = splitColor; exports.interpolate = interpolate; exports.mapRange = mapRange; exports._replaceRandom = _replaceRandom; exports.wrapYoyo = wrapYoyo; exports.wrap = wrap; exports.normalize = normalize; exports.unitize = unitize; exports.pipe = pipe; exports.random = random; exports.snap = snap; exports._roundModifier = _roundModifier; exports.distribute = distribute; exports.shuffle = shuffle; exports.toArray = toArray; exports.clamp = clamp; exports.getUnit = getUnit; exports._removeLinkedListItem = _removeLinkedListItem; exports._setDefaults = _setDefaults; exports._round = _round; exports._forEachName = _forEachName; exports._getProperty = _getProperty; exports._getCache = _getCache; exports._plugins = _plugins; exports._missingPlugin = _missingPlugin; exports._relExp = _relExp; exports._numWithUnitExp = _numWithUnitExp; exports._numExp = _numExp; exports._isUndefined = _isUndefined; exports._isString = _isString; exports._config = _config; _forEachName("Linear,Quad,Cubic,Quart,Quint,Strong", function (name, i) { var power = i < 5 ? i + 1 : i; _insertEase(name + ",Power" + (power - 1), i ? function (p) { return Math.pow(p, power); } : function (p) { return p; }, function (p) { return 1 - Math.pow(1 - p, power); }, function (p) { return p < .5 ? Math.pow(p * 2, power) / 2 : 1 - Math.pow((1 - p) * 2, power) / 2; }); }); _easeMap.Linear.easeNone = _easeMap.none = _easeMap.Linear.easeIn; _insertEase("Elastic", _configElastic("in"), _configElastic("out"), _configElastic()); (function (n, c) { var n1 = 1 / c, n2 = 2 * n1, n3 = 2.5 * n1, easeOut = function easeOut(p) { return p < n1 ? n * p * p : p < n2 ? n * Math.pow(p - 1.5 / c, 2) + .75 : p < n3 ? n * (p -= 2.25 / c) * p + .9375 : n * Math.pow(p - 2.625 / c, 2) + .984375; }; _insertEase("Bounce", function (p) { return 1 - easeOut(1 - p); }, easeOut); })(7.5625, 2.75); _insertEase("Expo", function (p) { return p ? Math.pow(2, 10 * (p - 1)) : 0; }); _insertEase("Circ", function (p) { return -(_sqrt(1 - p * p) - 1); }); _insertEase("Sine", function (p) { return p === 1 ? 1 : -_cos(p * _HALF_PI) + 1; }); _insertEase("Back", _configBack("in"), _configBack("out"), _configBack()); _easeMap.SteppedEase = _easeMap.steps = _globals.SteppedEase = { config: function config(steps, immediateStart) { if (steps === void 0) { steps = 1; } var p1 = 1 / steps, p2 = steps + (immediateStart ? 0 : 1), p3 = immediateStart ? 1 : 0, max = 1 - _tinyNum; return function (p) { return ((p2 * _clamp(0, max, p) | 0) + p3) * p1; }; } }; _defaults.ease = _easeMap["quad.out"]; _forEachName("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt", function (name) { return _callbackNames += name + "," + name + "Params,"; }); /* * -------------------------------------------------------------------------------------- * CACHE * -------------------------------------------------------------------------------------- */ var GSCache = function GSCache(target, harness) { this.id = _gsID++; target._gsap = this; this.target = target; this.harness = harness; this.get = harness ? harness.get : _getProperty; this.set = harness ? harness.getSetter : _getSetter; }; /* * -------------------------------------------------------------------------------------- * ANIMATION * -------------------------------------------------------------------------------------- */ exports.GSCache = GSCache; var Animation = /*#__PURE__*/function () { function Animation(vars, time) { var parent = vars.parent || _globalTimeline; this.vars = vars; this._delay = +vars.delay || 0; if (this._repeat = vars.repeat || 0) { this._rDelay = vars.repeatDelay || 0; this._yoyo = !!vars.yoyo || !!vars.yoyoEase; } this._ts = 1; _setDuration(this, +vars.duration, 1); this.data = vars.data; _tickerActive || _ticker.wake(); parent && _addToTimeline(parent, this, time || time === 0 ? time : parent._time, 1); vars.reversed && this.reverse(); vars.paused && this.paused(true); } var _proto = Animation.prototype; _proto.delay = function delay(value) { if (value || value === 0) { this.parent && this.parent.smoothChildTiming && this.startTime(this._start + value - this._delay); this._delay = value; return this; } return this._delay; }; _proto.duration = function duration(value) { return arguments.length ? this.totalDuration(this._repeat > 0 ? value + (value + this._rDelay) * this._repeat : value) : this.totalDuration() && this._dur; }; _proto.totalDuration = function totalDuration(value) { if (!arguments.length) { return this._tDur; } this._dirty = 0; return _setDuration(this, this._repeat < 0 ? value : (value - this._repeat * this._rDelay) / (this._repeat + 1)); }; _proto.totalTime = function totalTime(_totalTime, suppressEvents) { _wake(); if (!arguments.length) { return this._tTime; } var parent = this.parent || this._dp; if (parent && parent.smoothChildTiming && this._ts) { // if (!parent._dp && parent._time === parent._dur) { // if a root timeline completes...and then a while later one of its children resumes, we must shoot the playhead forward to where it should be raw-wise, otherwise the child will jump to the end. Down side: this assumes it's using the _ticker.time as a reference. // parent._time = _ticker.time - parent._start; // } this._start = _round(parent._time - (this._ts > 0 ? _totalTime / this._ts : ((this._dirty ? this.totalDuration() : this._tDur) - _totalTime) / -this._ts)); _setEnd(this); parent._dirty || _uncache(parent); //for performance improvement. If the parent's cache is already dirty, it already took care of marking the ancestors as dirty too, so skip the function call here. //in case any of the ancestor timelines had completed but should now be enabled, we should reset their totalTime() which will also ensure that they're lined up properly and enabled. Skip for animations that are on the root (wasteful). Example: a TimelineLite.exportRoot() is performed when there's a paused tween on the root, the export will not complete until that tween is unpaused, but imagine a child gets restarted later, after all [unpaused] tweens have completed. The start of that child would get pushed out, but one of the ancestors may have completed. while (parent.parent) { if (parent.parent._time !== parent._start + (parent._ts >= 0 ? parent._tTime / parent._ts : (parent.totalDuration() - parent._tTime) / -parent._ts)) { parent.totalTime(parent._tTime, true); } parent = parent.parent; } if (!this.parent && this._dp.autoRemoveChildren && (this._ts > 0 && _totalTime < this._tDur || this._ts < 0 && _totalTime > 0 || !this._tDur && !_totalTime)) { //if the animation doesn't have a parent, put it back into its last parent (recorded as _dp for exactly cases like this). Limit to parents with autoRemoveChildren (like globalTimeline) so that if the user manually removes an animation from a timeline and then alters its playhead, it doesn't get added back in. _addToTimeline(this._dp, this, this._start - this._delay); } } if (this._tTime !== _totalTime || !this._dur && !suppressEvents || this._initted && Math.abs(this._zTime) === _tinyNum || !_totalTime && !this._initted) { this._ts || (this._pTime = _totalTime); // otherwise, if an animation is paused, then the playhead is moved back to zero, then resumed, it'd revert back to the original time at the pause _lazySafeRender(this, _totalTime, suppressEvents); } return this; }; _proto.time = function time(value, suppressEvents) { return arguments.length ? this.totalTime(Math.min(this.totalDuration(), value + _elapsedCycleDuration(this)) % this._dur || (value ? this._dur : 0), suppressEvents) : this._time; // note: if the modulus results in 0, the playhead could be exactly at the end or the beginning, and we always defer to the END with a non-zero value, otherwise if you set the time() to the very end (duration()), it would render at the START! }; _proto.totalProgress = function totalProgress(value, suppressEvents) { return arguments.length ? this.totalTime(this.totalDuration() * value, suppressEvents) : this.totalDuration() ? Math.min(1, this._tTime / this._tDur) : this.ratio; }; _proto.progress = function progress(value, suppressEvents) { return arguments.length ? this.totalTime(this.duration() * (this._yoyo && !(this.iteration() & 1) ? 1 - value : value) + _elapsedCycleDuration(this), suppressEvents) : this.duration() ? Math.min(1, this._time / this._dur) : this.ratio; }; _proto.iteration = function iteration(value, suppressEvents) { var cycleDuration = this.duration() + this._rDelay; return arguments.length ? this.totalTime(this._time + (value - 1) * cycleDuration, suppressEvents) : this._repeat ? _animationCycle(this._tTime, cycleDuration) + 1 : 1; } // potential future addition: // isPlayingBackwards() { // let animation = this, // orientation = 1; // 1 = forward, -1 = backward // while (animation) { // orientation *= animation.reversed() || (animation.repeat() && !(animation.iteration() & 1)) ? -1 : 1; // animation = animation.parent; // } // return orientation < 0; // } ; _proto.timeScale = function timeScale(value) { if (!arguments.length) { return this._rts === -_tinyNum ? 0 : this._rts; // recorded timeScale. Special case: if someone calls reverse() on an animation with timeScale of 0, we assign it -_tinyNum to remember it's reversed. } if (this._rts === value) { return this; } var tTime = this.parent && this._ts ? _parentToChildTotalTime(this.parent._time, this) : this._tTime; // make sure to do the parentToChildTotalTime() BEFORE setting the new _ts because the old one must be used in that calculation. // prioritize rendering where the parent's playhead lines up instead of this._tTime because there could be a tween that's animating another tween's timeScale in the same rendering loop (same parent), thus if the timeScale tween renders first, it would alter _start BEFORE _tTime was set on that tick (in the rendering loop), effectively freezing it until the timeScale tween finishes. this._rts = +value || 0; this._ts = this._ps || value === -_tinyNum ? 0 : this._rts; // _ts is the functional timeScale which would be 0 if the animation is paused. return _recacheAncestors(this.totalTime(_clamp(0, this._tDur, tTime), true)); }; _proto.paused = function paused(value) { if (!arguments.length) { return this._ps; } if (this._ps !== value) { this._ps = value; if (value) { this._pTime = this._tTime || Math.max(-this._delay, this.rawTime()); // if the pause occurs during the delay phase, make sure that's factored in when resuming. this._ts = this._act = 0; // _ts is the functional timeScale, so a paused tween would effectively have a timeScale of 0. We record the "real" timeScale as _rts (recorded time scale) } else { _wake(); this._ts = this._rts; //only defer to _pTime (pauseTime) if tTime is zero. Remember, someone could pause() an animation, then scrub the playhead and resume(). If the parent doesn't have smoothChildTiming, we render at the rawTime() because the startTime won't get updated. this.totalTime(this.parent && !this.parent.smoothChildTiming ? this.rawTime() : this._tTime || this._pTime, this.progress() === 1 && (this._tTime -= _tinyNum) && Math.abs(this._zTime) !== _tinyNum); // edge case: animation.progress(1).pause().play() wouldn't render again because the playhead is already at the end, but the call to totalTime() below will add it back to its parent...and not remove it again (since removing only happens upon rendering at a new time). Offsetting the _tTime slightly is done simply to cause the final render in totalTime() that'll pop it off its timeline (if autoRemoveChildren is true, of course). Check to make sure _zTime isn't -_tinyNum to avoid an edge case where the playhead is pushed to the end but INSIDE a tween/callback, the timeline itself is paused thus halting rendering and leaving a few unrendered. When resuming, it wouldn't render those otherwise. } } return this; }; _proto.startTime = function startTime(value) { if (arguments.length) { this._start = value; var parent = this.parent || this._dp; parent && (parent._sort || !this.parent) && _addToTimeline(parent, this, value - this._delay); return this; } return this._start; }; _proto.endTime = function endTime(includeRepeats) { return this._start + (_isNotFalse(includeRepeats) ? this.totalDuration() : this.duration()) / Math.abs(this._ts); }; _proto.rawTime = function rawTime(wrapRepeats) { var parent = this.parent || this._dp; // _dp = detatched parent return !parent ? this._tTime : wrapRepeats && (!this._ts || this._repeat && this._time && this.totalProgress() < 1) ? this._tTime % (this._dur + this._rDelay) : !this._ts ? this._tTime : _parentToChildTotalTime(parent.rawTime(wrapRepeats), this); } // globalTime(rawTime) { // let animation = this, // time = arguments.length ? rawTime : animation.rawTime(); // while (animation) { // time = animation._start + time / (animation._ts || 1); // animation = animation.parent; // } // return time; // } ; _proto.repeat = function repeat(value) { if (arguments.length) { this._repeat = value; return _onUpdateTotalDuration(this); } return this._repeat; }; _proto.repeatDelay = function repeatDelay(value) { if (arguments.length) { this._rDelay = value; return _onUpdateTotalDuration(this); } return this._rDelay; }; _proto.yoyo = function yoyo(value) { if (arguments.length) { this._yoyo = value; return this; } return this._yoyo; }; _proto.seek = function seek(position, suppressEvents) { return this.totalTime(_parsePosition(this, position), _isNotFalse(suppressEvents)); }; _proto.restart = function restart(includeDelay, suppressEvents) { return this.play().totalTime(includeDelay ? -this._delay : 0, _isNotFalse(suppressEvents)); }; _proto.play = function play(from, suppressEvents) { if (from != null) { this.seek(from, suppressEvents); } return this.reversed(false).paused(false); }; _proto.reverse = function reverse(from, suppressEvents) { if (from != null) { this.seek(from || this.totalDuration(), suppressEvents); } return this.reversed(true).paused(false); }; _proto.pause = function pause(atTime, suppressEvents) { if (atTime != null) { this.seek(atTime, suppressEvents); } return this.paused(true); }; _proto.resume = function resume() { return this.paused(false); }; _proto.reversed = function reversed(value) { if (arguments.length) { if (!!value !== this.reversed()) { this.timeScale(-this._rts || (value ? -_tinyNum : 0)); // in case timeScale is zero, reversing would have no effect so we use _tinyNum. } return this; } return this._rts < 0; }; _proto.invalidate = function invalidate() { this._initted = 0; this._zTime = -_tinyNum; return this; }; _proto.isActive = function isActive(hasStarted) { var parent = this.parent || this._dp, start = this._start, rawTime; return !!(!parent || this._ts && (this._initted || !hasStarted) && parent.isActive(hasStarted) && (rawTime = parent.rawTime(true)) >= start && rawTime < this.endTime(true) - _tinyNum); }; _proto.eventCallback = function eventCallback(type, callback, params) { var vars = this.vars; if (arguments.length > 1) { if (!callback) { delete vars[type]; } else { vars[type] = callback; if (params) { vars[type + "Params"] = params; } if (type === "onUpdate") { this._onUpdate = callback; } } return this; } return vars[type]; }; _proto.then = function then(onFulfilled) { var self = this; return new Promise(function (resolve) { var f = _isFunction(onFulfilled) ? onFulfilled : _passThrough, _resolve = function _resolve() { var _then = self.then; self.then = null; // temporarily null the then() method to avoid an infinite loop (see https://github.com/greensock/GSAP/issues/322) _isFunction(f) && (f = f(self)) && (f.then || f === self) && (self.then = _then); resolve(f); self.then = _then; }; if (self._initted && self.totalProgress() === 1 && self._ts >= 0 || !self._tTime && self._ts < 0) { _resolve(); } else { self._prom = _resolve; } }); }; _proto.kill = function kill() { _interrupt(this); }; return Animation; }(); exports.Animation = Animation; _setDefaults(Animation.prototype, { _time: 0, _start: 0, _end: 0, _tTime: 0, _tDur: 0, _dirty: 0, _repeat: 0, _yoyo: false, parent: null, _initted: false, _rDelay: 0, _ts: 1, _dp: 0, ratio: 0, _zTime: -_tinyNum, _prom: 0, _ps: false, _rts: 1 }); /* * ------------------------------------------------- * TIMELINE * ------------------------------------------------- */ var Timeline = /*#__PURE__*/function (_Animation) { _inheritsLoose(Timeline, _Animation); function Timeline(vars, time) { var _this; if (vars === void 0) { vars = {}; } _this = _Animation.call(this, vars, time) || this; _this.labels = {}; _this.smoothChildTiming = !!vars.smoothChildTiming; _this.autoRemoveChildren = !!vars.autoRemoveChildren; _this._sort = _isNotFalse(vars.sortChildren); _this.parent && _postAddChecks(_this.parent, _assertThisInitialized(_this)); vars.scrollTrigger && _scrollTrigger(_assertThisInitialized(_this), vars.scrollTrigger); return _this; } var _proto2 = Timeline.prototype; _proto2.to = function to(targets, vars, position) { new Tween(targets, _parseVars(arguments, 0, this), _parsePosition(this, _isNumber(vars) ? arguments[3] : position)); return this; }; _proto2.from = function from(targets, vars, position) { new Tween(targets, _parseVars(arguments, 1, this), _parsePosition(this, _isNumber(vars) ? arguments[3] : position)); return this; }; _proto2.fromTo = function fromTo(targets, fromVars, toVars, position) { new Tween(targets, _parseVars(arguments, 2, this), _parsePosition(this, _isNumber(fromVars) ? arguments[4] : position)); return this; }; _proto2.set = function set(targets, vars, position) { vars.duration = 0; vars.parent = this; _inheritDefaults(vars).repeatDelay || (vars.repeat = 0); vars.immediateRender = !!vars.immediateRender; new Tween(targets, vars, _parsePosition(this, position), 1); return this; }; _proto2.call = function call(callback, params, position) { return _addToTimeline(this, Tween.delayedCall(0, callback, params), _parsePosition(this, position)); } //ONLY for backward compatibility! Maybe delete? ; _proto2.staggerTo = function staggerTo(targets, duration, vars, stagger, position, onCompleteAll, onCompleteAllParams) { vars.duration = duration; vars.stagger = vars.stagger || stagger; vars.onComplete = onCompleteAll; vars.onCompleteParams = onCompleteAllParams; vars.parent = this; new Tween(targets, vars, _parsePosition(this, position)); return this; }; _proto2.staggerFrom = function staggerFrom(targets, duration, vars, stagger, position, onCompleteAll, onCompleteAllParams) { vars.runBackwards = 1; _inheritDefaults(vars).immediateRender = _isNotFalse(vars.immediateRender); return this.staggerTo(targets, duration, vars, stagger, position, onCompleteAll, onCompleteAllParams); }; _proto2.staggerFromTo = function staggerFromTo(targets, duration, fromVars, toVars, stagger, position, onCompleteAll, onCompleteAllParams) { toVars.startAt = fromVars; _inheritDefaults(toVars).immediateRender = _isNotFalse(toVars.immediateRender); return this.staggerTo(targets, duration, toVars, stagger, position, onCompleteAll, onCompleteAllParams); }; _proto2.render = function render(totalTime, suppressEvents, force) { var prevTime = this._time, tDur = this._dirty ? this.totalDuration() : this._tDur, dur = this._dur, tTime = this !== _globalTimeline && totalTime > tDur - _tinyNum && totalTime >= 0 ? tDur : totalTime < _tinyNum ? 0 : totalTime, crossingStart = this._zTime < 0 !== totalTime < 0 && (this._initted || !dur), time, child, next, iteration, cycleDuration, prevPaused, pauseTween, timeScale, prevStart, prevIteration, yoyo, isYoyo; if (tTime !== this._tTime || force || crossingStart) { if (prevTime !== this._time && dur) { //if totalDuration() finds a child with a negative startTime and smoothChildTiming is true, things get shifted around internally so we need to adjust the time accordingly. For example, if a tween starts at -30 we must shift EVERYTHING forward 30 seconds and move this timeline's startTime backward by 30 seconds so that things align with the playhead (no jump). tTime += this._time - prevTime; totalTime += this._time - prevTime; } time = tTime; prevStart = this._start; timeScale = this._ts; prevPaused = !timeScale; if (crossingStart) { dur || (prevTime = this._zTime); //when the playhead arrives at EXACTLY time 0 (right on top) of a zero-duration timeline, we need to discern if events are suppressed so that when the playhead moves again (next time), it'll trigger the callback. If events are NOT suppressed, obviously the callback would be triggered in this render. Basically, the callback should fire either when the playhead ARRIVES or LEAVES this exact spot, not both. Imagine doing a timeline.seek(0) and there's a callback that sits at 0. Since events are suppressed on that seek() by default, nothing will fire, but when the playhead moves off of that position, the callback should fire. This behavior is what people intuitively expect. (totalTime || !suppressEvents) && (this._zTime = totalTime); } if (this._repeat) { //adjust the time for repeats and yoyos yoyo = this._yoyo; cycleDuration = dur + this._rDelay; time = _round(tTime % cycleDuration); //round to avoid floating point errors. (4 % 0.8 should be 0 but some browsers report it as 0.79999999!) if (time > dur || tDur === tTime) { time = dur; } iteration = ~~(tTime / cycleDuration); if (iteration && iteration === tTime / cycleDuration) { time = dur; iteration--; } prevIteration = _animationCycle(this._tTime, cycleDuration); !prevTime && this._tTime && prevIteration !== iteration && (prevIteration = iteration); // edge case - if someone does addPause() at the very beginning of a repeating timeline, that pause is technically at the same spot as the end which causes this._time to get set to 0 when the totalTime would normally place the playhead at the end. See https://greensock.com/forums/topic/23823-closing-nav-animation-not-working-on-ie-and-iphone-6-maybe-other-older-browser/?tab=comments#comment-113005 if (yoyo && iteration & 1) { time = dur - time; isYoyo = 1; } /* make sure children at the end/beginning of the timeline are rendered properly. If, for example, a 3-second long timeline rendered at 2.9 seconds previously, and now renders at 3.2 seconds (which would get translated to 2.8 seconds if the timeline yoyos or 0.2 seconds if it just repeats), there could be a callback or a short tween that's at 2.95 or 3 seconds in which wouldn't render. So we need to push the timeline to the end (and/or beginning depending on its yoyo value). Also we must ensure that zero-duration tweens at the very beginning or end of the Timeline work. */ if (iteration !== prevIteration && !this._lock) { var rewinding = yoyo && prevIteration & 1, doesWrap = rewinding === (yoyo && iteration & 1); if (iteration < prevIteration) { rewinding = !rewinding; } prevTime = rewinding ? 0 : dur; this._lock = 1; this.render(prevTime || (isYoyo ? 0 : _round(iteration * cycleDuration)), suppressEvents, !dur)._lock = 0; if (!suppressEvents && this.parent) { _callback(this, "onRepeat"); } this.vars.repeatRefresh && !isYoyo && (this.invalidate()._lock = 1); if (prevTime !== this._time || prevPaused !== !this._ts) { return this; } if (doesWrap) { this._lock = 2; prevTime = rewinding ? dur + 0.0001 : -0.0001; this.render(prevTime, true); this.vars.repeatRefresh && !isYoyo && this.invalidate(); } this._lock = 0; if (!this._ts && !prevPaused) { return this; } //in order for yoyoEase to work properly when there's a stagger, we must swap out the ease in each sub-tween. _propagateYoyoEase(this, isYoyo); } } if (this._hasPause && !this._forcing && this._lock < 2) { pauseTween = _findNextPauseTween(this, _round(prevTime), _round(time)); if (pauseTween) { tTime -= time - (time = pauseTween._start); } } this._tTime = tTime; this._time = time; this._act = !timeScale; //as long as it's not paused, force it to be active so that if the user renders independent of the parent timeline, it'll be forced to re-render on the next tick. if (!this._initted) { this._onUpdate = this.vars.onUpdate; this._initted = 1; this._zTime = totalTime; } if (!prevTime && time && !suppressEvents) { _callback(this, "onStart"); } if (time >= prevTime && totalTime >= 0) { child = this._first; while (child) { next = child._next; if ((child._act || time >= child._start) && child._ts && pauseTween !== child) { if (child.parent !== this) { // an extreme edge case - the child's render could do something like kill() the "next" one in the linked list, or reparent it. In that case we must re-initiate the whole render to be safe. return this.render(totalTime, suppressEvents, force); } child.render(child._ts > 0 ? (time - child._start) * child._ts : (child._dirty ? child.totalDuration() : child._tDur) + (time - child._start) * child._ts, suppressEvents, force); if (time !== this._time || !this._ts && !prevPaused) { //in case a tween pauses or seeks the timeline when rendering, like inside of an onUpdate/onComplete pauseTween = 0; next && (tTime += this._zTime = -_tinyNum); // it didn't finish rendering, so flag zTime as negative so that so that the next time render() is called it'll be forced (to render any remaining children) break; } } child = next; } } else { child = this._last; var adjustedTime = totalTime < 0 ? totalTime : time; //when the playhead goes backward beyond the start of this timeline, we must pass that information down to the child animations so that zero-duration tweens know whether to render their starting or ending values. while (child) { next = child._prev; if ((child._act || adjustedTime <= child._end) && child._ts && pauseTween !== child) { if (child.parent !== this) { // an extreme edge case - the child's render could do something like kill() the "next" one in the linked list, or reparent it. In that case we must re-initiate the whole render to be safe. return this.render(totalTime, suppressEvents, force); } child.render(child._ts > 0 ? (adjustedTime - child._start) * child._ts : (child._dirty ? child.totalDuration() : child._tDur) + (adjustedTime - child._start) * child._ts, suppressEvents, force); if (time !== this._time || !this._ts && !prevPaused) { //in case a tween pauses or seeks the timeline when rendering, like inside of an onUpdate/onComplete pauseTween = 0; next && (tTime += this._zTime = adjustedTime ? -_tinyNum : _tinyNum); // it didn't finish rendering, so adjust zTime so that so that the next time render() is called it'll be forced (to render any remaining children) break; } } child = next; } } if (pauseTween && !suppressEvents) { this.pause(); pauseTween.render(time >= prevTime ? 0 : -_tinyNum)._zTime = time >= prevTime ? 1 : -1; if (this._ts) { //the callback resumed playback! So since we may have held back the playhead due to where the pause is positioned, go ahead and jump to where it's SUPPOSED to be (if no pause happened). this._start = prevStart; //if the pause was at an earlier time and the user resumed in the callback, it could reposition the timeline (changing its startTime), throwing things off slightly, so we make sure the _start doesn't shift. _setEnd(this); return this.render(totalTime, suppressEvents, force); } } this._onUpdate && !suppressEvents && _callback(this, "onUpdate", true); if (tTime === tDur && tDur >= this.totalDuration() || !tTime && prevTime) if (prevStart === this._start || Math.abs(timeScale) !== Math.abs(this._ts)) if (!this._lock) { (totalTime || !dur) && (tTime === tDur && this._ts > 0 || !tTime && this._ts < 0) && _removeFromParent(this, 1); // don't remove if the timeline is reversed and the playhead isn't at 0, otherwise tl.progress(1).reverse() won't work. Only remove if the playhead is at the end and timeScale is positive, or if the playhead is at 0 and the timeScale is negative. if (!suppressEvents && !(totalTime < 0 && !prevTime) && (tTime || prevTime)) { _callback(this, tTime === tDur ? "onComplete" : "onReverseComplete", true); this._prom && !(tTime < tDur && this.timeScale() > 0) && this._prom(); } } } return this; }; _proto2.add = function add(child, position) { var _this2 = this; if (!_isNumber(position)) { position = _parsePosition(this, position); } if (!(child instanceof Animation)) { if (_isArray(child)) { child.forEach(function (obj) { return _this2.add(obj, position); }); return _uncache(this); } if (_isString(child)) { return this.addLabel(child, position); } if (_isFunction(child)) { child = Tween.delayedCall(0, child); } else { return this; } } return this !== child ? _addToTimeline(this, child, position) : this; //don't allow a timeline to be added to itself as a child! }; _proto2.getChildren = function getChildren(nested, tweens, timelines, ignoreBeforeTime) { if (nested === void 0) { nested = true; } if (tweens === void 0) { tweens = true; } if (timelines === void 0) { timelines = true; } if (ignoreBeforeTime === void 0) { ignoreBeforeTime = -_bigNum; } var a = [], child = this._first; while (child) { if (child._start >= ignoreBeforeTime) { if (child instanceof Tween) { tweens && a.push(child); } else { timelines && a.push(child); nested && a.push.apply(a, child.getChildren(true, tweens, timelines)); } } child = child._next; } return a; }; _proto2.getById = function getById(id) { var animations = this.getChildren(1, 1, 1), i = animations.length; while (i--) { if (animations[i].vars.id === id) { return animations[i]; } } }; _proto2.remove = function remove(child) { if (_isString(child)) { return this.removeLabel(child); } if (_isFunction(child)) { return this.killTweensOf(child); } _removeLinkedListItem(this, child); if (child === this._recent) { this._recent = this._last; } return _uncache(this); }; _proto2.totalTime = function totalTime(_totalTime2, suppressEvents) { if (!arguments.length) { return this._tTime; } this._forcing = 1; if (!this.parent && !this._dp && this._ts) { //special case for the global timeline (or any other that has no parent or detached parent). this._start = _round(_ticker.time - (this._ts > 0 ? _totalTime2 / this._ts : (this.totalDuration() - _totalTime2) / -this._ts)); } _Animation.prototype.totalTime.call(this, _totalTime2, suppressEvents); this._forcing = 0; return this; }; _proto2.addLabel = function addLabel(label, position) { this.labels[label] = _parsePosition(this, position); return this; }; _proto2.removeLabel = function removeLabel(label) { delete this.labels[label]; return this; }; _proto2.addPause = function addPause(position, callback, params) { var t = Tween.delayedCall(0, callback || _emptyFunc, params); t.data = "isPause"; this._hasPause = 1; return _addToTimeline(this, t, _parsePosition(this, position)); }; _proto2.removePause = function removePause(position) { var child = this._first; position = _parsePosition(this, position); while (child) { if (child._start === position && child.data === "isPause") { _removeFromParent(child); } child = child._next; } }; _proto2.killTweensOf = function killTweensOf(targets, props, onlyActive) { var tweens = this.getTweensOf(targets, onlyActive), i = tweens.length; while (i--) { _overwritingTween !== tweens[i] && tweens[i].kill(targets, props); } return this; }; _proto2.getTweensOf = function getTweensOf(targets, onlyActive) { var a = [], parsedTargets = toArray(targets), child = this._first, children; while (child) { if (child instanceof Tween) { if (_arrayContainsAny(child._targets, parsedTargets) && (!onlyActive || child.isActive(onlyActive === "started"))) { a.push(child); } } else if ((children = child.getTweensOf(parsedTargets, onlyActive)).length) { a.push.apply(a, children); } child = child._next; } return a; }; _proto2.tweenTo = function tweenTo(position, vars) { vars = vars || {}; var tl = this, endTime = _parsePosition(tl, position), _vars = vars, startAt = _vars.startAt, _onStart = _vars.onStart, onStartParams = _vars.onStartParams, tween = Tween.to(tl, _setDefaults(vars, { ease: "none", lazy: false, time: endTime, duration: vars.duration || Math.abs((endTime - (startAt && "time" in startAt ? startAt.time : tl._time)) / tl.timeScale()) || _tinyNum, onStart: function onStart() { tl.pause(); var duration = vars.duration || Math.abs((endTime - tl._time) / tl.timeScale()); tween._dur !== duration && _setDuration(tween, duration).render(tween._time, true, true); _onStart && _onStart.apply(tween, onStartParams || []); //in case the user had an onStart in the vars - we don't want to overwrite it. } })); return tween; }; _proto2.tweenFromTo = function tweenFromTo(fromPosition, toPosition, vars) { return this.tweenTo(toPosition, _setDefaults({ startAt: { time: _parsePosition(this, fromPosition) } }, vars)); }; _proto2.recent = function recent() { return this._recent; }; _proto2.nextLabel = function nextLabel(afterTime) { if (afterTime === void 0) { afterTime = this._time; } return _getLabelInDirection(this, _parsePosition(this, afterTime)); }; _proto2.previousLabel = function previousLabel(beforeTime) { if (beforeTime === void 0) { beforeTime = this._time; } return _getLabelInDirection(this, _parsePosition(this, beforeTime), 1); }; _proto2.currentLabel = function currentLabel(value) { return arguments.length ? this.seek(value, true) : this.previousLabel(this._time + _tinyNum); }; _proto2.shiftChildren = function shiftChildren(amount, adjustLabels, ignoreBeforeTime) { if (ignoreBeforeTime === void 0) { ignoreBeforeTime = 0; } var child = this._first, labels = this.labels, p; while (child) { if (child._start >= ignoreBeforeTime) { child._start += amount; } child = child._next; } if (adjustLabels) { for (p in labels) { if (labels[p] >= ignoreBeforeTime) { labels[p] += amount; } } } return _uncache(this); }; _proto2.invalidate = function invalidate() { var child = this._first; this._lock = 0; while (child) { child.invalidate(); child = child._next; } return _Animation.prototype.invalidate.call(this); }; _proto2.clear = function clear(includeLabels) { if (includeLabels === void 0) { includeLabels = true; } var child = this._first, next; while (child) { next = child._next; this.remove(child); child = next; } this._time = this._tTime = this._pTime = 0; if (includeLabels) { this.labels = {}; } return _uncache(this); }; _proto2.totalDuration = function totalDuration(value) { var max = 0, self = this, child = self._last, prevStart = _bigNum, prev, end, start, parent; if (arguments.length) { return self.timeScale((self._repeat < 0 ? self.duration() : self.totalDuration()) / (self.reversed() ? -value : value)); } if (self._dirty) { parent = self.parent; while (child) { prev = child._prev; //record it here in case the tween changes position in the sequence... child._dirty && child.totalDuration(); //could change the tween._startTime, so make sure the animation's cache is clean before analyzing it. start = child._start; if (start > prevStart && self._sort && child._ts && !self._lock) { //in case one of the tweens shifted out of order, it needs to be re-inserted into the correct position in the sequence self._lock = 1; //prevent endless recursive calls - there are methods that get triggered that check duration/totalDuration when we add(). _addToTimeline(self, child, start - child._delay, 1)._lock = 0; } else { prevStart = start; } if (start < 0 && child._ts) { //children aren't allowed to have negative startTimes unless smoothChildTiming is true, so adjust here if one is found. max -= start; if (!parent && !self._dp || parent && parent.smoothChildTiming) { self._start += start / self._ts; self._time -= start; self._tTime -= start; } self.shiftChildren(-start, false, -1e999); prevStart = 0; } end = _setEnd(child); if (end > max && child._ts) { max = end; } child = prev; } _setDuration(self, self === _globalTimeline && self._time > max ? self._time : max, 1); self._dirty = 0; } return self._tDur; }; Timeline.updateRoot = function updateRoot(time) { if (_globalTimeline._ts) { _lazySafeRender(_globalTimeline, _parentToChildTotalTime(time, _globalTimeline)); _lastRenderedFrame = _ticker.frame; } if (_ticker.frame >= _nextGCFrame) { _nextGCFrame += _config.autoSleep || 120; var child = _globalTimeline._first; if (!child || !child._ts) if (_config.autoSleep && _ticker._listeners.length < 2) { while (child && !child._ts) { child = child._next; } child || _ticker.sleep(); } } }; return Timeline; }(Animation); exports.TimelineLite = exports.TimelineMax = exports.Timeline = Timeline; _setDefaults(Timeline.prototype, { _lock: 0, _hasPause: 0, _forcing: 0 }); var _addComplexStringPropTween = function _addComplexStringPropTween(target, prop, start, end, setter, stringFilter, funcParam) { //note: we call _addComplexStringPropTween.call(tweenInstance...) to ensure that it's scoped properly. We may call it from within a plugin too, thus "this" would refer to the plugin. var pt = new PropTween(this._pt, target, prop, 0, 1, _renderComplexString, null, setter), index = 0, matchIndex = 0, result, startNums, color, endNum, chunk, startNum, hasRandom, a; pt.b = start; pt.e = end; start += ""; //ensure values are strings end += ""; if (hasRandom = ~end.indexOf("random(")) { end = _replaceRandom(end); } if (stringFilter) { a = [start, end]; stringFilter(a, target, prop); //pass an array with the starting and ending values and let the filter do whatever it needs to the values. start = a[0]; end = a[1]; } startNums = start.match(_complexStringNumExp) || []; while (result = _complexStringNumExp.exec(end)) { endNum = result[0]; chunk = end.substring(index, result.index); if (color) { color = (color + 1) % 5; } else if (chunk.substr(-5) === "rgba(") { color = 1; } if (endNum !== startNums[matchIndex++]) { startNum = parseFloat(startNums[matchIndex - 1]) || 0; //these nested PropTweens are handled in a special way - we'll never actually call a render or setter method on them. We'll just loop through them in the parent complex string PropTween's render method. pt._pt = { _next: pt._pt, p: chunk || matchIndex === 1 ? chunk : ",", //note: SVG spec allows omission of comma/space when a negative sign is wedged between two numbers, like 2.5-5.3 instead of 2.5,-5.3 but when tweening, the negative value may switch to positive, so we insert the comma just in case. s: startNum, c: endNum.charAt(1) === "=" ? parseFloat(endNum.substr(2)) * (endNum.charAt(0) === "-" ? -1 : 1) : parseFloat(endNum) - startNum, m: color && color < 4 ? Math.round : 0 }; index = _complexStringNumExp.lastIndex; } } pt.c = index < end.length ? end.substring(index, end.length) : ""; //we use the "c" of the PropTween to store the final part of the string (after the last number) pt.fp = funcParam; if (_relExp.test(end) || hasRandom) { pt.e = 0; //if the end string contains relative values or dynamic random(...) values, delete the end it so that on the final render we don't actually set it to the string with += or -= characters (forces it to use the calculated value). } this._pt = pt; //start the linked list with this new PropTween. Remember, we call _addComplexStringPropTween.call(tweenInstance...) to ensure that it's scoped properly. We may call it from within a plugin too, thus "this" would refer to the plugin. return pt; }, _addPropTween = function _addPropTween(target, prop, start, end, index, targets, modifier, stringFilter, funcParam) { _isFunction(end) && (end = end(index || 0, target, targets)); var currentValue = target[prop], parsedStart = start !== "get" ? start : !_isFunction(currentValue) ? currentValue : funcParam ? target[prop.indexOf("set") || !_isFunction(target["get" + prop.substr(3)]) ? prop : "get" + prop.substr(3)](funcParam) : target[prop](), setter = !_isFunction(currentValue) ? _setterPlain : funcParam ? _setterFuncWithParam : _setterFunc, pt; if (_isString(end)) { if (~end.indexOf("random(")) { end = _replaceRandom(end); } if (end.charAt(1) === "=") { end = parseFloat(parsedStart) + parseFloat(end.substr(2)) * (end.charAt(0) === "-" ? -1 : 1) + (getUnit(parsedStart) || 0); } } if (parsedStart !== end) { if (!isNaN(parsedStart + end)) { pt = new PropTween(this._pt, target, prop, +parsedStart || 0, end - (parsedStart || 0), typeof currentValue === "boolean" ? _renderBoolean : _renderPlain, 0, setter); funcParam && (pt.fp = funcParam); modifier && pt.modifier(modifier, this, target); return this._pt = pt; } !currentValue && !(prop in target) && _missingPlugin(prop, end); return _addComplexStringPropTween.call(this, target, prop, parsedStart, end, setter, stringFilter || _config.stringFilter, funcParam); } }, //creates a copy of the vars object and processes any function-based values (putting the resulting values directly into the copy) as well as strings with "random()" in them. It does NOT process relative values. _processVars = function _processVars(vars, index, target, targets, tween) { if (_isFunction(vars)) { vars = _parseFuncOrString(vars, tween, index, target, targets); } if (!_isObject(vars) || vars.style && vars.nodeType || _isArray(vars)) { return _isString(vars) ? _parseFuncOrString(vars, tween, index, target, targets) : vars; } var copy = {}, p; for (p in vars) { copy[p] = _parseFuncOrString(vars[p], tween, index, target, targets); } return copy; }, _checkPlugin = function _checkPlugin(property, vars, tween, index, target, targets) { var plugin, pt, ptLookup, i; if (_plugins[property] && (plugin = new _plugins[property]()).init(target, plugin.rawVars ? vars[property] : _processVars(vars[property], index, target, targets, tween), tween, index, targets) !== false) { tween._pt = pt = new PropTween(tween._pt, target, property, 0, 1, plugin.render, plugin, 0, plugin.priority); if (tween !== _quickTween) { ptLookup = tween._ptLookup[tween._targets.indexOf(target)]; //note: we can't use tween._ptLookup[index] because for staggered tweens, the index from the fullTargets array won't match what it is in each individual tween that spawns from the stagger. i = plugin._props.length; while (i--) { ptLookup[plugin._props[i]] = pt; } } } return plugin; }, _overwritingTween, //store a reference temporarily so we can avoid overwriting itself. _initTween = function _initTween(tween, time) { var vars = tween.vars, ease = vars.ease, startAt = vars.startAt, immediateRender = vars.immediateRender, lazy = vars.lazy, onUpdate = vars.onUpdate, onUpdateParams = vars.onUpdateParams, callbackScope = vars.callbackScope, runBackwards = vars.runBackwards, yoyoEase = vars.yoyoEase, keyframes = vars.keyframes, autoRevert = vars.autoRevert, dur = tween._dur, prevStartAt = tween._startAt, targets = tween._targets, parent = tween.parent, fullTargets = parent && parent.data === "nested" ? parent.parent._targets : targets, autoOverwrite = tween._overwrite === "auto", tl = tween.timeline, cleanVars, i, p, pt, target, hasPriority, gsData, harness, plugin, ptLookup, index, harnessVars; tl && (!keyframes || !ease) && (ease = "none"); tween._ease = _parseEase(ease, _defaults.ease); tween._yEase = yoyoEase ? _invertEase(_parseEase(yoyoEase === true ? ease : yoyoEase, _defaults.ease)) : 0; if (yoyoEase && tween._yoyo && !tween._repeat) { //there must have been a parent timeline with yoyo:true that is currently in its yoyo phase, so flip the eases. yoyoEase = tween._yEase; tween._yEase = tween._ease; tween._ease = yoyoEase; } if (!tl) { //if there's an internal timeline, skip all the parsing because we passed that task down the chain. harness = targets[0] ? _getCache(targets[0]).harness : 0; harnessVars = harness && vars[harness.prop]; //someone may need to specify CSS-specific values AND non-CSS values, like if the element has an "x" property plus it's a standard DOM element. We allow people to distinguish by wrapping plugin-specific stuff in a css:{} object for example. cleanVars = _copyExcluding(vars, _reservedProps); prevStartAt && prevStartAt.render(-1, true).kill(); if (startAt) { _removeFromParent(tween._startAt = Tween.set(targets, _setDefaults({ data: "isStart", overwrite: false, parent: parent, immediateRender: true, lazy: _isNotFalse(lazy), startAt: null, delay: 0, onUpdate: onUpdate, onUpdateParams: onUpdateParams, callbackScope: callbackScope, stagger: 0 }, startAt))); //copy the properties/values into a new object to avoid collisions, like var to = {x:0}, from = {x:500}; timeline.fromTo(e, from, to).fromTo(e, to, from); if (immediateRender) { if (time > 0) { !autoRevert && (tween._startAt = 0); //tweens that render immediately (like most from() and fromTo() tweens) shouldn't revert when their parent timeline's playhead goes backward past the startTime because the initial render could have happened anytime and it shouldn't be directly correlated to this tween's startTime. Imagine setting up a complex animation where the beginning states of various objects are rendered immediately but the tween doesn't happen for quite some time - if we revert to the starting values as soon as the playhead goes backward past the tween's startTime, it will throw things off visually. Reversion should only happen in Timeline instances where immediateRender was false or when autoRevert is explicitly set to true. } else if (dur) { return; //we skip initialization here so that overwriting doesn't occur until the tween actually begins. Otherwise, if you create several immediateRender:true tweens of the same target/properties to drop into a Timeline, the last one created would overwrite the first ones because they didn't get placed into the timeline yet before the first render occurs and kicks in overwriting. } } } else if (runBackwards && dur) { //from() tweens must be handled uniquely: their beginning values must be rendered but we don't want overwriting to occur yet (when time is still 0). Wait until the tween actually begins before doing all the routines like overwriting. At that time, we should render at the END of the tween to ensure that things initialize correctly (remember, from() tweens go backwards) if (prevStartAt) { !autoRevert && (tween._startAt = 0); } else { time && (immediateRender = false); //in rare cases (like if a from() tween runs and then is invalidate()-ed), immediateRender could be true but the initial forced-render gets skipped, so there's no need to force the render in this context when the _time is greater than 0 p = _merge(cleanVars, { overwrite: false, data: "isFromStart", //we tag the tween with as "isFromStart" so that if [inside a plugin] we need to only do something at the very END of a tween, we have a way of identifying this tween as merely the one that's setting the beginning values for a "from()" tween. For example, clearProps in CSSPlugin should only get applied at the very END of a tween and without this tag, from(...{height:100, clearProps:"height", delay:1}) would wipe the height at the beginning of the tween and after 1 second, it'd kick back in. lazy: immediateRender && _isNotFalse(lazy), immediateRender: immediateRender, //zero-duration tweens render immediately by default, but if we're not specifically instructed to render this tween immediately, we should skip this and merely _init() to record the starting values (rendering them immediately would push them to completion which is wasteful in that case - we'd have to render(-1) immediately after) stagger: 0, parent: parent //ensures that nested tweens that had a stagger are handled properly, like gsap.from(".class", {y:gsap.utils.wrap([-100,100])}) }); harnessVars && (p[harness.prop] = harnessVars); // in case someone does something like .from(..., {css:{}}) _removeFromParent(tween._startAt = Tween.set(targets, p)); if (!immediateRender) { _initTween(tween._startAt, _tinyNum); //ensures that the initial values are recorded } else if (!time) { return; } } } tween._pt = 0; lazy = dur && _isNotFalse(lazy) || lazy && !dur; for (i = 0; i < targets.length; i++) { target = targets[i]; gsData = target._gsap || _harness(targets)[i]._gsap; tween._ptLookup[i] = ptLookup = {}; _lazyLookup[gsData.id] && _lazyRender(); //if other tweens of the same target have recently initted but haven't rendered yet, we've got to force the render so that the starting values are correct (imagine populating a timeline with a bunch of sequential tweens and then jumping to the end) index = fullTargets === targets ? i : fullTargets.indexOf(target); if (harness && (plugin = new harness()).init(target, harnessVars || cleanVars, tween, index, fullTargets) !== false) { tween._pt = pt = new PropTween(tween._pt, target, plugin.name, 0, 1, plugin.render, plugin, 0, plugin.priority); plugin._props.forEach(function (name) { ptLookup[name] = pt; }); plugin.priority && (hasPriority = 1); } if (!harness || harnessVars) { for (p in cleanVars) { if (_plugins[p] && (plugin = _checkPlugin(p, cleanVars, tween, index, target, fullTargets))) { plugin.priority && (hasPriority = 1); } else { ptLookup[p] = pt = _addPropTween.call(tween, target, p, "get", cleanVars[p], index, fullTargets, 0, vars.stringFilter); } } } tween._op && tween._op[i] && tween.kill(target, tween._op[i]); if (autoOverwrite && tween._pt) { _overwritingTween = tween; _globalTimeline.killTweensOf(target, ptLookup, "started"); //Also make sure the overwriting doesn't overwrite THIS tween!!! _overwritingTween = 0; } tween._pt && lazy && (_lazyLookup[gsData.id] = 1); } hasPriority && _sortPropTweensByPriority(tween); tween._onInit && tween._onInit(tween); //plugins like RoundProps must wait until ALL of the PropTweens are instantiated. In the plugin's init() function, it sets the _onInit on the tween instance. May not be pretty/intuitive, but it's fast and keeps file size down. } tween._from = !tl && !!vars.runBackwards; //nested timelines should never run backwards - the backwards-ness is in the child tweens. tween._onUpdate = onUpdate; tween._initted = !!tween.parent; // if overwrittenProps resulted in the entire tween being killed, do NOT flag it as initted or else it may render for one tick. }, _addAliasesToVars = function _addAliasesToVars(targets, vars) { var harness = targets[0] ? _getCache(targets[0]).harness : 0, propertyAliases = harness && harness.aliases, copy, p, i, aliases; if (!propertyAliases) { return vars; } copy = _merge({}, vars); for (p in propertyAliases) { if (p in copy) { aliases = propertyAliases[p].split(","); i = aliases.length; while (i--) { copy[aliases[i]] = copy[p]; } } } return copy; }, _parseFuncOrString = function _parseFuncOrString(value, tween, i, target, targets) { return _isFunction(value) ? value.call(tween, i, target, targets) : _isString(value) && ~value.indexOf("random(") ? _replaceRandom(value) : value; }, _staggerTweenProps = _callbackNames + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase", _staggerPropsToSkip = (_staggerTweenProps + ",id,stagger,delay,duration,paused,scrollTrigger").split(","); /* * -------------------------------------------------------------------------------------- * TWEEN * -------------------------------------------------------------------------------------- */ exports._checkPlugin = _checkPlugin; var Tween = /*#__PURE__*/function (_Animation2) { _inheritsLoose(Tween, _Animation2); function Tween(targets, vars, time, skipInherit) { var _this3; if (typeof vars === "number") { time.duration = vars; vars = time; time = null; } _this3 = _Animation2.call(this, skipInherit ? vars : _inheritDefaults(vars), time) || this; var _this3$vars = _this3.vars, duration = _this3$vars.duration, delay = _this3$vars.delay, immediateRender = _this3$vars.immediateRender, stagger = _this3$vars.stagger, overwrite = _this3$vars.overwrite, keyframes = _this3$vars.keyframes, defaults = _this3$vars.defaults, scrollTrigger = _this3$vars.scrollTrigger, yoyoEase = _this3$vars.yoyoEase, parent = _this3.parent, parsedTargets = (_isArray(targets) ? _isNumber(targets[0]) : "length" in vars) ? [targets] : toArray(targets), tl, i, copy, l, p, curTarget, staggerFunc, staggerVarsToMerge; _this3._targets = parsedTargets.length ? _harness(parsedTargets) : _warn("GSAP target " + targets + " not found. https://greensock.com", !_config.nullTargetWarn) || []; _this3._ptLookup = []; //PropTween lookup. An array containing an object for each target, having keys for each tweening property _this3._overwrite = overwrite; if (keyframes || stagger || _isFuncOrString(duration) || _isFuncOrString(delay)) { vars = _this3.vars; tl = _this3.timeline = new Timeline({ data: "nested", defaults: defaults || {} }); tl.kill(); tl.parent = _assertThisInitialized(_this3); if (keyframes) { _setDefaults(tl.vars.defaults, { ease: "none" }); keyframes.forEach(function (frame) { return tl.to(parsedTargets, frame, ">"); }); } else { l = parsedTargets.length; staggerFunc = stagger ? distribute(stagger) : _emptyFunc; if (_isObject(stagger)) { //users can pass in callbacks like onStart/onComplete in the stagger object. These should fire with each individual tween. for (p in stagger) { if (~_staggerTweenProps.indexOf(p)) { staggerVarsToMerge || (staggerVarsToMerge = {}); staggerVarsToMerge[p] = stagger[p]; } } } for (i = 0; i < l; i++) { copy = {}; for (p in vars) { if (_staggerPropsToSkip.indexOf(p) < 0) { copy[p] = vars[p]; } } copy.stagger = 0; yoyoEase && (copy.yoyoEase = yoyoEase); staggerVarsToMerge && _merge(copy, staggerVarsToMerge); curTarget = parsedTargets[i]; //don't just copy duration or delay because if they're a string or function, we'd end up in an infinite loop because _isFuncOrString() would evaluate as true in the child tweens, entering this loop, etc. So we parse the value straight from vars and default to 0. copy.duration = +_parseFuncOrString(duration, _assertThisInitialized(_this3), i, curTarget, parsedTargets); copy.delay = (+_parseFuncOrString(delay, _assertThisInitialized(_this3), i, curTarget, parsedTargets) || 0) - _this3._delay; if (!stagger && l === 1 && copy.delay) { // if someone does delay:"random(1, 5)", repeat:-1, for example, the delay shouldn't be inside the repeat. _this3._delay = delay = copy.delay; _this3._start += delay; copy.delay = 0; } tl.to(curTarget, copy, staggerFunc(i, curTarget, parsedTargets)); } tl.duration() ? duration = delay = 0 : _this3.timeline = 0; // if the timeline's duration is 0, we don't need a timeline internally! } duration || _this3.duration(duration = tl.duration()); } else { _this3.timeline = 0; //speed optimization, faster lookups (no going up the prototype chain) } if (overwrite === true) { _overwritingTween = _assertThisInitialized(_this3); _globalTimeline.killTweensOf(parsedTargets); _overwritingTween = 0; } parent && _postAddChecks(parent, _assertThisInitialized(_this3)); if (immediateRender || !duration && !keyframes && _this3._start === _round(parent._time) && _isNotFalse(immediateRender) && _hasNoPausedAncestors(_assertThisInitialized(_this3)) && parent.data !== "nested") { _this3._tTime = -_tinyNum; //forces a render without having to set the render() "force" parameter to true because we want to allow lazying by default (using the "force" parameter always forces an immediate full render) _this3.render(Math.max(0, -delay)); //in case delay is negative } scrollTrigger && _scrollTrigger(_assertThisInitialized(_this3), scrollTrigger); return _this3; } var _proto3 = Tween.prototype; _proto3.render = function render(totalTime, suppressEvents, force) { var prevTime = this._time, tDur = this._tDur, dur = this._dur, tTime = totalTime > tDur - _tinyNum && totalTime >= 0 ? tDur : totalTime < _tinyNum ? 0 : totalTime, time, pt, iteration, cycleDuration, prevIteration, isYoyo, ratio, timeline, yoyoEase; if (!dur) { _renderZeroDurationTween(this, totalTime, suppressEvents, force); } else if (tTime !== this._tTime || !totalTime || force || this._startAt && this._zTime < 0 !== totalTime < 0) { //this senses if we're crossing over the start time, in which case we must record _zTime and force the render, but we do it in this lengthy conditional way for performance reasons (usually we can skip the calculations): this._initted && (this._zTime < 0) !== (totalTime < 0) time = tTime; timeline = this.timeline; if (this._repeat) { //adjust the time for repeats and yoyos cycleDuration = dur + this._rDelay; time = _round(tTime % cycleDuration); //round to avoid floating point errors. (4 % 0.8 should be 0 but some browsers report it as 0.79999999!) if (time > dur || tDur === tTime) { // the tDur === tTime is for edge cases where there's a lengthy decimal on the duration and it may reach the very end but the time is rendered as not-quite-there (remember, tDur is rounded to 4 decimals whereas dur isn't) time = dur; } iteration = ~~(tTime / cycleDuration); if (iteration && iteration === tTime / cycleDuration) { time = dur; iteration--; } isYoyo = this._yoyo && iteration & 1; if (isYoyo) { yoyoEase = this._yEase; time = dur - time; } prevIteration = _animationCycle(this._tTime, cycleDuration); if (time === prevTime && !force && this._initted) { //could be during the repeatDelay part. No need to render and fire callbacks. return this; } if (iteration !== prevIteration) { timeline && this._yEase && _propagateYoyoEase(timeline, isYoyo); //repeatRefresh functionality if (this.vars.repeatRefresh && !isYoyo && !this._lock) { this._lock = force = 1; //force, otherwise if lazy is true, the _attemptInitTween() will return and we'll jump out and get caught bouncing on each tick. this.render(_round(cycleDuration * iteration), true).invalidate()._lock = 0; } } } if (!this._initted) { if (_attemptInitTween(this, time, force, suppressEvents)) { this._tTime = 0; // in constructor if immediateRender is true, we set _tTime to -_tinyNum to have the playhead cross the starting point but we can't leave _tTime as a negative number. return this; } if (dur !== this._dur) { // while initting, a plugin like InertiaPlugin might alter the duration, so rerun from the start to ensure everything renders as it should. return this.render(totalTime, suppressEvents, force); } } this._tTime = tTime; this._time = time; if (!this._act && this._ts) { this._act = 1; //as long as it's not paused, force it to be active so that if the user renders independent of the parent timeline, it'll be forced to re-render on the next tick. this._lazy = 0; } this.ratio = ratio = (yoyoEase || this._ease)(time / dur); if (this._from) { this.ratio = ratio = 1 - ratio; } time && !prevTime && !suppressEvents && _callback(this, "onStart"); pt = this._pt; while (pt) { pt.r(ratio, pt.d); pt = pt._next; } timeline && timeline.render(totalTime < 0 ? totalTime : !time && isYoyo ? -_tinyNum : timeline._dur * ratio, suppressEvents, force) || this._startAt && (this._zTime = totalTime); if (this._onUpdate && !suppressEvents) { if (totalTime < 0 && this._startAt) { this._startAt.render(totalTime, true, force); //note: for performance reasons, we tuck this conditional logic inside less traveled areas (most tweens don't have an onUpdate). We'd just have it at the end before the onComplete, but the values should be updated before any onUpdate is called, so we ALSO put it here and then if it's not called, we do so later near the onComplete. } _callback(this, "onUpdate"); } this._repeat && iteration !== prevIteration && this.vars.onRepeat && !suppressEvents && this.parent && _callback(this, "onRepeat"); if ((tTime === this._tDur || !tTime) && this._tTime === tTime) { totalTime < 0 && this._startAt && !this._onUpdate && this._startAt.render(totalTime, true, true); (totalTime || !dur) && (tTime === this._tDur && this._ts > 0 || !tTime && this._ts < 0) && _removeFromParent(this, 1); // don't remove if we're rendering at exactly a time of 0, as there could be autoRevert values that should get set on the next tick (if the playhead goes backward beyond the startTime, negative totalTime). Don't remove if the timeline is reversed and the playhead isn't at 0, otherwise tl.progress(1).reverse() won't work. Only remove if the playhead is at the end and timeScale is positive, or if the playhead is at 0 and the timeScale is negative. if (!suppressEvents && !(totalTime < 0 && !prevTime) && (tTime || prevTime)) { // if prevTime and tTime are zero, we shouldn't fire the onReverseComplete. This could happen if you gsap.to(... {paused:true}).play(); _callback(this, tTime === tDur ? "onComplete" : "onReverseComplete", true); this._prom && !(tTime < tDur && this.timeScale() > 0) && this._prom(); } } } return this; }; _proto3.targets = function targets() { return this._targets; }; _proto3.invalidate = function invalidate() { this._pt = this._op = this._startAt = this._onUpdate = this._act = this._lazy = 0; this._ptLookup = []; this.timeline && this.timeline.invalidate(); return _Animation2.prototype.invalidate.call(this); }; _proto3.kill = function kill(targets, vars) { if (vars === void 0) { vars = "all"; } if (!targets && (!vars || vars === "all")) { this._lazy = 0; if (this.parent) { return _interrupt(this); } } if (this.timeline) { var tDur = this.timeline.totalDuration(); this.timeline.killTweensOf(targets, vars, _overwritingTween && _overwritingTween.vars.overwrite !== true)._first || _interrupt(this); // if nothing is left tweenng, interrupt. this.parent && tDur !== this.timeline.totalDuration() && _setDuration(this, this._dur * this.timeline._tDur / tDur); // if a nested tween is killed that changes the duration, it should affect this tween's duration. We must use the ratio, though, because sometimes the internal timeline is stretched like for keyframes where they don't all add up to whatever the parent tween's duration was set to. return this; } var parsedTargets = this._targets, killingTargets = targets ? toArray(targets) : parsedTargets, propTweenLookup = this._ptLookup, firstPT = this._pt, overwrittenProps, curLookup, curOverwriteProps, props, p, pt, i; if ((!vars || vars === "all") && _arraysMatch(parsedTargets, killingTargets)) { return _interrupt(this); } overwrittenProps = this._op = this._op || []; if (vars !== "all") { //so people can pass in a comma-delimited list of property names if (_isString(vars)) { p = {}; _forEachName(vars, function (name) { return p[name] = 1; }); vars = p; } vars = _addAliasesToVars(parsedTargets, vars); } i = parsedTargets.length; while (i--) { if (~killingTargets.indexOf(parsedTargets[i])) { curLookup = propTweenLookup[i]; if (vars === "all") { overwrittenProps[i] = vars; props = curLookup; curOverwriteProps = {}; } else { curOverwriteProps = overwrittenProps[i] = overwrittenProps[i] || {}; props = vars; } for (p in props) { pt = curLookup && curLookup[p]; if (pt) { if (!("kill" in pt.d) || pt.d.kill(p) === true) { _removeLinkedListItem(this, pt, "_pt"); } delete curLookup[p]; } if (curOverwriteProps !== "all") { curOverwriteProps[p] = 1; } } } } this._initted && !this._pt && firstPT && _interrupt(this); //if all tweening properties are killed, kill the tween. Without this line, if there's a tween with multiple targets and then you killTweensOf() each target individually, the tween would technically still remain active and fire its onComplete even though there aren't any more properties tweening. return this; }; Tween.to = function to(targets, vars) { return new Tween(targets, vars, arguments[2]); }; Tween.from = function from(targets, vars) { return new Tween(targets, _parseVars(arguments, 1)); }; Tween.delayedCall = function delayedCall(delay, callback, params, scope) { return new Tween(callback, 0, { immediateRender: false, lazy: false, overwrite: false, delay: delay, onComplete: callback, onReverseComplete: callback, onCompleteParams: params, onReverseCompleteParams: params, callbackScope: scope }); }; Tween.fromTo = function fromTo(targets, fromVars, toVars) { return new Tween(targets, _parseVars(arguments, 2)); }; Tween.set = function set(targets, vars) { vars.duration = 0; vars.repeatDelay || (vars.repeat = 0); return new Tween(targets, vars); }; Tween.killTweensOf = function killTweensOf(targets, props, onlyActive) { return _globalTimeline.killTweensOf(targets, props, onlyActive); }; return Tween; }(Animation); exports.TweenLite = exports.TweenMax = exports.Tween = Tween; _setDefaults(Tween.prototype, { _targets: [], _lazy: 0, _startAt: 0, _op: 0, _onInit: 0 }); //add the pertinent timeline methods to Tween instances so that users can chain conveniently and create a timeline automatically. (removed due to concerns that it'd ultimately add to more confusion especially for beginners) // _forEachName("to,from,fromTo,set,call,add,addLabel,addPause", name => { // Tween.prototype[name] = function() { // let tl = new Timeline(); // return _addToTimeline(tl, this)[name].apply(tl, toArray(arguments)); // } // }); //for backward compatibility. Leverage the timeline calls. _forEachName("staggerTo,staggerFrom,staggerFromTo", function (name) { Tween[name] = function () { var tl = new Timeline(), params = _slice.call(arguments, 0); params.splice(name === "staggerFromTo" ? 5 : 4, 0, 0); return tl[name].apply(tl, params); }; }); /* * -------------------------------------------------------------------------------------- * PROPTWEEN * -------------------------------------------------------------------------------------- */ var _setterPlain = function _setterPlain(target, property, value) { return target[property] = value; }, _setterFunc = function _setterFunc(target, property, value) { return target[property](value); }, _setterFuncWithParam = function _setterFuncWithParam(target, property, value, data) { return target[property](data.fp, value); }, _setterAttribute = function _setterAttribute(target, property, value) { return target.setAttribute(property, value); }, _getSetter = function _getSetter(target, property) { return _isFunction(target[property]) ? _setterFunc : _isUndefined(target[property]) && target.setAttribute ? _setterAttribute : _setterPlain; }, _renderPlain = function _renderPlain(ratio, data) { return data.set(data.t, data.p, Math.round((data.s + data.c * ratio) * 10000) / 10000, data); }, _renderBoolean = function _renderBoolean(ratio, data) { return data.set(data.t, data.p, !!(data.s + data.c * ratio), data); }, _renderComplexString = function _renderComplexString(ratio, data) { var pt = data._pt, s = ""; if (!ratio && data.b) { //b = beginning string s = data.b; } else if (ratio === 1 && data.e) { //e = ending string s = data.e; } else { while (pt) { s = pt.p + (pt.m ? pt.m(pt.s + pt.c * ratio) : Math.round((pt.s + pt.c * ratio) * 10000) / 10000) + s; //we use the "p" property for the text inbetween (like a suffix). And in the context of a complex string, the modifier (m) is typically just Math.round(), like for RGB colors. pt = pt._next; } s += data.c; //we use the "c" of the PropTween to store the final chunk of non-numeric text. } data.set(data.t, data.p, s, data); }, _renderPropTweens = function _renderPropTweens(ratio, data) { var pt = data._pt; while (pt) { pt.r(ratio, pt.d); pt = pt._next; } }, _addPluginModifier = function _addPluginModifier(modifier, tween, target, property) { var pt = this._pt, next; while (pt) { next = pt._next; if (pt.p === property) { pt.modifier(modifier, tween, target); } pt = next; } }, _killPropTweensOf = function _killPropTweensOf(property) { var pt = this._pt, hasNonDependentRemaining, next; while (pt) { next = pt._next; if (pt.p === property && !pt.op || pt.op === property) { _removeLinkedListItem(this, pt, "_pt"); } else if (!pt.dep) { hasNonDependentRemaining = 1; } pt = next; } return !hasNonDependentRemaining; }, _setterWithModifier = function _setterWithModifier(target, property, value, data) { data.mSet(target, property, data.m.call(data.tween, value, data.mt), data); }, _sortPropTweensByPriority = function _sortPropTweensByPriority(parent) { var pt = parent._pt, next, pt2, first, last; //sorts the PropTween linked list in order of priority because some plugins need to do their work after ALL of the PropTweens were created (like RoundPropsPlugin and ModifiersPlugin) while (pt) { next = pt._next; pt2 = first; while (pt2 && pt2.pr > pt.pr) { pt2 = pt2._next; } if (pt._prev = pt2 ? pt2._prev : last) { pt._prev._next = pt; } else { first = pt; } if (pt._next = pt2) { pt2._prev = pt; } else { last = pt; } pt = next; } parent._pt = first; }; //PropTween key: t = target, p = prop, r = renderer, d = data, s = start, c = change, op = overwriteProperty (ONLY populated when it's different than p), pr = priority, _next/_prev for the linked list siblings, set = setter, m = modifier, mSet = modifierSetter (the original setter, before a modifier was added) exports._sortPropTweensByPriority = _sortPropTweensByPriority; exports._renderComplexString = _renderComplexString; exports._getSetter = _getSetter; var PropTween = /*#__PURE__*/function () { function PropTween(next, target, prop, start, change, renderer, data, setter, priority) { this.t = target; this.s = start; this.c = change; this.p = prop; this.r = renderer || _renderPlain; this.d = data || this; this.set = setter || _setterPlain; this.pr = priority || 0; this._next = next; if (next) { next._prev = this; } } var _proto4 = PropTween.prototype; _proto4.modifier = function modifier(func, tween, target) { this.mSet = this.mSet || this.set; //in case it was already set (a PropTween can only have one modifier) this.set = _setterWithModifier; this.m = func; this.mt = target; //modifier target this.tween = tween; }; return PropTween; }(); //Initialization tasks exports.PropTween = PropTween; _forEachName(_callbackNames + "parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger", function (name) { return _reservedProps[name] = 1; }); _globals.TweenMax = _globals.TweenLite = Tween; _globals.TimelineLite = _globals.TimelineMax = Timeline; _globalTimeline = new Timeline({ sortChildren: false, defaults: _defaults, autoRemoveChildren: true, id: "root", smoothChildTiming: true }); _config.stringFilter = _colorStringFilter; /* * -------------------------------------------------------------------------------------- * GSAP * -------------------------------------------------------------------------------------- */ var _gsap = { registerPlugin: function registerPlugin() { for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { args[_key2] = arguments[_key2]; } args.forEach(function (config) { return _createPlugin(config); }); }, timeline: function timeline(vars) { return new Timeline(vars); }, getTweensOf: function getTweensOf(targets, onlyActive) { return _globalTimeline.getTweensOf(targets, onlyActive); }, getProperty: function getProperty(target, property, unit, uncache) { if (_isString(target)) { //in case selector text or an array is passed in target = toArray(target)[0]; } var getter = _getCache(target || {}).get, format = unit ? _passThrough : _numericIfPossible; if (unit === "native") { unit = ""; } return !target ? target : !property ? function (property, unit, uncache) { return format((_plugins[property] && _plugins[property].get || getter)(target, property, unit, uncache)); } : format((_plugins[property] && _plugins[property].get || getter)(target, property, unit, uncache)); }, quickSetter: function quickSetter(target, property, unit) { target = toArray(target); if (target.length > 1) { var setters = target.map(function (t) { return gsap.quickSetter(t, property, unit); }), l = setters.length; return function (value) { var i = l; while (i--) { setters[i](value); } }; } target = target[0] || {}; var Plugin = _plugins[property], cache = _getCache(target), p = cache.harness && (cache.harness.aliases || {})[property] || property, // in case it's an alias, like "rotate" for "rotation". setter = Plugin ? function (value) { var p = new Plugin(); _quickTween._pt = 0; p.init(target, unit ? value + unit : value, _quickTween, 0, [target]); p.render(1, p); _quickTween._pt && _renderPropTweens(1, _quickTween); } : cache.set(target, p); return Plugin ? setter : function (value) { return setter(target, p, unit ? value + unit : value, cache, 1); }; }, isTweening: function isTweening(targets) { return _globalTimeline.getTweensOf(targets, true).length > 0; }, defaults: function defaults(value) { if (value && value.ease) { value.ease = _parseEase(value.ease, _defaults.ease); } return _mergeDeep(_defaults, value || {}); }, config: function config(value) { return _mergeDeep(_config, value || {}); }, registerEffect: function registerEffect(_ref) { var name = _ref.name, effect = _ref.effect, plugins = _ref.plugins, defaults = _ref.defaults, extendTimeline = _ref.extendTimeline; (plugins || "").split(",").forEach(function (pluginName) { return pluginName && !_plugins[pluginName] && !_globals[pluginName] && _warn(name + " effect requires " + pluginName + " plugin."); }); _effects[name] = function (targets, vars, tl) { return effect(toArray(targets), _setDefaults(vars || {}, defaults), tl); }; if (extendTimeline) { Timeline.prototype[name] = function (targets, vars, position) { return this.add(_effects[name](targets, _isObject(vars) ? vars : (position = vars) && {}, this), position); }; } }, registerEase: function registerEase(name, ease) { _easeMap[name] = _parseEase(ease); }, parseEase: function parseEase(ease, defaultEase) { return arguments.length ? _parseEase(ease, defaultEase) : _easeMap; }, getById: function getById(id) { return _globalTimeline.getById(id); }, exportRoot: function exportRoot(vars, includeDelayedCalls) { if (vars === void 0) { vars = {}; } var tl = new Timeline(vars), child, next; tl.smoothChildTiming = _isNotFalse(vars.smoothChildTiming); _globalTimeline.remove(tl); tl._dp = 0; //otherwise it'll get re-activated when adding children and be re-introduced into _globalTimeline's linked list (then added to itself). tl._time = tl._tTime = _globalTimeline._time; child = _globalTimeline._first; while (child) { next = child._next; if (includeDelayedCalls || !(!child._dur && child instanceof Tween && child.vars.onComplete === child._targets[0])) { _addToTimeline(tl, child, child._start - child._delay); } child = next; } _addToTimeline(_globalTimeline, tl, 0); return tl; }, utils: { wrap: wrap, wrapYoyo: wrapYoyo, distribute: distribute, random: random, snap: snap, normalize: normalize, getUnit: getUnit, clamp: clamp, splitColor: splitColor, toArray: toArray, mapRange: mapRange, pipe: pipe, unitize: unitize, interpolate: interpolate, shuffle: shuffle }, install: _install, effects: _effects, ticker: _ticker, updateRoot: Timeline.updateRoot, plugins: _plugins, globalTimeline: _globalTimeline, core: { PropTween: PropTween, globals: _addGlobal, Tween: Tween, Timeline: Timeline, Animation: Animation, getCache: _getCache, _removeLinkedListItem: _removeLinkedListItem } }; _forEachName("to,from,fromTo,delayedCall,set,killTweensOf", function (name) { return _gsap[name] = Tween[name]; }); _ticker.add(Timeline.updateRoot); _quickTween = _gsap.to({}, { duration: 0 }); // ---- EXTRA PLUGINS -------------------------------------------------------- var _getPluginPropTween = function _getPluginPropTween(plugin, prop) { var pt = plugin._pt; while (pt && pt.p !== prop && pt.op !== prop && pt.fp !== prop) { pt = pt._next; } return pt; }, _addModifiers = function _addModifiers(tween, modifiers) { var targets = tween._targets, p, i, pt; for (p in modifiers) { i = targets.length; while (i--) { pt = tween._ptLookup[i][p]; if (pt && (pt = pt.d)) { if (pt._pt) { // is a plugin pt = _getPluginPropTween(pt, p); } pt && pt.modifier && pt.modifier(modifiers[p], tween, targets[i], p); } } } }, _buildModifierPlugin = function _buildModifierPlugin(name, modifier) { return { name: name, rawVars: 1, //don't pre-process function-based values or "random()" strings. init: function init(target, vars, tween) { tween._onInit = function (tween) { var temp, p; if (_isString(vars)) { temp = {}; _forEachName(vars, function (name) { return temp[name] = 1; }); //if the user passes in a comma-delimited list of property names to roundProps, like "x,y", we round to whole numbers. vars = temp; } if (modifier) { temp = {}; for (p in vars) { temp[p] = modifier(vars[p]); } vars = temp; } _addModifiers(tween, vars); }; } }; }; //register core plugins var gsap = _gsap.registerPlugin({ name: "attr", init: function init(target, vars, tween, index, targets) { var p, pt; for (p in vars) { pt = this.add(target, "setAttribute", (target.getAttribute(p) || 0) + "", vars[p], index, targets, 0, 0, p); pt && (pt.op = p); //this.add(target, "setAttribute", (target.getAttribute((p in target.dataset ? (p = "data-" + p) : p)) || 0) + "", vars[p], index, targets, 0, 0, p); this._props.push(p); } } }, { name: "endArray", init: function init(target, value) { var i = value.length; while (i--) { this.add(target, i, target[i] || 0, value[i]); } } }, _buildModifierPlugin("roundProps", _roundModifier), _buildModifierPlugin("modifiers"), _buildModifierPlugin("snap", snap)) || _gsap; //to prevent the core plugins from being dropped via aggressive tree shaking, we must include them in the variable declaration in this way. exports.default = exports.gsap = gsap; Tween.version = Timeline.version = gsap.version = "3.3.3"; _coreReady = 1; if (_windowExists()) { _wake(); } var Power0 = _easeMap.Power0, Power1 = _easeMap.Power1, Power2 = _easeMap.Power2, Power3 = _easeMap.Power3, Power4 = _easeMap.Power4, Linear = _easeMap.Linear, Quad = _easeMap.Quad, Cubic = _easeMap.Cubic, Quart = _easeMap.Quart, Quint = _easeMap.Quint, Strong = _easeMap.Strong, Elastic = _easeMap.Elastic, Back = _easeMap.Back, SteppedEase = _easeMap.SteppedEase, Bounce = _easeMap.Bounce, Sine = _easeMap.Sine, Expo = _easeMap.Expo, Circ = _easeMap.Circ; exports.Circ = Circ; exports.Expo = Expo; exports.Sine = Sine; exports.Bounce = Bounce; exports.SteppedEase = SteppedEase; exports.Back = Back; exports.Elastic = Elastic; exports.Strong = Strong; exports.Quint = Quint; exports.Quart = Quart; exports.Cubic = Cubic; exports.Quad = Quad; exports.Linear = Linear; exports.Power4 = Power4; exports.Power3 = Power3; exports.Power2 = Power2; exports.Power1 = Power1; exports.Power0 = Power0; },{}],"../node_modules/gsap/CSSPlugin.js":[function(require,module,exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.checkPrefix = exports._createElement = exports._getBBox = exports.default = exports.CSSPlugin = void 0; var _gsapCore = require("./gsap-core.js"); /*! * CSSPlugin 3.3.3 * https://greensock.com * * Copyright 2008-2020, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */ /* eslint-disable */ var _win, _doc, _docElement, _pluginInitted, _tempDiv, _tempDivStyler, _recentSetterPlugin, _windowExists = function _windowExists() { return typeof window !== "undefined"; }, _transformProps = {}, _RAD2DEG = 180 / Math.PI, _DEG2RAD = Math.PI / 180, _atan2 = Math.atan2, _bigNum = 1e8, _capsExp = /([A-Z])/g, _horizontalExp = /(?:left|right|width|margin|padding|x)/i, _complexExp = /[\s,\(]\S/, _propertyAliases = { autoAlpha: "opacity,visibility", scale: "scaleX,scaleY", alpha: "opacity" }, _renderCSSProp = function _renderCSSProp(ratio, data) { return data.set(data.t, data.p, Math.round((data.s + data.c * ratio) * 10000) / 10000 + data.u, data); }, _renderPropWithEnd = function _renderPropWithEnd(ratio, data) { return data.set(data.t, data.p, ratio === 1 ? data.e : Math.round((data.s + data.c * ratio) * 10000) / 10000 + data.u, data); }, _renderCSSPropWithBeginning = function _renderCSSPropWithBeginning(ratio, data) { return data.set(data.t, data.p, ratio ? Math.round((data.s + data.c * ratio) * 10000) / 10000 + data.u : data.b, data); }, //if units change, we need a way to render the original unit/value when the tween goes all the way back to the beginning (ratio:0) _renderRoundedCSSProp = function _renderRoundedCSSProp(ratio, data) { var value = data.s + data.c * ratio; data.set(data.t, data.p, ~~(value + (value < 0 ? -.5 : .5)) + data.u, data); }, _renderNonTweeningValue = function _renderNonTweeningValue(ratio, data) { return data.set(data.t, data.p, ratio ? data.e : data.b, data); }, _renderNonTweeningValueOnlyAtEnd = function _renderNonTweeningValueOnlyAtEnd(ratio, data) { return data.set(data.t, data.p, ratio !== 1 ? data.b : data.e, data); }, _setterCSSStyle = function _setterCSSStyle(target, property, value) { return target.style[property] = value; }, _setterCSSProp = function _setterCSSProp(target, property, value) { return target.style.setProperty(property, value); }, _setterTransform = function _setterTransform(target, property, value) { return target._gsap[property] = value; }, _setterScale = function _setterScale(target, property, value) { return target._gsap.scaleX = target._gsap.scaleY = value; }, _setterScaleWithRender = function _setterScaleWithRender(target, property, value, data, ratio) { var cache = target._gsap; cache.scaleX = cache.scaleY = value; cache.renderTransform(ratio, cache); }, _setterTransformWithRender = function _setterTransformWithRender(target, property, value, data, ratio) { var cache = target._gsap; cache[property] = value; cache.renderTransform(ratio, cache); }, _transformProp = "transform", _transformOriginProp = _transformProp + "Origin", _supports3D, _createElement = function _createElement(type, ns) { var e = _doc.createElementNS ? _doc.createElementNS((ns || "http://www.w3.org/1999/xhtml").replace(/^https/, "http"), type) : _doc.createElement(type); //some servers swap in https for http in the namespace which can break things, making "style" inaccessible. return e.style ? e : _doc.createElement(type); //some environments won't allow access to the element's style when created with a namespace in which case we default to the standard createElement() to work around the issue. Also note that when GSAP is embedded directly inside an SVG file, createElement() won't allow access to the style object in Firefox (see https://greensock.com/forums/topic/20215-problem-using-tweenmax-in-standalone-self-containing-svg-file-err-cannot-set-property-csstext-of-undefined/). }, _getComputedProperty = function _getComputedProperty(target, property, skipPrefixFallback) { var cs = getComputedStyle(target); return cs[property] || cs.getPropertyValue(property.replace(_capsExp, "-$1").toLowerCase()) || cs.getPropertyValue(property) || !skipPrefixFallback && _getComputedProperty(target, _checkPropPrefix(property) || property, 1) || ""; //css variables may not need caps swapped out for dashes and lowercase. }, _prefixes = "O,Moz,ms,Ms,Webkit".split(","), _checkPropPrefix = function _checkPropPrefix(property, element, preferPrefix) { var e = element || _tempDiv, s = e.style, i = 5; if (property in s && !preferPrefix) { return property; } property = property.charAt(0).toUpperCase() + property.substr(1); while (i-- && !(_prefixes[i] + property in s)) {} return i < 0 ? null : (i === 3 ? "ms" : i >= 0 ? _prefixes[i] : "") + property; }, _initCore = function _initCore() { if (_windowExists() && window.document) { _win = window; _doc = _win.document; _docElement = _doc.documentElement; _tempDiv = _createElement("div") || { style: {} }; _tempDivStyler = _createElement("div"); _transformProp = _checkPropPrefix(_transformProp); _transformOriginProp = _checkPropPrefix(_transformOriginProp); _tempDiv.style.cssText = "border-width:0;line-height:0;position:absolute;padding:0"; //make sure to override certain properties that may contaminate measurements, in case the user has overreaching style sheets. _supports3D = !!_checkPropPrefix("perspective"); _pluginInitted = 1; } }, _getBBoxHack = function _getBBoxHack(swapIfPossible) { //works around issues in some browsers (like Firefox) that don't correctly report getBBox() on SVG elements inside a <defs> element and/or <mask>. We try creating an SVG, adding it to the documentElement and toss the element in there so that it's definitely part of the rendering tree, then grab the bbox and if it works, we actually swap out the original getBBox() method for our own that does these extra steps whenever getBBox is needed. This helps ensure that performance is optimal (only do all these extra steps when absolutely necessary...most elements don't need it). var svg = _createElement("svg", this.ownerSVGElement && this.ownerSVGElement.getAttribute("xmlns") || "http://www.w3.org/2000/svg"), oldParent = this.parentNode, oldSibling = this.nextSibling, oldCSS = this.style.cssText, bbox; _docElement.appendChild(svg); svg.appendChild(this); this.style.display = "block"; if (swapIfPossible) { try { bbox = this.getBBox(); this._gsapBBox = this.getBBox; //store the original this.getBBox = _getBBoxHack; } catch (e) {} } else if (this._gsapBBox) { bbox = this._gsapBBox(); } if (oldParent) { if (oldSibling) { oldParent.insertBefore(this, oldSibling); } else { oldParent.appendChild(this); } } _docElement.removeChild(svg); this.style.cssText = oldCSS; return bbox; }, _getAttributeFallbacks = function _getAttributeFallbacks(target, attributesArray) { var i = attributesArray.length; while (i--) { if (target.hasAttribute(attributesArray[i])) { return target.getAttribute(attributesArray[i]); } } }, _getBBox = function _getBBox(target) { var bounds; try { bounds = target.getBBox(); //Firefox throws errors if you try calling getBBox() on an SVG element that's not rendered (like in a <symbol> or <defs>). https://bugzilla.mozilla.org/show_bug.cgi?id=612118 } catch (error) { bounds = _getBBoxHack.call(target, true); } bounds && (bounds.width || bounds.height) || target.getBBox === _getBBoxHack || (bounds = _getBBoxHack.call(target, true)); //some browsers (like Firefox) misreport the bounds if the element has zero width and height (it just assumes it's at x:0, y:0), thus we need to manually grab the position in that case. return bounds && !bounds.width && !bounds.x && !bounds.y ? { x: +_getAttributeFallbacks(target, ["x", "cx", "x1"]) || 0, y: +_getAttributeFallbacks(target, ["y", "cy", "y1"]) || 0, width: 0, height: 0 } : bounds; }, _isSVG = function _isSVG(e) { return !!(e.getCTM && (!e.parentNode || e.ownerSVGElement) && _getBBox(e)); }, //reports if the element is an SVG on which getBBox() actually works _removeProperty = function _removeProperty(target, property) { if (property) { var style = target.style; if (property in _transformProps) { property = _transformProp; } if (style.removeProperty) { if (property.substr(0, 2) === "ms" || property.substr(0, 6) === "webkit") { //Microsoft and some Webkit browsers don't conform to the standard of capitalizing the first prefix character, so we adjust so that when we prefix the caps with a dash, it's correct (otherwise it'd be "ms-transform" instead of "-ms-transform" for IE9, for example) property = "-" + property; } style.removeProperty(property.replace(_capsExp, "-$1").toLowerCase()); } else { //note: old versions of IE use "removeAttribute()" instead of "removeProperty()" style.removeAttribute(property); } } }, _addNonTweeningPT = function _addNonTweeningPT(plugin, target, property, beginning, end, onlySetAtEnd) { var pt = new _gsapCore.PropTween(plugin._pt, target, property, 0, 1, onlySetAtEnd ? _renderNonTweeningValueOnlyAtEnd : _renderNonTweeningValue); plugin._pt = pt; pt.b = beginning; pt.e = end; plugin._props.push(property); return pt; }, _nonConvertibleUnits = { deg: 1, rad: 1, turn: 1 }, //takes a single value like 20px and converts it to the unit specified, like "%", returning only the numeric amount. _convertToUnit = function _convertToUnit(target, property, value, unit) { var curValue = parseFloat(value) || 0, curUnit = (value + "").trim().substr((curValue + "").length) || "px", // some browsers leave extra whitespace at the beginning of CSS variables, hence the need to trim() style = _tempDiv.style, horizontal = _horizontalExp.test(property), isRootSVG = target.tagName.toLowerCase() === "svg", measureProperty = (isRootSVG ? "client" : "offset") + (horizontal ? "Width" : "Height"), amount = 100, toPixels = unit === "px", toPercent = unit === "%", px, parent, cache, isSVG; if (unit === curUnit || !curValue || _nonConvertibleUnits[unit] || _nonConvertibleUnits[curUnit]) { return curValue; } curUnit !== "px" && !toPixels && (curValue = _convertToUnit(target, property, value, "px")); isSVG = target.getCTM && _isSVG(target); if (toPercent && (_transformProps[property] || ~property.indexOf("adius"))) { //transforms and borderRadius are relative to the size of the element itself! return (0, _gsapCore._round)(curValue / (isSVG ? target.getBBox()[horizontal ? "width" : "height"] : target[measureProperty]) * amount); } style[horizontal ? "width" : "height"] = amount + (toPixels ? curUnit : unit); parent = ~property.indexOf("adius") || unit === "em" && target.appendChild && !isRootSVG ? target : target.parentNode; if (isSVG) { parent = (target.ownerSVGElement || {}).parentNode; } if (!parent || parent === _doc || !parent.appendChild) { parent = _doc.body; } cache = parent._gsap; if (cache && toPercent && cache.width && horizontal && cache.time === _gsapCore._ticker.time) { return (0, _gsapCore._round)(curValue / cache.width * amount); } else { (toPercent || curUnit === "%") && (style.position = _getComputedProperty(target, "position")); parent === target && (style.position = "static"); // like for borderRadius, if it's a % we must have it relative to the target itself but that may not have position: relative or position: absolute in which case it'd go up the chain until it finds its offsetParent (bad). position: static protects against that. parent.appendChild(_tempDiv); px = _tempDiv[measureProperty]; parent.removeChild(_tempDiv); style.position = "absolute"; if (horizontal && toPercent) { cache = (0, _gsapCore._getCache)(parent); cache.time = _gsapCore._ticker.time; cache.width = parent[measureProperty]; } } return (0, _gsapCore._round)(toPixels ? px * curValue / amount : px && curValue ? amount / px * curValue : 0); }, _get = function _get(target, property, unit, uncache) { var value; if (!_pluginInitted) { _initCore(); } if (property in _propertyAliases && property !== "transform") { property = _propertyAliases[property]; if (~property.indexOf(",")) { property = property.split(",")[0]; } } if (_transformProps[property] && property !== "transform") { value = _parseTransform(target, uncache); value = property !== "transformOrigin" ? value[property] : _firstTwoOnly(_getComputedProperty(target, _transformOriginProp)) + " " + value.zOrigin + "px"; } else { value = target.style[property]; if (!value || value === "auto" || uncache || ~(value + "").indexOf("calc(")) { value = _specialProps[property] && _specialProps[property](target, property, unit) || _getComputedProperty(target, property) || (0, _gsapCore._getProperty)(target, property) || (property === "opacity" ? 1 : 0); // note: some browsers, like Firefox, don't report borderRadius correctly! Instead, it only reports every corner like borderTopLeftRadius } } return unit && !~(value + "").indexOf(" ") ? _convertToUnit(target, property, value, unit) + unit : value; }, _tweenComplexCSSString = function _tweenComplexCSSString(target, prop, start, end) { //note: we call _tweenComplexCSSString.call(pluginInstance...) to ensure that it's scoped properly. We may call it from within a plugin too, thus "this" would refer to the plugin. if (!start || start === "none") { // some browsers like Safari actually PREFER the prefixed property and mis-report the unprefixed value like clipPath (BUG). In other words, even though clipPath exists in the style ("clipPath" in target.style) and it's set in the CSS properly (along with -webkit-clip-path), Safari reports clipPath as "none" whereas WebkitClipPath reports accurately like "ellipse(100% 0% at 50% 0%)", so in this case we must SWITCH to using the prefixed property instead. See https://greensock.com/forums/topic/18310-clippath-doesnt-work-on-ios/ var p = _checkPropPrefix(prop, target, 1), s = p && _getComputedProperty(target, p, 1); if (s && s !== start) { prop = p; start = s; } } var pt = new _gsapCore.PropTween(this._pt, target.style, prop, 0, 1, _gsapCore._renderComplexString), index = 0, matchIndex = 0, a, result, startValues, startNum, color, startValue, endValue, endNum, chunk, endUnit, startUnit, relative, endValues; pt.b = start; pt.e = end; start += ""; //ensure values are strings end += ""; if (end === "auto") { target.style[prop] = end; end = _getComputedProperty(target, prop) || end; target.style[prop] = start; } a = [start, end]; (0, _gsapCore._colorStringFilter)(a); //pass an array with the starting and ending values and let the filter do whatever it needs to the values. If colors are found, it returns true and then we must match where the color shows up order-wise because for things like boxShadow, sometimes the browser provides the computed values with the color FIRST, but the user provides it with the color LAST, so flip them if necessary. Same for drop-shadow(). start = a[0]; end = a[1]; startValues = start.match(_gsapCore._numWithUnitExp) || []; endValues = end.match(_gsapCore._numWithUnitExp) || []; if (endValues.length) { while (result = _gsapCore._numWithUnitExp.exec(end)) { endValue = result[0]; chunk = end.substring(index, result.index); if (color) { color = (color + 1) % 5; } else if (chunk.substr(-5) === "rgba(" || chunk.substr(-5) === "hsla(") { color = 1; } if (endValue !== (startValue = startValues[matchIndex++] || "")) { startNum = parseFloat(startValue) || 0; startUnit = startValue.substr((startNum + "").length); relative = endValue.charAt(1) === "=" ? +(endValue.charAt(0) + "1") : 0; if (relative) { endValue = endValue.substr(2); } endNum = parseFloat(endValue); endUnit = endValue.substr((endNum + "").length); index = _gsapCore._numWithUnitExp.lastIndex - endUnit.length; if (!endUnit) { //if something like "perspective:300" is passed in and we must add a unit to the end endUnit = endUnit || _gsapCore._config.units[prop] || startUnit; if (index === end.length) { end += endUnit; pt.e += endUnit; } } if (startUnit !== endUnit) { startNum = _convertToUnit(target, prop, startValue, endUnit) || 0; } //these nested PropTweens are handled in a special way - we'll never actually call a render or setter method on them. We'll just loop through them in the parent complex string PropTween's render method. pt._pt = { _next: pt._pt, p: chunk || matchIndex === 1 ? chunk : ",", //note: SVG spec allows omission of comma/space when a negative sign is wedged between two numbers, like 2.5-5.3 instead of 2.5,-5.3 but when tweening, the negative value may switch to positive, so we insert the comma just in case. s: startNum, c: relative ? relative * endNum : endNum - startNum, m: color && color < 4 ? Math.round : 0 }; } } pt.c = index < end.length ? end.substring(index, end.length) : ""; //we use the "c" of the PropTween to store the final part of the string (after the last number) } else { pt.r = prop === "display" && end === "none" ? _renderNonTweeningValueOnlyAtEnd : _renderNonTweeningValue; } if (_gsapCore._relExp.test(end)) { pt.e = 0; //if the end string contains relative values or dynamic random(...) values, delete the end it so that on the final render we don't actually set it to the string with += or -= characters (forces it to use the calculated value). } this._pt = pt; //start the linked list with this new PropTween. Remember, we call _tweenComplexCSSString.call(pluginInstance...) to ensure that it's scoped properly. We may call it from within another plugin too, thus "this" would refer to the plugin. return pt; }, _keywordToPercent = { top: "0%", bottom: "100%", left: "0%", right: "100%", center: "50%" }, _convertKeywordsToPercentages = function _convertKeywordsToPercentages(value) { var split = value.split(" "), x = split[0], y = split[1] || "50%"; if (x === "top" || x === "bottom" || y === "left" || y === "right") { //the user provided them in the wrong order, so flip them value = x; x = y; y = value; } split[0] = _keywordToPercent[x] || x; split[1] = _keywordToPercent[y] || y; return split.join(" "); }, _renderClearProps = function _renderClearProps(ratio, data) { if (data.tween && data.tween._time === data.tween._dur) { var target = data.t, style = target.style, props = data.u, cache = target._gsap, prop, clearTransforms, i; if (props === "all" || props === true) { style.cssText = ""; clearTransforms = 1; } else { props = props.split(","); i = props.length; while (--i > -1) { prop = props[i]; if (_transformProps[prop]) { clearTransforms = 1; prop = prop === "transformOrigin" ? _transformOriginProp : _transformProp; } _removeProperty(target, prop); } } if (clearTransforms) { _removeProperty(target, _transformProp); if (cache) { cache.svg && target.removeAttribute("transform"); _parseTransform(target, 1); // force all the cached values back to "normal"/identity, otherwise if there's another tween that's already set to render transforms on this element, it could display the wrong values. cache.uncache = 1; } } } }, // note: specialProps should return 1 if (and only if) they have a non-zero priority. It indicates we need to sort the linked list. _specialProps = { clearProps: function clearProps(plugin, target, property, endValue, tween) { if (tween.data !== "isFromStart") { var pt = plugin._pt = new _gsapCore.PropTween(plugin._pt, target, property, 0, 0, _renderClearProps); pt.u = endValue; pt.pr = -10; pt.tween = tween; plugin._props.push(property); return 1; } } /* className feature (about 0.4kb gzipped). , className(plugin, target, property, endValue, tween) { let _renderClassName = (ratio, data) => { data.css.render(ratio, data.css); if (!ratio || ratio === 1) { let inline = data.rmv, target = data.t, p; target.setAttribute("class", ratio ? data.e : data.b); for (p in inline) { _removeProperty(target, p); } } }, _getAllStyles = (target) => { let styles = {}, computed = getComputedStyle(target), p; for (p in computed) { if (isNaN(p) && p !== "cssText" && p !== "length") { styles[p] = computed[p]; } } _setDefaults(styles, _parseTransform(target, 1)); return styles; }, startClassList = target.getAttribute("class"), style = target.style, cssText = style.cssText, cache = target._gsap, classPT = cache.classPT, inlineToRemoveAtEnd = {}, data = {t:target, plugin:plugin, rmv:inlineToRemoveAtEnd, b:startClassList, e:(endValue.charAt(1) !== "=") ? endValue : startClassList.replace(new RegExp("(?:\\s|^)" + endValue.substr(2) + "(?![\\w-])"), "") + ((endValue.charAt(0) === "+") ? " " + endValue.substr(2) : "")}, changingVars = {}, startVars = _getAllStyles(target), transformRelated = /(transform|perspective)/i, endVars, p; if (classPT) { classPT.r(1, classPT.d); _removeLinkedListItem(classPT.d.plugin, classPT, "_pt"); } target.setAttribute("class", data.e); endVars = _getAllStyles(target, true); target.setAttribute("class", startClassList); for (p in endVars) { if (endVars[p] !== startVars[p] && !transformRelated.test(p)) { changingVars[p] = endVars[p]; if (!style[p] && style[p] !== "0") { inlineToRemoveAtEnd[p] = 1; } } } cache.classPT = plugin._pt = new PropTween(plugin._pt, target, "className", 0, 0, _renderClassName, data, 0, -11); if (style.cssText !== cssText) { //only apply if things change. Otherwise, in cases like a background-image that's pulled dynamically, it could cause a refresh. See https://greensock.com/forums/topic/20368-possible-gsap-bug-switching-classnames-in-chrome/. style.cssText = cssText; //we recorded cssText before we swapped classes and ran _getAllStyles() because in cases when a className tween is overwritten, we remove all the related tweening properties from that class change (otherwise class-specific stuff can't override properties we've directly set on the target's style object due to specificity). } _parseTransform(target, true); //to clear the caching of transforms data.css = new gsap.plugins.css(); data.css.init(target, changingVars, tween); plugin._props.push(...data.css._props); return 1; } */ }, /* * -------------------------------------------------------------------------------------- * TRANSFORMS * -------------------------------------------------------------------------------------- */ _identity2DMatrix = [1, 0, 0, 1, 0, 0], _rotationalProperties = {}, _isNullTransform = function _isNullTransform(value) { return value === "matrix(1, 0, 0, 1, 0, 0)" || value === "none" || !value; }, _getComputedTransformMatrixAsArray = function _getComputedTransformMatrixAsArray(target) { var matrixString = _getComputedProperty(target, _transformProp); return _isNullTransform(matrixString) ? _identity2DMatrix : matrixString.substr(7).match(_gsapCore._numExp).map(_gsapCore._round); }, _getMatrix = function _getMatrix(target, force2D) { var cache = target._gsap || (0, _gsapCore._getCache)(target), style = target.style, matrix = _getComputedTransformMatrixAsArray(target), parent, nextSibling, temp, addedToDOM; if (cache.svg && target.getAttribute("transform")) { temp = target.transform.baseVal.consolidate().matrix; //ensures that even complex values like "translate(50,60) rotate(135,0,0)" are parsed because it mashes it into a matrix. matrix = [temp.a, temp.b, temp.c, temp.d, temp.e, temp.f]; return matrix.join(",") === "1,0,0,1,0,0" ? _identity2DMatrix : matrix; } else if (matrix === _identity2DMatrix && !target.offsetParent && target !== _docElement && !cache.svg) { //note: if offsetParent is null, that means the element isn't in the normal document flow, like if it has display:none or one of its ancestors has display:none). Firefox returns null for getComputedStyle() if the element is in an iframe that has display:none. https://bugzilla.mozilla.org/show_bug.cgi?id=548397 //browsers don't report transforms accurately unless the element is in the DOM and has a display value that's not "none". Firefox and Microsoft browsers have a partial bug where they'll report transforms even if display:none BUT not any percentage-based values like translate(-50%, 8px) will be reported as if it's translate(0, 8px). temp = style.display; style.display = "block"; parent = target.parentNode; if (!parent || !target.offsetParent) { // note: in 3.3.0 we switched target.offsetParent to _doc.body.contains(target) to avoid [sometimes unnecessary] MutationObserver calls but that wasn't adequate because there are edge cases where nested position: fixed elements need to get reparented to accurately sense transforms. See https://github.com/greensock/GSAP/issues/388 and https://github.com/greensock/GSAP/issues/375 addedToDOM = 1; //flag nextSibling = target.nextSibling; _docElement.appendChild(target); //we must add it to the DOM in order to get values properly } matrix = _getComputedTransformMatrixAsArray(target); temp ? style.display = temp : _removeProperty(target, "display"); if (addedToDOM) { nextSibling ? parent.insertBefore(target, nextSibling) : parent ? parent.appendChild(target) : _docElement.removeChild(target); } } return force2D && matrix.length > 6 ? [matrix[0], matrix[1], matrix[4], matrix[5], matrix[12], matrix[13]] : matrix; }, _applySVGOrigin = function _applySVGOrigin(target, origin, originIsAbsolute, smooth, matrixArray, pluginToAddPropTweensTo) { var cache = target._gsap, matrix = matrixArray || _getMatrix(target, true), xOriginOld = cache.xOrigin || 0, yOriginOld = cache.yOrigin || 0, xOffsetOld = cache.xOffset || 0, yOffsetOld = cache.yOffset || 0, a = matrix[0], b = matrix[1], c = matrix[2], d = matrix[3], tx = matrix[4], ty = matrix[5], originSplit = origin.split(" "), xOrigin = parseFloat(originSplit[0]) || 0, yOrigin = parseFloat(originSplit[1]) || 0, bounds, determinant, x, y; if (!originIsAbsolute) { bounds = _getBBox(target); xOrigin = bounds.x + (~originSplit[0].indexOf("%") ? xOrigin / 100 * bounds.width : xOrigin); yOrigin = bounds.y + (~(originSplit[1] || originSplit[0]).indexOf("%") ? yOrigin / 100 * bounds.height : yOrigin); } else if (matrix !== _identity2DMatrix && (determinant = a * d - b * c)) { //if it's zero (like if scaleX and scaleY are zero), skip it to avoid errors with dividing by zero. x = xOrigin * (d / determinant) + yOrigin * (-c / determinant) + (c * ty - d * tx) / determinant; y = xOrigin * (-b / determinant) + yOrigin * (a / determinant) - (a * ty - b * tx) / determinant; xOrigin = x; yOrigin = y; } if (smooth || smooth !== false && cache.smooth) { tx = xOrigin - xOriginOld; ty = yOrigin - yOriginOld; cache.xOffset = xOffsetOld + (tx * a + ty * c) - tx; cache.yOffset = yOffsetOld + (tx * b + ty * d) - ty; } else { cache.xOffset = cache.yOffset = 0; } cache.xOrigin = xOrigin; cache.yOrigin = yOrigin; cache.smooth = !!smooth; cache.origin = origin; cache.originIsAbsolute = !!originIsAbsolute; target.style[_transformOriginProp] = "0px 0px"; //otherwise, if someone sets an origin via CSS, it will likely interfere with the SVG transform attribute ones (because remember, we're baking the origin into the matrix() value). if (pluginToAddPropTweensTo) { _addNonTweeningPT(pluginToAddPropTweensTo, cache, "xOrigin", xOriginOld, xOrigin); _addNonTweeningPT(pluginToAddPropTweensTo, cache, "yOrigin", yOriginOld, yOrigin); _addNonTweeningPT(pluginToAddPropTweensTo, cache, "xOffset", xOffsetOld, cache.xOffset); _addNonTweeningPT(pluginToAddPropTweensTo, cache, "yOffset", yOffsetOld, cache.yOffset); } target.setAttribute("data-svg-origin", xOrigin + " " + yOrigin); }, _parseTransform = function _parseTransform(target, uncache) { var cache = target._gsap || new _gsapCore.GSCache(target); if ("x" in cache && !uncache && !cache.uncache) { return cache; } var style = target.style, invertedScaleX = cache.scaleX < 0, px = "px", deg = "deg", origin = _getComputedProperty(target, _transformOriginProp) || "0", x, y, z, scaleX, scaleY, rotation, rotationX, rotationY, skewX, skewY, perspective, xOrigin, yOrigin, matrix, angle, cos, sin, a, b, c, d, a12, a22, t1, t2, t3, a13, a23, a33, a42, a43, a32; x = y = z = rotation = rotationX = rotationY = skewX = skewY = perspective = 0; scaleX = scaleY = 1; cache.svg = !!(target.getCTM && _isSVG(target)); matrix = _getMatrix(target, cache.svg); if (cache.svg) { t1 = !cache.uncache && target.getAttribute("data-svg-origin"); _applySVGOrigin(target, t1 || origin, !!t1 || cache.originIsAbsolute, cache.smooth !== false, matrix); } xOrigin = cache.xOrigin || 0; yOrigin = cache.yOrigin || 0; if (matrix !== _identity2DMatrix) { a = matrix[0]; //a11 b = matrix[1]; //a21 c = matrix[2]; //a31 d = matrix[3]; //a41 x = a12 = matrix[4]; y = a22 = matrix[5]; //2D matrix if (matrix.length === 6) { scaleX = Math.sqrt(a * a + b * b); scaleY = Math.sqrt(d * d + c * c); rotation = a || b ? _atan2(b, a) * _RAD2DEG : 0; //note: if scaleX is 0, we cannot accurately measure rotation. Same for skewX with a scaleY of 0. Therefore, we default to the previously recorded value (or zero if that doesn't exist). skewX = c || d ? _atan2(c, d) * _RAD2DEG + rotation : 0; skewX && (scaleY *= Math.cos(skewX * _DEG2RAD)); if (cache.svg) { x -= xOrigin - (xOrigin * a + yOrigin * c); y -= yOrigin - (xOrigin * b + yOrigin * d); } //3D matrix } else { a32 = matrix[6]; a42 = matrix[7]; a13 = matrix[8]; a23 = matrix[9]; a33 = matrix[10]; a43 = matrix[11]; x = matrix[12]; y = matrix[13]; z = matrix[14]; angle = _atan2(a32, a33); rotationX = angle * _RAD2DEG; //rotationX if (angle) { cos = Math.cos(-angle); sin = Math.sin(-angle); t1 = a12 * cos + a13 * sin; t2 = a22 * cos + a23 * sin; t3 = a32 * cos + a33 * sin; a13 = a12 * -sin + a13 * cos; a23 = a22 * -sin + a23 * cos; a33 = a32 * -sin + a33 * cos; a43 = a42 * -sin + a43 * cos; a12 = t1; a22 = t2; a32 = t3; } //rotationY angle = _atan2(-c, a33); rotationY = angle * _RAD2DEG; if (angle) { cos = Math.cos(-angle); sin = Math.sin(-angle); t1 = a * cos - a13 * sin; t2 = b * cos - a23 * sin; t3 = c * cos - a33 * sin; a43 = d * sin + a43 * cos; a = t1; b = t2; c = t3; } //rotationZ angle = _atan2(b, a); rotation = angle * _RAD2DEG; if (angle) { cos = Math.cos(angle); sin = Math.sin(angle); t1 = a * cos + b * sin; t2 = a12 * cos + a22 * sin; b = b * cos - a * sin; a22 = a22 * cos - a12 * sin; a = t1; a12 = t2; } if (rotationX && Math.abs(rotationX) + Math.abs(rotation) > 359.9) { //when rotationY is set, it will often be parsed as 180 degrees different than it should be, and rotationX and rotation both being 180 (it looks the same), so we adjust for that here. rotationX = rotation = 0; rotationY = 180 - rotationY; } scaleX = (0, _gsapCore._round)(Math.sqrt(a * a + b * b + c * c)); scaleY = (0, _gsapCore._round)(Math.sqrt(a22 * a22 + a32 * a32)); angle = _atan2(a12, a22); skewX = Math.abs(angle) > 0.0002 ? angle * _RAD2DEG : 0; perspective = a43 ? 1 / (a43 < 0 ? -a43 : a43) : 0; } if (cache.svg) { //sense if there are CSS transforms applied on an SVG element in which case we must overwrite them when rendering. The transform attribute is more reliable cross-browser, but we can't just remove the CSS ones because they may be applied in a CSS rule somewhere (not just inline). t1 = target.getAttribute("transform"); cache.forceCSS = target.setAttribute("transform", "") || !_isNullTransform(_getComputedProperty(target, _transformProp)); t1 && target.setAttribute("transform", t1); } } if (Math.abs(skewX) > 90 && Math.abs(skewX) < 270) { if (invertedScaleX) { scaleX *= -1; skewX += rotation <= 0 ? 180 : -180; rotation += rotation <= 0 ? 180 : -180; } else { scaleY *= -1; skewX += skewX <= 0 ? 180 : -180; } } cache.x = ((cache.xPercent = x && Math.round(target.offsetWidth / 2) === Math.round(-x) ? -50 : 0) ? 0 : x) + px; cache.y = ((cache.yPercent = y && Math.round(target.offsetHeight / 2) === Math.round(-y) ? -50 : 0) ? 0 : y) + px; cache.z = z + px; cache.scaleX = (0, _gsapCore._round)(scaleX); cache.scaleY = (0, _gsapCore._round)(scaleY); cache.rotation = (0, _gsapCore._round)(rotation) + deg; cache.rotationX = (0, _gsapCore._round)(rotationX) + deg; cache.rotationY = (0, _gsapCore._round)(rotationY) + deg; cache.skewX = skewX + deg; cache.skewY = skewY + deg; cache.transformPerspective = perspective + px; if (cache.zOrigin = parseFloat(origin.split(" ")[2]) || 0) { style[_transformOriginProp] = _firstTwoOnly(origin); } cache.xOffset = cache.yOffset = 0; cache.force3D = _gsapCore._config.force3D; cache.renderTransform = cache.svg ? _renderSVGTransforms : _supports3D ? _renderCSSTransforms : _renderNon3DTransforms; cache.uncache = 0; return cache; }, _firstTwoOnly = function _firstTwoOnly(value) { return (value = value.split(" "))[0] + " " + value[1]; }, //for handling transformOrigin values, stripping out the 3rd dimension _addPxTranslate = function _addPxTranslate(target, start, value) { var unit = (0, _gsapCore.getUnit)(start); return (0, _gsapCore._round)(parseFloat(start) + parseFloat(_convertToUnit(target, "x", value + "px", unit))) + unit; }, _renderNon3DTransforms = function _renderNon3DTransforms(ratio, cache) { cache.z = "0px"; cache.rotationY = cache.rotationX = "0deg"; cache.force3D = 0; _renderCSSTransforms(ratio, cache); }, _zeroDeg = "0deg", _zeroPx = "0px", _endParenthesis = ") ", _renderCSSTransforms = function _renderCSSTransforms(ratio, cache) { var _ref = cache || this, xPercent = _ref.xPercent, yPercent = _ref.yPercent, x = _ref.x, y = _ref.y, z = _ref.z, rotation = _ref.rotation, rotationY = _ref.rotationY, rotationX = _ref.rotationX, skewX = _ref.skewX, skewY = _ref.skewY, scaleX = _ref.scaleX, scaleY = _ref.scaleY, transformPerspective = _ref.transformPerspective, force3D = _ref.force3D, target = _ref.target, zOrigin = _ref.zOrigin, transforms = "", use3D = force3D === "auto" && ratio && ratio !== 1 || force3D === true; // Safari has a bug that causes it not to render 3D transform-origin values properly, so we force the z origin to 0, record it in the cache, and then do the math here to offset the translate values accordingly (basically do the 3D transform-origin part manually) if (zOrigin && (rotationX !== _zeroDeg || rotationY !== _zeroDeg)) { var angle = parseFloat(rotationY) * _DEG2RAD, a13 = Math.sin(angle), a33 = Math.cos(angle), cos; angle = parseFloat(rotationX) * _DEG2RAD; cos = Math.cos(angle); x = _addPxTranslate(target, x, a13 * cos * -zOrigin); y = _addPxTranslate(target, y, -Math.sin(angle) * -zOrigin); z = _addPxTranslate(target, z, a33 * cos * -zOrigin + zOrigin); } if (transformPerspective !== _zeroPx) { transforms += "perspective(" + transformPerspective + _endParenthesis; } if (xPercent || yPercent) { transforms += "translate(" + xPercent + "%, " + yPercent + "%) "; } if (use3D || x !== _zeroPx || y !== _zeroPx || z !== _zeroPx) { transforms += z !== _zeroPx || use3D ? "translate3d(" + x + ", " + y + ", " + z + ") " : "translate(" + x + ", " + y + _endParenthesis; } if (rotation !== _zeroDeg) { transforms += "rotate(" + rotation + _endParenthesis; } if (rotationY !== _zeroDeg) { transforms += "rotateY(" + rotationY + _endParenthesis; } if (rotationX !== _zeroDeg) { transforms += "rotateX(" + rotationX + _endParenthesis; } if (skewX !== _zeroDeg || skewY !== _zeroDeg) { transforms += "skew(" + skewX + ", " + skewY + _endParenthesis; } if (scaleX !== 1 || scaleY !== 1) { transforms += "scale(" + scaleX + ", " + scaleY + _endParenthesis; } target.style[_transformProp] = transforms || "translate(0, 0)"; }, _renderSVGTransforms = function _renderSVGTransforms(ratio, cache) { var _ref2 = cache || this, xPercent = _ref2.xPercent, yPercent = _ref2.yPercent, x = _ref2.x, y = _ref2.y, rotation = _ref2.rotation, skewX = _ref2.skewX, skewY = _ref2.skewY, scaleX = _ref2.scaleX, scaleY = _ref2.scaleY, target = _ref2.target, xOrigin = _ref2.xOrigin, yOrigin = _ref2.yOrigin, xOffset = _ref2.xOffset, yOffset = _ref2.yOffset, forceCSS = _ref2.forceCSS, tx = parseFloat(x), ty = parseFloat(y), a11, a21, a12, a22, temp; rotation = parseFloat(rotation); skewX = parseFloat(skewX); skewY = parseFloat(skewY); if (skewY) { //for performance reasons, we combine all skewing into the skewX and rotation values. Remember, a skewY of 10 degrees looks the same as a rotation of 10 degrees plus a skewX of 10 degrees. skewY = parseFloat(skewY); skewX += skewY; rotation += skewY; } if (rotation || skewX) { rotation *= _DEG2RAD; skewX *= _DEG2RAD; a11 = Math.cos(rotation) * scaleX; a21 = Math.sin(rotation) * scaleX; a12 = Math.sin(rotation - skewX) * -scaleY; a22 = Math.cos(rotation - skewX) * scaleY; if (skewX) { skewY *= _DEG2RAD; temp = Math.tan(skewX - skewY); temp = Math.sqrt(1 + temp * temp); a12 *= temp; a22 *= temp; if (skewY) { temp = Math.tan(skewY); temp = Math.sqrt(1 + temp * temp); a11 *= temp; a21 *= temp; } } a11 = (0, _gsapCore._round)(a11); a21 = (0, _gsapCore._round)(a21); a12 = (0, _gsapCore._round)(a12); a22 = (0, _gsapCore._round)(a22); } else { a11 = scaleX; a22 = scaleY; a21 = a12 = 0; } if (tx && !~(x + "").indexOf("px") || ty && !~(y + "").indexOf("px")) { tx = _convertToUnit(target, "x", x, "px"); ty = _convertToUnit(target, "y", y, "px"); } if (xOrigin || yOrigin || xOffset || yOffset) { tx = (0, _gsapCore._round)(tx + xOrigin - (xOrigin * a11 + yOrigin * a12) + xOffset); ty = (0, _gsapCore._round)(ty + yOrigin - (xOrigin * a21 + yOrigin * a22) + yOffset); } if (xPercent || yPercent) { //The SVG spec doesn't support percentage-based translation in the "transform" attribute, so we merge it into the translation to simulate it. temp = target.getBBox(); tx = (0, _gsapCore._round)(tx + xPercent / 100 * temp.width); ty = (0, _gsapCore._round)(ty + yPercent / 100 * temp.height); } temp = "matrix(" + a11 + "," + a21 + "," + a12 + "," + a22 + "," + tx + "," + ty + ")"; target.setAttribute("transform", temp); if (forceCSS) { //some browsers prioritize CSS transforms over the transform attribute. When we sense that the user has CSS transforms applied, we must overwrite them this way (otherwise some browser simply won't render the transform attribute changes!) target.style[_transformProp] = temp; } }, _addRotationalPropTween = function _addRotationalPropTween(plugin, target, property, startNum, endValue, relative) { var cap = 360, isString = (0, _gsapCore._isString)(endValue), endNum = parseFloat(endValue) * (isString && ~endValue.indexOf("rad") ? _RAD2DEG : 1), change = relative ? endNum * relative : endNum - startNum, finalValue = startNum + change + "deg", direction, pt; if (isString) { direction = endValue.split("_")[1]; if (direction === "short") { change %= cap; if (change !== change % (cap / 2)) { change += change < 0 ? cap : -cap; } } if (direction === "cw" && change < 0) { change = (change + cap * _bigNum) % cap - ~~(change / cap) * cap; } else if (direction === "ccw" && change > 0) { change = (change - cap * _bigNum) % cap - ~~(change / cap) * cap; } } plugin._pt = pt = new _gsapCore.PropTween(plugin._pt, target, property, startNum, change, _renderPropWithEnd); pt.e = finalValue; pt.u = "deg"; plugin._props.push(property); return pt; }, _addRawTransformPTs = function _addRawTransformPTs(plugin, transforms, target) { //for handling cases where someone passes in a whole transform string, like transform: "scale(2, 3) rotate(20deg) translateY(30em)" var style = _tempDivStyler.style, startCache = target._gsap, exclude = "perspective,force3D,transformOrigin,svgOrigin", endCache, p, startValue, endValue, startNum, endNum, startUnit, endUnit; style.cssText = getComputedStyle(target).cssText + ";position:absolute;display:block;"; //%-based translations will fail unless we set the width/height to match the original target (and padding/borders can affect it) style[_transformProp] = transforms; _doc.body.appendChild(_tempDivStyler); endCache = _parseTransform(_tempDivStyler, 1); for (p in _transformProps) { startValue = startCache[p]; endValue = endCache[p]; if (startValue !== endValue && exclude.indexOf(p) < 0) { //tweening to no perspective gives very unintuitive results - just keep the same perspective in that case. startUnit = (0, _gsapCore.getUnit)(startValue); endUnit = (0, _gsapCore.getUnit)(endValue); startNum = startUnit !== endUnit ? _convertToUnit(target, p, startValue, endUnit) : parseFloat(startValue); endNum = parseFloat(endValue); plugin._pt = new _gsapCore.PropTween(plugin._pt, startCache, p, startNum, endNum - startNum, _renderCSSProp); plugin._pt.u = endUnit || 0; plugin._props.push(p); } } _doc.body.removeChild(_tempDivStyler); }; // handle splitting apart padding, margin, borderWidth, and borderRadius into their 4 components. Firefox, for example, won't report borderRadius correctly - it will only do borderTopLeftRadius and the other corners. We also want to handle paddingTop, marginLeft, borderRightWidth, etc. exports._getBBox = _getBBox; exports.checkPrefix = _checkPropPrefix; exports._createElement = _createElement; (0, _gsapCore._forEachName)("padding,margin,Width,Radius", function (name, index) { var t = "Top", r = "Right", b = "Bottom", l = "Left", props = (index < 3 ? [t, r, b, l] : [t + l, t + r, b + r, b + l]).map(function (side) { return index < 2 ? name + side : "border" + side + name; }); _specialProps[index > 1 ? "border" + name : name] = function (plugin, target, property, endValue, tween) { var a, vars; if (arguments.length < 4) { // getter, passed target, property, and unit (from _get()) a = props.map(function (prop) { return _get(plugin, prop, property); }); vars = a.join(" "); return vars.split(a[0]).length === 5 ? a[0] : vars; } a = (endValue + "").split(" "); vars = {}; props.forEach(function (prop, i) { return vars[prop] = a[i] = a[i] || a[(i - 1) / 2 | 0]; }); plugin.init(target, vars, tween); }; }); var CSSPlugin = { name: "css", register: _initCore, targetTest: function targetTest(target) { return target.style && target.nodeType; }, init: function init(target, vars, tween, index, targets) { var props = this._props, style = target.style, startValue, endValue, endNum, startNum, type, specialProp, p, startUnit, endUnit, relative, isTransformRelated, transformPropTween, cache, smooth, hasPriority; if (!_pluginInitted) { _initCore(); } for (p in vars) { if (p === "autoRound") { continue; } endValue = vars[p]; if (_gsapCore._plugins[p] && (0, _gsapCore._checkPlugin)(p, vars, tween, index, target, targets)) { //plugins continue; } type = typeof endValue; specialProp = _specialProps[p]; if (type === "function") { endValue = endValue.call(tween, index, target, targets); type = typeof endValue; } if (type === "string" && ~endValue.indexOf("random(")) { endValue = (0, _gsapCore._replaceRandom)(endValue); } if (specialProp) { if (specialProp(this, target, p, endValue, tween)) { hasPriority = 1; } } else if (p.substr(0, 2) === "--") { //CSS variable this.add(style, "setProperty", getComputedStyle(target).getPropertyValue(p) + "", endValue + "", index, targets, 0, 0, p); } else { startValue = _get(target, p); startNum = parseFloat(startValue); relative = type === "string" && endValue.charAt(1) === "=" ? +(endValue.charAt(0) + "1") : 0; if (relative) { endValue = endValue.substr(2); } endNum = parseFloat(endValue); if (p in _propertyAliases) { if (p === "autoAlpha") { //special case where we control the visibility along with opacity. We still allow the opacity value to pass through and get tweened. if (startNum === 1 && _get(target, "visibility") === "hidden" && endNum) { //if visibility is initially set to "hidden", we should interpret that as intent to make opacity 0 (a convenience) startNum = 0; } _addNonTweeningPT(this, style, "visibility", startNum ? "inherit" : "hidden", endNum ? "inherit" : "hidden", !endNum); } if (p !== "scale" && p !== "transform") { p = _propertyAliases[p]; if (~p.indexOf(",")) { p = p.split(",")[0]; } } } isTransformRelated = p in _transformProps; //--- TRANSFORM-RELATED --- if (isTransformRelated) { if (!transformPropTween) { cache = target._gsap; cache.renderTransform || _parseTransform(target); // if, for example, gsap.set(... {transform:"translateX(50vw)"}), the _get() call doesn't parse the transform, thus cache.renderTransform won't be set yet so force the parsing of the transform here. smooth = vars.smoothOrigin !== false && cache.smooth; transformPropTween = this._pt = new _gsapCore.PropTween(this._pt, style, _transformProp, 0, 1, cache.renderTransform, cache, 0, -1); //the first time through, create the rendering PropTween so that it runs LAST (in the linked list, we keep adding to the beginning) transformPropTween.dep = 1; //flag it as dependent so that if things get killed/overwritten and this is the only PropTween left, we can safely kill the whole tween. } if (p === "scale") { this._pt = new _gsapCore.PropTween(this._pt, cache, "scaleY", cache.scaleY, relative ? relative * endNum : endNum - cache.scaleY); props.push("scaleY", p); p += "X"; } else if (p === "transformOrigin") { endValue = _convertKeywordsToPercentages(endValue); //in case something like "left top" or "bottom right" is passed in. Convert to percentages. if (cache.svg) { _applySVGOrigin(target, endValue, 0, smooth, 0, this); } else { endUnit = parseFloat(endValue.split(" ")[2]) || 0; //handle the zOrigin separately! if (endUnit !== cache.zOrigin) { _addNonTweeningPT(this, cache, "zOrigin", cache.zOrigin, endUnit); } _addNonTweeningPT(this, style, p, _firstTwoOnly(startValue), _firstTwoOnly(endValue)); } continue; } else if (p === "svgOrigin") { _applySVGOrigin(target, endValue, 1, smooth, 0, this); continue; } else if (p in _rotationalProperties) { _addRotationalPropTween(this, cache, p, startNum, endValue, relative); continue; } else if (p === "smoothOrigin") { _addNonTweeningPT(this, cache, "smooth", cache.smooth, endValue); continue; } else if (p === "force3D") { cache[p] = endValue; continue; } else if (p === "transform") { _addRawTransformPTs(this, endValue, target); continue; } } else if (!(p in style)) { p = _checkPropPrefix(p) || p; } if (isTransformRelated || (endNum || endNum === 0) && (startNum || startNum === 0) && !_complexExp.test(endValue) && p in style) { startUnit = (startValue + "").substr((startNum + "").length); endNum || (endNum = 0); // protect against NaN endUnit = (endValue + "").substr((endNum + "").length) || (p in _gsapCore._config.units ? _gsapCore._config.units[p] : startUnit); if (startUnit !== endUnit) { startNum = _convertToUnit(target, p, startValue, endUnit); } this._pt = new _gsapCore.PropTween(this._pt, isTransformRelated ? cache : style, p, startNum, relative ? relative * endNum : endNum - startNum, endUnit === "px" && vars.autoRound !== false && !isTransformRelated ? _renderRoundedCSSProp : _renderCSSProp); this._pt.u = endUnit || 0; if (startUnit !== endUnit) { //when the tween goes all the way back to the beginning, we need to revert it to the OLD/ORIGINAL value (with those units). We record that as a "b" (beginning) property and point to a render method that handles that. (performance optimization) this._pt.b = startValue; this._pt.r = _renderCSSPropWithBeginning; } } else if (!(p in style)) { if (p in target) { //maybe it's not a style - it could be a property added directly to an element in which case we'll try to animate that. this.add(target, p, target[p], endValue, index, targets); } else { (0, _gsapCore._missingPlugin)(p, endValue); continue; } } else { _tweenComplexCSSString.call(this, target, p, startValue, endValue); } props.push(p); } } if (hasPriority) { (0, _gsapCore._sortPropTweensByPriority)(this); } }, get: _get, aliases: _propertyAliases, getSetter: function getSetter(target, property, plugin) { //returns a setter function that accepts target, property, value and applies it accordingly. Remember, properties like "x" aren't as simple as target.style.property = value because they've got to be applied to a proxy object and then merged into a transform string in a renderer. var p = _propertyAliases[property]; p && p.indexOf(",") < 0 && (property = p); return property in _transformProps && property !== _transformOriginProp && (target._gsap.x || _get(target, "x")) ? plugin && _recentSetterPlugin === plugin ? property === "scale" ? _setterScale : _setterTransform : (_recentSetterPlugin = plugin || {}) && (property === "scale" ? _setterScaleWithRender : _setterTransformWithRender) : target.style && !(0, _gsapCore._isUndefined)(target.style[property]) ? _setterCSSStyle : ~property.indexOf("-") ? _setterCSSProp : (0, _gsapCore._getSetter)(target, property); }, core: { _removeProperty: _removeProperty, _getMatrix: _getMatrix } }; exports.default = exports.CSSPlugin = CSSPlugin; _gsapCore.gsap.utils.checkPrefix = _checkPropPrefix; (function (positionAndScale, rotation, others, aliases) { var all = (0, _gsapCore._forEachName)(positionAndScale + "," + rotation + "," + others, function (name) { _transformProps[name] = 1; }); (0, _gsapCore._forEachName)(rotation, function (name) { _gsapCore._config.units[name] = "deg"; _rotationalProperties[name] = 1; }); _propertyAliases[all[13]] = positionAndScale + "," + rotation; (0, _gsapCore._forEachName)(aliases, function (name) { var split = name.split(":"); _propertyAliases[split[1]] = all[split[0]]; }); })("x,y,z,scale,scaleX,scaleY,xPercent,yPercent", "rotation,rotationX,rotationY,skewX,skewY", "transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective", "0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"); (0, _gsapCore._forEachName)("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective", function (name) { _gsapCore._config.units[name] = "px"; }); _gsapCore.gsap.registerPlugin(CSSPlugin); },{"./gsap-core.js":"../node_modules/gsap/gsap-core.js"}],"../node_modules/gsap/index.js":[function(require,module,exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "Power0", { enumerable: true, get: function () { return _gsapCore.Power0; } }); Object.defineProperty(exports, "Power1", { enumerable: true, get: function () { return _gsapCore.Power1; } }); Object.defineProperty(exports, "Power2", { enumerable: true, get: function () { return _gsapCore.Power2; } }); Object.defineProperty(exports, "Power3", { enumerable: true, get: function () { return _gsapCore.Power3; } }); Object.defineProperty(exports, "Power4", { enumerable: true, get: function () { return _gsapCore.Power4; } }); Object.defineProperty(exports, "Linear", { enumerable: true, get: function () { return _gsapCore.Linear; } }); Object.defineProperty(exports, "Quad", { enumerable: true, get: function () { return _gsapCore.Quad; } }); Object.defineProperty(exports, "Cubic", { enumerable: true, get: function () { return _gsapCore.Cubic; } }); Object.defineProperty(exports, "Quart", { enumerable: true, get: function () { return _gsapCore.Quart; } }); Object.defineProperty(exports, "Quint", { enumerable: true, get: function () { return _gsapCore.Quint; } }); Object.defineProperty(exports, "Strong", { enumerable: true, get: function () { return _gsapCore.Strong; } }); Object.defineProperty(exports, "Elastic", { enumerable: true, get: function () { return _gsapCore.Elastic; } }); Object.defineProperty(exports, "Back", { enumerable: true, get: function () { return _gsapCore.Back; } }); Object.defineProperty(exports, "SteppedEase", { enumerable: true, get: function () { return _gsapCore.SteppedEase; } }); Object.defineProperty(exports, "Bounce", { enumerable: true, get: function () { return _gsapCore.Bounce; } }); Object.defineProperty(exports, "Sine", { enumerable: true, get: function () { return _gsapCore.Sine; } }); Object.defineProperty(exports, "Expo", { enumerable: true, get: function () { return _gsapCore.Expo; } }); Object.defineProperty(exports, "Circ", { enumerable: true, get: function () { return _gsapCore.Circ; } }); Object.defineProperty(exports, "TweenLite", { enumerable: true, get: function () { return _gsapCore.TweenLite; } }); Object.defineProperty(exports, "TimelineLite", { enumerable: true, get: function () { return _gsapCore.TimelineLite; } }); Object.defineProperty(exports, "TimelineMax", { enumerable: true, get: function () { return _gsapCore.TimelineMax; } }); Object.defineProperty(exports, "CSSPlugin", { enumerable: true, get: function () { return _CSSPlugin.CSSPlugin; } }); exports.TweenMax = exports.default = exports.gsap = void 0; var _gsapCore = require("./gsap-core.js"); var _CSSPlugin = require("./CSSPlugin.js"); var gsapWithCSS = _gsapCore.gsap.registerPlugin(_CSSPlugin.CSSPlugin) || _gsapCore.gsap, // to protect from tree shaking TweenMaxWithCSS = gsapWithCSS.core.Tween; exports.TweenMax = TweenMaxWithCSS; exports.default = exports.gsap = gsapWithCSS; },{"./gsap-core.js":"../node_modules/gsap/gsap-core.js","./CSSPlugin.js":"../node_modules/gsap/CSSPlugin.js"}],"../node_modules/ev-emitter/ev-emitter.js":[function(require,module,exports) { var define; var global = arguments[3]; /** * EvEmitter v1.1.0 * Lil' event emitter * MIT License */ /* jshint unused: true, undef: true, strict: true */ ( function( global, factory ) { // universal module definition /* jshint strict: false */ /* globals define, module, window */ if ( typeof define == 'function' && define.amd ) { // AMD - RequireJS define( factory ); } else if ( typeof module == 'object' && module.exports ) { // CommonJS - Browserify, Webpack module.exports = factory(); } else { // Browser globals global.EvEmitter = factory(); } }( typeof window != 'undefined' ? window : this, function() { "use strict"; function EvEmitter() {} var proto = EvEmitter.prototype; proto.on = function( eventName, listener ) { if ( !eventName || !listener ) { return; } // set events hash var events = this._events = this._events || {}; // set listeners array var listeners = events[ eventName ] = events[ eventName ] || []; // only add once if ( listeners.indexOf( listener ) == -1 ) { listeners.push( listener ); } return this; }; proto.once = function( eventName, listener ) { if ( !eventName || !listener ) { return; } // add event this.on( eventName, listener ); // set once flag // set onceEvents hash var onceEvents = this._onceEvents = this._onceEvents || {}; // set onceListeners object var onceListeners = onceEvents[ eventName ] = onceEvents[ eventName ] || {}; // set flag onceListeners[ listener ] = true; return this; }; proto.off = function( eventName, listener ) { var listeners = this._events && this._events[ eventName ]; if ( !listeners || !listeners.length ) { return; } var index = listeners.indexOf( listener ); if ( index != -1 ) { listeners.splice( index, 1 ); } return this; }; proto.emitEvent = function( eventName, args ) { var listeners = this._events && this._events[ eventName ]; if ( !listeners || !listeners.length ) { return; } // copy over to avoid interference if .off() in listener listeners = listeners.slice(0); args = args || []; // once stuff var onceListeners = this._onceEvents && this._onceEvents[ eventName ]; for ( var i=0; i < listeners.length; i++ ) { var listener = listeners[i] var isOnce = onceListeners && onceListeners[ listener ]; if ( isOnce ) { // remove listener // remove before trigger to prevent recursion this.off( eventName, listener ); // unset once flag delete onceListeners[ listener ]; } // trigger listener listener.apply( this, args ); } return this; }; proto.allOff = function() { delete this._events; delete this._onceEvents; }; return EvEmitter; })); },{}],"../node_modules/imagesloaded/imagesloaded.js":[function(require,module,exports) { var define; /*! * imagesLoaded v4.1.4 * JavaScript is all like "You images are done yet or what?" * MIT License */ ( function( window, factory ) { 'use strict'; // universal module definition /*global define: false, module: false, require: false */ if ( typeof define == 'function' && define.amd ) { // AMD define( [ 'ev-emitter/ev-emitter' ], function( EvEmitter ) { return factory( window, EvEmitter ); }); } else if ( typeof module == 'object' && module.exports ) { // CommonJS module.exports = factory( window, require('ev-emitter') ); } else { // browser global window.imagesLoaded = factory( window, window.EvEmitter ); } })( typeof window !== 'undefined' ? window : this, // -------------------------- factory -------------------------- // function factory( window, EvEmitter ) { 'use strict'; var $ = window.jQuery; var console = window.console; // -------------------------- helpers -------------------------- // // extend objects function extend( a, b ) { for ( var prop in b ) { a[ prop ] = b[ prop ]; } return a; } var arraySlice = Array.prototype.slice; // turn element or nodeList into an array function makeArray( obj ) { if ( Array.isArray( obj ) ) { // use object if already an array return obj; } var isArrayLike = typeof obj == 'object' && typeof obj.length == 'number'; if ( isArrayLike ) { // convert nodeList to array return arraySlice.call( obj ); } // array of single index return [ obj ]; } // -------------------------- imagesLoaded -------------------------- // /** * @param {Array, Element, NodeList, String} elem * @param {Object or Function} options - if function, use as callback * @param {Function} onAlways - callback function */ function ImagesLoaded( elem, options, onAlways ) { // coerce ImagesLoaded() without new, to be new ImagesLoaded() if ( !( this instanceof ImagesLoaded ) ) { return new ImagesLoaded( elem, options, onAlways ); } // use elem as selector string var queryElem = elem; if ( typeof elem == 'string' ) { queryElem = document.querySelectorAll( elem ); } // bail if bad element if ( !queryElem ) { console.error( 'Bad element for imagesLoaded ' + ( queryElem || elem ) ); return; } this.elements = makeArray( queryElem ); this.options = extend( {}, this.options ); // shift arguments if no options set if ( typeof options == 'function' ) { onAlways = options; } else { extend( this.options, options ); } if ( onAlways ) { this.on( 'always', onAlways ); } this.getImages(); if ( $ ) { // add jQuery Deferred object this.jqDeferred = new $.Deferred(); } // HACK check async to allow time to bind listeners setTimeout( this.check.bind( this ) ); } ImagesLoaded.prototype = Object.create( EvEmitter.prototype ); ImagesLoaded.prototype.options = {}; ImagesLoaded.prototype.getImages = function() { this.images = []; // filter & find items if we have an item selector this.elements.forEach( this.addElementImages, this ); }; /** * @param {Node} element */ ImagesLoaded.prototype.addElementImages = function( elem ) { // filter siblings if ( elem.nodeName == 'IMG' ) { this.addImage( elem ); } // get background image on element if ( this.options.background === true ) { this.addElementBackgroundImages( elem ); } // find children // no non-element nodes, #143 var nodeType = elem.nodeType; if ( !nodeType || !elementNodeTypes[ nodeType ] ) { return; } var childImgs = elem.querySelectorAll('img'); // concat childElems to filterFound array for ( var i=0; i < childImgs.length; i++ ) { var img = childImgs[i]; this.addImage( img ); } // get child background images if ( typeof this.options.background == 'string' ) { var children = elem.querySelectorAll( this.options.background ); for ( i=0; i < children.length; i++ ) { var child = children[i]; this.addElementBackgroundImages( child ); } } }; var elementNodeTypes = { 1: true, 9: true, 11: true }; ImagesLoaded.prototype.addElementBackgroundImages = function( elem ) { var style = getComputedStyle( elem ); if ( !style ) { // Firefox returns null if in a hidden iframe https://bugzil.la/548397 return; } // get url inside url("...") var reURL = /url\((['"])?(.*?)\1\)/gi; var matches = reURL.exec( style.backgroundImage ); while ( matches !== null ) { var url = matches && matches[2]; if ( url ) { this.addBackground( url, elem ); } matches = reURL.exec( style.backgroundImage ); } }; /** * @param {Image} img */ ImagesLoaded.prototype.addImage = function( img ) { var loadingImage = new LoadingImage( img ); this.images.push( loadingImage ); }; ImagesLoaded.prototype.addBackground = function( url, elem ) { var background = new Background( url, elem ); this.images.push( background ); }; ImagesLoaded.prototype.check = function() { var _this = this; this.progressedCount = 0; this.hasAnyBroken = false; // complete if no images if ( !this.images.length ) { this.complete(); return; } function onProgress( image, elem, message ) { // HACK - Chrome triggers event before object properties have changed. #83 setTimeout( function() { _this.progress( image, elem, message ); }); } this.images.forEach( function( loadingImage ) { loadingImage.once( 'progress', onProgress ); loadingImage.check(); }); }; ImagesLoaded.prototype.progress = function( image, elem, message ) { this.progressedCount++; this.hasAnyBroken = this.hasAnyBroken || !image.isLoaded; // progress event this.emitEvent( 'progress', [ this, image, elem ] ); if ( this.jqDeferred && this.jqDeferred.notify ) { this.jqDeferred.notify( this, image ); } // check if completed if ( this.progressedCount == this.images.length ) { this.complete(); } if ( this.options.debug && console ) { console.log( 'progress: ' + message, image, elem ); } }; ImagesLoaded.prototype.complete = function() { var eventName = this.hasAnyBroken ? 'fail' : 'done'; this.isComplete = true; this.emitEvent( eventName, [ this ] ); this.emitEvent( 'always', [ this ] ); if ( this.jqDeferred ) { var jqMethod = this.hasAnyBroken ? 'reject' : 'resolve'; this.jqDeferred[ jqMethod ]( this ); } }; // -------------------------- -------------------------- // function LoadingImage( img ) { this.img = img; } LoadingImage.prototype = Object.create( EvEmitter.prototype ); LoadingImage.prototype.check = function() { // If complete is true and browser supports natural sizes, // try to check for image status manually. var isComplete = this.getIsImageComplete(); if ( isComplete ) { // report based on naturalWidth this.confirm( this.img.naturalWidth !== 0, 'naturalWidth' ); return; } // If none of the checks above matched, simulate loading on detached element. this.proxyImage = new Image(); this.proxyImage.addEventListener( 'load', this ); this.proxyImage.addEventListener( 'error', this ); // bind to image as well for Firefox. #191 this.img.addEventListener( 'load', this ); this.img.addEventListener( 'error', this ); this.proxyImage.src = this.img.src; }; LoadingImage.prototype.getIsImageComplete = function() { // check for non-zero, non-undefined naturalWidth // fixes Safari+InfiniteScroll+Masonry bug infinite-scroll#671 return this.img.complete && this.img.naturalWidth; }; LoadingImage.prototype.confirm = function( isLoaded, message ) { this.isLoaded = isLoaded; this.emitEvent( 'progress', [ this, this.img, message ] ); }; // ----- events ----- // // trigger specified handler for event type LoadingImage.prototype.handleEvent = function( event ) { var method = 'on' + event.type; if ( this[ method ] ) { this[ method ]( event ); } }; LoadingImage.prototype.onload = function() { this.confirm( true, 'onload' ); this.unbindEvents(); }; LoadingImage.prototype.onerror = function() { this.confirm( false, 'onerror' ); this.unbindEvents(); }; LoadingImage.prototype.unbindEvents = function() { this.proxyImage.removeEventListener( 'load', this ); this.proxyImage.removeEventListener( 'error', this ); this.img.removeEventListener( 'load', this ); this.img.removeEventListener( 'error', this ); }; // -------------------------- Background -------------------------- // function Background( url, element ) { this.url = url; this.element = element; this.img = new Image(); } // inherit LoadingImage prototype Background.prototype = Object.create( LoadingImage.prototype ); Background.prototype.check = function() { this.img.addEventListener( 'load', this ); this.img.addEventListener( 'error', this ); this.img.src = this.url; // check if image is already complete var isComplete = this.getIsImageComplete(); if ( isComplete ) { this.confirm( this.img.naturalWidth !== 0, 'naturalWidth' ); this.unbindEvents(); } }; Background.prototype.unbindEvents = function() { this.img.removeEventListener( 'load', this ); this.img.removeEventListener( 'error', this ); }; Background.prototype.confirm = function( isLoaded, message ) { this.isLoaded = isLoaded; this.emitEvent( 'progress', [ this, this.element, message ] ); }; // -------------------------- jQuery -------------------------- // ImagesLoaded.makeJQueryPlugin = function( jQuery ) { jQuery = jQuery || window.jQuery; if ( !jQuery ) { return; } // set local variable $ = jQuery; // $().imagesLoaded() $.fn.imagesLoaded = function( options, callback ) { var instance = new ImagesLoaded( this, options, callback ); return instance.jqDeferred.promise( $(this) ); }; }; // try making plugin ImagesLoaded.makeJQueryPlugin(); // -------------------------- -------------------------- // return ImagesLoaded; }); },{"ev-emitter":"../node_modules/ev-emitter/ev-emitter.js"}],"js/utils.js":[function(require,module,exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.preloadImages = exports.getMousePos = exports.getRandomNumber = exports.calcWinsize = exports.lerp = exports.map = void 0; var imagesLoaded = require('imagesloaded'); // Map number x from range [a, b] to [c, d] var map = function map(x, a, b, c, d) { return (x - a) * (d - c) / (b - a) + c; }; // Linear interpolation exports.map = map; var lerp = function lerp(a, b, n) { return (1 - n) * a + n * b; }; exports.lerp = lerp; var calcWinsize = function calcWinsize() { return { width: window.innerWidth, height: window.innerHeight }; }; exports.calcWinsize = calcWinsize; var getRandomNumber = function getRandomNumber(min, max) { return Math.floor(Math.random() * (max - min + 1) + min); }; // Gets the mouse position exports.getRandomNumber = getRandomNumber; var getMousePos = function getMousePos(e) { var posx = 0; var posy = 0; if (!e) e = window.event; if (e.pageX || e.pageY) { posx = e.pageX; posy = e.pageY; } else if (e.clientX || e.clientY) { posx = e.clientX + body.scrollLeft + document.documentElement.scrollLeft; posy = e.clientY + body.scrollTop + document.documentElement.scrollTop; } return { x: posx, y: posy }; }; // Preload images exports.getMousePos = getMousePos; var preloadImages = function preloadImages(selector) { return new Promise(function (resolve, reject) { imagesLoaded(document.querySelectorAll(selector), resolve); }); }; exports.preloadImages = preloadImages; },{"imagesloaded":"../node_modules/imagesloaded/imagesloaded.js"}],"js/cursor.js":[function(require,module,exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _gsap = require("gsap"); var _utils = require("./utils"); function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } // Track the mouse position var mouse = { x: 0, y: 0 }; window.addEventListener('mousemove', function (ev) { return mouse = (0, _utils.getMousePos)(ev); }); var Cursor = /*#__PURE__*/function () { function Cursor(el) { var _this = this; _classCallCheck(this, Cursor); this.DOM = { el: el }; this.DOM.el.style.opacity = 0; this.bounds = this.DOM.el.getBoundingClientRect(); this.renderedStyles = { tx: { previous: 0, current: 0, amt: 0.2 }, ty: { previous: 0, current: 0, amt: 0.2 } }; this.onMouseMoveEv = function () { _this.renderedStyles.tx.previous = _this.renderedStyles.tx.current = mouse.x - _this.bounds.width / 2; _this.renderedStyles.ty.previous = _this.renderedStyles.ty.previous = mouse.y - _this.bounds.height / 2; _gsap.gsap.to(_this.DOM.el, { duration: 0.9, ease: 'Power3.easeOut', opacity: 1 }); requestAnimationFrame(function () { return _this.render(); }); window.removeEventListener('mousemove', _this.onMouseMoveEv); }; window.addEventListener('mousemove', this.onMouseMoveEv); } _createClass(Cursor, [{ key: "render", value: function render() { var _this2 = this; this.renderedStyles['tx'].current = mouse.x - this.bounds.width / 2; this.renderedStyles['ty'].current = mouse.y - this.bounds.height / 2; for (var key in this.renderedStyles) { this.renderedStyles[key].previous = (0, _utils.lerp)(this.renderedStyles[key].previous, this.renderedStyles[key].current, this.renderedStyles[key].amt); } this.DOM.el.style.transform = "translateX(".concat(this.renderedStyles['tx'].previous, "px) translateY(").concat(this.renderedStyles['ty'].previous, "px)"); requestAnimationFrame(function () { return _this2.render(); }); } }]); return Cursor; }(); exports.default = Cursor; },{"gsap":"../node_modules/gsap/index.js","./utils":"js/utils.js"}],"js/demo3/grid.js":[function(require,module,exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _gsap = require("gsap"); var _utils = require("../utils"); function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); } function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } // Calculate the viewport size var winsize = (0, _utils.calcWinsize)(); window.addEventListener('resize', function () { return winsize = (0, _utils.calcWinsize)(); }); var mousepos = { x: winsize.width / 2, y: winsize.height / 2 }; window.addEventListener('mousemove', function (ev) { return mousepos = (0, _utils.getMousePos)(ev); }); var GridItem = /*#__PURE__*/function () { function GridItem(el) { _classCallCheck(this, GridItem); this.DOM = { el: el }; this.DOM.inner = this.DOM.el.querySelector('.grid__item-img'); this.move(); } _createClass(GridItem, [{ key: "move", value: function move() { var _this = this; this.invertMovement = !(0, _utils.getRandomNumber)(0, 3); var translationVals = { tx: 0, ty: 0 }; var xstart = this.invertMovement ? (0, _utils.getRandomNumber)(20, 70) : (0, _utils.getRandomNumber)(40, 80); var ystart = this.invertMovement ? (0, _utils.getRandomNumber)(10, 60) : (0, _utils.getRandomNumber)(40, 80); // also moving inner image (max 50px on each side - to change this limit change it also in the CSS) var translationInnerVals = { tx: 0, ty: 0 }; var xstartInner = this.invertMovement ? (0, _utils.getRandomNumber)(0, 25) : (0, _utils.getRandomNumber)(0, 50); var ystartInner = this.invertMovement ? (0, _utils.getRandomNumber)(0, 25) : (0, _utils.getRandomNumber)(0, 50); var render = function render() { translationVals.tx = (0, _utils.lerp)(translationVals.tx, (0, _utils.map)(mousepos.x, 0, winsize.width, _this.invertMovement ? xstart : -xstart, _this.invertMovement ? -xstart : xstart), 0.07); translationVals.ty = (0, _utils.lerp)(translationVals.ty, (0, _utils.map)(mousepos.y, 0, winsize.height, _this.invertMovement ? ystart : -ystart, _this.invertMovement ? -ystart : ystart), 0.07); _gsap.gsap.set(_this.DOM.el, { x: translationVals.tx, y: translationVals.ty }); translationInnerVals.tx = (0, _utils.lerp)(translationInnerVals.tx, (0, _utils.map)(mousepos.x, 0, winsize.width, _this.invertMovement ? -xstartInner : xstartInner, _this.invertMovement ? xstartInner : -xstartInner), 0.07); translationInnerVals.ty = (0, _utils.lerp)(translationInnerVals.ty, (0, _utils.map)(mousepos.y, 0, winsize.height, _this.invertMovement ? -ystartInner : ystartInner, _this.invertMovement ? ystartInner : -ystartInner), 0.07); _gsap.gsap.set(_this.DOM.inner, { x: translationInnerVals.tx, y: translationInnerVals.ty }); requestAnimationFrame(render); }; requestAnimationFrame(render); } }]); return GridItem; }(); var Grid = /*#__PURE__*/function () { function Grid(el) { var _this2 = this; _classCallCheck(this, Grid); this.DOM = { el: el }; this.gridItems = []; this.items = _toConsumableArray(this.DOM.el.querySelectorAll('.grid__item')); this.items.forEach(function (item) { return _this2.gridItems.push(new GridItem(item)); }); this.showItems(); } // Initial animation to scale up and fade in the items _createClass(Grid, [{ key: "showItems", value: function showItems() { var _this3 = this; _gsap.gsap.timeline().set(this.items, { scale: function scale(pos) { return _this3.gridItems[pos].invertMovement ? 0.2 : 0.6; }, opacity: 0 }, 0).to(this.items, { duration: 2, ease: 'Expo.easeOut', scale: function scale(pos) { return _this3.gridItems[pos].invertMovement ? 0.5 : 1; }, stagger: { amount: 0.6, grid: 'auto', from: 'center' } }, 0).to(this.items, { duration: 2, ease: 'Power1.easeOut', opacity: function opacity(pos) { return _this3.gridItems[pos].invertMovement ? 0.3 : 0.9; }, stagger: { amount: 0.6, grid: 'auto', from: 'center' } }, 0); } }]); return Grid; }(); exports.default = Grid; },{"gsap":"../node_modules/gsap/index.js","../utils":"js/utils.js"}],"js/demo3/index.js":[function(require,module,exports) { "use strict"; var _cursor = _interopRequireDefault(require("../cursor")); var _grid = _interopRequireDefault(require("./grid")); var _utils = require("../utils"); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } // Preload images (0, _utils.preloadImages)('.grid__item-img, .bigimg').then(function () { // Remove loader (loading class) document.body.classList.remove('loading'); // Initialize grid var grid = new _grid.default(document.querySelector('.grid')); }); var cursor = new _cursor.default(document.querySelector('.cursor')); },{"../cursor":"js/cursor.js","./grid":"js/demo3/grid.js","../utils":"js/utils.js"}],"../node_modules/parcel-bundler/src/builtins/hmr-runtime.js":[function(require,module,exports) { var global = arguments[3]; var OVERLAY_ID = '__parcel__error__overlay__'; var OldModule = module.bundle.Module; function Module(moduleName) { OldModule.call(this, moduleName); this.hot = { data: module.bundle.hotData, _acceptCallbacks: [], _disposeCallbacks: [], accept: function (fn) { this._acceptCallbacks.push(fn || function () {}); }, dispose: function (fn) { this._disposeCallbacks.push(fn); } }; module.bundle.hotData = null; } module.bundle.Module = Module; var checkedAssets, assetsToAccept; var parent = module.bundle.parent; if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') { var hostname = "" || location.hostname; var protocol = location.protocol === 'https:' ? 'wss' : 'ws'; var ws = new WebSocket(protocol + '://' + hostname + ':' + "49946" + '/'); ws.onmessage = function (event) { checkedAssets = {}; assetsToAccept = []; var data = JSON.parse(event.data); if (data.type === 'update') { var handled = false; data.assets.forEach(function (asset) { if (!asset.isNew) { var didAccept = hmrAcceptCheck(global.parcelRequire, asset.id); if (didAccept) { handled = true; } } }); // Enable HMR for CSS by default. handled = handled || data.assets.every(function (asset) { return asset.type === 'css' && asset.generated.js; }); if (handled) { console.clear(); data.assets.forEach(function (asset) { hmrApply(global.parcelRequire, asset); }); assetsToAccept.forEach(function (v) { hmrAcceptRun(v[0], v[1]); }); } else if (location.reload) { // `location` global exists in a web worker context but lacks `.reload()` function. location.reload(); } } if (data.type === 'reload') { ws.close(); ws.onclose = function () { location.reload(); }; } if (data.type === 'error-resolved') { console.log('[parcel] ✨ Error resolved'); removeErrorOverlay(); } if (data.type === 'error') { console.error('[parcel] 🚨 ' + data.error.message + '\n' + data.error.stack); removeErrorOverlay(); var overlay = createErrorOverlay(data); document.body.appendChild(overlay); } }; } function removeErrorOverlay() { var overlay = document.getElementById(OVERLAY_ID); if (overlay) { overlay.remove(); } } function createErrorOverlay(data) { var overlay = document.createElement('div'); overlay.id = OVERLAY_ID; // html encode message and stack trace var message = document.createElement('div'); var stackTrace = document.createElement('pre'); message.innerText = data.error.message; stackTrace.innerText = data.error.stack; overlay.innerHTML = '<div style="background: black; font-size: 16px; color: white; position: fixed; height: 100%; width: 100%; top: 0px; left: 0px; padding: 30px; opacity: 0.85; font-family: Menlo, Consolas, monospace; z-index: 9999;">' + '<span style="background: red; padding: 2px 4px; border-radius: 2px;">ERROR</span>' + '<span style="top: 2px; margin-left: 5px; position: relative;">🚨</span>' + '<div style="font-size: 18px; font-weight: bold; margin-top: 20px;">' + message.innerHTML + '</div>' + '<pre>' + stackTrace.innerHTML + '</pre>' + '</div>'; return overlay; } function getParents(bundle, id) { var modules = bundle.modules; if (!modules) { return []; } var parents = []; var k, d, dep; for (k in modules) { for (d in modules[k][1]) { dep = modules[k][1][d]; if (dep === id || Array.isArray(dep) && dep[dep.length - 1] === id) { parents.push(k); } } } if (bundle.parent) { parents = parents.concat(getParents(bundle.parent, id)); } return parents; } function hmrApply(bundle, asset) { var modules = bundle.modules; if (!modules) { return; } if (modules[asset.id] || !bundle.parent) { var fn = new Function('require', 'module', 'exports', asset.generated.js); asset.isNew = !modules[asset.id]; modules[asset.id] = [fn, asset.deps]; } else if (bundle.parent) { hmrApply(bundle.parent, asset); } } function hmrAcceptCheck(bundle, id) { var modules = bundle.modules; if (!modules) { return; } if (!modules[id] && bundle.parent) { return hmrAcceptCheck(bundle.parent, id); } if (checkedAssets[id]) { return; } checkedAssets[id] = true; var cached = bundle.cache[id]; assetsToAccept.push([bundle, id]); if (cached && cached.hot && cached.hot._acceptCallbacks.length) { return true; } return getParents(global.parcelRequire, id).some(function (id) { return hmrAcceptCheck(global.parcelRequire, id); }); } function hmrAcceptRun(bundle, id) { var cached = bundle.cache[id]; bundle.hotData = {}; if (cached) { cached.hot.data = bundle.hotData; } if (cached && cached.hot && cached.hot._disposeCallbacks.length) { cached.hot._disposeCallbacks.forEach(function (cb) { cb(bundle.hotData); }); } delete bundle.cache[id]; bundle(id); cached = bundle.cache[id]; if (cached && cached.hot && cached.hot._acceptCallbacks.length) { cached.hot._acceptCallbacks.forEach(function (cb) { cb(); }); return true; } } },{}]},{},["../node_modules/parcel-bundler/src/builtins/hmr-runtime.js","js/demo3/index.js"], null) //# sourceMappingURL=/demo3.b516845c.js.map
'use strict'; class LiteLifting { constructor(config) { const defaultConfig = { publicdir: global.__publicdir, schema: config.appName, port: process.env.ll_port || 8080, ip: process.env.ll_ip || "0.0.0.0", securePort: process.env.ll_securePort || 443, secureIp: process.env.ll_secureIp || "0.0.0.0", dbUser: process.env.ll_dbUser || 'root', dbSecret: process.env.ll_dbSecret || 'secret', dbHost: process.env.ll_dbHost || '127.0.0.1', dbPort: process.env.ll_dbPort || '3306', jwtSecret: process.env.ll_jwtSecret || [1, 1, 1].map(Math.random).reduce((a, b) => a + '' + b), sessionExpiration: (60 * 60 * 24 * 7), useHostCookie: undef(process.env.ll_useHostCookie, true), useJwtCookiePasser: undef(process.env.ll_useJwtCookiePasser, true), useLoggerPlusPlus: undef(process.env.ll_useLoggerPlusPlus, false), useNoExtension: undef(process.env.ll_useNoExtension, true), userService: config.useDummyUserService && defaultUserService, useYouser: undef(process.env.ll_useYouser, true), useYourSql: undef(process.env.ll_useYourSql, true), useStorming: undef(process.env.ll_useStorming, true), routerHooks: [], loglevels: ['info', 'warn', 'error'] }; defaulter(config, defaultConfig); this.config = config; this.configureLoggerPlusPlus(config); this.loggers = config.loglevels .map((level)=> ({ enabled: true, _: console[level], level})) .reduce((a, c)=> ({...a, [c.level]: c}),{}); this.log('info', 'Starting Lite Lifting Framework'); this.http = require('http'); this.express = require('express'); this.fs = require('fs'); this.formidable = require('formidable'); // ROUTER AND SERVER this.router = this.express(); this.server = this.http.createServer(this.router); // COOKIE PARSER this.router.use(require('cookie-parser')()); // BODY PARSER this.bodyParser = require('body-parser'); this.urlencodedParser = this.bodyParser.urlencoded({ extended: false }); this.router.use(this.bodyParser.json()); // HOST COOKIE this.configureHostCookie(config); // SECURE SERVER this.secureServer = config.freshCertConfig && require('fresh-cert')({ router: this.router, sslKeyFile: config.freshCertConfig.sslKeyFile, sslDomainCertFile: config.freshCertConfig.sslDomainCertFile, sslCaBundleFile: config.freshCertConfig.sslCaBundleFile }); this.configureYourSql(config); this.configureStorming(config); this.configureYouser(config); this.configureJwCookieParser(config); if(config.publicdir) { this.router.use(require('no-extension')(config.publicdir)); this.router.use(this.express.static(config.publicdir)); } } log(level, ...msg) { (this.loggers[level] && this.loggers[level].enabled) && this.loggers[level]._(...msg); } sync(callBack) { if (this.yourSql && this.yourSqlConfig.appSchema && this.yourSqlConfig.createAppSchema) { this.yourSql.createDatabase(this.yourSqlConfig.appSchema).then(() => { ormSync(); }).catch((err) => { this.log('error', err); ormSync(); }); } else { ormSync(); } const ormSync = () => { if(this.storming) { this.storming.sync(callBack); } else { callBack(); } }; } start(callBack) { if (this.config.useJwtCookiePasser) { this.log('debug', '---JWT'); this.jwtCookiePasser.init( defaulter(this.config.jwtCookiePasserConfig || {}, { router: this.router, urlencodedParser: this.urlencodedParser, userService: this.userService, loginLogoutHooks: { passRawUserInLoginHook: true, loginUserHook: (req, mappedUser, token, user) => { let sio = this.socketHub; if (sio && sio.loginUserHook && typeof sio.loginUserHook === 'function') { sio.loginUserHook(req, mappedUser, token, user); } (this.loginHooks || []).forEach((hook) => { hook(req, mappedUser, token, user); }); }, logoutUserHook: (req) => { let sio = this.socketHub; if (sio && sio.logoutUserHook && typeof sio.logoutUserHook === 'function') { sio.logoutUserHook(req); } (this.logoutHooks || []).forEach((hook) => { hook(req); }); } } })); } const startHttpServer = (secureAddress, secureAddressErr) => { this.server.listen(this.config.port, this.config.ip, () => { let address = this.server.address(); this.log('info', "Server listening at", address.address + ":" + address.port); callBack({address, secureAddress, secureAddressErr}); }); }; const startHttpsServer = () => { if (this.secureServer) { try { this.secureServer.listen(this.config.securePort, this.config.secureIp, () => { let address = this.secureServer.address(); this.log('info', "Secure server listening at", address.address + ":" + address.port); startHttpServer(address); }); } catch (secureAddressErr) { this.log('error', "Error starting secure server: " + secureAddressErr); startHttpServer(null, secureAddressErr); } } else { this.log('warn', "No HTTPS configured. Set 'freshCertConfig' property."); startHttpServer(); } }; startHttpsServer(); } configureLoggerPlusPlus(config) { if (config.useLoggerPlusPlus) { require('logger-plus-plus')( defaulter( config.loggerPlusPlusConfig || {}, { enabled: undef(process.env.ll_lpp_enabled, true), enabledTypes: { log: undef(process.env.ll_loggerPlusPlus_log, true), error: undef(process.env.ll_loggerPlusPlus_error, true), debug: undef(process.env.ll_loggerPlusPlus_debug, true), trace: undef(process.env.ll_loggerPlusPlus_trace, true), warn: undef(process.env.ll_loggerPlusPlus_warn, true), info: undef(process.env.ll_loggerPlusPlus_info, true), } })); } } configureHostCookie(config) { if (config.useHostCookie) { this.router.use(require('host-cookie')( defaulter( config.hostCookieConfig || {}, { cookieName: config.appName, defaultHost: process.env.ll_hostCookie_defaultHost, maxAge: undef(process.env.ll_hostCookie_maxAge, (1000 * 60 * 60 * 24 * 365)), } ))); } } configureYourSql(config) { this.yourSql = null; if (!config.useYourSql) { return; } this.yourSql = require('your-sql')(); this.yourSqlConfig = defaulter(config.yourSqlConfig || {}, { host: process.env.ll_yourSql_host || this.config.dbHost, user: process.env.ll_yourSql_user || this.config.dbUser, password: process.env.ll_yourSql_password || this.config.dbSecret, database: process.env.ll_yourSql_controlSchema || 'mysql', createAppSchema: undef(process.env.ll_yourSql_createAppSchema, true), appSchema: process.env.ll_yourSql_appSchema || this.config.schema, connectionLimit: process.env.ll_yourSql_connectionLimit || 100, debug: process.env.ll_yourSql_debug || false }); this.yourSql.init(this.yourSqlConfig); } configureStorming(config) { this.storming = null; if (!config.useStorming) { return; } else if(!this.yourSql) { this.log('error', 'storming requires your-sql'); return; } const entities = LiteLifting.getEntities(); this.storming = require('storming')(defaulter(config.stormingConfig || {},{ ip: this.yourSqlConfig.host, user: this.yourSqlConfig.user, password: this.yourSqlConfig.password, database: this.yourSqlConfig.appSchema, yourSql: this.yourSql, entities, loadDefaultData: process.env.ll_storming_loadDefaultData })); } configureYouser(config) { this.userService = config.userService; if(this.userService) { return; } if (!config.useYouser) { return; } else if(!this.storming) { this.log('error', 'youser requires storming'); return; } this.userService = new (require('youser'))(defaulter(config.youserConfig || {}, { storming: this.storming })); } configureJwCookieParser(config) { if (config.useJwtCookiePasser) { this.jwtCookiePasser = new(require('jwt-cookie-passer')).JwtCookiePasser( defaulter(config.jwtCookiePasserConfig || {}, { domain: config.host, secretOrKey: config.jwtSecret, expiresIn: config.sessionExpiration, useJsonOnLogin: false, useJsonOnLogout: false })); } } configureSocketHub({appName, getAlternate, rootHost, getStorming, getInfo}) { var SrcString = require('src-string'); const srcString = new SrcString({ contentSrc: { getEntity: getAlternate } }); let SocketHub = require('socket-hub'); let socketHub = new SocketHub({ appName: appName || this.config.appName, server: this.secureServer ? this.secureServer : this.server, tokenUtil: this.jwtCookiePasser, rootHost, storming: this.storming, subdomainContent: { getInfo, getStorming, getAlternateContent: (context) => srcString.getContent(context), getContent: ({subdomain, type}) => { const filePath = (type === 'common' ? global.__publicdir : global.__rootdir) + type + '.js'; console.info(`[${subdomain}] - Loading default exports for ${type}. filePath: ${filePath}`); return require(filePath); } }, }); socketHub.init(); this.socketHub = socketHub; } } LiteLifting.getEntities = function() { const entities = []; entities.push(require('./entities/role.js')()); entities.push(require('./entities/user.js')()); entities.push(require('./entities/file.js')()); entities.push(require('./entities/token.js')()); entities.push(require('./entities/captcha.js')()); return entities; }; var undef = (v, o) => v !== undefined ? v : o; var defaulter = (params, def) => { Object.entries(def || {}).forEach((d) => { params[d[0]] = undef(params[d[0]], d[1]); }); return params; }; LiteLifting.defaulter = defaulter; var defaultUserService = { login: (username, password, callback) => { if (username === password) { callback(null, { id: username, username: username }); } else { callback('Invalid user or credentials'); } }, getUserById: (id, callback) => { callback({ id: id, username: id }); }, getUserByUsername: (username, callback) => { callback({ id: username, username: username }); }, mapUserForJwtToken: (user) => { return user; } }; String.prototype.replaceAll = function(search, replacement) { let target = this; return target.split(search).join(replacement); }; LiteLifting.schema = (host) => host.replaceAll('-', '__').replaceAll('.', '_'); module.exports = LiteLifting;
/** * Controller for choosing or creating a new dashboard */ (function () { 'use strict'; angular .module(HygieiaConfig.module) .controller('SiteController', SiteController); SiteController.$inject = ['$scope', '$q', '$uibModal', 'dashboardData', '$location', 'DashboardType', 'userService', 'authService','dashboardService','user','paginationWrapperService']; function SiteController($scope, $q, $uibModal, dashboardData, $location, DashboardType, userService, authService, dashboardService, user, paginationWrapperService) { var ctrl = this; // public variables ctrl.search = ''; ctrl.myadmin = ''; ctrl.username = userService.getUsername(); ctrl.showAuthentication = userService.isAuthenticated(); ctrl.templateUrl = 'app/dashboard/views/navheader.html'; ctrl.dashboardTypeEnum = DashboardType; // public methods ctrl.createDashboard = createDashboard; ctrl.deleteDashboard = deleteDashboard; ctrl.manageTemplates = manageTemplates; ctrl.open = open; ctrl.login = login; ctrl.logout = logout; ctrl.admin = admin; ctrl.setType = setType; ctrl.filterNotOwnedList = filterNotOwnedList; ctrl.editDashboard = editDashboard; ctrl.pageChangeHandler = pageChangeHandler; ctrl.pageChangeHandlerForMyDash = pageChangeHandlerForMyDash; ctrl.getTotalItems = getTotalItems; ctrl.getTotalItemsMyDash = getTotalItemsMyDash; ctrl.getPageSize = getPageSize; ctrl.filterByTitle = filterByTitle; if (userService.isAdmin()) { ctrl.myadmin = true; } (function() { // set up the different types of dashboards with a custom icon var types = dashboardData.types(); _(types).forEach(function (item) { if(item.id == DashboardType.PRODUCT) { item.icon = 'fa-cubes'; } }); ctrl.dashboardTypes = types; dashboardData.getPageSize().then(function (data) { pullDashboards(); }); })(); function getTotalItems() { return paginationWrapperService.getTotalItems(); } function getTotalItemsMyDash() { return paginationWrapperService.getTotalItemsMyDash(); } function getCurrentPage() { return paginationWrapperService.getCurrentPage(); } function getPageSize() { return paginationWrapperService.getPageSize(); } function setType(type) { ctrl.dashboardType = type; pullDashboards(type); } function admin() { console.log('sending to admin page'); $location.path('/admin'); } function login() { $location.path('/login'); } function logout() { authService.logout(); $location.path('/login'); } // method implementations function createDashboard() { // open modal for creating a new dashboard $uibModal.open({ templateUrl: 'app/dashboard/views/createDashboard.html', controller: 'CreateDashboardController', controllerAs: 'ctrl' }); } function editDashboard(item,size) { // open modal for renaming dashboard var modalInstance = $uibModal.open({ templateUrl: 'app/dashboard/views/editDashboard.html', controller: 'EditDashboardController', controllerAs: 'ctrl', size:size, resolve: { dashboardItem: function() { return item; } } }); modalInstance.result.then(function success() { pullDashboards() }); } function manageTemplates() { $location.path('/templates'); } function open(dashboardId) { $location.path('/dashboard/' + dashboardId); } function processDashboardResponse(data) { ctrl.dashboards = paginationWrapperService.processDashboardResponse(data, ctrl.dashboardType); } function processDashboardFilterResponse(data) { ctrl.dashboards = paginationWrapperService.processDashboardFilterResponse(data); } function processDashboardError(data) { ctrl.dashboards = paginationWrapperService.processDashboardError(data); } function processMyDashboardResponse(mydata) { ctrl.mydash = paginationWrapperService.processMyDashboardResponse(mydata, ctrl.dashboardType); } function processFilterMyDashboardResponse(mydata) { ctrl.mydash = paginationWrapperService.processFilterMyDashboardResponse(mydata); } function processMyDashboardError(data) { ctrl.mydash = paginationWrapperService.processMyDashboardError(data); } function deleteDashboard(item) { var id = item.id; dashboardData.delete(id).then(function () { _.remove(ctrl.dashboards, {id: id}); _.remove(ctrl.mydash, {id: id}); paginationWrapperService.calculateTotalItems(ctrl.dashboardType); paginationWrapperService.calculateTotalItemsMyDash(ctrl.dashboardType); }, function(response) { var msg = 'An error occurred while deleting the dashboard'; if(response.status > 204 && response.status < 500) { msg = 'The Team Dashboard is currently being used by a Product Dashboard/s. You cannot delete at this time.'; } swal(msg); }); } function filterNotOwnedList(db1, db2) { console.log("size before is:" + db1.length); var jointArray = db1.concat(db2); console.log("size after is:" + jointArray.length); var uniqueArray = jointArray.filter(function (elem, pos) { return jointArray.indexOf(elem) == pos; }); console.log("size after reduction is:" + uniqueArray.length); ctrl.dashboards = uniqueArray; } function pullDashboards(type) { // request dashboards dashboardData.searchByPage({"search": '', "type": type, "size": getPageSize(), "page": 0}) .then(processDashboardResponse, processDashboardError); // request my dashboards dashboardData.searchMyDashboardsByPage({"username": ctrl.username, "type": type, "size": getPageSize(), "page": 0}) .then(processMyDashboardResponse, processMyDashboardError); paginationWrapperService.calculateTotalItems(type) .then (function () { ctrl.totalItems = paginationWrapperService.getTotalItems(); }) paginationWrapperService.calculateTotalItemsMyDash(type) .then (function () { ctrl.totalItemsMyDash = paginationWrapperService.getTotalItemsMyDash(); }) } function pageChangeHandler(pageNumber) { paginationWrapperService.pageChangeHandler(pageNumber, ctrl.dashboardType) .then(function() { ctrl.dashboards = paginationWrapperService.getDashboards(); }); } function pageChangeHandlerForMyDash(pageNumber) { paginationWrapperService.pageChangeHandlerForMyDash(pageNumber, ctrl.dashboardType) .then(function() { ctrl.mydash = paginationWrapperService.getMyDashboards(); }); } function filterByTitle (title) { var promises = paginationWrapperService.filterByTitle(title, ctrl.dashboardType); $q.all(promises).then (function() { ctrl.dashboards = paginationWrapperService.getDashboards(); ctrl.mydash = paginationWrapperService.getMyDashboards(); }); } } })();
var el = { name: 'el', el: { colorpicker: { confirm: 'Εντάξει', clear: 'Καθαρισμός', }, datepicker: { now: 'Τώρα', today: 'Σήμερα', cancel: 'Ακύρωση', clear: 'Καθαρισμός', confirm: 'Εντάξει', selectDate: 'Επιλέξτε ημέρα', selectTime: 'Επιλέξτε ώρα', startDate: 'Ημερομηνία Έναρξης', startTime: 'Ωρα Έναρξης', endDate: 'Ημερομηνία Λήξης', endTime: 'Ωρα Λήξης', prevYear: 'Προηγούμενο Έτος', nextYear: 'Επόμενο Έτος', prevMonth: 'Προηγούμενος Μήνας', nextMonth: 'Επόμενος Μήνας', year: 'Έτος', month1: 'Ιανουάριος', month2: 'Φεβρουάριος', month3: 'Μάρτιος', month4: 'Απρίλιος', month5: 'Μάιος', month6: 'Ιούνιος', month7: 'Ιούλιος', month8: 'Αύγουστος', month9: 'Σεπτέμβριος', month10: 'Οκτώβριος', month11: 'Νοέμβριος', month12: 'Δεκέμβριος', weeks: { sun: 'Κυρ', mon: 'Δευ', tue: 'Τρι', wed: 'Τετ', thu: 'Πεμ', fri: 'Παρ', sat: 'Σαβ', }, months: { jan: 'Ιαν', feb: 'Φεβ', mar: 'Μαρ', apr: 'Απρ', may: 'Μαϊ', jun: 'Ιουν', jul: 'Ιουλ', aug: 'Αυγ', sep: 'Σεπ', oct: 'Οκτ', nov: 'Νοε', dec: 'Δεκ', }, }, select: { loading: 'Φόρτωση', noMatch: 'Δεν βρέθηκαν αποτελέσματα', noData: 'Χωρίς δεδομένα', placeholder: 'Επιλογή', }, cascader: { noMatch: 'Δεν βρέθηκαν αποτελέσματα', loading: 'Φόρτωση', placeholder: 'Επιλογή', noData: 'Χωρίς δεδομένα', }, pagination: { goto: 'Μετάβαση σε', pagesize: '/σελίδα', total: 'Σύνολο {total}', pageClassifier: '', }, messagebox: { title: 'Μήνυμα', confirm: 'Εντάξει', cancel: 'Ακύρωση', error: 'Άκυρη εισαγωγή', }, upload: { deleteTip: 'Πάτησε Διαγραφή για αφαίρεση', delete: 'Διαγραφή', preview: 'Προεπισκόπηση', continue: 'Συνέχεια', }, table: { emptyText: 'Χωρίς Δεδομένα', confirmFilter: 'Επιβεβαίωση', resetFilter: 'Επαναφορά', clearFilter: 'Όλα', sumText: 'Σύνολο', }, tree: { emptyText: 'Χωρίς Δεδομένα', }, transfer: { noMatch: 'Δεν βρέθηκαν αποτελέσματα', noData: 'Χωρίς δεδομένα', titles: ['Λίστα 1', 'Λίστα 2'], filterPlaceholder: 'Αναζήτηση', noCheckedFormat: '{total} Αντικείμενα', hasCheckedFormat: '{checked}/{total} επιλεγμένα', }, image: { error: 'FAILED', }, pageHeader: { title: 'Back', }, popconfirm: { confirmButtonText: 'Yes', cancelButtonText: 'No', }, }, }; export default el;
require=function e(t,n,r){function o(s,a){if(!n[s]){if(!t[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(i)return i(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[s]={exports:{}};t[s][0].call(c.exports,function(e){var n=t[s][1][e];return o(n?n:e)},c,c.exports,e,t,n,r)}return n[s].exports}for(var i="function"==typeof require&&require,s=0;s<r.length;s++)o(r[s]);return o}({1:[function(e,t,n){(function(e,t,r,o,i,s,a,u,l){var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(e){"use strict";function t(e){var t=e.charCodeAt(0);return t===i||t===f?62:t===s||t===d?63:a>t?-1:a+10>t?t-a+26+26:l+26>t?t-l:u+26>t?t-u+26:void 0}function n(e){function n(e){l[f++]=e}var r,i,s,a,u,l;if(e.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var c=e.length;u="="===e.charAt(c-2)?2:"="===e.charAt(c-1)?1:0,l=new o(3*e.length/4-u),s=u>0?e.length-4:e.length;var f=0;for(r=0,i=0;s>r;r+=4,i+=3)a=t(e.charAt(r))<<18|t(e.charAt(r+1))<<12|t(e.charAt(r+2))<<6|t(e.charAt(r+3)),n((16711680&a)>>16),n((65280&a)>>8),n(255&a);return 2===u?(a=t(e.charAt(r))<<2|t(e.charAt(r+1))>>4,n(255&a)):1===u&&(a=t(e.charAt(r))<<10|t(e.charAt(r+1))<<4|t(e.charAt(r+2))>>2,n(a>>8&255),n(255&a)),l}function r(e){function t(e){return c.charAt(e)}function n(e){return t(e>>18&63)+t(e>>12&63)+t(e>>6&63)+t(63&e)}var r,o,i,s=e.length%3,a="";for(r=0,i=e.length-s;i>r;r+=3)o=(e[r]<<16)+(e[r+1]<<8)+e[r+2],a+=n(o);switch(s){case 1:o=e[e.length-1],a+=t(o>>2),a+=t(o<<4&63),a+="==";break;case 2:o=(e[e.length-2]<<8)+e[e.length-1],a+=t(o>>10),a+=t(o>>4&63),a+=t(o<<2&63),a+="="}return a}var o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="+".charCodeAt(0),s="/".charCodeAt(0),a="0".charCodeAt(0),u="a".charCodeAt(0),l="A".charCodeAt(0),f="-".charCodeAt(0),d="_".charCodeAt(0);e.toByteArray=n,e.fromByteArray=r}("undefined"==typeof n?this.base64js={}:n)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/base64-js/lib/b64.js","/node_modules/base64-js/lib")},{_process:43,buffer:3}],2:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){function c(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function f(e){return"function"==typeof e}function d(e){return"number"==typeof e}function p(e){return"object"==typeof e&&null!==e}function h(e){return void 0===e}t.exports=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._maxListeners=void 0,c.defaultMaxListeners=10,c.prototype.setMaxListeners=function(e){if(!d(e)||0>e||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},c.prototype.emit=function(e){var t,n,r,o,i,s;if(this._events||(this._events={}),"error"===e&&(!this._events.error||p(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;throw TypeError('Uncaught, unspecified "error" event.')}if(n=this._events[e],h(n))return!1;if(f(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:for(r=arguments.length,o=new Array(r-1),i=1;r>i;i++)o[i-1]=arguments[i];n.apply(this,o)}else if(p(n)){for(r=arguments.length,o=new Array(r-1),i=1;r>i;i++)o[i-1]=arguments[i];for(s=n.slice(),r=s.length,i=0;r>i;i++)s[i].apply(this,o)}return!0},c.prototype.addListener=function(e,t){var n;if(!f(t))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,f(t.listener)?t.listener:t),this._events[e]?p(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,p(this._events[e])&&!this._events[e].warned){var n;n=h(this._maxListeners)?c.defaultMaxListeners:this._maxListeners,n&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())}return this},c.prototype.on=c.prototype.addListener,c.prototype.once=function(e,t){function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}if(!f(t))throw TypeError("listener must be a function");var r=!1;return n.listener=t,this.on(e,n),this},c.prototype.removeListener=function(e,t){var n,r,o,i;if(!f(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],o=n.length,r=-1,n===t||f(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(p(n)){for(i=o;i-- >0;)if(n[i]===t||n[i].listener&&n[i].listener===t){r=i;break}if(0>r)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},c.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],f(n))this.removeListener(e,n);else for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},c.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?f(this._events[e])?[this._events[e]]:this._events[e].slice():[]},c.listenerCount=function(e,t){var n;return n=e._events&&e._events[t]?f(e._events[t])?1:e._events[t].length:0}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/browserify/node_modules/events/events.js","/node_modules/browserify/node_modules/events")},{_process:43,buffer:3}],3:[function(e,t,n){(function(t,r,o,i,s,a,u,l,c){"use strict";function f(){function e(){}try{var t=new Uint8Array(1);return t.foo=function(){return 42},t.constructor=e,42===t.foo()&&t.constructor===e&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(n){return!1}}function d(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e){return this instanceof o?(o.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void 0),"number"==typeof e?p(this,e):"string"==typeof e?h(this,e,arguments.length>1?arguments[1]:"utf8"):m(this,e)):arguments.length>1?new o(e,arguments[1]):new o(e)}function p(e,t){if(e=T(e,0>t?0:0|E(t)),!o.TYPED_ARRAY_SUPPORT)for(var n=0;t>n;n++)e[n]=0;return e}function h(e,t,n){("string"!=typeof n||""===n)&&(n="utf8");var r=0|S(t,n);return e=T(e,r),e.write(t,n),e}function m(e,t){if(o.isBuffer(t))return g(e,t);if(re(t))return y(e,t);if(null==t)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(t.buffer instanceof ArrayBuffer)return v(e,t);if(t instanceof ArrayBuffer)return b(e,t)}return t.length?_(e,t):w(e,t)}function g(e,t){var n=0|E(t.length);return e=T(e,n),t.copy(e,0,0,n),e}function y(e,t){var n=0|E(t.length);e=T(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function v(e,t){var n=0|E(t.length);e=T(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function b(e,t){return o.TYPED_ARRAY_SUPPORT?(t.byteLength,e=o._augment(new Uint8Array(t))):e=v(e,new Uint8Array(t)),e}function _(e,t){var n=0|E(t.length);e=T(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function w(e,t){var n,r=0;"Buffer"===t.type&&re(t.data)&&(n=t.data,r=0|E(n.length)),e=T(e,r);for(var o=0;r>o;o+=1)e[o]=255&n[o];return e}function T(e,t){o.TYPED_ARRAY_SUPPORT?(e=o._augment(new Uint8Array(t)),e.__proto__=o.prototype):(e.length=t,e._isBuffer=!0);var n=0!==t&&t<=o.poolSize>>>1;return n&&(e.parent=oe),e}function E(e){if(e>=d())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+d().toString(16)+" bytes");return 0|e}function x(e,t){if(!(this instanceof x))return new x(e,t);var n=new o(e,t);return delete n.parent,n}function S(e,t){"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"binary":case"raw":case"raws":return n;case"utf8":case"utf-8":return Q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return J(e).length;default:if(r)return Q(e).length;t=(""+t).toLowerCase(),r=!0}}function C(e,t,n){var r=!1;if(t=0|t,n=void 0===n||n===1/0?this.length:0|n,e||(e="utf8"),0>t&&(t=0),n>this.length&&(n=this.length),t>=n)return"";for(;;)switch(e){case"hex":return j(this,t,n);case"utf8":case"utf-8":return I(this,t,n);case"ascii":return k(this,t,n);case"binary":return L(this,t,n);case"base64":return A(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function P(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r),r>o&&(r=o)):r=o;var i=t.length;if(i%2!==0)throw new Error("Invalid hex string");r>i/2&&(r=i/2);for(var s=0;r>s;s++){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))throw new Error("Invalid hex string");e[n+s]=a}return s}function M(e,t,n,r){return ee(Q(t,e.length-n),e,n,r)}function R(e,t,n,r){return ee($(t),e,n,r)}function D(e,t,n,r){return R(e,t,n,r)}function O(e,t,n,r){return ee(J(t),e,n,r)}function N(e,t,n,r){return ee(Z(t,e.length-n),e,n,r)}function A(e,t,n){return 0===t&&n===e.length?te.fromByteArray(e):te.fromByteArray(e.slice(t,n))}function I(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;n>o;){var i=e[o],s=null,a=i>239?4:i>223?3:i>191?2:1;if(n>=o+a){var u,l,c,f;switch(a){case 1:128>i&&(s=i);break;case 2:u=e[o+1],128===(192&u)&&(f=(31&i)<<6|63&u,f>127&&(s=f));break;case 3:u=e[o+1],l=e[o+2],128===(192&u)&&128===(192&l)&&(f=(15&i)<<12|(63&u)<<6|63&l,f>2047&&(55296>f||f>57343)&&(s=f));break;case 4:u=e[o+1],l=e[o+2],c=e[o+3],128===(192&u)&&128===(192&l)&&128===(192&c)&&(f=(15&i)<<18|(63&u)<<12|(63&l)<<6|63&c,f>65535&&1114112>f&&(s=f))}}null===s?(s=65533,a=1):s>65535&&(s-=65536,r.push(s>>>10&1023|55296),s=56320|1023&s),r.push(s),o+=a}return B(r)}function B(e){var t=e.length;if(ie>=t)return String.fromCharCode.apply(String,e);for(var n="",r=0;t>r;)n+=String.fromCharCode.apply(String,e.slice(r,r+=ie));return n}function k(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;n>o;o++)r+=String.fromCharCode(127&e[o]);return r}function L(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;n>o;o++)r+=String.fromCharCode(e[o]);return r}function j(e,t,n){var r=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>r)&&(n=r);for(var o="",i=t;n>i;i++)o+=K(e[i]);return o}function G(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function H(e,t,n){if(e%1!==0||0>e)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function V(e,t,n,r,i,s){if(!o.isBuffer(e))throw new TypeError("buffer must be a Buffer instance");if(t>i||s>t)throw new RangeError("value is out of bounds");if(n+r>e.length)throw new RangeError("index out of range")}function U(e,t,n,r){0>t&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);i>o;o++)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function F(e,t,n,r){0>t&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);i>o;o++)e[n+o]=t>>>8*(r?o:3-o)&255}function W(e,t,n,r,o,i){if(t>o||i>t)throw new RangeError("value is out of bounds");if(n+r>e.length)throw new RangeError("index out of range");if(0>n)throw new RangeError("index out of range")}function q(e,t,n,r,o){return o||W(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),ne.write(e,t,n,r,23,4),n+4}function X(e,t,n,r,o){return o||W(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),ne.write(e,t,n,r,52,8),n+8}function z(e){if(e=Y(e).replace(ae,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function Y(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function K(e){return 16>e?"0"+e.toString(16):e.toString(16)}function Q(e,t){t=t||1/0;for(var n,r=e.length,o=null,i=[],s=0;r>s;s++){if(n=e.charCodeAt(s),n>55295&&57344>n){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(56320>n){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,128>n){if((t-=1)<0)break;i.push(n)}else if(2048>n){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(65536>n){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(1114112>n))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function $(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t}function Z(e,t){for(var n,r,o,i=[],s=0;s<e.length&&!((t-=2)<0);s++)n=e.charCodeAt(s),r=n>>8,o=n%256,i.push(o),i.push(r);return i}function J(e){return te.toByteArray(z(e))}function ee(e,t,n,r){for(var o=0;r>o&&!(o+n>=t.length||o>=e.length);o++)t[o+n]=e[o];return o}var te=e("base64-js"),ne=e("ieee754"),re=e("isarray");n.Buffer=o,n.SlowBuffer=x,n.INSPECT_MAX_BYTES=50,o.poolSize=8192;var oe={};o.TYPED_ARRAY_SUPPORT=void 0!==r.TYPED_ARRAY_SUPPORT?r.TYPED_ARRAY_SUPPORT:f(),o.TYPED_ARRAY_SUPPORT?(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array):(o.prototype.length=void 0,o.prototype.parent=void 0),o.isBuffer=function(e){return!(null==e||!e._isBuffer)},o.compare=function(e,t){if(!o.isBuffer(e)||!o.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,s=Math.min(n,r);s>i&&e[i]===t[i];)++i;return i!==s&&(n=e[i],r=t[i]),r>n?-1:n>r?1:0},o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(e,t){if(!re(e))throw new TypeError("list argument must be an Array of Buffers.");if(0===e.length)return new o(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;n++)t+=e[n].length;var r=new o(t),i=0;for(n=0;n<e.length;n++){var s=e[n];s.copy(r,i),i+=s.length}return r},o.byteLength=S,o.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?I(this,0,e):C.apply(this,arguments)},o.prototype.equals=function(e){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:0===o.compare(this,e)},o.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},o.prototype.compare=function(e){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?0:o.compare(this,e)},o.prototype.indexOf=function(e,t){function n(e,t,n){for(var r=-1,o=0;n+o<e.length;o++)if(e[n+o]===t[-1===r?0:o-r]){if(-1===r&&(r=o),o-r+1===t.length)return n+r}else r=-1;return-1}if(t>2147483647?t=2147483647:-2147483648>t&&(t=-2147483648),t>>=0,0===this.length)return-1;if(t>=this.length)return-1;if(0>t&&(t=Math.max(this.length+t,0)),"string"==typeof e)return 0===e.length?-1:String.prototype.indexOf.call(this,e,t);if(o.isBuffer(e))return n(this,e,t);if("number"==typeof e)return o.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,e,t):n(this,[e],t);throw new TypeError("val must be string, number or Buffer")},o.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},o.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},o.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t=0|t,isFinite(n)?(n=0|n,void 0===r&&(r="utf8")):(r=n,n=void 0);else{var o=r;r=t,t=0|n,n=o}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(0>n||0>t)||t>this.length)throw new RangeError("attempt to write outside buffer bounds");r||(r="utf8");for(var s=!1;;)switch(r){case"hex":return P(this,e,t,n);case"utf8":case"utf-8":return M(this,e,t,n);case"ascii":return R(this,e,t,n);case"binary":return D(this,e,t,n);case"base64":return O(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),s=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ie=4096;o.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,0>e?(e+=n,0>e&&(e=0)):e>n&&(e=n),0>t?(t+=n,0>t&&(t=0)):t>n&&(t=n),e>t&&(t=e);var r;if(o.TYPED_ARRAY_SUPPORT)r=o._augment(this.subarray(e,t));else{var i=t-e;r=new o(i,void 0);for(var s=0;i>s;s++)r[s]=this[s+e]}return r.length&&(r.parent=this.parent||this),r},o.prototype.readUIntLE=function(e,t,n){e=0|e,t=0|t,n||H(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},o.prototype.readUIntBE=function(e,t,n){e=0|e,t=0|t,n||H(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},o.prototype.readUInt8=function(e,t){return t||H(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return t||H(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return t||H(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return t||H(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},o.prototype.readUInt32BE=function(e,t){return t||H(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,n){e=0|e,t=0|t,n||H(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},o.prototype.readIntBE=function(e,t,n){e=0|e,t=0|t,n||H(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},o.prototype.readInt8=function(e,t){return t||H(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){t||H(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(e,t){t||H(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(e,t){return t||H(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return t||H(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return t||H(e,4,this.length),ne.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return t||H(e,4,this.length),ne.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return t||H(e,8,this.length),ne.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return t||H(e,8,this.length),ne.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,n,r){e=+e,t=0|t,n=0|n,r||V(this,e,t,n,Math.pow(2,8*n),0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},o.prototype.writeUIntBE=function(e,t,n,r){e=+e,t=0|t,n=0|n,r||V(this,e,t,n,Math.pow(2,8*n),0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},o.prototype.writeUInt8=function(e,t,n){return e=+e,t=0|t,n||V(this,e,t,1,255,0),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=0|t,n||V(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},o.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=0|t,n||V(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},o.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=0|t,n||V(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):F(this,e,t,!0),t+4},o.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=0|t,n||V(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):F(this,e,t,!1),t+4},o.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t=0|t,!r){var o=Math.pow(2,8*n-1);V(this,e,t,n,o-1,-o)}var i=0,s=1,a=0>e?1:0;for(this[t]=255&e;++i<n&&(s*=256);)this[t+i]=(e/s>>0)-a&255;return t+n},o.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t=0|t,!r){var o=Math.pow(2,8*n-1);V(this,e,t,n,o-1,-o)}var i=n-1,s=1,a=0>e?1:0;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=(e/s>>0)-a&255;return t+n},o.prototype.writeInt8=function(e,t,n){return e=+e,t=0|t,n||V(this,e,t,1,127,-128),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),0>e&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,n){return e=+e,t=0|t,n||V(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},o.prototype.writeInt16BE=function(e,t,n){return e=+e,t=0|t,n||V(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},o.prototype.writeInt32LE=function(e,t,n){return e=+e,t=0|t,n||V(this,e,t,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):F(this,e,t,!0),t+4},o.prototype.writeInt32BE=function(e,t,n){return e=+e,t=0|t,n||V(this,e,t,4,2147483647,-2147483648),0>e&&(e=4294967295+e+1),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):F(this,e,t,!1),t+4},o.prototype.writeFloatLE=function(e,t,n){return q(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){return q(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){return X(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){return X(this,e,t,!1,n)},o.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&n>r&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(0>t)throw new RangeError("targetStart out of bounds");if(0>n||n>=this.length)throw new RangeError("sourceStart out of bounds");if(0>r)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,s=r-n;if(this===e&&t>n&&r>t)for(i=s-1;i>=0;i--)e[i+t]=this[i+n];else if(1e3>s||!o.TYPED_ARRAY_SUPPORT)for(i=0;s>i;i++)e[i+t]=this[i+n];else e._set(this.subarray(n,n+s),t);return s},o.prototype.fill=function(e,t,n){if(e||(e=0),t||(t=0),n||(n=this.length),t>n)throw new RangeError("end < start");if(n!==t&&0!==this.length){if(0>t||t>=this.length)throw new RangeError("start out of bounds");if(0>n||n>this.length)throw new RangeError("end out of bounds");var r;if("number"==typeof e)for(r=t;n>r;r++)this[r]=e;else{var o=Q(e.toString()),i=o.length;for(r=t;n>r;r++)this[r]=o[r%i]}return this}},o.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(o.TYPED_ARRAY_SUPPORT)return new o(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;n>t;t+=1)e[t]=this[t];return e.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var se=o.prototype;o._augment=function(e){return e.constructor=o,e._isBuffer=!0,e._set=e.set,e.get=se.get,e.set=se.set,e.write=se.write,e.toString=se.toString,e.toLocaleString=se.toString,e.toJSON=se.toJSON,e.equals=se.equals,e.compare=se.compare,e.indexOf=se.indexOf,e.copy=se.copy,e.slice=se.slice,e.readUIntLE=se.readUIntLE,e.readUIntBE=se.readUIntBE,e.readUInt8=se.readUInt8,e.readUInt16LE=se.readUInt16LE,e.readUInt16BE=se.readUInt16BE,e.readUInt32LE=se.readUInt32LE,e.readUInt32BE=se.readUInt32BE,e.readIntLE=se.readIntLE,e.readIntBE=se.readIntBE,e.readInt8=se.readInt8,e.readInt16LE=se.readInt16LE,e.readInt16BE=se.readInt16BE,e.readInt32LE=se.readInt32LE,e.readInt32BE=se.readInt32BE,e.readFloatLE=se.readFloatLE,e.readFloatBE=se.readFloatBE,e.readDoubleLE=se.readDoubleLE,e.readDoubleBE=se.readDoubleBE,e.writeUInt8=se.writeUInt8,e.writeUIntLE=se.writeUIntLE,e.writeUIntBE=se.writeUIntBE,e.writeUInt16LE=se.writeUInt16LE,e.writeUInt16BE=se.writeUInt16BE,e.writeUInt32LE=se.writeUInt32LE,e.writeUInt32BE=se.writeUInt32BE,e.writeIntLE=se.writeIntLE,e.writeIntBE=se.writeIntBE,e.writeInt8=se.writeInt8,e.writeInt16LE=se.writeInt16LE,e.writeInt16BE=se.writeInt16BE,e.writeInt32LE=se.writeInt32LE,e.writeInt32BE=se.writeInt32BE,e.writeFloatLE=se.writeFloatLE,e.writeFloatBE=se.writeFloatBE,e.writeDoubleLE=se.writeDoubleLE,e.writeDoubleBE=se.writeDoubleBE,e.fill=se.fill,e.inspect=se.inspect,e.toArrayBuffer=se.toArrayBuffer,e};var ae=/[^+\/0-9A-Za-z-_]/g}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/buffer/index.js","/node_modules/buffer")},{_process:43,"base64-js":1,buffer:3,ieee754:32,isarray:4}],4:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){var c={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==c.call(e)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/buffer/node_modules/isarray/index.js","/node_modules/buffer/node_modules/isarray")},{_process:43,buffer:3}],5:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(){var e=d("//f.vimeocdn.com/js/froogaloop2.min.js");return e}var d=e("require-sdk");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/common-vimeo/lib/load-api.js","/node_modules/common-vimeo/lib")},{_process:43,buffer:3,"require-sdk":200}],6:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){function c(e){var t=document.getElementById(e);if(!p(t))throw new Error("embed must be an iframe");f(t)}function f(e){d(e)||(e.src+="?api=1&player_id="+e.id)}function d(e){var t="/?api=1&player_id="+e.id;return t=new RegExp(t),t.test(e.src)}function p(e){return e&&"IFRAME"===e.tagName}t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/common-vimeo/lib/prepare-embed.js","/node_modules/common-vimeo/lib")},{_process:43,buffer:3}],7:[function(e,t,n){(function(t,r,o,i,s,a,u,l,c){var f=e("closest"),d=e("event");n.bind=function(e,t,n,r,o){return d.bind(e,n,function(n){var o=n.target||n.srcElement;n.delegateTarget=f(o,t,!0,e),n.delegateTarget&&r.call(e,n)},o)},n.unbind=function(e,t,n,r){d.unbind(e,t,n,r)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/component-delegate/index.js","/node_modules/component-delegate")},{_process:43,buffer:3,closest:12,event:8}],8:[function(e,t,n){(function(e,t,r,o,i,s,a,u,l){var c=window.addEventListener?"addEventListener":"attachEvent",f=window.removeEventListener?"removeEventListener":"detachEvent",d="addEventListener"!==c?"on":"";n.bind=function(e,t,n,r){return e[c](d+t,n,r||!1),n},n.unbind=function(e,t,n,r){return e[f](d+t,n,r||!1),n}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/component-event/index.js","/node_modules/component-event")},{_process:43,buffer:3}],9:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e,t){if(!e||1!==e.nodeType)return!1;if(h)return h.call(e,t);for(var n=d.all(t,e.parentNode),r=0;r<n.length;++r)if(n[r]==e)return!0;return!1}var d=e("query"),p=Element.prototype,h=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.msMatchesSelector||p.oMatchesSelector;t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/component-matches-selector/index.js","/node_modules/component-matches-selector")},{_process:43,buffer:3,query:10}],10:[function(e,t,n){(function(e,r,o,i,s,a,u,l,c){function f(e,t){return t.querySelector(e)}n=t.exports=function(e,t){return t=t||document,f(e,t)},n.all=function(e,t){return t=t||document,t.querySelectorAll(e)},n.engine=function(e){if(!e.one)throw new Error(".one callback required");if(!e.all)throw new Error(".all callback required");return f=e.one,n.all=e.all,n}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/component-query/index.js","/node_modules/component-query")},{_process:43,buffer:3}],11:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){var c=Object.prototype.toString;t.exports=function(e){switch(c.call(e)){case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object Error]":return"error"}return null===e?"null":void 0===e?"undefined":e!==e?"nan":e&&1===e.nodeType?"element":"undefined"!=typeof r&&r.isBuffer(e)?"buffer":(e=e.valueOf?e.valueOf():Object.prototype.valueOf.apply(e),typeof e)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/component-type/index.js","/node_modules/component-type")},{_process:43,buffer:3}],12:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){var f=e("matches-selector");t.exports=function(e,t,n,r){for(e=n?{parentNode:e}:e,r=r||document;(e=e.parentNode)&&e!==document;){if(f(e,t))return e;if(e===r)return}}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/discore-closest/index.js","/node_modules/discore-closest")},{_process:43,buffer:3,"matches-selector":9}],13:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e){if(e.classList)return e.classList;var t=e.className.replace(/^\s+|\s+$/g,""),n=t.split(v);return""===n[0]&&n.shift(),n}function d(e,t){if(e.classList)return void e.classList.add(t);var n=f(e),r=y(n,t);~r||n.push(t),e.className=n.join(" ")}function p(e,t){return e.classList?e.classList.contains(t):!!~y(f(e),t)}function h(e,t){if("[object RegExp]"==b.call(t))return m(e,t);if(e.classList)return void e.classList.remove(t);var n=f(e),r=y(n,t);~r&&n.splice(r,1),e.className=n.join(" ")}function m(e,t,n){for(var r=Array.prototype.slice.call(f(e)),o=0;o<r.length;o++)t.test(r[o])&&h(e,r[o])}function g(e,t){return e.classList?e.classList.toggle(t):void(p(e,t)?h(e,t):d(e,t))}var y=e("indexof"),v=/\s+/,b=Object.prototype.toString;t.exports=f,t.exports.add=d,t.exports.contains=p,t.exports.has=p,t.exports.toggle=g,t.exports.remove=h,t.exports.removeMatching=m}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/dom-classes/index.js","/node_modules/dom-classes")},{_process:43,buffer:3,indexof:33}],14:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){function c(e,t,n,r){return!e.addEventListener&&(t="on"+t),(e.addEventListener||e.attachEvent).call(e,t,n,r),n}function f(e,t,n,r){return!e.removeEventListener&&(t="on"+t), (e.removeEventListener||e.detachEvent).call(e,t,n,r),n}t.exports=c,t.exports.on=c,t.exports.off=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/dom-event/index.js","/node_modules/dom-event")},{_process:43,buffer:3}],15:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e,t){return p(e,t)}function d(e,t){return f(e,t)[0]}var p=e("qwery");t.exports={one:d,all:f}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/dom-select/fallback.js","/node_modules/dom-select")},{_process:43,buffer:3,qwery:45}],16:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e,t){return t||(t=document),t.querySelector?t.querySelector(e):p.one(e,t)}function d(e,t){return t||(t=document),t.querySelectorAll?t.querySelectorAll(e):p.all(e,t)}var p=e("./fallback");t.exports=f,t.exports.all=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/dom-select/index.js","/node_modules/dom-select")},{"./fallback":15,_process:43,buffer:3}],17:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e,t){var n;for(n in t)p(e,n,t[n])}function d(e,t){return function(n,r){h(n,e,arguments.length>1?r:t)}}function p(e,t,n){e.style[m("float"==t?"cssFloat":t)]=n}function h(e){return 3==arguments.length?p(e,arguments[1],arguments[2]):f(e,arguments[1])}var m=e("to-camel-case");t.exports=h,t.exports.hide=d("display","none"),t.exports.show=d("display","initial")}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/dom-style/index.js","/node_modules/dom-style")},{_process:43,buffer:3,"to-camel-case":204}],18:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e,t,n){b(e).appendChild(v(t,n))}function d(e,t){var n=b(arguments[arguments.length-1],e).nextSibling,r=arguments.length>3?arguments[2]:void 0;return null==n?f(e,t,r):void p(e,t,r,n)}function p(e,t){var n=arguments[arguments.length-1],r=arguments.length>3?arguments[2]:void 0;b(e).insertBefore(v(t,r),b(n,e))}function h(e){var t=arguments[arguments.length-1],n=arguments.length>2?arguments[1]:void 0;f(b(t),e,n)}function m(e,t,n,r){b(e).replaceChild(b(v(n,r)),b(t,e))}function g(e,t){var n,r;if(1==arguments.length&&"string"!=typeof e)return e.parentNode.removeChild(e);for(r=arguments.length>1?b.all(t,e):b.all(e),n=r.length;n--;)r[n].parentNode.removeChild(r[n])}function y(e){return function(t,n){Array.isArray(n)||(n=[n]);for(var r=-1,o=n.length,i=Array.prototype.slice.call(arguments);++r<o;)i[1]=n[r],e.apply(void 0,i)}}var v=e("./new-element"),b=e("./select");t.exports={add:y(f),addAfter:y(d),addBefore:y(p),insert:h,replace:m,remove:g}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/dom-tree/index.js","/node_modules/dom-tree")},{"./new-element":19,"./select":20,_process:43,buffer:3}],19:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e,t){return d(e)?p(e,t):e}function d(e){return"string"==typeof e&&"<"==e.charAt(0)}var p=e("new-element");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/dom-tree/new-element.js","/node_modules/dom-tree")},{_process:43,buffer:3,"new-element":42}],20:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e,t){return Array.isArray(e)&&(e=e[0]),"string"!=typeof e?e:("string"==typeof t&&(t=p(t,document)),p(e,t))}function d(e,t){return Array.isArray(e)&&(e=e[0]),"string"!=typeof e?[e]:("string"==typeof t&&(t=p(t,document)),p.all(e,t))}var p=e("dom-select");t.exports=f,t.exports.all=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/dom-tree/select.js","/node_modules/dom-tree")},{_process:43,buffer:3,"dom-select":16}],21:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e){switch(p(e)){case"checkbox":case"radio":if(e.checked){var t=e.getAttribute("value");return null==t?!0:t}return!1;case"radiogroup":for(var n,r=0;n=e[r];r++)if(n.checked)return n.value;break;case"select":for(var o,r=0;o=e.options[r];r++)if(o.selected)return o.value;break;default:return e.value}}function d(e,t){switch(p(e)){case"checkbox":case"radio":t?e.checked=!0:e.checked=!1;break;case"radiogroup":for(var n,r=0;n=e[r];r++)n.checked=n.value===t;break;case"select":for(var o,r=0;o=e.options[r];r++)o.selected=o.value===t;break;default:e.value=t}}function p(e){var t="array"==h(e)||"object"==h(e);t&&(e=e[0]);var n=e.nodeName.toLowerCase(),r=e.getAttribute("type");return t&&r&&"radio"==r.toLowerCase()?"radiogroup":"input"==n&&r&&"checkbox"==r.toLowerCase()?"checkbox":"input"==n&&r&&"radio"==r.toLowerCase()?"radio":"select"==n?"select":n}var h=e("component-type");t.exports=function(e,t){return 2==arguments.length?d(e,t):f(e)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/dom-value/index.js","/node_modules/dom-value")},{_process:43,buffer:3,"component-type":11}],22:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){function c(e){if("string"!=typeof e)throw new TypeError("String expected");var t=/<([\w:]+)/.exec(e);if(!t)throw new Error("No elements were generated.");var n=t[1];if("body"==n){var r=document.createElement("html");return r.innerHTML=e,r.removeChild(r.lastChild)}var o=f[n]||f._default,i=o[0],s=o[1],a=o[2],r=document.createElement("div");for(r.innerHTML=s+e+a;i--;)r=r.lastChild;var u=r.children;if(1==u.length)return r.removeChild(u[0]);for(var l=document.createDocumentFragment();u.length;)l.appendChild(r.removeChild(u[0]));return l}t.exports=c;var f={option:[1,'<select multiple="multiple">',"</select>"],optgroup:[1,'<select multiple="multiple">',"</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tbody:[1,"<table>","</table>"],tfoot:[1,"<table>","</table>"],colgroup:[1,"<table>","</table>"],caption:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],th:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],_default:[0,"",""]}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/domify/index.js","/node_modules/domify")},{_process:43,buffer:3}],23:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){function c(e){return function(t,n,r){return 2==arguments.length?t.getAttribute(n):(t.setAttribute(n,r),e)}}t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/domquery/lib/attr.js","/node_modules/domquery/lib")},{_process:43,buffer:3}],24:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e){return function(t,n){return p(t,e,n)}}function d(e,t,n,r){return 4==arguments.length?y.unbind(e,n,t,r):(r=n,void g.off(e,t,r))}function p(e,t,n,r){return 3==arguments.length&&(r=n),4==arguments.length?y.bind(e,n,t,r):void g.on(e,t,r)}function h(e,t,n){v.on(e,t,n)}function m(e,t,n){v.off(e,t,n)}var g=e("dom-event"),y=e("component-delegate"),v=e("key-event");e("trim");t.exports={change:f("change"),click:f("click"),keydown:f("keydown"),keyup:f("keyup"),keypress:f("keypress"),mousedown:f("mousedown"),mouseover:f("mouseover"),mouseup:f("mouseup"),resize:f("resize"),on:p,off:d,onKey:h,offKey:m}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/domquery/lib/events.js","/node_modules/domquery/lib")},{_process:43,buffer:3,"component-delegate":7,"dom-event":14,"key-event":35,trim:207}],25:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e){return function(t,n,r){return arguments.length>1?(t.innerHTML=arguments.length>2?d(n,r):n,e):t.innerHTML}}var d=e("format-text");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/domquery/lib/html.js","/node_modules/domquery/lib")},{_process:43,buffer:3,"format-text":31}],26:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e){var t,n,r,o;o="string"==typeof e&&"<"==e.charAt(0)?[b(e,arguments[1])]:"string"==typeof e?Array.prototype.slice.call(_(e,arguments[1])):e==document?[document.documentElement]:1==arguments.length&&Array.isArray(arguments[0])?arguments[0]:Array.prototype.slice.call(arguments),r={addClass:h(y.add,o),removeClass:h(y.remove,o),toggleClass:h(y.toggle,o),show:h(w.show,o),hide:h(w.hide,o),style:h(w,o)};for(t in S)r[t]=h(S[t],o);for(t in v)r[t]=h(v[t],o);return n=g.from(o)(r),n.attr=h(x(n),o),n.classes=h(y,o),n.hasClass=h(y.has,o),n.html=h(C(n),o),n.text=h(P(n),o),n.val=h(M(n),o),n.value=h(M(n),o),n.parent=m(d,o),n.select=m(p,o),n.siblings=m(E,o),n}function d(e,t){return t?T(e,t):e.parentNode}function p(e,t){return f(t,e)}function h(e,t){if(!e)throw new Error("Undefined function.");return function(){var n,r,o,i,o;for(r=t.length,n=-1,i=[void 0].concat(Array.prototype.slice.call(arguments));++n<r;)i[0]=t[n],o=e.apply(void 0,i);return o}}function m(e,t){return function(){for(var n,r,o,i=[],s=[void 0].concat(Array.prototype.slice.call(arguments)),a=t.length,u=-1;++u<a;)if(s[0]=t[u],n=e.apply(void 0,s),Array.isArray(n))for(o=n.length,r=-1;++r<o;)-1==i.indexOf(n[r])&&i.push(n[r]);else n&&-1==i.indexOf(n)&&i.push(n);return f(i)}}var g=e("new-chain"),y=(e("format-text"),e("dom-classes")),v=e("dom-tree"),b=e("new-element"),_=e("dom-select").all,w=e("dom-style"),T=e("discore-closest"),E=e("siblings"),x=e("./attr"),S=e("./events"),C=e("./html"),P=e("./text"),M=e("./value");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/domquery/lib/select.js","/node_modules/domquery/lib")},{"./attr":23,"./events":24,"./html":25,"./text":27,"./value":28,_process:43,buffer:3,"discore-closest":12,"dom-classes":13,"dom-select":16,"dom-style":17,"dom-tree":18,"format-text":31,"new-chain":41,"new-element":42,siblings:201}],27:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e){return function(t,n,r){return arguments.length>1?(t.textContent=arguments.length>2?d(n,r):n,e):t.textContent}}var d=e("format-text");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/domquery/lib/text.js","/node_modules/domquery/lib")},{_process:43,buffer:3,"format-text":31}],28:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e){return function(t,n){return 2==arguments.length?(d(t,n),e):d(t)}}var d=e("dom-value");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/domquery/lib/value.js","/node_modules/domquery/lib")},{_process:43,buffer:3,"dom-value":21}],29:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";var c=function(t,n,r,o,i,s,a,u){if("production"!==e.env.NODE_ENV&&void 0===n)throw new Error("invariant requires an error message argument");if(!t){var l;if(void 0===n)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,o,i,s,a,u],f=0;l=new Error("Invariant Violation: "+n.replace(/%s/g,function(){return c[f++]}))}throw l.framesToPop=1,l}};t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/fbjs/lib/invariant.js","/node_modules/fbjs/lib")},{_process:43,buffer:3}],30:[function(e,t,n){(function(r,o,i,s,a,u,l,c,f){"use strict";function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.__esModule=!0;var p=e("fbjs/lib/invariant"),h="ID_",m=function(){function e(){d(this,e),this._callbacks={},this._isDispatching=!1,this._isHandled={},this._isPending={},this._lastID=1}return e.prototype.register=function(e){var t=h+this._lastID++;return this._callbacks[t]=e,t},e.prototype.unregister=function(e){this._callbacks[e]?void 0:"production"!==r.env.NODE_ENV?p(!1,"Dispatcher.unregister(...): `%s` does not map to a registered callback.",e):p(!1),delete this._callbacks[e]},e.prototype.waitFor=function(e){this._isDispatching?void 0:"production"!==r.env.NODE_ENV?p(!1,"Dispatcher.waitFor(...): Must be invoked while dispatching."):p(!1);for(var t=0;t<e.length;t++){var n=e[t];this._isPending[n]?this._isHandled[n]?void 0:"production"!==r.env.NODE_ENV?p(!1,"Dispatcher.waitFor(...): Circular dependency detected while waiting for `%s`.",n):p(!1):(this._callbacks[n]?void 0:"production"!==r.env.NODE_ENV?p(!1,"Dispatcher.waitFor(...): `%s` does not map to a registered callback.",n):p(!1),this._invokeCallback(n))}},e.prototype.dispatch=function(e){this._isDispatching?"production"!==r.env.NODE_ENV?p(!1,"Dispatch.dispatch(...): Cannot dispatch in the middle of a dispatch."):p(!1):void 0,this._startDispatching(e);try{for(var t in this._callbacks)this._isPending[t]||this._invokeCallback(t)}finally{this._stopDispatching()}},e.prototype.isDispatching=function(){return this._isDispatching},e.prototype._invokeCallback=function(e){this._isPending[e]=!0,this._callbacks[e](this._pendingPayload),this._isHandled[e]=!0},e.prototype._startDispatching=function(e){for(var t in this._callbacks)this._isPending[t]=!1,this._isHandled[t]=!1;this._pendingPayload=e,this._isDispatching=!0},e.prototype._stopDispatching=function(){delete this._pendingPayload,this._isDispatching=!1},e}();t.exports=m}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/flux/lib/Dispatcher.js","/node_modules/flux/lib")},{_process:43,buffer:3,"fbjs/lib/invariant":29}],31:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){function c(e){var t;return t="object"==typeof arguments[1]&&arguments[1]?arguments[1]:Array.prototype.slice.call(arguments,1),String(e).replace(/\{?\{([^{}]+)}}?/g,f(t))}function f(e,t){return function(t,n){return"{{"==t.substring(0,2)&&"}}"==t.substring(t.length-2)?"{"+n+"}":e.hasOwnProperty(n)?"function"==typeof e[n]?e[n]():e[n]:t}}t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/format-text/index.js","/node_modules/format-text")},{_process:43,buffer:3}],32:[function(e,t,n){(function(e,t,r,o,i,s,a,u,l){n.read=function(e,t,n,r,o){var i,s,a=8*o-r-1,u=(1<<a)-1,l=u>>1,c=-7,f=n?o-1:0,d=n?-1:1,p=e[t+f];for(f+=d,i=p&(1<<-c)-1,p>>=-c,c+=a;c>0;i=256*i+e[t+f],f+=d,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=r;c>0;s=256*s+e[t+f],f+=d,c-=8);if(0===i)i=1-l;else{if(i===u)return s?NaN:(p?-1:1)*(1/0);s+=Math.pow(2,r),i-=l}return(p?-1:1)*s*Math.pow(2,i-r)},n.write=function(e,t,n,r,o,i){var s,a,u,l=8*i-o-1,c=(1<<l)-1,f=c>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,h=r?1:-1,m=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),t+=s+f>=1?d/u:d*Math.pow(2,1-f),t*u>=2&&(s++,u/=2),s+f>=c?(a=0,s=c):s+f>=1?(a=(t*u-1)*Math.pow(2,o),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,o),s=0));o>=8;e[n+p]=255&a,p+=h,a/=256,o-=8);for(s=s<<o|a,l+=o;l>0;e[n+p]=255&s,p+=h,s/=256,l-=8);e[n+p-h]|=128*m}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/ieee754/index.js","/node_modules/ieee754")},{_process:43,buffer:3}],33:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){var c=[].indexOf;t.exports=function(e,t){if(c)return e.indexOf(t);for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/indexof/index.js","/node_modules/indexof")},{_process:43,buffer:3}],34:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/inherits/inherits_browser.js","/node_modules/inherits")},{_process:43,buffer:3}],35:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e,t,n){var r=p(t),o=m.on(e,"keyup",function(e){(e.ctrlKey||void 0)==r.ctrl&&(e.altKey||void 0)==r.alt&&(e.shiftKey||void 0)==r.shift&&h(e.keyCode)==r.key&&n(e)});return n["cb-"+t]=o,n}function d(e,t,n){m.off(e,"keyup",n["cb-"+t])}function p(e){var t={};e=e.split(/[^\w]+/);for(var n,r=e.length;r--;)n=e[r].trim(),"ctrl"!=n?"alt"!=n?"shift"!=n?t.key=n.trim():t.shift=!0:t.alt=!0:t.ctrl=!0;return t}var h=e("keyname-of"),m=e("dom-event");t.exports=f,t.exports.on=f,t.exports.off=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/key-event/index.js","/node_modules/key-event")},{_process:43,buffer:3,"dom-event":36,"keyname-of":37}],36:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){function c(e,t,n,r){return(e.addEventListener||e.attachEvent).call(e,t,n,r),n}function f(e,t,n,r){return(e.removeEventListener||e.detachEvent).call(e,t,n,r),n}t.exports=c,t.exports.on=c,t.exports.off=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/key-event/node_modules/dom-event/index.js","/node_modules/key-event/node_modules/dom-event")},{_process:43,buffer:3}],37:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e){return d[e]||String.fromCharCode(e).toLowerCase()}var d=e("keynames");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/keyname-of/index.js","/node_modules/keyname-of")},{_process:43,buffer:3,keynames:38}],38:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){t.exports={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/keynames/index.js","/node_modules/keynames")},{_process:43,buffer:3}],39:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){function c(e,t){for(var n in t)e.setAttribute(n,t[n])}function f(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function d(e,t){e.onreadystatechange=function(){("complete"==this.readyState||"loaded"==this.readyState)&&(this.onreadystatechange=null,t(null,e))}}t.exports=function(e,t,n){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("script");"function"==typeof t&&(n=t,t={}),t=t||{},n=n||function(){},o.type=t.type||"text/javascript",o.charset=t.charset||"utf8",o.async="async"in t?!!t.async:!0,o.src=e,t.attrs&&c(o,t.attrs),t.text&&(o.text=""+t.text);var i="onload"in o?f:d;i(o,n),o.onload||f(o,n),r.appendChild(o)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/load-script/index.js","/node_modules/load-script")},{_process:43,buffer:3}],40:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";function c(e,t){if(d)return d.call(e,t);for(var n=e.parentNode.querySelectorAll(t),r=0;r<n.length;r++)if(n[r]==e)return!0;return!1}var f=Element.prototype,d=f.matches||f.matchesSelector||f.webkitMatchesSelector||f.mozMatchesSelector||f.msMatchesSelector||f.oMatchesSelector;t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/matches-selector/index.js","/node_modules/matches-selector")},{_process:43,buffer:3}],41:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){function c(e){return function(){var t,n;for(t=f.apply(void 0,arguments),n=t.length;n--;)e[t[n].name]=t[n].fn;return t.forEach(function(t){e[t.name]=function(){return t.fn.apply(this,arguments),e}}),e}}function f(){var e,t,n,r,o;for(e=Array.prototype.slice.call(arguments),r=[],n=e.length;n--;)if(t=e[n],"function"!=typeof t){if("object"==typeof t)for(o in t)r.push({name:o,fn:t[o]})}else r.push({name:t.name,fn:t});return r}function d(){return c({}).apply(void 0,arguments)}t.exports=d,t.exports.from=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/new-chain/index.js","/node_modules/new-chain")},{_process:43,buffer:3}],42:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e,t){return d(1==arguments.length?e:p(e,t))}var d=e("domify"),p=e("format-text");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/new-element/index.js","/node_modules/new-element")},{_process:43,buffer:3,domify:22,"format-text":31}],43:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){function c(){g=!1,h.length?m=h.concat(m):y=-1,m.length&&f()}function f(){if(!g){var e=setTimeout(c);g=!0;for(var t=m.length;t;){for(h=m,m=[];++y<t;)h&&h[y].run();y=-1,t=m.length}h=null,g=!1,clearTimeout(e)}}function d(e,t){this.fun=e,this.array=t}function p(){}var h,e=t.exports={},m=[],g=!1,y=-1;e.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];m.push(new d(e,t)),1!==m.length||g||setTimeout(f,0)},d.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=p,e.addListener=p,e.once=p,e.off=p,e.removeListener=p,e.removeAllListeners=p,e.emit=p,e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/process/browser.js","/node_modules/process")},{_process:43,buffer:3}],44:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){function c(e){function t(e){d(s,e)}function n(e){p(s,e)}function r(e){m(s,e)}function o(e){h(s,e)}function i(){var e=[s];Array.prototype.push.apply(e,arguments),f.apply(void 0,e)}var s=e||function(){arguments.length&&t.apply(void 0,arguments)};return s.subscribers=[],s.subscribersForOnce=[],s.subscribe=t,s.subscribe.once=n,s.unsubscribe=o,s.unsubscribe.once=r,s.publish=i,s}function f(e){var t=Array.prototype.slice.call(arguments,1);e&&e.subscribers&&e.subscribers.length>0&&e.subscribers.forEach(function(e,n){if(e)try{e.apply(void 0,t)}catch(r){setTimeout(function(){throw r},0)}}),e&&e.subscribersForOnce&&e.subscribersForOnce.length>0&&(e.subscribersForOnce.forEach(function(e,n){if(e)try{e.apply(void 0,t)}catch(r){setTimeout(function(){throw r},0)}}),e.subscribersForOnce=[])}function d(e,t){return t?e.subscribers.push(t):!1}function p(e,t){return t?e.subscribersForOnce.push(t):!1}function h(e,t){for(var n=e.subscribers.length;n--;)if(e.subscribers[n]&&e.subscribers[n]==t)return e.subscribers[n]=void 0,n;return!1}function m(e,t){for(var n=e.subscribersForOnce.length;n--;)if(e.subscribersForOnce[n]&&e.subscribersForOnce[n]==t)return e.subscribersForOnce[n]=void 0,n;return!1}t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/pubsub/index.js","/node_modules/pubsub")},{_process:43,buffer:3}],45:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){!function(e,n,r){"undefined"!=typeof t&&t.exports?t.exports=r():"function"==typeof define&&define.amd?define(r):n[e]=r()}("qwery",this,function(){function e(){this.c={}}function t(e){return Y.g(e)||Y.s(e,"(^|\\s+)"+e+"(\\s+|$)",1)}function n(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n])}function r(e){for(var t=[],n=0,r=e.length;r>n;++n)m(e[n])?t=t.concat(e[n]):t[t.length]=e[n];return t}function o(e){for(var t=0,n=e.length,r=[];n>t;t++)r[t]=e[t];return r}function i(e){for(;(e=e.previousSibling)&&1!=e[M];);return e}function s(e){return e.match(X)}function a(e,n,r,o,i,s,a,u,c,f,d){var p,h,m,g,y;if(1!==this[M])return!1;if(n&&"*"!==n&&this[P]&&this[P].toLowerCase()!==n)return!1;if(r&&(h=r.match(R))&&h[1]!==this.id)return!1;if(r&&(y=r.match(D)))for(p=y.length;p--;)if(!t(y[p].slice(1)).test(this.className))return!1;if(c&&v.pseudos[c]&&!v.pseudos[c](this,d))return!1;if(o&&!a){g=this.attributes;for(m in g)if(Object.prototype.hasOwnProperty.call(g,m)&&(g[m].name||m)==i)return this}return o&&!l(s,J(this,i)||"",a)?!1:this}function u(e){return K.g(e)||K.s(e,e.replace(G,"\\$1"))}function l(e,t,n){switch(e){case"=":return t==n;case"^=":return t.match(Q.g("^="+n)||Q.s("^="+n,"^"+u(n),1));case"$=":return t.match(Q.g("$="+n)||Q.s("$="+n,u(n)+"$",1));case"*=":return t.match(Q.g(n)||Q.s(n,u(n),1));case"~=":return t.match(Q.g("~="+n)||Q.s("~="+n,"(?:^|\\s+)"+u(n)+"(?:\\s+|$)",1));case"|=":return t.match(Q.g("|="+n)||Q.s("|="+n,"^"+u(n)+"(-|$)",1))}return 0}function c(e,t){var r,o,i,u,l,c,f,p=[],h=[],m=t,g=$.g(e)||$.s(e,e.split(q)),v=e.match(W);if(!g.length)return p;if(u=(g=g.slice(0)).pop(),g.length&&(i=g[g.length-1].match(O))&&(m=y(t,i[1])),!m)return p;for(c=s(u),l=m!==t&&9!==m[M]&&v&&/^[+~]$/.test(v[v.length-1])?function(e){for(;m=m.nextSibling;)1==m[M]&&(c[1]?c[1]==m[P].toLowerCase():1)&&(e[e.length]=m);return e}([]):m[x](c[1]||"*"),r=0,o=l.length;o>r;r++)(f=a.apply(l[r],c))&&(p[p.length]=f);return g.length?(n(p,function(e){d(e,g,v)&&(h[h.length]=e)}),h):p}function f(e,t,n){if(p(t))return e==t;if(m(t))return!!~r(t).indexOf(e);for(var o,i,u=t.split(",");t=u.pop();)if(o=$.g(t)||$.s(t,t.split(q)),i=t.match(W),o=o.slice(0),a.apply(e,s(o.pop()))&&(!o.length||d(e,o,i,n)))return!0;return!1}function d(e,t,n,r){function o(e,r,u){for(;u=z[n[r]](u,e);)if(p(u)&&a.apply(u,s(t[r]))){if(!r)return u;if(i=o(u,r-1,u))return i}}var i;return(i=o(e,t.length-1,e))&&(!r||Z(i,r))}function p(e,t){return e&&"object"==typeof e&&(t=e[M])&&(1==t||9==t)}function h(e){var t,n,r=[];e:for(t=0;t<e.length;++t){for(n=0;n<r.length;++n)if(r[n]==e[t])continue e;r[r.length]=e[t]}return r}function m(e){return"object"==typeof e&&isFinite(e.length)}function g(e){return e?"string"==typeof e?v(e)[0]:!e[M]&&m(e)?e[0]:e:w}function y(e,t,n){return 9===e[M]?e.getElementById(t):e.ownerDocument&&((n=e.ownerDocument.getElementById(t))&&Z(n,e)&&n||!Z(e,e.ownerDocument)&&_('[id="'+t+'"]',e)[0])}function v(e,t){var n,i,s=g(t);if(!s||!e)return[];if(e===window||p(e))return!t||e!==window&&p(s)&&Z(e,s)?[e]:[];if(e&&m(e))return r(e);if(n=e.match(F)){if(n[1])return(i=y(s,n[1]))?[i]:[];if(n[2])return o(s[x](n[2]));if(ee&&n[3])return o(s[E](n[3]))}return _(e,s)}function b(e,t){return function(n){var r,o;return B.test(n)?void(9!==e[M]&&((o=r=e.getAttribute("id"))||e.setAttribute("id",o="__qwerymeupscotty"),n='[id="'+o+'"]'+n,t(e.parentNode||e,n,!0),r||e.removeAttribute("id"))):void(n.length&&t(e,n,!1))}}var _,w=document,T=w.documentElement,E="getElementsByClassName",x="getElementsByTagName",S="querySelectorAll",C="useNativeQSA",P="tagName",M="nodeType",R=/#([\w\-]+)/,D=/\.[\w\-]+/g,O=/^#([\w\-]+)$/,N=/^\.([\w\-]+)$/,A=/^([\w\-]+)$/,I=/^([\w]+)?\.([\w\-]+)$/,B=/(^|,)\s*[>~+]/,k=/^\s+|\s*([,\s\+\~>]|$)\s*/g,L=/[\s\>\+\~]/,j=/(?![\s\w\-\/\?\&\=\:\.\(\)\!,@#%<>\{\}\$\*\^'"]*\]|[\s\w\+\-]*\))/,G=/([.*+?\^=!:${}()|\[\]\/\\])/g,H=/^(\*|[a-z0-9]+)?(?:([\.\#]+[\w\-\.#]+)?)/,V=/\[([\w\-]+)(?:([\|\^\$\*\~]?\=)['"]?([ \w\-\/\?\&\=\:\.\(\)\!,@#%<>\{\}\$\*\^]+)["']?)?\]/,U=/:([\w\-]+)(\(['"]?([^()]+)['"]?\))?/,F=new RegExp(O.source+"|"+A.source+"|"+N.source),W=new RegExp("("+L.source+")"+j.source,"g"),q=new RegExp(L.source+j.source),X=new RegExp(H.source+"("+V.source+")?("+U.source+")?"),z={" ":function(e){return e&&e!==T&&e.parentNode},">":function(e,t){return e&&e.parentNode==t.parentNode&&e.parentNode},"~":function(e){return e&&e.previousSibling},"+":function(e,t,n,r){return e?(n=i(e))&&(r=i(t))&&n==r&&n:!1}};e.prototype={g:function(e){return this.c[e]||void 0},s:function(e,t,n){return t=n?new RegExp(t):t,this.c[e]=t}};var Y=new e,K=new e,Q=new e,$=new e,Z="compareDocumentPosition"in T?function(e,t){return 16==(16&t.compareDocumentPosition(e))}:"contains"in T?function(e,t){return t=9===t[M]||t==window?T:t,t!==e&&t.contains(e)}:function(e,t){for(;e=e.parentNode;)if(e===t)return 1;return 0},J=function(){var e=w.createElement("p");return(e.innerHTML='<a href="#x">x</a>')&&"#x"!=e.firstChild.getAttribute("href")?function(e,t){return"class"===t?e.className:"href"===t||"src"===t?e.getAttribute(t,2):e.getAttribute(t)}:function(e,t){return e.getAttribute(t)}}(),ee=!!w[E],te=w.querySelector&&w[S],ne=function(e,t){var r,i,s=[];try{return 9!==t[M]&&B.test(e)?(n(r=e.split(","),b(t,function(e,t){i=e[S](t),1==i.length?s[s.length]=i.item(0):i.length&&(s=s.concat(o(i)))})),r.length>1&&s.length>1?h(s):s):o(t[S](e)); }catch(a){}return re(e,t)},re=function(e,r){var o,i,s,a,u,l,f=[];if(e=e.replace(k,"$1"),i=e.match(I)){for(u=t(i[2]),o=r[x](i[1]||"*"),s=0,a=o.length;a>s;s++)u.test(o[s].className)&&(f[f.length]=o[s]);return f}return n(l=e.split(","),b(r,function(e,t,n){for(u=c(t,e),s=0,a=u.length;a>s;s++)(9===e[M]||n||Z(u[s],r))&&(f[f.length]=u[s])})),l.length>1&&f.length>1?h(f):f},oe=function(e){"undefined"!=typeof e[C]&&(_=e[C]&&te?ne:re)};return oe({useNativeQSA:!0}),v.configure=oe,v.uniq=h,v.is=f,v.pseudos={},v})}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/qwery/qwery.js","/node_modules/qwery")},{_process:43,buffer:3}],46:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./focusNode"),d={componentDidMount:function(){this.props.autoFocus&&f(this.getDOMNode())}};t.exports=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/AutoFocusMixin.js","/node_modules/react/lib")},{"./focusNode":164,_process:43,buffer:3}],47:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}function d(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function p(e){switch(e){case k.topCompositionStart:return L.compositionStart;case k.topCompositionEnd:return L.compositionEnd;case k.topCompositionUpdate:return L.compositionUpdate}}function h(e,t){return e===k.topKeyDown&&t.keyCode===R}function m(e,t){switch(e){case k.topKeyUp:return-1!==M.indexOf(t.keyCode);case k.topKeyDown:return t.keyCode!==R;case k.topKeyPress:case k.topMouseDown:case k.topBlur:return!0;default:return!1}}function g(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function y(e,t,n,r){var o,i;if(D?o=p(e):G?m(e,r)&&(o=L.compositionEnd):h(e,r)&&(o=L.compositionStart),!o)return null;A&&(G||o!==L.compositionStart?o===L.compositionEnd&&G&&(i=G.getData()):G=x.getPooled(t));var s=S.getPooled(o,n,r);if(i)s.data=i;else{var a=g(r);null!==a&&(s.data=a)}return T.accumulateTwoPhaseDispatches(s),s}function v(e,t){switch(e){case k.topCompositionEnd:return g(t);case k.topKeyPress:var n=t.which;return n!==I?null:(j=!0,B);case k.topTextInput:var r=t.data;return r===B&&j?null:r;default:return null}}function b(e,t){if(G){if(e===k.topCompositionEnd||m(e,t)){var n=G.getData();return x.release(G),G=null,n}return null}switch(e){case k.topPaste:return null;case k.topKeyPress:return t.which&&!d(t)?String.fromCharCode(t.which):null;case k.topCompositionEnd:return A?null:t.data;default:return null}}function _(e,t,n,r){var o;if(o=N?v(e,r):b(e,r),!o)return null;var i=C.getPooled(L.beforeInput,n,r);return i.data=o,T.accumulateTwoPhaseDispatches(i),i}var w=e("./EventConstants"),T=e("./EventPropagators"),E=e("./ExecutionEnvironment"),x=e("./FallbackCompositionState"),S=e("./SyntheticCompositionEvent"),C=e("./SyntheticInputEvent"),P=e("./keyOf"),M=[9,13,27,32],R=229,D=E.canUseDOM&&"CompositionEvent"in window,O=null;E.canUseDOM&&"documentMode"in document&&(O=document.documentMode);var N=E.canUseDOM&&"TextEvent"in window&&!O&&!f(),A=E.canUseDOM&&(!D||O&&O>8&&11>=O),I=32,B=String.fromCharCode(I),k=w.topLevelTypes,L={beforeInput:{phasedRegistrationNames:{bubbled:P({onBeforeInput:null}),captured:P({onBeforeInputCapture:null})},dependencies:[k.topCompositionEnd,k.topKeyPress,k.topTextInput,k.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:P({onCompositionEnd:null}),captured:P({onCompositionEndCapture:null})},dependencies:[k.topBlur,k.topCompositionEnd,k.topKeyDown,k.topKeyPress,k.topKeyUp,k.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:P({onCompositionStart:null}),captured:P({onCompositionStartCapture:null})},dependencies:[k.topBlur,k.topCompositionStart,k.topKeyDown,k.topKeyPress,k.topKeyUp,k.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:P({onCompositionUpdate:null}),captured:P({onCompositionUpdateCapture:null})},dependencies:[k.topBlur,k.topCompositionUpdate,k.topKeyDown,k.topKeyPress,k.topKeyUp,k.topMouseDown]}},j=!1,G=null,H={eventTypes:L,extractEvents:function(e,t,n,r){return[y(e,t,n,r),_(e,t,n,r)]}};t.exports=H}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/BeforeInputEventPlugin.js","/node_modules/react/lib")},{"./EventConstants":59,"./EventPropagators":64,"./ExecutionEnvironment":65,"./FallbackCompositionState":66,"./SyntheticCompositionEvent":138,"./SyntheticInputEvent":142,"./keyOf":186,_process:43,buffer:3}],48:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";function c(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var f={boxFlex:!0,boxFlexGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0},d=["Webkit","ms","Moz","O"];Object.keys(f).forEach(function(e){d.forEach(function(t){f[c(t,e)]=f[e]})});var p={background:{backgroundImage:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundColor:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0}},h={isUnitlessNumber:f,shorthandPropertyExpansions:p};t.exports=h}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/CSSProperty.js","/node_modules/react/lib")},{_process:43,buffer:3}],49:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./CSSProperty"),d=e("./ExecutionEnvironment"),p=e("./camelizeStyleName"),h=e("./dangerousStyleValue"),m=e("./hyphenateStyleName"),g=e("./memoizeStringOnly"),y=e("./warning"),v=g(function(e){return m(e)}),b="cssFloat";if(d.canUseDOM&&void 0===document.documentElement.style.cssFloat&&(b="styleFloat"),"production"!==n.env.NODE_ENV)var _=/^(?:webkit|moz|o)[A-Z]/,w=/;\s*$/,T={},E={},x=function(e){T.hasOwnProperty(e)&&T[e]||(T[e]=!0,"production"!==n.env.NODE_ENV?y(!1,"Unsupported style property %s. Did you mean %s?",e,p(e)):null)},S=function(e){T.hasOwnProperty(e)&&T[e]||(T[e]=!0,"production"!==n.env.NODE_ENV?y(!1,"Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)):null)},C=function(e,t){E.hasOwnProperty(t)&&E[t]||(E[t]=!0,"production"!==n.env.NODE_ENV?y(!1,'Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,t.replace(w,"")):null)},P=function(e,t){e.indexOf("-")>-1?x(e):_.test(e)?S(e):w.test(t)&&C(e,t)};var M={createMarkupForStyles:function(e){var t="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];"production"!==n.env.NODE_ENV&&P(r,o),null!=o&&(t+=v(r)+":",t+=h(r,o)+";")}return t||null},setValueForStyles:function(e,t){var r=e.style;for(var o in t)if(t.hasOwnProperty(o)){"production"!==n.env.NODE_ENV&&P(o,t[o]);var i=h(o,t[o]);if("float"===o&&(o=b),i)r[o]=i;else{var s=f.shorthandPropertyExpansions[o];if(s)for(var a in s)r[a]="";else r[o]=""}}}};t.exports=M}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/CSSPropertyOperations.js","/node_modules/react/lib")},{"./CSSProperty":48,"./ExecutionEnvironment":65,"./camelizeStyleName":153,"./dangerousStyleValue":158,"./hyphenateStyleName":178,"./memoizeStringOnly":188,"./warning":199,_process:43,buffer:3}],50:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(){this._callbacks=null,this._contexts=null}var d=e("./PooledClass"),p=e("./Object.assign"),h=e("./invariant");p(f.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,t=this._contexts;if(e){"production"!==n.env.NODE_ENV?h(e.length===t.length,"Mismatched list of contexts in callback queue"):h(e.length===t.length),this._callbacks=null,this._contexts=null;for(var r=0,o=e.length;o>r;r++)e[r].call(t[r]);e.length=0,t.length=0}},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),d.addPoolingTo(f),t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/CallbackQueue.js","/node_modules/react/lib")},{"./Object.assign":71,"./PooledClass":72,"./invariant":180,_process:43,buffer:3}],51:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){return"SELECT"===e.nodeName||"INPUT"===e.nodeName&&"file"===e.type}function d(e){var t=O.getPooled(k.change,j,e);M.accumulateTwoPhaseDispatches(t),D.batchedUpdates(p,t)}function p(e){P.enqueueEvents(e),P.processEventQueue()}function h(e,t){L=e,j=t,L.attachEvent("onchange",d)}function m(){L&&(L.detachEvent("onchange",d),L=null,j=null)}function g(e,t,n){return e===B.topChange?n:void 0}function y(e,t,n){e===B.topFocus?(m(),h(t,n)):e===B.topBlur&&m()}function v(e,t){L=e,j=t,G=e.value,H=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(L,"value",F),L.attachEvent("onpropertychange",_)}function b(){L&&(delete L.value,L.detachEvent("onpropertychange",_),L=null,j=null,G=null,H=null)}function _(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==G&&(G=t,d(e))}}function w(e,t,n){return e===B.topInput?n:void 0}function T(e,t,n){e===B.topFocus?(b(),v(t,n)):e===B.topBlur&&b()}function E(e,t,n){return e!==B.topSelectionChange&&e!==B.topKeyUp&&e!==B.topKeyDown||!L||L.value===G?void 0:(G=L.value,j)}function x(e){return"INPUT"===e.nodeName&&("checkbox"===e.type||"radio"===e.type)}function S(e,t,n){return e===B.topClick?n:void 0}var C=e("./EventConstants"),P=e("./EventPluginHub"),M=e("./EventPropagators"),R=e("./ExecutionEnvironment"),D=e("./ReactUpdates"),O=e("./SyntheticEvent"),N=e("./isEventSupported"),A=e("./isTextInputElement"),I=e("./keyOf"),B=C.topLevelTypes,k={change:{phasedRegistrationNames:{bubbled:I({onChange:null}),captured:I({onChangeCapture:null})},dependencies:[B.topBlur,B.topChange,B.topClick,B.topFocus,B.topInput,B.topKeyDown,B.topKeyUp,B.topSelectionChange]}},L=null,j=null,G=null,H=null,V=!1;R.canUseDOM&&(V=N("change")&&(!("documentMode"in document)||document.documentMode>8));var U=!1;R.canUseDOM&&(U=N("input")&&(!("documentMode"in document)||document.documentMode>9));var F={get:function(){return H.get.call(this)},set:function(e){G=""+e,H.set.call(this,e)}},W={eventTypes:k,extractEvents:function(e,t,n,r){var o,i;if(f(t)?V?o=g:i=y:A(t)?U?o=w:(o=E,i=T):x(t)&&(o=S),o){var s=o(e,t,n);if(s){var a=O.getPooled(k.change,s,r);return M.accumulateTwoPhaseDispatches(a),a}}i&&i(e,t,n)}};t.exports=W}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ChangeEventPlugin.js","/node_modules/react/lib")},{"./EventConstants":59,"./EventPluginHub":61,"./EventPropagators":64,"./ExecutionEnvironment":65,"./ReactUpdates":132,"./SyntheticEvent":140,"./isEventSupported":181,"./isTextInputElement":183,"./keyOf":186,_process:43,buffer:3}],52:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";var c=0,f={createReactRootIndex:function(){return c++}};t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ClientReactRootIndex.js","/node_modules/react/lib")},{_process:43,buffer:3}],53:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t,n){e.insertBefore(t,e.childNodes[n]||null)}var d=e("./Danger"),p=e("./ReactMultiChildUpdateTypes"),h=e("./setTextContent"),m=e("./invariant"),g={dangerouslyReplaceNodeWithMarkup:d.dangerouslyReplaceNodeWithMarkup,updateTextContent:h,processUpdates:function(e,t){for(var r,o=null,i=null,s=0;s<e.length;s++)if(r=e[s],r.type===p.MOVE_EXISTING||r.type===p.REMOVE_NODE){var a=r.fromIndex,u=r.parentNode.childNodes[a],l=r.parentID;"production"!==n.env.NODE_ENV?m(u,"processUpdates(): Unable to find child %s of element. This probably means the DOM was unexpectedly mutated (e.g., by the browser), usually due to forgetting a <tbody> when using tables, nesting tags like <form>, <p>, or <a>, or using non-SVG elements in an <svg> parent. Try inspecting the child nodes of the element with React ID `%s`.",a,l):m(u),o=o||{},o[l]=o[l]||[],o[l][a]=u,i=i||[],i.push(u)}var c=d.dangerouslyRenderMarkup(t);if(i)for(var g=0;g<i.length;g++)i[g].parentNode.removeChild(i[g]);for(var y=0;y<e.length;y++)switch(r=e[y],r.type){case p.INSERT_MARKUP:f(r.parentNode,c[r.markupIndex],r.toIndex);break;case p.MOVE_EXISTING:f(r.parentNode,o[r.parentID][r.fromIndex],r.toIndex);break;case p.TEXT_CONTENT:h(r.parentNode,r.textContent);break;case p.REMOVE_NODE:}}};t.exports=g}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/DOMChildrenOperations.js","/node_modules/react/lib")},{"./Danger":56,"./ReactMultiChildUpdateTypes":117,"./invariant":180,"./setTextContent":194,_process:43,buffer:3}],54:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t){return(e&t)===t}var d=e("./invariant"),p={MUST_USE_ATTRIBUTE:1,MUST_USE_PROPERTY:2,HAS_SIDE_EFFECTS:4,HAS_BOOLEAN_VALUE:8,HAS_NUMERIC_VALUE:16,HAS_POSITIVE_NUMERIC_VALUE:48,HAS_OVERLOADED_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(e){var t=e.Properties||{},r=e.DOMAttributeNames||{},o=e.DOMPropertyNames||{},i=e.DOMMutationMethods||{};e.isCustomAttribute&&m._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var s in t){"production"!==n.env.NODE_ENV?d(!m.isStandardName.hasOwnProperty(s),"injectDOMPropertyConfig(...): You're trying to inject DOM property '%s' which has already been injected. You may be accidentally injecting the same DOM property config twice, or you may be injecting two configs that have conflicting property names.",s):d(!m.isStandardName.hasOwnProperty(s)),m.isStandardName[s]=!0;var a=s.toLowerCase();if(m.getPossibleStandardName[a]=s,r.hasOwnProperty(s)){var u=r[s];m.getPossibleStandardName[u]=s,m.getAttributeName[s]=u}else m.getAttributeName[s]=a;m.getPropertyName[s]=o.hasOwnProperty(s)?o[s]:s,i.hasOwnProperty(s)?m.getMutationMethod[s]=i[s]:m.getMutationMethod[s]=null;var l=t[s];m.mustUseAttribute[s]=f(l,p.MUST_USE_ATTRIBUTE),m.mustUseProperty[s]=f(l,p.MUST_USE_PROPERTY),m.hasSideEffects[s]=f(l,p.HAS_SIDE_EFFECTS),m.hasBooleanValue[s]=f(l,p.HAS_BOOLEAN_VALUE),m.hasNumericValue[s]=f(l,p.HAS_NUMERIC_VALUE),m.hasPositiveNumericValue[s]=f(l,p.HAS_POSITIVE_NUMERIC_VALUE),m.hasOverloadedBooleanValue[s]=f(l,p.HAS_OVERLOADED_BOOLEAN_VALUE),"production"!==n.env.NODE_ENV?d(!m.mustUseAttribute[s]||!m.mustUseProperty[s],"DOMProperty: Cannot require using both attribute and property: %s",s):d(!m.mustUseAttribute[s]||!m.mustUseProperty[s]),"production"!==n.env.NODE_ENV?d(m.mustUseProperty[s]||!m.hasSideEffects[s],"DOMProperty: Properties that have side effects must use property: %s",s):d(m.mustUseProperty[s]||!m.hasSideEffects[s]),"production"!==n.env.NODE_ENV?d(!!m.hasBooleanValue[s]+!!m.hasNumericValue[s]+!!m.hasOverloadedBooleanValue[s]<=1,"DOMProperty: Value can be one of boolean, overloaded boolean, or numeric value, but not a combination: %s",s):d(!!m.hasBooleanValue[s]+!!m.hasNumericValue[s]+!!m.hasOverloadedBooleanValue[s]<=1)}}},h={},m={ID_ATTRIBUTE_NAME:"data-reactid",isStandardName:{},getPossibleStandardName:{},getAttributeName:{},getPropertyName:{},getMutationMethod:{},mustUseAttribute:{},mustUseProperty:{},hasSideEffects:{},hasBooleanValue:{},hasNumericValue:{},hasPositiveNumericValue:{},hasOverloadedBooleanValue:{},_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<m._isCustomAttributeFunctions.length;t++){var n=m._isCustomAttributeFunctions[t];if(n(e))return!0}return!1},getDefaultValueForProperty:function(e,t){var n,r=h[e];return r||(h[e]=r={}),t in r||(n=document.createElement(e),r[t]=n[t]),r[t]},injection:p};t.exports=m}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/DOMProperty.js","/node_modules/react/lib")},{"./invariant":180,_process:43,buffer:3}],55:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t){return null==t||d.hasBooleanValue[e]&&!t||d.hasNumericValue[e]&&isNaN(t)||d.hasPositiveNumericValue[e]&&1>t||d.hasOverloadedBooleanValue[e]&&t===!1}var d=e("./DOMProperty"),p=e("./quoteAttributeValueForBrowser"),h=e("./warning");if("production"!==n.env.NODE_ENV)var m={children:!0,dangerouslySetInnerHTML:!0,key:!0,ref:!0},g={},y=function(e){if(!(m.hasOwnProperty(e)&&m[e]||g.hasOwnProperty(e)&&g[e])){g[e]=!0;var t=e.toLowerCase(),r=d.isCustomAttribute(t)?t:d.getPossibleStandardName.hasOwnProperty(t)?d.getPossibleStandardName[t]:null;"production"!==n.env.NODE_ENV?h(null==r,"Unknown DOM property %s. Did you mean %s?",e,r):null}};var v={createMarkupForID:function(e){return d.ID_ATTRIBUTE_NAME+"="+p(e)},createMarkupForProperty:function(e,t){if(d.isStandardName.hasOwnProperty(e)&&d.isStandardName[e]){if(f(e,t))return"";var r=d.getAttributeName[e];return d.hasBooleanValue[e]||d.hasOverloadedBooleanValue[e]&&t===!0?r:r+"="+p(t)}return d.isCustomAttribute(e)?null==t?"":e+"="+p(t):("production"!==n.env.NODE_ENV&&y(e),null)},setValueForProperty:function(e,t,r){if(d.isStandardName.hasOwnProperty(t)&&d.isStandardName[t]){var o=d.getMutationMethod[t];if(o)o(e,r);else if(f(t,r))this.deleteValueForProperty(e,t);else if(d.mustUseAttribute[t])e.setAttribute(d.getAttributeName[t],""+r);else{var i=d.getPropertyName[t];d.hasSideEffects[t]&&""+e[i]==""+r||(e[i]=r)}}else d.isCustomAttribute(t)?null==r?e.removeAttribute(t):e.setAttribute(t,""+r):"production"!==n.env.NODE_ENV&&y(t)},deleteValueForProperty:function(e,t){if(d.isStandardName.hasOwnProperty(t)&&d.isStandardName[t]){var r=d.getMutationMethod[t];if(r)r(e,void 0);else if(d.mustUseAttribute[t])e.removeAttribute(d.getAttributeName[t]);else{var o=d.getPropertyName[t],i=d.getDefaultValueForProperty(e.nodeName,o);d.hasSideEffects[t]&&""+e[o]===i||(e[o]=i)}}else d.isCustomAttribute(t)?e.removeAttribute(t):"production"!==n.env.NODE_ENV&&y(t)}};t.exports=v}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/DOMPropertyOperations.js","/node_modules/react/lib")},{"./DOMProperty":54,"./quoteAttributeValueForBrowser":192,"./warning":199,_process:43,buffer:3}],56:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){return e.substring(1,e.indexOf(" "))}var d=e("./ExecutionEnvironment"),p=e("./createNodesFromMarkup"),h=e("./emptyFunction"),m=e("./getMarkupWrap"),g=e("./invariant"),y=/^(<[^ \/>]+)/,v="data-danger-index",b={dangerouslyRenderMarkup:function(e){"production"!==n.env.NODE_ENV?g(d.canUseDOM,"dangerouslyRenderMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use React.renderToString for server rendering."):g(d.canUseDOM);for(var t,r={},o=0;o<e.length;o++)"production"!==n.env.NODE_ENV?g(e[o],"dangerouslyRenderMarkup(...): Missing markup."):g(e[o]),t=f(e[o]),t=m(t)?t:"*",r[t]=r[t]||[],r[t][o]=e[o];var i=[],s=0;for(t in r)if(r.hasOwnProperty(t)){var a,u=r[t];for(a in u)if(u.hasOwnProperty(a)){var l=u[a];u[a]=l.replace(y,"$1 "+v+'="'+a+'" ')}for(var c=p(u.join(""),h),b=0;b<c.length;++b){var _=c[b];_.hasAttribute&&_.hasAttribute(v)?(a=+_.getAttribute(v),_.removeAttribute(v),"production"!==n.env.NODE_ENV?g(!i.hasOwnProperty(a),"Danger: Assigning to an already-occupied result index."):g(!i.hasOwnProperty(a)),i[a]=_,s+=1):"production"!==n.env.NODE_ENV&&console.error("Danger: Discarding unexpected node:",_)}}return"production"!==n.env.NODE_ENV?g(s===i.length,"Danger: Did not assign to every index of resultList."):g(s===i.length),"production"!==n.env.NODE_ENV?g(i.length===e.length,"Danger: Expected markup to render %s nodes, but rendered %s.",e.length,i.length):g(i.length===e.length),i},dangerouslyReplaceNodeWithMarkup:function(e,t){"production"!==n.env.NODE_ENV?g(d.canUseDOM,"dangerouslyReplaceNodeWithMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use React.renderToString for server rendering."):g(d.canUseDOM),"production"!==n.env.NODE_ENV?g(t,"dangerouslyReplaceNodeWithMarkup(...): Missing markup."):g(t),"production"!==n.env.NODE_ENV?g("html"!==e.tagName.toLowerCase(),"dangerouslyReplaceNodeWithMarkup(...): Cannot replace markup of the <html> node. This is because browser quirks make this unreliable and/or slow. If you want to render to the root you must use server rendering. See React.renderToString()."):g("html"!==e.tagName.toLowerCase());var r=p(t,h)[0];e.parentNode.replaceChild(r,e)}};t.exports=b}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/Danger.js","/node_modules/react/lib")},{"./ExecutionEnvironment":65,"./createNodesFromMarkup":157,"./emptyFunction":159,"./getMarkupWrap":172,"./invariant":180,_process:43,buffer:3}],57:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./keyOf"),d=[f({ResponderEventPlugin:null}),f({SimpleEventPlugin:null}),f({TapEventPlugin:null}),f({EnterLeaveEventPlugin:null}),f({ChangeEventPlugin:null}),f({SelectEventPlugin:null}),f({BeforeInputEventPlugin:null}),f({AnalyticsEventPlugin:null}),f({MobileSafariClickEventPlugin:null})];t.exports=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/DefaultEventPluginOrder.js","/node_modules/react/lib")},{"./keyOf":186,_process:43,buffer:3}],58:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./EventConstants"),d=e("./EventPropagators"),p=e("./SyntheticMouseEvent"),h=e("./ReactMount"),m=e("./keyOf"),g=f.topLevelTypes,y=h.getFirstReactDOM,v={mouseEnter:{registrationName:m({onMouseEnter:null}),dependencies:[g.topMouseOut,g.topMouseOver]},mouseLeave:{registrationName:m({onMouseLeave:null}),dependencies:[g.topMouseOut,g.topMouseOver]}},b=[null,null],_={eventTypes:v,extractEvents:function(e,t,n,r){if(e===g.topMouseOver&&(r.relatedTarget||r.fromElement))return null;if(e!==g.topMouseOut&&e!==g.topMouseOver)return null;var o;if(t.window===t)o=t;else{var i=t.ownerDocument;o=i?i.defaultView||i.parentWindow:window}var s,a;if(e===g.topMouseOut?(s=t,a=y(r.relatedTarget||r.toElement)||o):(s=o,a=t),s===a)return null;var u=s?h.getID(s):"",l=a?h.getID(a):"",c=p.getPooled(v.mouseLeave,u,r);c.type="mouseleave",c.target=s,c.relatedTarget=a;var f=p.getPooled(v.mouseEnter,l,r);return f.type="mouseenter",f.target=a,f.relatedTarget=s,d.accumulateEnterLeaveDispatches(c,f,u,l),b[0]=c,b[1]=f,b}};t.exports=_}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/EnterLeaveEventPlugin.js","/node_modules/react/lib")},{"./EventConstants":59,"./EventPropagators":64,"./ReactMount":115,"./SyntheticMouseEvent":144,"./keyOf":186,_process:43,buffer:3}],59:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./keyMirror"),d=f({bubbled:null,captured:null}),p=f({topBlur:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topReset:null,topScroll:null,topSelectionChange:null,topSubmit:null,topTextInput:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topWheel:null}),h={topLevelTypes:p,PropagationPhases:d};t.exports=h}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/EventConstants.js","/node_modules/react/lib")},{"./keyMirror":185,_process:43,buffer:3}],60:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){var f=e("./emptyFunction"),d={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,r){return e.addEventListener?(e.addEventListener(t,r,!0),{remove:function(){e.removeEventListener(t,r,!0)}}):("production"!==n.env.NODE_ENV&&console.error("Attempted to listen to events during the capture phase on a browser that does not support the capture phase. Your application will not receive some events."),{remove:f})},registerDefault:function(){}};t.exports=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/EventListener.js","/node_modules/react/lib")},{"./emptyFunction":159,_process:43,buffer:3}],61:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(){var e=_&&_.traverseTwoPhase&&_.traverseEnterLeave;"production"!==n.env.NODE_ENV?g(e,"InstanceHandle not injected before use!"):g(e)}var d=e("./EventPluginRegistry"),p=e("./EventPluginUtils"),h=e("./accumulateInto"),m=e("./forEachAccumulated"),g=e("./invariant"),y={},v=null,b=function(e){if(e){var t=p.executeDispatch,n=d.getPluginModuleForEvent(e);n&&n.executeDispatch&&(t=n.executeDispatch),p.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e)}},_=null,w={injection:{injectMount:p.injection.injectMount,injectInstanceHandle:function(e){_=e,"production"!==n.env.NODE_ENV&&f()},getInstanceHandle:function(){return"production"!==n.env.NODE_ENV&&f(),_},injectEventPluginOrder:d.injectEventPluginOrder,injectEventPluginsByName:d.injectEventPluginsByName},eventNameDispatchConfigs:d.eventNameDispatchConfigs,registrationNameModules:d.registrationNameModules,putListener:function(e,t,r){"production"!==n.env.NODE_ENV?g(!r||"function"==typeof r,"Expected %s listener to be a function, instead got type %s",t,typeof r):g(!r||"function"==typeof r);var o=y[t]||(y[t]={});o[e]=r},getListener:function(e,t){var n=y[t];return n&&n[e]},deleteListener:function(e,t){var n=y[t];n&&delete n[e]},deleteAllListeners:function(e){for(var t in y)delete y[t][e]},extractEvents:function(e,t,n,r){for(var o,i=d.plugins,s=0,a=i.length;a>s;s++){var u=i[s];if(u){var l=u.extractEvents(e,t,n,r);l&&(o=h(o,l))}}return o},enqueueEvents:function(e){e&&(v=h(v,e))},processEventQueue:function(){var e=v;v=null,m(e,b),"production"!==n.env.NODE_ENV?g(!v,"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented."):g(!v)},__purge:function(){y={}},__getListenerBank:function(){return y}};t.exports=w}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/EventPluginHub.js","/node_modules/react/lib")},{"./EventPluginRegistry":62,"./EventPluginUtils":63,"./accumulateInto":150,"./forEachAccumulated":165,"./invariant":180,_process:43,buffer:3}],62:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(){if(m)for(var e in g){var t=g[e],r=m.indexOf(e);if("production"!==n.env.NODE_ENV?h(r>-1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e):h(r>-1),!y.plugins[r]){"production"!==n.env.NODE_ENV?h(t.extractEvents,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e):h(t.extractEvents),y.plugins[r]=t;var o=t.eventTypes;for(var i in o)"production"!==n.env.NODE_ENV?h(d(o[i],t,i),"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",i,e):h(d(o[i],t,i))}}}function d(e,t,r){"production"!==n.env.NODE_ENV?h(!y.eventNameDispatchConfigs.hasOwnProperty(r),"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",r):h(!y.eventNameDispatchConfigs.hasOwnProperty(r)),y.eventNameDispatchConfigs[r]=e;var o=e.phasedRegistrationNames;if(o){for(var i in o)if(o.hasOwnProperty(i)){var s=o[i];p(s,t,r)}return!0}return e.registrationName?(p(e.registrationName,t,r),!0):!1}function p(e,t,r){"production"!==n.env.NODE_ENV?h(!y.registrationNameModules[e],"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e):h(!y.registrationNameModules[e]),y.registrationNameModules[e]=t,y.registrationNameDependencies[e]=t.eventTypes[r].dependencies}var h=e("./invariant"),m=null,g={},y={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){"production"!==n.env.NODE_ENV?h(!m,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."):h(!m),m=Array.prototype.slice.call(e),f()},injectEventPluginsByName:function(e){var t=!1;for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];g.hasOwnProperty(r)&&g[r]===o||("production"!==n.env.NODE_ENV?h(!g[r],"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",r):h(!g[r]),g[r]=o,t=!0)}t&&f()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return y.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=y.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){m=null;for(var e in g)g.hasOwnProperty(e)&&delete g[e];y.plugins.length=0;var t=y.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=y.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};t.exports=y; }).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/EventPluginRegistry.js","/node_modules/react/lib")},{"./invariant":180,_process:43,buffer:3}],63:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){return e===S.topMouseUp||e===S.topTouchEnd||e===S.topTouchCancel}function d(e){return e===S.topMouseMove||e===S.topTouchMove}function p(e){return e===S.topMouseDown||e===S.topTouchStart}function h(e,t){var r=e._dispatchListeners,o=e._dispatchIDs;if("production"!==n.env.NODE_ENV&&w(e),Array.isArray(r))for(var i=0;i<r.length&&!e.isPropagationStopped();i++)t(e,r[i],o[i]);else r&&t(e,r,o)}function m(e,t,n){e.currentTarget=x.Mount.getNode(n);var r=t(e,n);return e.currentTarget=null,r}function g(e,t){h(e,t),e._dispatchListeners=null,e._dispatchIDs=null}function y(e){var t=e._dispatchListeners,r=e._dispatchIDs;if("production"!==n.env.NODE_ENV&&w(e),Array.isArray(t)){for(var o=0;o<t.length&&!e.isPropagationStopped();o++)if(t[o](e,r[o]))return r[o]}else if(t&&t(e,r))return r;return null}function v(e){var t=y(e);return e._dispatchIDs=null,e._dispatchListeners=null,t}function b(e){"production"!==n.env.NODE_ENV&&w(e);var t=e._dispatchListeners,r=e._dispatchIDs;"production"!==n.env.NODE_ENV?E(!Array.isArray(t),"executeDirectDispatch(...): Invalid `event`."):E(!Array.isArray(t));var o=t?t(e,r):null;return e._dispatchListeners=null,e._dispatchIDs=null,o}function _(e){return!!e._dispatchListeners}var w,T=e("./EventConstants"),E=e("./invariant"),x={Mount:null,injectMount:function(e){x.Mount=e,"production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?E(e&&e.getNode,"EventPluginUtils.injection.injectMount(...): Injected Mount module is missing getNode."):E(e&&e.getNode))}},S=T.topLevelTypes;"production"!==n.env.NODE_ENV&&(w=function(e){var t=e._dispatchListeners,r=e._dispatchIDs,o=Array.isArray(t),i=Array.isArray(r),s=i?r.length:r?1:0,a=o?t.length:t?1:0;"production"!==n.env.NODE_ENV?E(i===o&&s===a,"EventPluginUtils: Invalid `event`."):E(i===o&&s===a)});var C={isEndish:f,isMoveish:d,isStartish:p,executeDirectDispatch:b,executeDispatch:m,executeDispatchesInOrder:g,executeDispatchesInOrderStopAtTrue:v,hasDispatches:_,injection:x,useTouchEvents:!1};t.exports=C}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/EventPluginUtils.js","/node_modules/react/lib")},{"./EventConstants":59,"./invariant":180,_process:43,buffer:3}],64:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return x(e,r)}function d(e,t,r){if("production"!==n.env.NODE_ENV&&!e)throw new Error("Dispatching id must not be null");var o=t?E.bubbled:E.captured,i=f(e,r,o);i&&(r._dispatchListeners=w(r._dispatchListeners,i),r._dispatchIDs=w(r._dispatchIDs,e))}function p(e){e&&e.dispatchConfig.phasedRegistrationNames&&_.injection.getInstanceHandle().traverseTwoPhase(e.dispatchMarker,d,e)}function h(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=x(e,r);o&&(n._dispatchListeners=w(n._dispatchListeners,o),n._dispatchIDs=w(n._dispatchIDs,e))}}function m(e){e&&e.dispatchConfig.registrationName&&h(e.dispatchMarker,null,e)}function g(e){T(e,p)}function y(e,t,n,r){_.injection.getInstanceHandle().traverseEnterLeave(n,r,h,e,t)}function v(e){T(e,m)}var b=e("./EventConstants"),_=e("./EventPluginHub"),w=e("./accumulateInto"),T=e("./forEachAccumulated"),E=b.PropagationPhases,x=_.getListener,S={accumulateTwoPhaseDispatches:g,accumulateDirectDispatches:v,accumulateEnterLeaveDispatches:y};t.exports=S}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/EventPropagators.js","/node_modules/react/lib")},{"./EventConstants":59,"./EventPluginHub":61,"./accumulateInto":150,"./forEachAccumulated":165,_process:43,buffer:3}],65:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";var c=!("undefined"==typeof window||!window.document||!window.document.createElement),f={canUseDOM:c,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:c&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:c&&!!window.screen,isInWorker:!c};t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ExecutionEnvironment.js","/node_modules/react/lib")},{_process:43,buffer:3}],66:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var d=e("./PooledClass"),p=e("./Object.assign"),h=e("./getTextContentAccessor");p(f.prototype,{getText:function(){return"value"in this._root?this._root.value:this._root[h()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),i=o.length;for(e=0;r>e&&n[e]===o[e];e++);var s=r-e;for(t=1;s>=t&&n[r-t]===o[i-t];t++);var a=t>1?1-t:void 0;return this._fallbackText=o.slice(e,a),this._fallbackText}}),d.addPoolingTo(f),t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/FallbackCompositionState.js","/node_modules/react/lib")},{"./Object.assign":71,"./PooledClass":72,"./getTextContentAccessor":175,_process:43,buffer:3}],67:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f,d=e("./DOMProperty"),p=e("./ExecutionEnvironment"),h=d.injection.MUST_USE_ATTRIBUTE,m=d.injection.MUST_USE_PROPERTY,g=d.injection.HAS_BOOLEAN_VALUE,y=d.injection.HAS_SIDE_EFFECTS,v=d.injection.HAS_NUMERIC_VALUE,b=d.injection.HAS_POSITIVE_NUMERIC_VALUE,_=d.injection.HAS_OVERLOADED_BOOLEAN_VALUE;if(p.canUseDOM){var w=document.implementation;f=w&&w.hasFeature&&w.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}var T={isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/),Properties:{accept:null,acceptCharset:null,accessKey:null,action:null,allowFullScreen:h|g,allowTransparency:h,alt:null,async:g,autoComplete:null,autoPlay:g,cellPadding:null,cellSpacing:null,charSet:h,checked:m|g,classID:h,className:f?h:m,cols:h|b,colSpan:null,content:null,contentEditable:null,contextMenu:h,controls:m|g,coords:null,crossOrigin:null,data:null,dateTime:h,defer:g,dir:null,disabled:h|g,download:_,draggable:null,encType:null,form:h,formAction:h,formEncType:h,formMethod:h,formNoValidate:g,formTarget:h,frameBorder:h,headers:null,height:h,hidden:h|g,high:null,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:m,label:null,lang:null,list:h,loop:m|g,low:null,manifest:h,marginHeight:null,marginWidth:null,max:null,maxLength:h,media:h,mediaGroup:null,method:null,min:null,multiple:m|g,muted:m|g,name:null,noValidate:g,open:g,optimum:null,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:m|g,rel:null,required:g,role:h,rows:h|b,rowSpan:null,sandbox:null,scope:null,scoped:g,scrolling:null,seamless:h|g,selected:m|g,shape:null,size:h|b,sizes:h,span:b,spellCheck:null,src:null,srcDoc:m,srcSet:h,start:v,step:null,style:null,tabIndex:null,target:null,title:null,type:null,useMap:null,value:m|y,width:h,wmode:h,autoCapitalize:null,autoCorrect:null,itemProp:h,itemScope:h|g,itemType:h,itemID:h,itemRef:h,property:null,unselectable:h},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{autoCapitalize:"autocapitalize",autoComplete:"autocomplete",autoCorrect:"autocorrect",autoFocus:"autofocus",autoPlay:"autoplay",encType:"encoding",hrefLang:"hreflang",radioGroup:"radiogroup",spellCheck:"spellcheck",srcDoc:"srcdoc",srcSet:"srcset"}};t.exports=T}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/HTMLDOMPropertyConfig.js","/node_modules/react/lib")},{"./DOMProperty":54,"./ExecutionEnvironment":65,_process:43,buffer:3}],68:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){"production"!==n.env.NODE_ENV?y(null==e.props.checkedLink||null==e.props.valueLink,"Cannot provide a checkedLink and a valueLink. If you want to use checkedLink, you probably don't want to use valueLink and vice versa."):y(null==e.props.checkedLink||null==e.props.valueLink)}function d(e){f(e),"production"!==n.env.NODE_ENV?y(null==e.props.value&&null==e.props.onChange,"Cannot provide a valueLink and a value or onChange event. If you want to use value or onChange, you probably don't want to use valueLink."):y(null==e.props.value&&null==e.props.onChange)}function p(e){f(e),"production"!==n.env.NODE_ENV?y(null==e.props.checked&&null==e.props.onChange,"Cannot provide a checkedLink and a checked property or onChange event. If you want to use checked or onChange, you probably don't want to use checkedLink"):y(null==e.props.checked&&null==e.props.onChange)}function h(e){this.props.valueLink.requestChange(e.target.value)}function m(e){this.props.checkedLink.requestChange(e.target.checked)}var g=e("./ReactPropTypes"),y=e("./invariant"),v={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},b={Mixin:{propTypes:{value:function(e,t,n){return!e[t]||v[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:g.func}},getValue:function(e){return e.props.valueLink?(d(e),e.props.valueLink.value):e.props.value},getChecked:function(e){return e.props.checkedLink?(p(e),e.props.checkedLink.value):e.props.checked},getOnChange:function(e){return e.props.valueLink?(d(e),h):e.props.checkedLink?(p(e),m):e.props.onChange}};t.exports=b}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/LinkedValueUtils.js","/node_modules/react/lib")},{"./ReactPropTypes":123,"./invariant":180,_process:43,buffer:3}],69:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){e.remove()}var d=e("./ReactBrowserEventEmitter"),p=e("./accumulateInto"),h=e("./forEachAccumulated"),m=e("./invariant"),g={trapBubbledEvent:function(e,t){"production"!==n.env.NODE_ENV?m(this.isMounted(),"Must be mounted to trap events"):m(this.isMounted());var r=this.getDOMNode();"production"!==n.env.NODE_ENV?m(r,"LocalEventTrapMixin.trapBubbledEvent(...): Requires node to be rendered."):m(r);var o=d.trapBubbledEvent(e,t,r);this._localEventListeners=p(this._localEventListeners,o)},componentWillUnmount:function(){this._localEventListeners&&h(this._localEventListeners,f)}};t.exports=g}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/LocalEventTrapMixin.js","/node_modules/react/lib")},{"./ReactBrowserEventEmitter":75,"./accumulateInto":150,"./forEachAccumulated":165,"./invariant":180,_process:43,buffer:3}],70:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./EventConstants"),d=e("./emptyFunction"),p=f.topLevelTypes,h={eventTypes:null,extractEvents:function(e,t,n,r){if(e===p.topTouchStart){var o=r.target;o&&!o.onclick&&(o.onclick=d)}}};t.exports=h}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/MobileSafariClickEventPlugin.js","/node_modules/react/lib")},{"./EventConstants":59,"./emptyFunction":159,_process:43,buffer:3}],71:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";function c(e,t){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");for(var n=Object(e),r=Object.prototype.hasOwnProperty,o=1;o<arguments.length;o++){var i=arguments[o];if(null!=i){var s=Object(i);for(var a in s)r.call(s,a)&&(n[a]=s[a])}}return n}t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/Object.assign.js","/node_modules/react/lib")},{_process:43,buffer:3}],72:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./invariant"),d=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},p=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},h=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},m=function(e,t,n,r,o){var i=this;if(i.instancePool.length){var s=i.instancePool.pop();return i.call(s,e,t,n,r,o),s}return new i(e,t,n,r,o)},g=function(e){var t=this;"production"!==n.env.NODE_ENV?f(e instanceof t,"Trying to release an instance into a pool of a different type."):f(e instanceof t),e.destructor&&e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},y=10,v=d,b=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||v,n.poolSize||(n.poolSize=y),n.release=g,n},_={addPoolingTo:b,oneArgumentPooler:d,twoArgumentPooler:p,threeArgumentPooler:h,fiveArgumentPooler:m};t.exports=_}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/PooledClass.js","/node_modules/react/lib")},{"./invariant":180,_process:43,buffer:3}],73:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./EventPluginUtils"),d=e("./ReactChildren"),p=e("./ReactComponent"),h=e("./ReactClass"),m=e("./ReactContext"),g=e("./ReactCurrentOwner"),y=e("./ReactElement"),v=e("./ReactElementValidator"),b=e("./ReactDOM"),_=e("./ReactDOMTextComponent"),w=e("./ReactDefaultInjection"),T=e("./ReactInstanceHandles"),E=e("./ReactMount"),x=e("./ReactPerf"),S=e("./ReactPropTypes"),C=e("./ReactReconciler"),P=e("./ReactServerRendering"),M=e("./Object.assign"),R=e("./findDOMNode"),D=e("./onlyChild");w.inject();var O=y.createElement,N=y.createFactory,A=y.cloneElement;"production"!==n.env.NODE_ENV&&(O=v.createElement,N=v.createFactory,A=v.cloneElement);var I=x.measure("React","render",E.render),B={Children:{map:d.map,forEach:d.forEach,count:d.count,only:D},Component:p,DOM:b,PropTypes:S,initializeTouchEvents:function(e){f.useTouchEvents=e},createClass:h.createClass,createElement:O,cloneElement:A,createFactory:N,createMixin:function(e){return e},constructAndRenderComponent:E.constructAndRenderComponent,constructAndRenderComponentByID:E.constructAndRenderComponentByID,findDOMNode:R,render:I,renderToString:P.renderToString,renderToStaticMarkup:P.renderToStaticMarkup,unmountComponentAtNode:E.unmountComponentAtNode,isValidElement:y.isValidElement,withContext:m.withContext,__spread:M};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({CurrentOwner:g,InstanceHandles:T,Mount:E,Reconciler:C,TextComponent:_}),"production"!==n.env.NODE_ENV){var k=e("./ExecutionEnvironment");if(k.canUseDOM&&window.top===window.self){navigator.userAgent.indexOf("Chrome")>-1&&"undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&console.debug("Download the React DevTools for a better development experience: https://fb.me/react-devtools");for(var L=[Array.isArray,Array.prototype.every,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.map,Date.now,Function.prototype.bind,Object.keys,String.prototype.split,String.prototype.trim,Object.create,Object.freeze],j=0;j<L.length;j++)if(!L[j]){console.error("One or more ES5 shim/shams expected by React are not available: https://fb.me/react-warning-polyfills");break}}}B.version="0.13.3",t.exports=B}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/React.js","/node_modules/react/lib")},{"./EventPluginUtils":63,"./ExecutionEnvironment":65,"./Object.assign":71,"./ReactChildren":77,"./ReactClass":78,"./ReactComponent":79,"./ReactContext":83,"./ReactCurrentOwner":84,"./ReactDOM":85,"./ReactDOMTextComponent":96,"./ReactDefaultInjection":99,"./ReactElement":102,"./ReactElementValidator":103,"./ReactInstanceHandles":111,"./ReactMount":115,"./ReactPerf":120,"./ReactPropTypes":123,"./ReactReconciler":126,"./ReactServerRendering":129,"./findDOMNode":162,"./onlyChild":189,_process:43,buffer:3}],74:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./findDOMNode"),d={getDOMNode:function(){return f(this)}};t.exports=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactBrowserComponentMixin.js","/node_modules/react/lib")},{"./findDOMNode":162,_process:43,buffer:3}],75:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){return Object.prototype.hasOwnProperty.call(e,E)||(e[E]=w++,b[e[E]]={}),b[e[E]]}var d=e("./EventConstants"),p=e("./EventPluginHub"),h=e("./EventPluginRegistry"),m=e("./ReactEventEmitterMixin"),g=e("./ViewportMetrics"),y=e("./Object.assign"),v=e("./isEventSupported"),b={},_=!1,w=0,T={topBlur:"blur",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topScroll:"scroll",topSelectionChange:"selectionchange",topTextInput:"textInput",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topWheel:"wheel"},E="_reactListenersID"+String(Math.random()).slice(2),x=y({},m,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(x.handleTopLevel),x.ReactEventListener=e}},setEnabled:function(e){x.ReactEventListener&&x.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!x.ReactEventListener||!x.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,r=f(n),o=h.registrationNameDependencies[e],i=d.topLevelTypes,s=0,a=o.length;a>s;s++){var u=o[s];r.hasOwnProperty(u)&&r[u]||(u===i.topWheel?v("wheel")?x.ReactEventListener.trapBubbledEvent(i.topWheel,"wheel",n):v("mousewheel")?x.ReactEventListener.trapBubbledEvent(i.topWheel,"mousewheel",n):x.ReactEventListener.trapBubbledEvent(i.topWheel,"DOMMouseScroll",n):u===i.topScroll?v("scroll",!0)?x.ReactEventListener.trapCapturedEvent(i.topScroll,"scroll",n):x.ReactEventListener.trapBubbledEvent(i.topScroll,"scroll",x.ReactEventListener.WINDOW_HANDLE):u===i.topFocus||u===i.topBlur?(v("focus",!0)?(x.ReactEventListener.trapCapturedEvent(i.topFocus,"focus",n),x.ReactEventListener.trapCapturedEvent(i.topBlur,"blur",n)):v("focusin")&&(x.ReactEventListener.trapBubbledEvent(i.topFocus,"focusin",n),x.ReactEventListener.trapBubbledEvent(i.topBlur,"focusout",n)),r[i.topBlur]=!0,r[i.topFocus]=!0):T.hasOwnProperty(u)&&x.ReactEventListener.trapBubbledEvent(u,T[u],n),r[u]=!0)}},trapBubbledEvent:function(e,t,n){return x.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return x.ReactEventListener.trapCapturedEvent(e,t,n)},ensureScrollValueMonitoring:function(){if(!_){var e=g.refreshScrollValues;x.ReactEventListener.monitorScrollValue(e),_=!0}},eventNameDispatchConfigs:p.eventNameDispatchConfigs,registrationNameModules:p.registrationNameModules,putListener:p.putListener,getListener:p.getListener,deleteListener:p.deleteListener,deleteAllListeners:p.deleteAllListeners});t.exports=x}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactBrowserEventEmitter.js","/node_modules/react/lib")},{"./EventConstants":59,"./EventPluginHub":61,"./EventPluginRegistry":62,"./Object.assign":71,"./ReactEventEmitterMixin":106,"./ViewportMetrics":149,"./isEventSupported":181,_process:43,buffer:3}],76:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./ReactReconciler"),d=e("./flattenChildren"),p=e("./instantiateReactComponent"),h=e("./shouldUpdateReactComponent"),m={instantiateChildren:function(e,t,n){var r=d(e);for(var o in r)if(r.hasOwnProperty(o)){var i=r[o],s=p(i,null);r[o]=s}return r},updateChildren:function(e,t,n,r){var o=d(t);if(!o&&!e)return null;var i;for(i in o)if(o.hasOwnProperty(i)){var s=e&&e[i],a=s&&s._currentElement,u=o[i];if(h(a,u))f.receiveComponent(s,u,n,r),o[i]=s;else{s&&f.unmountComponent(s,i);var l=p(u,null);o[i]=l}}for(i in e)!e.hasOwnProperty(i)||o&&o.hasOwnProperty(i)||f.unmountComponent(e[i]);return o},unmountChildren:function(e){for(var t in e){var n=e[t];f.unmountComponent(n)}}};t.exports=m}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactChildReconciler.js","/node_modules/react/lib")},{"./ReactReconciler":126,"./flattenChildren":163,"./instantiateReactComponent":179,"./shouldUpdateReactComponent":196,_process:43,buffer:3}],77:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t){this.forEachFunction=e,this.forEachContext=t}function d(e,t,n,r){var o=e;o.forEachFunction.call(o.forEachContext,t,r)}function p(e,t,n){if(null==e)return e;var r=f.getPooled(t,n);w(e,d,r),f.release(r)}function h(e,t,n){this.mapResult=e,this.mapFunction=t,this.mapContext=n}function m(e,t,r,o){var i=e,s=i.mapResult,a=!s.hasOwnProperty(r);if("production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?T(a,"ReactChildren.map(...): Encountered two children with the same key, `%s`. Child keys must be unique; when two children share a key, only the first child will be used.",r):null),a){var u=i.mapFunction.call(i.mapContext,t,o);s[r]=u}}function g(e,t,n){if(null==e)return e;var r={},o=h.getPooled(r,t,n);return w(e,m,o),h.release(o),_.create(r)}function y(e,t,n,r){return null}function v(e,t){return w(e,y,null)}var b=e("./PooledClass"),_=e("./ReactFragment"),w=e("./traverseAllChildren"),T=e("./warning"),E=b.twoArgumentPooler,x=b.threeArgumentPooler;b.addPoolingTo(f,E),b.addPoolingTo(h,x);var S={forEach:p,map:g,count:v};t.exports=S}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactChildren.js","/node_modules/react/lib")},{"./PooledClass":72,"./ReactFragment":108,"./traverseAllChildren":198,"./warning":199,_process:43,buffer:3}],78:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t,r){for(var o in t)t.hasOwnProperty(o)&&("production"!==n.env.NODE_ENV?A("function"==typeof t[o],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e.displayName||"ReactClass",P[r],o):null)}function d(e,t){var r=L.hasOwnProperty(t)?L[t]:null;H.hasOwnProperty(t)&&("production"!==n.env.NODE_ENV?D(r===B.OVERRIDE_BASE,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t):D(r===B.OVERRIDE_BASE)),e.hasOwnProperty(t)&&("production"!==n.env.NODE_ENV?D(r===B.DEFINE_MANY||r===B.DEFINE_MANY_MERGED,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t):D(r===B.DEFINE_MANY||r===B.DEFINE_MANY_MERGED))}function p(e,t){if(t){"production"!==n.env.NODE_ENV?D("function"!=typeof t,"ReactClass: You're attempting to use a component class as a mixin. Instead, just use a regular object."):D("function"!=typeof t),"production"!==n.env.NODE_ENV?D(!T.isValidElement(t),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object."):D(!T.isValidElement(t));var r=e.prototype;t.hasOwnProperty(I)&&j.mixins(e,t.mixins);for(var o in t)if(t.hasOwnProperty(o)&&o!==I){var i=t[o];if(d(r,o),j.hasOwnProperty(o))j[o](e,i);else{var s=L.hasOwnProperty(o),a=r.hasOwnProperty(o),u=i&&i.__reactDontBind,l="function"==typeof i,c=l&&!s&&!a&&!u;if(c)r.__reactAutoBindMap||(r.__reactAutoBindMap={}),r.__reactAutoBindMap[o]=i,r[o]=i;else if(a){var f=L[o];"production"!==n.env.NODE_ENV?D(s&&(f===B.DEFINE_MANY_MERGED||f===B.DEFINE_MANY),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",f,o):D(s&&(f===B.DEFINE_MANY_MERGED||f===B.DEFINE_MANY)),f===B.DEFINE_MANY_MERGED?r[o]=g(r[o],i):f===B.DEFINE_MANY&&(r[o]=y(r[o],i))}else r[o]=i,"production"!==n.env.NODE_ENV&&"function"==typeof i&&t.displayName&&(r[o].displayName=t.displayName+"_"+o)}}}}function h(e,t){if(t)for(var r in t){var o=t[r];if(t.hasOwnProperty(r)){var i=r in j;"production"!==n.env.NODE_ENV?D(!i,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',r):D(!i);var s=r in e;"production"!==n.env.NODE_ENV?D(!s,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",r):D(!s),e[r]=o}}}function m(e,t){"production"!==n.env.NODE_ENV?D(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."):D(e&&t&&"object"==typeof e&&"object"==typeof t);for(var r in t)t.hasOwnProperty(r)&&("production"!==n.env.NODE_ENV?D(void 0===e[r],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",r):D(void 0===e[r]),e[r]=t[r]);return e}function g(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return m(o,n),m(o,r),o}}function y(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function v(e,t){var r=t.bind(e);if("production"!==n.env.NODE_ENV){r.__reactBoundContext=e,r.__reactBoundMethod=t,r.__reactBoundArguments=null;var o=e.constructor.displayName,i=r.bind;r.bind=function(s){for(var a=[],u=1,l=arguments.length;l>u;u++)a.push(arguments[u]);if(s!==e&&null!==s)"production"!==n.env.NODE_ENV?A(!1,"bind(): React component methods may only be bound to the component instance. See %s",o):null;else if(!a.length)return"production"!==n.env.NODE_ENV?A(!1,"bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See %s",o):null,r;var c=i.apply(r,arguments);return c.__reactBoundContext=e,c.__reactBoundMethod=t,c.__reactBoundArguments=a,c}}return r}function b(e){for(var t in e.__reactAutoBindMap)if(e.__reactAutoBindMap.hasOwnProperty(t)){var n=e.__reactAutoBindMap[t];e[t]=v(e,E.guard(n,e.constructor.displayName+"."+t))}}var _=e("./ReactComponent"),w=e("./ReactCurrentOwner"),T=e("./ReactElement"),E=e("./ReactErrorUtils"),x=e("./ReactInstanceMap"),S=e("./ReactLifeCycle"),C=e("./ReactPropTypeLocations"),P=e("./ReactPropTypeLocationNames"),M=e("./ReactUpdateQueue"),R=e("./Object.assign"),D=e("./invariant"),O=e("./keyMirror"),N=e("./keyOf"),A=e("./warning"),I=N({mixins:null}),B=O({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),k=[],L={mixins:B.DEFINE_MANY,statics:B.DEFINE_MANY,propTypes:B.DEFINE_MANY,contextTypes:B.DEFINE_MANY,childContextTypes:B.DEFINE_MANY,getDefaultProps:B.DEFINE_MANY_MERGED,getInitialState:B.DEFINE_MANY_MERGED,getChildContext:B.DEFINE_MANY_MERGED,render:B.DEFINE_ONCE,componentWillMount:B.DEFINE_MANY,componentDidMount:B.DEFINE_MANY,componentWillReceiveProps:B.DEFINE_MANY,shouldComponentUpdate:B.DEFINE_ONCE,componentWillUpdate:B.DEFINE_MANY,componentDidUpdate:B.DEFINE_MANY,componentWillUnmount:B.DEFINE_MANY,updateComponent:B.OVERRIDE_BASE},j={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)p(e,t[n])},childContextTypes:function(e,t){"production"!==n.env.NODE_ENV&&f(e,t,C.childContext),e.childContextTypes=R({},e.childContextTypes,t)},contextTypes:function(e,t){"production"!==n.env.NODE_ENV&&f(e,t,C.context),e.contextTypes=R({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=g(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){"production"!==n.env.NODE_ENV&&f(e,t,C.prop),e.propTypes=R({},e.propTypes,t)},statics:function(e,t){h(e,t)}},G={enumerable:!1,get:function(){var e=this.displayName||this.name||"Component";return"production"!==n.env.NODE_ENV?A(!1,"%s.type is deprecated. Use %s directly to access the class.",e,e):null,Object.defineProperty(this,"type",{value:this}),this}},H={replaceState:function(e,t){M.enqueueReplaceState(this,e),t&&M.enqueueCallback(this,t)},isMounted:function(){if("production"!==n.env.NODE_ENV){var e=w.current;null!==e&&("production"!==n.env.NODE_ENV?A(e._warnedAboutRefsInRender,"%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",e.getName()||"A component"):null,e._warnedAboutRefsInRender=!0)}var t=x.get(this);return t&&t!==S.currentlyMountingInstance},setProps:function(e,t){M.enqueueSetProps(this,e),t&&M.enqueueCallback(this,t)},replaceProps:function(e,t){M.enqueueReplaceProps(this,e),t&&M.enqueueCallback(this,t)}},V=function(){};R(V.prototype,_.prototype,H);var U={createClass:function(e){var t=function(e,r){"production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?A(this instanceof t,"Something is calling a React component directly. Use a factory or JSX instead. See: https://fb.me/react-legacyfactory"):null),this.__reactAutoBindMap&&b(this),this.props=e,this.context=r,this.state=null;var o=this.getInitialState?this.getInitialState():null; "production"!==n.env.NODE_ENV&&"undefined"==typeof o&&this.getInitialState._isMockFunction&&(o=null),"production"!==n.env.NODE_ENV?D("object"==typeof o&&!Array.isArray(o),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"):D("object"==typeof o&&!Array.isArray(o)),this.state=o};t.prototype=new V,t.prototype.constructor=t,k.forEach(p.bind(null,t)),p(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),"production"!==n.env.NODE_ENV&&(t.getDefaultProps&&(t.getDefaultProps.isReactClassApproved={}),t.prototype.getInitialState&&(t.prototype.getInitialState.isReactClassApproved={})),"production"!==n.env.NODE_ENV?D(t.prototype.render,"createClass(...): Class specification must implement a `render` method."):D(t.prototype.render),"production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?A(!t.prototype.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",e.displayName||"A component"):null);for(var r in L)t.prototype[r]||(t.prototype[r]=null);if(t.type=t,"production"!==n.env.NODE_ENV)try{Object.defineProperty(t,"type",G)}catch(o){}return t},injection:{injectMixin:function(e){k.push(e)}}};t.exports=U}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactClass.js","/node_modules/react/lib")},{"./Object.assign":71,"./ReactComponent":79,"./ReactCurrentOwner":84,"./ReactElement":102,"./ReactErrorUtils":105,"./ReactInstanceMap":112,"./ReactLifeCycle":113,"./ReactPropTypeLocationNames":121,"./ReactPropTypeLocations":122,"./ReactUpdateQueue":131,"./invariant":180,"./keyMirror":185,"./keyOf":186,"./warning":199,_process:43,buffer:3}],79:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t){this.props=e,this.context=t}var d=e("./ReactUpdateQueue"),p=e("./invariant"),h=e("./warning");if(f.prototype.setState=function(e,t){"production"!==n.env.NODE_ENV?p("object"==typeof e||"function"==typeof e||null==e,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."):p("object"==typeof e||"function"==typeof e||null==e),"production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?h(null!=e,"setState(...): You passed an undefined or null state object; instead, use forceUpdate()."):null),d.enqueueSetState(this,e),t&&d.enqueueCallback(this,t)},f.prototype.forceUpdate=function(e){d.enqueueForceUpdate(this),e&&d.enqueueCallback(this,e)},"production"!==n.env.NODE_ENV){var m={getDOMNode:["getDOMNode","Use React.findDOMNode(component) instead."],isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceProps:["replaceProps","Instead, call React.render again at the top level."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."],setProps:["setProps","Instead, call React.render again at the top level."]},g=function(e,t){try{Object.defineProperty(f.prototype,e,{get:function(){"production"!==n.env.NODE_ENV?h(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1]):null}})}catch(r){}};for(var y in m)m.hasOwnProperty(y)&&g(y,m[y])}t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactComponent.js","/node_modules/react/lib")},{"./ReactUpdateQueue":131,"./invariant":180,"./warning":199,_process:43,buffer:3}],80:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./ReactDOMIDOperations"),d=e("./ReactMount"),p={processChildrenUpdates:f.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkupByID:f.dangerouslyReplaceNodeWithMarkupByID,unmountIDFromEnvironment:function(e){d.purgeID(e)}};t.exports=p}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactComponentBrowserEnvironment.js","/node_modules/react/lib")},{"./ReactDOMIDOperations":89,"./ReactMount":115,_process:43,buffer:3}],81:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./invariant"),d=!1,p={unmountIDFromEnvironment:null,replaceNodeWithMarkupByID:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){"production"!==n.env.NODE_ENV?f(!d,"ReactCompositeComponent: injectEnvironment() can only be called once."):f(!d),p.unmountIDFromEnvironment=e.unmountIDFromEnvironment,p.replaceNodeWithMarkupByID=e.replaceNodeWithMarkupByID,p.processChildrenUpdates=e.processChildrenUpdates,d=!0}}};t.exports=p}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactComponentEnvironment.js","/node_modules/react/lib")},{"./invariant":180,_process:43,buffer:3}],82:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" Check the render method of `"+n+"`."}return""}var d=e("./ReactComponentEnvironment"),p=e("./ReactContext"),h=e("./ReactCurrentOwner"),m=e("./ReactElement"),g=e("./ReactElementValidator"),y=e("./ReactInstanceMap"),v=e("./ReactLifeCycle"),b=e("./ReactNativeComponent"),_=e("./ReactPerf"),w=e("./ReactPropTypeLocations"),T=e("./ReactPropTypeLocationNames"),E=e("./ReactReconciler"),x=e("./ReactUpdates"),S=e("./Object.assign"),C=e("./emptyObject"),P=e("./invariant"),M=e("./shouldUpdateReactComponent"),R=e("./warning"),D=1,O={construct:function(e){this._currentElement=e,this._rootNodeID=null,this._instance=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._isTopLevel=!1,this._pendingCallbacks=null},mountComponent:function(e,t,r){this._context=r,this._mountOrder=D++,this._rootNodeID=e;var o=this._processProps(this._currentElement.props),i=this._processContext(this._currentElement._context),s=b.getComponentClassForElement(this._currentElement),a=new s(o,i);"production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?R(null!=a.render,"%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render` in your component or you may have accidentally tried to render an element whose type is a function that isn't a React component.",s.displayName||s.name||"Component"):null),a.props=o,a.context=i,a.refs=C,this._instance=a,y.set(a,this),"production"!==n.env.NODE_ENV&&this._warnIfContextsDiffer(this._currentElement._context,r),"production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?R(!a.getInitialState||a.getInitialState.isReactClassApproved,"getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",this.getName()||"a component"):null,"production"!==n.env.NODE_ENV?R(!a.getDefaultProps||a.getDefaultProps.isReactClassApproved,"getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",this.getName()||"a component"):null,"production"!==n.env.NODE_ENV?R(!a.propTypes,"propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",this.getName()||"a component"):null,"production"!==n.env.NODE_ENV?R(!a.contextTypes,"contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",this.getName()||"a component"):null,"production"!==n.env.NODE_ENV?R("function"!=typeof a.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",this.getName()||"A component"):null);var u=a.state;void 0===u&&(a.state=u=null),"production"!==n.env.NODE_ENV?P("object"==typeof u&&!Array.isArray(u),"%s.state: must be set to an object or null",this.getName()||"ReactCompositeComponent"):P("object"==typeof u&&!Array.isArray(u)),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var l,c,f=v.currentlyMountingInstance;v.currentlyMountingInstance=this;try{a.componentWillMount&&(a.componentWillMount(),this._pendingStateQueue&&(a.state=this._processPendingState(a.props,a.context))),l=this._getValidatedChildContext(r),c=this._renderValidatedComponent(l)}finally{v.currentlyMountingInstance=f}this._renderedComponent=this._instantiateReactComponent(c,this._currentElement.type);var d=E.mountComponent(this._renderedComponent,e,t,this._mergeChildContext(r,l));return a.componentDidMount&&t.getReactMountReady().enqueue(a.componentDidMount,a),d},unmountComponent:function(){var e=this._instance;if(e.componentWillUnmount){var t=v.currentlyUnmountingInstance;v.currentlyUnmountingInstance=this;try{e.componentWillUnmount()}finally{v.currentlyUnmountingInstance=t}}E.unmountComponent(this._renderedComponent),this._renderedComponent=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=null,y.remove(e)},_setPropsInternal:function(e,t){var n=this._pendingElement||this._currentElement;this._pendingElement=m.cloneAndReplaceProps(n,S({},n.props,e)),x.enqueueUpdate(this,t)},_maskContext:function(e){var t=null;if("string"==typeof this._currentElement.type)return C;var n=this._currentElement.type.contextTypes;if(!n)return C;t={};for(var r in n)t[r]=e[r];return t},_processContext:function(e){var t=this._maskContext(e);if("production"!==n.env.NODE_ENV){var r=b.getComponentClassForElement(this._currentElement);r.contextTypes&&this._checkPropTypes(r.contextTypes,t,w.context)}return t},_getValidatedChildContext:function(e){var t=this._instance,r=t.getChildContext&&t.getChildContext();if(r){"production"!==n.env.NODE_ENV?P("object"==typeof t.constructor.childContextTypes,"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",this.getName()||"ReactCompositeComponent"):P("object"==typeof t.constructor.childContextTypes),"production"!==n.env.NODE_ENV&&this._checkPropTypes(t.constructor.childContextTypes,r,w.childContext);for(var o in r)"production"!==n.env.NODE_ENV?P(o in t.constructor.childContextTypes,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',this.getName()||"ReactCompositeComponent",o):P(o in t.constructor.childContextTypes);return r}return null},_mergeChildContext:function(e,t){return t?S({},e,t):e},_processProps:function(e){if("production"!==n.env.NODE_ENV){var t=b.getComponentClassForElement(this._currentElement);t.propTypes&&this._checkPropTypes(t.propTypes,e,w.prop)}return e},_checkPropTypes:function(e,t,r){var o=this.getName();for(var i in e)if(e.hasOwnProperty(i)){var s;try{"production"!==n.env.NODE_ENV?P("function"==typeof e[i],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",o||"React class",T[r],i):P("function"==typeof e[i]),s=e[i](t,i,o,r)}catch(a){s=a}if(s instanceof Error){var u=f(this);r===w.prop?"production"!==n.env.NODE_ENV?R(!1,"Failed Composite propType: %s%s",s.message,u):null:"production"!==n.env.NODE_ENV?R(!1,"Failed Context Types: %s%s",s.message,u):null}}},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement&&E.receiveComponent(this,this._pendingElement||this._currentElement,e,this._context),(null!==this._pendingStateQueue||this._pendingForceUpdate)&&("production"!==n.env.NODE_ENV&&g.checkAndWarnForMutatedProps(this._currentElement),this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context))},_warnIfContextsDiffer:function(e,t){e=this._maskContext(e),t=this._maskContext(t);for(var r=Object.keys(t).sort(),o=this.getName()||"ReactCompositeComponent",i=0;i<r.length;i++){var s=r[i];"production"!==n.env.NODE_ENV?R(e[s]===t[s],"owner-based and parent-based contexts differ (values: `%s` vs `%s`) for key (%s) while mounting %s (see: http://fb.me/react-context-by-parent)",e[s],t[s],s,o):null}},updateComponent:function(e,t,r,o,i){var s=this._instance,a=s.context,u=s.props;t!==r&&(a=this._processContext(r._context),u=this._processProps(r.props),"production"!==n.env.NODE_ENV&&null!=i&&this._warnIfContextsDiffer(r._context,i),s.componentWillReceiveProps&&s.componentWillReceiveProps(u,a));var l=this._processPendingState(u,a),c=this._pendingForceUpdate||!s.shouldComponentUpdate||s.shouldComponentUpdate(u,l,a);"production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?R("undefined"!=typeof c,"%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",this.getName()||"ReactCompositeComponent"):null),c?(this._pendingForceUpdate=!1,this._performComponentUpdate(r,u,l,a,e,i)):(this._currentElement=r,this._context=i,s.props=u,s.state=l,s.context=a)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var i=S({},o?r[0]:n.state),s=o?1:0;s<r.length;s++){var a=r[s];S(i,"function"==typeof a?a.call(n,i,e,t):a)}return i},_performComponentUpdate:function(e,t,n,r,o,i){var s=this._instance,a=s.props,u=s.state,l=s.context;s.componentWillUpdate&&s.componentWillUpdate(t,n,r),this._currentElement=e,this._context=i,s.props=t,s.state=n,s.context=r,this._updateRenderedComponent(o,i),s.componentDidUpdate&&o.getReactMountReady().enqueue(s.componentDidUpdate.bind(s,a,u,l),s)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,o=this._getValidatedChildContext(),i=this._renderValidatedComponent(o);if(M(r,i))E.receiveComponent(n,i,e,this._mergeChildContext(t,o));else{var s=this._rootNodeID,a=n._rootNodeID;E.unmountComponent(n),this._renderedComponent=this._instantiateReactComponent(i,this._currentElement.type);var u=E.mountComponent(this._renderedComponent,s,e,this._mergeChildContext(t,o));this._replaceNodeWithMarkupByID(a,u)}},_replaceNodeWithMarkupByID:function(e,t){d.replaceNodeWithMarkupByID(e,t)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e=this._instance,t=e.render();return"production"!==n.env.NODE_ENV&&"undefined"==typeof t&&e.render._isMockFunction&&(t=null),t},_renderValidatedComponent:function(e){var t,r=p.current;p.current=this._mergeChildContext(this._currentElement._context,e),h.current=this;try{t=this._renderValidatedComponentWithoutOwnerOrContext()}finally{p.current=r,h.current=null}return"production"!==n.env.NODE_ENV?P(null===t||t===!1||m.isValidElement(t),"%s.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid object.",this.getName()||"ReactCompositeComponent"):P(null===t||t===!1||m.isValidElement(t)),t},attachRef:function(e,t){var n=this.getPublicInstance(),r=n.refs===C?n.refs={}:n.refs;r[e]=t.getPublicInstance()},detachRef:function(e){var t=this.getPublicInstance().refs;delete t[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){return this._instance},_instantiateReactComponent:null};_.measureMethods(O,"ReactCompositeComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent",_renderValidatedComponent:"_renderValidatedComponent"});var N={Mixin:O};t.exports=N}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactCompositeComponent.js","/node_modules/react/lib")},{"./Object.assign":71,"./ReactComponentEnvironment":81,"./ReactContext":83,"./ReactCurrentOwner":84,"./ReactElement":102,"./ReactElementValidator":103,"./ReactInstanceMap":112,"./ReactLifeCycle":113,"./ReactNativeComponent":118,"./ReactPerf":120,"./ReactPropTypeLocationNames":121,"./ReactPropTypeLocations":122,"./ReactReconciler":126,"./ReactUpdates":132,"./emptyObject":160,"./invariant":180,"./shouldUpdateReactComponent":196,"./warning":199,_process:43,buffer:3}],83:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./Object.assign"),d=e("./emptyObject"),p=e("./warning"),h=!1,m={current:d,withContext:function(e,t){"production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?p(h,"withContext is deprecated and will be removed in a future version. Use a wrapper component with getChildContext instead."):null,h=!0);var r,o=m.current;m.current=f({},o,e);try{r=t()}finally{m.current=o}return r}};t.exports=m}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactContext.js","/node_modules/react/lib")},{"./Object.assign":71,"./emptyObject":160,"./warning":199,_process:43,buffer:3}],84:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";var c={current:null};t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactCurrentOwner.js","/node_modules/react/lib")},{_process:43,buffer:3}],85:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){return"production"!==n.env.NODE_ENV?p.createFactory(e):d.createFactory(e)}var d=e("./ReactElement"),p=e("./ReactElementValidator"),h=e("./mapObject"),m=h({a:"a",abbr:"abbr",address:"address",area:"area",article:"article",aside:"aside",audio:"audio",b:"b",base:"base",bdi:"bdi",bdo:"bdo",big:"big",blockquote:"blockquote",body:"body",br:"br",button:"button",canvas:"canvas",caption:"caption",cite:"cite",code:"code",col:"col",colgroup:"colgroup",data:"data",datalist:"datalist",dd:"dd",del:"del",details:"details",dfn:"dfn",dialog:"dialog",div:"div",dl:"dl",dt:"dt",em:"em",embed:"embed",fieldset:"fieldset",figcaption:"figcaption",figure:"figure",footer:"footer",form:"form",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",head:"head",header:"header",hr:"hr",html:"html",i:"i",iframe:"iframe",img:"img",input:"input",ins:"ins",kbd:"kbd",keygen:"keygen",label:"label",legend:"legend",li:"li",link:"link",main:"main",map:"map",mark:"mark",menu:"menu",menuitem:"menuitem",meta:"meta",meter:"meter",nav:"nav",noscript:"noscript",object:"object",ol:"ol",optgroup:"optgroup",option:"option",output:"output",p:"p",param:"param",picture:"picture",pre:"pre",progress:"progress",q:"q",rp:"rp",rt:"rt",ruby:"ruby",s:"s",samp:"samp",script:"script",section:"section",select:"select",small:"small",source:"source",span:"span",strong:"strong",style:"style",sub:"sub",summary:"summary",sup:"sup",table:"table",tbody:"tbody",td:"td",textarea:"textarea",tfoot:"tfoot",th:"th",thead:"thead",time:"time",title:"title",tr:"tr",track:"track",u:"u",ul:"ul","var":"var",video:"video",wbr:"wbr",circle:"circle",clipPath:"clipPath",defs:"defs",ellipse:"ellipse",g:"g",line:"line",linearGradient:"linearGradient",mask:"mask",path:"path",pattern:"pattern",polygon:"polygon",polyline:"polyline",radialGradient:"radialGradient",rect:"rect",stop:"stop",svg:"svg",text:"text",tspan:"tspan"},f);t.exports=m}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactDOM.js","/node_modules/react/lib")},{"./ReactElement":102,"./ReactElementValidator":103,"./mapObject":187,_process:43,buffer:3}],86:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./AutoFocusMixin"),d=e("./ReactBrowserComponentMixin"),p=e("./ReactClass"),h=e("./ReactElement"),m=e("./keyMirror"),g=h.createFactory("button"),y=m({onClick:!0,onDoubleClick:!0,onMouseDown:!0,onMouseMove:!0,onMouseUp:!0,onClickCapture:!0,onDoubleClickCapture:!0,onMouseDownCapture:!0,onMouseMoveCapture:!0,onMouseUpCapture:!0}),v=p.createClass({displayName:"ReactDOMButton",tagName:"BUTTON",mixins:[f,d],render:function(){var e={};for(var t in this.props)!this.props.hasOwnProperty(t)||this.props.disabled&&y[t]||(e[t]=this.props[t]);return g(e,this.props.children)}});t.exports=v}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactDOMButton.js","/node_modules/react/lib")},{"./AutoFocusMixin":46,"./ReactBrowserComponentMixin":74,"./ReactClass":78,"./ReactElement":102,"./keyMirror":185,_process:43,buffer:3}],87:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){e&&(null!=e.dangerouslySetInnerHTML&&("production"!==n.env.NODE_ENV?S(null==e.children,"Can only set one of `children` or `props.dangerouslySetInnerHTML`."):S(null==e.children),"production"!==n.env.NODE_ENV?S("object"==typeof e.dangerouslySetInnerHTML&&"__html"in e.dangerouslySetInnerHTML,"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information."):S("object"==typeof e.dangerouslySetInnerHTML&&"__html"in e.dangerouslySetInnerHTML)),"production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?M(null==e.innerHTML,"Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."):null,"production"!==n.env.NODE_ENV?M(!e.contentEditable||null==e.children,"A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."):null),"production"!==n.env.NODE_ENV?S(null==e.style||"object"==typeof e.style,"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."):S(null==e.style||"object"==typeof e.style))}function d(e,t,r,o){"production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?M("onScroll"!==t||C("scroll",!0),"This browser doesn't support the `onScroll` event"):null);var i=_.findReactContainerForID(e);if(i){var s=i.nodeType===I?i.ownerDocument:i;D(t,s)}o.getPutListenerQueue().enqueuePutListener(e,t,r)}function p(e){G.call(j,e)||("production"!==n.env.NODE_ENV?S(L.test(e),"Invalid tag: %s",e):S(L.test(e)),j[e]=!0)}function h(e){p(e),this._tag=e,this._renderedChildren=null,this._previousStyleCopy=null,this._rootNodeID=null}var m=e("./CSSPropertyOperations"),g=e("./DOMProperty"),y=e("./DOMPropertyOperations"),v=e("./ReactBrowserEventEmitter"),b=e("./ReactComponentBrowserEnvironment"),_=e("./ReactMount"),w=e("./ReactMultiChild"),T=e("./ReactPerf"),E=e("./Object.assign"),x=e("./escapeTextContentForBrowser"),S=e("./invariant"),C=e("./isEventSupported"),P=e("./keyOf"),M=e("./warning"),R=v.deleteListener,D=v.listenTo,O=v.registrationNameModules,N={string:!0,number:!0},A=P({style:null}),I=1,B=null,k={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},L=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,j={},G={}.hasOwnProperty;h.displayName="ReactDOMComponent",h.Mixin={construct:function(e){this._currentElement=e},mountComponent:function(e,t,n){this._rootNodeID=e,f(this._currentElement.props);var r=k[this._tag]?"":"</"+this._tag+">";return this._createOpenTagMarkupAndPutListeners(t)+this._createContentMarkup(t,n)+r},_createOpenTagMarkupAndPutListeners:function(e){var t=this._currentElement.props,n="<"+this._tag;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(O.hasOwnProperty(r))d(this._rootNodeID,r,o,e);else{r===A&&(o&&(o=this._previousStyleCopy=E({},t.style)),o=m.createMarkupForStyles(o));var i=y.createMarkupForProperty(r,o);i&&(n+=" "+i)}}if(e.renderToStaticMarkup)return n+">";var s=y.createMarkupForID(this._rootNodeID);return n+" "+s+">"},_createContentMarkup:function(e,t){var n="";("listing"===this._tag||"pre"===this._tag||"textarea"===this._tag)&&(n="\n");var r=this._currentElement.props,o=r.dangerouslySetInnerHTML;if(null!=o){if(null!=o.__html)return n+o.__html}else{var i=N[typeof r.children]?r.children:null,s=null!=i?null:r.children;if(null!=i)return n+x(i);if(null!=s){var a=this.mountChildren(s,e,t);return n+a.join("")}}return n},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e,this.updateComponent(t,r,e,n)},updateComponent:function(e,t,n,r){f(this._currentElement.props),this._updateDOMProperties(t.props,e),this._updateDOMChildren(t.props,e,r)},_updateDOMProperties:function(e,t){var n,r,o,i=this._currentElement.props;for(n in e)if(!i.hasOwnProperty(n)&&e.hasOwnProperty(n))if(n===A){var s=this._previousStyleCopy;for(r in s)s.hasOwnProperty(r)&&(o=o||{},o[r]="");this._previousStyleCopy=null}else O.hasOwnProperty(n)?R(this._rootNodeID,n):(g.isStandardName[n]||g.isCustomAttribute(n))&&B.deletePropertyByID(this._rootNodeID,n);for(n in i){var a=i[n],u=n===A?this._previousStyleCopy:e[n];if(i.hasOwnProperty(n)&&a!==u)if(n===A)if(a?a=this._previousStyleCopy=E({},a):this._previousStyleCopy=null,u){for(r in u)!u.hasOwnProperty(r)||a&&a.hasOwnProperty(r)||(o=o||{},o[r]="");for(r in a)a.hasOwnProperty(r)&&u[r]!==a[r]&&(o=o||{},o[r]=a[r])}else o=a;else O.hasOwnProperty(n)?d(this._rootNodeID,n,a,t):(g.isStandardName[n]||g.isCustomAttribute(n))&&B.updatePropertyByID(this._rootNodeID,n,a)}o&&B.updateStylesByID(this._rootNodeID,o)},_updateDOMChildren:function(e,t,n){var r=this._currentElement.props,o=N[typeof e.children]?e.children:null,i=N[typeof r.children]?r.children:null,s=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,a=r.dangerouslySetInnerHTML&&r.dangerouslySetInnerHTML.__html,u=null!=o?null:e.children,l=null!=i?null:r.children,c=null!=o||null!=s,f=null!=i||null!=a;null!=u&&null==l?this.updateChildren(null,t,n):c&&!f&&this.updateTextContent(""),null!=i?o!==i&&this.updateTextContent(""+i):null!=a?s!==a&&B.updateInnerHTMLByID(this._rootNodeID,a):null!=l&&this.updateChildren(l,t,n)},unmountComponent:function(){this.unmountChildren(),v.deleteAllListeners(this._rootNodeID),b.unmountIDFromEnvironment(this._rootNodeID),this._rootNodeID=null}},T.measureMethods(h,"ReactDOMComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent"}),E(h.prototype,h.Mixin,w.Mixin),h.injection={injectIDOperations:function(e){h.BackendIDOperations=B=e}},t.exports=h}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactDOMComponent.js","/node_modules/react/lib")},{"./CSSPropertyOperations":49,"./DOMProperty":54,"./DOMPropertyOperations":55,"./Object.assign":71,"./ReactBrowserEventEmitter":75,"./ReactComponentBrowserEnvironment":80,"./ReactMount":115,"./ReactMultiChild":116,"./ReactPerf":120,"./escapeTextContentForBrowser":161,"./invariant":180,"./isEventSupported":181,"./keyOf":186,"./warning":199,_process:43,buffer:3}],88:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./EventConstants"),d=e("./LocalEventTrapMixin"),p=e("./ReactBrowserComponentMixin"),h=e("./ReactClass"),m=e("./ReactElement"),g=m.createFactory("form"),y=h.createClass({displayName:"ReactDOMForm",tagName:"FORM",mixins:[p,d],render:function(){return g(this.props)},componentDidMount:function(){this.trapBubbledEvent(f.topLevelTypes.topReset,"reset"),this.trapBubbledEvent(f.topLevelTypes.topSubmit,"submit")}});t.exports=y}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactDOMForm.js","/node_modules/react/lib")},{"./EventConstants":59,"./LocalEventTrapMixin":69,"./ReactBrowserComponentMixin":74,"./ReactClass":78,"./ReactElement":102,_process:43,buffer:3}],89:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./CSSPropertyOperations"),d=e("./DOMChildrenOperations"),p=e("./DOMPropertyOperations"),h=e("./ReactMount"),m=e("./ReactPerf"),g=e("./invariant"),y=e("./setInnerHTML"),v={dangerouslySetInnerHTML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set using `updateStylesByID()`."},b={updatePropertyByID:function(e,t,r){var o=h.getNode(e);"production"!==n.env.NODE_ENV?g(!v.hasOwnProperty(t),"updatePropertyByID(...): %s",v[t]):g(!v.hasOwnProperty(t)),null!=r?p.setValueForProperty(o,t,r):p.deleteValueForProperty(o,t)},deletePropertyByID:function(e,t,r){var o=h.getNode(e);"production"!==n.env.NODE_ENV?g(!v.hasOwnProperty(t),"updatePropertyByID(...): %s",v[t]):g(!v.hasOwnProperty(t)),p.deleteValueForProperty(o,t,r)},updateStylesByID:function(e,t){var n=h.getNode(e);f.setValueForStyles(n,t)},updateInnerHTMLByID:function(e,t){var n=h.getNode(e);y(n,t)},updateTextContentByID:function(e,t){var n=h.getNode(e);d.updateTextContent(n,t)},dangerouslyReplaceNodeWithMarkupByID:function(e,t){var n=h.getNode(e);d.dangerouslyReplaceNodeWithMarkup(n,t)},dangerouslyProcessChildrenUpdates:function(e,t){for(var n=0;n<e.length;n++)e[n].parentNode=h.getNode(e[n].parentID);d.processUpdates(e,t)}};m.measureMethods(b,"ReactDOMIDOperations",{updatePropertyByID:"updatePropertyByID",deletePropertyByID:"deletePropertyByID",updateStylesByID:"updateStylesByID",updateInnerHTMLByID:"updateInnerHTMLByID",updateTextContentByID:"updateTextContentByID",dangerouslyReplaceNodeWithMarkupByID:"dangerouslyReplaceNodeWithMarkupByID",dangerouslyProcessChildrenUpdates:"dangerouslyProcessChildrenUpdates"}),t.exports=b}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactDOMIDOperations.js","/node_modules/react/lib")},{"./CSSPropertyOperations":49,"./DOMChildrenOperations":53,"./DOMPropertyOperations":55,"./ReactMount":115,"./ReactPerf":120,"./invariant":180,"./setInnerHTML":193,_process:43,buffer:3}],90:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./EventConstants"),d=e("./LocalEventTrapMixin"),p=e("./ReactBrowserComponentMixin"),h=e("./ReactClass"),m=e("./ReactElement"),g=m.createFactory("iframe"),y=h.createClass({displayName:"ReactDOMIframe",tagName:"IFRAME",mixins:[p,d],render:function(){return g(this.props)},componentDidMount:function(){this.trapBubbledEvent(f.topLevelTypes.topLoad,"load")}});t.exports=y}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactDOMIframe.js","/node_modules/react/lib")},{"./EventConstants":59,"./LocalEventTrapMixin":69,"./ReactBrowserComponentMixin":74,"./ReactClass":78,"./ReactElement":102,_process:43,buffer:3}],91:[function(e,t,n){ (function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./EventConstants"),d=e("./LocalEventTrapMixin"),p=e("./ReactBrowserComponentMixin"),h=e("./ReactClass"),m=e("./ReactElement"),g=m.createFactory("img"),y=h.createClass({displayName:"ReactDOMImg",tagName:"IMG",mixins:[p,d],render:function(){return g(this.props)},componentDidMount:function(){this.trapBubbledEvent(f.topLevelTypes.topLoad,"load"),this.trapBubbledEvent(f.topLevelTypes.topError,"error")}});t.exports=y}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactDOMImg.js","/node_modules/react/lib")},{"./EventConstants":59,"./LocalEventTrapMixin":69,"./ReactBrowserComponentMixin":74,"./ReactClass":78,"./ReactElement":102,_process:43,buffer:3}],92:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(){this.isMounted()&&this.forceUpdate()}var d=e("./AutoFocusMixin"),p=e("./DOMPropertyOperations"),h=e("./LinkedValueUtils"),m=e("./ReactBrowserComponentMixin"),g=e("./ReactClass"),y=e("./ReactElement"),v=e("./ReactMount"),b=e("./ReactUpdates"),_=e("./Object.assign"),w=e("./invariant"),T=y.createFactory("input"),E={},x=g.createClass({displayName:"ReactDOMInput",tagName:"INPUT",mixins:[d,h.Mixin,m],getInitialState:function(){var e=this.props.defaultValue;return{initialChecked:this.props.defaultChecked||!1,initialValue:null!=e?e:null}},render:function(){var e=_({},this.props);e.defaultChecked=null,e.defaultValue=null;var t=h.getValue(this);e.value=null!=t?t:this.state.initialValue;var n=h.getChecked(this);return e.checked=null!=n?n:this.state.initialChecked,e.onChange=this._handleChange,T(e,this.props.children)},componentDidMount:function(){var e=v.getID(this.getDOMNode());E[e]=this},componentWillUnmount:function(){var e=this.getDOMNode(),t=v.getID(e);delete E[t]},componentDidUpdate:function(e,t,n){var r=this.getDOMNode();null!=this.props.checked&&p.setValueForProperty(r,"checked",this.props.checked||!1);var o=h.getValue(this);null!=o&&p.setValueForProperty(r,"value",""+o)},_handleChange:function(e){var t,r=h.getOnChange(this);r&&(t=r.call(this,e)),b.asap(f,this);var o=this.props.name;if("radio"===this.props.type&&null!=o){for(var i=this.getDOMNode(),s=i;s.parentNode;)s=s.parentNode;for(var a=s.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),u=0,l=a.length;l>u;u++){var c=a[u];if(c!==i&&c.form===i.form){var d=v.getID(c);"production"!==n.env.NODE_ENV?w(d,"ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported."):w(d);var p=E[d];"production"!==n.env.NODE_ENV?w(p,"ReactDOMInput: Unknown radio button ID %s.",d):w(p),b.asap(f,p)}}}return t}});t.exports=x}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactDOMInput.js","/node_modules/react/lib")},{"./AutoFocusMixin":46,"./DOMPropertyOperations":55,"./LinkedValueUtils":68,"./Object.assign":71,"./ReactBrowserComponentMixin":74,"./ReactClass":78,"./ReactElement":102,"./ReactMount":115,"./ReactUpdates":132,"./invariant":180,_process:43,buffer:3}],93:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./ReactBrowserComponentMixin"),d=e("./ReactClass"),p=e("./ReactElement"),h=e("./warning"),m=p.createFactory("option"),g=d.createClass({displayName:"ReactDOMOption",tagName:"OPTION",mixins:[f],componentWillMount:function(){"production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?h(null==this.props.selected,"Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."):null)},render:function(){return m(this.props,this.props.children)}});t.exports=g}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactDOMOption.js","/node_modules/react/lib")},{"./ReactBrowserComponentMixin":74,"./ReactClass":78,"./ReactElement":102,"./warning":199,_process:43,buffer:3}],94:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(){if(this._pendingUpdate){this._pendingUpdate=!1;var e=m.getValue(this);null!=e&&this.isMounted()&&p(this,e)}}function d(e,t,n){if(null==e[t])return null;if(e.multiple){if(!Array.isArray(e[t]))return new Error("The `"+t+"` prop supplied to <select> must be an array if `multiple` is true.")}else if(Array.isArray(e[t]))return new Error("The `"+t+"` prop supplied to <select> must be a scalar value if `multiple` is false.")}function p(e,t){var n,r,o,i=e.getDOMNode().options;if(e.props.multiple){for(n={},r=0,o=t.length;o>r;r++)n[""+t[r]]=!0;for(r=0,o=i.length;o>r;r++){var s=n.hasOwnProperty(i[r].value);i[r].selected!==s&&(i[r].selected=s)}}else{for(n=""+t,r=0,o=i.length;o>r;r++)if(i[r].value===n)return void(i[r].selected=!0);i.length&&(i[0].selected=!0)}}var h=e("./AutoFocusMixin"),m=e("./LinkedValueUtils"),g=e("./ReactBrowserComponentMixin"),y=e("./ReactClass"),v=e("./ReactElement"),b=e("./ReactUpdates"),_=e("./Object.assign"),w=v.createFactory("select"),T=y.createClass({displayName:"ReactDOMSelect",tagName:"SELECT",mixins:[h,m.Mixin,g],propTypes:{defaultValue:d,value:d},render:function(){var e=_({},this.props);return e.onChange=this._handleChange,e.value=null,w(e,this.props.children)},componentWillMount:function(){this._pendingUpdate=!1},componentDidMount:function(){var e=m.getValue(this);null!=e?p(this,e):null!=this.props.defaultValue&&p(this,this.props.defaultValue)},componentDidUpdate:function(e){var t=m.getValue(this);null!=t?(this._pendingUpdate=!1,p(this,t)):!e.multiple!=!this.props.multiple&&(null!=this.props.defaultValue?p(this,this.props.defaultValue):p(this,this.props.multiple?[]:""))},_handleChange:function(e){var t,n=m.getOnChange(this);return n&&(t=n.call(this,e)),this._pendingUpdate=!0,b.asap(f,this),t}});t.exports=T}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactDOMSelect.js","/node_modules/react/lib")},{"./AutoFocusMixin":46,"./LinkedValueUtils":68,"./Object.assign":71,"./ReactBrowserComponentMixin":74,"./ReactClass":78,"./ReactElement":102,"./ReactUpdates":132,_process:43,buffer:3}],95:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t,n,r){return e===n&&t===r}function d(e){var t=document.selection,n=t.createRange(),r=n.text.length,o=n.duplicate();o.moveToElementText(e),o.setEndPoint("EndToStart",n);var i=o.text.length,s=i+r;return{start:i,end:s}}function p(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,r=t.anchorOffset,o=t.focusNode,i=t.focusOffset,s=t.getRangeAt(0),a=f(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),u=a?0:s.toString().length,l=s.cloneRange();l.selectNodeContents(e),l.setEnd(s.startContainer,s.startOffset);var c=f(l.startContainer,l.startOffset,l.endContainer,l.endOffset),d=c?0:l.toString().length,p=d+u,h=document.createRange();h.setStart(n,r),h.setEnd(o,i);var m=h.collapsed;return{start:m?p:d,end:m?d:p}}function h(e,t){var n,r,o=document.selection.createRange().duplicate();"undefined"==typeof t.end?(n=t.start,r=n):t.start>t.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function m(e,t){if(window.getSelection){var n=window.getSelection(),r=e[v()].length,o=Math.min(t.start,r),i="undefined"==typeof t.end?o:Math.min(t.end,r);if(!n.extend&&o>i){var s=i;i=o,o=s}var a=y(e,o),u=y(e,i);if(a&&u){var l=document.createRange();l.setStart(a.node,a.offset),n.removeAllRanges(),o>i?(n.addRange(l),n.extend(u.node,u.offset)):(l.setEnd(u.node,u.offset),n.addRange(l))}}}var g=e("./ExecutionEnvironment"),y=e("./getNodeForCharacterOffset"),v=e("./getTextContentAccessor"),b=g.canUseDOM&&"selection"in document&&!("getSelection"in window),_={getOffsets:b?d:p,setOffsets:b?h:m};t.exports=_}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactDOMSelection.js","/node_modules/react/lib")},{"./ExecutionEnvironment":65,"./getNodeForCharacterOffset":173,"./getTextContentAccessor":175,_process:43,buffer:3}],96:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./DOMPropertyOperations"),d=e("./ReactComponentBrowserEnvironment"),p=e("./ReactDOMComponent"),h=e("./Object.assign"),m=e("./escapeTextContentForBrowser"),g=function(e){};h(g.prototype,{construct:function(e){this._currentElement=e,this._stringText=""+e,this._rootNodeID=null,this._mountIndex=0},mountComponent:function(e,t,n){this._rootNodeID=e;var r=m(this._stringText);return t.renderToStaticMarkup?r:"<span "+f.createMarkupForID(e)+">"+r+"</span>"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;n!==this._stringText&&(this._stringText=n,p.BackendIDOperations.updateTextContentByID(this._rootNodeID,n))}},unmountComponent:function(){d.unmountIDFromEnvironment(this._rootNodeID)}}),t.exports=g}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactDOMTextComponent.js","/node_modules/react/lib")},{"./DOMPropertyOperations":55,"./Object.assign":71,"./ReactComponentBrowserEnvironment":80,"./ReactDOMComponent":87,"./escapeTextContentForBrowser":161,_process:43,buffer:3}],97:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(){this.isMounted()&&this.forceUpdate()}var d=e("./AutoFocusMixin"),p=e("./DOMPropertyOperations"),h=e("./LinkedValueUtils"),m=e("./ReactBrowserComponentMixin"),g=e("./ReactClass"),y=e("./ReactElement"),v=e("./ReactUpdates"),b=e("./Object.assign"),_=e("./invariant"),w=e("./warning"),T=y.createFactory("textarea"),E=g.createClass({displayName:"ReactDOMTextarea",tagName:"TEXTAREA",mixins:[d,h.Mixin,m],getInitialState:function(){var e=this.props.defaultValue,t=this.props.children;null!=t&&("production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?w(!1,"Use the `defaultValue` or `value` props instead of setting children on <textarea>."):null),"production"!==n.env.NODE_ENV?_(null==e,"If you supply `defaultValue` on a <textarea>, do not pass children."):_(null==e),Array.isArray(t)&&("production"!==n.env.NODE_ENV?_(t.length<=1,"<textarea> can only have at most one child."):_(t.length<=1),t=t[0]),e=""+t),null==e&&(e="");var r=h.getValue(this);return{initialValue:""+(null!=r?r:e)}},render:function(){var e=b({},this.props);return"production"!==n.env.NODE_ENV?_(null==e.dangerouslySetInnerHTML,"`dangerouslySetInnerHTML` does not make sense on <textarea>."):_(null==e.dangerouslySetInnerHTML),e.defaultValue=null,e.value=null,e.onChange=this._handleChange,T(e,this.state.initialValue)},componentDidUpdate:function(e,t,n){var r=h.getValue(this);if(null!=r){var o=this.getDOMNode();p.setValueForProperty(o,"value",""+r)}},_handleChange:function(e){var t,n=h.getOnChange(this);return n&&(t=n.call(this,e)),v.asap(f,this),t}});t.exports=E}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactDOMTextarea.js","/node_modules/react/lib")},{"./AutoFocusMixin":46,"./DOMPropertyOperations":55,"./LinkedValueUtils":68,"./Object.assign":71,"./ReactBrowserComponentMixin":74,"./ReactClass":78,"./ReactElement":102,"./ReactUpdates":132,"./invariant":180,"./warning":199,_process:43,buffer:3}],98:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(){this.reinitializeTransaction()}var d=e("./ReactUpdates"),p=e("./Transaction"),h=e("./Object.assign"),m=e("./emptyFunction"),g={initialize:m,close:function(){_.isBatchingUpdates=!1}},y={initialize:m,close:d.flushBatchedUpdates.bind(d)},v=[y,g];h(f.prototype,p.Mixin,{getTransactionWrappers:function(){return v}});var b=new f,_={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o){var i=_.isBatchingUpdates;_.isBatchingUpdates=!0,i?e(t,n,r,o):b.perform(e,null,t,n,r,o)}};t.exports=_}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactDefaultBatchingStrategy.js","/node_modules/react/lib")},{"./Object.assign":71,"./ReactUpdates":132,"./Transaction":148,"./emptyFunction":159,_process:43,buffer:3}],99:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){return T.createClass({tagName:e.toUpperCase(),render:function(){return new k(e,null,null,null,null,this.props)}})}function d(){if(j.EventEmitter.injectReactEventListener(L),j.EventPluginHub.injectEventPluginOrder(g),j.EventPluginHub.injectInstanceHandle(G),j.EventPluginHub.injectMount(H),j.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:W,EnterLeaveEventPlugin:y,ChangeEventPlugin:h,MobileSafariClickEventPlugin:_,SelectEventPlugin:U,BeforeInputEventPlugin:p}),j.NativeComponent.injectGenericComponentClass(S),j.NativeComponent.injectTextComponentClass(B),j.NativeComponent.injectAutoWrapper(f),j.Class.injectMixin(w),j.NativeComponent.injectComponentClasses({button:C,form:P,iframe:D,img:M,input:O,option:N,select:A,textarea:I,html:X("html"),head:X("head"),body:X("body")}),j.DOMProperty.injectDOMPropertyConfig(b),j.DOMProperty.injectDOMPropertyConfig(q),j.EmptyComponent.injectEmptyComponent("noscript"),j.Updates.injectReconcileTransaction(V),j.Updates.injectBatchingStrategy(x),j.RootIndex.injectCreateReactRootIndex(v.canUseDOM?m.createReactRootIndex:F.createReactRootIndex),j.Component.injectEnvironment(E),j.DOMComponent.injectIDOperations(R),"production"!==n.env.NODE_ENV){var t=v.canUseDOM&&window.location.href||"";if(/[?&]react_perf\b/.test(t)){var r=e("./ReactDefaultPerf");r.start()}}}var p=e("./BeforeInputEventPlugin"),h=e("./ChangeEventPlugin"),m=e("./ClientReactRootIndex"),g=e("./DefaultEventPluginOrder"),y=e("./EnterLeaveEventPlugin"),v=e("./ExecutionEnvironment"),b=e("./HTMLDOMPropertyConfig"),_=e("./MobileSafariClickEventPlugin"),w=e("./ReactBrowserComponentMixin"),T=e("./ReactClass"),E=e("./ReactComponentBrowserEnvironment"),x=e("./ReactDefaultBatchingStrategy"),S=e("./ReactDOMComponent"),C=e("./ReactDOMButton"),P=e("./ReactDOMForm"),M=e("./ReactDOMImg"),R=e("./ReactDOMIDOperations"),D=e("./ReactDOMIframe"),O=e("./ReactDOMInput"),N=e("./ReactDOMOption"),A=e("./ReactDOMSelect"),I=e("./ReactDOMTextarea"),B=e("./ReactDOMTextComponent"),k=e("./ReactElement"),L=e("./ReactEventListener"),j=e("./ReactInjection"),G=e("./ReactInstanceHandles"),H=e("./ReactMount"),V=e("./ReactReconcileTransaction"),U=e("./SelectEventPlugin"),F=e("./ServerReactRootIndex"),W=e("./SimpleEventPlugin"),q=e("./SVGDOMPropertyConfig"),X=e("./createFullPageComponent");t.exports={inject:d}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactDefaultInjection.js","/node_modules/react/lib")},{"./BeforeInputEventPlugin":47,"./ChangeEventPlugin":51,"./ClientReactRootIndex":52,"./DefaultEventPluginOrder":57,"./EnterLeaveEventPlugin":58,"./ExecutionEnvironment":65,"./HTMLDOMPropertyConfig":67,"./MobileSafariClickEventPlugin":70,"./ReactBrowserComponentMixin":74,"./ReactClass":78,"./ReactComponentBrowserEnvironment":80,"./ReactDOMButton":86,"./ReactDOMComponent":87,"./ReactDOMForm":88,"./ReactDOMIDOperations":89,"./ReactDOMIframe":90,"./ReactDOMImg":91,"./ReactDOMInput":92,"./ReactDOMOption":93,"./ReactDOMSelect":94,"./ReactDOMTextComponent":96,"./ReactDOMTextarea":97,"./ReactDefaultBatchingStrategy":98,"./ReactDefaultPerf":100,"./ReactElement":102,"./ReactEventListener":107,"./ReactInjection":109,"./ReactInstanceHandles":111,"./ReactMount":115,"./ReactReconcileTransaction":125,"./SVGDOMPropertyConfig":133,"./SelectEventPlugin":134,"./ServerReactRootIndex":135,"./SimpleEventPlugin":136,"./createFullPageComponent":156,_process:43,buffer:3}],100:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){return Math.floor(100*e)/100}function d(e,t,n){e[t]=(e[t]||0)+n}var p=e("./DOMProperty"),h=e("./ReactDefaultPerfAnalysis"),m=e("./ReactMount"),g=e("./ReactPerf"),y=e("./performanceNow"),v={_allMeasurements:[],_mountStack:[0],_injected:!1,start:function(){v._injected||g.injection.injectMeasure(v.measure),v._allMeasurements.length=0,g.enableMeasure=!0},stop:function(){g.enableMeasure=!1},getLastMeasurements:function(){return v._allMeasurements},printExclusive:function(e){e=e||v._allMeasurements;var t=h.getExclusiveSummary(e);console.table(t.map(function(e){return{"Component class name":e.componentName,"Total inclusive time (ms)":f(e.inclusive),"Exclusive mount time (ms)":f(e.exclusive),"Exclusive render time (ms)":f(e.render),"Mount time per instance (ms)":f(e.exclusive/e.count),"Render time per instance (ms)":f(e.render/e.count),Instances:e.count}}))},printInclusive:function(e){e=e||v._allMeasurements;var t=h.getInclusiveSummary(e);console.table(t.map(function(e){return{"Owner > component":e.componentName,"Inclusive time (ms)":f(e.time),Instances:e.count}})),console.log("Total time:",h.getTotalTime(e).toFixed(2)+" ms")},getMeasurementsSummaryMap:function(e){var t=h.getInclusiveSummary(e,!0);return t.map(function(e){return{"Owner > component":e.componentName,"Wasted time (ms)":e.time,Instances:e.count}})},printWasted:function(e){e=e||v._allMeasurements,console.table(v.getMeasurementsSummaryMap(e)),console.log("Total time:",h.getTotalTime(e).toFixed(2)+" ms")},printDOM:function(e){e=e||v._allMeasurements;var t=h.getDOMSummary(e);console.table(t.map(function(e){var t={};return t[p.ID_ATTRIBUTE_NAME]=e.id,t.type=e.type,t.args=JSON.stringify(e.args),t})),console.log("Total time:",h.getTotalTime(e).toFixed(2)+" ms")},_recordWrite:function(e,t,n,r){var o=v._allMeasurements[v._allMeasurements.length-1].writes;o[e]=o[e]||[],o[e].push({type:t,time:n,args:r})},measure:function(e,t,n){return function(){for(var r=[],o=0,i=arguments.length;i>o;o++)r.push(arguments[o]);var s,a,u;if("_renderNewRootComponent"===t||"flushBatchedUpdates"===t)return v._allMeasurements.push({exclusive:{},inclusive:{},render:{},counts:{},writes:{},displayNames:{},totalTime:0}),u=y(),a=n.apply(this,r),v._allMeasurements[v._allMeasurements.length-1].totalTime=y()-u,a;if("_mountImageIntoNode"===t||"ReactDOMIDOperations"===e){if(u=y(),a=n.apply(this,r),s=y()-u,"_mountImageIntoNode"===t){var l=m.getID(r[1]);v._recordWrite(l,t,s,r[0])}else"dangerouslyProcessChildrenUpdates"===t?r[0].forEach(function(e){var t={};null!==e.fromIndex&&(t.fromIndex=e.fromIndex),null!==e.toIndex&&(t.toIndex=e.toIndex),null!==e.textContent&&(t.textContent=e.textContent),null!==e.markupIndex&&(t.markup=r[1][e.markupIndex]),v._recordWrite(e.parentID,e.type,s,t)}):v._recordWrite(r[0],t,s,Array.prototype.slice.call(r,1));return a}if("ReactCompositeComponent"!==e||"mountComponent"!==t&&"updateComponent"!==t&&"_renderValidatedComponent"!==t)return n.apply(this,r);if("string"==typeof this._currentElement.type)return n.apply(this,r);var c="mountComponent"===t?r[0]:this._rootNodeID,f="_renderValidatedComponent"===t,p="mountComponent"===t,h=v._mountStack,g=v._allMeasurements[v._allMeasurements.length-1];if(f?d(g.counts,c,1):p&&h.push(0),u=y(),a=n.apply(this,r),s=y()-u,f)d(g.render,c,s);else if(p){var b=h.pop();h[h.length-1]+=s,d(g.exclusive,c,s-b),d(g.inclusive,c,s)}else d(g.inclusive,c,s);return g.displayNames[c]={current:this.getName(),owner:this._currentElement._owner?this._currentElement._owner.getName():"<root>"},a}}};t.exports=v}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactDefaultPerf.js","/node_modules/react/lib")},{"./DOMProperty":54,"./ReactDefaultPerfAnalysis":101,"./ReactMount":115,"./ReactPerf":120,"./performanceNow":191,_process:43,buffer:3}],101:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e){for(var t=0,n=0;n<e.length;n++){var r=e[n];t+=r.totalTime}return t}function d(e){for(var t=[],n=0;n<e.length;n++){var r,o=e[n];for(r in o.writes)o.writes[r].forEach(function(e){t.push({id:r,type:v[e.type]||e.type,args:e.args})})}return t}function p(e){for(var t,n={},r=0;r<e.length;r++){var o=e[r],i=g({},o.exclusive,o.inclusive);for(var s in i)t=o.displayNames[s].current,n[t]=n[t]||{componentName:t,inclusive:0,exclusive:0,render:0,count:0},o.render[s]&&(n[t].render+=o.render[s]),o.exclusive[s]&&(n[t].exclusive+=o.exclusive[s]),o.inclusive[s]&&(n[t].inclusive+=o.inclusive[s]),o.counts[s]&&(n[t].count+=o.counts[s])}var a=[];for(t in n)n[t].exclusive>=y&&a.push(n[t]);return a.sort(function(e,t){return t.exclusive-e.exclusive}),a}function h(e,t){for(var n,r={},o=0;o<e.length;o++){var i,s=e[o],a=g({},s.exclusive,s.inclusive);t&&(i=m(s));for(var u in a)if(!t||i[u]){var l=s.displayNames[u];n=l.owner+" > "+l.current,r[n]=r[n]||{componentName:n,time:0,count:0},s.inclusive[u]&&(r[n].time+=s.inclusive[u]),s.counts[u]&&(r[n].count+=s.counts[u])}}var c=[];for(n in r)r[n].time>=y&&c.push(r[n]);return c.sort(function(e,t){return t.time-e.time}),c}function m(e){var t={},n=Object.keys(e.writes),r=g({},e.exclusive,e.inclusive);for(var o in r){for(var i=!1,s=0;s<n.length;s++)if(0===n[s].indexOf(o)){i=!0;break}!i&&e.counts[o]>0&&(t[o]=!0)}return t}var g=e("./Object.assign"),y=1.2,v={_mountImageIntoNode:"set innerHTML",INSERT_MARKUP:"set innerHTML",MOVE_EXISTING:"move",REMOVE_NODE:"remove",TEXT_CONTENT:"set textContent",updatePropertyByID:"update attribute",deletePropertyByID:"delete attribute",updateStylesByID:"update styles",updateInnerHTMLByID:"set innerHTML",dangerouslyReplaceNodeWithMarkupByID:"replace"},b={getExclusiveSummary:p,getInclusiveSummary:h,getDOMSummary:d,getTotalTime:f};t.exports=b}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactDefaultPerfAnalysis.js","/node_modules/react/lib")},{"./Object.assign":71,_process:43,buffer:3}],102:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t){Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:function(){return this._store?this._store[t]:null},set:function(e){"production"!==n.env.NODE_ENV?g(!1,"Don't set the %s property of the React element. Instead, specify the correct value when initially creating the element.",t):null,this._store[t]=e}})}function d(e){try{var t={props:!0};for(var n in t)f(e,n);v=!0}catch(r){}}var p=e("./ReactContext"),h=e("./ReactCurrentOwner"),m=e("./Object.assign"),g=e("./warning"),y={key:!0,ref:!0},v=!1,b=function(e,t,r,o,i,s){if(this.type=e,this.key=t,this.ref=r,this._owner=o,this._context=i,"production"!==n.env.NODE_ENV){this._store={props:s,originalProps:m({},s)};try{Object.defineProperty(this._store,"validated",{configurable:!1,enumerable:!1,writable:!0})}catch(a){}if(this._store.validated=!1,v)return void Object.freeze(this)}this.props=s};b.prototype={_isReactElement:!0},"production"!==n.env.NODE_ENV&&d(b.prototype),b.createElement=function(e,t,n){var r,o={},i=null,s=null;if(null!=t){s=void 0===t.ref?null:t.ref,i=void 0===t.key?null:""+t.key;for(r in t)t.hasOwnProperty(r)&&!y.hasOwnProperty(r)&&(o[r]=t[r])}var a=arguments.length-2;if(1===a)o.children=n;else if(a>1){for(var u=Array(a),l=0;a>l;l++)u[l]=arguments[l+2];o.children=u}if(e&&e.defaultProps){var c=e.defaultProps;for(r in c)"undefined"==typeof o[r]&&(o[r]=c[r])}return new b(e,i,s,h.current,p.current,o)},b.createFactory=function(e){var t=b.createElement.bind(null,e);return t.type=e,t},b.cloneAndReplaceProps=function(e,t){var r=new b(e.type,e.key,e.ref,e._owner,e._context,t);return"production"!==n.env.NODE_ENV&&(r._store.validated=e._store.validated),r},b.cloneElement=function(e,t,n){var r,o=m({},e.props),i=e.key,s=e.ref,a=e._owner;if(null!=t){void 0!==t.ref&&(s=t.ref,a=h.current),void 0!==t.key&&(i=""+t.key);for(r in t)t.hasOwnProperty(r)&&!y.hasOwnProperty(r)&&(o[r]=t[r])}var u=arguments.length-2;if(1===u)o.children=n;else if(u>1){for(var l=Array(u),c=0;u>c;c++)l[c]=arguments[c+2];o.children=l}return new b(e.type,i,s,a,e._context,o)},b.isValidElement=function(e){var t=!(!e||!e._isReactElement);return t},t.exports=b}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactElement.js","/node_modules/react/lib")},{"./Object.assign":71,"./ReactContext":83,"./ReactCurrentOwner":84,"./warning":199,_process:43,buffer:3}],103:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(){if(P.current){var e=P.current.getName();if(e)return" Check the render method of `"+e+"`."}return""}function d(e){var t=e&&e.getPublicInstance();if(t){var n=t.constructor;if(n)return n.displayName||n.name||void 0}}function p(){var e=P.current;return e&&d(e)||void 0}function h(e,t){e._store.validated||null!=e.key||(e._store.validated=!0,g('Each child in an array or iterator should have a unique "key" prop.',e,t))}function m(e,t,n){I.test(e)&&g("Child objects should have non-numeric keys so ordering is preserved.",t,n)}function g(e,t,r){var o=p(),i="string"==typeof r?r:r.displayName||r.name,s=o||i,a=N[e]||(N[e]={});if(!a.hasOwnProperty(s)){a[s]=!0;var u=o?" Check the render method of "+o+".":i?" Check the React.render call using <"+i+">.":"",l="";if(t&&t._owner&&t._owner!==P.current){var c=d(t._owner);l=" It was passed a child from "+c+"."}"production"!==n.env.NODE_ENV?O(!1,e+"%s%s See https://fb.me/react-warning-keys for more information.",u,l):null}}function y(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++){var r=e[n];E.isValidElement(r)&&h(r,t)}else if(E.isValidElement(e))e._store.validated=!0;else if(e){var o=R(e);if(o){if(o!==e.entries)for(var i,s=o.call(e);!(i=s.next()).done;)E.isValidElement(i.value)&&h(i.value,t)}else if("object"==typeof e){var a=x.extractIfFragment(e);for(var u in a)a.hasOwnProperty(u)&&m(u,a[u],t)}}}function v(e,t,r,o){for(var i in t)if(t.hasOwnProperty(i)){var s;try{"production"!==n.env.NODE_ENV?D("function"==typeof t[i],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e||"React class",C[o],i):D("function"==typeof t[i]),s=t[i](r,i,e,o)}catch(a){s=a}if(s instanceof Error&&!(s.message in A)){A[s.message]=!0;var u=f(this);"production"!==n.env.NODE_ENV?O(!1,"Failed propType: %s%s",s.message,u):null}}}function b(e,t){var r=t.type,o="string"==typeof r?r:r.displayName,i=t._owner?t._owner.getPublicInstance().constructor.displayName:null,s=e+"|"+o+"|"+i;if(!B.hasOwnProperty(s)){B[s]=!0;var a="";o&&(a=" <"+o+" />");var u="";i&&(u=" The element was created by "+i+"."),"production"!==n.env.NODE_ENV?O(!1,"Don't set .props.%s of the React component%s. Instead, specify the correct value when initially creating the element or use React.cloneElement to make a new element with updated props.%s",e,a,u):null}}function _(e,t){return e!==e?t!==t:0===e&&0===t?1/e===1/t:e===t}function w(e){if(e._store){var t=e._store.originalProps,n=e.props;for(var r in n)n.hasOwnProperty(r)&&(t.hasOwnProperty(r)&&_(t[r],n[r])||(b(r,e),t[r]=n[r]))}}function T(e){if(null!=e.type){var t=M.getComponentClassForElement(e),r=t.displayName||t.name;t.propTypes&&v(r,t.propTypes,e.props,S.prop),"function"==typeof t.getDefaultProps&&("production"!==n.env.NODE_ENV?O(t.getDefaultProps.isReactClassApproved,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."):null)}}var E=e("./ReactElement"),x=e("./ReactFragment"),S=e("./ReactPropTypeLocations"),C=e("./ReactPropTypeLocationNames"),P=e("./ReactCurrentOwner"),M=e("./ReactNativeComponent"),R=e("./getIteratorFn"),D=e("./invariant"),O=e("./warning"),N={},A={},I=/^\d+$/,B={},k={checkAndWarnForMutatedProps:w,createElement:function(e,t,r){"production"!==n.env.NODE_ENV?O(null!=e,"React.createElement: type should not be null or undefined. It should be a string (for DOM elements) or a ReactClass (for composite components)."):null;var o=E.createElement.apply(this,arguments);if(null==o)return o;for(var i=2;i<arguments.length;i++)y(arguments[i],e);return T(o),o},createFactory:function(e){var t=k.createElement.bind(null,e);if(t.type=e,"production"!==n.env.NODE_ENV)try{Object.defineProperty(t,"type",{enumerable:!1,get:function(){return"production"!==n.env.NODE_ENV?O(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."):null,Object.defineProperty(this,"type",{value:e}),e}})}catch(r){}return t},cloneElement:function(e,t,n){for(var r=E.cloneElement.apply(this,arguments),o=2;o<arguments.length;o++)y(arguments[o],r.type);return T(r),r}};t.exports=k}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactElementValidator.js","/node_modules/react/lib")},{"./ReactCurrentOwner":84,"./ReactElement":102,"./ReactFragment":108,"./ReactNativeComponent":118,"./ReactPropTypeLocationNames":121,"./ReactPropTypeLocations":122,"./getIteratorFn":171,"./invariant":180,"./warning":199,_process:43,buffer:3}],104:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){v[e]=!0}function d(e){delete v[e]}function p(e){return!!v[e]}var h,m=e("./ReactElement"),g=e("./ReactInstanceMap"),y=e("./invariant"),v={},b={injectEmptyComponent:function(e){h=m.createFactory(e)}},_=function(){};_.prototype.componentDidMount=function(){var e=g.get(this);e&&f(e._rootNodeID)},_.prototype.componentWillUnmount=function(){var e=g.get(this);e&&d(e._rootNodeID)},_.prototype.render=function(){return"production"!==n.env.NODE_ENV?y(h,"Trying to return null from a render, but no null placeholder component was injected."):y(h),h()};var w=m.createElement(_),T={emptyElement:w,injection:b,isNullComponentID:p};t.exports=T}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactEmptyComponent.js","/node_modules/react/lib")},{"./ReactElement":102,"./ReactInstanceMap":112,"./invariant":180,_process:43,buffer:3}],105:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";var c={guard:function(e,t){return e}};t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactErrorUtils.js","/node_modules/react/lib")},{_process:43,buffer:3}],106:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){d.enqueueEvents(e),d.processEventQueue()}var d=e("./EventPluginHub"),p={handleTopLevel:function(e,t,n,r){var o=d.extractEvents(e,t,n,r);f(o)}};t.exports=p}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactEventEmitterMixin.js","/node_modules/react/lib"); },{"./EventPluginHub":61,_process:43,buffer:3}],107:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){var t=b.getID(e),n=v.getReactRootIDFromNodeID(t),r=b.findReactContainerForID(n),o=b.getFirstReactDOM(r);return o}function d(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function p(e){for(var t=b.getFirstReactDOM(T(e.nativeEvent))||window,n=t;n;)e.ancestors.push(n),n=f(n);for(var r=0,o=e.ancestors.length;o>r;r++){t=e.ancestors[r];var i=b.getID(t)||"";x._handleTopLevel(e.topLevelType,t,i,e.nativeEvent)}}function h(e){var t=E(window);e(t)}var m=e("./EventListener"),g=e("./ExecutionEnvironment"),y=e("./PooledClass"),v=e("./ReactInstanceHandles"),b=e("./ReactMount"),_=e("./ReactUpdates"),w=e("./Object.assign"),T=e("./getEventTarget"),E=e("./getUnboundedScrollPosition");w(d.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),y.addPoolingTo(d,y.twoArgumentPooler);var x={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:g.canUseDOM?window:null,setHandleTopLevel:function(e){x._handleTopLevel=e},setEnabled:function(e){x._enabled=!!e},isEnabled:function(){return x._enabled},trapBubbledEvent:function(e,t,n){var r=n;return r?m.listen(r,t,x.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){var r=n;return r?m.capture(r,t,x.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=h.bind(null,e);m.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(x._enabled){var n=d.getPooled(e,t);try{_.batchedUpdates(p,n)}finally{d.release(n)}}}};t.exports=x}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactEventListener.js","/node_modules/react/lib")},{"./EventListener":60,"./ExecutionEnvironment":65,"./Object.assign":71,"./PooledClass":72,"./ReactInstanceHandles":111,"./ReactMount":115,"./ReactUpdates":132,"./getEventTarget":170,"./getUnboundedScrollPosition":176,_process:43,buffer:3}],108:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./ReactElement"),d=e("./warning");if("production"!==n.env.NODE_ENV){var p="_reactFragment",h="_reactDidWarn",m=!1;try{var g=function(){return 1};Object.defineProperty({},p,{enumerable:!1,value:!0}),Object.defineProperty({},"key",{enumerable:!0,get:g}),m=!0}catch(y){}var v=function(e,t){Object.defineProperty(e,t,{enumerable:!0,get:function(){return"production"!==n.env.NODE_ENV?d(this[h],"A ReactFragment is an opaque type. Accessing any of its properties is deprecated. Pass it to one of the React.Children helpers."):null,this[h]=!0,this[p][t]},set:function(e){"production"!==n.env.NODE_ENV?d(this[h],"A ReactFragment is an immutable opaque type. Mutating its properties is deprecated."):null,this[h]=!0,this[p][t]=e}})},b={},_=function(e){var t="";for(var n in e)t+=n+":"+typeof e[n]+",";var r=!!b[t];return b[t]=!0,r}}var w={create:function(e){if("production"!==n.env.NODE_ENV){if("object"!=typeof e||!e||Array.isArray(e))return"production"!==n.env.NODE_ENV?d(!1,"React.addons.createFragment only accepts a single object.",e):null,e;if(f.isValidElement(e))return"production"!==n.env.NODE_ENV?d(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."):null,e;if(m){var t={};Object.defineProperty(t,p,{enumerable:!1,value:e}),Object.defineProperty(t,h,{writable:!0,enumerable:!1,value:!1});for(var r in e)v(t,r);return Object.preventExtensions(t),t}}return e},extract:function(e){return"production"!==n.env.NODE_ENV&&m?e[p]?e[p]:("production"!==n.env.NODE_ENV?d(_(e),"Any use of a keyed object should be wrapped in React.addons.createFragment(object) before being passed as a child."):null,e):e},extractIfFragment:function(e){if("production"!==n.env.NODE_ENV&&m){if(e[p])return e[p];for(var t in e)if(e.hasOwnProperty(t)&&f.isValidElement(e[t]))return w.extract(e)}return e}};t.exports=w}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactFragment.js","/node_modules/react/lib")},{"./ReactElement":102,"./warning":199,_process:43,buffer:3}],109:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./DOMProperty"),d=e("./EventPluginHub"),p=e("./ReactComponentEnvironment"),h=e("./ReactClass"),m=e("./ReactEmptyComponent"),g=e("./ReactBrowserEventEmitter"),y=e("./ReactNativeComponent"),v=e("./ReactDOMComponent"),b=e("./ReactPerf"),_=e("./ReactRootIndex"),w=e("./ReactUpdates"),T={Component:p.injection,Class:h.injection,DOMComponent:v.injection,DOMProperty:f.injection,EmptyComponent:m.injection,EventPluginHub:d.injection,EventEmitter:g.injection,NativeComponent:y.injection,Perf:b.injection,RootIndex:_.injection,Updates:w.injection};t.exports=T}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactInjection.js","/node_modules/react/lib")},{"./DOMProperty":54,"./EventPluginHub":61,"./ReactBrowserEventEmitter":75,"./ReactClass":78,"./ReactComponentEnvironment":81,"./ReactDOMComponent":87,"./ReactEmptyComponent":104,"./ReactNativeComponent":118,"./ReactPerf":120,"./ReactRootIndex":128,"./ReactUpdates":132,_process:43,buffer:3}],110:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){return p(document.documentElement,e)}var d=e("./ReactDOMSelection"),p=e("./containsNode"),h=e("./focusNode"),m=e("./getActiveElement"),g={hasSelectionCapabilities:function(e){return e&&("INPUT"===e.nodeName&&"text"===e.type||"TEXTAREA"===e.nodeName||"true"===e.contentEditable)},getSelectionInformation:function(){var e=m();return{focusedElem:e,selectionRange:g.hasSelectionCapabilities(e)?g.getSelection(e):null}},restoreSelection:function(e){var t=m(),n=e.focusedElem,r=e.selectionRange;t!==n&&f(n)&&(g.hasSelectionCapabilities(n)&&g.setSelection(n,r),h(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&"INPUT"===e.nodeName){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=d.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if("undefined"==typeof r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&"INPUT"===e.nodeName){var o=e.createTextRange();o.collapse(!0),o.moveStart("character",n),o.moveEnd("character",r-n),o.select()}else d.setOffsets(e,t)}};t.exports=g}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactInputSelection.js","/node_modules/react/lib")},{"./ReactDOMSelection":95,"./containsNode":154,"./focusNode":164,"./getActiveElement":166,_process:43,buffer:3}],111:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){return w+e.toString(36)}function d(e,t){return e.charAt(t)===w||t===e.length}function p(e){return""===e||e.charAt(0)===w&&e.charAt(e.length-1)!==w}function h(e,t){return 0===t.indexOf(e)&&d(t,e.length)}function m(e){return e?e.substr(0,e.lastIndexOf(w)):""}function g(e,t){if("production"!==n.env.NODE_ENV?_(p(e)&&p(t),"getNextDescendantID(%s, %s): Received an invalid React DOM ID.",e,t):_(p(e)&&p(t)),"production"!==n.env.NODE_ENV?_(h(e,t),"getNextDescendantID(...): React has made an invalid assumption about the DOM hierarchy. Expected `%s` to be an ancestor of `%s`.",e,t):_(h(e,t)),e===t)return e;var r,o=e.length+T;for(r=o;r<t.length&&!d(t,r);r++);return t.substr(0,r)}function y(e,t){var r=Math.min(e.length,t.length);if(0===r)return"";for(var o=0,i=0;r>=i;i++)if(d(e,i)&&d(t,i))o=i;else if(e.charAt(i)!==t.charAt(i))break;var s=e.substr(0,o);return"production"!==n.env.NODE_ENV?_(p(s),"getFirstCommonAncestorID(%s, %s): Expected a valid React DOM ID: %s",e,t,s):_(p(s)),s}function v(e,t,r,o,i,s){e=e||"",t=t||"","production"!==n.env.NODE_ENV?_(e!==t,"traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.",e):_(e!==t);var a=h(t,e);"production"!==n.env.NODE_ENV?_(a||h(e,t),"traverseParentPath(%s, %s, ...): Cannot traverse from two IDs that do not have a parent path.",e,t):_(a||h(e,t));for(var u=0,l=a?m:g,c=e;;c=l(c,t)){var f;if(i&&c===e||s&&c===t||(f=r(c,a,o)),f===!1||c===t)break;"production"!==n.env.NODE_ENV?_(u++<E,"traverseParentPath(%s, %s, ...): Detected an infinite loop while traversing the React DOM ID tree. This may be due to malformed IDs: %s",e,t):_(u++<E)}}var b=e("./ReactRootIndex"),_=e("./invariant"),w=".",T=w.length,E=100,x={createReactRootID:function(){return f(b.createReactRootIndex())},createReactID:function(e,t){return e+t},getReactRootIDFromNodeID:function(e){if(e&&e.charAt(0)===w&&e.length>1){var t=e.indexOf(w,1);return t>-1?e.substr(0,t):e}return null},traverseEnterLeave:function(e,t,n,r,o){var i=y(e,t);i!==e&&v(e,i,n,r,!1,!0),i!==t&&v(i,t,n,o,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(v("",e,t,n,!0,!1),v(e,"",t,n,!1,!0))},traverseAncestors:function(e,t,n){v("",e,t,n,!0,!1)},_getFirstCommonAncestorID:y,_getNextDescendantID:g,isAncestorIDOf:h,SEPARATOR:w};t.exports=x}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactInstanceHandles.js","/node_modules/react/lib")},{"./ReactRootIndex":128,"./invariant":180,_process:43,buffer:3}],112:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";var c={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactInstanceMap.js","/node_modules/react/lib")},{_process:43,buffer:3}],113:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";var c={currentlyMountingInstance:null,currentlyUnmountingInstance:null};t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactLifeCycle.js","/node_modules/react/lib")},{_process:43,buffer:3}],114:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./adler32"),d={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=f(e);return e.replace(">"," "+d.CHECKSUM_ATTR_NAME+'="'+t+'">')},canReuseMarkup:function(e,t){var n=t.getAttribute(d.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var r=f(e);return r===n}};t.exports=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactMarkupChecksum.js","/node_modules/react/lib")},{"./adler32":151,_process:43,buffer:3}],115:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t){for(var n=Math.min(e.length,t.length),r=0;n>r;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function d(e){var t=G(e);return t&&te.getID(t)}function p(e){var t=h(e);if(t)if(z.hasOwnProperty(t)){var r=z[t];r!==e&&("production"!==n.env.NODE_ENV?V(!v(r,t),"ReactMount: Two valid but unequal nodes with the same `%s`: %s",X,t):V(!v(r,t)),z[t]=e)}else z[t]=e;return t}function h(e){return e&&e.getAttribute&&e.getAttribute(X)||""}function m(e,t){var n=h(e);n!==t&&delete z[n],e.setAttribute(X,t),z[t]=e}function g(e){return z.hasOwnProperty(e)&&v(z[e],e)||(z[e]=te.findReactNodeByID(e)),z[e]}function y(e){var t=O.get(e)._rootNodeID;return R.isNullComponentID(t)?null:(z.hasOwnProperty(t)&&v(z[t],t)||(z[t]=te.findReactNodeByID(t)),z[t])}function v(e,t){if(e){"production"!==n.env.NODE_ENV?V(h(e)===t,"ReactMount: Unexpected modification of `%s`",X):V(h(e)===t);var r=te.findReactContainerForID(t);if(r&&j(r,e))return!0}return!1}function b(e){delete z[e]}function _(e){var t=z[e];return t&&v(t,e)?void(ee=t):!1}function w(e){ee=null,D.traverseAncestors(e,_);var t=ee;return ee=null,t}function T(e,t,n,r,o){var i=I.mountComponent(e,t,r,L);e._isTopLevel=!0,te._mountImageIntoNode(i,n,o)}function E(e,t,n,r){var o=k.ReactReconcileTransaction.getPooled();o.perform(T,null,e,t,n,o,r),k.ReactReconcileTransaction.release(o)}var x=e("./DOMProperty"),S=e("./ReactBrowserEventEmitter"),C=e("./ReactCurrentOwner"),P=e("./ReactElement"),M=e("./ReactElementValidator"),R=e("./ReactEmptyComponent"),D=e("./ReactInstanceHandles"),O=e("./ReactInstanceMap"),N=e("./ReactMarkupChecksum"),A=e("./ReactPerf"),I=e("./ReactReconciler"),B=e("./ReactUpdateQueue"),k=e("./ReactUpdates"),L=e("./emptyObject"),j=e("./containsNode"),G=e("./getReactRootElementInContainer"),H=e("./instantiateReactComponent"),V=e("./invariant"),U=e("./setInnerHTML"),F=e("./shouldUpdateReactComponent"),W=e("./warning"),q=D.SEPARATOR,X=x.ID_ATTRIBUTE_NAME,z={},Y=1,K=9,Q={},$={};if("production"!==n.env.NODE_ENV)var Z={};var J=[],ee=null,te={_instancesByReactRootID:Q,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,r,o){return"production"!==n.env.NODE_ENV&&M.checkAndWarnForMutatedProps(t),te.scrollMonitor(r,function(){B.enqueueElementInternal(e,t),o&&B.enqueueCallbackInternal(e,o)}),"production"!==n.env.NODE_ENV&&(Z[d(r)]=G(r)),e},_registerComponent:function(e,t){"production"!==n.env.NODE_ENV?V(t&&(t.nodeType===Y||t.nodeType===K),"_registerComponent(...): Target container is not a DOM element."):V(t&&(t.nodeType===Y||t.nodeType===K)),S.ensureScrollValueMonitoring();var r=te.registerContainer(t);return Q[r]=e,r},_renderNewRootComponent:function(e,t,r){"production"!==n.env.NODE_ENV?W(null==C.current,"_renderNewRootComponent(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate."):null;var o=H(e,null),i=te._registerComponent(o,t);return k.batchedUpdates(E,o,i,t,r),"production"!==n.env.NODE_ENV&&(Z[i]=G(t)),o},render:function(e,t,r){"production"!==n.env.NODE_ENV?V(P.isValidElement(e),"React.render(): Invalid component element.%s","string"==typeof e?" Instead of passing an element string, make sure to instantiate it by passing it to React.createElement.":"function"==typeof e?" Instead of passing a component class, make sure to instantiate it by passing it to React.createElement.":null!=e&&void 0!==e.props?" This may be caused by unintentionally loading two independent copies of React.":""):V(P.isValidElement(e));var o=Q[d(t)];if(o){var i=o._currentElement;if(F(i,e))return te._updateRootComponent(o,e,t,r).getPublicInstance();te.unmountComponentAtNode(t)}var s=G(t),a=s&&te.isRenderedByReact(s);if("production"!==n.env.NODE_ENV&&(!a||s.nextSibling))for(var u=s;u;){if(te.isRenderedByReact(u)){"production"!==n.env.NODE_ENV?W(!1,"render(): Target node has markup rendered by React, but there are unrelated nodes as well. This is most commonly caused by white-space inserted around server-rendered markup."):null;break}u=u.nextSibling}var l=a&&!o,c=te._renderNewRootComponent(e,t,l).getPublicInstance();return r&&r.call(c),c},constructAndRenderComponent:function(e,t,n){var r=P.createElement(e,t);return te.render(r,n)},constructAndRenderComponentByID:function(e,t,r){var o=document.getElementById(r);return"production"!==n.env.NODE_ENV?V(o,'Tried to get element with id of "%s" but it is not present on the page.',r):V(o),te.constructAndRenderComponent(e,t,o)},registerContainer:function(e){var t=d(e);return t&&(t=D.getReactRootIDFromNodeID(t)),t||(t=D.createReactRootID()),$[t]=e,t},unmountComponentAtNode:function(e){"production"!==n.env.NODE_ENV?W(null==C.current,"unmountComponentAtNode(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate."):null,"production"!==n.env.NODE_ENV?V(e&&(e.nodeType===Y||e.nodeType===K),"unmountComponentAtNode(...): Target container is not a DOM element."):V(e&&(e.nodeType===Y||e.nodeType===K));var t=d(e),r=Q[t];return r?(te.unmountComponentFromNode(r,e),delete Q[t],delete $[t],"production"!==n.env.NODE_ENV&&delete Z[t],!0):!1},unmountComponentFromNode:function(e,t){for(I.unmountComponent(e),t.nodeType===K&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)},findReactContainerForID:function(e){var t=D.getReactRootIDFromNodeID(e),r=$[t];if("production"!==n.env.NODE_ENV){var o=Z[t];if(o&&o.parentNode!==r){"production"!==n.env.NODE_ENV?V(h(o)===t,"ReactMount: Root element ID differed from reactRootID."):V(h(o)===t);var i=r.firstChild;i&&t===h(i)?Z[t]=i:"production"!==n.env.NODE_ENV?W(!1,"ReactMount: Root element has been removed from its original container. New container:",o.parentNode):null}}return r},findReactNodeByID:function(e){var t=te.findReactContainerForID(e);return te.findComponentRoot(t,e)},isRenderedByReact:function(e){if(1!==e.nodeType)return!1;var t=te.getID(e);return t?t.charAt(0)===q:!1},getFirstReactDOM:function(e){for(var t=e;t&&t.parentNode!==t;){if(te.isRenderedByReact(t))return t;t=t.parentNode}return null},findComponentRoot:function(e,t){var r=J,o=0,i=w(t)||e;for(r[0]=i.firstChild,r.length=1;o<r.length;){for(var s,a=r[o++];a;){var u=te.getID(a);u?t===u?s=a:D.isAncestorIDOf(u,t)&&(r.length=o=0,r.push(a.firstChild)):r.push(a.firstChild),a=a.nextSibling}if(s)return r.length=0,s}r.length=0,"production"!==n.env.NODE_ENV?V(!1,"findComponentRoot(..., %s): Unable to find element. This probably means the DOM was unexpectedly mutated (e.g., by the browser), usually due to forgetting a <tbody> when using tables, nesting tags like <form>, <p>, or <a>, or using non-SVG elements in an <svg> parent. Try inspecting the child nodes of the element with React ID `%s`.",t,te.getID(e)):V(!1)},_mountImageIntoNode:function(e,t,r){if("production"!==n.env.NODE_ENV?V(t&&(t.nodeType===Y||t.nodeType===K),"mountComponentIntoNode(...): Target container is not valid."):V(t&&(t.nodeType===Y||t.nodeType===K)),r){var o=G(t);if(N.canReuseMarkup(e,o))return;var i=o.getAttribute(N.CHECKSUM_ATTR_NAME);o.removeAttribute(N.CHECKSUM_ATTR_NAME);var s=o.outerHTML;o.setAttribute(N.CHECKSUM_ATTR_NAME,i);var a=f(e,s),u=" (client) "+e.substring(a-20,a+20)+"\n (server) "+s.substring(a-20,a+20);"production"!==n.env.NODE_ENV?V(t.nodeType!==K,"You're trying to render a component to the document using server rendering but the checksum was invalid. This usually means you rendered a different component type or props on the client from the one on the server, or your render() methods are impure. React cannot handle this case due to cross-browser quirks by rendering at the document root. You should look for environment dependent code in your components and ensure the props are the same client and server side:\n%s",u):V(t.nodeType!==K),"production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?W(!1,"React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server:\n%s",u):null)}"production"!==n.env.NODE_ENV?V(t.nodeType!==K,"You're trying to render a component to the document but you didn't use server rendering. We can't do this without using server rendering due to cross-browser quirks. See React.renderToString() for server rendering."):V(t.nodeType!==K),U(t,e)},getReactRootID:d,getID:p,setID:m,getNode:g,getNodeFromInstance:y,purgeID:b};A.measureMethods(te,"ReactMount",{_renderNewRootComponent:"_renderNewRootComponent",_mountImageIntoNode:"_mountImageIntoNode"}),t.exports=te}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactMount.js","/node_modules/react/lib")},{"./DOMProperty":54,"./ReactBrowserEventEmitter":75,"./ReactCurrentOwner":84,"./ReactElement":102,"./ReactElementValidator":103,"./ReactEmptyComponent":104,"./ReactInstanceHandles":111,"./ReactInstanceMap":112,"./ReactMarkupChecksum":114,"./ReactPerf":120,"./ReactReconciler":126,"./ReactUpdateQueue":131,"./ReactUpdates":132,"./containsNode":154,"./emptyObject":160,"./getReactRootElementInContainer":174,"./instantiateReactComponent":179,"./invariant":180,"./setInnerHTML":193,"./shouldUpdateReactComponent":196,"./warning":199,_process:43,buffer:3}],116:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t,n){T.push({parentID:e,parentNode:null,type:v.INSERT_MARKUP,markupIndex:E.push(t)-1,textContent:null,fromIndex:null,toIndex:n})}function d(e,t,n){T.push({parentID:e,parentNode:null,type:v.MOVE_EXISTING,markupIndex:null,textContent:null,fromIndex:t,toIndex:n})}function p(e,t){T.push({parentID:e,parentNode:null,type:v.REMOVE_NODE,markupIndex:null,textContent:null,fromIndex:t,toIndex:null})}function h(e,t){T.push({parentID:e,parentNode:null,type:v.TEXT_CONTENT,markupIndex:null,textContent:t,fromIndex:null,toIndex:null})}function m(){T.length&&(y.processChildrenUpdates(T,E),g())}function g(){T.length=0,E.length=0}var y=e("./ReactComponentEnvironment"),v=e("./ReactMultiChildUpdateTypes"),b=e("./ReactReconciler"),_=e("./ReactChildReconciler"),w=0,T=[],E=[],x={Mixin:{mountChildren:function(e,t,n){var r=_.instantiateChildren(e,t,n);this._renderedChildren=r;var o=[],i=0;for(var s in r)if(r.hasOwnProperty(s)){var a=r[s],u=this._rootNodeID+s,l=b.mountComponent(a,u,t,n);a._mountIndex=i,o.push(l),i++}return o},updateTextContent:function(e){w++;var t=!0;try{var n=this._renderedChildren;_.unmountChildren(n);for(var r in n)n.hasOwnProperty(r)&&this._unmountChildByName(n[r],r);this.setTextContent(e),t=!1}finally{w--,w||(t?g():m())}},updateChildren:function(e,t,n){w++;var r=!0;try{this._updateChildren(e,t,n),r=!1}finally{w--,w||(r?g():m())}},_updateChildren:function(e,t,n){var r=this._renderedChildren,o=_.updateChildren(r,e,t,n);if(this._renderedChildren=o,o||r){var i,s=0,a=0;for(i in o)if(o.hasOwnProperty(i)){var u=r&&r[i],l=o[i];u===l?(this.moveChild(u,a,s),s=Math.max(u._mountIndex,s),u._mountIndex=a):(u&&(s=Math.max(u._mountIndex,s),this._unmountChildByName(u,i)),this._mountChildByNameAtIndex(l,i,a,t,n)),a++}for(i in r)!r.hasOwnProperty(i)||o&&o.hasOwnProperty(i)||this._unmountChildByName(r[i],i)}},unmountChildren:function(){var e=this._renderedChildren;_.unmountChildren(e),this._renderedChildren=null},moveChild:function(e,t,n){e._mountIndex<n&&d(this._rootNodeID,e._mountIndex,t)},createChild:function(e,t){f(this._rootNodeID,t,e._mountIndex)},removeChild:function(e){p(this._rootNodeID,e._mountIndex)},setTextContent:function(e){h(this._rootNodeID,e)},_mountChildByNameAtIndex:function(e,t,n,r,o){var i=this._rootNodeID+t,s=b.mountComponent(e,i,r,o);e._mountIndex=n,this.createChild(e,s)},_unmountChildByName:function(e,t){this.removeChild(e),e._mountIndex=null}}};t.exports=x}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactMultiChild.js","/node_modules/react/lib")},{"./ReactChildReconciler":76,"./ReactComponentEnvironment":81,"./ReactMultiChildUpdateTypes":117,"./ReactReconciler":126,_process:43,buffer:3}],117:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./keyMirror"),d=f({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,TEXT_CONTENT:null});t.exports=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactMultiChildUpdateTypes.js","/node_modules/react/lib")},{"./keyMirror":185,_process:43,buffer:3}],118:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){if("function"==typeof e.type)return e.type;var t=e.type,n=b[t];return null==n&&(b[t]=n=y(t)),n}function d(e){return"production"!==n.env.NODE_ENV?g(v,"There is no registered component for the tag %s",e.type):g(v),new v(e.type,e.props)}function p(e){return new _(e)}function h(e){return e instanceof _}var m=e("./Object.assign"),g=e("./invariant"),y=null,v=null,b={},_=null,w={injectGenericComponentClass:function(e){v=e},injectTextComponentClass:function(e){_=e},injectComponentClasses:function(e){m(b,e)},injectAutoWrapper:function(e){y=e}},T={getComponentClassForElement:f,createInternalComponent:d,createInstanceForText:p,isTextComponent:h,injection:w};t.exports=T}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactNativeComponent.js","/node_modules/react/lib")},{"./Object.assign":71,"./invariant":180,_process:43,buffer:3}],119:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./invariant"),d={isValidOwner:function(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)},addComponentAsRefTo:function(e,t,r){"production"!==n.env.NODE_ENV?f(d.isValidOwner(r),"addComponentAsRefTo(...): Only a ReactOwner can have refs. This usually means that you're trying to add a ref to a component that doesn't have an owner (that is, was not created inside of another component's `render` method). Try rendering this component inside of a new top-level component which will hold the ref."):f(d.isValidOwner(r)),r.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,r){"production"!==n.env.NODE_ENV?f(d.isValidOwner(r),"removeComponentAsRefFrom(...): Only a ReactOwner can have refs. This usually means that you're trying to remove a ref to a component that doesn't have an owner (that is, was not created inside of another component's `render` method). Try rendering this component inside of a new top-level component which will hold the ref."):f(d.isValidOwner(r)),r.getPublicInstance().refs[t]===e.getPublicInstance()&&r.detachRef(t)}};t.exports=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactOwner.js","/node_modules/react/lib")},{"./invariant":180,_process:43,buffer:3}],120:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";function c(e,t,n){return n}var f={enableMeasure:!1,storedMeasure:c,measureMethods:function(t,n,r){if("production"!==e.env.NODE_ENV)for(var o in r)r.hasOwnProperty(o)&&(t[o]=f.measure(n,r[o],t[o]))},measure:function(t,n,r){if("production"!==e.env.NODE_ENV){var o=null,i=function(){return f.enableMeasure?(o||(o=f.storedMeasure(t,n,r)),o.apply(this,arguments)):r.apply(this,arguments)};return i.displayName=t+"_"+n,i}return r},injection:{injectMeasure:function(e){f.storedMeasure=e}}};t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactPerf.js","/node_modules/react/lib")},{_process:43,buffer:3}],121:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";var c={};"production"!==e.env.NODE_ENV&&(c={prop:"prop",context:"context",childContext:"child context"}),t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactPropTypeLocationNames.js","/node_modules/react/lib")},{_process:43,buffer:3}],122:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./keyMirror"),d=f({prop:null,context:null,childContext:null});t.exports=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactPropTypeLocations.js","/node_modules/react/lib")},{"./keyMirror":185,_process:43,buffer:3}],123:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){function t(t,n,r,o,i){if(o=o||R,null==n[r]){var s=P[i];return t?new Error("Required "+s+" `"+r+"` was not specified in "+("`"+o+"`.")):null}return e(n,r,o,i)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function d(e){function t(t,n,r,o){var i=t[n],s=E(i);if(s!==e){var a=P[o],u=x(i);return new Error("Invalid "+a+" `"+n+"` of type `"+u+"` "+("supplied to `"+r+"`, expected `"+e+"`."))}return null}return f(t)}function p(){return f(M.thatReturns(null))}function h(e){function t(t,n,r,o){var i=t[n];if(!Array.isArray(i)){var s=P[o],a=E(i);return new Error("Invalid "+s+" `"+n+"` of type "+("`"+a+"` supplied to `"+r+"`, expected an array."))}for(var u=0;u<i.length;u++){var l=e(i,u,r,o);if(l instanceof Error)return l}return null}return f(t)}function m(){function e(e,t,n,r){if(!S.isValidElement(e[t])){var o=P[r];return new Error("Invalid "+o+" `"+t+"` supplied to "+("`"+n+"`, expected a ReactElement."))}return null}return f(e)}function g(e){function t(t,n,r,o){if(!(t[n]instanceof e)){var i=P[o],s=e.name||R;return new Error("Invalid "+i+" `"+n+"` supplied to "+("`"+r+"`, expected instance of `"+s+"`."))}return null}return f(t)}function y(e){function t(t,n,r,o){for(var i=t[n],s=0;s<e.length;s++)if(i===e[s])return null;var a=P[o],u=JSON.stringify(e);return new Error("Invalid "+a+" `"+n+"` of value `"+i+"` "+("supplied to `"+r+"`, expected one of "+u+"."))}return f(t)}function v(e){function t(t,n,r,o){var i=t[n],s=E(i);if("object"!==s){var a=P[o];return new Error("Invalid "+a+" `"+n+"` of type "+("`"+s+"` supplied to `"+r+"`, expected an object."))}for(var u in i)if(i.hasOwnProperty(u)){var l=e(i,u,r,o);if(l instanceof Error)return l}return null}return f(t)}function b(e){function t(t,n,r,o){for(var i=0;i<e.length;i++){var s=e[i];if(null==s(t,n,r,o))return null}var a=P[o];return new Error("Invalid "+a+" `"+n+"` supplied to "+("`"+r+"`."))}return f(t)}function _(){function e(e,t,n,r){if(!T(e[t])){var o=P[r];return new Error("Invalid "+o+" `"+t+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return f(e)}function w(e){function t(t,n,r,o){var i=t[n],s=E(i);if("object"!==s){var a=P[o];return new Error("Invalid "+a+" `"+n+"` of type `"+s+"` "+("supplied to `"+r+"`, expected `object`."))}for(var u in e){var l=e[u];if(l){var c=l(i,u,r,o);if(c)return c}}return null}return f(t)}function T(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(T);if(null===e||S.isValidElement(e))return!0;e=C.extractIfFragment(e);for(var t in e)if(!T(e[t]))return!1;return!0;default:return!1}}function E(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":t}function x(e){var t=E(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"; }return t}var S=e("./ReactElement"),C=e("./ReactFragment"),P=e("./ReactPropTypeLocationNames"),M=e("./emptyFunction"),R="<<anonymous>>",D=m(),O=_(),N={array:d("array"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),any:p(),arrayOf:h,element:D,instanceOf:g,node:O,objectOf:v,oneOf:y,oneOfType:b,shape:w};t.exports=N}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactPropTypes.js","/node_modules/react/lib")},{"./ReactElement":102,"./ReactFragment":108,"./ReactPropTypeLocationNames":121,"./emptyFunction":159,_process:43,buffer:3}],124:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(){this.listenersToPut=[]}var d=e("./PooledClass"),p=e("./ReactBrowserEventEmitter"),h=e("./Object.assign");h(f.prototype,{enqueuePutListener:function(e,t,n){this.listenersToPut.push({rootNodeID:e,propKey:t,propValue:n})},putListeners:function(){for(var e=0;e<this.listenersToPut.length;e++){var t=this.listenersToPut[e];p.putListener(t.rootNodeID,t.propKey,t.propValue)}},reset:function(){this.listenersToPut.length=0},destructor:function(){this.reset()}}),d.addPoolingTo(f),t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactPutListenerQueue.js","/node_modules/react/lib")},{"./Object.assign":71,"./PooledClass":72,"./ReactBrowserEventEmitter":75,_process:43,buffer:3}],125:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=d.getPooled(null),this.putListenerQueue=g.getPooled()}var d=e("./CallbackQueue"),p=e("./PooledClass"),h=e("./ReactBrowserEventEmitter"),m=e("./ReactInputSelection"),g=e("./ReactPutListenerQueue"),y=e("./Transaction"),v=e("./Object.assign"),b={initialize:m.getSelectionInformation,close:m.restoreSelection},_={initialize:function(){var e=h.isEnabled();return h.setEnabled(!1),e},close:function(e){h.setEnabled(e)}},w={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},T={initialize:function(){this.putListenerQueue.reset()},close:function(){this.putListenerQueue.putListeners()}},E=[T,b,_,w],x={getTransactionWrappers:function(){return E},getReactMountReady:function(){return this.reactMountReady},getPutListenerQueue:function(){return this.putListenerQueue},destructor:function(){d.release(this.reactMountReady),this.reactMountReady=null,g.release(this.putListenerQueue),this.putListenerQueue=null}};v(f.prototype,y.Mixin,x),p.addPoolingTo(f),t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactReconcileTransaction.js","/node_modules/react/lib")},{"./CallbackQueue":50,"./Object.assign":71,"./PooledClass":72,"./ReactBrowserEventEmitter":75,"./ReactInputSelection":110,"./ReactPutListenerQueue":124,"./Transaction":148,_process:43,buffer:3}],126:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(){d.attachRefs(this,this._currentElement)}var d=e("./ReactRef"),p=e("./ReactElementValidator"),h={mountComponent:function(e,t,r,o){var i=e.mountComponent(t,r,o);return"production"!==n.env.NODE_ENV&&p.checkAndWarnForMutatedProps(e._currentElement),r.getReactMountReady().enqueue(f,e),i},unmountComponent:function(e){d.detachRefs(e,e._currentElement),e.unmountComponent()},receiveComponent:function(e,t,r,o){var i=e._currentElement;if(t!==i||null==t._owner){"production"!==n.env.NODE_ENV&&p.checkAndWarnForMutatedProps(t);var s=d.shouldUpdateRefs(i,t);s&&d.detachRefs(e,i),e.receiveComponent(t,r,o),s&&r.getReactMountReady().enqueue(f,e)}},performUpdateIfNecessary:function(e,t){e.performUpdateIfNecessary(t)}};t.exports=h}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactReconciler.js","/node_modules/react/lib")},{"./ReactElementValidator":103,"./ReactRef":127,_process:43,buffer:3}],127:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t,n){"function"==typeof e?e(t.getPublicInstance()):p.addComponentAsRefTo(t,e,n)}function d(e,t,n){"function"==typeof e?e(null):p.removeComponentAsRefFrom(t,e,n)}var p=e("./ReactOwner"),h={};h.attachRefs=function(e,t){var n=t.ref;null!=n&&f(n,e,t._owner)},h.shouldUpdateRefs=function(e,t){return t._owner!==e._owner||t.ref!==e.ref},h.detachRefs=function(e,t){var n=t.ref;null!=n&&d(n,e,t._owner)},t.exports=h}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactRef.js","/node_modules/react/lib")},{"./ReactOwner":119,_process:43,buffer:3}],128:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";var c={injectCreateReactRootIndex:function(e){f.createReactRootIndex=e}},f={createReactRootIndex:null,injection:c};t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactRootIndex.js","/node_modules/react/lib")},{_process:43,buffer:3}],129:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){"production"!==n.env.NODE_ENV?b(p.isValidElement(e),"renderToString(): You must pass a valid ReactElement."):b(p.isValidElement(e));var t;try{var r=h.createReactRootID();return t=g.getPooled(!1),t.perform(function(){var n=v(e,null),o=n.mountComponent(r,t,y);return m.addChecksumToMarkup(o)},null)}finally{g.release(t)}}function d(e){"production"!==n.env.NODE_ENV?b(p.isValidElement(e),"renderToStaticMarkup(): You must pass a valid ReactElement."):b(p.isValidElement(e));var t;try{var r=h.createReactRootID();return t=g.getPooled(!0),t.perform(function(){var n=v(e,null);return n.mountComponent(r,t,y)},null)}finally{g.release(t)}}var p=e("./ReactElement"),h=e("./ReactInstanceHandles"),m=e("./ReactMarkupChecksum"),g=e("./ReactServerRenderingTransaction"),y=e("./emptyObject"),v=e("./instantiateReactComponent"),b=e("./invariant");t.exports={renderToString:f,renderToStaticMarkup:d}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactServerRendering.js","/node_modules/react/lib")},{"./ReactElement":102,"./ReactInstanceHandles":111,"./ReactMarkupChecksum":114,"./ReactServerRenderingTransaction":130,"./emptyObject":160,"./instantiateReactComponent":179,"./invariant":180,_process:43,buffer:3}],130:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.reactMountReady=p.getPooled(null),this.putListenerQueue=h.getPooled()}var d=e("./PooledClass"),p=e("./CallbackQueue"),h=e("./ReactPutListenerQueue"),m=e("./Transaction"),g=e("./Object.assign"),y=e("./emptyFunction"),v={initialize:function(){this.reactMountReady.reset()},close:y},b={initialize:function(){this.putListenerQueue.reset()},close:y},_=[b,v],w={getTransactionWrappers:function(){return _},getReactMountReady:function(){return this.reactMountReady},getPutListenerQueue:function(){return this.putListenerQueue},destructor:function(){p.release(this.reactMountReady),this.reactMountReady=null,h.release(this.putListenerQueue),this.putListenerQueue=null}};g(f.prototype,m.Mixin,w),d.addPoolingTo(f),t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactServerRenderingTransaction.js","/node_modules/react/lib")},{"./CallbackQueue":50,"./Object.assign":71,"./PooledClass":72,"./ReactPutListenerQueue":124,"./Transaction":148,"./emptyFunction":159,_process:43,buffer:3}],131:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){e!==p.currentlyMountingInstance&&y.enqueueUpdate(e)}function d(e,t){"production"!==n.env.NODE_ENV?b(null==h.current,"%s(...): Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state.",t):b(null==h.current);var r=g.get(e);return r?r===p.currentlyUnmountingInstance?null:r:("production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?_(!t,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op.",t,t):null),null)}var p=e("./ReactLifeCycle"),h=e("./ReactCurrentOwner"),m=e("./ReactElement"),g=e("./ReactInstanceMap"),y=e("./ReactUpdates"),v=e("./Object.assign"),b=e("./invariant"),_=e("./warning"),w={enqueueCallback:function(e,t){"production"!==n.env.NODE_ENV?b("function"==typeof t,"enqueueCallback(...): You called `setProps`, `replaceProps`, `setState`, `replaceState`, or `forceUpdate` with a callback that isn't callable."):b("function"==typeof t);var r=d(e);return r&&r!==p.currentlyMountingInstance?(r._pendingCallbacks?r._pendingCallbacks.push(t):r._pendingCallbacks=[t],void f(r)):null},enqueueCallbackInternal:function(e,t){"production"!==n.env.NODE_ENV?b("function"==typeof t,"enqueueCallback(...): You called `setProps`, `replaceProps`, `setState`, `replaceState`, or `forceUpdate` with a callback that isn't callable."):b("function"==typeof t),e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],f(e)},enqueueForceUpdate:function(e){var t=d(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,f(t))},enqueueReplaceState:function(e,t){var n=d(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,f(n))},enqueueSetState:function(e,t){var n=d(e,"setState");if(n){var r=n._pendingStateQueue||(n._pendingStateQueue=[]);r.push(t),f(n)}},enqueueSetProps:function(e,t){var r=d(e,"setProps");if(r){"production"!==n.env.NODE_ENV?b(r._isTopLevel,"setProps(...): You called `setProps` on a component with a parent. This is an anti-pattern since props will get reactively updated when rendered. Instead, change the owner's `render` method to pass the correct value as props to the component where it is created."):b(r._isTopLevel);var o=r._pendingElement||r._currentElement,i=v({},o.props,t);r._pendingElement=m.cloneAndReplaceProps(o,i),f(r)}},enqueueReplaceProps:function(e,t){var r=d(e,"replaceProps");if(r){"production"!==n.env.NODE_ENV?b(r._isTopLevel,"replaceProps(...): You called `replaceProps` on a component with a parent. This is an anti-pattern since props will get reactively updated when rendered. Instead, change the owner's `render` method to pass the correct value as props to the component where it is created."):b(r._isTopLevel);var o=r._pendingElement||r._currentElement;r._pendingElement=m.cloneAndReplaceProps(o,t),f(r)}},enqueueElementInternal:function(e,t){e._pendingElement=t,f(e)}};t.exports=w}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactUpdateQueue.js","/node_modules/react/lib")},{"./Object.assign":71,"./ReactCurrentOwner":84,"./ReactElement":102,"./ReactInstanceMap":112,"./ReactLifeCycle":113,"./ReactUpdates":132,"./invariant":180,"./warning":199,_process:43,buffer:3}],132:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(){"production"!==n.env.NODE_ENV?S(k.ReactReconcileTransaction&&D,"ReactUpdates: must inject a reconcile transaction class and batching strategy"):S(k.ReactReconcileTransaction&&D)}function d(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=v.getPooled(),this.reconcileTransaction=k.ReactReconcileTransaction.getPooled()}function p(e,t,n,r,o){f(),D.batchedUpdates(e,t,n,r,o)}function h(e,t){return e._mountOrder-t._mountOrder}function m(e){var t=e.dirtyComponentsLength;"production"!==n.env.NODE_ENV?S(t===P.length,"Expected flush transaction's stored dirty-components length (%s) to match dirty-components array length (%s).",t,P.length):S(t===P.length),P.sort(h);for(var r=0;t>r;r++){var o=P[r],i=o._pendingCallbacks;if(o._pendingCallbacks=null,T.performUpdateIfNecessary(o,e.reconcileTransaction),i)for(var s=0;s<i.length;s++)e.callbackQueue.enqueue(i[s],o.getPublicInstance())}}function g(e){return f(),"production"!==n.env.NODE_ENV?C(null==_.current,"enqueueUpdate(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate."):null,D.isBatchingUpdates?void P.push(e):void D.batchedUpdates(g,e)}function y(e,t){"production"!==n.env.NODE_ENV?S(D.isBatchingUpdates,"ReactUpdates.asap: Can't enqueue an asap callback in a context whereupdates are not being batched."):S(D.isBatchingUpdates),M.enqueue(e,t),R=!0}var v=e("./CallbackQueue"),b=e("./PooledClass"),_=e("./ReactCurrentOwner"),w=e("./ReactPerf"),T=e("./ReactReconciler"),E=e("./Transaction"),x=e("./Object.assign"),S=e("./invariant"),C=e("./warning"),P=[],M=v.getPooled(),R=!1,D=null,O={initialize:function(){this.dirtyComponentsLength=P.length},close:function(){this.dirtyComponentsLength!==P.length?(P.splice(0,this.dirtyComponentsLength),I()):P.length=0}},N={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},A=[O,N];x(d.prototype,E.Mixin,{getTransactionWrappers:function(){return A},destructor:function(){this.dirtyComponentsLength=null,v.release(this.callbackQueue),this.callbackQueue=null,k.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return E.Mixin.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),b.addPoolingTo(d);var I=function(){for(;P.length||R;){if(P.length){var e=d.getPooled();e.perform(m,null,e),d.release(e)}if(R){R=!1;var t=M;M=v.getPooled(),t.notifyAll(),v.release(t)}}};I=w.measure("ReactUpdates","flushBatchedUpdates",I);var B={injectReconcileTransaction:function(e){"production"!==n.env.NODE_ENV?S(e,"ReactUpdates: must provide a reconcile transaction class"):S(e),k.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){"production"!==n.env.NODE_ENV?S(e,"ReactUpdates: must provide a batching strategy"):S(e),"production"!==n.env.NODE_ENV?S("function"==typeof e.batchedUpdates,"ReactUpdates: must provide a batchedUpdates() function"):S("function"==typeof e.batchedUpdates),"production"!==n.env.NODE_ENV?S("boolean"==typeof e.isBatchingUpdates,"ReactUpdates: must provide an isBatchingUpdates boolean attribute"):S("boolean"==typeof e.isBatchingUpdates),D=e}},k={ReactReconcileTransaction:null,batchedUpdates:p,enqueueUpdate:g,flushBatchedUpdates:I,injection:B,asap:y};t.exports=k}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ReactUpdates.js","/node_modules/react/lib")},{"./CallbackQueue":50,"./Object.assign":71,"./PooledClass":72,"./ReactCurrentOwner":84,"./ReactPerf":120,"./ReactReconciler":126,"./Transaction":148,"./invariant":180,"./warning":199,_process:43,buffer:3}],133:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./DOMProperty"),d=f.injection.MUST_USE_ATTRIBUTE,p={Properties:{clipPath:d,cx:d,cy:d,d:d,dx:d,dy:d,fill:d,fillOpacity:d,fontFamily:d,fontSize:d,fx:d,fy:d,gradientTransform:d,gradientUnits:d,markerEnd:d,markerMid:d,markerStart:d,offset:d,opacity:d,patternContentUnits:d,patternUnits:d,points:d,preserveAspectRatio:d,r:d,rx:d,ry:d,spreadMethod:d,stopColor:d,stopOpacity:d,stroke:d,strokeDasharray:d,strokeLinecap:d,strokeOpacity:d,strokeWidth:d,textAnchor:d,transform:d,version:d,viewBox:d,x1:d,x2:d,x:d,y1:d,y2:d,y:d},DOMAttributeNames:{clipPath:"clip-path",fillOpacity:"fill-opacity",fontFamily:"font-family",fontSize:"font-size",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",patternContentUnits:"patternContentUnits",patternUnits:"patternUnits",preserveAspectRatio:"preserveAspectRatio",spreadMethod:"spreadMethod",stopColor:"stop-color",stopOpacity:"stop-opacity",strokeDasharray:"stroke-dasharray",strokeLinecap:"stroke-linecap",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",textAnchor:"text-anchor",viewBox:"viewBox"}};t.exports=p}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/SVGDOMPropertyConfig.js","/node_modules/react/lib")},{"./DOMProperty":54,_process:43,buffer:3}],134:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){if("selectionStart"in e&&m.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function d(e){if(C||null==E||E!==y())return null;var t=f(E);if(!S||!_(S,t)){S=t;var n=g.getPooled(T.select,x,e);return n.type="select",n.target=E,h.accumulateTwoPhaseDispatches(n),n}}var p=e("./EventConstants"),h=e("./EventPropagators"),m=e("./ReactInputSelection"),g=e("./SyntheticEvent"),y=e("./getActiveElement"),v=e("./isTextInputElement"),b=e("./keyOf"),_=e("./shallowEqual"),w=p.topLevelTypes,T={select:{phasedRegistrationNames:{bubbled:b({onSelect:null}),captured:b({onSelectCapture:null})},dependencies:[w.topBlur,w.topContextMenu,w.topFocus,w.topKeyDown,w.topMouseDown,w.topMouseUp,w.topSelectionChange]}},E=null,x=null,S=null,C=!1,P={eventTypes:T,extractEvents:function(e,t,n,r){switch(e){case w.topFocus:(v(t)||"true"===t.contentEditable)&&(E=t,x=n,S=null);break;case w.topBlur:E=null,x=null,S=null;break;case w.topMouseDown:C=!0;break;case w.topContextMenu:case w.topMouseUp:return C=!1,d(r);case w.topSelectionChange:case w.topKeyDown:case w.topKeyUp:return d(r)}}};t.exports=P}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/SelectEventPlugin.js","/node_modules/react/lib")},{"./EventConstants":59,"./EventPropagators":64,"./ReactInputSelection":110,"./SyntheticEvent":140,"./getActiveElement":166,"./isTextInputElement":183,"./keyOf":186,"./shallowEqual":195,_process:43,buffer:3}],135:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";var c=Math.pow(2,53),f={createReactRootIndex:function(){return Math.ceil(Math.random()*c)}};t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ServerReactRootIndex.js","/node_modules/react/lib")},{_process:43,buffer:3}],136:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./EventConstants"),d=e("./EventPluginUtils"),p=e("./EventPropagators"),h=e("./SyntheticClipboardEvent"),m=e("./SyntheticEvent"),g=e("./SyntheticFocusEvent"),y=e("./SyntheticKeyboardEvent"),v=e("./SyntheticMouseEvent"),b=e("./SyntheticDragEvent"),_=e("./SyntheticTouchEvent"),w=e("./SyntheticUIEvent"),T=e("./SyntheticWheelEvent"),E=e("./getEventCharCode"),x=e("./invariant"),S=e("./keyOf"),C=e("./warning"),P=f.topLevelTypes,M={blur:{phasedRegistrationNames:{bubbled:S({onBlur:!0}),captured:S({onBlurCapture:!0})}},click:{phasedRegistrationNames:{bubbled:S({onClick:!0}),captured:S({onClickCapture:!0})}},contextMenu:{phasedRegistrationNames:{bubbled:S({onContextMenu:!0}),captured:S({onContextMenuCapture:!0})}},copy:{phasedRegistrationNames:{bubbled:S({onCopy:!0}),captured:S({onCopyCapture:!0})}},cut:{phasedRegistrationNames:{bubbled:S({onCut:!0}),captured:S({onCutCapture:!0})}},doubleClick:{phasedRegistrationNames:{bubbled:S({onDoubleClick:!0}),captured:S({onDoubleClickCapture:!0})}},drag:{phasedRegistrationNames:{bubbled:S({onDrag:!0}),captured:S({onDragCapture:!0})}},dragEnd:{phasedRegistrationNames:{bubbled:S({onDragEnd:!0}),captured:S({onDragEndCapture:!0})}},dragEnter:{phasedRegistrationNames:{bubbled:S({onDragEnter:!0}),captured:S({onDragEnterCapture:!0})}},dragExit:{phasedRegistrationNames:{bubbled:S({onDragExit:!0}),captured:S({onDragExitCapture:!0})}},dragLeave:{phasedRegistrationNames:{bubbled:S({onDragLeave:!0}),captured:S({onDragLeaveCapture:!0})}},dragOver:{phasedRegistrationNames:{bubbled:S({onDragOver:!0}),captured:S({onDragOverCapture:!0})}},dragStart:{phasedRegistrationNames:{bubbled:S({onDragStart:!0}),captured:S({onDragStartCapture:!0})}},drop:{phasedRegistrationNames:{bubbled:S({onDrop:!0}),captured:S({onDropCapture:!0})}},focus:{phasedRegistrationNames:{bubbled:S({onFocus:!0}),captured:S({onFocusCapture:!0})}},input:{phasedRegistrationNames:{bubbled:S({onInput:!0}),captured:S({onInputCapture:!0})}},keyDown:{phasedRegistrationNames:{bubbled:S({onKeyDown:!0}),captured:S({onKeyDownCapture:!0})}},keyPress:{phasedRegistrationNames:{bubbled:S({onKeyPress:!0}),captured:S({onKeyPressCapture:!0})}},keyUp:{phasedRegistrationNames:{bubbled:S({onKeyUp:!0}),captured:S({onKeyUpCapture:!0})}},load:{phasedRegistrationNames:{bubbled:S({onLoad:!0}),captured:S({onLoadCapture:!0})}},error:{phasedRegistrationNames:{bubbled:S({onError:!0}),captured:S({onErrorCapture:!0})}},mouseDown:{phasedRegistrationNames:{bubbled:S({onMouseDown:!0}),captured:S({onMouseDownCapture:!0})}},mouseMove:{phasedRegistrationNames:{bubbled:S({onMouseMove:!0}),captured:S({onMouseMoveCapture:!0})}},mouseOut:{phasedRegistrationNames:{bubbled:S({onMouseOut:!0}),captured:S({onMouseOutCapture:!0})}},mouseOver:{phasedRegistrationNames:{bubbled:S({onMouseOver:!0}),captured:S({onMouseOverCapture:!0})}},mouseUp:{phasedRegistrationNames:{bubbled:S({onMouseUp:!0}),captured:S({onMouseUpCapture:!0})}},paste:{phasedRegistrationNames:{bubbled:S({onPaste:!0}),captured:S({onPasteCapture:!0})}},reset:{phasedRegistrationNames:{bubbled:S({onReset:!0}),captured:S({onResetCapture:!0})}},scroll:{phasedRegistrationNames:{bubbled:S({onScroll:!0}),captured:S({onScrollCapture:!0})}},submit:{phasedRegistrationNames:{bubbled:S({onSubmit:!0}),captured:S({onSubmitCapture:!0})}},touchCancel:{phasedRegistrationNames:{bubbled:S({onTouchCancel:!0}),captured:S({onTouchCancelCapture:!0})}},touchEnd:{phasedRegistrationNames:{bubbled:S({onTouchEnd:!0}),captured:S({onTouchEndCapture:!0})}},touchMove:{phasedRegistrationNames:{bubbled:S({onTouchMove:!0}),captured:S({onTouchMoveCapture:!0})}},touchStart:{phasedRegistrationNames:{bubbled:S({onTouchStart:!0}),captured:S({onTouchStartCapture:!0})}},wheel:{phasedRegistrationNames:{bubbled:S({onWheel:!0}),captured:S({onWheelCapture:!0})}}},R={topBlur:M.blur,topClick:M.click,topContextMenu:M.contextMenu,topCopy:M.copy,topCut:M.cut,topDoubleClick:M.doubleClick,topDrag:M.drag,topDragEnd:M.dragEnd,topDragEnter:M.dragEnter,topDragExit:M.dragExit,topDragLeave:M.dragLeave,topDragOver:M.dragOver,topDragStart:M.dragStart,topDrop:M.drop,topError:M.error,topFocus:M.focus,topInput:M.input,topKeyDown:M.keyDown,topKeyPress:M.keyPress,topKeyUp:M.keyUp,topLoad:M.load,topMouseDown:M.mouseDown,topMouseMove:M.mouseMove,topMouseOut:M.mouseOut,topMouseOver:M.mouseOver,topMouseUp:M.mouseUp,topPaste:M.paste,topReset:M.reset,topScroll:M.scroll,topSubmit:M.submit,topTouchCancel:M.touchCancel,topTouchEnd:M.touchEnd,topTouchMove:M.touchMove,topTouchStart:M.touchStart,topWheel:M.wheel};for(var D in R)R[D].dependencies=[D];var O={eventTypes:M,executeDispatch:function(e,t,r){var o=d.executeDispatch(e,t,r);"production"!==n.env.NODE_ENV?C("boolean"!=typeof o,"Returning `false` from an event handler is deprecated and will be ignored in a future release. Instead, manually call e.stopPropagation() or e.preventDefault(), as appropriate."):null,o===!1&&(e.stopPropagation(),e.preventDefault())},extractEvents:function(e,t,r,o){var i=R[e];if(!i)return null;var s;switch(e){case P.topInput:case P.topLoad:case P.topError:case P.topReset:case P.topSubmit:s=m;break;case P.topKeyPress:if(0===E(o))return null;case P.topKeyDown:case P.topKeyUp:s=y;break;case P.topBlur:case P.topFocus:s=g;break;case P.topClick:if(2===o.button)return null;case P.topContextMenu:case P.topDoubleClick:case P.topMouseDown:case P.topMouseMove:case P.topMouseOut:case P.topMouseOver:case P.topMouseUp:s=v;break;case P.topDrag:case P.topDragEnd:case P.topDragEnter:case P.topDragExit:case P.topDragLeave:case P.topDragOver:case P.topDragStart:case P.topDrop:s=b;break;case P.topTouchCancel:case P.topTouchEnd:case P.topTouchMove:case P.topTouchStart:s=_;break;case P.topScroll:s=w;break;case P.topWheel:s=T;break;case P.topCopy:case P.topCut:case P.topPaste:s=h}"production"!==n.env.NODE_ENV?x(s,"SimpleEventPlugin: Unhandled event type, `%s`.",e):x(s);var a=s.getPooled(i,r,o);return p.accumulateTwoPhaseDispatches(a),a}};t.exports=O}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/SimpleEventPlugin.js","/node_modules/react/lib")},{"./EventConstants":59,"./EventPluginUtils":63,"./EventPropagators":64,"./SyntheticClipboardEvent":137,"./SyntheticDragEvent":139,"./SyntheticEvent":140,"./SyntheticFocusEvent":141,"./SyntheticKeyboardEvent":143,"./SyntheticMouseEvent":144,"./SyntheticTouchEvent":145,"./SyntheticUIEvent":146,"./SyntheticWheelEvent":147,"./getEventCharCode":167,"./invariant":180,"./keyOf":186,"./warning":199,_process:43,buffer:3}],137:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t,n){d.call(this,e,t,n)}var d=e("./SyntheticEvent"),p={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};d.augmentClass(f,p),t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/SyntheticClipboardEvent.js","/node_modules/react/lib")},{"./SyntheticEvent":140,_process:43,buffer:3}],138:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t,n){d.call(this,e,t,n)}var d=e("./SyntheticEvent"),p={data:null};d.augmentClass(f,p),t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/SyntheticCompositionEvent.js","/node_modules/react/lib")},{"./SyntheticEvent":140,_process:43,buffer:3}],139:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t,n){d.call(this,e,t,n)}var d=e("./SyntheticMouseEvent"),p={dataTransfer:null};d.augmentClass(f,p),t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/SyntheticDragEvent.js","/node_modules/react/lib")},{"./SyntheticMouseEvent":144,_process:43,buffer:3}],140:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t,n){this.dispatchConfig=e,this.dispatchMarker=t,this.nativeEvent=n;var r=this.constructor.Interface;for(var o in r)if(r.hasOwnProperty(o)){var i=r[o];i?this[o]=i(n):this[o]=n[o]}var s=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;s?this.isDefaultPrevented=h.thatReturnsTrue:this.isDefaultPrevented=h.thatReturnsFalse,this.isPropagationStopped=h.thatReturnsFalse}var d=e("./PooledClass"),p=e("./Object.assign"),h=e("./emptyFunction"),m=e("./getEventTarget"),g={type:null,target:m,currentTarget:h.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};p(f.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e.preventDefault?e.preventDefault():e.returnValue=!1,this.isDefaultPrevented=h.thatReturnsTrue},stopPropagation:function(){var e=this.nativeEvent;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,this.isPropagationStopped=h.thatReturnsTrue},persist:function(){this.isPersistent=h.thatReturnsTrue},isPersistent:h.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;this.dispatchConfig=null,this.dispatchMarker=null,this.nativeEvent=null}}),f.Interface=g,f.augmentClass=function(e,t){var n=this,r=Object.create(n.prototype);p(r,e.prototype),e.prototype=r,e.prototype.constructor=e,e.Interface=p({},n.Interface,t),e.augmentClass=n.augmentClass,d.addPoolingTo(e,d.threeArgumentPooler)},d.addPoolingTo(f,d.threeArgumentPooler),t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/SyntheticEvent.js","/node_modules/react/lib")},{"./Object.assign":71,"./PooledClass":72,"./emptyFunction":159,"./getEventTarget":170,_process:43,buffer:3}],141:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t,n){d.call(this,e,t,n)}var d=e("./SyntheticUIEvent"),p={relatedTarget:null};d.augmentClass(f,p),t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/SyntheticFocusEvent.js","/node_modules/react/lib")},{"./SyntheticUIEvent":146,_process:43,buffer:3}],142:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t,n){d.call(this,e,t,n)}var d=e("./SyntheticEvent"),p={data:null};d.augmentClass(f,p),t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/SyntheticInputEvent.js","/node_modules/react/lib")},{"./SyntheticEvent":140,_process:43,buffer:3}],143:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t,n){d.call(this,e,t,n)}var d=e("./SyntheticUIEvent"),p=e("./getEventCharCode"),h=e("./getEventKey"),m=e("./getEventModifierState"),g={key:h,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:m,charCode:function(e){return"keypress"===e.type?p(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?p(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};d.augmentClass(f,g),t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/SyntheticKeyboardEvent.js","/node_modules/react/lib"); },{"./SyntheticUIEvent":146,"./getEventCharCode":167,"./getEventKey":168,"./getEventModifierState":169,_process:43,buffer:3}],144:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t,n){d.call(this,e,t,n)}var d=e("./SyntheticUIEvent"),p=e("./ViewportMetrics"),h=e("./getEventModifierState"),m={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:h,button:function(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e){return"pageX"in e?e.pageX:e.clientX+p.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+p.currentScrollTop}};d.augmentClass(f,m),t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/SyntheticMouseEvent.js","/node_modules/react/lib")},{"./SyntheticUIEvent":146,"./ViewportMetrics":149,"./getEventModifierState":169,_process:43,buffer:3}],145:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t,n){d.call(this,e,t,n)}var d=e("./SyntheticUIEvent"),p=e("./getEventModifierState"),h={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:p};d.augmentClass(f,h),t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/SyntheticTouchEvent.js","/node_modules/react/lib")},{"./SyntheticUIEvent":146,"./getEventModifierState":169,_process:43,buffer:3}],146:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t,n){d.call(this,e,t,n)}var d=e("./SyntheticEvent"),p=e("./getEventTarget"),h={view:function(e){if(e.view)return e.view;var t=p(e);if(null!=t&&t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};d.augmentClass(f,h),t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/SyntheticUIEvent.js","/node_modules/react/lib")},{"./SyntheticEvent":140,"./getEventTarget":170,_process:43,buffer:3}],147:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t,n){d.call(this,e,t,n)}var d=e("./SyntheticMouseEvent"),p={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};d.augmentClass(f,p),t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/SyntheticWheelEvent.js","/node_modules/react/lib")},{"./SyntheticMouseEvent":144,_process:43,buffer:3}],148:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./invariant"),d={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,r,o,i,s,a,u){"production"!==n.env.NODE_ENV?f(!this.isInTransaction(),"Transaction.perform(...): Cannot initialize a transaction when there is already an outstanding transaction."):f(!this.isInTransaction());var l,c;try{this._isInTransaction=!0,l=!0,this.initializeAll(0),c=e.call(t,r,o,i,s,a,u),l=!1}finally{try{if(l)try{this.closeAll(0)}catch(d){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return c},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r=t[n];try{this.wrapperInitData[n]=p.OBSERVED_ERROR,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===p.OBSERVED_ERROR)try{this.initializeAll(n+1)}catch(o){}}}},closeAll:function(e){"production"!==n.env.NODE_ENV?f(this.isInTransaction(),"Transaction.closeAll(): Cannot close transaction when none are open."):f(this.isInTransaction());for(var t=this.transactionWrappers,r=e;r<t.length;r++){var o,i=t[r],s=this.wrapperInitData[r];try{o=!0,s!==p.OBSERVED_ERROR&&i.close&&i.close.call(this,s),o=!1}finally{if(o)try{this.closeAll(r+1)}catch(a){}}}this.wrapperInitData.length=0}},p={Mixin:d,OBSERVED_ERROR:{}};t.exports=p}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/Transaction.js","/node_modules/react/lib")},{"./invariant":180,_process:43,buffer:3}],149:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";var c={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){c.currentScrollLeft=e.x,c.currentScrollTop=e.y}};t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/ViewportMetrics.js","/node_modules/react/lib")},{_process:43,buffer:3}],150:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t){if("production"!==n.env.NODE_ENV?d(null!=t,"accumulateInto(...): Accumulated items must not be null or undefined."):d(null!=t),null==e)return t;var r=Array.isArray(e),o=Array.isArray(t);return r&&o?(e.push.apply(e,t),e):r?(e.push(t),e):o?[e].concat(t):[e,t]}var d=e("./invariant");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/accumulateInto.js","/node_modules/react/lib")},{"./invariant":180,_process:43,buffer:3}],151:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";function c(e){for(var t=1,n=0,r=0;r<e.length;r++)t=(t+e.charCodeAt(r))%f,n=(n+t)%f;return t|n<<16}var f=65521;t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/adler32.js","/node_modules/react/lib")},{_process:43,buffer:3}],152:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){function c(e){return e.replace(f,function(e,t){return t.toUpperCase()})}var f=/-(.)/g;t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/camelize.js","/node_modules/react/lib")},{_process:43,buffer:3}],153:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){return d(e.replace(p,"ms-"))}var d=e("./camelize"),p=/^-ms-/;t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/camelizeStyleName.js","/node_modules/react/lib")},{"./camelize":152,_process:43,buffer:3}],154:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e,t){return e&&t?e===t?!0:d(e)?!1:d(t)?f(e,t.parentNode):e.contains?e.contains(t):e.compareDocumentPosition?!!(16&e.compareDocumentPosition(t)):!1:!1}var d=e("./isTextNode");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/containsNode.js","/node_modules/react/lib")},{"./isTextNode":184,_process:43,buffer:3}],155:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}function d(e){return f(e)?Array.isArray(e)?e.slice():p(e):[e]}var p=e("./toArray");t.exports=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/createArrayFromMixed.js","/node_modules/react/lib")},{"./toArray":197,_process:43,buffer:3}],156:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){var t=p.createFactory(e),r=d.createClass({tagName:e.toUpperCase(),displayName:"ReactFullPageComponent"+e,componentWillUnmount:function(){"production"!==n.env.NODE_ENV?h(!1,"%s tried to unmount. Because of cross-browser quirks it is impossible to unmount some top-level components (eg <html>, <head>, and <body>) reliably and efficiently. To fix this, have a single top-level component that never unmounts render these elements.",this.constructor.displayName):h(!1)},render:function(){return t(this.props)}});return r}var d=e("./ReactClass"),p=e("./ReactElement"),h=e("./invariant");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/createFullPageComponent.js","/node_modules/react/lib")},{"./ReactClass":78,"./ReactElement":102,"./invariant":180,_process:43,buffer:3}],157:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e){var t=e.match(v);return t&&t[1].toLowerCase()}function d(e,t){var r=y;"production"!==n.env.NODE_ENV?g(!!y,"createNodesFromMarkup dummy not initialized"):g(!!y);var o=f(e),i=o&&m(o);if(i){r.innerHTML=i[1]+e+i[2];for(var s=i[0];s--;)r=r.lastChild}else r.innerHTML=e;var a=r.getElementsByTagName("script");a.length&&("production"!==n.env.NODE_ENV?g(t,"createNodesFromMarkup(...): Unexpected <script> element rendered."):g(t),h(a).forEach(t));for(var u=h(r.childNodes);r.lastChild;)r.removeChild(r.lastChild);return u}var p=e("./ExecutionEnvironment"),h=e("./createArrayFromMixed"),m=e("./getMarkupWrap"),g=e("./invariant"),y=p.canUseDOM?document.createElement("div"):null,v=/^\s*<(\w+)/;t.exports=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/createNodesFromMarkup.js","/node_modules/react/lib")},{"./ExecutionEnvironment":65,"./createArrayFromMixed":155,"./getMarkupWrap":172,"./invariant":180,_process:43,buffer:3}],158:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t){var n=null==t||"boolean"==typeof t||""===t;if(n)return"";var r=isNaN(t);return r||0===t||p.hasOwnProperty(e)&&p[e]?""+t:("string"==typeof t&&(t=t.trim()),t+"px")}var d=e("./CSSProperty"),p=d.isUnitlessNumber;t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/dangerousStyleValue.js","/node_modules/react/lib")},{"./CSSProperty":48,_process:43,buffer:3}],159:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){function c(e){return function(){return e}}function f(){}f.thatReturns=c,f.thatReturnsFalse=c(!1),f.thatReturnsTrue=c(!0),f.thatReturnsNull=c(null),f.thatReturnsThis=function(){return this},f.thatReturnsArgument=function(e){return e},t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/emptyFunction.js","/node_modules/react/lib")},{_process:43,buffer:3}],160:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";var c={};"production"!==e.env.NODE_ENV&&Object.freeze(c),t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/emptyObject.js","/node_modules/react/lib")},{_process:43,buffer:3}],161:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";function c(e){return d[e]}function f(e){return(""+e).replace(p,c)}var d={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},p=/[&><"']/g;t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/escapeTextContentForBrowser.js","/node_modules/react/lib")},{_process:43,buffer:3}],162:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){if("production"!==n.env.NODE_ENV){var t=d.current;null!==t&&("production"!==n.env.NODE_ENV?y(t._warnedAboutRefsInRender,"%s is accessing getDOMNode or findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",t.getName()||"A component"):null,t._warnedAboutRefsInRender=!0)}return null==e?null:g(e)?e:p.has(e)?h.getNodeFromInstance(e):("production"!==n.env.NODE_ENV?m(null==e.render||"function"!=typeof e.render,"Component (with keys: %s) contains `render` method but is not mounted in the DOM",Object.keys(e)):m(null==e.render||"function"!=typeof e.render),void("production"!==n.env.NODE_ENV?m(!1,"Element appears to be neither ReactComponent nor DOMNode (keys: %s)",Object.keys(e)):m(!1)))}var d=e("./ReactCurrentOwner"),p=e("./ReactInstanceMap"),h=e("./ReactMount"),m=e("./invariant"),g=e("./isNode"),y=e("./warning");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/findDOMNode.js","/node_modules/react/lib")},{"./ReactCurrentOwner":84,"./ReactInstanceMap":112,"./ReactMount":115,"./invariant":180,"./isNode":182,"./warning":199,_process:43,buffer:3}],163:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t,r){var o=e,i=!o.hasOwnProperty(r);"production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?h(i,"flattenChildren(...): Encountered two children with the same key, `%s`. Child keys must be unique; when two children share a key, only the first child will be used.",r):null),i&&null!=t&&(o[r]=t)}function d(e){if(null==e)return e;var t={};return p(e,f,t),t}var p=e("./traverseAllChildren"),h=e("./warning");t.exports=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/flattenChildren.js","/node_modules/react/lib")},{"./traverseAllChildren":198,"./warning":199,_process:43,buffer:3}],164:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";function c(e){try{e.focus()}catch(t){}}t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/focusNode.js","/node_modules/react/lib")},{_process:43,buffer:3}],165:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";var c=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)};t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/forEachAccumulated.js","/node_modules/react/lib")},{_process:43,buffer:3}],166:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){function c(){try{return document.activeElement||document.body}catch(e){return document.body}}t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/getActiveElement.js","/node_modules/react/lib")},{_process:43,buffer:3}],167:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";function c(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/getEventCharCode.js","/node_modules/react/lib")},{_process:43,buffer:3}],168:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){if(e.key){var t=p[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=d(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?h[e.keyCode]||"Unidentified":""}var d=e("./getEventCharCode"),p={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},h={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/getEventKey.js","/node_modules/react/lib")},{"./getEventCharCode":167,_process:43,buffer:3}],169:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";function c(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=d[e];return r?!!n[r]:!1}function f(e){return c}var d={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/getEventModifierState.js","/node_modules/react/lib")},{_process:43,buffer:3}],170:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";function c(e){var t=e.target||e.srcElement||window;return 3===t.nodeType?t.parentNode:t}t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/getEventTarget.js","/node_modules/react/lib")},{_process:43,buffer:3}],171:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";function c(e){var t=e&&(f&&e[f]||e[d]);return"function"==typeof t?t:void 0}var f="function"==typeof Symbol&&Symbol.iterator,d="@@iterator";t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/getIteratorFn.js","/node_modules/react/lib")},{_process:43,buffer:3}],172:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e){return"production"!==n.env.NODE_ENV?p(!!h,"Markup wrapping node not initialized"):p(!!h),_.hasOwnProperty(e)||(e="*"),m.hasOwnProperty(e)||("*"===e?h.innerHTML="<link />":h.innerHTML="<"+e+"></"+e+">",m[e]=!h.firstChild),m[e]?_[e]:null}var d=e("./ExecutionEnvironment"),p=e("./invariant"),h=d.canUseDOM?document.createElement("div"):null,m={circle:!0,clipPath:!0,defs:!0,ellipse:!0,g:!0,line:!0,linearGradient:!0,path:!0,polygon:!0,polyline:!0,radialGradient:!0,rect:!0,stop:!0,text:!0},g=[1,'<select multiple="true">',"</select>"],y=[1,"<table>","</table>"],v=[3,"<table><tbody><tr>","</tr></tbody></table>"],b=[1,"<svg>","</svg>"],_={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:g,option:g,caption:y,colgroup:y,tbody:y,tfoot:y,thead:y,td:v,th:v,circle:b,clipPath:b,defs:b,ellipse:b,g:b,line:b,linearGradient:b,path:b,polygon:b,polyline:b,radialGradient:b,rect:b,stop:b,text:b};t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/getMarkupWrap.js","/node_modules/react/lib")},{"./ExecutionEnvironment":65,"./invariant":180,_process:43,buffer:3}],173:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";function c(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function f(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function d(e,t){for(var n=c(e),r=0,o=0;n;){if(3===n.nodeType){if(o=r+n.textContent.length,t>=r&&o>=t)return{node:n,offset:t-r};r=o}n=c(f(n))}}t.exports=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/getNodeForCharacterOffset.js","/node_modules/react/lib")},{_process:43,buffer:3}],174:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";function c(e){return e?e.nodeType===f?e.documentElement:e.firstChild:null}var f=9;t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/getReactRootElementInContainer.js","/node_modules/react/lib")},{_process:43,buffer:3}],175:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(){return!p&&d.canUseDOM&&(p="textContent"in document.documentElement?"textContent":"innerText"),p}var d=e("./ExecutionEnvironment"),p=null;t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/getTextContentAccessor.js","/node_modules/react/lib")},{"./ExecutionEnvironment":65,_process:43,buffer:3}],176:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";function c(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/getUnboundedScrollPosition.js","/node_modules/react/lib")},{_process:43,buffer:3}],177:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){function c(e){return e.replace(f,"-$1").toLowerCase()}var f=/([A-Z])/g;t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/hyphenate.js","/node_modules/react/lib")},{_process:43,buffer:3}],178:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){return d(e).replace(p,"-ms-")}var d=e("./hyphenate"),p=/^ms-/;t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/hyphenateStyleName.js","/node_modules/react/lib")},{"./hyphenate":177,_process:43,buffer:3}],179:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function d(e,t){var r;if((null===e||e===!1)&&(e=h.emptyElement),"object"==typeof e){var o=e;"production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?v(o&&("function"==typeof o.type||"string"==typeof o.type),"Only functions or strings can be mounted as React components."):null),r=t===o.type&&"string"==typeof o.type?m.createInternalComponent(o):f(o.type)?new o.type(o):new b}else"string"==typeof e||"number"==typeof e?r=m.createInstanceForText(e):"production"!==n.env.NODE_ENV?y(!1,"Encountered invalid React node of type %s",typeof e):y(!1);return"production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?v("function"==typeof r.construct&&"function"==typeof r.mountComponent&&"function"==typeof r.receiveComponent&&"function"==typeof r.unmountComponent,"Only React Components can be mounted."):null),r.construct(e),r._mountIndex=0,r._mountImage=null,"production"!==n.env.NODE_ENV&&(r._isOwnerNecessary=!1,r._warnedAboutRefsInRender=!1),"production"!==n.env.NODE_ENV&&Object.preventExtensions&&Object.preventExtensions(r),r}var p=e("./ReactCompositeComponent"),h=e("./ReactEmptyComponent"),m=e("./ReactNativeComponent"),g=e("./Object.assign"),y=e("./invariant"),v=e("./warning"),b=function(){};g(b.prototype,p.Mixin,{_instantiateReactComponent:d}),t.exports=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/instantiateReactComponent.js","/node_modules/react/lib")},{"./Object.assign":71,"./ReactCompositeComponent":82,"./ReactEmptyComponent":104,"./ReactNativeComponent":118,"./invariant":180,"./warning":199,_process:43,buffer:3}],180:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";var c=function(t,n,r,o,i,s,a,u){if("production"!==e.env.NODE_ENV&&void 0===n)throw new Error("invariant requires an error message argument");if(!t){var l;if(void 0===n)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,o,i,s,a,u],f=0;l=new Error("Invariant Violation: "+n.replace(/%s/g,function(){return c[f++]}))}throw l.framesToPop=1,l}};t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/invariant.js","/node_modules/react/lib")},{_process:43,buffer:3}],181:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t){if(!p.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var o=document.createElement("div");o.setAttribute(n,"return;"),r="function"==typeof o[n]}return!r&&d&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var d,p=e("./ExecutionEnvironment");p.canUseDOM&&(d=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/isEventSupported.js","/node_modules/react/lib")},{"./ExecutionEnvironment":65,_process:43,buffer:3}],182:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){function c(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/isNode.js","/node_modules/react/lib")},{_process:43,buffer:3}],183:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";function c(e){return e&&("INPUT"===e.nodeName&&f[e.type]||"TEXTAREA"===e.nodeName)}var f={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/isTextInputElement.js","/node_modules/react/lib")},{_process:43,buffer:3}],184:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e){return d(e)&&3==e.nodeType}var d=e("./isNode");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/isTextNode.js","/node_modules/react/lib")},{"./isNode":182,_process:43,buffer:3}],185:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./invariant"),d=function(e){var t,r={};"production"!==n.env.NODE_ENV?f(e instanceof Object&&!Array.isArray(e),"keyMirror(...): Argument must be an object."):f(e instanceof Object&&!Array.isArray(e));for(t in e)e.hasOwnProperty(t)&&(r[t]=t);return r};t.exports=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/keyMirror.js","/node_modules/react/lib")},{"./invariant":180,_process:43,buffer:3}],186:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){var c=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/keyOf.js","/node_modules/react/lib")},{_process:43,buffer:3}],187:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";function c(e,t,n){if(!e)return null;var r={};for(var o in e)f.call(e,o)&&(r[o]=t.call(n,e[o],o,e));return r}var f=Object.prototype.hasOwnProperty;t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/mapObject.js","/node_modules/react/lib")},{_process:43,buffer:3}],188:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";function c(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/memoizeStringOnly.js","/node_modules/react/lib"); },{_process:43,buffer:3}],189:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){return"production"!==n.env.NODE_ENV?p(d.isValidElement(e),"onlyChild must be passed a children with exactly one child."):p(d.isValidElement(e)),e}var d=e("./ReactElement"),p=e("./invariant");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/onlyChild.js","/node_modules/react/lib")},{"./ReactElement":102,"./invariant":180,_process:43,buffer:3}],190:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f,d=e("./ExecutionEnvironment");d.canUseDOM&&(f=window.performance||window.msPerformance||window.webkitPerformance),t.exports=f||{}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/performance.js","/node_modules/react/lib")},{"./ExecutionEnvironment":65,_process:43,buffer:3}],191:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){var f=e("./performance");f&&f.now||(f=Date);var d=f.now.bind(f);t.exports=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/performanceNow.js","/node_modules/react/lib")},{"./performance":190,_process:43,buffer:3}],192:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){return'"'+d(e)+'"'}var d=e("./escapeTextContentForBrowser");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/quoteAttributeValueForBrowser.js","/node_modules/react/lib")},{"./escapeTextContentForBrowser":161,_process:43,buffer:3}],193:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./ExecutionEnvironment"),d=/^[ \r\n\t\f]/,p=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,h=function(e,t){e.innerHTML=t};if("undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(h=function(e,t){MSApp.execUnsafeLocalFunction(function(){e.innerHTML=t})}),f.canUseDOM){var m=document.createElement("div");m.innerHTML=" ",""===m.innerHTML&&(h=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),d.test(t)||"<"===t[0]&&p.test(t)){e.innerHTML="\ufeff"+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t})}t.exports=h}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/setInnerHTML.js","/node_modules/react/lib")},{"./ExecutionEnvironment":65,_process:43,buffer:3}],194:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./ExecutionEnvironment"),d=e("./escapeTextContentForBrowser"),p=e("./setInnerHTML"),h=function(e,t){e.textContent=t};f.canUseDOM&&("textContent"in document.documentElement||(h=function(e,t){p(e,d(t))})),t.exports=h}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/setTextContent.js","/node_modules/react/lib")},{"./ExecutionEnvironment":65,"./escapeTextContentForBrowser":161,"./setInnerHTML":193,_process:43,buffer:3}],195:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";function c(e,t){if(e===t)return!0;var n;for(n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||e[n]!==t[n]))return!1;for(n in t)if(t.hasOwnProperty(n)&&!e.hasOwnProperty(n))return!1;return!0}t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/shallowEqual.js","/node_modules/react/lib")},{_process:43,buffer:3}],196:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e,t){if(null!=e&&null!=t){var r=typeof e,o=typeof t;if("string"===r||"number"===r)return"string"===o||"number"===o;if("object"===o&&e.type===t.type&&e.key===t.key){var i=e._owner===t._owner,s=null,a=null,u=null;return"production"!==n.env.NODE_ENV&&(i||(null!=e._owner&&null!=e._owner.getPublicInstance()&&null!=e._owner.getPublicInstance().constructor&&(s=e._owner.getPublicInstance().constructor.displayName),null!=t._owner&&null!=t._owner.getPublicInstance()&&null!=t._owner.getPublicInstance().constructor&&(a=t._owner.getPublicInstance().constructor.displayName),null!=t.type&&null!=t.type.displayName&&(u=t.type.displayName),null!=t.type&&"string"==typeof t.type&&(u=t.type),("string"!=typeof t.type||"input"===t.type||"textarea"===t.type)&&(null!=e._owner&&e._owner._isOwnerNecessary===!1||null!=t._owner&&t._owner._isOwnerNecessary===!1)&&(null!=e._owner&&(e._owner._isOwnerNecessary=!0),null!=t._owner&&(t._owner._isOwnerNecessary=!0),"production"!==n.env.NODE_ENV?d(!1,"<%s /> is being rendered by both %s and %s using the same key (%s) in the same place. Currently, this means that they don't preserve state. This behavior should be very rare so we're considering deprecating it. Please contact the React team and explain your use case so that we can take that into consideration.",u||"Unknown Component",s||"[Unknown]",a||"[Unknown]",e.key):null))),i}}return!1}var d=e("./warning");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/shouldUpdateReactComponent.js","/node_modules/react/lib")},{"./warning":199,_process:43,buffer:3}],197:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e){var t=e.length;if("production"!==n.env.NODE_ENV?d(!Array.isArray(e)&&("object"==typeof e||"function"==typeof e),"toArray: Array-like object expected"):d(!Array.isArray(e)&&("object"==typeof e||"function"==typeof e)),"production"!==n.env.NODE_ENV?d("number"==typeof t,"toArray: Object needs a length property"):d("number"==typeof t),"production"!==n.env.NODE_ENV?d(0===t||t-1 in e,"toArray: Object should have keys for indices"):d(0===t||t-1 in e),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(r){}for(var o=Array(t),i=0;t>i;i++)o[i]=e[i];return o}var d=e("./invariant");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/toArray.js","/node_modules/react/lib")},{"./invariant":180,_process:43,buffer:3}],198:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";function f(e){return S[e]}function d(e,t){return e&&null!=e.key?h(e.key):t.toString(36)}function p(e){return(""+e).replace(C,f)}function h(e){return"$"+p(e)}function m(e,t,r,o,i){var s=typeof e;if(("undefined"===s||"boolean"===s)&&(e=null),null===e||"string"===s||"number"===s||y.isValidElement(e))return o(i,e,""===t?E+d(e,0):t,r),1;var a,u,l,c=0;if(Array.isArray(e))for(var f=0;f<e.length;f++)a=e[f],u=(""!==t?t+x:E)+d(a,f),l=r+c,c+=m(a,u,l,o,i);else{var p=_(e);if(p){var g,b=p.call(e);if(p!==e.entries)for(var S=0;!(g=b.next()).done;)a=g.value,u=(""!==t?t+x:E)+d(a,S++),l=r+c,c+=m(a,u,l,o,i);else for("production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?T(P,"Using Maps as children is not yet fully supported. It is an experimental feature that might be removed. Convert it to a sequence / iterable of keyed ReactElements instead."):null,P=!0);!(g=b.next()).done;){var C=g.value;C&&(a=C[1],u=(""!==t?t+x:E)+h(C[0])+x+d(a,0),l=r+c,c+=m(a,u,l,o,i))}}else if("object"===s){"production"!==n.env.NODE_ENV?w(1!==e.nodeType,"traverseAllChildren(...): Encountered an invalid child; DOM elements are not valid children of React components."):w(1!==e.nodeType);var M=v.extract(e);for(var R in M)M.hasOwnProperty(R)&&(a=M[R],u=(""!==t?t+x:E)+h(R)+x+d(a,0),l=r+c,c+=m(a,u,l,o,i))}}return c}function g(e,t,n){return null==e?0:m(e,"",0,t,n)}var y=e("./ReactElement"),v=e("./ReactFragment"),b=e("./ReactInstanceHandles"),_=e("./getIteratorFn"),w=e("./invariant"),T=e("./warning"),E=b.SEPARATOR,x=":",S={"=":"=0",".":"=1",":":"=2"},C=/[=.:]/g,P=!1;t.exports=g}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/traverseAllChildren.js","/node_modules/react/lib")},{"./ReactElement":102,"./ReactFragment":108,"./ReactInstanceHandles":111,"./getIteratorFn":171,"./invariant":180,"./warning":199,_process:43,buffer:3}],199:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("./emptyFunction"),d=f;"production"!==n.env.NODE_ENV&&(d=function(e,t){for(var n=[],r=2,o=arguments.length;o>r;r++)n.push(arguments[r]);if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(t.length<10||/^[s\W]*$/.test(t))throw new Error("The warning format should be able to uniquely identify this warning. Please, use a more descriptive format than: "+t);if(0!==t.indexOf("Failed Composite propType: ")&&!e){var i=0,s="Warning: "+t.replace(/%s/g,function(){return n[i++]});console.warn(s);try{throw new Error(s)}catch(a){}}}),t.exports=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/lib/warning.js","/node_modules/react/lib")},{"./emptyFunction":159,_process:43,buffer:3}],200:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e,t){function n(){return window[t]}function r(r){return n()||u?r&&r(void 0,window[t]):(r&&l.subscribe(r),void(a||(a=!0,e&&p(e,function(e){return s?void 0:e?(u=!0,l.publish(e)):void o()}))))}function o(){u=!0,l.publish(void 0,t?window[t]:void 0)}function i(){return s=!0,o}var s,a,u,l=d();return r.trigger=i,r}var d=e("pubsub"),p=e("load-script");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/require-sdk/index.js","/node_modules/require-sdk")},{_process:43,buffer:3,"load-script":39,pubsub:44}],201:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){var f=e("matches-selector");t.exports=function(e,t){for(var n=e.parentNode.firstChild,r=[];n;n=n.nextSibling)1===n.nodeType&&n!==e&&(t?f(n,t)&&r.push(n):r.push(n));return r}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/siblings/index.js","/node_modules/siblings")},{_process:43,buffer:3,"matches-selector":40}],202:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){!function(e){function n(e,t,n,r,o){this._listener=t,this._isOnce=n,this.context=r,this._signal=e,this._priority=o||0}function r(e,t){if("function"!=typeof e)throw new Error("listener is a required param of {fn}() and should be a Function.".replace("{fn}",t))}function o(){this._bindings=[],this._prevParams=null;var e=this;this.dispatch=function(){o.prototype.dispatch.apply(e,arguments)}}n.prototype={active:!0,params:null,execute:function(e){var t,n;return this.active&&this._listener&&(n=this.params?this.params.concat(e):e,t=this._listener.apply(this.context,n),this._isOnce&&this.detach()),t},detach:function(){return this.isBound()?this._signal.remove(this._listener,this.context):null},isBound:function(){return!!this._signal&&!!this._listener},isOnce:function(){return this._isOnce},getListener:function(){return this._listener},getSignal:function(){return this._signal},_destroy:function(){delete this._signal,delete this._listener,delete this.context},toString:function(){return"[SignalBinding isOnce:"+this._isOnce+", isBound:"+this.isBound()+", active:"+this.active+"]"}},o.prototype={VERSION:"1.0.0",memorize:!1,_shouldPropagate:!0,active:!0,_registerListener:function(e,t,r,o){var i,s=this._indexOfListener(e,r);if(-1!==s){if(i=this._bindings[s],i.isOnce()!==t)throw new Error("You cannot add"+(t?"":"Once")+"() then add"+(t?"Once":"")+"() the same listener without removing the relationship first.")}else i=new n(this,e,t,r,o),this._addBinding(i);return this.memorize&&this._prevParams&&i.execute(this._prevParams),i},_addBinding:function(e){var t=this._bindings.length;do--t;while(this._bindings[t]&&e._priority<=this._bindings[t]._priority);this._bindings.splice(t+1,0,e)},_indexOfListener:function(e,t){for(var n,r=this._bindings.length;r--;)if(n=this._bindings[r],n._listener===e&&n.context===t)return r;return-1},has:function(e,t){return-1!==this._indexOfListener(e,t)},add:function(e,t,n){return r(e,"add"),this._registerListener(e,!1,t,n)},addOnce:function(e,t,n){return r(e,"addOnce"),this._registerListener(e,!0,t,n)},remove:function(e,t){r(e,"remove");var n=this._indexOfListener(e,t);return-1!==n&&(this._bindings[n]._destroy(),this._bindings.splice(n,1)),e},removeAll:function(){for(var e=this._bindings.length;e--;)this._bindings[e]._destroy();this._bindings.length=0},getNumListeners:function(){return this._bindings.length},halt:function(){this._shouldPropagate=!1},dispatch:function(e){if(this.active){var t,n=Array.prototype.slice.call(arguments),r=this._bindings.length;if(this.memorize&&(this._prevParams=n),r){t=this._bindings.slice(),this._shouldPropagate=!0;do r--;while(t[r]&&this._shouldPropagate&&t[r].execute(n)!==!1)}}},forget:function(){this._prevParams=null},dispose:function(){this.removeAll(),delete this._bindings,delete this._prevParams},toString:function(){return"[Signal active:"+this.active+" numListeners:"+this.getNumListeners()+"]"}};var i=o;i.Signal=o,"function"==typeof define&&define.amd?define(function(){return i}):"undefined"!=typeof t&&t.exports?t.exports=i:e.signals=i}(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/signals/dist/signals.js","/node_modules/signals/dist")},{_process:43,buffer:3}],203:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){var c=function(e){return Object.prototype.toString.call(e)},f=function(e){throw e},d=t.exports=function(e,t){function n(e,t,n){t in e?e[t]=n:Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}var r=t||{};return r.unknownFunction||(r.unknownFunction=d.ONCE),r.nonFunctionProperty||(r.nonFunctionProperty=function(e,t,n){if(void 0!==e&&void 0!==t){var r=function(e){return e&&e.constructor&&e.constructor.name?e.constructor.name:c(e).slice(8,-1)};throw new TypeError("Cannot mixin key "+n+" because it is provided by multiple sources, and the types are "+r(e)+" and "+r(t))}return void 0===e?t:e}),function(t,o){Object.keys(o).forEach(function(i){var s=t[i],a=o[i],u=e[i];if(void 0!==s||void 0!==a){var l=function(e){return"function"!=typeof e?e:function(){return e.call(this,arguments)}};if(u){var c=u(s,a,i);return void n(t,i,l(c))}var f="function"==typeof s,d="function"==typeof a;return f&&void 0===a||d&&void 0===s||f&&d?void n(t,i,l(r.unknownFunction(s,a,i))):void(t[i]=r.nonFunctionProperty(s,a,i))}})}};d._mergeObjects=function(e,t){var n=function(e,t){var n=c(e);if("[object Object]"!==n){var r=e.constructor?e.constructor.name:"Unknown",o=t.constructor?t.constructor.name:"Unknown";f("cannot merge returned value of type "+r+" with an "+o)}};if(Array.isArray(e)&&Array.isArray(t))return e.concat(t);n(e,t),n(t,e);var r={};return Object.keys(e).forEach(function(n){Object.prototype.hasOwnProperty.call(t,n)&&f("cannot merge returns because both have the "+JSON.stringify(n)+" key"),r[n]=e[n]}),Object.keys(t).forEach(function(e){r[e]=t[e]}),r},d.ONCE=function(e,t,n){if(e&&t)throw new TypeError("Cannot mixin "+n+" because it has a unique constraint.");var r=e||t;return function(e){return r.apply(this,e)}},d.MANY=function(e,t,n){return function(n){return t&&t.apply(this,n),e?e.apply(this,n):void 0}},d.MANY_MERGED_LOOSE=function(e,t,n){return e&&t?d._mergeObjects(e,t):e||t},d.MANY_MERGED=function(e,t,n){return function(n){var r=t&&t.apply(this,n),o=e&&e.apply(this,n);return r&&o?d._mergeObjects(r,o):o||r}},d.REDUCE_LEFT=function(e,t,n){var r=e||function(e){return e},o=t||function(e){return e};return function(e){return o.call(this,r.apply(this,e))}},d.REDUCE_RIGHT=function(e,t,n){var r=e||function(e){return e},o=t||function(e){return e};return function(e){return r.call(this,o.apply(this,e))}}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/smart-mixin/index.js","/node_modules/smart-mixin")},{_process:43,buffer:3}],204:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e){return d(e).replace(/\s(\w)/g,function(e,t){return t.toUpperCase()})}var d=e("to-space-case");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/to-camel-case/index.js","/node_modules/to-camel-case")},{_process:43,buffer:3,"to-space-case":206}],205:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){function c(e){return p.test(e)?e.toLowerCase():h.test(e)?(f(e)||e).toLowerCase():d(e).toLowerCase()}function f(e){return e.replace(m,function(e,t){return t?" "+t:""})}function d(e){return e.replace(g,function(e,t,n){return t+" "+n.toLowerCase().split("").join(" ")})}t.exports=c;var p=/\s/,h=/[\W_]/,m=/[\W_]+(.|$)/g,g=/(.)([A-Z]+)/g}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/to-no-case/index.js","/node_modules/to-no-case")},{_process:43,buffer:3}],206:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e){return d(e).replace(/[\W_]+(.|$)/g,function(e,t){return t?" "+t:""}).trim()}var d=e("to-no-case");t.exports=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/to-space-case/index.js","/node_modules/to-space-case")},{_process:43,buffer:3,"to-no-case":205}],207:[function(e,t,n){(function(e,r,o,i,s,a,u,l,c){function f(e){return e.replace(/^\s*|\s*$/g,"")}n=t.exports=f,n.left=function(e){return e.replace(/^\s*/,"")},n.right=function(e){return e.replace(/\s*$/,"")}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/trim/index.js","/node_modules/trim")},{_process:43,buffer:3}],208:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/util/support/isBufferBrowser.js","/node_modules/util/support")},{_process:43,buffer:3}],209:[function(e,t,n){(function(t,r,o,i,s,a,u,l,c){function f(e,t){var r={seen:[],stylize:p};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),T(t)?r.showHidden=t:t&&n._extend(r,t),M(r.showHidden)&&(r.showHidden=!1),M(r.depth)&&(r.depth=2),M(r.colors)&&(r.colors=!1),M(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=d),m(r,e,r.depth)}function d(e,t){var n=f.styles[t];return n?"["+f.colors[n][0]+"m"+e+"["+f.colors[n][1]+"m":e}function p(e,t){return e}function h(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function m(e,t,r){if(e.customInspect&&t&&A(t.inspect)&&t.inspect!==n.inspect&&(!t.constructor||t.constructor.prototype!==t)){var o=t.inspect(r,e);return C(o)||(o=m(e,o,r)),o}var i=g(e,t);if(i)return i;var s=Object.keys(t),a=h(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),N(t)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return y(t);if(0===s.length){if(A(t)){var u=t.name?": "+t.name:"";return e.stylize("[Function"+u+"]","special")}if(R(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(O(t))return e.stylize(Date.prototype.toString.call(t),"date");if(N(t))return y(t)}var l="",c=!1,f=["{","}"];if(w(t)&&(c=!0,f=["[","]"]),A(t)){var d=t.name?": "+t.name:"";l=" [Function"+d+"]"}if(R(t)&&(l=" "+RegExp.prototype.toString.call(t)),O(t)&&(l=" "+Date.prototype.toUTCString.call(t)),N(t)&&(l=" "+y(t)),0===s.length&&(!c||0==t.length))return f[0]+l+f[1];if(0>r)return R(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var p;return p=c?v(e,t,r,a,s):s.map(function(n){return b(e,t,r,a,n,c)}),e.seen.pop(),_(p,l,f)}function g(e,t){if(M(t))return e.stylize("undefined","undefined");if(C(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return S(t)?e.stylize(""+t,"number"):T(t)?e.stylize(""+t,"boolean"):E(t)?e.stylize("null","null"):void 0}function y(e){return"["+Error.prototype.toString.call(e)+"]"}function v(e,t,n,r,o){for(var i=[],s=0,a=t.length;a>s;++s)j(t,String(s))?i.push(b(e,t,n,r,String(s),!0)):i.push("");return o.forEach(function(o){o.match(/^\d+$/)||i.push(b(e,t,n,r,o,!0))}),i}function b(e,t,n,r,o,i){var s,a,u;if(u=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]},u.get?a=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(a=e.stylize("[Setter]","special")),j(r,o)||(s="["+o+"]"),a||(e.seen.indexOf(u.value)<0?(a=E(n)?m(e,u.value,null):m(e,u.value,n-1),a.indexOf("\n")>-1&&(a=i?a.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return" "+e}).join("\n"))):a=e.stylize("[Circular]","special")),M(s)){if(i&&o.match(/^\d+$/))return a;s=JSON.stringify(""+o),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function _(e,t,n){var r=0,o=e.reduce(function(e,t){return r++,t.indexOf("\n")>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return o>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function w(e){return Array.isArray(e)}function T(e){return"boolean"==typeof e}function E(e){return null===e}function x(e){return null==e}function S(e){return"number"==typeof e}function C(e){return"string"==typeof e}function P(e){return"symbol"==typeof e}function M(e){return void 0===e}function R(e){return D(e)&&"[object RegExp]"===B(e)}function D(e){return"object"==typeof e&&null!==e}function O(e){return D(e)&&"[object Date]"===B(e)}function N(e){return D(e)&&("[object Error]"===B(e)||e instanceof Error)}function A(e){return"function"==typeof e}function I(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function B(e){return Object.prototype.toString.call(e)}function k(e){return 10>e?"0"+e.toString(10):e.toString(10)}function L(){var e=new Date,t=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(":");return[e.getDate(),U[e.getMonth()],t].join(" ")}function j(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var G=/%[sdj%]/g;n.format=function(e){if(!C(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(f(arguments[n]));return t.join(" ")}for(var n=1,r=arguments,o=r.length,i=String(e).replace(G,function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}}),s=r[n];o>n;s=r[++n])i+=E(s)||!D(s)?" "+s:" "+f(s);return i},n.deprecate=function(e,o){function i(){if(!s){if(t.throwDeprecation)throw new Error(o);t.traceDeprecation?console.trace(o):console.error(o),s=!0}return e.apply(this,arguments)}if(M(r.process))return function(){return n.deprecate(e,o).apply(this,arguments)};if(t.noDeprecation===!0)return e;var s=!1;return i};var H,V={};n.debuglog=function(e){if(M(H)&&(H=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!V[e])if(new RegExp("\\b"+e+"\\b","i").test(H)){var r=t.pid;V[e]=function(){var t=n.format.apply(n,arguments);console.error("%s %d: %s",e,r,t)}}else V[e]=function(){};return V[e]},n.inspect=f,f.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},f.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},n.isArray=w,n.isBoolean=T,n.isNull=E,n.isNullOrUndefined=x,n.isNumber=S,n.isString=C,n.isSymbol=P,n.isUndefined=M,n.isRegExp=R,n.isObject=D,n.isDate=O,n.isError=N,n.isFunction=A,n.isPrimitive=I,n.isBuffer=e("./support/isBuffer");var U=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];n.log=function(){console.log("%s - %s",L(),n.format.apply(n,arguments))},n.inherits=e("inherits"),n._extend=function(e,t){if(!t||!D(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/util/util.js","/node_modules/util")},{"./support/isBuffer":208,_process:43,buffer:3,inherits:34}],"common-vimeo":[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e){d=m(),g(e),this.attachToEmbed(e)}var d,p=e("events").EventEmitter,h=e("util"),m=e("./lib/load-api"),g=e("./lib/prepare-embed");t.exports=f,h.inherits(f,p),f.prototype.play=function(){this.player.api("play")},f.prototype.pause=function(){this.player.api("pause")},f.prototype.destroy=function(){this.unbindEvents(),delete this.player},f.prototype.attachToEmbed=function(e){var t=this;d(function(n,r){t.player=window.Froogaloop(e),t.bindEvents()})},f.prototype.bindEvents=function(){var e=this;e.player.addEvent("ready",function(){e.emit("ready"),e.player.addEvent("play",function(){e.emit("play")}),e.player.addEvent("pause",function(){e.emit("pause")}),e.player.addEvent("finish",function(){e.emit("end")})})},f.prototype.unbindEvents=function(){this.player.removeEvent("ready"),this.player.removeEvent("play"),this.player.removeEvent("pause"),this.player.removeEvent("finish")}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/common-vimeo/index.js","/node_modules/common-vimeo")},{"./lib/load-api":5,"./lib/prepare-embed":6,_process:43,buffer:3,events:2,util:209}],crossroads:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){!function(){var n=function(e){function t(e,t){if(e.indexOf)return e.indexOf(t);for(var n=e.length;n--;)if(e[n]===t)return n;return-1}function n(e,n){var r=t(e,n);-1!==r&&e.splice(r,1)}function r(e,t){return"[object "+t+"]"===Object.prototype.toString.call(e)}function o(e){return r(e,"RegExp")}function i(e){return r(e,"Array")}function s(e){return"function"==typeof e}function a(e){var t;return t=null===e||"null"===e?null:"true"===e?!0:"false"===e?!1:e===h||"undefined"===e?h:""===e||isNaN(e)?e:parseFloat(e)}function u(e){for(var t=e.length,n=[];t--;)n[t]=a(e[t]);return n}function l(e,t){for(var n,r,o,s,u=(e||"").replace("?","").split("&"),l=-1,c={};r=u[++l];)n=r.indexOf("="),s=r.substring(0,n),o=decodeURIComponent(r.substring(n+1)),t!==!1&&(o=a(o)),s in c?i(c[s])?c[s].push(o):c[s]=[c[s],o]:c[s]=o;return c}function c(){this.bypassed=new e.Signal,this.routed=new e.Signal,this._routes=[],this._prevRoutes=[],this._piped=[],this.resetState()}function f(t,n,r,i){var s=o(t),a=i.patternLexer;this._router=i,this._pattern=t,this._paramsIds=s?null:a.getParamIds(t),this._optionalParamsIds=s?null:a.getOptionalParamsIds(t),this._matchRegexp=s?t:a.compilePattern(t,i.ignoreCase),this.matched=new e.Signal,this.switched=new e.Signal,n&&this.matched.add(n),this._priority=r||0}var d,p,h;return p=""===/t(.+)?/.exec("t")[1],c.prototype={greedy:!1,greedyEnabled:!0,ignoreCase:!0,ignoreState:!1,shouldTypecast:!1,normalizeFn:null,resetState:function(){this._prevRoutes.length=0,this._prevMatchedRequest=null,this._prevBypassedRequest=null},create:function(){return new c},addRoute:function(e,t,n){var r=new f(e,t,n,this);return this._sortedInsert(r),r},removeRoute:function(e){n(this._routes,e),e._destroy()},removeAllRoutes:function(){for(var e=this.getNumRoutes();e--;)this._routes[e]._destroy();this._routes.length=0},parse:function(e,t){if(e=e||"",t=t||[],this.ignoreState||e!==this._prevMatchedRequest&&e!==this._prevBypassedRequest){var n,r=this._getMatchedRoutes(e),o=0,i=r.length;if(i)for(this._prevMatchedRequest=e,this._notifyPrevRoutes(r,e),this._prevRoutes=r;i>o;)n=r[o],n.route.matched.dispatch.apply(n.route.matched,t.concat(n.params)),n.isFirst=!o,this.routed.dispatch.apply(this.routed,t.concat([e,n])),o+=1;else this._prevBypassedRequest=e,this.bypassed.dispatch.apply(this.bypassed,t.concat([e]));this._pipeParse(e,t)}},_notifyPrevRoutes:function(e,t){for(var n,r=0;n=this._prevRoutes[r++];)n.route.switched&&this._didSwitch(n.route,e)&&n.route.switched.dispatch(t)},_didSwitch:function(e,t){for(var n,r=0;n=t[r++];)if(n.route===e)return!1;return!0},_pipeParse:function(e,t){for(var n,r=0;n=this._piped[r++];)n.parse(e,t)},getNumRoutes:function(){return this._routes.length},_sortedInsert:function(e){var t=this._routes,n=t.length;do--n;while(t[n]&&e._priority<=t[n]._priority);t.splice(n+1,0,e)},_getMatchedRoutes:function(e){for(var t,n=[],r=this._routes,o=r.length;(t=r[--o])&&((!n.length||this.greedy||t.greedy)&&t.match(e)&&n.push({route:t,params:t._getParamsArray(e)}),this.greedyEnabled||!n.length););return n},pipe:function(e){this._piped.push(e)},unpipe:function(e){n(this._piped,e)},toString:function(){return"[crossroads numRoutes:"+this.getNumRoutes()+"]"}},d=new c,d.VERSION="0.12.2",d.NORM_AS_ARRAY=function(e,t){return[t.vals_]},d.NORM_AS_OBJECT=function(e,t){return[t]},f.prototype={greedy:!1,rules:void 0,match:function(e){return e=e||"",this._matchRegexp.test(e)&&this._validateParams(e)},_validateParams:function(e){var t,n=this.rules,r=this._getParamsObject(e);for(t in n)if("normalize_"!==t&&n.hasOwnProperty(t)&&!this._isValidParam(e,t,r))return!1;return!0},_isValidParam:function(e,n,r){var a=this.rules[n],u=r[n],l=!1,c=0===n.indexOf("?");return null==u&&this._optionalParamsIds&&-1!==t(this._optionalParamsIds,n)?l=!0:o(a)?(c&&(u=r[n+"_"]),l=a.test(u)):i(a)?(c&&(u=r[n+"_"]),l=this._isValidArrayRule(a,u)):s(a)&&(l=a(u,e,r)),l},_isValidArrayRule:function(e,n){if(!this._router.ignoreCase)return-1!==t(e,n);"string"==typeof n&&(n=n.toLowerCase());for(var r,o,i=e.length;i--;)if(r=e[i],o="string"==typeof r?r.toLowerCase():r,o===n)return!0;return!1},_getParamsObject:function(e){for(var n,r,o=this._router.shouldTypecast,i=this._router.patternLexer.getParamValues(e,this._matchRegexp,o),s={},u=i.length;u--;)r=i[u], this._paramsIds&&(n=this._paramsIds[u],0===n.indexOf("?")&&r&&(s[n+"_"]=r,r=l(r,o),i[u]=r),p&&""===r&&-1!==t(this._optionalParamsIds,n)&&(r=void 0,i[u]=r),s[n]=r),s[u]=r;return s.request_=o?a(e):e,s.vals_=i,s},_getParamsArray:function(e){var t,n=this.rules?this.rules.normalize_:null;return n=n||this._router.normalizeFn,t=n&&s(n)?n(e,this._getParamsObject(e)):this._getParamsObject(e).vals_},interpolate:function(e){var t=this._router.patternLexer.interpolate(this._pattern,e);if(!this._validateParams(t))throw new Error("Generated string doesn't validate against `Route.rules`.");return t},dispose:function(){this._router.removeRoute(this)},_destroy:function(){this.matched.dispose(),this.switched.dispose(),this.matched=this.switched=this._pattern=this._matchRegexp=null},toString:function(){return'[Route pattern:"'+this._pattern+'", numListeners:'+this.matched.getNumListeners()+"]"}},c.prototype.patternLexer=function(){function e(){var e,t;for(e in h)h.hasOwnProperty(e)&&(t=h[e],t.id="__CR_"+e+"__",t.save="save"in t?t.save.replace("{{id}}",t.id):t.id,t.rRestore=new RegExp(t.id,"g"))}function t(e,t){var n,r=[];for(e.lastIndex=0;n=e.exec(t);)r.push(n[1]);return r}function n(e){return t(p,e)}function r(e){return t(h.OP.rgx,e)}function o(e,t){return e=e||"",e&&(v===m?e=e.replace(f,""):v===y&&(e=e.replace(d,"")),e=s(e,"rgx","save"),e=e.replace(c,"\\$&"),e=s(e,"rRestore","res"),v===m&&(e="\\/?"+e)),v!==g&&(e+="\\/?"),new RegExp("^"+e+"$",t?"i":"")}function s(e,t,n){var r,o;for(o in h)h.hasOwnProperty(o)&&(r=h[o],e=e.replace(r[t],r[n]));return e}function a(e,t,n){var r=t.exec(e);return r&&(r.shift(),n&&(r=u(r))),r}function l(e,t){if(t=t||{},"string"!=typeof e)throw new Error("Route pattern should be a string.");var n=function(e,n){var r;if(n="?"===n.substr(0,1)?n.substr(1):n,null!=t[n]){if("object"==typeof t[n]){var o,s=[];for(var a in t[n])if(o=t[n][a],i(o))for(var u in o)"[]"==a.slice(-2)?s.push(encodeURI(a.slice(0,-2))+"[]="+encodeURI(o[u])):s.push(encodeURI(a+"="+o[u]));else s.push(encodeURI(a+"="+o));r="?"+s.join("&")}else r=String(t[n]);if(-1===e.indexOf("*")&&-1!==r.indexOf("/"))throw new Error('Invalid value "'+r+'" for segment "'+e+'".')}else{if(-1!==e.indexOf("{"))throw new Error("The segment "+e+" is required.");r=""}return r};return h.OS.trail||(h.OS.trail=new RegExp("(?:"+h.OS.id+")+$")),e.replace(h.OS.rgx,h.OS.save).replace(p,n).replace(h.OS.trail,"").replace(h.OS.rRestore,"/")}var c=/[\\.+*?\^$\[\](){}\/'#]/g,f=/^\/|\/$/g,d=/\/$/g,p=/(?:\{|:)([^}:]+)(?:\}|:)/g,h={OS:{rgx:/([:}]|\w(?=\/))\/?(:|(?:\{\?))/g,save:"$1{{id}}$2",res:"\\/?"},RS:{rgx:/([:}])\/?(\{)/g,save:"$1{{id}}$2",res:"\\/"},RQ:{rgx:/\{\?([^}]+)\}/g,res:"\\?([^#]+)"},OQ:{rgx:/:\?([^:]+):/g,res:"(?:\\?([^#]*))?"},OR:{rgx:/:([^:]+)\*:/g,res:"(.*)?"},RR:{rgx:/\{([^}]+)\*\}/g,res:"(.+)"},RP:{rgx:/\{([^}]+)\}/g,res:"([^\\/?]+)"},OP:{rgx:/:([^:]+):/g,res:"([^\\/?]+)?/?"}},m=1,g=2,y=3,v=m;return e(),{strict:function(){v=g},loose:function(){v=m},legacy:function(){v=y},getParamIds:n,getOptionalParamsIds:r,getParamValues:a,compilePattern:o,interpolate:l}}(),d};"function"==typeof define&&define.amd?define(["signals"],n):"undefined"!=typeof t&&t.exports?t.exports=n(e("signals")):window.crossroads=n(window.signals)}()}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/crossroads/dist/crossroads.js","/node_modules/crossroads/dist")},{_process:43,buffer:3,signals:202}],domquery:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e){return p("<"==e.charAt(0)?d(e):document.createElement(e))}var d=e("new-element"),p=e("./lib/select");t.exports=p,t.exports.create=f}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/domquery/index.js","/node_modules/domquery")},{"./lib/select":26,_process:43,buffer:3,"new-element":42}],"element-size":[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){function c(e){if(e===window||e===document.body)return[window.innerWidth,window.innerHeight];if(!e.parentNode){var t=!0;document.body.appendChild(e)}var n=e.getBoundingClientRect(),r=getComputedStyle(e),o=(0|n.height)+f(r.getPropertyValue("margin-top"))+f(r.getPropertyValue("margin-bottom")),i=(0|n.width)+f(r.getPropertyValue("margin-left"))+f(r.getPropertyValue("margin-right"));return t&&document.body.removeChild(e),[i,o]}function f(e){return parseFloat(e)||0}t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/element-size/index.js","/node_modules/element-size")},{_process:43,buffer:3}],eventemitter2:[function(e,t,n){(function(e,t,r,o,i,s,a,u,l){!function(e){function t(){this._events={},this._conf&&r.call(this,this._conf)}function r(e){e&&(this._conf=e,e.delimiter&&(this.delimiter=e.delimiter),e.maxListeners&&(this._events.maxListeners=e.maxListeners),e.wildcard&&(this.wildcard=e.wildcard),e.newListener&&(this.newListener=e.newListener),this.wildcard&&(this.listenerTree={}))}function o(e){this._events={},this.newListener=!1,r.call(this,e)}function i(e,t,n,r){if(!n)return[];var o,s,a,u,l,c,f,d=[],p=t.length,h=t[r],m=t[r+1];if(r===p&&n._listeners){if("function"==typeof n._listeners)return e&&e.push(n._listeners),[n];for(o=0,s=n._listeners.length;s>o;o++)e&&e.push(n._listeners[o]);return[n]}if("*"===h||"**"===h||n[h]){if("*"===h){for(a in n)"_listeners"!==a&&n.hasOwnProperty(a)&&(d=d.concat(i(e,t,n[a],r+1)));return d}if("**"===h){f=r+1===p||r+2===p&&"*"===m,f&&n._listeners&&(d=d.concat(i(e,t,n,p)));for(a in n)"_listeners"!==a&&n.hasOwnProperty(a)&&("*"===a||"**"===a?(n[a]._listeners&&!f&&(d=d.concat(i(e,t,n[a],p))),d=d.concat(i(e,t,n[a],r))):d=a===m?d.concat(i(e,t,n[a],r+2)):d.concat(i(e,t,n[a],r)));return d}d=d.concat(i(e,t,n[h],r+1))}if(u=n["*"],u&&i(e,t,u,r+1),l=n["**"])if(p>r){l._listeners&&i(e,t,l,p);for(a in l)"_listeners"!==a&&l.hasOwnProperty(a)&&(a===m?i(e,t,l[a],r+2):a===h?i(e,t,l[a],r+1):(c={},c[a]=l[a],i(e,t,{"**":c},r+1)))}else l._listeners?i(e,t,l,p):l["*"]&&l["*"]._listeners&&i(e,t,l["*"],p);return d}function s(e,t){e="string"==typeof e?e.split(this.delimiter):e.slice();for(var n=0,r=e.length;r>n+1;n++)if("**"===e[n]&&"**"===e[n+1])return;for(var o=this.listenerTree,i=e.shift();i;){if(o[i]||(o[i]={}),o=o[i],0===e.length){if(o._listeners){if("function"==typeof o._listeners)o._listeners=[o._listeners,t];else if(a(o._listeners)&&(o._listeners.push(t),!o._listeners.warned)){var s=u;"undefined"!=typeof this._events.maxListeners&&(s=this._events.maxListeners),s>0&&o._listeners.length>s&&(o._listeners.warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",o._listeners.length),console.trace())}}else o._listeners=t;return!0}i=e.shift()}return!0}var a=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},u=10;o.prototype.delimiter=".",o.prototype.setMaxListeners=function(e){this._events||t.call(this),this._events.maxListeners=e,this._conf||(this._conf={}),this._conf.maxListeners=e},o.prototype.event="",o.prototype.once=function(e,t){return this.many(e,1,t),this},o.prototype.many=function(e,t,n){function r(){0===--t&&o.off(e,r),n.apply(this,arguments)}var o=this;if("function"!=typeof n)throw new Error("many only accepts instances of Function");return r._origin=n,this.on(e,r),o},o.prototype.emit=function(){this._events||t.call(this);var e=arguments[0];if("newListener"===e&&!this.newListener&&!this._events.newListener)return!1;if(this._all){for(var n=arguments.length,r=new Array(n-1),o=1;n>o;o++)r[o-1]=arguments[o];for(o=0,n=this._all.length;n>o;o++)this.event=e,this._all[o].apply(this,r)}if("error"===e&&!(this._all||this._events.error||this.wildcard&&this.listenerTree.error))throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");var s;if(this.wildcard){s=[];var a="string"==typeof e?e.split(this.delimiter):e.slice();i.call(this,s,a,this.listenerTree,0)}else s=this._events[e];if("function"==typeof s){if(this.event=e,1===arguments.length)s.call(this);else if(arguments.length>1)switch(arguments.length){case 2:s.call(this,arguments[1]);break;case 3:s.call(this,arguments[1],arguments[2]);break;default:for(var n=arguments.length,r=new Array(n-1),o=1;n>o;o++)r[o-1]=arguments[o];s.apply(this,r)}return!0}if(s){for(var n=arguments.length,r=new Array(n-1),o=1;n>o;o++)r[o-1]=arguments[o];for(var u=s.slice(),o=0,n=u.length;n>o;o++)this.event=e,u[o].apply(this,r);return u.length>0||!!this._all}return!!this._all},o.prototype.on=function(e,n){if("function"==typeof e)return this.onAny(e),this;if("function"!=typeof n)throw new Error("on only accepts instances of Function");if(this._events||t.call(this),this.emit("newListener",e,n),this.wildcard)return s.call(this,e,n),this;if(this._events[e]){if("function"==typeof this._events[e])this._events[e]=[this._events[e],n];else if(a(this._events[e])&&(this._events[e].push(n),!this._events[e].warned)){var r=u;"undefined"!=typeof this._events.maxListeners&&(r=this._events.maxListeners),r>0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),console.trace())}}else this._events[e]=n;return this},o.prototype.onAny=function(e){if("function"!=typeof e)throw new Error("onAny only accepts instances of Function");return this._all||(this._all=[]),this._all.push(e),this},o.prototype.addListener=o.prototype.on,o.prototype.off=function(e,t){if("function"!=typeof t)throw new Error("removeListener only takes instances of Function");var n,r=[];if(this.wildcard){var o="string"==typeof e?e.split(this.delimiter):e.slice();r=i.call(this,null,o,this.listenerTree,0)}else{if(!this._events[e])return this;n=this._events[e],r.push({_listeners:n})}for(var s=0;s<r.length;s++){var u=r[s];if(n=u._listeners,a(n)){for(var l=-1,c=0,f=n.length;f>c;c++)if(n[c]===t||n[c].listener&&n[c].listener===t||n[c]._origin&&n[c]._origin===t){l=c;break}if(0>l)continue;return this.wildcard?u._listeners.splice(l,1):this._events[e].splice(l,1),0===n.length&&(this.wildcard?delete u._listeners:delete this._events[e]),this}(n===t||n.listener&&n.listener===t||n._origin&&n._origin===t)&&(this.wildcard?delete u._listeners:delete this._events[e])}return this},o.prototype.offAny=function(e){var t,n=0,r=0;if(e&&this._all&&this._all.length>0){for(t=this._all,n=0,r=t.length;r>n;n++)if(e===t[n])return t.splice(n,1),this}else this._all=[];return this},o.prototype.removeListener=o.prototype.off,o.prototype.removeAllListeners=function(e){if(0===arguments.length)return!this._events||t.call(this),this;if(this.wildcard)for(var n="string"==typeof e?e.split(this.delimiter):e.slice(),r=i.call(this,null,n,this.listenerTree,0),o=0;o<r.length;o++){var s=r[o];s._listeners=null}else{if(!this._events[e])return this;this._events[e]=null}return this},o.prototype.listeners=function(e){if(this.wildcard){var n=[],r="string"==typeof e?e.split(this.delimiter):e.slice();return i.call(this,n,r,this.listenerTree,0),n}return this._events||t.call(this),this._events[e]||(this._events[e]=[]),a(this._events[e])||(this._events[e]=[this._events[e]]),this._events[e]},o.prototype.listenersAny=function(){return this._all?this._all:[]},"function"==typeof define&&define.amd?define(function(){return o}):"object"==typeof n?n.EventEmitter2=o:window.EventEmitter2=o}()}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/eventemitter2/lib/eventemitter2.js","/node_modules/eventemitter2/lib")},{_process:43,buffer:3}],"flux-dispatcher":[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){"use strict";var f=e("flux").Dispatcher,d=new f;d.handleAction=function(e,t,n){if(arguments.length<2||arguments.length>3){var r="Expected two or three arguments.";throw new Error(r)}2===arguments.length&&(n=t,t=e,e=void 0);var o={action:{type:t,data:n}};e&&(o.source=e),d.dispatch(o)},t.exports=d}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/flux-dispatcher/index.js","/node_modules/flux-dispatcher")},{_process:43,buffer:3,flux:"flux"}],flux:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){t.exports.Dispatcher=e("./lib/Dispatcher")}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/flux/index.js","/node_modules/flux")},{"./lib/Dispatcher":30,_process:43,buffer:3}],gsap:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){var c="undefined"!=typeof t&&t.exports&&"undefined"!=typeof n?n:this||window;(c._gsQueue||(c._gsQueue=[])).push(function(){"use strict";c._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(e,t,n){var r=function(e){var t,n=[],r=e.length;for(t=0;t!==r;n.push(e[t++]));return n},o=function(e,t,r){n.call(this,e,t,r),this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0,this.render=o.prototype.render},i=1e-10,s=n._internals,a=s.isSelector,u=s.isArray,l=o.prototype=n.to({},.1,{}),c=[];o.version="1.17.0",l.constructor=o,l.kill()._gc=!1,o.killTweensOf=o.killDelayedCallsTo=n.killTweensOf,o.getTweensOf=n.getTweensOf,o.lagSmoothing=n.lagSmoothing,o.ticker=n.ticker,o.render=n.render,l.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),n.prototype.invalidate.call(this)},l.updateTo=function(e,t){var r,o=this.ratio,i=this.vars.immediateRender||e.immediateRender;t&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay));for(r in e)this.vars[r]=e[r];if(this._initted||i)if(t)this._initted=!1,i&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&n._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var s=this._time;this.render(0,!0,!1),this._initted=!1,this.render(s,!0,!1)}else if(this._time>0||i){this._initted=!1,this._init();for(var a,u=1/(1-o),l=this._firstPT;l;)a=l.s+l.c,l.c*=u,l.s=a-l.c,l=l._next}return this},l.render=function(e,t,n){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var r,o,a,u,l,c,f,d,p=this._dirty?this.totalDuration():this._totalDuration,h=this._time,m=this._totalTime,g=this._cycle,y=this._duration,v=this._rawPrevTime;if(e>=p?(this._totalTime=p,this._cycle=this._repeat,this._yoyo&&0!==(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=y,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(r=!0,o="onComplete",n=n||this._timeline.autoRemoveChildren),0===y&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(e=0),(0===e||0>v||v===i)&&v!==e&&(n=!0,v>i&&(o="onReverseComplete")),this._rawPrevTime=d=!t||e||v===e?e:i)):1e-7>e?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==m||0===y&&v>0)&&(o="onReverseComplete",r=this._reversed),0>e&&(this._active=!1,0===y&&(this._initted||!this.vars.lazy||n)&&(v>=0&&(n=!0),this._rawPrevTime=d=!t||e||v===e?e:i)),this._initted||(n=!0)):(this._totalTime=this._time=e,0!==this._repeat&&(u=y+this._repeatDelay,this._cycle=this._totalTime/u>>0,0!==this._cycle&&this._cycle===this._totalTime/u&&this._cycle--,this._time=this._totalTime-this._cycle*u,this._yoyo&&0!==(1&this._cycle)&&(this._time=y-this._time),this._time>y?this._time=y:0>this._time&&(this._time=0)),this._easeType?(l=this._time/y,c=this._easeType,f=this._easePower,(1===c||3===c&&l>=.5)&&(l=1-l),3===c&&(l*=2),1===f?l*=l:2===f?l*=l*l:3===f?l*=l*l*l:4===f&&(l*=l*l*l*l),this.ratio=1===c?1-l:2===c?l:.5>this._time/y?l/2:1-l/2):this.ratio=this._ease.getRatio(this._time/y)),h===this._time&&!n&&g===this._cycle)return void(m!==this._totalTime&&this._onUpdate&&(t||this._callback("onUpdate")));if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=h,this._totalTime=m,this._rawPrevTime=v,this._cycle=g,s.lazyTweens.push(this),void(this._lazy=[e,t]);this._time&&!r?this.ratio=this._ease.getRatio(this._time/y):r&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==h&&e>=0&&(this._active=!0),0===m&&(2===this._initted&&e>0&&this._init(),this._startAt&&(e>=0?this._startAt.render(e,t,n):o||(o="_dummyGS")),this.vars.onStart&&(0!==this._totalTime||0===y)&&(t||this._callback("onStart"))),a=this._firstPT;a;)a.f?a.t[a.p](a.c*this.ratio+a.s):a.t[a.p]=a.c*this.ratio+a.s,a=a._next;this._onUpdate&&(0>e&&this._startAt&&this._startTime&&this._startAt.render(e,t,n),t||(this._totalTime!==m||r)&&this._callback("onUpdate")),this._cycle!==g&&(t||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),o&&(!this._gc||n)&&(0>e&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(e,t,n),r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[o]&&this._callback(o),0===y&&this._rawPrevTime===i&&d!==i&&(this._rawPrevTime=0))},o.to=function(e,t,n){return new o(e,t,n)},o.from=function(e,t,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new o(e,t,n)},o.fromTo=function(e,t,n,r){return r.startAt=n,r.immediateRender=0!=r.immediateRender&&0!=n.immediateRender,new o(e,t,r)},o.staggerTo=o.allTo=function(e,t,i,s,l,f,d){s=s||0;var p,h,m,g,y=i.delay||0,v=[],b=function(){i.onComplete&&i.onComplete.apply(i.onCompleteScope||this,arguments),l.apply(d||i.callbackScope||this,f||c)};for(u(e)||("string"==typeof e&&(e=n.selector(e)||e),a(e)&&(e=r(e))),e=e||[],0>s&&(e=r(e),e.reverse(),s*=-1),p=e.length-1,m=0;p>=m;m++){h={};for(g in i)h[g]=i[g];h.delay=y,m===p&&l&&(h.onComplete=b),v[m]=new o(e[m],t,h),y+=s}return v},o.staggerFrom=o.allFrom=function(e,t,n,r,i,s,a){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,o.staggerTo(e,t,n,r,i,s,a)},o.staggerFromTo=o.allFromTo=function(e,t,n,r,i,s,a,u){return r.startAt=n,r.immediateRender=0!=r.immediateRender&&0!=n.immediateRender,o.staggerTo(e,t,r,i,s,a,u)},o.delayedCall=function(e,t,n,r,i){return new o(t,0,{delay:e,onComplete:t,onCompleteParams:n,callbackScope:r,onReverseComplete:t,onReverseCompleteParams:n,immediateRender:!1,useFrames:i,overwrite:0})},o.set=function(e,t){return new o(e,0,t)},o.isTweening=function(e){return n.getTweensOf(e,!0).length>0};var f=function(e,t){for(var r=[],o=0,i=e._first;i;)i instanceof n?r[o++]=i:(t&&(r[o++]=i),r=r.concat(f(i,t)),o=r.length),i=i._next;return r},d=o.getAllTweens=function(t){return f(e._rootTimeline,t).concat(f(e._rootFramesTimeline,t))};o.killAll=function(e,n,r,o){null==n&&(n=!0),null==r&&(r=!0);var i,s,a,u=d(0!=o),l=u.length,c=n&&r&&o;for(a=0;l>a;a++)s=u[a],(c||s instanceof t||(i=s.target===s.vars.onComplete)&&r||n&&!i)&&(e?s.totalTime(s._reversed?0:s.totalDuration()):s._enabled(!1,!1))},o.killChildTweensOf=function(e,t){if(null!=e){var i,l,c,f,d,p=s.tweenLookup;if("string"==typeof e&&(e=n.selector(e)||e),a(e)&&(e=r(e)),u(e))for(f=e.length;--f>-1;)o.killChildTweensOf(e[f],t);else{i=[];for(c in p)for(l=p[c].target.parentNode;l;)l===e&&(i=i.concat(p[c].tweens)),l=l.parentNode;for(d=i.length,f=0;d>f;f++)t&&i[f].totalTime(i[f].totalDuration()),i[f]._enabled(!1,!1)}}};var p=function(e,n,r,o){n=n!==!1,r=r!==!1,o=o!==!1;for(var i,s,a=d(o),u=n&&r&&o,l=a.length;--l>-1;)s=a[l],(u||s instanceof t||(i=s.target===s.vars.onComplete)&&r||n&&!i)&&s.paused(e)};return o.pauseAll=function(e,t,n){p(!0,e,t,n)},o.resumeAll=function(e,t,n){p(!1,e,t,n)},o.globalTimeScale=function(t){var r=e._rootTimeline,o=n.ticker.time;return arguments.length?(t=t||i,r._startTime=o-(o-r._startTime)*r._timeScale/t,r=e._rootFramesTimeline,o=n.ticker.frame,r._startTime=o-(o-r._startTime)*r._timeScale/t,r._timeScale=e._rootTimeline._timeScale=t,t):r._timeScale},l.progress=function(e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-e:e)+this._cycle*(this._duration+this._repeatDelay),!1):this._time/this.duration()},l.totalProgress=function(e){return arguments.length?this.totalTime(this.totalDuration()*e,!1):this._totalTime/this.totalDuration()},l.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),e>this._duration&&(e=this._duration),this._yoyo&&0!==(1&this._cycle)?e=this._duration-e+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(e+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(e,t)):this._time},l.duration=function(t){return arguments.length?e.prototype.duration.call(this,t):this._duration},l.totalDuration=function(e){return arguments.length?-1===this._repeat?this:this.duration((e-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},l.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},l.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},l.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},o},!0),c._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(e,t,n){var r=function(e){t.call(this,e),this._labels={},this.autoRemoveChildren=this.vars.autoRemoveChildren===!0,this.smoothChildTiming=this.vars.smoothChildTiming===!0,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var n,r,o=this.vars;for(r in o)n=o[r],u(n)&&-1!==n.join("").indexOf("{self}")&&(o[r]=this._swapSelfInParams(n));u(o.tweens)&&this.add(o.tweens,0,o.align,o.stagger)},o=1e-10,i=n._internals,s=r._internals={},a=i.isSelector,u=i.isArray,l=i.lazyTweens,f=i.lazyRender,d=[],p=c._gsDefine.globals,h=function(e){var t,n={};for(t in e)n[t]=e[t];return n},m=s.pauseCallback=function(e,t,n,r){var i,s=e._timeline,a=s._totalTime,u=e._startTime,l=0>e._rawPrevTime||0===e._rawPrevTime&&s._reversed,c=l?0:o,f=l?o:0;if(t||!this._forcingPlayhead){for(s.pause(u),i=e._prev;i&&i._startTime===u;)i._rawPrevTime=f,i=i._prev;for(i=e._next;i&&i._startTime===u;)i._rawPrevTime=c,i=i._next;t&&t.apply(r||s.vars.callbackScope||s,n||d),(this._forcingPlayhead||!s._paused)&&s.seek(a)}},g=function(e){var t,n=[],r=e.length;for(t=0;t!==r;n.push(e[t++]));return n},y=r.prototype=new t;return r.version="1.17.0",y.constructor=r,y.kill()._gc=y._forcingPlayhead=!1,y.to=function(e,t,r,o){var i=r.repeat&&p.TweenMax||n;return t?this.add(new i(e,t,r),o):this.set(e,r,o)},y.from=function(e,t,r,o){return this.add((r.repeat&&p.TweenMax||n).from(e,t,r),o)},y.fromTo=function(e,t,r,o,i){var s=o.repeat&&p.TweenMax||n;return t?this.add(s.fromTo(e,t,r,o),i):this.set(e,o,i)},y.staggerTo=function(e,t,o,i,s,u,l,c){var f,d=new r({onComplete:u,onCompleteParams:l,callbackScope:c,smoothChildTiming:this.smoothChildTiming});for("string"==typeof e&&(e=n.selector(e)||e),e=e||[],a(e)&&(e=g(e)),i=i||0,0>i&&(e=g(e),e.reverse(),i*=-1),f=0;e.length>f;f++)o.startAt&&(o.startAt=h(o.startAt)),d.to(e[f],t,h(o),f*i);return this.add(d,s)},y.staggerFrom=function(e,t,n,r,o,i,s,a){return n.immediateRender=0!=n.immediateRender,n.runBackwards=!0,this.staggerTo(e,t,n,r,o,i,s,a)},y.staggerFromTo=function(e,t,n,r,o,i,s,a,u){return r.startAt=n,r.immediateRender=0!=r.immediateRender&&0!=n.immediateRender,this.staggerTo(e,t,r,o,i,s,a,u)},y.call=function(e,t,r,o){return this.add(n.delayedCall(0,e,t,r),o)},y.set=function(e,t,r){return r=this._parseTimeOrLabel(r,0,!0),null==t.immediateRender&&(t.immediateRender=r===this._time&&!this._paused),this.add(new n(e,0,t),r)},r.exportRoot=function(e,t){e=e||{},null==e.smoothChildTiming&&(e.smoothChildTiming=!0);var o,i,s=new r(e),a=s._timeline;for(null==t&&(t=!0),a._remove(s,!0),s._startTime=0,s._rawPrevTime=s._time=s._totalTime=a._time,o=a._first;o;)i=o._next,t&&o instanceof n&&o.target===o.vars.onComplete||s.add(o,o._startTime-o._delay),o=i;return a.add(s,0),s},y.add=function(o,i,s,a){var l,c,f,d,p,h;if("number"!=typeof i&&(i=this._parseTimeOrLabel(i,0,!0,o)),!(o instanceof e)){if(o instanceof Array||o&&o.push&&u(o)){for(s=s||"normal",a=a||0,l=i,c=o.length,f=0;c>f;f++)u(d=o[f])&&(d=new r({tweens:d})),this.add(d,l),"string"!=typeof d&&"function"!=typeof d&&("sequence"===s?l=d._startTime+d.totalDuration()/d._timeScale:"start"===s&&(d._startTime-=d.delay())),l+=a;return this._uncache(!0)}if("string"==typeof o)return this.addLabel(o,i);if("function"!=typeof o)throw"Cannot add "+o+" into the timeline; it is not a tween, timeline, function, or string.";o=n.delayedCall(0,o)}if(t.prototype.add.call(this,o,i),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(p=this,h=p.rawTime()>o._startTime;p._timeline;)h&&p._timeline.smoothChildTiming?p.totalTime(p._totalTime,!0):p._gc&&p._enabled(!0,!1),p=p._timeline;return this},y.remove=function(t){if(t instanceof e)return this._remove(t,!1);if(t instanceof Array||t&&t.push&&u(t)){for(var n=t.length;--n>-1;)this.remove(t[n]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},y._remove=function(e,n){t.prototype._remove.call(this,e,n);var r=this._last;return r?this._time>r._startTime+r._totalDuration/r._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},y.append=function(e,t){return this.add(e,this._parseTimeOrLabel(null,t,!0,e))},y.insert=y.insertMultiple=function(e,t,n,r){return this.add(e,t||0,n,r)},y.appendMultiple=function(e,t,n,r){return this.add(e,this._parseTimeOrLabel(null,t,!0,e),n,r)},y.addLabel=function(e,t){return this._labels[e]=this._parseTimeOrLabel(t),this},y.addPause=function(e,t,r,o){var i=n.delayedCall(0,m,["{self}",t,r,o],this);return i.data="isPause",this.add(i,e)},y.removeLabel=function(e){return delete this._labels[e],this},y.getLabelTime=function(e){return null!=this._labels[e]?this._labels[e]:-1},y._parseTimeOrLabel=function(t,n,r,o){var i;if(o instanceof e&&o.timeline===this)this.remove(o);else if(o&&(o instanceof Array||o.push&&u(o)))for(i=o.length;--i>-1;)o[i]instanceof e&&o[i].timeline===this&&this.remove(o[i]);if("string"==typeof n)return this._parseTimeOrLabel(n,r&&"number"==typeof t&&null==this._labels[n]?t-this.duration():0,r);if(n=n||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=this.duration());else{if(i=t.indexOf("="),-1===i)return null==this._labels[t]?r?this._labels[t]=this.duration()+n:n:this._labels[t]+n;n=parseInt(t.charAt(i-1)+"1",10)*Number(t.substr(i+1)),t=i>1?this._parseTimeOrLabel(t.substr(0,i-1),0,r):this.duration()}return Number(t)+n},y.seek=function(e,t){return this.totalTime("number"==typeof e?e:this._parseTimeOrLabel(e),t!==!1)},y.stop=function(){return this.paused(!0)},y.gotoAndPlay=function(e,t){return this.play(e,t)},y.gotoAndStop=function(e,t){return this.pause(e,t)},y.render=function(e,t,n){this._gc&&this._enabled(!0,!1);var r,i,s,a,u,c=this._dirty?this.totalDuration():this._totalDuration,d=this._time,p=this._startTime,h=this._timeScale,m=this._paused;if(e>=c)this._totalTime=this._time=c,this._reversed||this._hasPausedChild()||(i=!0,a="onComplete",u=!!this._timeline.autoRemoveChildren,0===this._duration&&(0===e||0>this._rawPrevTime||this._rawPrevTime===o)&&this._rawPrevTime!==e&&this._first&&(u=!0,this._rawPrevTime>o&&(a="onReverseComplete"))),this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:o,e=c+1e-4;else if(1e-7>e)if(this._totalTime=this._time=0,(0!==d||0===this._duration&&this._rawPrevTime!==o&&(this._rawPrevTime>0||0>e&&this._rawPrevTime>=0))&&(a="onReverseComplete",i=this._reversed),0>e)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(u=i=!0,a="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(u=!0),this._rawPrevTime=e;else{if(this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:o,0===e&&i)for(r=this._first;r&&0===r._startTime;)r._duration||(i=!1),r=r._next;e=0,this._initted||(u=!0)}else this._totalTime=this._time=this._rawPrevTime=e;if(this._time!==d&&this._first||n||u){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==d&&e>0&&(this._active=!0),0===d&&this.vars.onStart&&0!==this._time&&(t||this._callback("onStart")),this._time>=d)for(r=this._first;r&&(s=r._next,!this._paused||m);)(r._active||r._startTime<=this._time&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(e-r._startTime)*r._timeScale,t,n):r.render((e-r._startTime)*r._timeScale,t,n)),r=s;else for(r=this._last;r&&(s=r._prev,!this._paused||m);)(r._active||d>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(e-r._startTime)*r._timeScale,t,n):r.render((e-r._startTime)*r._timeScale,t,n)),r=s;this._onUpdate&&(t||(l.length&&f(),this._callback("onUpdate"))),a&&(this._gc||(p===this._startTime||h!==this._timeScale)&&(0===this._time||c>=this.totalDuration())&&(i&&(l.length&&f(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[a]&&this._callback(a)))}},y._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof r&&e._hasPausedChild())return!0;e=e._next}return!1},y.getChildren=function(e,t,r,o){o=o||-9999999999;for(var i=[],s=this._first,a=0;s;)o>s._startTime||(s instanceof n?t!==!1&&(i[a++]=s):(r!==!1&&(i[a++]=s),e!==!1&&(i=i.concat(s.getChildren(!0,t,r)),a=i.length))),s=s._next;return i},y.getTweensOf=function(e,t){var r,o,i=this._gc,s=[],a=0;for(i&&this._enabled(!0,!0),r=n.getTweensOf(e),o=r.length;--o>-1;)(r[o].timeline===this||t&&this._contains(r[o]))&&(s[a++]=r[o]);return i&&this._enabled(!1,!0),s},y.recent=function(){return this._recent},y._contains=function(e){for(var t=e.timeline;t;){if(t===this)return!0;t=t.timeline}return!1},y.shiftChildren=function(e,t,n){n=n||0;for(var r,o=this._first,i=this._labels;o;)o._startTime>=n&&(o._startTime+=e),o=o._next;if(t)for(r in i)i[r]>=n&&(i[r]+=e);return this._uncache(!0)},y._kill=function(e,t){if(!e&&!t)return this._enabled(!1,!1);for(var n=t?this.getTweensOf(t):this.getChildren(!0,!0,!1),r=n.length,o=!1;--r>-1;)n[r]._kill(e,t)&&(o=!0);return o},y.clear=function(e){var t=this.getChildren(!1,!0,!0),n=t.length;for(this._time=this._totalTime=0;--n>-1;)t[n]._enabled(!1,!1);return e!==!1&&(this._labels={}),this._uncache(!0)},y.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return e.prototype.invalidate.call(this)},y._enabled=function(e,n){if(e===this._gc)for(var r=this._first;r;)r._enabled(e,!0),r=r._next;return t.prototype._enabled.call(this,e,n)},y.totalTime=function(){this._forcingPlayhead=!0;var t=e.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,t},y.duration=function(e){return arguments.length?(0!==this.duration()&&0!==e&&this.timeScale(this._duration/e),this):(this._dirty&&this.totalDuration(),this._duration)},y.totalDuration=function(e){if(!arguments.length){if(this._dirty){for(var t,n,r=0,o=this._last,i=999999999999;o;)t=o._prev,o._dirty&&o.totalDuration(),o._startTime>i&&this._sortChildren&&!o._paused?this.add(o,o._startTime-o._delay):i=o._startTime, 0>o._startTime&&!o._paused&&(r-=o._startTime,this._timeline.smoothChildTiming&&(this._startTime+=o._startTime/this._timeScale),this.shiftChildren(-o._startTime,!1,-9999999999),i=0),n=o._startTime+o._totalDuration/o._timeScale,n>r&&(r=n),o=t;this._duration=this._totalDuration=r,this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==e&&this.timeScale(this._totalDuration/e),this},y.paused=function(t){if(!t)for(var n=this._first,r=this._time;n;)n._startTime===r&&"isPause"===n.data&&(n._rawPrevTime=0),n=n._next;return e.prototype.paused.apply(this,arguments)},y.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===e._rootFramesTimeline},y.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},r},!0),c._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(e,t,n){var r=function(t){e.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._dirty=!0},o=1e-10,i=t._internals,s=i.lazyTweens,a=i.lazyRender,u=new n(null,null,1,0),l=r.prototype=new e;return l.constructor=r,l.kill()._gc=!1,r.version="1.17.0",l.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),e.prototype.invalidate.call(this)},l.addCallback=function(e,n,r,o){return this.add(t.delayedCall(0,e,r,o),n)},l.removeCallback=function(e,t){if(e)if(null==t)this._kill(null,e);else for(var n=this.getTweensOf(e,!1),r=n.length,o=this._parseTimeOrLabel(t);--r>-1;)n[r]._startTime===o&&n[r]._enabled(!1,!1);return this},l.removePause=function(t){return this.removeCallback(e._internals.pauseCallback,t)},l.tweenTo=function(e,n){n=n||{};var r,o,i,s={ease:u,useFrames:this.usesFrames(),immediateRender:!1};for(o in n)s[o]=n[o];return s.time=this._parseTimeOrLabel(e),r=Math.abs(Number(s.time)-this._time)/this._timeScale||.001,i=new t(this,r,s),s.onStart=function(){i.target.paused(!0),i.vars.time!==i.target.time()&&r===i.duration()&&i.duration(Math.abs(i.vars.time-i.target.time())/i.target._timeScale),n.onStart&&i._callback("onStart")},i},l.tweenFromTo=function(e,t,n){n=n||{},e=this._parseTimeOrLabel(e),n.startAt={onComplete:this.seek,onCompleteParams:[e],callbackScope:this},n.immediateRender=n.immediateRender!==!1;var r=this.tweenTo(t,n);return r.duration(Math.abs(r.vars.time-e)/this._timeScale||.001)},l.render=function(e,t,n){this._gc&&this._enabled(!0,!1);var r,i,u,l,c,f,d=this._dirty?this.totalDuration():this._totalDuration,p=this._duration,h=this._time,m=this._totalTime,g=this._startTime,y=this._timeScale,v=this._rawPrevTime,b=this._paused,_=this._cycle;if(e>=d)this._locked||(this._totalTime=d,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(i=!0,l="onComplete",c=!!this._timeline.autoRemoveChildren,0===this._duration&&(0===e||0>v||v===o)&&v!==e&&this._first&&(c=!0,v>o&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:o,this._yoyo&&0!==(1&this._cycle)?this._time=e=0:(this._time=p,e=p+1e-4);else if(1e-7>e)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==h||0===p&&v!==o&&(v>0||0>e&&v>=0)&&!this._locked)&&(l="onReverseComplete",i=this._reversed),0>e)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(c=i=!0,l="onReverseComplete"):v>=0&&this._first&&(c=!0),this._rawPrevTime=e;else{if(this._rawPrevTime=p||!t||e||this._rawPrevTime===e?e:o,0===e&&i)for(r=this._first;r&&0===r._startTime;)r._duration||(i=!1),r=r._next;e=0,this._initted||(c=!0)}else 0===p&&0>v&&(c=!0),this._time=this._rawPrevTime=e,this._locked||(this._totalTime=e,0!==this._repeat&&(f=p+this._repeatDelay,this._cycle=this._totalTime/f>>0,0!==this._cycle&&this._cycle===this._totalTime/f&&this._cycle--,this._time=this._totalTime-this._cycle*f,this._yoyo&&0!==(1&this._cycle)&&(this._time=p-this._time),this._time>p?(this._time=p,e=p+1e-4):0>this._time?this._time=e=0:e=this._time));if(this._cycle!==_&&!this._locked){var w=this._yoyo&&0!==(1&_),T=w===(this._yoyo&&0!==(1&this._cycle)),E=this._totalTime,x=this._cycle,S=this._rawPrevTime,C=this._time;if(this._totalTime=_*p,_>this._cycle?w=!w:this._totalTime+=p,this._time=h,this._rawPrevTime=0===p?v-1e-4:v,this._cycle=_,this._locked=!0,h=w?0:p,this.render(h,t,0===p),t||this._gc||this.vars.onRepeat&&this._callback("onRepeat"),T&&(h=w?p+1e-4:-1e-4,this.render(h,!0,!1)),this._locked=!1,this._paused&&!b)return;this._time=C,this._totalTime=E,this._cycle=x,this._rawPrevTime=S}if(!(this._time!==h&&this._first||n||c))return void(m!==this._totalTime&&this._onUpdate&&(t||this._callback("onUpdate")));if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==m&&e>0&&(this._active=!0),0===m&&this.vars.onStart&&0!==this._totalTime&&(t||this._callback("onStart")),this._time>=h)for(r=this._first;r&&(u=r._next,!this._paused||b);)(r._active||r._startTime<=this._time&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(e-r._startTime)*r._timeScale,t,n):r.render((e-r._startTime)*r._timeScale,t,n)),r=u;else for(r=this._last;r&&(u=r._prev,!this._paused||b);)(r._active||h>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(e-r._startTime)*r._timeScale,t,n):r.render((e-r._startTime)*r._timeScale,t,n)),r=u;this._onUpdate&&(t||(s.length&&a(),this._callback("onUpdate"))),l&&(this._locked||this._gc||(g===this._startTime||y!==this._timeScale)&&(0===this._time||d>=this.totalDuration())&&(i&&(s.length&&a(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[l]&&this._callback(l)))},l.getActive=function(e,t,n){null==e&&(e=!0),null==t&&(t=!0),null==n&&(n=!1);var r,o,i=[],s=this.getChildren(e,t,n),a=0,u=s.length;for(r=0;u>r;r++)o=s[r],o.isActive()&&(i[a++]=o);return i},l.getLabelAfter=function(e){e||0!==e&&(e=this._time);var t,n=this.getLabelsArray(),r=n.length;for(t=0;r>t;t++)if(n[t].time>e)return n[t].name;return null},l.getLabelBefore=function(e){null==e&&(e=this._time);for(var t=this.getLabelsArray(),n=t.length;--n>-1;)if(e>t[n].time)return t[n].name;return null},l.getLabelsArray=function(){var e,t=[],n=0;for(e in this._labels)t[n++]={time:this._labels[e],name:e};return t.sort(function(e,t){return e.time-t.time}),t},l.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-e:e)+this._cycle*(this._duration+this._repeatDelay),t):this._time/this.duration()},l.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this._totalTime/this.totalDuration()},l.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(e.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},l.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),e>this._duration&&(e=this._duration),this._yoyo&&0!==(1&this._cycle)?e=this._duration-e+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(e+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(e,t)):this._time},l.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},l.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},l.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},l.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.getLabelBefore(this._time+1e-8)},r},!0),function(){var e=180/Math.PI,t=[],n=[],r=[],o={},i=c._gsDefine.globals,s=function(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r,this.da=r-e,this.ca=n-e,this.ba=t-e},a=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",u=function(e,t,n,r){var o={a:e},i={},s={},a={c:r},u=(e+t)/2,l=(t+n)/2,c=(n+r)/2,f=(u+l)/2,d=(l+c)/2,p=(d-f)/8;return o.b=u+(e-u)/4,i.b=f+p,o.c=i.a=(o.b+i.b)/2,i.c=s.a=(f+d)/2,s.b=d-p,a.b=c+(r-c)/4,s.c=a.a=(s.b+a.b)/2,[o,i,s,a]},l=function(e,o,i,s,a){var l,c,f,d,p,h,m,g,y,v,b,_,w,T=e.length-1,E=0,x=e[0].a;for(l=0;T>l;l++)p=e[E],c=p.a,f=p.d,d=e[E+1].d,a?(b=t[l],_=n[l],w=.25*(_+b)*o/(s?.5:r[l]||.5),h=f-(f-c)*(s?.5*o:0!==b?w/b:0),m=f+(d-f)*(s?.5*o:0!==_?w/_:0),g=f-(h+((m-h)*(3*b/(b+_)+.5)/4||0))):(h=f-.5*(f-c)*o,m=f+.5*(d-f)*o,g=f-(h+m)/2),h+=g,m+=g,p.c=y=h,p.b=0!==l?x:x=p.a+.6*(p.c-p.a),p.da=f-c,p.ca=y-c,p.ba=x-c,i?(v=u(c,x,y,f),e.splice(E,1,v[0],v[1],v[2],v[3]),E+=4):E++,x=m;p=e[E],p.b=x,p.c=x+.4*(p.d-x),p.da=p.d-p.a,p.ca=p.c-p.a,p.ba=x-p.a,i&&(v=u(p.a,x,p.c,p.d),e.splice(E,1,v[0],v[1],v[2],v[3]))},f=function(e,r,o,i){var a,u,l,c,f,d,p=[];if(i)for(e=[i].concat(e),u=e.length;--u>-1;)"string"==typeof(d=e[u][r])&&"="===d.charAt(1)&&(e[u][r]=i[r]+Number(d.charAt(0)+d.substr(2)));if(a=e.length-2,0>a)return p[0]=new s(e[0][r],0,0,e[-1>a?0:1][r]),p;for(u=0;a>u;u++)l=e[u][r],c=e[u+1][r],p[u]=new s(l,0,0,c),o&&(f=e[u+2][r],t[u]=(t[u]||0)+(c-l)*(c-l),n[u]=(n[u]||0)+(f-c)*(f-c));return p[u]=new s(e[u][r],0,0,e[u+1][r]),p},d=function(e,i,s,u,c,d){var p,h,m,g,y,v,b,_,w={},T=[],E=d||e[0];c="string"==typeof c?","+c+",":a,null==i&&(i=1);for(h in e[0])T.push(h);if(e.length>1){for(_=e[e.length-1],b=!0,p=T.length;--p>-1;)if(h=T[p],Math.abs(E[h]-_[h])>.05){b=!1;break}b&&(e=e.concat(),d&&e.unshift(d),e.push(e[1]),d=e[e.length-3])}for(t.length=n.length=r.length=0,p=T.length;--p>-1;)h=T[p],o[h]=-1!==c.indexOf(","+h+","),w[h]=f(e,h,o[h],d);for(p=t.length;--p>-1;)t[p]=Math.sqrt(t[p]),n[p]=Math.sqrt(n[p]);if(!u){for(p=T.length;--p>-1;)if(o[h])for(m=w[T[p]],v=m.length-1,g=0;v>g;g++)y=m[g+1].da/n[g]+m[g].da/t[g],r[g]=(r[g]||0)+y*y;for(p=r.length;--p>-1;)r[p]=Math.sqrt(r[p])}for(p=T.length,g=s?4:1;--p>-1;)h=T[p],m=w[h],l(m,i,s,u,o[h]),b&&(m.splice(0,g),m.splice(m.length-g,g));return w},p=function(e,t,n){t=t||"soft";var r,o,i,a,u,l,c,f,d,p,h,m={},g="cubic"===t?3:2,y="soft"===t,v=[];if(y&&n&&(e=[n].concat(e)),null==e||g+1>e.length)throw"invalid Bezier data";for(d in e[0])v.push(d);for(l=v.length;--l>-1;){for(d=v[l],m[d]=u=[],p=0,f=e.length,c=0;f>c;c++)r=null==n?e[c][d]:"string"==typeof(h=e[c][d])&&"="===h.charAt(1)?n[d]+Number(h.charAt(0)+h.substr(2)):Number(h),y&&c>1&&f-1>c&&(u[p++]=(r+u[p-2])/2),u[p++]=r;for(f=p-g+1,p=0,c=0;f>c;c+=g)r=u[c],o=u[c+1],i=u[c+2],a=2===g?0:u[c+3],u[p++]=h=3===g?new s(r,o,i,a):new s(r,(2*o+r)/3,(2*o+i)/3,i);u.length=p}return m},h=function(e,t,n){for(var r,o,i,s,a,u,l,c,f,d,p,h=1/n,m=e.length;--m>-1;)for(d=e[m],i=d.a,s=d.d-i,a=d.c-i,u=d.b-i,r=o=0,c=1;n>=c;c++)l=h*c,f=1-l,r=o-(o=(l*l*s+3*f*(l*a+f*u))*l),p=m*n+c-1,t[p]=(t[p]||0)+r*r},m=function(e,t){t=t>>0||6;var n,r,o,i,s=[],a=[],u=0,l=0,c=t-1,f=[],d=[];for(n in e)h(e[n],s,t);for(o=s.length,r=0;o>r;r++)u+=Math.sqrt(s[r]),i=r%t,d[i]=u,i===c&&(l+=u,i=r/t>>0,f[i]=d,a[i]=l,u=0,d=[]);return{length:l,lengths:a,segments:f}},g=c._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.4",API:2,global:!0,init:function(e,t,n){this._target=e,t instanceof Array&&(t={values:t}),this._func={},this._round={},this._props=[],this._timeRes=null==t.timeResolution?6:parseInt(t.timeResolution,10);var r,o,i,s,a,u=t.values||[],l={},c=u[0],f=t.autoRotate||n.vars.orientToBezier;this._autoRotate=f?f instanceof Array?f:[["x","y","rotation",f===!0?0:Number(f)||0]]:null;for(r in c)this._props.push(r);for(i=this._props.length;--i>-1;)r=this._props[i],this._overwriteProps.push(r),o=this._func[r]="function"==typeof e[r],l[r]=o?e[r.indexOf("set")||"function"!=typeof e["get"+r.substr(3)]?r:"get"+r.substr(3)]():parseFloat(e[r]),a||l[r]!==u[0][r]&&(a=l);if(this._beziers="cubic"!==t.type&&"quadratic"!==t.type&&"soft"!==t.type?d(u,isNaN(t.curviness)?1:t.curviness,!1,"thruBasic"===t.type,t.correlate,a):p(u,t.type,l),this._segCount=this._beziers[r].length,this._timeRes){var h=m(this._beziers,this._timeRes);this._length=h.length,this._lengths=h.lengths,this._segments=h.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(f=this._autoRotate)for(this._initialRotations=[],f[0]instanceof Array||(this._autoRotate=f=[f]),i=f.length;--i>-1;){for(s=0;3>s;s++)r=f[i][s],this._func[r]="function"==typeof e[r]?e[r.indexOf("set")||"function"!=typeof e["get"+r.substr(3)]?r:"get"+r.substr(3)]:!1;r=f[i][2],this._initialRotations[i]=this._func[r]?this._func[r].call(this._target):this._target[r]}return this._startRatio=n.vars.runBackwards?1:0,!0},set:function(t){var n,r,o,i,s,a,u,l,c,f,d=this._segCount,p=this._func,h=this._target,m=t!==this._startRatio;if(this._timeRes){if(c=this._lengths,f=this._curSeg,t*=this._length,o=this._li,t>this._l2&&d-1>o){for(l=d-1;l>o&&t>=(this._l2=c[++o]););this._l1=c[o-1],this._li=o,this._curSeg=f=this._segments[o],this._s2=f[this._s1=this._si=0]}else if(this._l1>t&&o>0){for(;o>0&&(this._l1=c[--o])>=t;);0===o&&this._l1>t?this._l1=0:o++,this._l2=c[o],this._li=o,this._curSeg=f=this._segments[o],this._s1=f[(this._si=f.length-1)-1]||0,this._s2=f[this._si]}if(n=o,t-=this._l1,o=this._si,t>this._s2&&f.length-1>o){for(l=f.length-1;l>o&&t>=(this._s2=f[++o]););this._s1=f[o-1],this._si=o}else if(this._s1>t&&o>0){for(;o>0&&(this._s1=f[--o])>=t;);0===o&&this._s1>t?this._s1=0:o++,this._s2=f[o],this._si=o}a=(o+(t-this._s1)/(this._s2-this._s1))*this._prec}else n=0>t?0:t>=1?d-1:d*t>>0,a=(t-n*(1/d))*d;for(r=1-a,o=this._props.length;--o>-1;)i=this._props[o],s=this._beziers[i][n],u=(a*a*s.da+3*r*(a*s.ca+r*s.ba))*a+s.a,this._round[i]&&(u=Math.round(u)),p[i]?h[i](u):h[i]=u;if(this._autoRotate){var g,y,v,b,_,w,T,E=this._autoRotate;for(o=E.length;--o>-1;)i=E[o][2],w=E[o][3]||0,T=E[o][4]===!0?1:e,s=this._beziers[E[o][0]],g=this._beziers[E[o][1]],s&&g&&(s=s[n],g=g[n],y=s.a+(s.b-s.a)*a,b=s.b+(s.c-s.b)*a,y+=(b-y)*a,b+=(s.c+(s.d-s.c)*a-b)*a,v=g.a+(g.b-g.a)*a,_=g.b+(g.c-g.b)*a,v+=(_-v)*a,_+=(g.c+(g.d-g.c)*a-_)*a,u=m?Math.atan2(_-v,b-y)*T+w:this._initialRotations[o],p[i]?h[i](u):h[i]=u)}}}),y=g.prototype;g.bezierThrough=d,g.cubicToQuadratic=u,g._autoCSS=!0,g.quadraticToCubic=function(e,t,n){return new s(e,(2*t+e)/3,(2*t+n)/3,n)},g._cssRegister=function(){var e=i.CSSPlugin;if(e){var t=e._internals,n=t._parseToProxy,r=t._setPluginRatio,o=t.CSSPropTween;t._registerComplexSpecialProp("bezier",{parser:function(e,t,i,s,a,u){t instanceof Array&&(t={values:t}),u=new g;var l,c,f,d=t.values,p=d.length-1,h=[],m={};if(0>p)return a;for(l=0;p>=l;l++)f=n(e,d[l],s,a,u,p!==l),h[l]=f.end;for(c in t)m[c]=t[c];return m.values=h,a=new o(e,"bezier",0,0,f.pt,2),a.data=f,a.plugin=u,a.setRatio=r,0===m.autoRotate&&(m.autoRotate=!0),!m.autoRotate||m.autoRotate instanceof Array||(l=m.autoRotate===!0?0:Number(m.autoRotate),m.autoRotate=null!=f.end.left?[["left","top","rotation",l,!1]]:null!=f.end.x?[["x","y","rotation",l,!1]]:!1),m.autoRotate&&(s._transform||s._enableTransforms(!1),f.autoRotate=s._target._gsTransform),u._onInitTween(f.proxy,m,s._tween),a}})}},y._roundProps=function(e,t){for(var n=this._overwriteProps,r=n.length;--r>-1;)(e[n[r]]||e.bezier||e.bezierThrough)&&(this._round[n[r]]=t)},y._kill=function(e){var t,n,r=this._props;for(t in this._beziers)if(t in e)for(delete this._beziers[t],delete this._func[t],n=r.length;--n>-1;)r[n]===t&&r.splice(n,1);return this._super._kill.call(this,e)}}(),c._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(e,t){var n,r,o,i,s=function(){e.call(this,"css"),this._overwriteProps.length=0,this.setRatio=s.prototype.setRatio},a=c._gsDefine.globals,u={},l=s.prototype=new e("css");l.constructor=s,s.version="1.17.0",s.API=2,s.defaultTransformPerspective=0,s.defaultSkewType="compensated",s.defaultSmoothOrigin=!0,l="px",s.suffixMap={top:l,right:l,bottom:l,left:l,width:l,height:l,fontSize:l,padding:l,margin:l,perspective:l,lineHeight:""};var f,d,p,h,m,g,y=/(?:\d|\-\d|\.\d|\-\.\d)+/g,v=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,b=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,_=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,w=/(?:\d|\-|\+|=|#|\.)*/g,T=/opacity *= *([^)]*)/i,E=/opacity:([^;]*)/i,x=/alpha\(opacity *=.+?\)/i,S=/^(rgb|hsl)/,C=/([A-Z])/g,P=/-([a-z])/gi,M=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,R=function(e,t){return t.toUpperCase()},D=/(?:Left|Right|Width)/i,O=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,N=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,A=/,(?=[^\)]*(?:\(|$))/gi,I=Math.PI/180,B=180/Math.PI,k={},L=document,j=function(e){return L.createElementNS?L.createElementNS("http://www.w3.org/1999/xhtml",e):L.createElement(e)},G=j("div"),H=j("img"),V=s._internals={_specialProps:u},U=navigator.userAgent,F=function(){var e=U.indexOf("Android"),t=j("a");return p=-1!==U.indexOf("Safari")&&-1===U.indexOf("Chrome")&&(-1===e||Number(U.substr(e+8,1))>3),m=p&&6>Number(U.substr(U.indexOf("Version/")+8,1)),h=-1!==U.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(U)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(U))&&(g=parseFloat(RegExp.$1)),t?(t.style.cssText="top:1px;opacity:.55;",/^0.55/.test(t.style.opacity)):!1}(),W=function(e){return T.test("string"==typeof e?e:(e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100:1},q=function(e){window.console&&console.log(e)},X="",z="",Y=function(e,t){t=t||G;var n,r,o=t.style;if(void 0!==o[e])return e;for(e=e.charAt(0).toUpperCase()+e.substr(1),n=["O","Moz","ms","Ms","Webkit"],r=5;--r>-1&&void 0===o[n[r]+e];);return r>=0?(z=3===r?"ms":n[r],X="-"+z.toLowerCase()+"-",z+e):null},K=L.defaultView?L.defaultView.getComputedStyle:function(){},Q=s.getStyle=function(e,t,n,r,o){var i;return F||"opacity"!==t?(!r&&e.style[t]?i=e.style[t]:(n=n||K(e))?i=n[t]||n.getPropertyValue(t)||n.getPropertyValue(t.replace(C,"-$1").toLowerCase()):e.currentStyle&&(i=e.currentStyle[t]),null==o||i&&"none"!==i&&"auto"!==i&&"auto auto"!==i?i:o):W(e)},$=V.convertToPixels=function(e,n,r,o,i){if("px"===o||!o)return r;if("auto"===o||!r)return 0;var a,u,l,c=D.test(n),f=e,d=G.style,p=0>r;if(p&&(r=-r),"%"===o&&-1!==n.indexOf("border"))a=r/100*(c?e.clientWidth:e.clientHeight);else{if(d.cssText="border:0 solid red;position:"+Q(e,"position")+";line-height:0;","%"!==o&&f.appendChild)d[c?"borderLeftWidth":"borderTopWidth"]=r+o;else{if(f=e.parentNode||L.body,u=f._gsCache,l=t.ticker.frame,u&&c&&u.time===l)return u.width*r/100;d[c?"width":"height"]=r+o}f.appendChild(G),a=parseFloat(G[c?"offsetWidth":"offsetHeight"]),f.removeChild(G),c&&"%"===o&&s.cacheWidths!==!1&&(u=f._gsCache=f._gsCache||{},u.time=l,u.width=100*(a/r)),0!==a||i||(a=$(e,n,r,o,!0))}return p?-a:a},Z=V.calculateOffset=function(e,t,n){if("absolute"!==Q(e,"position",n))return 0;var r="left"===t?"Left":"Top",o=Q(e,"margin"+r,n);return e["offset"+r]-($(e,t,parseFloat(o),o.replace(w,""))||0)},J=function(e,t){var n,r,o,i={};if(t=t||K(e,null))if(n=t.length)for(;--n>-1;)o=t[n],(-1===o.indexOf("-transform")||Se===o)&&(i[o.replace(P,R)]=t.getPropertyValue(o));else for(n in t)(-1===n.indexOf("Transform")||xe===n)&&(i[n]=t[n]);else if(t=e.currentStyle||e.style)for(n in t)"string"==typeof n&&void 0===i[n]&&(i[n.replace(P,R)]=t[n]);return F||(i.opacity=W(e)),r=Le(e,t,!1),i.rotation=r.rotation,i.skewX=r.skewX,i.scaleX=r.scaleX,i.scaleY=r.scaleY,i.x=r.x,i.y=r.y,Pe&&(i.z=r.z,i.rotationX=r.rotationX,i.rotationY=r.rotationY,i.scaleZ=r.scaleZ),i.filters&&delete i.filters,i},ee=function(e,t,n,r,o){var i,s,a,u={},l=e.style;for(s in n)"cssText"!==s&&"length"!==s&&isNaN(s)&&(t[s]!==(i=n[s])||o&&o[s])&&-1===s.indexOf("Origin")&&("number"==typeof i||"string"==typeof i)&&(u[s]="auto"!==i||"left"!==s&&"top"!==s?""!==i&&"auto"!==i&&"none"!==i||"string"!=typeof t[s]||""===t[s].replace(_,"")?i:0:Z(e,s),void 0!==l[s]&&(a=new he(l,s,l[s],a)));if(r)for(s in r)"className"!==s&&(u[s]=r[s]);return{difs:u,firstMPT:a}},te={width:["Left","Right"],height:["Top","Bottom"]},ne=["marginLeft","marginRight","marginTop","marginBottom"],re=function(e,t,n){var r=parseFloat("width"===t?e.offsetWidth:e.offsetHeight),o=te[t],i=o.length;for(n=n||K(e,null);--i>-1;)r-=parseFloat(Q(e,"padding"+o[i],n,!0))||0,r-=parseFloat(Q(e,"border"+o[i]+"Width",n,!0))||0;return r},oe=function(e,t){(null==e||""===e||"auto"===e||"auto auto"===e)&&(e="0 0");var n=e.split(" "),r=-1!==e.indexOf("left")?"0%":-1!==e.indexOf("right")?"100%":n[0],o=-1!==e.indexOf("top")?"0%":-1!==e.indexOf("bottom")?"100%":n[1];return null==o?o="center"===r?"50%":"0":"center"===o&&(o="50%"),("center"===r||isNaN(parseFloat(r))&&-1===(r+"").indexOf("="))&&(r="50%"),e=r+" "+o+(n.length>2?" "+n[2]:""),t&&(t.oxp=-1!==r.indexOf("%"),t.oyp=-1!==o.indexOf("%"),t.oxr="="===r.charAt(1),t.oyr="="===o.charAt(1),t.ox=parseFloat(r.replace(_,"")),t.oy=parseFloat(o.replace(_,"")),t.v=e),t||e},ie=function(e,t){return"string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2)):parseFloat(e)-parseFloat(t)},se=function(e,t){return null==e?t:"string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2))+t:parseFloat(e)},ae=function(e,t,n,r){var o,i,s,a,u,l=1e-6;return null==e?a=t:"number"==typeof e?a=e:(o=360,i=e.split("_"),u="="===e.charAt(1),s=(u?parseInt(e.charAt(0)+"1",10)*parseFloat(i[0].substr(2)):parseFloat(i[0]))*(-1===e.indexOf("rad")?1:B)-(u?0:t),i.length&&(r&&(r[n]=t+s),-1!==e.indexOf("short")&&(s%=o,s!==s%(o/2)&&(s=0>s?s+o:s-o)),-1!==e.indexOf("_cw")&&0>s?s=(s+9999999999*o)%o-(0|s/o)*o:-1!==e.indexOf("ccw")&&s>0&&(s=(s-9999999999*o)%o-(0|s/o)*o)),a=t+s),l>a&&a>-l&&(a=0),a},ue={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},le=function(e,t,n){return e=0>e?e+1:e>1?e-1:e,0|255*(1>6*e?t+6*(n-t)*e:.5>e?n:2>3*e?t+6*(n-t)*(2/3-e):t)+.5},ce=s.parseColor=function(e){var t,n,r,o,i,s;return e&&""!==e?"number"==typeof e?[e>>16,255&e>>8,255&e]:(","===e.charAt(e.length-1)&&(e=e.substr(0,e.length-1)),ue[e]?ue[e]:"#"===e.charAt(0)?(4===e.length&&(t=e.charAt(1),n=e.charAt(2),r=e.charAt(3),e="#"+t+t+n+n+r+r),e=parseInt(e.substr(1),16),[e>>16,255&e>>8,255&e]):"hsl"===e.substr(0,3)?(e=e.match(y),o=Number(e[0])%360/360,i=Number(e[1])/100,s=Number(e[2])/100,n=.5>=s?s*(i+1):s+i-s*i,t=2*s-n,e.length>3&&(e[3]=Number(e[3])),e[0]=le(o+1/3,t,n),e[1]=le(o,t,n),e[2]=le(o-1/3,t,n),e):(e=e.match(y)||ue.transparent,e[0]=Number(e[0]),e[1]=Number(e[1]),e[2]=Number(e[2]),e.length>3&&(e[3]=Number(e[3])),e)):ue.black},fe="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(l in ue)fe+="|"+l+"\\b";fe=RegExp(fe+")","gi");var de=function(e,t,n,r){if(null==e)return function(e){return e};var o,i=t?(e.match(fe)||[""])[0]:"",s=e.split(i).join("").match(b)||[],a=e.substr(0,e.indexOf(s[0])),u=")"===e.charAt(e.length-1)?")":"",l=-1!==e.indexOf(" ")?" ":",",c=s.length,f=c>0?s[0].replace(y,""):"";return c?o=t?function(e){var t,d,p,h;if("number"==typeof e)e+=f;else if(r&&A.test(e)){for(h=e.replace(A,"|").split("|"),p=0;h.length>p;p++)h[p]=o(h[p]);return h.join(",")}if(t=(e.match(fe)||[i])[0],d=e.split(t).join("").match(b)||[],p=d.length,c>p--)for(;c>++p;)d[p]=n?d[0|(p-1)/2]:s[p];return a+d.join(l)+l+t+u+(-1!==e.indexOf("inset")?" inset":"")}:function(e){var t,i,d;if("number"==typeof e)e+=f;else if(r&&A.test(e)){for(i=e.replace(A,"|").split("|"),d=0;i.length>d;d++)i[d]=o(i[d]);return i.join(",")}if(t=e.match(b)||[],d=t.length,c>d--)for(;c>++d;)t[d]=n?t[0|(d-1)/2]:s[d];return a+t.join(l)+u}:function(e){return e}},pe=function(e){return e=e.split(","),function(t,n,r,o,i,s,a){var u,l=(n+"").split(" ");for(a={},u=0;4>u;u++)a[e[u]]=l[u]=l[u]||l[(u-1)/2>>0];return o.parse(t,a,i,s)}},he=(V._setPluginRatio=function(e){this.plugin.setRatio(e);for(var t,n,r,o,i=this.data,s=i.proxy,a=i.firstMPT,u=1e-6;a;)t=s[a.v],a.r?t=Math.round(t):u>t&&t>-u&&(t=0),a.t[a.p]=t,a=a._next;if(i.autoRotate&&(i.autoRotate.rotation=s.rotation),1===e)for(a=i.firstMPT;a;){if(n=a.t,n.type){if(1===n.type){for(o=n.xs0+n.s+n.xs1,r=1;n.l>r;r++)o+=n["xn"+r]+n["xs"+(r+1)];n.e=o}}else n.e=n.s+n.xs0;a=a._next}},function(e,t,n,r,o){this.t=e,this.p=t,this.v=n,this.r=o,r&&(r._prev=this,this._next=r)}),me=(V._parseToProxy=function(e,t,n,r,o,i){var s,a,u,l,c,f=r,d={},p={},h=n._transform,m=k;for(n._transform=null,k=t,r=c=n.parse(e,t,r,o),k=m,i&&(n._transform=h,f&&(f._prev=null,f._prev&&(f._prev._next=null)));r&&r!==f;){if(1>=r.type&&(a=r.p,p[a]=r.s+r.c,d[a]=r.s,i||(l=new he(r,"s",a,l,r.r),r.c=0),1===r.type))for(s=r.l;--s>0;)u="xn"+s,a=r.p+"_"+u,p[a]=r.data[u],d[a]=r[u],i||(l=new he(r,u,a,l,r.rxp[u]));r=r._next}return{proxy:d,end:p,firstMPT:l,pt:c}},V.CSSPropTween=function(e,t,r,o,s,a,u,l,c,f,d){this.t=e,this.p=t,this.s=r,this.c=o,this.n=u||t,e instanceof me||i.push(this.n),this.r=l,this.type=a||0,c&&(this.pr=c,n=!0),this.b=void 0===f?r:f,this.e=void 0===d?r+o:d,s&&(this._next=s,s._prev=this)}),ge=function(e,t,n,r,o,i){var s=new me(e,t,n,r-n,o,-1,i);return s.b=n,s.e=s.xs0=r,s},ye=s.parseComplex=function(e,t,n,r,o,i,s,a,u,l){n=n||i||"",s=new me(e,t,0,0,s,l?2:1,null,!1,a,n,r),r+="";var c,d,p,h,m,g,b,_,w,T,E,x,C=n.split(", ").join(",").split(" "),P=r.split(", ").join(",").split(" "),M=C.length,R=f!==!1;for((-1!==r.indexOf(",")||-1!==n.indexOf(","))&&(C=C.join(" ").replace(A,", ").split(" "),P=P.join(" ").replace(A,", ").split(" "),M=C.length),M!==P.length&&(C=(i||"").split(" "),M=C.length),s.plugin=u,s.setRatio=l,c=0;M>c;c++)if(h=C[c],m=P[c],_=parseFloat(h),_||0===_)s.appendXtra("",_,ie(m,_),m.replace(v,""),R&&-1!==m.indexOf("px"),!0);else if(o&&("#"===h.charAt(0)||ue[h]||S.test(h)))x=","===m.charAt(m.length-1)?"),":")",h=ce(h),m=ce(m),w=h.length+m.length>6,w&&!F&&0===m[3]?(s["xs"+s.l]+=s.l?" transparent":"transparent",s.e=s.e.split(P[c]).join("transparent")):(F||(w=!1),s.appendXtra(w?"rgba(":"rgb(",h[0],m[0]-h[0],",",!0,!0).appendXtra("",h[1],m[1]-h[1],",",!0).appendXtra("",h[2],m[2]-h[2],w?",":x,!0),w&&(h=4>h.length?1:h[3],s.appendXtra("",h,(4>m.length?1:m[3])-h,x,!1)));else if(g=h.match(y)){if(b=m.match(v),!b||b.length!==g.length)return s;for(p=0,d=0;g.length>d;d++)E=g[d],T=h.indexOf(E,p),s.appendXtra(h.substr(p,T-p),Number(E),ie(b[d],E),"",R&&"px"===h.substr(T+E.length,2),0===d),p=T+E.length;s["xs"+s.l]+=h.substr(p)}else s["xs"+s.l]+=s.l?" "+h:h;if(-1!==r.indexOf("=")&&s.data){for(x=s.xs0+s.data.s,c=1;s.l>c;c++)x+=s["xs"+c]+s.data["xn"+c];s.e=x+s["xs"+c]}return s.l||(s.type=-1,s.xs0=s.e),s.xfirst||s},ve=9;for(l=me.prototype,l.l=l.pr=0;--ve>0;)l["xn"+ve]=0,l["xs"+ve]="";l.xs0="",l._next=l._prev=l.xfirst=l.data=l.plugin=l.setRatio=l.rxp=null,l.appendXtra=function(e,t,n,r,o,i){var s=this,a=s.l;return s["xs"+a]+=i&&a?" "+e:e||"",n||0===a||s.plugin?(s.l++,s.type=s.setRatio?2:1,s["xs"+s.l]=r||"",a>0?(s.data["xn"+a]=t+n,s.rxp["xn"+a]=o,s["xn"+a]=t,s.plugin||(s.xfirst=new me(s,"xn"+a,t,n,s.xfirst||s,0,s.n,o,s.pr),s.xfirst.xs0=0),s):(s.data={s:t+n},s.rxp={},s.s=t,s.c=n,s.r=o,s)):(s["xs"+a]+=t+(r||""),s)};var be=function(e,t){t=t||{},this.p=t.prefix?Y(e)||e:e,u[e]=u[this.p]=this,this.format=t.formatter||de(t.defaultValue,t.color,t.collapsible,t.multi),t.parser&&(this.parse=t.parser),this.clrs=t.color,this.multi=t.multi,this.keyword=t.keyword,this.dflt=t.defaultValue,this.pr=t.priority||0},_e=V._registerComplexSpecialProp=function(e,t,n){"object"!=typeof t&&(t={parser:n});var r,o,i=e.split(","),s=t.defaultValue;for(n=n||[s],r=0;i.length>r;r++)t.prefix=0===r&&t.prefix,t.defaultValue=n[r]||s,o=new be(i[r],t)},we=function(e){if(!u[e]){var t=e.charAt(0).toUpperCase()+e.substr(1)+"Plugin";_e(e,{parser:function(e,n,r,o,i,s,l){var c=a.com.greensock.plugins[t];return c?(c._cssRegister(),u[r].parse(e,n,r,o,i,s,l)):(q("Error: "+t+" js file not loaded."),i)}})}};l=be.prototype,l.parseComplex=function(e,t,n,r,o,i){var s,a,u,l,c,f,d=this.keyword;if(this.multi&&(A.test(n)||A.test(t)?(a=t.replace(A,"|").split("|"),u=n.replace(A,"|").split("|")):d&&(a=[t],u=[n])),u){for(l=u.length>a.length?u.length:a.length,s=0;l>s;s++)t=a[s]=a[s]||this.dflt,n=u[s]=u[s]||this.dflt,d&&(c=t.indexOf(d),f=n.indexOf(d),c!==f&&(-1===f?a[s]=a[s].split(d).join(""):-1===c&&(a[s]+=" "+d)));t=a.join(", "),n=u.join(", ")}return ye(e,this.p,t,n,this.clrs,this.dflt,r,this.pr,o,i)},l.parse=function(e,t,n,r,i,s){return this.parseComplex(e.style,this.format(Q(e,this.p,o,!1,this.dflt)),this.format(t),i,s)},s.registerSpecialProp=function(e,t,n){_e(e,{parser:function(e,r,o,i,s,a){var u=new me(e,o,0,0,s,2,o,!1,n);return u.plugin=a,u.setRatio=t(e,r,i._tween,o),u},priority:n})},s.useSVGTransformAttr=p||h;var Te,Ee="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),xe=Y("transform"),Se=X+"transform",Ce=Y("transformOrigin"),Pe=null!==Y("perspective"),Me=V.Transform=function(){this.perspective=parseFloat(s.defaultTransformPerspective)||0,this.force3D=s.defaultForce3D!==!1&&Pe?s.defaultForce3D||"auto":!1},Re=window.SVGElement,De=function(e,t,n){var r,o=L.createElementNS("http://www.w3.org/2000/svg",e),i=/([a-z])([A-Z])/g;for(r in n)o.setAttributeNS(null,r.replace(i,"$1-$2").toLowerCase(),n[r]);return t.appendChild(o),o},Oe=L.documentElement,Ne=function(){var e,t,n,r=g||/Android/i.test(U)&&!window.chrome;return L.createElementNS&&!r&&(e=De("svg",Oe),t=De("rect",e,{width:100,height:50,x:100}),n=t.getBoundingClientRect().width,t.style[Ce]="50% 50%",t.style[xe]="scaleX(0.5)",r=n===t.getBoundingClientRect().width&&!(h&&Pe),Oe.removeChild(e)),r}(),Ae=function(e,t,n,r,o){var i,a,u,l,c,f,d,p,h,m,g,y,v,b,_=e._gsTransform,w=ke(e,!0);_&&(v=_.xOrigin,b=_.yOrigin),(!r||2>(i=r.split(" ")).length)&&(d=e.getBBox(),t=oe(t).split(" "),i=[(-1!==t[0].indexOf("%")?parseFloat(t[0])/100*d.width:parseFloat(t[0]))+d.x,(-1!==t[1].indexOf("%")?parseFloat(t[1])/100*d.height:parseFloat(t[1]))+d.y]),n.xOrigin=l=parseFloat(i[0]),n.yOrigin=c=parseFloat(i[1]),r&&w!==Be&&(f=w[0],d=w[1],p=w[2],h=w[3],m=w[4],g=w[5],y=f*h-d*p,a=l*(h/y)+c*(-p/y)+(p*g-h*m)/y,u=l*(-d/y)+c*(f/y)-(f*g-d*m)/y,l=n.xOrigin=i[0]=a,c=n.yOrigin=i[1]=u),_&&(o||o!==!1&&s.defaultSmoothOrigin!==!1?(a=l-v,u=c-b,_.xOffset+=a*w[0]+u*w[2]-a,_.yOffset+=a*w[1]+u*w[3]-u):_.xOffset=_.yOffset=0),e.setAttribute("data-svg-origin",i.join(" "))},Ie=function(e){return!!(Re&&"function"==typeof e.getBBox&&e.getCTM&&(!e.parentNode||e.parentNode.getBBox&&e.parentNode.getCTM))},Be=[1,0,0,1,0,0],ke=function(e,t){var n,r,o,i,s,a=e._gsTransform||new Me,u=1e5;if(xe?r=Q(e,Se,null,!0):e.currentStyle&&(r=e.currentStyle.filter.match(O),r=r&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),a.x||0,a.y||0].join(","):""),n=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,(a.svg||e.getBBox&&Ie(e))&&(n&&-1!==(e.style[xe]+"").indexOf("matrix")&&(r=e.style[xe],n=0),o=e.getAttribute("transform"),n&&o&&(-1!==o.indexOf("matrix")?(r=o,n=0):-1!==o.indexOf("translate")&&(r="matrix(1,0,0,1,"+o.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",n=0))),n)return Be;for(o=(r||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[],ve=o.length;--ve>-1;)i=Number(o[ve]),o[ve]=(s=i-(i|=0))?(0|s*u+(0>s?-.5:.5))/u+i:i;return t&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o},Le=V.getTransform=function(e,n,r,i){if(e._gsTransform&&r&&!i)return e._gsTransform;var a,u,l,c,f,d,p=r?e._gsTransform||new Me:new Me,h=0>p.scaleX,m=2e-5,g=1e5,y=Pe?parseFloat(Q(e,Ce,n,!1,"0 0 0").split(" ")[2])||p.zOrigin||0:0,v=parseFloat(s.defaultTransformPerspective)||0;if(p.svg=!(!e.getBBox||!Ie(e)),p.svg&&(Ae(e,Q(e,Ce,o,!1,"50% 50%")+"",p,e.getAttribute("data-svg-origin")),Te=s.useSVGTransformAttr||Ne),a=ke(e),a!==Be){if(16===a.length){var b,_,w,T,E,x=a[0],S=a[1],C=a[2],P=a[3],M=a[4],R=a[5],D=a[6],O=a[7],N=a[8],A=a[9],I=a[10],k=a[12],L=a[13],j=a[14],G=a[11],H=Math.atan2(D,I);p.zOrigin&&(j=-p.zOrigin,k=N*j-a[12],L=A*j-a[13],j=I*j+p.zOrigin-a[14]),p.rotationX=H*B,H&&(T=Math.cos(-H),E=Math.sin(-H), b=M*T+N*E,_=R*T+A*E,w=D*T+I*E,N=M*-E+N*T,A=R*-E+A*T,I=D*-E+I*T,G=O*-E+G*T,M=b,R=_,D=w),H=Math.atan2(N,I),p.rotationY=H*B,H&&(T=Math.cos(-H),E=Math.sin(-H),b=x*T-N*E,_=S*T-A*E,w=C*T-I*E,A=S*E+A*T,I=C*E+I*T,G=P*E+G*T,x=b,S=_,C=w),H=Math.atan2(S,x),p.rotation=H*B,H&&(T=Math.cos(-H),E=Math.sin(-H),x=x*T+M*E,_=S*T+R*E,R=S*-E+R*T,D=C*-E+D*T,S=_),p.rotationX&&Math.abs(p.rotationX)+Math.abs(p.rotation)>359.9&&(p.rotationX=p.rotation=0,p.rotationY+=180),p.scaleX=(0|Math.sqrt(x*x+S*S)*g+.5)/g,p.scaleY=(0|Math.sqrt(R*R+A*A)*g+.5)/g,p.scaleZ=(0|Math.sqrt(D*D+I*I)*g+.5)/g,p.skewX=0,p.perspective=G?1/(0>G?-G:G):0,p.x=k,p.y=L,p.z=j,p.svg&&(p.x-=p.xOrigin-(p.xOrigin*x-p.yOrigin*M),p.y-=p.yOrigin-(p.yOrigin*S-p.xOrigin*R))}else if(!(Pe&&!i&&a.length&&p.x===a[4]&&p.y===a[5]&&(p.rotationX||p.rotationY)||void 0!==p.x&&"none"===Q(e,"display",n))){var V=a.length>=6,U=V?a[0]:1,F=a[1]||0,W=a[2]||0,q=V?a[3]:1;p.x=a[4]||0,p.y=a[5]||0,l=Math.sqrt(U*U+F*F),c=Math.sqrt(q*q+W*W),f=U||F?Math.atan2(F,U)*B:p.rotation||0,d=W||q?Math.atan2(W,q)*B+f:p.skewX||0,Math.abs(d)>90&&270>Math.abs(d)&&(h?(l*=-1,d+=0>=f?180:-180,f+=0>=f?180:-180):(c*=-1,d+=0>=d?180:-180)),p.scaleX=l,p.scaleY=c,p.rotation=f,p.skewX=d,Pe&&(p.rotationX=p.rotationY=p.z=0,p.perspective=v,p.scaleZ=1),p.svg&&(p.x-=p.xOrigin-(p.xOrigin*U+p.yOrigin*W),p.y-=p.yOrigin-(p.xOrigin*F+p.yOrigin*q))}p.zOrigin=y;for(u in p)m>p[u]&&p[u]>-m&&(p[u]=0)}return r&&(e._gsTransform=p,p.svg&&(Te&&e.style[xe]?t.delayedCall(.001,function(){Ve(e.style,xe)}):!Te&&e.getAttribute("transform")&&t.delayedCall(.001,function(){e.removeAttribute("transform")}))),p},je=function(e){var t,n,r=this.data,o=-r.rotation*I,i=o+r.skewX*I,s=1e5,a=(0|Math.cos(o)*r.scaleX*s)/s,u=(0|Math.sin(o)*r.scaleX*s)/s,l=(0|Math.sin(i)*-r.scaleY*s)/s,c=(0|Math.cos(i)*r.scaleY*s)/s,f=this.t.style,d=this.t.currentStyle;if(d){n=u,u=-l,l=-n,t=d.filter,f.filter="";var p,h,m=this.t.offsetWidth,y=this.t.offsetHeight,v="absolute"!==d.position,b="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+u+", M21="+l+", M22="+c,_=r.x+m*r.xPercent/100,E=r.y+y*r.yPercent/100;if(null!=r.ox&&(p=(r.oxp?.01*m*r.ox:r.ox)-m/2,h=(r.oyp?.01*y*r.oy:r.oy)-y/2,_+=p-(p*a+h*u),E+=h-(p*l+h*c)),v?(p=m/2,h=y/2,b+=", Dx="+(p-(p*a+h*u)+_)+", Dy="+(h-(p*l+h*c)+E)+")"):b+=", sizingMethod='auto expand')",f.filter=-1!==t.indexOf("DXImageTransform.Microsoft.Matrix(")?t.replace(N,b):b+" "+t,(0===e||1===e)&&1===a&&0===u&&0===l&&1===c&&(v&&-1===b.indexOf("Dx=0, Dy=0")||T.test(t)&&100!==parseFloat(RegExp.$1)||-1===t.indexOf(t.indexOf("Alpha"))&&f.removeAttribute("filter")),!v){var x,S,C,P=8>g?1:-1;for(p=r.ieOffsetX||0,h=r.ieOffsetY||0,r.ieOffsetX=Math.round((m-((0>a?-a:a)*m+(0>u?-u:u)*y))/2+_),r.ieOffsetY=Math.round((y-((0>c?-c:c)*y+(0>l?-l:l)*m))/2+E),ve=0;4>ve;ve++)S=ne[ve],x=d[S],n=-1!==x.indexOf("px")?parseFloat(x):$(this.t,S,parseFloat(x),x.replace(w,""))||0,C=n!==r[S]?2>ve?-r.ieOffsetX:-r.ieOffsetY:2>ve?p-r.ieOffsetX:h-r.ieOffsetY,f[S]=(r[S]=Math.round(n-C*(0===ve||2===ve?1:P)))+"px"}}},Ge=V.set3DTransformRatio=V.setTransformRatio=function(e){var t,n,r,o,i,s,a,u,l,c,f,d,p,m,g,y,v,b,_,w,T,E,x,S=this.data,C=this.t.style,P=S.rotation,M=S.rotationX,R=S.rotationY,D=S.scaleX,O=S.scaleY,N=S.scaleZ,A=S.x,B=S.y,k=S.z,L=S.svg,j=S.perspective,G=S.force3D;if(!((1!==e&&0!==e||"auto"!==G||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&G||k||j||R||M)||Te&&L||!Pe)return void(P||S.skewX||L?(P*=I,E=S.skewX*I,x=1e5,t=Math.cos(P)*D,o=Math.sin(P)*D,n=Math.sin(P-E)*-O,i=Math.cos(P-E)*O,E&&"simple"===S.skewType&&(v=Math.tan(E),v=Math.sqrt(1+v*v),n*=v,i*=v,S.skewY&&(t*=v,o*=v)),L&&(A+=S.xOrigin-(S.xOrigin*t+S.yOrigin*n)+S.xOffset,B+=S.yOrigin-(S.xOrigin*o+S.yOrigin*i)+S.yOffset,Te&&(S.xPercent||S.yPercent)&&(m=this.t.getBBox(),A+=.01*S.xPercent*m.width,B+=.01*S.yPercent*m.height),m=1e-6,m>A&&A>-m&&(A=0),m>B&&B>-m&&(B=0)),_=(0|t*x)/x+","+(0|o*x)/x+","+(0|n*x)/x+","+(0|i*x)/x+","+A+","+B+")",L&&Te?this.t.setAttribute("transform","matrix("+_):C[xe]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+_):C[xe]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+D+",0,0,"+O+","+A+","+B+")");if(h&&(m=1e-4,m>D&&D>-m&&(D=N=2e-5),m>O&&O>-m&&(O=N=2e-5),!j||S.z||S.rotationX||S.rotationY||(j=0)),P||S.skewX)P*=I,g=t=Math.cos(P),y=o=Math.sin(P),S.skewX&&(P-=S.skewX*I,g=Math.cos(P),y=Math.sin(P),"simple"===S.skewType&&(v=Math.tan(S.skewX*I),v=Math.sqrt(1+v*v),g*=v,y*=v,S.skewY&&(t*=v,o*=v))),n=-y,i=g;else{if(!(R||M||1!==N||j||L))return void(C[xe]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) translate3d(":"translate3d(")+A+"px,"+B+"px,"+k+"px)"+(1!==D||1!==O?" scale("+D+","+O+")":""));t=i=1,n=o=0}l=1,r=s=a=u=c=f=0,d=j?-1/j:0,p=S.zOrigin,m=1e-6,w=",",T="0",P=R*I,P&&(g=Math.cos(P),y=Math.sin(P),a=-y,c=d*-y,r=t*y,s=o*y,l=g,d*=g,t*=g,o*=g),P=M*I,P&&(g=Math.cos(P),y=Math.sin(P),v=n*g+r*y,b=i*g+s*y,u=l*y,f=d*y,r=n*-y+r*g,s=i*-y+s*g,l*=g,d*=g,n=v,i=b),1!==N&&(r*=N,s*=N,l*=N,d*=N),1!==O&&(n*=O,i*=O,u*=O,f*=O),1!==D&&(t*=D,o*=D,a*=D,c*=D),(p||L)&&(p&&(A+=r*-p,B+=s*-p,k+=l*-p+p),L&&(A+=S.xOrigin-(S.xOrigin*t+S.yOrigin*n)+S.xOffset,B+=S.yOrigin-(S.xOrigin*o+S.yOrigin*i)+S.yOffset),m>A&&A>-m&&(A=T),m>B&&B>-m&&(B=T),m>k&&k>-m&&(k=0)),_=S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix3d(":"matrix3d(",_+=(m>t&&t>-m?T:t)+w+(m>o&&o>-m?T:o)+w+(m>a&&a>-m?T:a),_+=w+(m>c&&c>-m?T:c)+w+(m>n&&n>-m?T:n)+w+(m>i&&i>-m?T:i),M||R?(_+=w+(m>u&&u>-m?T:u)+w+(m>f&&f>-m?T:f)+w+(m>r&&r>-m?T:r),_+=w+(m>s&&s>-m?T:s)+w+(m>l&&l>-m?T:l)+w+(m>d&&d>-m?T:d)+w):_+=",0,0,0,0,1,0,",_+=A+w+B+w+k+w+(j?1+-k/j:1)+")",C[xe]=_};l=Me.prototype,l.x=l.y=l.z=l.skewX=l.skewY=l.rotation=l.rotationX=l.rotationY=l.zOrigin=l.xPercent=l.yPercent=l.xOffset=l.yOffset=0,l.scaleX=l.scaleY=l.scaleZ=1,_e("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(e,t,n,r,i,a,u){if(r._lastParsedTransform===u)return i;r._lastParsedTransform=u;var l,c,f,d,p,h,m,g,y,v=e._gsTransform,b=r._transform=Le(e,o,!0,u.parseTransform),_=e.style,w=1e-6,T=Ee.length,E=u,x={},S="transformOrigin";if("string"==typeof E.transform&&xe)f=G.style,f[xe]=E.transform,f.display="block",f.position="absolute",L.body.appendChild(G),l=Le(G,null,!1),L.body.removeChild(G),null!=E.xPercent&&(l.xPercent=se(E.xPercent,b.xPercent)),null!=E.yPercent&&(l.yPercent=se(E.yPercent,b.yPercent));else if("object"==typeof E){if(l={scaleX:se(null!=E.scaleX?E.scaleX:E.scale,b.scaleX),scaleY:se(null!=E.scaleY?E.scaleY:E.scale,b.scaleY),scaleZ:se(E.scaleZ,b.scaleZ),x:se(E.x,b.x),y:se(E.y,b.y),z:se(E.z,b.z),xPercent:se(E.xPercent,b.xPercent),yPercent:se(E.yPercent,b.yPercent),perspective:se(E.transformPerspective,b.perspective)},m=E.directionalRotation,null!=m)if("object"==typeof m)for(f in m)E[f]=m[f];else E.rotation=m;"string"==typeof E.x&&-1!==E.x.indexOf("%")&&(l.x=0,l.xPercent=se(E.x,b.xPercent)),"string"==typeof E.y&&-1!==E.y.indexOf("%")&&(l.y=0,l.yPercent=se(E.y,b.yPercent)),l.rotation=ae("rotation"in E?E.rotation:"shortRotation"in E?E.shortRotation+"_short":"rotationZ"in E?E.rotationZ:b.rotation,b.rotation,"rotation",x),Pe&&(l.rotationX=ae("rotationX"in E?E.rotationX:"shortRotationX"in E?E.shortRotationX+"_short":b.rotationX||0,b.rotationX,"rotationX",x),l.rotationY=ae("rotationY"in E?E.rotationY:"shortRotationY"in E?E.shortRotationY+"_short":b.rotationY||0,b.rotationY,"rotationY",x)),l.skewX=null==E.skewX?b.skewX:ae(E.skewX,b.skewX),l.skewY=null==E.skewY?b.skewY:ae(E.skewY,b.skewY),(c=l.skewY-b.skewY)&&(l.skewX+=c,l.rotation+=c)}for(Pe&&null!=E.force3D&&(b.force3D=E.force3D,h=!0),b.skewType=E.skewType||b.skewType||s.defaultSkewType,p=b.force3D||b.z||b.rotationX||b.rotationY||l.z||l.rotationX||l.rotationY||l.perspective,p||null==E.scale||(l.scaleZ=1);--T>-1;)n=Ee[T],d=l[n]-b[n],(d>w||-w>d||null!=E[n]||null!=k[n])&&(h=!0,i=new me(b,n,b[n],d,i),n in x&&(i.e=x[n]),i.xs0=0,i.plugin=a,r._overwriteProps.push(i.n));return d=E.transformOrigin,b.svg&&(d||E.svgOrigin)&&(g=b.xOffset,y=b.yOffset,Ae(e,oe(d),l,E.svgOrigin,E.smoothOrigin),i=ge(b,"xOrigin",(v?b:l).xOrigin,l.xOrigin,i,S),i=ge(b,"yOrigin",(v?b:l).yOrigin,l.yOrigin,i,S),(g!==b.xOffset||y!==b.yOffset)&&(i=ge(b,"xOffset",v?g:b.xOffset,b.xOffset,i,S),i=ge(b,"yOffset",v?y:b.yOffset,b.yOffset,i,S)),d=Te?null:"0px 0px"),(d||Pe&&p&&b.zOrigin)&&(xe?(h=!0,n=Ce,d=(d||Q(e,n,o,!1,"50% 50%"))+"",i=new me(_,n,0,0,i,-1,S),i.b=_[n],i.plugin=a,Pe?(f=b.zOrigin,d=d.split(" "),b.zOrigin=(d.length>2&&(0===f||"0px"!==d[2])?parseFloat(d[2]):f)||0,i.xs0=i.e=d[0]+" "+(d[1]||"50%")+" 0px",i=new me(b,"zOrigin",0,0,i,-1,i.n),i.b=f,i.xs0=i.e=b.zOrigin):i.xs0=i.e=d):oe(d+"",b)),h&&(r._transformType=b.svg&&Te||!p&&3!==this._transformType?2:3),i},prefix:!0}),_e("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),_e("borderRadius",{defaultValue:"0px",parser:function(e,t,n,i,s){t=this.format(t);var a,u,l,c,f,d,p,h,m,g,y,v,b,_,w,T,E=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],x=e.style;for(m=parseFloat(e.offsetWidth),g=parseFloat(e.offsetHeight),a=t.split(" "),u=0;E.length>u;u++)this.p.indexOf("border")&&(E[u]=Y(E[u])),f=c=Q(e,E[u],o,!1,"0px"),-1!==f.indexOf(" ")&&(c=f.split(" "),f=c[0],c=c[1]),d=l=a[u],p=parseFloat(f),v=f.substr((p+"").length),b="="===d.charAt(1),b?(h=parseInt(d.charAt(0)+"1",10),d=d.substr(2),h*=parseFloat(d),y=d.substr((h+"").length-(0>h?1:0))||""):(h=parseFloat(d),y=d.substr((h+"").length)),""===y&&(y=r[n]||v),y!==v&&(_=$(e,"borderLeft",p,v),w=$(e,"borderTop",p,v),"%"===y?(f=100*(_/m)+"%",c=100*(w/g)+"%"):"em"===y?(T=$(e,"borderLeft",1,"em"),f=_/T+"em",c=w/T+"em"):(f=_+"px",c=w+"px"),b&&(d=parseFloat(f)+h+y,l=parseFloat(c)+h+y)),s=ye(x,E[u],f+" "+c,d+" "+l,!1,"0px",s);return s},prefix:!0,formatter:de("0px 0px 0px 0px",!1,!0)}),_e("backgroundPosition",{defaultValue:"0 0",parser:function(e,t,n,r,i,s){var a,u,l,c,f,d,p="background-position",h=o||K(e,null),m=this.format((h?g?h.getPropertyValue(p+"-x")+" "+h.getPropertyValue(p+"-y"):h.getPropertyValue(p):e.currentStyle.backgroundPositionX+" "+e.currentStyle.backgroundPositionY)||"0 0"),y=this.format(t);if(-1!==m.indexOf("%")!=(-1!==y.indexOf("%"))&&(d=Q(e,"backgroundImage").replace(M,""),d&&"none"!==d)){for(a=m.split(" "),u=y.split(" "),H.setAttribute("src",d),l=2;--l>-1;)m=a[l],c=-1!==m.indexOf("%"),c!==(-1!==u[l].indexOf("%"))&&(f=0===l?e.offsetWidth-H.width:e.offsetHeight-H.height,a[l]=c?parseFloat(m)/100*f+"px":100*(parseFloat(m)/f)+"%");m=a.join(" ")}return this.parseComplex(e.style,m,y,i,s)},formatter:oe}),_e("backgroundSize",{defaultValue:"0 0",formatter:oe}),_e("perspective",{defaultValue:"0px",prefix:!0}),_e("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),_e("transformStyle",{prefix:!0}),_e("backfaceVisibility",{prefix:!0}),_e("userSelect",{prefix:!0}),_e("margin",{parser:pe("marginTop,marginRight,marginBottom,marginLeft")}),_e("padding",{parser:pe("paddingTop,paddingRight,paddingBottom,paddingLeft")}),_e("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(e,t,n,r,i,s){var a,u,l;return 9>g?(u=e.currentStyle,l=8>g?" ":",",a="rect("+u.clipTop+l+u.clipRight+l+u.clipBottom+l+u.clipLeft+")",t=this.format(t).split(",").join(l)):(a=this.format(Q(e,this.p,o,!1,this.dflt)),t=this.format(t)),this.parseComplex(e.style,a,t,i,s)}}),_e("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),_e("autoRound,strictUnits",{parser:function(e,t,n,r,o){return o}}),_e("border",{defaultValue:"0px solid #000",parser:function(e,t,n,r,i,s){return this.parseComplex(e.style,this.format(Q(e,"borderTopWidth",o,!1,"0px")+" "+Q(e,"borderTopStyle",o,!1,"solid")+" "+Q(e,"borderTopColor",o,!1,"#000")),this.format(t),i,s)},color:!0,formatter:function(e){var t=e.split(" ");return t[0]+" "+(t[1]||"solid")+" "+(e.match(fe)||["#000"])[0]}}),_e("borderWidth",{parser:pe("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),_e("float,cssFloat,styleFloat",{parser:function(e,t,n,r,o){var i=e.style,s="cssFloat"in i?"cssFloat":"styleFloat";return new me(i,s,0,0,o,-1,n,!1,0,i[s],t)}});var He=function(e){var t,n=this.t,r=n.filter||Q(this.data,"filter")||"",o=0|this.s+this.c*e;100===o&&(-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(n.removeAttribute("filter"),t=!Q(this.data,"filter")):(n.filter=r.replace(x,""),t=!0)),t||(this.xn1&&(n.filter=r=r||"alpha(opacity="+o+")"),-1===r.indexOf("pacity")?0===o&&this.xn1||(n.filter=r+" alpha(opacity="+o+")"):n.filter=r.replace(T,"opacity="+o))};_e("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(e,t,n,r,i,s){var a=parseFloat(Q(e,"opacity",o,!1,"1")),u=e.style,l="autoAlpha"===n;return"string"==typeof t&&"="===t.charAt(1)&&(t=("-"===t.charAt(0)?-1:1)*parseFloat(t.substr(2))+a),l&&1===a&&"hidden"===Q(e,"visibility",o)&&0!==t&&(a=0),F?i=new me(u,"opacity",a,t-a,i):(i=new me(u,"opacity",100*a,100*(t-a),i),i.xn1=l?1:0,u.zoom=1,i.type=2,i.b="alpha(opacity="+i.s+")",i.e="alpha(opacity="+(i.s+i.c)+")",i.data=e,i.plugin=s,i.setRatio=He),l&&(i=new me(u,"visibility",0,0,i,-1,null,!1,0,0!==a?"inherit":"hidden",0===t?"hidden":"inherit"),i.xs0="inherit",r._overwriteProps.push(i.n),r._overwriteProps.push(n)),i}});var Ve=function(e,t){t&&(e.removeProperty?(("ms"===t.substr(0,2)||"webkit"===t.substr(0,6))&&(t="-"+t),e.removeProperty(t.replace(C,"-$1").toLowerCase())):e.removeAttribute(t))},Ue=function(e){if(this.t._gsClassPT=this,1===e||0===e){this.t.setAttribute("class",0===e?this.b:this.e);for(var t=this.data,n=this.t.style;t;)t.v?n[t.p]=t.v:Ve(n,t.p),t=t._next;1===e&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};_e("className",{parser:function(e,t,r,i,s,a,u){var l,c,f,d,p,h=e.getAttribute("class")||"",m=e.style.cssText;if(s=i._classNamePT=new me(e,r,0,0,s,2),s.setRatio=Ue,s.pr=-11,n=!0,s.b=h,c=J(e,o),f=e._gsClassPT){for(d={},p=f.data;p;)d[p.p]=1,p=p._next;f.setRatio(1)}return e._gsClassPT=s,s.e="="!==t.charAt(1)?t:h.replace(RegExp("\\s*\\b"+t.substr(2)+"\\b"),"")+("+"===t.charAt(0)?" "+t.substr(2):""),e.setAttribute("class",s.e),l=ee(e,c,J(e),u,d),e.setAttribute("class",h),s.data=l.firstMPT,e.style.cssText=m,s=s.xfirst=i.parse(e,l.difs,s,a)}});var Fe=function(e){if((1===e||0===e)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var t,n,r,o,i,s=this.t.style,a=u.transform.parse;if("all"===this.e)s.cssText="",o=!0;else for(t=this.e.split(" ").join("").split(","),r=t.length;--r>-1;)n=t[r],u[n]&&(u[n].parse===a?o=!0:n="transformOrigin"===n?Ce:u[n].p),Ve(s,n);o&&(Ve(s,xe),i=this.t._gsTransform,i&&(i.svg&&this.t.removeAttribute("data-svg-origin"),delete this.t._gsTransform))}};for(_e("clearProps",{parser:function(e,t,r,o,i){return i=new me(e,r,0,0,i,2),i.setRatio=Fe,i.e=t,i.pr=-10,i.data=o._tween,n=!0,i}}),l="bezier,throwProps,physicsProps,physics2D".split(","),ve=l.length;ve--;)we(l[ve]);l=s.prototype,l._firstPT=l._lastParsedTransform=l._transform=null,l._onInitTween=function(e,t,a){if(!e.nodeType)return!1;this._target=e,this._tween=a,this._vars=t,f=t.autoRound,n=!1,r=t.suffixMap||s.suffixMap,o=K(e,""),i=this._overwriteProps;var l,c,h,g,y,v,b,_,w,T=e.style;if(d&&""===T.zIndex&&(l=Q(e,"zIndex",o),("auto"===l||""===l)&&this._addLazySet(T,"zIndex",0)),"string"==typeof t&&(g=T.cssText,l=J(e,o),T.cssText=g+";"+t,l=ee(e,l,J(e)).difs,!F&&E.test(t)&&(l.opacity=parseFloat(RegExp.$1)),t=l,T.cssText=g),this._firstPT=c=t.className?u.className.parse(e,t.className,"className",this,null,null,t):this.parse(e,t,null),this._transformType){for(w=3===this._transformType,xe?p&&(d=!0,""===T.zIndex&&(b=Q(e,"zIndex",o),("auto"===b||""===b)&&this._addLazySet(T,"zIndex",0)),m&&this._addLazySet(T,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(w?"visible":"hidden"))):T.zoom=1,h=c;h&&h._next;)h=h._next;_=new me(e,"transform",0,0,null,2),this._linkCSSP(_,null,h),_.setRatio=xe?Ge:je,_.data=this._transform||Le(e,o,!0),_.tween=a,_.pr=-1,i.pop()}if(n){for(;c;){for(v=c._next,h=g;h&&h.pr>c.pr;)h=h._next;(c._prev=h?h._prev:y)?c._prev._next=c:g=c,(c._next=h)?h._prev=c:y=c,c=v}this._firstPT=g}return!0},l.parse=function(e,t,n,i){var s,a,l,c,d,p,h,m,g,y,v=e.style;for(s in t)p=t[s],a=u[s],a?n=a.parse(e,p,s,this,n,i,t):(d=Q(e,s,o)+"",g="string"==typeof p,"color"===s||"fill"===s||"stroke"===s||-1!==s.indexOf("Color")||g&&S.test(p)?(g||(p=ce(p),p=(p.length>3?"rgba(":"rgb(")+p.join(",")+")"),n=ye(v,s,d,p,!0,"transparent",n,0,i)):!g||-1===p.indexOf(" ")&&-1===p.indexOf(",")?(l=parseFloat(d),h=l||0===l?d.substr((l+"").length):"",(""===d||"auto"===d)&&("width"===s||"height"===s?(l=re(e,s,o),h="px"):"left"===s||"top"===s?(l=Z(e,s,o),h="px"):(l="opacity"!==s?0:1,h="")),y=g&&"="===p.charAt(1),y?(c=parseInt(p.charAt(0)+"1",10),p=p.substr(2),c*=parseFloat(p),m=p.replace(w,"")):(c=parseFloat(p),m=g?p.replace(w,""):""),""===m&&(m=s in r?r[s]:h),p=c||0===c?(y?c+l:c)+m:t[s],h!==m&&""!==m&&(c||0===c)&&l&&(l=$(e,s,l,h),"%"===m?(l/=$(e,s,100,"%")/100,t.strictUnits!==!0&&(d=l+"%")):"em"===m?l/=$(e,s,1,"em"):"px"!==m&&(c=$(e,s,c,m),m="px"),y&&(c||0===c)&&(p=c+l+m)),y&&(c+=l),!l&&0!==l||!c&&0!==c?void 0!==v[s]&&(p||"NaN"!=p+""&&null!=p)?(n=new me(v,s,c||l||0,0,n,-1,s,!1,0,d,p),n.xs0="none"!==p||"display"!==s&&-1===s.indexOf("Style")?p:d):q("invalid "+s+" tween value: "+t[s]):(n=new me(v,s,l,c-l,n,0,s,f!==!1&&("px"===m||"zIndex"===s),0,d,p),n.xs0=m)):n=ye(v,s,d,p,!0,null,n,0,i)),i&&n&&!n.plugin&&(n.plugin=i);return n},l.setRatio=function(e){var t,n,r,o=this._firstPT,i=1e-6;if(1!==e||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(e||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;o;){if(t=o.c*e+o.s,o.r?t=Math.round(t):i>t&&t>-i&&(t=0),o.type)if(1===o.type)if(r=o.l,2===r)o.t[o.p]=o.xs0+t+o.xs1+o.xn1+o.xs2;else if(3===r)o.t[o.p]=o.xs0+t+o.xs1+o.xn1+o.xs2+o.xn2+o.xs3;else if(4===r)o.t[o.p]=o.xs0+t+o.xs1+o.xn1+o.xs2+o.xn2+o.xs3+o.xn3+o.xs4;else if(5===r)o.t[o.p]=o.xs0+t+o.xs1+o.xn1+o.xs2+o.xn2+o.xs3+o.xn3+o.xs4+o.xn4+o.xs5;else{for(n=o.xs0+t+o.xs1,r=1;o.l>r;r++)n+=o["xn"+r]+o["xs"+(r+1)];o.t[o.p]=n}else-1===o.type?o.t[o.p]=o.xs0:o.setRatio&&o.setRatio(e);else o.t[o.p]=t+o.xs0;o=o._next}else for(;o;)2!==o.type?o.t[o.p]=o.b:o.setRatio(e),o=o._next;else for(;o;){if(2!==o.type)if(o.r&&-1!==o.type)if(t=Math.round(o.s+o.c),o.type){if(1===o.type){for(r=o.l,n=o.xs0+t+o.xs1,r=1;o.l>r;r++)n+=o["xn"+r]+o["xs"+(r+1)];o.t[o.p]=n}}else o.t[o.p]=t+o.xs0;else o.t[o.p]=o.e;else o.setRatio(e);o=o._next}},l._enableTransforms=function(e){this._transform=this._transform||Le(this._target,o,!0),this._transformType=this._transform.svg&&Te||!e&&3!==this._transformType?2:3};var We=function(){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};l._addLazySet=function(e,t,n){var r=this._firstPT=new me(e,t,0,0,this._firstPT,2);r.e=n,r.setRatio=We,r.data=this},l._linkCSSP=function(e,t,n,r){return e&&(t&&(t._prev=e),e._next&&(e._next._prev=e._prev),e._prev?e._prev._next=e._next:this._firstPT===e&&(this._firstPT=e._next,r=!0),n?n._next=e:r||null!==this._firstPT||(this._firstPT=e),e._next=t,e._prev=n),e},l._kill=function(t){var n,r,o,i=t;if(t.autoAlpha||t.alpha){i={};for(r in t)i[r]=t[r];i.opacity=1,i.autoAlpha&&(i.visibility=1)}return t.className&&(n=this._classNamePT)&&(o=n.xfirst,o&&o._prev?this._linkCSSP(o._prev,n._next,o._prev._prev):o===this._firstPT&&(this._firstPT=n._next),n._next&&this._linkCSSP(n._next,n._next._next,o._prev),this._classNamePT=null),e.prototype._kill.call(this,i)};var qe=function(e,t,n){var r,o,i,s;if(e.slice)for(o=e.length;--o>-1;)qe(e[o],t,n);else for(r=e.childNodes,o=r.length;--o>-1;)i=r[o],s=i.type,i.style&&(t.push(J(i)),n&&n.push(i)),1!==s&&9!==s&&11!==s||!i.childNodes.length||qe(i,t,n)};return s.cascadeTo=function(e,n,r){var o,i,s,a,u=t.to(e,n,r),l=[u],c=[],f=[],d=[],p=t._internals.reservedProps;for(e=u._targets||u.target,qe(e,c,d),u.render(n,!0,!0),qe(e,f),u.render(0,!0,!0),u._enabled(!0),o=d.length;--o>-1;)if(i=ee(d[o],c[o],f[o]),i.firstMPT){i=i.difs;for(s in r)p[s]&&(i[s]=r[s]);a={};for(s in i)a[s]=c[o][s];l.push(t.fromTo(d[o],n,a,i))}return l},e.activate([s]),s},!0),function(){var e=c._gsDefine.plugin({propName:"roundProps",priority:-1,API:2,init:function(e,t,n){return this._tween=n,!0}}),t=e.prototype;t._onInitAllProps=function(){for(var e,t,n,r=this._tween,o=r.vars.roundProps instanceof Array?r.vars.roundProps:r.vars.roundProps.split(","),i=o.length,s={},a=r._propLookup.roundProps;--i>-1;)s[o[i]]=1;for(i=o.length;--i>-1;)for(e=o[i],t=r._firstPT;t;)n=t._next,t.pg?t.t._roundProps(s,!0):t.n===e&&(this._add(t.t,e,t.s,t.c),n&&(n._prev=t._prev),t._prev?t._prev._next=n:r._firstPT===t&&(r._firstPT=n),t._next=t._prev=null,r._propLookup[e]=a),t=n;return!1},t._add=function(e,t,n,r){this._addTween(e,t,n,n+r,t,!0),this._overwriteProps.push(t)}}(),function(){var e=/(?:\d|\-|\+|=|#|\.)*/g,t=/[A-Za-z%]/g;c._gsDefine.plugin({propName:"attr",API:2,version:"0.4.0",init:function(n,r){var o,i,s,a,u;if("function"!=typeof n.setAttribute)return!1;this._target=n,this._proxy={},this._start={},this._end={},this._suffix={};for(o in r)this._start[o]=this._proxy[o]=i=n.getAttribute(o)+"",this._end[o]=s=r[o]+"",this._suffix[o]=a=t.test(s)?s.replace(e,""):t.test(i)?i.replace(e,""):"",a&&(u=s.indexOf(a),-1!==u&&(s=s.substr(0,u))),this._addTween(this._proxy,o,parseFloat(i),s,o)||(this._suffix[o]=""),"="===s.charAt(1)&&(this._end[o]=this._firstPT.s+this._firstPT.c+a),this._overwriteProps.push(o);return!0},set:function(e){this._super.setRatio.call(this,e);for(var t,n=this._overwriteProps,r=n.length,o=1===e?this._end:e?this._proxy:this._start,i=o===this._proxy;--r>-1;)t=n[r],this._target.setAttribute(t,o[t]+(i?this._suffix[t]:""))}})}(),c._gsDefine.plugin({propName:"directionalRotation",version:"0.2.1",API:2,init:function(e,t){"object"!=typeof t&&(t={rotation:t}),this.finals={};var n,r,o,i,s,a,u=t.useRadians===!0?2*Math.PI:360,l=1e-6;for(n in t)"useRadians"!==n&&(a=(t[n]+"").split("_"),r=a[0],o=parseFloat("function"!=typeof e[n]?e[n]:e[n.indexOf("set")||"function"!=typeof e["get"+n.substr(3)]?n:"get"+n.substr(3)]()),i=this.finals[n]="string"==typeof r&&"="===r.charAt(1)?o+parseInt(r.charAt(0)+"1",10)*Number(r.substr(2)):Number(r)||0,s=i-o,a.length&&(r=a.join("_"),-1!==r.indexOf("short")&&(s%=u,s!==s%(u/2)&&(s=0>s?s+u:s-u)),-1!==r.indexOf("_cw")&&0>s?s=(s+9999999999*u)%u-(0|s/u)*u:-1!==r.indexOf("ccw")&&s>0&&(s=(s-9999999999*u)%u-(0|s/u)*u)),(s>l||-l>s)&&(this._addTween(e,n,o,o+s,n),this._overwriteProps.push(n)));return!0},set:function(e){var t;if(1!==e)this._super.setRatio.call(this,e);else for(t=this._firstPT;t;)t.f?t.t[t.p](this.finals[t.p]):t.t[t.p]=this.finals[t.p],t=t._next}})._autoCSS=!0,c._gsDefine("easing.Back",["easing.Ease"],function(e){var t,n,r,o=c.GreenSockGlobals||c,i=o.com.greensock,s=2*Math.PI,a=Math.PI/2,u=i._class,l=function(t,n){var r=u("easing."+t,function(){},!0),o=r.prototype=new e;return o.constructor=r,o.getRatio=n,r},f=e.register||function(){},d=function(e,t,n,r){var o=u("easing."+e,{easeOut:new t,easeIn:new n,easeInOut:new r},!0);return f(o,e),o},p=function(e,t,n){this.t=e,this.v=t,n&&(this.next=n,n.prev=this,this.c=n.v-t,this.gap=n.t-e)},h=function(t,n){var r=u("easing."+t,function(e){this._p1=e||0===e?e:1.70158,this._p2=1.525*this._p1},!0),o=r.prototype=new e;return o.constructor=r,o.getRatio=n,o.config=function(e){return new r(e)},r},m=d("Back",h("BackOut",function(e){return(e-=1)*e*((this._p1+1)*e+this._p1)+1}),h("BackIn",function(e){return e*e*((this._p1+1)*e-this._p1)}),h("BackInOut",function(e){return 1>(e*=2)?.5*e*e*((this._p2+1)*e-this._p2):.5*((e-=2)*e*((this._p2+1)*e+this._p2)+2)})),g=u("easing.SlowMo",function(e,t,n){t=t||0===t?t:.7,null==e?e=.7:e>1&&(e=1),this._p=1!==e?t:0,this._p1=(1-e)/2,this._p2=e,this._p3=this._p1+this._p2,this._calcEnd=n===!0},!0),y=g.prototype=new e;return y.constructor=g,y.getRatio=function(e){var t=e+(.5-e)*this._p;return this._p1>e?this._calcEnd?1-(e=1-e/this._p1)*e:t-(e=1-e/this._p1)*e*e*e*t:e>this._p3?this._calcEnd?1-(e=(e-this._p3)/this._p1)*e:t+(e-t)*(e=(e-this._p3)/this._p1)*e*e*e:this._calcEnd?1:t},g.ease=new g(.7,.7),y.config=g.config=function(e,t,n){return new g(e,t,n)},t=u("easing.SteppedEase",function(e){e=e||1,this._p1=1/e,this._p2=e+1},!0),y=t.prototype=new e,y.constructor=t,y.getRatio=function(e){return 0>e?e=0:e>=1&&(e=.999999999),(this._p2*e>>0)*this._p1},y.config=t.config=function(e){return new t(e)},n=u("easing.RoughEase",function(t){t=t||{};for(var n,r,o,i,s,a,u=t.taper||"none",l=[],c=0,f=0|(t.points||20),d=f,h=t.randomize!==!1,m=t.clamp===!0,g=t.template instanceof e?t.template:null,y="number"==typeof t.strength?.4*t.strength:.4;--d>-1;)n=h?Math.random():1/f*d,r=g?g.getRatio(n):n,"none"===u?o=y:"out"===u?(i=1-n,o=i*i*y):"in"===u?o=n*n*y:.5>n?(i=2*n,o=.5*i*i*y):(i=2*(1-n),o=.5*i*i*y),h?r+=Math.random()*o-.5*o:d%2?r+=.5*o:r-=.5*o,m&&(r>1?r=1:0>r&&(r=0)),l[c++]={x:n,y:r};for(l.sort(function(e,t){return e.x-t.x}),a=new p(1,1,null),d=f;--d>-1;)s=l[d],a=new p(s.x,s.y,a);this._prev=new p(0,0,0!==a.t?a:a.next)},!0),y=n.prototype=new e,y.constructor=n,y.getRatio=function(e){var t=this._prev;if(e>t.t){for(;t.next&&e>=t.t;)t=t.next;t=t.prev}else for(;t.prev&&t.t>=e;)t=t.prev;return this._prev=t,t.v+(e-t.t)/t.gap*t.c},y.config=function(e){return new n(e)},n.ease=new n,d("Bounce",l("BounceOut",function(e){return 1/2.75>e?7.5625*e*e:2/2.75>e?7.5625*(e-=1.5/2.75)*e+.75:2.5/2.75>e?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}),l("BounceIn",function(e){return 1/2.75>(e=1-e)?1-7.5625*e*e:2/2.75>e?1-(7.5625*(e-=1.5/2.75)*e+.75):2.5/2.75>e?1-(7.5625*(e-=2.25/2.75)*e+.9375):1-(7.5625*(e-=2.625/2.75)*e+.984375)}),l("BounceInOut",function(e){var t=.5>e;return e=t?1-2*e:2*e-1,e=1/2.75>e?7.5625*e*e:2/2.75>e?7.5625*(e-=1.5/2.75)*e+.75:2.5/2.75>e?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,t?.5*(1-e):.5*e+.5})),d("Circ",l("CircOut",function(e){return Math.sqrt(1-(e-=1)*e)}),l("CircIn",function(e){return-(Math.sqrt(1-e*e)-1)}),l("CircInOut",function(e){return 1>(e*=2)?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)})),r=function(t,n,r){var o=u("easing."+t,function(e,t){this._p1=e>=1?e:1,this._p2=(t||r)/(1>e?e:1),this._p3=this._p2/s*(Math.asin(1/this._p1)||0),this._p2=s/this._p2},!0),i=o.prototype=new e;return i.constructor=o,i.getRatio=n,i.config=function(e,t){return new o(e,t)},o},d("Elastic",r("ElasticOut",function(e){return this._p1*Math.pow(2,-10*e)*Math.sin((e-this._p3)*this._p2)+1},.3),r("ElasticIn",function(e){return-(this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*this._p2))},.3),r("ElasticInOut",function(e){return 1>(e*=2)?-.5*this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*this._p2):.5*this._p1*Math.pow(2,-10*(e-=1))*Math.sin((e-this._p3)*this._p2)+1},.45)),d("Expo",l("ExpoOut",function(e){return 1-Math.pow(2,-10*e)}),l("ExpoIn",function(e){return Math.pow(2,10*(e-1))-.001}),l("ExpoInOut",function(e){return 1>(e*=2)?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*(e-1)))})),d("Sine",l("SineOut",function(e){return Math.sin(e*a)}),l("SineIn",function(e){return-Math.cos(e*a)+1}),l("SineInOut",function(e){return-.5*(Math.cos(Math.PI*e)-1)})),u("easing.EaseLookup",{find:function(t){return e.map[t]}},!0),f(o.SlowMo,"SlowMo","ease,"),f(n,"RoughEase","ease,"),f(t,"SteppedEase","ease,"),m},!0)}),c._gsDefine&&c._gsQueue.pop()(),function(e,n){"use strict";var r=e.GreenSockGlobals=e.GreenSockGlobals||e;if(!r.TweenLite){var o,i,s,a,u,l=function(e){var t,n=e.split("."),o=r;for(t=0;n.length>t;t++)o[n[t]]=o=o[n[t]]||{};return o},c=l("com.greensock"),f=1e-10,d=function(e){var t,n=[],r=e.length;for(t=0;t!==r;n.push(e[t++]));return n},p=function(){},h=function(){var e=Object.prototype.toString,t=e.call([]);return function(n){return null!=n&&(n instanceof Array||"object"==typeof n&&!!n.push&&e.call(n)===t)}}(),m={},g=function(o,i,s,a){this.sc=m[o]?m[o].sc:[],m[o]=this,this.gsClass=null,this.func=s;var u=[];this.check=function(c){for(var f,d,p,h,y=i.length,v=y;--y>-1;)(f=m[i[y]]||new g(i[y],[])).gsClass?(u[y]=f.gsClass,v--):c&&f.sc.push(this);if(0===v&&s)for(d=("com.greensock."+o).split("."),p=d.pop(),h=l(d.join("."))[p]=this.gsClass=s.apply(s,u),a&&(r[p]=h,"function"==typeof define&&define.amd?define((e.GreenSockAMDPath?e.GreenSockAMDPath+"/":"")+o.split(".").pop(),[],function(){return h}):o===n&&"undefined"!=typeof t&&t.exports&&(t.exports=h)),y=0;this.sc.length>y;y++)this.sc[y].check()},this.check(!0)},y=e._gsDefine=function(e,t,n,r){return new g(e,t,n,r)},v=c._class=function(e,t,n){return t=t||function(){},y(e,[],function(){return t},n),t};y.globals=r;var b=[0,0,1,1],_=[],w=v("easing.Ease",function(e,t,n,r){this._func=e,this._type=n||0,this._power=r||0,this._params=t?b.concat(t):b},!0),T=w.map={},E=w.register=function(e,t,n,r){for(var o,i,s,a,u=t.split(","),l=u.length,f=(n||"easeIn,easeOut,easeInOut").split(",");--l>-1;)for(i=u[l],o=r?v("easing."+i,null,!0):c.easing[i]||{},s=f.length;--s>-1;)a=f[s],T[i+"."+a]=T[a+i]=o[a]=e.getRatio?e:e[a]||new e};for(s=w.prototype,s._calcEnd=!1,s.getRatio=function(e){if(this._func)return this._params[0]=e,this._func.apply(null,this._params);var t=this._type,n=this._power,r=1===t?1-e:2===t?e:.5>e?2*e:2*(1-e);return 1===n?r*=r:2===n?r*=r*r:3===n?r*=r*r*r:4===n&&(r*=r*r*r*r),1===t?1-r:2===t?r:.5>e?r/2:1-r/2},o=["Linear","Quad","Cubic","Quart","Quint,Strong"],i=o.length;--i>-1;)s=o[i]+",Power"+i,E(new w(null,null,1,i),s,"easeOut",!0),E(new w(null,null,2,i),s,"easeIn"+(0===i?",easeNone":"")),E(new w(null,null,3,i),s,"easeInOut");T.linear=c.easing.Linear.easeIn,T.swing=c.easing.Quad.easeInOut;var x=v("events.EventDispatcher",function(e){this._listeners={},this._eventTarget=e||this});s=x.prototype,s.addEventListener=function(e,t,n,r,o){o=o||0;var i,s,l=this._listeners[e],c=0;for(null==l&&(this._listeners[e]=l=[]),s=l.length;--s>-1;)i=l[s],i.c===t&&i.s===n?l.splice(s,1):0===c&&o>i.pr&&(c=s+1);l.splice(c,0,{c:t,s:n,up:r,pr:o}),this!==a||u||a.wake()},s.removeEventListener=function(e,t){var n,r=this._listeners[e];if(r)for(n=r.length;--n>-1;)if(r[n].c===t)return void r.splice(n,1)},s.dispatchEvent=function(e){var t,n,r,o=this._listeners[e];if(o)for(t=o.length,n=this._eventTarget;--t>-1;)r=o[t],r&&(r.up?r.c.call(r.s||n,{type:e,target:n}):r.c.call(r.s||n))};var S=e.requestAnimationFrame,C=e.cancelAnimationFrame,P=Date.now||function(){return(new Date).getTime()},M=P();for(o=["ms","moz","webkit","o"],i=o.length;--i>-1&&!S;)S=e[o[i]+"RequestAnimationFrame"],C=e[o[i]+"CancelAnimationFrame"]||e[o[i]+"CancelRequestAnimationFrame"];v("Ticker",function(e,t){var n,r,o,i,s,l=this,c=P(),d=t!==!1&&S,h=500,m=33,g="tick",y=function(e){var t,a,u=P()-M;u>h&&(c+=u-m),M+=u,l.time=(M-c)/1e3,t=l.time-s,(!n||t>0||e===!0)&&(l.frame++,s+=t+(t>=i?.004:i-t),a=!0),e!==!0&&(o=r(y)),a&&l.dispatchEvent(g)};x.call(l),l.time=l.frame=0,l.tick=function(){y(!0)},l.lagSmoothing=function(e,t){h=e||1/f,m=Math.min(t,h,0)},l.sleep=function(){null!=o&&(d&&C?C(o):clearTimeout(o),r=p,o=null,l===a&&(u=!1))},l.wake=function(){null!==o?l.sleep():l.frame>10&&(M=P()-h+5),r=0===n?p:d&&S?S:function(e){return setTimeout(e,0|1e3*(s-l.time)+1)},l===a&&(u=!0),y(2)},l.fps=function(e){return arguments.length?(n=e,i=1/(n||60),s=this.time+i,void l.wake()):n},l.useRAF=function(e){return arguments.length?(l.sleep(),d=e,void l.fps(n)):d},l.fps(e),setTimeout(function(){d&&5>l.frame&&l.useRAF(!1)},1500)}),s=c.Ticker.prototype=new c.events.EventDispatcher,s.constructor=c.Ticker;var R=v("core.Animation",function(e,t){if(this.vars=t=t||{},this._duration=this._totalDuration=e||0,this._delay=Number(t.delay)||0,this._timeScale=1,this._active=t.immediateRender===!0,this.data=t.data,this._reversed=t.reversed===!0,W){u||a.wake();var n=this.vars.useFrames?F:W;n.add(this,n._time),this.vars.paused&&this.paused(!0)}});a=R.ticker=new c.Ticker,s=R.prototype,s._dirty=s._gc=s._initted=s._paused=!1,s._totalTime=s._time=0, s._rawPrevTime=-1,s._next=s._last=s._onUpdate=s._timeline=s.timeline=null,s._paused=!1;var D=function(){u&&P()-M>2e3&&a.wake(),setTimeout(D,2e3)};D(),s.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},s.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},s.resume=function(e,t){return null!=e&&this.seek(e,t),this.paused(!1)},s.seek=function(e,t){return this.totalTime(Number(e),t!==!1)},s.restart=function(e,t){return this.reversed(!1).paused(!1).totalTime(e?-this._delay:0,t!==!1,!0)},s.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},s.render=function(){},s.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},s.isActive=function(){var e,t=this._timeline,n=this._startTime;return!t||!this._gc&&!this._paused&&t.isActive()&&(e=t.rawTime())>=n&&n+this.totalDuration()/this._timeScale>e},s._enabled=function(e,t){return u||a.wake(),this._gc=!e,this._active=this.isActive(),t!==!0&&(e&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!e&&this.timeline&&this._timeline._remove(this,!0)),!1},s._kill=function(){return this._enabled(!1,!1)},s.kill=function(e,t){return this._kill(e,t),this},s._uncache=function(e){for(var t=e?this:this.timeline;t;)t._dirty=!0,t=t.timeline;return this},s._swapSelfInParams=function(e){for(var t=e.length,n=e.concat();--t>-1;)"{self}"===e[t]&&(n[t]=this);return n},s._callback=function(e){var t=this.vars;t[e].apply(t[e+"Scope"]||t.callbackScope||this,t[e+"Params"]||_)},s.eventCallback=function(e,t,n,r){if("on"===(e||"").substr(0,2)){var o=this.vars;if(1===arguments.length)return o[e];null==t?delete o[e]:(o[e]=t,o[e+"Params"]=h(n)&&-1!==n.join("").indexOf("{self}")?this._swapSelfInParams(n):n,o[e+"Scope"]=r),"onUpdate"===e&&(this._onUpdate=t)}return this},s.delay=function(e){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+e-this._delay),this._delay=e,this):this._delay},s.duration=function(e){return arguments.length?(this._duration=this._totalDuration=e,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==e&&this.totalTime(this._totalTime*(e/this._duration),!0),this):(this._dirty=!1,this._duration)},s.totalDuration=function(e){return this._dirty=!1,arguments.length?this.duration(e):this._totalDuration},s.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(e>this._duration?this._duration:e,t)):this._time},s.totalTime=function(e,t,n){if(u||a.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>e&&!n&&(e+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,o=this._timeline;if(e>r&&!n&&(e=r),this._startTime=(this._paused?this._pauseTime:o._time)-(this._reversed?r-e:e)/this._timeScale,o._dirty||this._uncache(!1),o._timeline)for(;o._timeline;)o._timeline._time!==(o._startTime+o._totalTime)/o._timeScale&&o.totalTime(o._totalTime,!0),o=o._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==e||0===this._duration)&&(this.render(e,t,!1),B.length&&X())}return this},s.progress=s.totalProgress=function(e,t){return arguments.length?this.totalTime(this.duration()*e,t):this._time/this.duration()},s.startTime=function(e){return arguments.length?(e!==this._startTime&&(this._startTime=e,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,e-this._delay)),this):this._startTime},s.endTime=function(e){return this._startTime+(0!=e?this.totalDuration():this.duration())/this._timeScale},s.timeScale=function(e){if(!arguments.length)return this._timeScale;if(e=e||f,this._timeline&&this._timeline.smoothChildTiming){var t=this._pauseTime,n=t||0===t?t:this._timeline.totalTime();this._startTime=n-(n-this._startTime)*this._timeScale/e}return this._timeScale=e,this._uncache(!1)},s.reversed=function(e){return arguments.length?(e!=this._reversed&&(this._reversed=e,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},s.paused=function(e){if(!arguments.length)return this._paused;var t,n,r=this._timeline;return e!=this._paused&&r&&(u||e||a.wake(),t=r.rawTime(),n=t-this._pauseTime,!e&&r.smoothChildTiming&&(this._startTime+=n,this._uncache(!1)),this._pauseTime=e?t:null,this._paused=e,this._active=this.isActive(),!e&&0!==n&&this._initted&&this.duration()&&this.render(r.smoothChildTiming?this._totalTime:(t-this._startTime)/this._timeScale,!0,!0)),this._gc&&!e&&this._enabled(!0,!1),this};var O=v("core.SimpleTimeline",function(e){R.call(this,0,e),this.autoRemoveChildren=this.smoothChildTiming=!0});s=O.prototype=new R,s.constructor=O,s.kill()._gc=!1,s._first=s._last=s._recent=null,s._sortChildren=!1,s.add=s.insert=function(e,t){var n,r;if(e._startTime=Number(t||0)+e._delay,e._paused&&this!==e._timeline&&(e._pauseTime=e._startTime+(this.rawTime()-e._startTime)/e._timeScale),e.timeline&&e.timeline._remove(e,!0),e.timeline=e._timeline=this,e._gc&&e._enabled(!0,!0),n=this._last,this._sortChildren)for(r=e._startTime;n&&n._startTime>r;)n=n._prev;return n?(e._next=n._next,n._next=e):(e._next=this._first,this._first=e),e._next?e._next._prev=e:this._last=e,e._prev=n,this._recent=e,this._timeline&&this._uncache(!0),this},s._remove=function(e,t){return e.timeline===this&&(t||e._enabled(!1,!0),e._prev?e._prev._next=e._next:this._first===e&&(this._first=e._next),e._next?e._next._prev=e._prev:this._last===e&&(this._last=e._prev),e._next=e._prev=e.timeline=null,e===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},s.render=function(e,t,n){var r,o=this._first;for(this._totalTime=this._time=this._rawPrevTime=e;o;)r=o._next,(o._active||e>=o._startTime&&!o._paused)&&(o._reversed?o.render((o._dirty?o.totalDuration():o._totalDuration)-(e-o._startTime)*o._timeScale,t,n):o.render((e-o._startTime)*o._timeScale,t,n)),o=r},s.rawTime=function(){return u||a.wake(),this._totalTime};var N=v("TweenLite",function(t,n,r){if(R.call(this,n,r),this.render=N.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:N.selector(t)||t;var o,i,s,a=t.jquery||t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType),u=this.vars.overwrite;if(this._overwrite=u=null==u?U[N.defaultOverwrite]:"number"==typeof u?u>>0:U[u],(a||t instanceof Array||t.push&&h(t))&&"number"!=typeof t[0])for(this._targets=s=d(t),this._propLookup=[],this._siblings=[],o=0;s.length>o;o++)i=s[o],i?"string"!=typeof i?i.length&&i!==e&&i[0]&&(i[0]===e||i[0].nodeType&&i[0].style&&!i.nodeType)?(s.splice(o--,1),this._targets=s=s.concat(d(i))):(this._siblings[o]=z(i,this,!1),1===u&&this._siblings[o].length>1&&K(i,this,null,1,this._siblings[o])):(i=s[o--]=N.selector(i),"string"==typeof i&&s.splice(o+1,1)):s.splice(o--,1);else this._propLookup={},this._siblings=z(t,this,!1),1===u&&this._siblings.length>1&&K(t,this,null,1,this._siblings);(this.vars.immediateRender||0===n&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-f,this.render(-this._delay))},!0),A=function(t){return t&&t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType)},I=function(e,t){var n,r={};for(n in e)V[n]||n in t&&"transform"!==n&&"x"!==n&&"y"!==n&&"width"!==n&&"height"!==n&&"className"!==n&&"border"!==n||!(!j[n]||j[n]&&j[n]._autoCSS)||(r[n]=e[n],delete e[n]);e.css=r};s=N.prototype=new R,s.constructor=N,s.kill()._gc=!1,s.ratio=0,s._firstPT=s._targets=s._overwrittenProps=s._startAt=null,s._notifyPluginsOfEnabled=s._lazy=!1,N.version="1.17.0",N.defaultEase=s._ease=new w(null,null,1,1),N.defaultOverwrite="auto",N.ticker=a,N.autoSleep=120,N.lagSmoothing=function(e,t){a.lagSmoothing(e,t)},N.selector=e.$||e.jQuery||function(t){var n=e.$||e.jQuery;return n?(N.selector=n,n(t)):"undefined"==typeof document?t:document.querySelectorAll?document.querySelectorAll(t):document.getElementById("#"===t.charAt(0)?t.substr(1):t)};var B=[],k={},L=N._internals={isArray:h,isSelector:A,lazyTweens:B},j=N._plugins={},G=L.tweenLookup={},H=0,V=L.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1},U={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},F=R._rootFramesTimeline=new O,W=R._rootTimeline=new O,q=30,X=L.lazyRender=function(){var e,t=B.length;for(k={};--t>-1;)e=B[t],e&&e._lazy!==!1&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);B.length=0};W._startTime=a.time,F._startTime=a.frame,W._active=F._active=!0,setTimeout(X,1),R._updateRoot=N.render=function(){var e,t,n;if(B.length&&X(),W.render((a.time-W._startTime)*W._timeScale,!1,!1),F.render((a.frame-F._startTime)*F._timeScale,!1,!1),B.length&&X(),a.frame>=q){q=a.frame+(parseInt(N.autoSleep,10)||120);for(n in G){for(t=G[n].tweens,e=t.length;--e>-1;)t[e]._gc&&t.splice(e,1);0===t.length&&delete G[n]}if(n=W._first,(!n||n._paused)&&N.autoSleep&&!F._first&&1===a._listeners.tick.length){for(;n&&n._paused;)n=n._next;n||a.sleep()}}},a.addEventListener("tick",R._updateRoot);var z=function(e,t,n){var r,o,i=e._gsTweenID;if(G[i||(e._gsTweenID=i="t"+H++)]||(G[i]={target:e,tweens:[]}),t&&(r=G[i].tweens,r[o=r.length]=t,n))for(;--o>-1;)r[o]===t&&r.splice(o,1);return G[i].tweens},Y=function(e,t,n,r){var o,i,s=e.vars.onOverwrite;return s&&(o=s(e,t,n,r)),s=N.onOverwrite,s&&(i=s(e,t,n,r)),o!==!1&&i!==!1},K=function(e,t,n,r,o){var i,s,a,u;if(1===r||r>=4){for(u=o.length,i=0;u>i;i++)if((a=o[i])!==t)a._gc||a._kill(null,e,t)&&(s=!0);else if(5===r)break;return s}var l,c=t._startTime+f,d=[],p=0,h=0===t._duration;for(i=o.length;--i>-1;)(a=o[i])===t||a._gc||a._paused||(a._timeline!==t._timeline?(l=l||Q(t,0,h),0===Q(a,l,h)&&(d[p++]=a)):c>=a._startTime&&a._startTime+a.totalDuration()/a._timeScale>c&&((h||!a._initted)&&2e-10>=c-a._startTime||(d[p++]=a)));for(i=p;--i>-1;)if(a=d[i],2===r&&a._kill(n,e,t)&&(s=!0),2!==r||!a._firstPT&&a._initted){if(2!==r&&!Y(a,t))continue;a._enabled(!1,!1)&&(s=!0)}return s},Q=function(e,t,n){for(var r=e._timeline,o=r._timeScale,i=e._startTime;r._timeline;){if(i+=r._startTime,o*=r._timeScale,r._paused)return-100;r=r._timeline}return i/=o,i>t?i-t:n&&i===t||!e._initted&&2*f>i-t?f:(i+=e.totalDuration()/e._timeScale/o)>t+f?0:i-t-f};s._init=function(){var e,t,n,r,o,i=this.vars,s=this._overwrittenProps,a=this._duration,u=!!i.immediateRender,l=i.ease;if(i.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),o={};for(r in i.startAt)o[r]=i.startAt[r];if(o.overwrite=!1,o.immediateRender=!0,o.lazy=u&&i.lazy!==!1,o.startAt=o.delay=null,this._startAt=N.to(this.target,0,o),u)if(this._time>0)this._startAt=null;else if(0!==a)return}else if(i.runBackwards&&0!==a)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(u=!1),n={};for(r in i)V[r]&&"autoCSS"!==r||(n[r]=i[r]);if(n.overwrite=0,n.data="isFromStart",n.lazy=u&&i.lazy!==!1,n.immediateRender=u,this._startAt=N.to(this.target,0,n),u){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=l=l?l instanceof w?l:"function"==typeof l?new w(l,i.easeParams):T[l]||N.defaultEase:N.defaultEase,i.easeParams instanceof Array&&l.config&&(this._ease=l.config.apply(l,i.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(e=this._targets.length;--e>-1;)this._initProps(this._targets[e],this._propLookup[e]={},this._siblings[e],s?s[e]:null)&&(t=!0);else t=this._initProps(this.target,this._propLookup,this._siblings,s);if(t&&N._onPluginEvent("_onInitAllProps",this),s&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),i.runBackwards)for(n=this._firstPT;n;)n.s+=n.c,n.c=-n.c,n=n._next;this._onUpdate=i.onUpdate,this._initted=!0},s._initProps=function(t,n,r,o){var i,s,a,u,l,c;if(null==t)return!1;k[t._gsTweenID]&&X(),this.vars.css||t.style&&t!==e&&t.nodeType&&j.css&&this.vars.autoCSS!==!1&&I(this.vars,t);for(i in this.vars){if(c=this.vars[i],V[i])c&&(c instanceof Array||c.push&&h(c))&&-1!==c.join("").indexOf("{self}")&&(this.vars[i]=c=this._swapSelfInParams(c,this));else if(j[i]&&(u=new j[i])._onInitTween(t,this.vars[i],this)){for(this._firstPT=l={_next:this._firstPT,t:u,p:"setRatio",s:0,c:1,f:!0,n:i,pg:!0,pr:u._priority},s=u._overwriteProps.length;--s>-1;)n[u._overwriteProps[s]]=this._firstPT;(u._priority||u._onInitAllProps)&&(a=!0),(u._onDisable||u._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=n[i]=l={_next:this._firstPT,t:t,p:i,f:"function"==typeof t[i],n:i,pg:!1,pr:0},l.s=l.f?t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)]():parseFloat(t[i]),l.c="string"==typeof c&&"="===c.charAt(1)?parseInt(c.charAt(0)+"1",10)*Number(c.substr(2)):Number(c)-l.s||0;l&&l._next&&(l._next._prev=l)}return o&&this._kill(o,t)?this._initProps(t,n,r,o):this._overwrite>1&&this._firstPT&&r.length>1&&K(t,this,n,this._overwrite,r)?(this._kill(n,t),this._initProps(t,n,r,o)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(k[t._gsTweenID]=!0),a)},s.render=function(e,t,n){var r,o,i,s,a=this._time,u=this._duration,l=this._rawPrevTime;if(e>=u)this._totalTime=this._time=u,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(r=!0,o="onComplete",n=n||this._timeline.autoRemoveChildren),0===u&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(e=0),(0===e||0>l||l===f&&"isPause"!==this.data)&&l!==e&&(n=!0,l>f&&(o="onReverseComplete")),this._rawPrevTime=s=!t||e||l===e?e:f);else if(1e-7>e)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==a||0===u&&l>0)&&(o="onReverseComplete",r=this._reversed),0>e&&(this._active=!1,0===u&&(this._initted||!this.vars.lazy||n)&&(l>=0&&(l!==f||"isPause"!==this.data)&&(n=!0),this._rawPrevTime=s=!t||e||l===e?e:f)),this._initted||(n=!0);else if(this._totalTime=this._time=e,this._easeType){var c=e/u,d=this._easeType,p=this._easePower;(1===d||3===d&&c>=.5)&&(c=1-c),3===d&&(c*=2),1===p?c*=c:2===p?c*=c*c:3===p?c*=c*c*c:4===p&&(c*=c*c*c*c),this.ratio=1===d?1-c:2===d?c:.5>e/u?c/2:1-c/2}else this.ratio=this._ease.getRatio(e/u);if(this._time!==a||n){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=a,this._rawPrevTime=l,B.push(this),void(this._lazy=[e,t]);this._time&&!r?this.ratio=this._ease.getRatio(this._time/u):r&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==a&&e>=0&&(this._active=!0),0===a&&(this._startAt&&(e>=0?this._startAt.render(e,t,n):o||(o="_dummyGS")),this.vars.onStart&&(0!==this._time||0===u)&&(t||this._callback("onStart"))),i=this._firstPT;i;)i.f?i.t[i.p](i.c*this.ratio+i.s):i.t[i.p]=i.c*this.ratio+i.s,i=i._next;this._onUpdate&&(0>e&&this._startAt&&e!==-1e-4&&this._startAt.render(e,t,n),t||(this._time!==a||r)&&this._callback("onUpdate")),o&&(!this._gc||n)&&(0>e&&this._startAt&&!this._onUpdate&&e!==-1e-4&&this._startAt.render(e,t,n),r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[o]&&this._callback(o),0===u&&this._rawPrevTime===f&&s!==f&&(this._rawPrevTime=0))}},s._kill=function(e,t,n){if("all"===e&&(e=null),null==e&&(null==t||t===this.target))return this._lazy=!1,this._enabled(!1,!1);t="string"!=typeof t?t||this._targets||this.target:N.selector(t)||t;var r,o,i,s,a,u,l,c,f,d=n&&this._time&&n._startTime===this._startTime&&this._timeline===n._timeline;if((h(t)||A(t))&&"number"!=typeof t[0])for(r=t.length;--r>-1;)this._kill(e,t[r],n)&&(u=!0);else{if(this._targets){for(r=this._targets.length;--r>-1;)if(t===this._targets[r]){a=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],o=this._overwrittenProps[r]=e?this._overwrittenProps[r]||{}:"all";break}}else{if(t!==this.target)return!1;a=this._propLookup,o=this._overwrittenProps=e?this._overwrittenProps||{}:"all"}if(a){if(l=e||a,c=e!==o&&"all"!==o&&e!==a&&("object"!=typeof e||!e._tempKill),n&&(N.onOverwrite||this.vars.onOverwrite)){for(i in l)a[i]&&(f||(f=[]),f.push(i));if((f||!e)&&!Y(this,n,t,f))return!1}for(i in l)(s=a[i])&&(d&&(s.f?s.t[s.p](s.s):s.t[s.p]=s.s,u=!0),s.pg&&s.t._kill(l)&&(u=!0),s.pg&&0!==s.t._overwriteProps.length||(s._prev?s._prev._next=s._next:s===this._firstPT&&(this._firstPT=s._next),s._next&&(s._next._prev=s._prev),s._next=s._prev=null),delete a[i]),c&&(o[i]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return u},s.invalidate=function(){return this._notifyPluginsOfEnabled&&N._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],R.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-f,this.render(-this._delay)),this},s._enabled=function(e,t){if(u||a.wake(),e&&this._gc){var n,r=this._targets;if(r)for(n=r.length;--n>-1;)this._siblings[n]=z(r[n],this,!0);else this._siblings=z(this.target,this,!0)}return R.prototype._enabled.call(this,e,t),this._notifyPluginsOfEnabled&&this._firstPT?N._onPluginEvent(e?"_onEnable":"_onDisable",this):!1},N.to=function(e,t,n){return new N(e,t,n)},N.from=function(e,t,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new N(e,t,n)},N.fromTo=function(e,t,n,r){return r.startAt=n,r.immediateRender=0!=r.immediateRender&&0!=n.immediateRender,new N(e,t,r)},N.delayedCall=function(e,t,n,r,o){return new N(t,0,{delay:e,onComplete:t,onCompleteParams:n,callbackScope:r,onReverseComplete:t,onReverseCompleteParams:n,immediateRender:!1,lazy:!1,useFrames:o,overwrite:0})},N.set=function(e,t){return new N(e,0,t)},N.getTweensOf=function(e,t){if(null==e)return[];e="string"!=typeof e?e:N.selector(e)||e;var n,r,o,i;if((h(e)||A(e))&&"number"!=typeof e[0]){for(n=e.length,r=[];--n>-1;)r=r.concat(N.getTweensOf(e[n],t));for(n=r.length;--n>-1;)for(i=r[n],o=n;--o>-1;)i===r[o]&&r.splice(n,1)}else for(r=z(e).concat(),n=r.length;--n>-1;)(r[n]._gc||t&&!r[n].isActive())&&r.splice(n,1);return r},N.killTweensOf=N.killDelayedCallsTo=function(e,t,n){"object"==typeof t&&(n=t,t=!1);for(var r=N.getTweensOf(e,t),o=r.length;--o>-1;)r[o]._kill(n,e)};var $=v("plugins.TweenPlugin",function(e,t){this._overwriteProps=(e||"").split(","),this._propName=this._overwriteProps[0],this._priority=t||0,this._super=$.prototype},!0);if(s=$.prototype,$.version="1.10.1",$.API=2,s._firstPT=null,s._addTween=function(e,t,n,r,o,i){var s,a;return null!=r&&(s="number"==typeof r||"="!==r.charAt(1)?Number(r)-Number(n):parseInt(r.charAt(0)+"1",10)*Number(r.substr(2)))?(this._firstPT=a={_next:this._firstPT,t:e,p:t,s:n,c:s,f:"function"==typeof e[t],n:o||t,r:i},a._next&&(a._next._prev=a),a):void 0},s.setRatio=function(e){for(var t,n=this._firstPT,r=1e-6;n;)t=n.c*e+n.s,n.r?t=Math.round(t):r>t&&t>-r&&(t=0),n.f?n.t[n.p](t):n.t[n.p]=t,n=n._next},s._kill=function(e){var t,n=this._overwriteProps,r=this._firstPT;if(null!=e[this._propName])this._overwriteProps=[];else for(t=n.length;--t>-1;)null!=e[n[t]]&&n.splice(t,1);for(;r;)null!=e[r.n]&&(r._next&&(r._next._prev=r._prev),r._prev?(r._prev._next=r._next,r._prev=null):this._firstPT===r&&(this._firstPT=r._next)),r=r._next;return!1},s._roundProps=function(e,t){for(var n=this._firstPT;n;)(e[this._propName]||null!=n.n&&e[n.n.split(this._propName+"_").join("")])&&(n.r=t),n=n._next},N._onPluginEvent=function(e,t){var n,r,o,i,s,a=t._firstPT;if("_onInitAllProps"===e){for(;a;){for(s=a._next,r=o;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:i)?a._prev._next=a:o=a,(a._next=r)?r._prev=a:i=a,a=s}a=t._firstPT=o}for(;a;)a.pg&&"function"==typeof a.t[e]&&a.t[e]()&&(n=!0),a=a._next;return n},$.activate=function(e){for(var t=e.length;--t>-1;)e[t].API===$.API&&(j[(new e[t])._propName]=e[t]);return!0},y.plugin=function(e){if(!(e&&e.propName&&e.init&&e.API))throw"illegal plugin definition.";var t,n=e.propName,r=e.priority||0,o=e.overwriteProps,i={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},s=v("plugins."+n.charAt(0).toUpperCase()+n.substr(1)+"Plugin",function(){$.call(this,n,r),this._overwriteProps=o||[]},e.global===!0),a=s.prototype=new $(n);a.constructor=s,s.API=e.API;for(t in i)"function"==typeof e[t]&&(a[i[t]]=e[t]);return s.version=e.version,$.activate([s]),s},o=e._gsQueue){for(i=0;o.length>i;i++)o[i]();for(s in m)m[s].func||e.console.log("GSAP encountered missing dependency: com.greensock."+s)}u=!1}}("undefined"!=typeof t&&t.exports&&"undefined"!=typeof n?n:this||window,"TweenMax")}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/components/gsap/src/minified/TweenMax.min.js","/components/gsap/src/minified")},{_process:43,buffer:3}],hasher:[function(e,t,n){(function(r,o,i,s,a,u,l,c,f){!function(){var r=function(e){var t=function(t){function n(e){return String(e||"").replace(/\W/g,"\\$&")}function r(e){if(!e)return"";var t=new RegExp("^"+n(p.prependHash)+"|"+n(p.appendHash)+"$","g");return e.replace(t,"")}function o(){var e=T.exec(p.getURL()),t=e&&e[1]||"";try{return p.raw?t:decodeURIComponent(t)}catch(n){return t}}function i(){return y?y.contentWindow.frameHash:null}function s(){y=_.createElement("iframe"),y.src="about:blank",y.style.display="none",_.body.appendChild(y)}function a(){if(y&&h!==i()){var e=y.contentWindow.document;e.open(),e.write("<html><head><title>"+_.title+'</title><script type="text/javascript">var frameHash="'+h+'";</script></head><body>&nbsp;</body></html>'),e.close()}}function u(e,t){if(h!==e){var n=h;h=e,P&&(t?y.contentWindow.frameHash=e:a()),p.changed.dispatch(r(e),r(n))}}function l(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,n)}function c(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent&&e.detachEvent("on"+t,n)}function f(e){e=Array.prototype.slice.call(arguments);var t=e.join(p.separator);return t=t?p.prependHash+t.replace(x,"")+p.appendHash:t}function d(e){return e=encodeURI(e),S&&M&&(e=e.replace(/\?/,"%3F")),e}var p,h,m,g,y,v,b=25,_=t.document,w=(t.history,e.Signal),T=/#(.*)$/,E=/(\?.*)|(\#.*)/,x=/^\#/,S=!1,C="onhashchange"in t&&7!==_.documentMode,P=S&&!C,M="file:"===location.protocol;return v=P?function(){var e=o(),t=i();t!==h&&t!==e?p.setHash(r(t)):e!==h&&u(e)}:function(){var e=o();e!==h&&u(e)},p={VERSION:"1.2.0",raw:!1,appendHash:"",prependHash:"/",separator:"/",changed:new w,stopped:new w,initialized:new w,init:function(){g||(h=o(),C?l(t,"hashchange",v):(P&&(y||s(),a()),m=setInterval(v,b)),g=!0,p.initialized.dispatch(r(h)))},stop:function(){g&&(C?c(t,"hashchange",v):(clearInterval(m),m=null),g=!1,p.stopped.dispatch(r(h)))},isActive:function(){return g},getURL:function(){return t.location.href},getBaseURL:function(){return p.getURL().replace(E,"")},setHash:function(e){e=f.apply(null,arguments),e!==h&&(u(e),e===h&&(p.raw||(e=d(e)),t.location.hash="#"+e))},replaceHash:function(e){e=f.apply(null,arguments),e!==h&&(u(e,!0),e===h&&(p.raw||(e=d(e)),t.location.replace("#"+e)))},getHash:function(){return r(h)},getHashAsArray:function(){return p.getHash().split(p.separator)},dispose:function(){p.stop(),p.initialized.dispose(),p.stopped.dispose(),p.changed.dispose(),y=p=t.hasher=null},toString:function(){return'[hasher version="'+p.VERSION+'" hash="'+p.getHash()+'"]'}},p.initialized.memorize=!0,p}(window);return t};"function"==typeof define&&define.amd?define(["signals"],r):"object"==typeof n?t.exports=r(e("signals")):window.hasher=r(window.signals)}()}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/hasher/dist/js/hasher.js","/node_modules/hasher/dist/js")},{_process:43,buffer:3,signals:202}],is:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){var c,f=Object.prototype,d=f.hasOwnProperty,p=f.toString;"function"==typeof Symbol&&(c=Symbol.prototype.valueOf);var h=function(e){return e!==e},m={"boolean":1,number:1,string:1,undefined:1},g=/^([A-Za-z0-9+\/]{4})*([A-Za-z0-9+\/]{4}|[A-Za-z0-9+\/]{3}=|[A-Za-z0-9+\/]{2}==)$/,y=/^[A-Fa-f0-9]+$/,v=t.exports={};v.a=v.type=function(e,t){return typeof e===t},v.defined=function(e){return"undefined"!=typeof e},v.empty=function(e){var t,n=p.call(e);if("[object Array]"===n||"[object Arguments]"===n||"[object String]"===n)return 0===e.length;if("[object Object]"===n){for(t in e)if(d.call(e,t))return!1;return!0}return!e},v.equal=function(e,t){if(e===t)return!0;var n,r=p.call(e);if(r!==p.call(t))return!1;if("[object Object]"===r){for(n in e)if(!(v.equal(e[n],t[n])&&n in t))return!1;for(n in t)if(!(v.equal(e[n],t[n])&&n in e))return!1;return!0}if("[object Array]"===r){if(n=e.length,n!==t.length)return!1;for(;--n;)if(!v.equal(e[n],t[n]))return!1;return!0}return"[object Function]"===r?e.prototype===t.prototype:"[object Date]"===r?e.getTime()===t.getTime():!1},v.hosted=function(e,t){var n=typeof t[e];return"object"===n?!!t[e]:!m[n]},v.instance=v["instanceof"]=function(e,t){return e instanceof t},v.nil=v["null"]=function(e){return null===e},v.undef=v.undefined=function(e){return"undefined"==typeof e},v.args=v.arguments=function(e){var t="[object Arguments]"===p.call(e),n=!v.array(e)&&v.arraylike(e)&&v.object(e)&&v.fn(e.callee);return t||n},v.array=Array.isArray||function(e){return"[object Array]"===p.call(e)},v.args.empty=function(e){return v.args(e)&&0===e.length},v.array.empty=function(e){return v.array(e)&&0===e.length},v.arraylike=function(e){return!!e&&!v.bool(e)&&d.call(e,"length")&&isFinite(e.length)&&v.number(e.length)&&e.length>=0},v.bool=v["boolean"]=function(e){return"[object Boolean]"===p.call(e)},v["false"]=function(e){return v.bool(e)&&Boolean(Number(e))===!1},v["true"]=function(e){return v.bool(e)&&Boolean(Number(e))===!0},v.date=function(e){return"[object Date]"===p.call(e)},v.element=function(e){return void 0!==e&&"undefined"!=typeof HTMLElement&&e instanceof HTMLElement&&1===e.nodeType},v.error=function(e){return"[object Error]"===p.call(e)},v.fn=v["function"]=function(e){var t="undefined"!=typeof window&&e===window.alert;return t||"[object Function]"===p.call(e)},v.number=function(e){return"[object Number]"===p.call(e)},v.infinite=function(e){return e===1/0||e===-(1/0)},v.decimal=function(e){return v.number(e)&&!h(e)&&!v.infinite(e)&&e%1!==0},v.divisibleBy=function(e,t){var n=v.infinite(e),r=v.infinite(t),o=v.number(e)&&!h(e)&&v.number(t)&&!h(t)&&0!==t;return n||r||o&&e%t===0},v.integer=v["int"]=function(e){return v.number(e)&&!h(e)&&e%1===0},v.maximum=function(e,t){if(h(e))throw new TypeError("NaN is not a valid value");if(!v.arraylike(t))throw new TypeError("second argument must be array-like");for(var n=t.length;--n>=0;)if(e<t[n])return!1;return!0},v.minimum=function(e,t){if(h(e))throw new TypeError("NaN is not a valid value");if(!v.arraylike(t))throw new TypeError("second argument must be array-like");for(var n=t.length;--n>=0;)if(e>t[n])return!1;return!0},v.nan=function(e){return!v.number(e)||e!==e},v.even=function(e){return v.infinite(e)||v.number(e)&&e===e&&e%2===0},v.odd=function(e){return v.infinite(e)||v.number(e)&&e===e&&e%2!==0},v.ge=function(e,t){if(h(e)||h(t))throw new TypeError("NaN is not a valid value");return!v.infinite(e)&&!v.infinite(t)&&e>=t},v.gt=function(e,t){if(h(e)||h(t))throw new TypeError("NaN is not a valid value");return!v.infinite(e)&&!v.infinite(t)&&e>t},v.le=function(e,t){if(h(e)||h(t))throw new TypeError("NaN is not a valid value");return!v.infinite(e)&&!v.infinite(t)&&t>=e},v.lt=function(e,t){if(h(e)||h(t))throw new TypeError("NaN is not a valid value");return!v.infinite(e)&&!v.infinite(t)&&t>e},v.within=function(e,t,n){if(h(e)||h(t)||h(n))throw new TypeError("NaN is not a valid value");if(!v.number(e)||!v.number(t)||!v.number(n))throw new TypeError("all arguments must be numbers");var r=v.infinite(e)||v.infinite(t)||v.infinite(n);return r||e>=t&&n>=e},v.object=function(e){return"[object Object]"===p.call(e)},v.hash=function(e){return v.object(e)&&e.constructor===Object&&!e.nodeType&&!e.setInterval},v.regexp=function(e){return"[object RegExp]"===p.call(e)},v.string=function(e){return"[object String]"===p.call(e)},v.base64=function(e){return v.string(e)&&(!e.length||g.test(e))},v.hex=function(e){return v.string(e)&&(!e.length||y.test(e))},v.symbol=function(e){return"function"==typeof Symbol&&"[object Symbol]"===p.call(e)&&"symbol"==typeof c.call(e)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/is/index.js","/node_modules/is")},{_process:43,buffer:3}],"jquery-mousewheel":[function(e,t,n){(function(e,r,o,i,s,a,u,l,c){!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof n?t.exports=e:e(jQuery)}(function(e){function t(t){var s=t||window.event,a=u.call(arguments,1),l=0,f=0,d=0,p=0,h=0,m=0;if(t=e.event.fix(s),t.type="mousewheel","detail"in s&&(d=-1*s.detail),"wheelDelta"in s&&(d=s.wheelDelta),"wheelDeltaY"in s&&(d=s.wheelDeltaY),"wheelDeltaX"in s&&(f=-1*s.wheelDeltaX),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(f=-1*d,d=0),l=0===d?f:d,"deltaY"in s&&(d=-1*s.deltaY,l=d),"deltaX"in s&&(f=s.deltaX,0===d&&(l=-1*f)),0!==d||0!==f){if(1===s.deltaMode){var g=e.data(this,"mousewheel-line-height");l*=g,d*=g,f*=g}else if(2===s.deltaMode){var y=e.data(this,"mousewheel-page-height");l*=y,d*=y,f*=y}if(p=Math.max(Math.abs(d),Math.abs(f)),(!i||i>p)&&(i=p,r(s,p)&&(i/=40)),r(s,p)&&(l/=40,f/=40,d/=40),l=Math[l>=1?"floor":"ceil"](l/i),f=Math[f>=1?"floor":"ceil"](f/i),d=Math[d>=1?"floor":"ceil"](d/i),c.settings.normalizeOffset&&this.getBoundingClientRect){var v=this.getBoundingClientRect();h=t.clientX-v.left,m=t.clientY-v.top}return t.deltaX=f,t.deltaY=d,t.deltaFactor=i,t.offsetX=h,t.offsetY=m,t.deltaMode=0,a.unshift(t,l,f,d),o&&clearTimeout(o),o=setTimeout(n,200),(e.event.dispatch||e.event.handle).apply(this,a)}}function n(){i=null}function r(e,t){return c.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120===0}var o,i,s=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],a="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],u=Array.prototype.slice;if(e.event.fixHooks)for(var l=s.length;l;)e.event.fixHooks[s[--l]]=e.event.mouseHooks;var c=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var n=a.length;n;)this.addEventListener(a[--n],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",c.getLineHeight(this)),e.data(this,"mousewheel-page-height",c.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var n=a.length;n;)this.removeEventListener(a[--n],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var n=e(t),r=n["offsetParent"in e.fn?"offsetParent":"parent"]();return r.length||(r=e("body")),parseInt(r.css("fontSize"),10)||parseInt(n.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel"); },unmousewheel:function(e){return this.unbind("mousewheel",e)}})})}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/components/jquery-mousewheel/jquery.mousewheel.js","/components/jquery-mousewheel")},{_process:43,buffer:3}],"jquery-touchswipe":[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){!function(n){"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],n):n("undefined"!=typeof t&&t.exports?e("jquery"):jQuery)}(function(e){function t(t){return!t||void 0!==t.allowPageScroll||void 0===t.swipe&&void 0===t.swipeStatus||(t.allowPageScroll=c),void 0!==t.click&&void 0===t.tap&&(t.tap=t.click),t||(t={}),t=e.extend({},e.fn.swipe.defaults,t),this.each(function(){var r=e(this),o=r.data(M);o||(o=new n(this,t),r.data(M,o))})}function n(t,n){function r(t){if(!(le()||e(t.target).closest(n.excludedElements,We).length>0)){var r,o=t.originalEvent?t.originalEvent:t,i=o.touches,s=i?i[0]:o;return qe=w,i?Xe=i.length:n.preventDefaultEvents!==!1&&t.preventDefault(),Ie=0,Be=null,ke=null,Ue=null,Le=0,je=0,Ge=0,He=1,Ve=0,Fe=ge(),ae(),fe(0,s),!i||Xe===n.fingers||n.fingers===b||F()?(Ye=Se(),2==Xe&&(fe(1,i[1]),je=Ge=be(ze[0].start,ze[1].start)),(n.swipeStatus||n.pinchStatus)&&(r=B(o,qe))):r=!1,r===!1?(qe=x,B(o,qe),r):(n.hold&&(et=setTimeout(e.proxy(function(){We.trigger("hold",[o.target]),n.hold&&(r=n.hold.call(We,o,o.target))},this),n.longTapThreshold)),ce(!0),null)}}function R(e){var t=e.originalEvent?e.originalEvent:e;if(qe!==E&&qe!==x&&!ue()){var r,o=t.touches,i=o?o[0]:t,s=de(i);if(Ke=Se(),o&&(Xe=o.length),n.hold&&clearTimeout(et),qe=T,2==Xe&&(0==je?(fe(1,o[1]),je=Ge=be(ze[0].start,ze[1].start)):(de(o[1]),Ge=be(ze[0].end,ze[1].end),Ue=we(ze[0].end,ze[1].end)),He=_e(je,Ge),Ve=Math.abs(je-Ge)),Xe===n.fingers||n.fingers===b||!o||F()){if(Be=xe(s.start,s.end),ke=xe(s.last,s.end),V(e,ke),Ie=Te(s.start,s.end),Le=ve(),he(Be,Ie),r=B(t,qe),!n.triggerOnTouchEnd||n.triggerOnTouchLeave){var a=!0;if(n.triggerOnTouchLeave){var u=Ce(this);a=Pe(s.end,u)}!n.triggerOnTouchEnd&&a?qe=I(T):n.triggerOnTouchLeave&&!a&&(qe=I(E)),(qe==x||qe==E)&&B(t,qe)}}else qe=x,B(t,qe);r===!1&&(qe=x,B(t,qe))}}function D(e){var t=e.originalEvent?e.originalEvent:e,r=t.touches;if(r){if(r.length&&!ue())return se(t),!0;if(r.length&&ue())return!0}return ue()&&(Xe=$e),Ke=Se(),Le=ve(),j()||!L()?(qe=x,B(t,qe)):n.triggerOnTouchEnd||0==n.triggerOnTouchEnd&&qe===T?(n.preventDefaultEvents!==!1&&e.preventDefault(),qe=E,B(t,qe)):!n.triggerOnTouchEnd&&Q()?(qe=E,k(t,qe,h)):qe===T&&(qe=x,B(t,qe)),ce(!1),null}function O(){Xe=0,Ke=0,Ye=0,je=0,Ge=0,He=1,ae(),ce(!1)}function N(e){var t=e.originalEvent?e.originalEvent:e;n.triggerOnTouchLeave&&(qe=I(E),B(t,qe))}function A(){We.unbind(Re,r),We.unbind(Ae,O),We.unbind(De,R),We.unbind(Oe,D),Ne&&We.unbind(Ne,N),ce(!1)}function I(e){var t=e,r=H(),o=L(),i=j();return!r||i?t=x:!o||e!=T||n.triggerOnTouchEnd&&!n.triggerOnTouchLeave?!o&&e==E&&n.triggerOnTouchLeave&&(t=x):t=E,t}function B(e,t){var n,r=e.touches;return(z()||X())&&(n=k(e,t,d)),(W()||F())&&n!==!1&&(n=k(e,t,p)),oe()&&n!==!1?n=k(e,t,m):ie()&&n!==!1?n=k(e,t,g):re()&&n!==!1&&(n=k(e,t,h)),t===x&&(X()&&(n=k(e,t,d)),F()&&(n=k(e,t,p)),O(e)),t===E&&(r?r.length||O(e):O(e)),n}function k(t,r,c){var f;if(c==d){if(We.trigger("swipeStatus",[r,Be||null,Ie||0,Le||0,Xe,ze,ke]),n.swipeStatus&&(f=n.swipeStatus.call(We,t,r,Be||null,Ie||0,Le||0,Xe,ze,ke),f===!1))return!1;if(r==E&&q()){if(clearTimeout(Je),clearTimeout(et),We.trigger("swipe",[Be,Ie,Le,Xe,ze,ke]),n.swipe&&(f=n.swipe.call(We,t,Be,Ie,Le,Xe,ze,ke),f===!1))return!1;switch(Be){case o:We.trigger("swipeLeft",[Be,Ie,Le,Xe,ze,ke]),n.swipeLeft&&(f=n.swipeLeft.call(We,t,Be,Ie,Le,Xe,ze,ke));break;case i:We.trigger("swipeRight",[Be,Ie,Le,Xe,ze,ke]),n.swipeRight&&(f=n.swipeRight.call(We,t,Be,Ie,Le,Xe,ze,ke));break;case s:We.trigger("swipeUp",[Be,Ie,Le,Xe,ze,ke]),n.swipeUp&&(f=n.swipeUp.call(We,t,Be,Ie,Le,Xe,ze,ke));break;case a:We.trigger("swipeDown",[Be,Ie,Le,Xe,ze,ke]),n.swipeDown&&(f=n.swipeDown.call(We,t,Be,Ie,Le,Xe,ze,ke))}}}if(c==p){if(We.trigger("pinchStatus",[r,Ue||null,Ve||0,Le||0,Xe,He,ze]),n.pinchStatus&&(f=n.pinchStatus.call(We,t,r,Ue||null,Ve||0,Le||0,Xe,He,ze),f===!1))return!1;if(r==E&&U())switch(Ue){case u:We.trigger("pinchIn",[Ue||null,Ve||0,Le||0,Xe,He,ze]),n.pinchIn&&(f=n.pinchIn.call(We,t,Ue||null,Ve||0,Le||0,Xe,He,ze));break;case l:We.trigger("pinchOut",[Ue||null,Ve||0,Le||0,Xe,He,ze]),n.pinchOut&&(f=n.pinchOut.call(We,t,Ue||null,Ve||0,Le||0,Xe,He,ze))}}return c==h?(r===x||r===E)&&(clearTimeout(Je),clearTimeout(et),$()&&!ee()?(Ze=Se(),Je=setTimeout(e.proxy(function(){Ze=null,We.trigger("tap",[t.target]),n.tap&&(f=n.tap.call(We,t,t.target))},this),n.doubleTapThreshold)):(Ze=null,We.trigger("tap",[t.target]),n.tap&&(f=n.tap.call(We,t,t.target)))):c==m?(r===x||r===E)&&(clearTimeout(Je),clearTimeout(et),Ze=null,We.trigger("doubletap",[t.target]),n.doubleTap&&(f=n.doubleTap.call(We,t,t.target))):c==g&&(r===x||r===E)&&(clearTimeout(Je),Ze=null,We.trigger("longtap",[t.target]),n.longTap&&(f=n.longTap.call(We,t,t.target))),f}function L(){var e=!0;return null!==n.threshold&&(e=Ie>=n.threshold),e}function j(){var e=!1;return null!==n.cancelThreshold&&null!==Be&&(e=me(Be)-Ie>=n.cancelThreshold),e}function G(){return null!==n.pinchThreshold?Ve>=n.pinchThreshold:!0}function H(){var e;return e=n.maxTimeThreshold&&Le>=n.maxTimeThreshold?!1:!0}function V(e,t){if(n.preventDefaultEvents!==!1)if(n.allowPageScroll===c)e.preventDefault();else{var r=n.allowPageScroll===f;switch(t){case o:(n.swipeLeft&&r||!r&&n.allowPageScroll!=y)&&e.preventDefault();break;case i:(n.swipeRight&&r||!r&&n.allowPageScroll!=y)&&e.preventDefault();break;case s:(n.swipeUp&&r||!r&&n.allowPageScroll!=v)&&e.preventDefault();break;case a:(n.swipeDown&&r||!r&&n.allowPageScroll!=v)&&e.preventDefault()}}}function U(){var e=Y(),t=K(),n=G();return e&&t&&n}function F(){return!!(n.pinchStatus||n.pinchIn||n.pinchOut)}function W(){return!(!U()||!F())}function q(){var e=H(),t=L(),n=Y(),r=K(),o=j(),i=!o&&r&&n&&t&&e;return i}function X(){return!!(n.swipe||n.swipeStatus||n.swipeLeft||n.swipeRight||n.swipeUp||n.swipeDown)}function z(){return!(!q()||!X())}function Y(){return Xe===n.fingers||n.fingers===b||!S}function K(){return 0!==ze[0].end.x}function Q(){return!!n.tap}function $(){return!!n.doubleTap}function Z(){return!!n.longTap}function J(){if(null==Ze)return!1;var e=Se();return $()&&e-Ze<=n.doubleTapThreshold}function ee(){return J()}function te(){return(1===Xe||!S)&&(isNaN(Ie)||Ie<n.threshold)}function ne(){return Le>n.longTapThreshold&&_>Ie}function re(){return!(!te()||!Q())}function oe(){return!(!J()||!$())}function ie(){return!(!ne()||!Z())}function se(e){Qe=Se(),$e=e.touches.length+1}function ae(){Qe=0,$e=0}function ue(){var e=!1;if(Qe){var t=Se()-Qe;t<=n.fingerReleaseThreshold&&(e=!0)}return e}function le(){return!(We.data(M+"_intouch")!==!0)}function ce(e){We&&(e===!0?(We.bind(De,R),We.bind(Oe,D),Ne&&We.bind(Ne,N)):(We.unbind(De,R,!1),We.unbind(Oe,D,!1),Ne&&We.unbind(Ne,N,!1)),We.data(M+"_intouch",e===!0))}function fe(e,t){var n={start:{x:0,y:0},last:{x:0,y:0},end:{x:0,y:0}};return n.start.x=n.last.x=n.end.x=t.pageX||t.clientX,n.start.y=n.last.y=n.end.y=t.pageY||t.clientY,ze[e]=n,n}function de(e){var t=void 0!==e.identifier?e.identifier:0,n=pe(t);return null===n&&(n=fe(t,e)),n.last.x=n.end.x,n.last.y=n.end.y,n.end.x=e.pageX||e.clientX,n.end.y=e.pageY||e.clientY,n}function pe(e){return ze[e]||null}function he(e,t){t=Math.max(t,me(e)),Fe[e].distance=t}function me(e){return Fe[e]?Fe[e].distance:void 0}function ge(){var e={};return e[o]=ye(o),e[i]=ye(i),e[s]=ye(s),e[a]=ye(a),e}function ye(e){return{direction:e,distance:0}}function ve(){return Ke-Ye}function be(e,t){var n=Math.abs(e.x-t.x),r=Math.abs(e.y-t.y);return Math.round(Math.sqrt(n*n+r*r))}function _e(e,t){var n=t/e*1;return n.toFixed(2)}function we(){return 1>He?l:u}function Te(e,t){return Math.round(Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)))}function Ee(e,t){var n=e.x-t.x,r=t.y-e.y,o=Math.atan2(r,n),i=Math.round(180*o/Math.PI);return 0>i&&(i=360-Math.abs(i)),i}function xe(e,t){var n=Ee(e,t);return 45>=n&&n>=0?o:360>=n&&n>=315?o:n>=135&&225>=n?i:n>45&&135>n?a:s}function Se(){var e=new Date;return e.getTime()}function Ce(t){t=e(t);var n=t.offset(),r={left:n.left,right:n.left+t.outerWidth(),top:n.top,bottom:n.top+t.outerHeight()};return r}function Pe(e,t){return e.x>t.left&&e.x<t.right&&e.y>t.top&&e.y<t.bottom}var n=e.extend({},n),Me=S||P||!n.fallbackToMouseEvents,Re=Me?P?C?"MSPointerDown":"pointerdown":"touchstart":"mousedown",De=Me?P?C?"MSPointerMove":"pointermove":"touchmove":"mousemove",Oe=Me?P?C?"MSPointerUp":"pointerup":"touchend":"mouseup",Ne=Me?P?"mouseleave":null:"mouseleave",Ae=P?C?"MSPointerCancel":"pointercancel":"touchcancel",Ie=0,Be=null,ke=null,Le=0,je=0,Ge=0,He=1,Ve=0,Ue=0,Fe=null,We=e(t),qe="start",Xe=0,ze={},Ye=0,Ke=0,Qe=0,$e=0,Ze=0,Je=null,et=null;try{We.bind(Re,r),We.bind(Ae,O)}catch(tt){e.error("events not supported "+Re+","+Ae+" on jQuery.swipe")}this.enable=function(){return We.bind(Re,r),We.bind(Ae,O),We},this.disable=function(){return A(),We},this.destroy=function(){A(),We.data(M,null),We=null},this.option=function(t,r){if("object"==typeof t)n=e.extend(n,t);else if(void 0!==n[t]){if(void 0===r)return n[t];n[t]=r}else{if(!t)return n;e.error("Option "+t+" does not exist on jQuery.swipe.options")}return null}}var r="1.6.15",o="left",i="right",s="up",a="down",u="in",l="out",c="none",f="auto",d="swipe",p="pinch",h="tap",m="doubletap",g="longtap",y="horizontal",v="vertical",b="all",_=10,w="start",T="move",E="end",x="cancel",S="ontouchstart"in window,C=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled&&!S,P=(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&!S,M="TouchSwipe",R={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:"label, button, input, select, textarea, a, .noSwipe",preventDefaultEvents:!0};e.fn.swipe=function(n){var r=e(this),o=r.data(M);if(o&&"string"==typeof n){if(o[n])return o[n].apply(this,Array.prototype.slice.call(arguments,1));e.error("Method "+n+" does not exist on jQuery.swipe")}else if(o&&"object"==typeof n)o.option.apply(this,arguments);else if(!(o||"object"!=typeof n&&n))return t.apply(this,arguments);return r},e.fn.swipe.version=r,e.fn.swipe.defaults=R,e.fn.swipe.phases={PHASE_START:w,PHASE_MOVE:T,PHASE_END:E,PHASE_CANCEL:x},e.fn.swipe.directions={LEFT:o,RIGHT:i,UP:s,DOWN:a,IN:u,OUT:l},e.fn.swipe.pageScroll={NONE:c,HORIZONTAL:y,VERTICAL:v,AUTO:f},e.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,FOUR:4,FIVE:5,ALL:b}})}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/jquery-touchswipe/jquery.touchSwipe.min.js","/node_modules/jquery-touchswipe")},{_process:43,buffer:3,jquery:"jquery"}],jquery:[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){!function(e,n){"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=!!e&&"length"in e&&e.length,n=ie.type(e);return"function"===n||ie.isWindow(e)?!1:"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e}function r(e,t,n){if(ie.isFunction(t))return ie.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return ie.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(me.test(t))return ie.filter(t,e,n);t=ie.filter(t,e)}return ie.grep(e,function(e){return J.call(t,e)>-1!==n})}function o(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function i(e){var t={};return ie.each(e.match(we)||[],function(e,n){t[n]=!0}),t}function s(){K.removeEventListener("DOMContentLoaded",s),e.removeEventListener("load",s),ie.ready()}function a(){this.expando=ie.expando+a.uid++}function u(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Me,"-$&").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Pe.test(n)?ie.parseJSON(n):n}catch(o){}Ce.set(e,t,n)}else n=void 0;return n}function l(e,t,n,r){var o,i=1,s=20,a=r?function(){return r.cur()}:function(){return ie.css(e,t,"")},u=a(),l=n&&n[3]||(ie.cssNumber[t]?"":"px"),c=(ie.cssNumber[t]||"px"!==l&&+u)&&De.exec(ie.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do i=i||".5",c/=i,ie.style(e,t,c+l);while(i!==(i=a()/u)&&1!==i&&--s)}return n&&(c=+c||+u||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=o)),o}function c(e,t){var n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&ie.nodeName(e,t)?ie.merge([e],n):n}function f(e,t){for(var n=0,r=e.length;r>n;n++)Se.set(e[n],"globalEval",!t||Se.get(t[n],"globalEval"))}function d(e,t,n,r,o){for(var i,s,a,u,l,d,p=t.createDocumentFragment(),h=[],m=0,g=e.length;g>m;m++)if(i=e[m],i||0===i)if("object"===ie.type(i))ie.merge(h,i.nodeType?[i]:i);else if(Le.test(i)){for(s=s||p.appendChild(t.createElement("div")),a=(Ie.exec(i)||["",""])[1].toLowerCase(),u=ke[a]||ke._default,s.innerHTML=u[1]+ie.htmlPrefilter(i)+u[2],d=u[0];d--;)s=s.lastChild;ie.merge(h,s.childNodes),s=p.firstChild,s.textContent=""}else h.push(t.createTextNode(i));for(p.textContent="",m=0;i=h[m++];)if(r&&ie.inArray(i,r)>-1)o&&o.push(i);else if(l=ie.contains(i.ownerDocument,i),s=c(p.appendChild(i),"script"),l&&f(s),n)for(d=0;i=s[d++];)Be.test(i.type||"")&&n.push(i);return p}function p(){return!0}function h(){return!1}function m(){try{return K.activeElement}catch(e){}}function g(e,t,n,r,o,i){var s,a;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(a in t)g(e,a,n,r,t[a],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),o===!1)o=h;else if(!o)return this;return 1===i&&(s=o,o=function(e){return ie().off(e),s.apply(this,arguments)},o.guid=s.guid||(s.guid=ie.guid++)),e.each(function(){ie.event.add(this,t,o,r,n)})}function y(e,t){return ie.nodeName(e,"table")&&ie.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e:e}function v(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function b(e){var t=We.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function _(e,t){var n,r,o,i,s,a,u,l;if(1===t.nodeType){if(Se.hasData(e)&&(i=Se.access(e),s=Se.set(t,i),l=i.events)){delete s.handle,s.events={};for(o in l)for(n=0,r=l[o].length;r>n;n++)ie.event.add(t,o,l[o][n])}Ce.hasData(e)&&(a=Ce.access(e),u=ie.extend({},a),Ce.set(t,u))}}function w(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ae.test(e.type)?t.checked=e.checked:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}function T(e,t,n,r){t=$.apply([],t);var o,i,s,a,u,l,f=0,p=e.length,h=p-1,m=t[0],g=ie.isFunction(m);if(g||p>1&&"string"==typeof m&&!re.checkClone&&Fe.test(m))return e.each(function(o){var i=e.eq(o);g&&(t[0]=m.call(this,o,i.html())),T(i,t,n,r)});if(p&&(o=d(t,e[0].ownerDocument,!1,e,r),i=o.firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=ie.map(c(o,"script"),v),a=s.length;p>f;f++)u=o,f!==h&&(u=ie.clone(u,!0,!0),a&&ie.merge(s,c(u,"script"))),n.call(e[f],u,f);if(a)for(l=s[s.length-1].ownerDocument,ie.map(s,b),f=0;a>f;f++)u=s[f],Be.test(u.type||"")&&!Se.access(u,"globalEval")&&ie.contains(l,u)&&(u.src?ie._evalUrl&&ie._evalUrl(u.src):ie.globalEval(u.textContent.replace(qe,"")))}return e}function E(e,t,n){for(var r,o=t?ie.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||ie.cleanData(c(r)),r.parentNode&&(n&&ie.contains(r.ownerDocument,r)&&f(c(r,"script")),r.parentNode.removeChild(r));return e}function x(e,t){var n=ie(t.createElement(e)).appendTo(t.body),r=ie.css(n[0],"display");return n.detach(),r}function S(e){var t=K,n=ze[e];return n||(n=x(e,t),"none"!==n&&n||(Xe=(Xe||ie("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=Xe[0].contentDocument,t.write(),t.close(),n=x(e,t),Xe.detach()),ze[e]=n),n}function C(e,t,n){var r,o,i,s,a=e.style;return n=n||Qe(e),n&&(s=n.getPropertyValue(t)||n[t],""!==s||ie.contains(e.ownerDocument,e)||(s=ie.style(e,t)),!re.pixelMarginRight()&&Ke.test(s)&&Ye.test(t)&&(r=a.width,o=a.minWidth,i=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=o,a.maxWidth=i)),void 0!==s?s+"":s}function P(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function M(e){if(e in rt)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=nt.length;n--;)if(e=nt[n]+t,e in rt)return e}function R(e,t,n){var r=De.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function D(e,t,n,r,o){for(var i=n===(r?"border":"content")?4:"width"===t?1:0,s=0;4>i;i+=2)"margin"===n&&(s+=ie.css(e,n+Oe[i],!0,o)),r?("content"===n&&(s-=ie.css(e,"padding"+Oe[i],!0,o)),"margin"!==n&&(s-=ie.css(e,"border"+Oe[i]+"Width",!0,o))):(s+=ie.css(e,"padding"+Oe[i],!0,o),"padding"!==n&&(s+=ie.css(e,"border"+Oe[i]+"Width",!0,o)));return s}function O(t,n,r){var o=!0,i="width"===n?t.offsetWidth:t.offsetHeight,s=Qe(t),a="border-box"===ie.css(t,"boxSizing",!1,s);if(K.msFullscreenElement&&e.top!==e&&t.getClientRects().length&&(i=Math.round(100*t.getBoundingClientRect()[n])),0>=i||null==i){if(i=C(t,n,s),(0>i||null==i)&&(i=t.style[n]),Ke.test(i))return i;o=a&&(re.boxSizingReliable()||i===t.style[n]),i=parseFloat(i)||0}return i+D(t,n,r||(a?"border":"content"),o,s)+"px"}function N(e,t){for(var n,r,o,i=[],s=0,a=e.length;a>s;s++)r=e[s],r.style&&(i[s]=Se.get(r,"olddisplay"),n=r.style.display,t?(i[s]||"none"!==n||(r.style.display=""),""===r.style.display&&Ne(r)&&(i[s]=Se.access(r,"olddisplay",S(r.nodeName)))):(o=Ne(r),"none"===n&&o||Se.set(r,"olddisplay",o?n:ie.css(r,"display"))));for(s=0;a>s;s++)r=e[s],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?i[s]||"":"none"));return e}function A(e,t,n,r,o){return new A.prototype.init(e,t,n,r,o)}function I(){return e.setTimeout(function(){ot=void 0}),ot=ie.now()}function B(e,t){var n,r=0,o={height:e};for(t=t?1:0;4>r;r+=2-t)n=Oe[r],o["margin"+n]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function k(e,t,n){for(var r,o=(G.tweeners[t]||[]).concat(G.tweeners["*"]),i=0,s=o.length;s>i;i++)if(r=o[i].call(n,t,e))return r}function L(e,t,n){var r,o,i,s,a,u,l,c,f=this,d={},p=e.style,h=e.nodeType&&Ne(e),m=Se.get(e,"fxshow");n.queue||(a=ie._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,f.always(function(){f.always(function(){a.unqueued--,ie.queue(e,"fx").length||a.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],l=ie.css(e,"display"),c="none"===l?Se.get(e,"olddisplay")||S(e.nodeName):l,"inline"===c&&"none"===ie.css(e,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(o=t[r],st.exec(o)){if(delete t[r],i=i||"toggle"===o,o===(h?"hide":"show")){if("show"!==o||!m||void 0===m[r])continue;h=!0}d[r]=m&&m[r]||ie.style(e,r)}else l=void 0;if(ie.isEmptyObject(d))"inline"===("none"===l?S(e.nodeName):l)&&(p.display=l);else{m?"hidden"in m&&(h=m.hidden):m=Se.access(e,"fxshow",{}),i&&(m.hidden=!h),h?ie(e).show():f.done(function(){ie(e).hide()}),f.done(function(){var t;Se.remove(e,"fxshow");for(t in d)ie.style(e,t,d[t])});for(r in d)s=k(h?m[r]:0,r,f),r in m||(m[r]=s.start,h&&(s.end=s.start,s.start="width"===r||"height"===r?1:0))}}function j(e,t){var n,r,o,i,s;for(n in e)if(r=ie.camelCase(n),o=t[r],i=e[n],ie.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),s=ie.cssHooks[r],s&&"expand"in s){i=s.expand(i),delete e[r];for(n in i)n in e||(e[n]=i[n],t[n]=o)}else t[r]=o}function G(e,t,n){var r,o,i=0,s=G.prefilters.length,a=ie.Deferred().always(function(){delete u.elem}),u=function(){if(o)return!1;for(var t=ot||I(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,i=1-r,s=0,u=l.tweens.length;u>s;s++)l.tweens[s].run(i);return a.notifyWith(e,[l,i,n]),1>i&&u?n:(a.resolveWith(e,[l]),!1)},l=a.promise({elem:e,props:ie.extend({},t),opts:ie.extend(!0,{specialEasing:{},easing:ie.easing._default},n),originalProperties:t,originalOptions:n,startTime:ot||I(),duration:n.duration,tweens:[],createTween:function(t,n){var r=ie.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(o)return this;for(o=!0;r>n;n++)l.tweens[n].run(1);return t?(a.notifyWith(e,[l,1,0]),a.resolveWith(e,[l,t])):a.rejectWith(e,[l,t]),this}}),c=l.props;for(j(c,l.opts.specialEasing);s>i;i++)if(r=G.prefilters[i].call(l,e,c,l.opts))return ie.isFunction(r.stop)&&(ie._queueHooks(l.elem,l.opts.queue).stop=ie.proxy(r.stop,r)),r;return ie.map(c,k,l),ie.isFunction(l.opts.start)&&l.opts.start.call(e,l),ie.fx.timer(ie.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function H(e){return e.getAttribute&&e.getAttribute("class")||""}function V(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(we)||[];if(ie.isFunction(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function U(e,t,n,r){function o(a){var u;return i[a]=!0,ie.each(e[a]||[],function(e,a){var l=a(t,n,r);return"string"!=typeof l||s||i[l]?s?!(u=l):void 0:(t.dataTypes.unshift(l),o(l),!1)}),u}var i={},s=e===St;return o(t.dataTypes[0])||!i["*"]&&o("*")}function F(e,t){var n,r,o=ie.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&ie.extend(!0,e,r),e}function W(e,t,n){for(var r,o,i,s,a=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in a)if(a[o]&&a[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||e.converters[o+" "+u[0]]){i=o;break}s||(s=o)}i=i||s}return i?(i!==u[0]&&u.unshift(i),n[i]):void 0}function q(e,t,n,r){var o,i,s,a,u,l={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)l[s.toLowerCase()]=e.converters[s];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=i,i=c.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(s=l[u+" "+i]||l["* "+i],!s)for(o in l)if(a=o.split(" "),a[1]===i&&(s=l[u+" "+a[0]]||l["* "+a[0]])){s===!0?s=l[o]:l[o]!==!0&&(i=a[0],c.unshift(a[1]));break}if(s!==!0)if(s&&e["throws"])t=s(t);else try{t=s(t)}catch(f){return{state:"parsererror",error:s?f:"No conversion from "+u+" to "+i}}}return{state:"success",data:t}}function X(e,t,n,r){var o;if(ie.isArray(t))ie.each(t,function(t,o){n||Rt.test(e)?r(e,o):X(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==ie.type(t))r(e,t);else for(o in t)X(e+"["+o+"]",t[o],n,r)}function z(e){return ie.isWindow(e)?e:9===e.nodeType&&e.defaultView}var Y=[],K=e.document,Q=Y.slice,$=Y.concat,Z=Y.push,J=Y.indexOf,ee={},te=ee.toString,ne=ee.hasOwnProperty,re={},oe="2.2.0",ie=function(e,t){return new ie.fn.init(e,t)},se=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ae=/^-ms-/,ue=/-([\da-z])/gi,le=function(e,t){return t.toUpperCase()};ie.fn=ie.prototype={jquery:oe,constructor:ie,selector:"",length:0,toArray:function(){return Q.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:Q.call(this)},pushStack:function(e){var t=ie.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return ie.each(this,e)},map:function(e){return this.pushStack(ie.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(Q.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:Z,sort:Y.sort,splice:Y.splice},ie.extend=ie.fn.extend=function(){var e,t,n,r,o,i,s=arguments[0]||{},a=1,u=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||ie.isFunction(s)||(s={}),a===u&&(s=this,a--);u>a;a++)if(null!=(e=arguments[a]))for(t in e)n=s[t],r=e[t],s!==r&&(l&&r&&(ie.isPlainObject(r)||(o=ie.isArray(r)))?(o?(o=!1,i=n&&ie.isArray(n)?n:[]):i=n&&ie.isPlainObject(n)?n:{},s[t]=ie.extend(l,i,r)):void 0!==r&&(s[t]=r));return s},ie.extend({expando:"jQuery"+(oe+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===ie.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!ie.isArray(e)&&t-parseFloat(t)+1>=0},isPlainObject:function(e){return"object"!==ie.type(e)||e.nodeType||ie.isWindow(e)?!1:e.constructor&&!ne.call(e.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ee[te.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;e=ie.trim(e),e&&(1===e.indexOf("use strict")?(t=K.createElement("script"),t.text=e,K.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(ae,"ms-").replace(ue,le)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var r,o=0;if(n(e))for(r=e.length;r>o&&t.call(e[o],o,e[o])!==!1;o++);else for(o in e)if(t.call(e[o],o,e[o])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(se,"")},makeArray:function(e,t){var r=t||[];return null!=e&&(n(Object(e))?ie.merge(r,"string"==typeof e?[e]:e):Z.call(r,e)),r},inArray:function(e,t,n){return null==t?-1:J.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;n>r;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r,o=[],i=0,s=e.length,a=!n;s>i;i++)r=!t(e[i],i),r!==a&&o.push(e[i]);return o},map:function(e,t,r){var o,i,s=0,a=[];if(n(e))for(o=e.length;o>s;s++)i=t(e[s],s,r),null!=i&&a.push(i);else for(s in e)i=t(e[s],s,r),null!=i&&a.push(i);return $.apply([],a)},guid:1,proxy:function(e,t){var n,r,o;return"string"==typeof t&&(n=e[t],t=e,e=n),ie.isFunction(e)?(r=Q.call(arguments,2),o=function(){return e.apply(t||this,r.concat(Q.call(arguments)))},o.guid=e.guid=e.guid||ie.guid++,o):void 0},now:Date.now,support:re}),"function"==typeof Symbol&&(ie.fn[Symbol.iterator]=Y[Symbol.iterator]),ie.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){ee["[object "+t+"]"]=t.toLowerCase()});var ce=function(e){function t(e,t,n,r){var o,i,s,a,u,l,f,p,h=t&&t.ownerDocument,m=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return n;if(!r&&((t?t.ownerDocument||t:H)!==N&&O(t),t=t||N,I)){if(11!==m&&(l=ye.exec(e)))if(o=l[1]){if(9===m){if(!(s=t.getElementById(o)))return n;if(s.id===o)return n.push(s),n}else if(h&&(s=h.getElementById(o))&&j(t,s)&&s.id===o)return n.push(s),n}else{if(l[2])return Z.apply(n,t.getElementsByTagName(e)),n;if((o=l[3])&&w.getElementsByClassName&&t.getElementsByClassName)return Z.apply(n,t.getElementsByClassName(o)),n}if(w.qsa&&!q[e+" "]&&(!B||!B.test(e))){if(1!==m)h=t,p=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(be,"\\$&"):t.setAttribute("id",a=G),f=S(e),i=f.length,u=de.test(a)?"#"+a:"[id='"+a+"']";i--;)f[i]=u+" "+d(f[i]);p=f.join(","),h=ve.test(e)&&c(t.parentNode)||t}if(p)try{return Z.apply(n,h.querySelectorAll(p)),n}catch(g){}finally{a===G&&t.removeAttribute("id")}}}return P(e.replace(ae,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>T.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[G]=!0,e}function o(e){var t=N.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),r=n.length;r--;)T.attrHandle[n[r]]=t}function s(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||z)-(~e.sourceIndex||z);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function a(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return r(function(t){return t=+t,r(function(n,r){for(var o,i=e([],n.length,t),s=i.length;s--;)n[o=i[s]]&&(n[o]=!(r[o]=n[o]))})})}function c(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function f(){}function d(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function p(e,t,n){var r=t.dir,o=n&&"parentNode"===r,i=U++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,s){var a,u,l,c=[V,i];if(s){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,s))return!0}else for(;t=t[r];)if(1===t.nodeType||o){if(l=t[G]||(t[G]={}),u=l[t.uniqueID]||(l[t.uniqueID]={}),(a=u[r])&&a[0]===V&&a[1]===i)return c[2]=a[2];if(u[r]=c,c[2]=e(t,n,s))return!0}}}function h(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function m(e,n,r){for(var o=0,i=n.length;i>o;o++)t(e,n[o],r);return r}function g(e,t,n,r,o){for(var i,s=[],a=0,u=e.length,l=null!=t;u>a;a++)(i=e[a])&&(!n||n(i,r,o))&&(s.push(i),l&&t.push(a));return s}function y(e,t,n,o,i,s){return o&&!o[G]&&(o=y(o)),i&&!i[G]&&(i=y(i,s)),r(function(r,s,a,u){var l,c,f,d=[],p=[],h=s.length,y=r||m(t||"*",a.nodeType?[a]:a,[]),v=!e||!r&&t?y:g(y,d,e,a,u),b=n?i||(r?e:h||o)?[]:s:v;if(n&&n(v,b,a,u),o)for(l=g(b,p),o(l,[],a,u),c=l.length;c--;)(f=l[c])&&(b[p[c]]=!(v[p[c]]=f));if(r){if(i||e){if(i){for(l=[],c=b.length;c--;)(f=b[c])&&l.push(v[c]=f);i(null,b=[],l,u)}for(c=b.length;c--;)(f=b[c])&&(l=i?ee(r,f):d[c])>-1&&(r[l]=!(s[l]=f))}}else b=g(b===s?b.splice(h,b.length):b),i?i(null,s,b,u):Z.apply(s,b)})}function v(e){for(var t,n,r,o=e.length,i=T.relative[e[0].type],s=i||T.relative[" "],a=i?1:0,u=p(function(e){return e===t},s,!0),l=p(function(e){return ee(t,e)>-1},s,!0),c=[function(e,n,r){var o=!i&&(r||n!==M)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,o}];o>a;a++)if(n=T.relative[e[a].type])c=[p(h(c),n)];else{if(n=T.filter[e[a].type].apply(null,e[a].matches),n[G]){for(r=++a;o>r&&!T.relative[e[r].type];r++);return y(a>1&&h(c),a>1&&d(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(ae,"$1"),n,r>a&&v(e.slice(a,r)),o>r&&v(e=e.slice(r)),o>r&&d(e))}c.push(n)}return h(c)}function b(e,n){var o=n.length>0,i=e.length>0,s=function(r,s,a,u,l){var c,f,d,p=0,h="0",m=r&&[],y=[],v=M,b=r||i&&T.find.TAG("*",l),_=V+=null==v?1:Math.random()||.1,w=b.length;for(l&&(M=s===N||s||l);h!==w&&null!=(c=b[h]);h++){if(i&&c){for(f=0,s||c.ownerDocument===N||(O(c),a=!I);d=e[f++];)if(d(c,s||N,a)){u.push(c);break}l&&(V=_)}o&&((c=!d&&c)&&p--,r&&m.push(c))}if(p+=h,o&&h!==p){for(f=0;d=n[f++];)d(m,y,s,a);if(r){if(p>0)for(;h--;)m[h]||y[h]||(y[h]=Q.call(u));y=g(y)}Z.apply(u,y),l&&!r&&y.length>0&&p+n.length>1&&t.uniqueSort(u)}return l&&(V=_,M=v),m};return o?r(s):s}var _,w,T,E,x,S,C,P,M,R,D,O,N,A,I,B,k,L,j,G="sizzle"+1*new Date,H=e.document,V=0,U=0,F=n(),W=n(),q=n(),X=function(e,t){return e===t&&(D=!0),0},z=1<<31,Y={}.hasOwnProperty,K=[],Q=K.pop,$=K.push,Z=K.push,J=K.slice,ee=function(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n; return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",oe="\\["+ne+"*("+re+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ne+"*\\]",ie=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",se=new RegExp(ne+"+","g"),ae=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ue=new RegExp("^"+ne+"*,"+ne+"*"),le=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),fe=new RegExp(ie),de=new RegExp("^"+re+"$"),pe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ie),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,be=/'|\\/g,_e=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),we=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},Te=function(){O()};try{Z.apply(K=J.call(H.childNodes),H.childNodes),K[H.childNodes.length].nodeType}catch(Ee){Z={apply:K.length?function(e,t){$.apply(e,J.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}w=t.support={},x=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},O=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:H;return r!==N&&9===r.nodeType&&r.documentElement?(N=r,A=N.documentElement,I=!x(N),(n=N.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Te,!1):n.attachEvent&&n.attachEvent("onunload",Te)),w.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=o(function(e){return e.appendChild(N.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=ge.test(N.getElementsByClassName),w.getById=o(function(e){return A.appendChild(e).id=G,!N.getElementsByName||!N.getElementsByName(G).length}),w.getById?(T.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&I){var n=t.getElementById(e);return n?[n]:[]}},T.filter.ID=function(e){var t=e.replace(_e,we);return function(e){return e.getAttribute("id")===t}}):(delete T.find.ID,T.filter.ID=function(e){var t=e.replace(_e,we);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),T.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},T.find.CLASS=w.getElementsByClassName&&function(e,t){return"undefined"!=typeof t.getElementsByClassName&&I?t.getElementsByClassName(e):void 0},k=[],B=[],(w.qsa=ge.test(N.querySelectorAll))&&(o(function(e){A.appendChild(e).innerHTML="<a id='"+G+"'></a><select id='"+G+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&B.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||B.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+G+"-]").length||B.push("~="),e.querySelectorAll(":checked").length||B.push(":checked"),e.querySelectorAll("a#"+G+"+*").length||B.push(".#.+[+~]")}),o(function(e){var t=N.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&B.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||B.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),B.push(",.*:")})),(w.matchesSelector=ge.test(L=A.matches||A.webkitMatchesSelector||A.mozMatchesSelector||A.oMatchesSelector||A.msMatchesSelector))&&o(function(e){w.disconnectedMatch=L.call(e,"div"),L.call(e,"[s!='']:x"),k.push("!=",ie)}),B=B.length&&new RegExp(B.join("|")),k=k.length&&new RegExp(k.join("|")),t=ge.test(A.compareDocumentPosition),j=t||ge.test(A.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},X=t?function(e,t){if(e===t)return D=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===N||e.ownerDocument===H&&j(H,e)?-1:t===N||t.ownerDocument===H&&j(H,t)?1:R?ee(R,e)-ee(R,t):0:4&n?-1:1)}:function(e,t){if(e===t)return D=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],u=[t];if(!o||!i)return e===N?-1:t===N?1:o?-1:i?1:R?ee(R,e)-ee(R,t):0;if(o===i)return s(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;a[r]===u[r];)r++;return r?s(a[r],u[r]):a[r]===H?-1:u[r]===H?1:0},N):N},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==N&&O(e),n=n.replace(ce,"='$1']"),w.matchesSelector&&I&&!q[n+" "]&&(!k||!k.test(n))&&(!B||!B.test(n)))try{var r=L.call(e,n);if(r||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(o){}return t(n,N,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==N&&O(e),j(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==N&&O(e);var n=T.attrHandle[t.toLowerCase()],r=n&&Y.call(T.attrHandle,t.toLowerCase())?n(e,t,!I):void 0;return void 0!==r?r:w.attributes||!I?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,o=0;if(D=!w.detectDuplicates,R=!w.sortStable&&e.slice(0),e.sort(X),D){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return R=null,e},E=t.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=E(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=E(t);return n},T=t.selectors={cacheLength:50,createPseudo:r,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(_e,we),e[3]=(e[3]||e[4]||e[5]||"").replace(_e,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&fe.test(n)&&(t=S(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(_e,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=F[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&F(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(o){var i=t.attr(o,e);return null==i?"!="===n:n?(i+="","="===n?i===r:"!="===n?i!==r:"^="===n?r&&0===i.indexOf(r):"*="===n?r&&i.indexOf(r)>-1:"$="===n?r&&i.slice(-r.length)===r:"~="===n?(" "+i.replace(se," ")+" ").indexOf(r)>-1:"|="===n?i===r||i.slice(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,d,p,h,m=i!==s?"nextSibling":"previousSibling",g=t.parentNode,y=a&&t.nodeName.toLowerCase(),v=!u&&!a,b=!1;if(g){if(i){for(;m;){for(d=t;d=d[m];)if(a?d.nodeName.toLowerCase()===y:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[s?g.firstChild:g.lastChild],s&&v){for(d=g,f=d[G]||(d[G]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),l=c[e]||[],p=l[0]===V&&l[1],b=p&&l[2],d=p&&g.childNodes[p];d=++p&&d&&d[m]||(b=p=0)||h.pop();)if(1===d.nodeType&&++b&&d===t){c[e]=[V,p,b];break}}else if(v&&(d=t,f=d[G]||(d[G]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),l=c[e]||[],p=l[0]===V&&l[1],b=p),b===!1)for(;(d=++p&&d&&d[m]||(b=p=0)||h.pop())&&((a?d.nodeName.toLowerCase()!==y:1!==d.nodeType)||!++b||(v&&(f=d[G]||(d[G]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),c[e]=[V,b]),d!==t)););return b-=o,b===r||b%r===0&&b/r>=0}}},PSEUDO:function(e,n){var o,i=T.pseudos[e]||T.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return i[G]?i(n):i.length>1?(o=[e,e,"",n],T.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,o=i(e,n),s=o.length;s--;)r=ee(e,o[s]),e[r]=!(t[r]=o[s])}):function(e){return i(e,0,o)}):i}},pseudos:{not:r(function(e){var t=[],n=[],o=C(e.replace(ae,"$1"));return o[G]?r(function(e,t,n,r){for(var i,s=o(e,null,r,[]),a=e.length;a--;)(i=s[a])&&(e[a]=!(t[a]=i))}):function(e,r,i){return t[0]=e,o(t,null,i,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(_e,we),function(t){return(t.textContent||t.innerText||E(t)).indexOf(e)>-1}}),lang:r(function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(_e,we).toLowerCase(),function(t){var n;do if(n=I?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===A},focus:function(e){return e===N.activeElement&&(!N.hasFocus||N.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!T.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[0>n?n+t:n]}),even:l(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=0>n?n+t:n;++r<t;)e.push(r);return e})}},T.pseudos.nth=T.pseudos.eq;for(_ in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})T.pseudos[_]=a(_);for(_ in{submit:!0,reset:!0})T.pseudos[_]=u(_);return f.prototype=T.filters=T.pseudos,T.setFilters=new f,S=t.tokenize=function(e,n){var r,o,i,s,a,u,l,c=W[e+" "];if(c)return n?0:c.slice(0);for(a=e,u=[],l=T.preFilter;a;){(!r||(o=ue.exec(a)))&&(o&&(a=a.slice(o[0].length)||a),u.push(i=[])),r=!1,(o=le.exec(a))&&(r=o.shift(),i.push({value:r,type:o[0].replace(ae," ")}),a=a.slice(r.length));for(s in T.filter)!(o=pe[s].exec(a))||l[s]&&!(o=l[s](o))||(r=o.shift(),i.push({value:r,type:s,matches:o}),a=a.slice(r.length));if(!r)break}return n?a.length:a?t.error(e):W(e,u).slice(0)},C=t.compile=function(e,t){var n,r=[],o=[],i=q[e+" "];if(!i){for(t||(t=S(e)),n=t.length;n--;)i=v(t[n]),i[G]?r.push(i):o.push(i);i=q(e,b(o,r)),i.selector=e}return i},P=t.select=function(e,t,n,r){var o,i,s,a,u,l="function"==typeof e&&e,f=!r&&S(e=l.selector||e);if(n=n||[],1===f.length){if(i=f[0]=f[0].slice(0),i.length>2&&"ID"===(s=i[0]).type&&w.getById&&9===t.nodeType&&I&&T.relative[i[1].type]){if(t=(T.find.ID(s.matches[0].replace(_e,we),t)||[])[0],!t)return n;l&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=pe.needsContext.test(e)?0:i.length;o--&&(s=i[o],!T.relative[a=s.type]);)if((u=T.find[a])&&(r=u(s.matches[0].replace(_e,we),ve.test(i[0].type)&&c(t.parentNode)||t))){if(i.splice(o,1),e=r.length&&d(i),!e)return Z.apply(n,r),n;break}}return(l||C(e,f))(r,t,!I,n,!t||ve.test(e)&&c(t.parentNode)||t),n},w.sortStable=G.split("").sort(X).join("")===G,w.detectDuplicates=!!D,O(),w.sortDetached=o(function(e){return 1&e.compareDocumentPosition(N.createElement("div"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||i(te,function(e,t,n){var r;return n?void 0:e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);ie.find=ce,ie.expr=ce.selectors,ie.expr[":"]=ie.expr.pseudos,ie.uniqueSort=ie.unique=ce.uniqueSort,ie.text=ce.getText,ie.isXMLDoc=ce.isXML,ie.contains=ce.contains;var fe=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&ie(e).is(n))break;r.push(e)}return r},de=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},pe=ie.expr.match.needsContext,he=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,me=/^.[^:#\[\.,]*$/;ie.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ie.find.matchesSelector(r,e)?[r]:[]:ie.find.matches(e,ie.grep(t,function(e){return 1===e.nodeType}))},ie.fn.extend({find:function(e){var t,n=this.length,r=[],o=this;if("string"!=typeof e)return this.pushStack(ie(e).filter(function(){for(t=0;n>t;t++)if(ie.contains(o[t],this))return!0}));for(t=0;n>t;t++)ie.find(e,o[t],r);return r=this.pushStack(n>1?ie.unique(r):r),r.selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(r(this,e||[],!1))},not:function(e){return this.pushStack(r(this,e||[],!0))},is:function(e){return!!r(this,"string"==typeof e&&pe.test(e)?ie(e):e||[],!1).length}});var ge,ye=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ve=ie.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||ge,"string"==typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:ye.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ie?t[0]:t,ie.merge(this,ie.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:K,!0)),he.test(r[1])&&ie.isPlainObject(t))for(r in t)ie.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return o=K.getElementById(r[2]),o&&o.parentNode&&(this.length=1,this[0]=o),this.context=K,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ie.isFunction(e)?void 0!==n.ready?n.ready(e):e(ie):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),ie.makeArray(e,this))};ve.prototype=ie.fn,ge=ie(K);var be=/^(?:parents|prev(?:Until|All))/,_e={children:!0,contents:!0,next:!0,prev:!0};ie.fn.extend({has:function(e){var t=ie(e,this),n=t.length;return this.filter(function(){for(var e=0;n>e;e++)if(ie.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,o=this.length,i=[],s=pe.test(e)||"string"!=typeof e?ie(e,t||this.context):0;o>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&ie.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?ie.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?J.call(ie(e),this[0]):J.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ie.uniqueSort(ie.merge(this.get(),ie(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ie.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return fe(e,"parentNode")},parentsUntil:function(e,t,n){return fe(e,"parentNode",n)},next:function(e){return o(e,"nextSibling")},prev:function(e){return o(e,"previousSibling")},nextAll:function(e){return fe(e,"nextSibling")},prevAll:function(e){return fe(e,"previousSibling")},nextUntil:function(e,t,n){return fe(e,"nextSibling",n)},prevUntil:function(e,t,n){return fe(e,"previousSibling",n)},siblings:function(e){return de((e.parentNode||{}).firstChild,e)},children:function(e){return de(e.firstChild)},contents:function(e){return e.contentDocument||ie.merge([],e.childNodes)}},function(e,t){ie.fn[e]=function(n,r){var o=ie.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=ie.filter(r,o)),this.length>1&&(_e[e]||ie.uniqueSort(o),be.test(e)&&o.reverse()),this.pushStack(o)}});var we=/\S+/g;ie.Callbacks=function(e){e="string"==typeof e?i(e):ie.extend({},e);var t,n,r,o,s=[],a=[],u=-1,l=function(){for(o=e.once,r=t=!0;a.length;u=-1)for(n=a.shift();++u<s.length;)s[u].apply(n[0],n[1])===!1&&e.stopOnFalse&&(u=s.length,n=!1);e.memory||(n=!1),t=!1,o&&(s=n?[]:"")},c={add:function(){return s&&(n&&!t&&(u=s.length-1,a.push(n)),function r(t){ie.each(t,function(t,n){ie.isFunction(n)?e.unique&&c.has(n)||s.push(n):n&&n.length&&"string"!==ie.type(n)&&r(n)})}(arguments),n&&!t&&l()),this},remove:function(){return ie.each(arguments,function(e,t){for(var n;(n=ie.inArray(t,s,n))>-1;)s.splice(n,1),u>=n&&u--}),this},has:function(e){return e?ie.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return o=a=[],s=n="",this},disabled:function(){return!s},lock:function(){return o=a=[],n||(s=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},ie.extend({Deferred:function(e){var t=[["resolve","done",ie.Callbacks("once memory"),"resolved"],["reject","fail",ie.Callbacks("once memory"),"rejected"],["notify","progress",ie.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ie.Deferred(function(n){ie.each(t,function(t,i){var s=ie.isFunction(e[t])&&e[t];o[i[1]](function(){var e=s&&s.apply(this,arguments);e&&ie.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ie.extend(e,r):r}},o={};return r.pipe=r.then,ie.each(t,function(e,i){var s=i[2],a=i[3];r[i[1]]=s.add,a&&s.add(function(){n=a},t[1^e][2].disable,t[2][2].lock),o[i[0]]=function(){return o[i[0]+"With"](this===o?r:this,arguments),this},o[i[0]+"With"]=s.fireWith}),r.promise(o),e&&e.call(o,o),o},when:function(e){var t,n,r,o=0,i=Q.call(arguments),s=i.length,a=1!==s||e&&ie.isFunction(e.promise)?s:0,u=1===a?e:ie.Deferred(),l=function(e,n,r){return function(o){n[e]=this,r[e]=arguments.length>1?Q.call(arguments):o,r===t?u.notifyWith(n,r):--a||u.resolveWith(n,r)}};if(s>1)for(t=new Array(s),n=new Array(s),r=new Array(s);s>o;o++)i[o]&&ie.isFunction(i[o].promise)?i[o].promise().progress(l(o,n,t)).done(l(o,r,i)).fail(u.reject):--a;return a||u.resolveWith(r,i),u.promise()}});var Te;ie.fn.ready=function(e){return ie.ready.promise().done(e),this},ie.extend({isReady:!1,readyWait:1,holdReady:function(e){e?ie.readyWait++:ie.ready(!0)},ready:function(e){(e===!0?--ie.readyWait:ie.isReady)||(ie.isReady=!0,e!==!0&&--ie.readyWait>0||(Te.resolveWith(K,[ie]),ie.fn.triggerHandler&&(ie(K).triggerHandler("ready"),ie(K).off("ready"))))}}),ie.ready.promise=function(t){return Te||(Te=ie.Deferred(),"complete"===K.readyState||"loading"!==K.readyState&&!K.documentElement.doScroll?e.setTimeout(ie.ready):(K.addEventListener("DOMContentLoaded",s),e.addEventListener("load",s))),Te.promise(t)},ie.ready.promise();var Ee=function(e,t,n,r,o,i,s){var a=0,u=e.length,l=null==n;if("object"===ie.type(n)){o=!0;for(a in n)Ee(e,t,a,n[a],!0,i,s)}else if(void 0!==r&&(o=!0,ie.isFunction(r)||(s=!0),l&&(s?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ie(e),n)})),t))for(;u>a;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return o?e:l?t.call(e):u?t(e[0],n):i},xe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};a.uid=1,a.prototype={register:function(e,t){var n=t||{};return e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!xe(e))return{};var t=e[this.expando];return t||(t={},xe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[t]=n;else for(r in t)o[r]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?(r=this.get(e,t),void 0!==r?r:this.get(e,ie.camelCase(t))):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,o,i=e[this.expando];if(void 0!==i){if(void 0===t)this.register(e);else{ie.isArray(t)?r=t.concat(t.map(ie.camelCase)):(o=ie.camelCase(t),t in i?r=[t,o]:(r=o,r=r in i?[r]:r.match(we)||[])),n=r.length;for(;n--;)delete i[r[n]]}(void 0===t||ie.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ie.isEmptyObject(t)}};var Se=new a,Ce=new a,Pe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Me=/[A-Z]/g;ie.extend({hasData:function(e){return Ce.hasData(e)||Se.hasData(e)},data:function(e,t,n){return Ce.access(e,t,n)},removeData:function(e,t){Ce.remove(e,t)},_data:function(e,t,n){return Se.access(e,t,n)},_removeData:function(e,t){Se.remove(e,t)}}),ie.fn.extend({data:function(e,t){var n,r,o,i=this[0],s=i&&i.attributes;if(void 0===e){if(this.length&&(o=Ce.get(i),1===i.nodeType&&!Se.get(i,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(r=s[n].name,0===r.indexOf("data-")&&(r=ie.camelCase(r.slice(5)),u(i,r,o[r])));Se.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){Ce.set(this,e)}):Ee(this,function(t){var n,r;if(i&&void 0===t){if(n=Ce.get(i,e)||Ce.get(i,e.replace(Me,"-$&").toLowerCase()),void 0!==n)return n;if(r=ie.camelCase(e),n=Ce.get(i,r),void 0!==n)return n;if(n=u(i,r,void 0),void 0!==n)return n}else r=ie.camelCase(e),this.each(function(){var n=Ce.get(this,r);Ce.set(this,r,t),e.indexOf("-")>-1&&void 0!==n&&Ce.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Ce.remove(this,e)})}}),ie.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=Se.get(e,t),n&&(!r||ie.isArray(n)?r=Se.access(e,t,ie.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=ie.queue(e,t),r=n.length,o=n.shift(),i=ie._queueHooks(e,t),s=function(){ie.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,s,i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Se.get(e,n)||Se.access(e,n,{empty:ie.Callbacks("once memory").add(function(){Se.remove(e,[t+"queue",n])})})}}),ie.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?ie.queue(this[0],e):void 0===t?this:this.each(function(){var n=ie.queue(this,e,t);ie._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&ie.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ie.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=ie.Deferred(),i=this,s=this.length,a=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)n=Se.get(i[s],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(a));return a(),o.promise(t)}});var Re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,De=new RegExp("^(?:([+-])=|)("+Re+")([a-z%]*)$","i"),Oe=["Top","Right","Bottom","Left"],Ne=function(e,t){return e=t||e,"none"===ie.css(e,"display")||!ie.contains(e.ownerDocument,e)},Ae=/^(?:checkbox|radio)$/i,Ie=/<([\w:-]+)/,Be=/^$|\/(?:java|ecma)script/i,ke={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ke.optgroup=ke.option,ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td;var Le=/<|&#?\w+;/;!function(){var e=K.createDocumentFragment(),t=e.appendChild(K.createElement("div")),n=K.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),re.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",re.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var je=/^key/,Ge=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,He=/^([^.]*)(?:\.(.+)|)/;ie.event={global:{},add:function(e,t,n,r,o){var i,s,a,u,l,c,f,d,p,h,m,g=Se.get(e);if(g)for(n.handler&&(i=n,n=i.handler,o=i.selector),n.guid||(n.guid=ie.guid++),(u=g.events)||(u=g.events={}),(s=g.handle)||(s=g.handle=function(t){return"undefined"!=typeof ie&&ie.event.triggered!==t.type?ie.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(we)||[""],l=t.length;l--;)a=He.exec(t[l])||[],p=m=a[1],h=(a[2]||"").split(".").sort(),p&&(f=ie.event.special[p]||{},p=(o?f.delegateType:f.bindType)||p,f=ie.event.special[p]||{},c=ie.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&ie.expr.match.needsContext.test(o),namespace:h.join(".")},i),(d=u[p])||(d=u[p]=[],d.delegateCount=0,f.setup&&f.setup.call(e,r,h,s)!==!1||e.addEventListener&&e.addEventListener(p,s)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,c):d.push(c),ie.event.global[p]=!0)},remove:function(e,t,n,r,o){var i,s,a,u,l,c,f,d,p,h,m,g=Se.hasData(e)&&Se.get(e);if(g&&(u=g.events)){for(t=(t||"").match(we)||[""],l=t.length;l--;)if(a=He.exec(t[l])||[],p=m=a[1],h=(a[2]||"").split(".").sort(),p){for(f=ie.event.special[p]||{},p=(r?f.delegateType:f.bindType)||p,d=u[p]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=i=d.length;i--;)c=d[i],!o&&m!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(i,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));s&&!d.length&&(f.teardown&&f.teardown.call(e,h,g.handle)!==!1||ie.removeEvent(e,p,g.handle),delete u[p])}else for(p in u)ie.event.remove(e,p+t[l],n,r,!0);ie.isEmptyObject(u)&&Se.remove(e,"handle events")}},dispatch:function(e){e=ie.event.fix(e);var t,n,r,o,i,s=[],a=Q.call(arguments),u=(Se.get(this,"events")||{})[e.type]||[],l=ie.event.special[e.type]||{};if(a[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){for(s=ie.event.handlers.call(this,e,u),t=0;(o=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!e.isImmediatePropagationStopped();)(!e.rnamespace||e.rnamespace.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((ie.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,a),void 0!==r&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,o,i,s=[],a=t.delegateCount,u=e.target;if(a&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(r=[],n=0;a>n;n++)i=t[n],o=i.selector+" ",void 0===r[o]&&(r[o]=i.needsContext?ie(o,this).index(u)>-1:ie.find(o,this,null,[u]).length),r[o]&&r.push(i);r.length&&s.push({elem:u,handlers:r})}return a<t.length&&s.push({elem:this,handlers:t.slice(a)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,o,i=t.button;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||K,r=n.documentElement,o=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||o&&o.scrollLeft||0)-(r&&r.clientLeft||o&&o.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||o&&o.scrollTop||0)-(r&&r.clientTop||o&&o.clientTop||0)),e.which||void 0===i||(e.which=1&i?1:2&i?3:4&i?2:0),e}},fix:function(e){if(e[ie.expando])return e;var t,n,r,o=e.type,i=e,s=this.fixHooks[o];for(s||(this.fixHooks[o]=s=Ge.test(o)?this.mouseHooks:je.test(o)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new ie.Event(i),t=r.length;t--;)n=r[t],e[n]=i[n];return e.target||(e.target=K),3===e.target.nodeType&&(e.target=e.target.parentNode),s.filter?s.filter(e,i):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==m()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===m()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&ie.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return ie.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ie.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ie.Event=function(e,t){return this instanceof ie.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?p:h):this.type=e,t&&ie.extend(this,t),this.timeStamp=e&&e.timeStamp||ie.now(),void(this[ie.expando]=!0)):new ie.Event(e,t)},ie.Event.prototype={constructor:ie.Event,isDefaultPrevented:h,isPropagationStopped:h,isImmediatePropagationStopped:h,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=p,e&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=p,e&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=p,e&&e.stopImmediatePropagation(),this.stopPropagation()}},ie.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){ie.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return(!o||o!==r&&!ie.contains(r,o))&&(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),ie.fn.extend({on:function(e,t,n,r){return g(this,e,t,n,r)},one:function(e,t,n,r){return g(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ie(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]); return this}return(t===!1||"function"==typeof t)&&(n=t,t=void 0),n===!1&&(n=h),this.each(function(){ie.event.remove(this,e,n,t)})}});var Ve=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ue=/<script|<style|<link/i,Fe=/checked\s*(?:[^=]|=\s*.checked.)/i,We=/^true\/(.*)/,qe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;ie.extend({htmlPrefilter:function(e){return e.replace(Ve,"<$1></$2>")},clone:function(e,t,n){var r,o,i,s,a=e.cloneNode(!0),u=ie.contains(e.ownerDocument,e);if(!(re.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ie.isXMLDoc(e)))for(s=c(a),i=c(e),r=0,o=i.length;o>r;r++)w(i[r],s[r]);if(t)if(n)for(i=i||c(e),s=s||c(a),r=0,o=i.length;o>r;r++)_(i[r],s[r]);else _(e,a);return s=c(a,"script"),s.length>0&&f(s,!u&&c(e,"script")),a},cleanData:function(e){for(var t,n,r,o=ie.event.special,i=0;void 0!==(n=e[i]);i++)if(xe(n)){if(t=n[Se.expando]){if(t.events)for(r in t.events)o[r]?ie.event.remove(n,r):ie.removeEvent(n,r,t.handle);n[Se.expando]=void 0}n[Ce.expando]&&(n[Ce.expando]=void 0)}}}),ie.fn.extend({domManip:T,detach:function(e){return E(this,e,!0)},remove:function(e){return E(this,e)},text:function(e){return Ee(this,function(e){return void 0===e?ie.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=e)})},null,e,arguments.length)},append:function(){return T(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=y(this,e);t.appendChild(e)}})},prepend:function(){return T(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=y(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return T(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return T(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ie.cleanData(c(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return ie.clone(this,e,t)})},html:function(e){return Ee(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ue.test(e)&&!ke[(Ie.exec(e)||["",""])[1].toLowerCase()]){e=ie.htmlPrefilter(e);try{for(;r>n;n++)t=this[n]||{},1===t.nodeType&&(ie.cleanData(c(t,!1)),t.innerHTML=e);t=0}catch(o){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return T(this,arguments,function(t){var n=this.parentNode;ie.inArray(this,e)<0&&(ie.cleanData(c(this)),n&&n.replaceChild(t,this))},e)}}),ie.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){ie.fn[e]=function(e){for(var n,r=[],o=ie(e),i=o.length-1,s=0;i>=s;s++)n=s===i?this:this.clone(!0),ie(o[s])[t](n),Z.apply(r,n.get());return this.pushStack(r)}});var Xe,ze={HTML:"block",BODY:"block"},Ye=/^margin/,Ke=new RegExp("^("+Re+")(?!px)[a-z%]+$","i"),Qe=function(t){var n=t.ownerDocument.defaultView;return n.opener||(n=e),n.getComputedStyle(t)},$e=function(e,t,n,r){var o,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];o=n.apply(e,r||[]);for(i in t)e.style[i]=s[i];return o},Ze=K.documentElement;!function(){function t(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",a.innerHTML="",Ze.appendChild(s);var t=e.getComputedStyle(a);n="1%"!==t.top,i="2px"===t.marginLeft,r="4px"===t.width,a.style.marginRight="50%",o="4px"===t.marginRight,Ze.removeChild(s)}var n,r,o,i,s=K.createElement("div"),a=K.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",re.clearCloneStyle="content-box"===a.style.backgroundClip,s.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",s.appendChild(a),ie.extend(re,{pixelPosition:function(){return t(),n},boxSizingReliable:function(){return null==r&&t(),r},pixelMarginRight:function(){return null==r&&t(),o},reliableMarginLeft:function(){return null==r&&t(),i},reliableMarginRight:function(){var t,n=a.appendChild(K.createElement("div"));return n.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",a.style.width="1px",Ze.appendChild(s),t=!parseFloat(e.getComputedStyle(n).marginRight),Ze.removeChild(s),a.removeChild(n),t}}))}();var Je=/^(none|table(?!-c[ea]).+)/,et={position:"absolute",visibility:"hidden",display:"block"},tt={letterSpacing:"0",fontWeight:"400"},nt=["Webkit","O","Moz","ms"],rt=K.createElement("div").style;ie.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=C(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,s,a=ie.camelCase(t),u=e.style;return t=ie.cssProps[a]||(ie.cssProps[a]=M(a)||a),s=ie.cssHooks[t]||ie.cssHooks[a],void 0===n?s&&"get"in s&&void 0!==(o=s.get(e,!1,r))?o:u[t]:(i=typeof n,"string"===i&&(o=De.exec(n))&&o[1]&&(n=l(e,t,o),i="number"),null!=n&&n===n&&("number"===i&&(n+=o&&o[3]||(ie.cssNumber[a]?"":"px")),re.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(u[t]=n)),void 0)}},css:function(e,t,n,r){var o,i,s,a=ie.camelCase(t);return t=ie.cssProps[a]||(ie.cssProps[a]=M(a)||a),s=ie.cssHooks[t]||ie.cssHooks[a],s&&"get"in s&&(o=s.get(e,!0,n)),void 0===o&&(o=C(e,t,r)),"normal"===o&&t in tt&&(o=tt[t]),""===n||n?(i=parseFloat(o),n===!0||isFinite(i)?i||0:o):o}}),ie.each(["height","width"],function(e,t){ie.cssHooks[t]={get:function(e,n,r){return n?Je.test(ie.css(e,"display"))&&0===e.offsetWidth?$e(e,et,function(){return O(e,t,r)}):O(e,t,r):void 0},set:function(e,n,r){var o,i=r&&Qe(e),s=r&&D(e,t,r,"border-box"===ie.css(e,"boxSizing",!1,i),i);return s&&(o=De.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=ie.css(e,t)),R(e,n,s)}}}),ie.cssHooks.marginLeft=P(re.reliableMarginLeft,function(e,t){return t?(parseFloat(C(e,"marginLeft"))||e.getBoundingClientRect().left-$e(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px":void 0}),ie.cssHooks.marginRight=P(re.reliableMarginRight,function(e,t){return t?$e(e,{display:"inline-block"},C,[e,"marginRight"]):void 0}),ie.each({margin:"",padding:"",border:"Width"},function(e,t){ie.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];4>r;r++)o[e+Oe[r]+t]=i[r]||i[r-2]||i[0];return o}},Ye.test(e)||(ie.cssHooks[e+t].set=R)}),ie.fn.extend({css:function(e,t){return Ee(this,function(e,t,n){var r,o,i={},s=0;if(ie.isArray(t)){for(r=Qe(e),o=t.length;o>s;s++)i[t[s]]=ie.css(e,t[s],!1,r);return i}return void 0!==n?ie.style(e,t,n):ie.css(e,t)},e,t,arguments.length>1)},show:function(){return N(this,!0)},hide:function(){return N(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ne(this)?ie(this).show():ie(this).hide()})}}),ie.Tween=A,A.prototype={constructor:A,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||ie.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(ie.cssNumber[n]?"":"px")},cur:function(){var e=A.propHooks[this.prop];return e&&e.get?e.get(this):A.propHooks._default.get(this)},run:function(e){var t,n=A.propHooks[this.prop];return this.options.duration?this.pos=t=ie.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):A.propHooks._default.set(this),this}},A.prototype.init.prototype=A.prototype,A.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ie.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){ie.fx.step[e.prop]?ie.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[ie.cssProps[e.prop]]&&!ie.cssHooks[e.prop]?e.elem[e.prop]=e.now:ie.style(e.elem,e.prop,e.now+e.unit)}}},A.propHooks.scrollTop=A.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ie.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ie.fx=A.prototype.init,ie.fx.step={};var ot,it,st=/^(?:toggle|show|hide)$/,at=/queueHooks$/;ie.Animation=ie.extend(G,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return l(n.elem,e,De.exec(t),n),n}]},tweener:function(e,t){ie.isFunction(e)?(t=e,e=["*"]):e=e.match(we);for(var n,r=0,o=e.length;o>r;r++)n=e[r],G.tweeners[n]=G.tweeners[n]||[],G.tweeners[n].unshift(t)},prefilters:[L],prefilter:function(e,t){t?G.prefilters.unshift(e):G.prefilters.push(e)}}),ie.speed=function(e,t,n){var r=e&&"object"==typeof e?ie.extend({},e):{complete:n||!n&&t||ie.isFunction(e)&&e,duration:e,easing:n&&t||t&&!ie.isFunction(t)&&t};return r.duration=ie.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in ie.fx.speeds?ie.fx.speeds[r.duration]:ie.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){ie.isFunction(r.old)&&r.old.call(this),r.queue&&ie.dequeue(this,r.queue)},r},ie.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Ne).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=ie.isEmptyObject(e),i=ie.speed(t,n,r),s=function(){var t=G(this,ie.extend({},e),i);(o||Se.get(this,"finish"))&&t.stop(!0)};return s.finish=s,o||i.queue===!1?this.each(s):this.queue(i.queue,s)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",i=ie.timers,s=Se.get(this);if(o)s[o]&&s[o].stop&&r(s[o]);else for(o in s)s[o]&&s[o].stop&&at.test(o)&&r(s[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));(t||!n)&&ie.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=Se.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=ie.timers,s=r?r.length:0;for(n.finish=!0,ie.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;s>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),ie.each(["toggle","show","hide"],function(e,t){var n=ie.fn[t];ie.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(B(t,!0),e,r,o)}}),ie.each({slideDown:B("show"),slideUp:B("hide"),slideToggle:B("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ie.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),ie.timers=[],ie.fx.tick=function(){var e,t=0,n=ie.timers;for(ot=ie.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||ie.fx.stop(),ot=void 0},ie.fx.timer=function(e){ie.timers.push(e),e()?ie.fx.start():ie.timers.pop()},ie.fx.interval=13,ie.fx.start=function(){it||(it=e.setInterval(ie.fx.tick,ie.fx.interval))},ie.fx.stop=function(){e.clearInterval(it),it=null},ie.fx.speeds={slow:600,fast:200,_default:400},ie.fn.delay=function(t,n){return t=ie.fx?ie.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var o=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(o)}})},function(){var e=K.createElement("input"),t=K.createElement("select"),n=t.appendChild(K.createElement("option"));e.type="checkbox",re.checkOn=""!==e.value,re.optSelected=n.selected,t.disabled=!0,re.optDisabled=!n.disabled,e=K.createElement("input"),e.value="t",e.type="radio",re.radioValue="t"===e.value}();var ut,lt=ie.expr.attrHandle;ie.fn.extend({attr:function(e,t){return Ee(this,ie.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ie.removeAttr(this,e)})}}),ie.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return"undefined"==typeof e.getAttribute?ie.prop(e,t,n):(1===i&&ie.isXMLDoc(e)||(t=t.toLowerCase(),o=ie.attrHooks[t]||(ie.expr.match.bool.test(t)?ut:void 0)),void 0!==n?null===n?void ie.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:(r=ie.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!re.radioValue&&"radio"===t&&ie.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,o=0,i=t&&t.match(we);if(i&&1===e.nodeType)for(;n=i[o++];)r=ie.propFix[n]||n,ie.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)}}),ut={set:function(e,t,n){return t===!1?ie.removeAttr(e,n):e.setAttribute(n,n),n}},ie.each(ie.expr.match.bool.source.match(/\w+/g),function(e,t){var n=lt[t]||ie.find.attr;lt[t]=function(e,t,r){var o,i;return r||(i=lt[t],lt[t]=o,o=null!=n(e,t,r)?t.toLowerCase():null,lt[t]=i),o}});var ct=/^(?:input|select|textarea|button)$/i,ft=/^(?:a|area)$/i;ie.fn.extend({prop:function(e,t){return Ee(this,ie.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[ie.propFix[e]||e]})}}),ie.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&ie.isXMLDoc(e)||(t=ie.propFix[t]||t,o=ie.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ie.find.attr(e,"tabindex");return t?parseInt(t,10):ct.test(e.nodeName)||ft.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),re.optSelected||(ie.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),ie.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ie.propFix[this.toLowerCase()]=this});var dt=/[\t\r\n\f]/g;ie.fn.extend({addClass:function(e){var t,n,r,o,i,s,a,u=0;if(ie.isFunction(e))return this.each(function(t){ie(this).addClass(e.call(this,t,H(this)))});if("string"==typeof e&&e)for(t=e.match(we)||[];n=this[u++];)if(o=H(n),r=1===n.nodeType&&(" "+o+" ").replace(dt," ")){for(s=0;i=t[s++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=ie.trim(r),o!==a&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,r,o,i,s,a,u=0;if(ie.isFunction(e))return this.each(function(t){ie(this).removeClass(e.call(this,t,H(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(we)||[];n=this[u++];)if(o=H(n),r=1===n.nodeType&&(" "+o+" ").replace(dt," ")){for(s=0;i=t[s++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");a=ie.trim(r),o!==a&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):ie.isFunction(e)?this.each(function(n){ie(this).toggleClass(e.call(this,n,H(this),t),t)}):this.each(function(){var t,r,o,i;if("string"===n)for(r=0,o=ie(this),i=e.match(we)||[];t=i[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else(void 0===e||"boolean"===n)&&(t=H(this),t&&Se.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":Se.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+H(n)+" ").replace(dt," ").indexOf(t)>-1)return!0;return!1}});var pt=/\r/g;ie.fn.extend({val:function(e){var t,n,r,o=this[0];{if(arguments.length)return r=ie.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=r?e.call(this,n,ie(this).val()):e,null==o?o="":"number"==typeof o?o+="":ie.isArray(o)&&(o=ie.map(o,function(e){return null==e?"":e+""})),t=ie.valHooks[this.type]||ie.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))});if(o)return t=ie.valHooks[o.type]||ie.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(pt,""):null==n?"":n)}}}),ie.extend({valHooks:{option:{get:function(e){return ie.trim(e.value)}},select:{get:function(e){for(var t,n,r=e.options,o=e.selectedIndex,i="select-one"===e.type||0>o,s=i?null:[],a=i?o+1:r.length,u=0>o?a:i?o:0;a>u;u++)if(n=r[u],(n.selected||u===o)&&(re.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!ie.nodeName(n.parentNode,"optgroup"))){if(t=ie(n).val(),i)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=ie.makeArray(t),s=o.length;s--;)r=o[s],(r.selected=ie.inArray(ie.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),ie.each(["radio","checkbox"],function(){ie.valHooks[this]={set:function(e,t){return ie.isArray(t)?e.checked=ie.inArray(ie(e).val(),t)>-1:void 0}},re.checkOn||(ie.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var ht=/^(?:focusinfocus|focusoutblur)$/;ie.extend(ie.event,{trigger:function(t,n,r,o){var i,s,a,u,l,c,f,d=[r||K],p=ne.call(t,"type")?t.type:t,h=ne.call(t,"namespace")?t.namespace.split("."):[];if(s=a=r=r||K,3!==r.nodeType&&8!==r.nodeType&&!ht.test(p+ie.event.triggered)&&(p.indexOf(".")>-1&&(h=p.split("."),p=h.shift(),h.sort()),l=p.indexOf(":")<0&&"on"+p,t=t[ie.expando]?t:new ie.Event(p,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=h.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:ie.makeArray(n,[t]),f=ie.event.special[p]||{},o||!f.trigger||f.trigger.apply(r,n)!==!1)){if(!o&&!f.noBubble&&!ie.isWindow(r)){for(u=f.delegateType||p,ht.test(u+p)||(s=s.parentNode);s;s=s.parentNode)d.push(s),a=s;a===(r.ownerDocument||K)&&d.push(a.defaultView||a.parentWindow||e)}for(i=0;(s=d[i++])&&!t.isPropagationStopped();)t.type=i>1?u:f.bindType||p,c=(Se.get(s,"events")||{})[t.type]&&Se.get(s,"handle"),c&&c.apply(s,n),c=l&&s[l],c&&c.apply&&xe(s)&&(t.result=c.apply(s,n),t.result===!1&&t.preventDefault());return t.type=p,o||t.isDefaultPrevented()||f._default&&f._default.apply(d.pop(),n)!==!1||!xe(r)||l&&ie.isFunction(r[p])&&!ie.isWindow(r)&&(a=r[l],a&&(r[l]=null),ie.event.triggered=p,r[p](),ie.event.triggered=void 0,a&&(r[l]=a)),t.result}},simulate:function(e,t,n){var r=ie.extend(new ie.Event,n,{type:e,isSimulated:!0});ie.event.trigger(r,null,t),r.isDefaultPrevented()&&n.preventDefault()}}),ie.fn.extend({trigger:function(e,t){return this.each(function(){ie.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?ie.event.trigger(e,t,n,!0):void 0}}),ie.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){ie.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ie.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),re.focusin="onfocusin"in e,re.focusin||ie.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){ie.event.simulate(t,e.target,ie.event.fix(e))};ie.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=Se.access(r,t);o||r.addEventListener(e,n,!0),Se.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=Se.access(r,t)-1;o?Se.access(r,t,o):(r.removeEventListener(e,n,!0),Se.remove(r,t))}}});var mt=e.location,gt=ie.now(),yt=/\?/;ie.parseJSON=function(e){return JSON.parse(e+"")},ie.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(r){n=void 0}return(!n||n.getElementsByTagName("parsererror").length)&&ie.error("Invalid XML: "+t),n};var vt=/#.*$/,bt=/([?&])_=[^&]*/,_t=/^(.*?):[ \t]*([^\r\n]*)$/gm,wt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Tt=/^(?:GET|HEAD)$/,Et=/^\/\//,xt={},St={},Ct="*/".concat("*"),Pt=K.createElement("a");Pt.href=mt.href,ie.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:mt.href,type:"GET",isLocal:wt.test(mt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ct,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ie.parseJSON,"text xml":ie.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?F(F(e,ie.ajaxSettings),t):F(ie.ajaxSettings,e)},ajaxPrefilter:V(xt),ajaxTransport:V(St),ajax:function(t,n){function r(t,n,r,a){var l,f,v,b,w,E=n;2!==_&&(_=2,u&&e.clearTimeout(u),o=void 0,s=a||"",T.readyState=t>0?4:0,l=t>=200&&300>t||304===t,r&&(b=W(d,T,r)),b=q(d,b,T,l),l?(d.ifModified&&(w=T.getResponseHeader("Last-Modified"),w&&(ie.lastModified[i]=w),w=T.getResponseHeader("etag"),w&&(ie.etag[i]=w)),204===t||"HEAD"===d.type?E="nocontent":304===t?E="notmodified":(E=b.state,f=b.data,v=b.error,l=!v)):(v=E,(t||!E)&&(E="error",0>t&&(t=0))),T.status=t,T.statusText=(n||E)+"",l?m.resolveWith(p,[f,E,T]):m.rejectWith(p,[T,E,v]),T.statusCode(y),y=void 0,c&&h.trigger(l?"ajaxSuccess":"ajaxError",[T,d,l?f:v]),g.fireWith(p,[T,E]),c&&(h.trigger("ajaxComplete",[T,d]),--ie.active||ie.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var o,i,s,a,u,l,c,f,d=ie.ajaxSetup({},n),p=d.context||d,h=d.context&&(p.nodeType||p.jquery)?ie(p):ie.event,m=ie.Deferred(),g=ie.Callbacks("once memory"),y=d.statusCode||{},v={},b={},_=0,w="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===_){if(!a)for(a={};t=_t.exec(s);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===_?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return _||(e=b[n]=b[n]||e,v[e]=t),this},overrideMimeType:function(e){return _||(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>_)for(t in e)y[t]=[y[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||w;return o&&o.abort(t),r(0,t),this}};if(m.promise(T).complete=g.add,T.success=T.done,T.error=T.fail,d.url=((t||d.url||mt.href)+"").replace(vt,"").replace(Et,mt.protocol+"//"),d.type=n.method||n.type||d.method||d.type,d.dataTypes=ie.trim(d.dataType||"*").toLowerCase().match(we)||[""],null==d.crossDomain){l=K.createElement("a");try{l.href=d.url,l.href=l.href,d.crossDomain=Pt.protocol+"//"+Pt.host!=l.protocol+"//"+l.host}catch(E){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=ie.param(d.data,d.traditional)),U(xt,d,n,T),2===_)return T;c=ie.event&&d.global,c&&0===ie.active++&&ie.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Tt.test(d.type),i=d.url,d.hasContent||(d.data&&(i=d.url+=(yt.test(i)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=bt.test(i)?i.replace(bt,"$1_="+gt++):i+(yt.test(i)?"&":"?")+"_="+gt++)),d.ifModified&&(ie.lastModified[i]&&T.setRequestHeader("If-Modified-Since",ie.lastModified[i]),ie.etag[i]&&T.setRequestHeader("If-None-Match",ie.etag[i])),(d.data&&d.hasContent&&d.contentType!==!1||n.contentType)&&T.setRequestHeader("Content-Type",d.contentType),T.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Ct+"; q=0.01":""):d.accepts["*"]);for(f in d.headers)T.setRequestHeader(f,d.headers[f]);if(d.beforeSend&&(d.beforeSend.call(p,T,d)===!1||2===_))return T.abort();w="abort";for(f in{success:1,error:1,complete:1})T[f](d[f]);if(o=U(St,d,n,T)){if(T.readyState=1,c&&h.trigger("ajaxSend",[T,d]),2===_)return T;d.async&&d.timeout>0&&(u=e.setTimeout(function(){T.abort("timeout")},d.timeout));try{_=1,o.send(v,r)}catch(E){if(!(2>_))throw E;r(-1,E)}}else r(-1,"No Transport");return T},getJSON:function(e,t,n){return ie.get(e,t,n,"json")},getScript:function(e,t){return ie.get(e,void 0,t,"script")}}),ie.each(["get","post"],function(e,t){ie[t]=function(e,n,r,o){return ie.isFunction(n)&&(o=o||r,r=n,n=void 0),ie.ajax(ie.extend({url:e,type:t,dataType:o,data:n,success:r},ie.isPlainObject(e)&&e))}}),ie._evalUrl=function(e){return ie.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},ie.fn.extend({wrapAll:function(e){var t;return ie.isFunction(e)?this.each(function(t){ie(this).wrapAll(e.call(this,t))}):(this[0]&&(t=ie(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return ie.isFunction(e)?this.each(function(t){ie(this).wrapInner(e.call(this,t))}):this.each(function(){var t=ie(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ie.isFunction(e);return this.each(function(n){ie(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){ie.nodeName(this,"body")||ie(this).replaceWith(this.childNodes)}).end()}}),ie.expr.filters.hidden=function(e){return!ie.expr.filters.visible(e)},ie.expr.filters.visible=function(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0};var Mt=/%20/g,Rt=/\[\]$/,Dt=/\r?\n/g,Ot=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;ie.param=function(e,t){var n,r=[],o=function(e,t){t=ie.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=ie.ajaxSettings&&ie.ajaxSettings.traditional),ie.isArray(e)||e.jquery&&!ie.isPlainObject(e))ie.each(e,function(){o(this.name,this.value)});else for(n in e)X(n,e[n],t,o);return r.join("&").replace(Mt,"+")},ie.fn.extend({serialize:function(){return ie.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ie.prop(this,"elements");return e?ie.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ie(this).is(":disabled")&&Nt.test(this.nodeName)&&!Ot.test(e)&&(this.checked||!Ae.test(e))}).map(function(e,t){var n=ie(this).val();return null==n?null:ie.isArray(n)?ie.map(n,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:n.replace(Dt,"\r\n")}}).get()}}),ie.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}};var At={0:200,1223:204},It=ie.ajaxSettings.xhr();re.cors=!!It&&"withCredentials"in It,re.ajax=It=!!It,ie.ajaxTransport(function(t){var n,r;return re.cors||It&&!t.crossDomain?{send:function(o,i){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(s in o)a.setRequestHeader(s,o[s]);n=function(e){return function(){n&&(n=r=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?i(0,"error"):i(a.status,a.statusText):i(At[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),r=a.onerror=n("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(u){if(n)throw u}},abort:function(){n&&n()}}:void 0}),ie.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ie.globalEval(e),e}}}),ie.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ie.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,o){t=ie("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),K.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Bt=[],kt=/(=)\?(?=&|$)|\?\?/;ie.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Bt.pop()||ie.expando+"_"+gt++;return this[e]=!0,e}}),ie.ajaxPrefilter("json jsonp",function(t,n,r){var o,i,s,a=t.jsonp!==!1&&(kt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&kt.test(t.data)&&"data");return a||"jsonp"===t.dataTypes[0]?(o=t.jsonpCallback=ie.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(kt,"$1"+o):t.jsonp!==!1&&(t.url+=(yt.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return s||ie.error(o+" was not called"),s[0]},t.dataTypes[0]="json",i=e[o],e[o]=function(){s=arguments},r.always(function(){void 0===i?ie(e).removeProp(o):e[o]=i,t[o]&&(t.jsonpCallback=n.jsonpCallback,Bt.push(o)),s&&ie.isFunction(i)&&i(s[0]),s=i=void 0}),"script"):void 0}),re.createHTMLDocument=function(){var e=K.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),ie.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||(re.createHTMLDocument?K.implementation.createHTMLDocument(""):K);var r=he.exec(e),o=!n&&[];return r?[t.createElement(r[1])]:(r=d([e],t,o),o&&o.length&&ie(o).remove(),ie.merge([],r.childNodes))};var Lt=ie.fn.load;ie.fn.load=function(e,t,n){if("string"!=typeof e&&Lt)return Lt.apply(this,arguments);var r,o,i,s=this,a=e.indexOf(" ");return a>-1&&(r=ie.trim(e.slice(a)),e=e.slice(0,a)),ie.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),s.length>0&&ie.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){i=arguments,s.html(r?ie("<div>").append(ie.parseHTML(e)).find(r):e)}).always(n&&function(e,t){s.each(function(){n.apply(s,i||[e.responseText,t,e])})}),this},ie.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ie.fn[t]=function(e){return this.on(t,e)}}),ie.expr.filters.animated=function(e){return ie.grep(ie.timers,function(t){return e===t.elem}).length},ie.offset={setOffset:function(e,t,n){var r,o,i,s,a,u,l,c=ie.css(e,"position"),f=ie(e),d={};"static"===c&&(e.style.position="relative"),a=f.offset(),i=ie.css(e,"top"),u=ie.css(e,"left"),l=("absolute"===c||"fixed"===c)&&(i+u).indexOf("auto")>-1,l?(r=f.position(),s=r.top,o=r.left):(s=parseFloat(i)||0,o=parseFloat(u)||0),ie.isFunction(t)&&(t=t.call(e,n,ie.extend({},a))),null!=t.top&&(d.top=t.top-a.top+s),null!=t.left&&(d.left=t.left-a.left+o),"using"in t?t.using.call(e,d):f.css(d)}},ie.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){ie.offset.setOffset(this,e,t)});var t,n,r=this[0],o={top:0,left:0},i=r&&r.ownerDocument;if(i)return t=i.documentElement,ie.contains(t,r)?(o=r.getBoundingClientRect(),n=z(i),{top:o.top+n.pageYOffset-t.clientTop,left:o.left+n.pageXOffset-t.clientLeft}):o},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===ie.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ie.nodeName(e[0],"html")||(r=e.offset()),r.top+=ie.css(e[0],"borderTopWidth",!0)-e.scrollTop(),r.left+=ie.css(e[0],"borderLeftWidth",!0)-e.scrollLeft()),{top:t.top-r.top-ie.css(n,"marginTop",!0),left:t.left-r.left-ie.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===ie.css(e,"position");)e=e.offsetParent;return e||Ze})}}),ie.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset" },function(e,t){var n="pageYOffset"===t;ie.fn[e]=function(r){return Ee(this,function(e,r,o){var i=z(e);return void 0===o?i?i[t]:e[r]:void(i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o)},e,r,arguments.length)}}),ie.each(["top","left"],function(e,t){ie.cssHooks[t]=P(re.pixelPosition,function(e,n){return n?(n=C(e,t),Ke.test(n)?ie(e).position()[t]+"px":n):void 0})}),ie.each({Height:"height",Width:"width"},function(e,t){ie.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){ie.fn[r]=function(r,o){var i=arguments.length&&(n||"boolean"!=typeof r),s=n||(r===!0||o===!0?"margin":"border");return Ee(this,function(t,n,r){var o;return ie.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?ie.css(t,n,s):ie.style(t,n,r,s)},t,i?r:void 0,i,null)}})}),ie.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),ie.fn.andSelf=ie.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ie});var jt=e.jQuery,Gt=e.$;return ie.noConflict=function(t){return e.$===ie&&(e.$=Gt),t&&e.jQuery===ie&&(e.jQuery=jt),ie},t||(e.jQuery=e.$=ie),ie})}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/jquery/dist/jquery.js","/node_modules/jquery/dist")},{_process:43,buffer:3}],"mobile-detect":[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){!function(e,t){e(function(){"use strict";function e(e,t){return null!=e&&null!=t&&e.toLowerCase()===t.toLowerCase()}function n(e,t){var n,r,o=e.length;if(!o||!t)return!1;for(n=t.toLowerCase(),r=0;o>r;++r)if(n===e[r].toLowerCase())return!0;return!1}function r(e){for(var t in e)a.call(e,t)&&(e[t]=new RegExp(e[t],"i"))}function o(e,t){this.ua=e||"",this._cache={},this.maxPhoneWidth=t||600}var i={};i.mobileDetectRules={phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6",Dell:"Dell.*Streak|Dell.*Aero|Dell.*Venue|DELL.*Venue Pro|Dell Flash|Dell Smoke|Dell Mini 3iX|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b",Samsung:"Samsung|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323)",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533",Asus:"Asus.*Galaxy|PadFone.*Mobile",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo 3DS",Amoi:"Amoi",INQ:"INQ",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI)\\b",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K017 |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP612|SOT31",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris E10)|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android.*\\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9",JXDTablet:"Android.*\\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bJolla\\b|\\bTP750\\b"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+|Coast/[0-9.]+",Skyfire:"Skyfire",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari",Tizen:"Tizen",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Puffin:"Puffin",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:"Firefox/[VER]",Fennec:"Fennec/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]","UC Browser":"UC Browser[VER]",MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},i.detectMobileBrowsers={fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i, tabletPattern:/android|ipad|playbook|silk/i};var s,a=Object.prototype.hasOwnProperty;return i.FALLBACK_PHONE="UnknownPhone",i.FALLBACK_TABLET="UnknownTablet",i.FALLBACK_MOBILE="UnknownMobile",s="isArray"in Array?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},function(){var e,t,n,o,u,l,c=i.mobileDetectRules;for(e in c.props)if(a.call(c.props,e)){for(t=c.props[e],s(t)||(t=[t]),u=t.length,o=0;u>o;++o)n=t[o],l=n.indexOf("[VER]"),l>=0&&(n=n.substring(0,l)+"([\\w._\\+]+)"+n.substring(l+5)),t[o]=new RegExp(n,"i");c.props[e]=t}r(c.oss),r(c.phones),r(c.tablets),r(c.uas),r(c.utils),c.oss0={WindowsPhoneOS:c.oss.WindowsPhoneOS,WindowsMobileOS:c.oss.WindowsMobileOS}}(),i.findMatch=function(e,t){for(var n in e)if(a.call(e,n)&&e[n].test(t))return n;return null},i.findMatches=function(e,t){var n=[];for(var r in e)a.call(e,r)&&e[r].test(t)&&n.push(r);return n},i.getVersionStr=function(e,t){var n,r,o,s,u=i.mobileDetectRules.props;if(a.call(u,e))for(n=u[e],o=n.length,r=0;o>r;++r)if(s=n[r].exec(t),null!==s)return s[1];return null},i.getVersion=function(e,t){var n=i.getVersionStr(e,t);return n?i.prepareVersionNo(n):NaN},i.prepareVersionNo=function(e){var t;return t=e.split(/[a-z._ \/\-]/i),1===t.length&&(e=t[0]),t.length>1&&(e=t[0]+".",t.shift(),e+=t.join("")),Number(e)},i.isMobileFallback=function(e){return i.detectMobileBrowsers.fullPattern.test(e)||i.detectMobileBrowsers.shortPattern.test(e.substr(0,4))},i.isTabletFallback=function(e){return i.detectMobileBrowsers.tabletPattern.test(e)},i.prepareDetectionCache=function(e,n,r){if(e.mobile===t){var s,a,u;return(a=i.findMatch(i.mobileDetectRules.tablets,n))?(e.mobile=e.tablet=a,void(e.phone=null)):(s=i.findMatch(i.mobileDetectRules.phones,n))?(e.mobile=e.phone=s,void(e.tablet=null)):void(i.isMobileFallback(n)?(u=o.isPhoneSized(r),u===t?(e.mobile=i.FALLBACK_MOBILE,e.tablet=e.phone=null):u?(e.mobile=e.phone=i.FALLBACK_PHONE,e.tablet=null):(e.mobile=e.tablet=i.FALLBACK_TABLET,e.phone=null)):i.isTabletFallback(n)?(e.mobile=e.tablet=i.FALLBACK_TABLET,e.phone=null):e.mobile=e.tablet=e.phone=null)}},i.mobileGrade=function(e){var t=null!==e.mobile();return e.os("iOS")&&e.version("iPad")>=4.3||e.os("iOS")&&e.version("iPhone")>=3.1||e.os("iOS")&&e.version("iPod")>=3.1||e.version("Android")>2.1&&e.is("Webkit")||e.version("Windows Phone OS")>=7||e.is("BlackBerry")&&e.version("BlackBerry")>=6||e.match("Playbook.*Tablet")||e.version("webOS")>=1.4&&e.match("Palm|Pre|Pixi")||e.match("hp.*TouchPad")||e.is("Firefox")&&e.version("Firefox")>=12||e.is("Chrome")&&e.is("AndroidOS")&&e.version("Android")>=4||e.is("Skyfire")&&e.version("Skyfire")>=4.1&&e.is("AndroidOS")&&e.version("Android")>=2.3||e.is("Opera")&&e.version("Opera Mobi")>11&&e.is("AndroidOS")||e.is("MeeGoOS")||e.is("Tizen")||e.is("Dolfin")&&e.version("Bada")>=2||(e.is("UC Browser")||e.is("Dolfin"))&&e.version("Android")>=2.3||e.match("Kindle Fire")||e.is("Kindle")&&e.version("Kindle")>=3||e.is("AndroidOS")&&e.is("NookTablet")||e.version("Chrome")>=11&&!t||e.version("Safari")>=5&&!t||e.version("Firefox")>=4&&!t||e.version("MSIE")>=7&&!t||e.version("Opera")>=10&&!t?"A":e.os("iOS")&&e.version("iPad")<4.3||e.os("iOS")&&e.version("iPhone")<3.1||e.os("iOS")&&e.version("iPod")<3.1||e.is("Blackberry")&&e.version("BlackBerry")>=5&&e.version("BlackBerry")<6||e.version("Opera Mini")>=5&&e.version("Opera Mini")<=6.5&&(e.version("Android")>=2.3||e.is("iOS"))||e.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||e.version("Opera Mobi")>=11&&e.is("SymbianOS")?"B":(e.version("BlackBerry")<5||e.match("MSIEMobile|Windows CE.*Mobile")||e.version("Windows Mobile")<=5.2,"C")},i.detectOS=function(e){return i.findMatch(i.mobileDetectRules.oss0,e)||i.findMatch(i.mobileDetectRules.oss,e)},i.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},o.prototype={constructor:o,mobile:function(){return i.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return i.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return i.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===t&&(this._cache.userAgent=i.findMatch(i.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===t&&(this._cache.userAgents=i.findMatches(i.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===t&&(this._cache.os=i.detectOS(this.ua)),this._cache.os},version:function(e){return i.getVersion(e,this.ua)},versionStr:function(e){return i.getVersionStr(e,this.ua)},is:function(t){return n(this.userAgents(),t)||e(t,this.os())||e(t,this.phone())||e(t,this.tablet())||n(i.findMatches(i.mobileDetectRules.utils,this.ua),t)},match:function(e){return e instanceof RegExp||(e=new RegExp(e,"i")),e.test(this.ua)},isPhoneSized:function(e){return o.isPhoneSized(e||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===t&&(this._cache.grade=i.mobileGrade(this)),this._cache.grade}},"undefined"!=typeof window&&window.screen?o.isPhoneSized=function(e){return 0>e?t:i.getDeviceSmallerSide()<=e}:o.isPhoneSized=function(){},o._impl=i,o})}(function(e){if("undefined"!=typeof t&&t.exports)return function(e){t.exports=e()};if("function"==typeof define&&define.amd)return define;if("undefined"!=typeof window)return function(e){window.MobileDetect=e()};throw new Error("unknown environment")}())}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/mobile-detect/mobile-detect.js","/node_modules/mobile-detect")},{_process:43,buffer:3}],"object-assign":[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){"use strict";function c(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function f(e){var t=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e))),t.filter(function(t){return d.call(e,t)})}var d=Object.prototype.propertyIsEnumerable;t.exports=Object.assign||function(e,t){for(var n,r,o=c(e),i=1;i<arguments.length;i++){n=arguments[i],r=f(Object(n));for(var s=0;s<r.length;s++)o[r[s]]=n[r[s]]}return o}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/object-assign/index.js","/node_modules/object-assign")},{_process:43,buffer:3}],"react-mixin":[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){function f(e){var t=e.getDefaultProps;t&&(e.defaultProps=t(),delete e.getDefaultProps)}function d(e){function t(e){var t=e.state||{};m(t,n.call(e)),e.state=t}var n=e.getInitialState,r=e.componentWillMount;n&&(r?e.componentWillMount=function(){t(this),r.call(this)}:e.componentWillMount=function(){t(this)},delete e.getInitialState)}function p(e,t){f(t),d(t);var n={},r={};Object.keys(t).forEach(function(e){"mixins"!==e&&"statics"!==e&&("function"==typeof t[e]?n[e]=t[e]:r[e]=t[e])}),g(e.prototype,n);var o=function(e,t,n){if(!e)return t;if(!t)return e;var r={};return Object.keys(e).forEach(function(n){t[n]||(r[n]=e[n])}),Object.keys(t).forEach(function(n){e[n]?r[n]=function(){return t[n].apply(this,arguments)&&e[n].apply(this,arguments)}:r[n]=t[n]}),r};return h({childContextTypes:o,contextTypes:o,propTypes:h.MANY_MERGED_LOOSE,defaultProps:h.MANY_MERGED_LOOSE})(e,r),t.statics&&Object.getOwnPropertyNames(t.statics).forEach(function(n){var r=e[n],o=t.statics[n];if(void 0!==r&&void 0!==o)throw new TypeError("Cannot mixin statics because statics."+n+" and Component."+n+" are defined.");e[n]=void 0!==r?r:o}),t.mixins&&t.mixins.reverse().forEach(p.bind(null,e)),e}var h=e("smart-mixin"),m=e("object-assign"),g=h({componentDidMount:h.MANY,componentWillMount:h.MANY,componentWillReceiveProps:h.MANY,shouldComponentUpdate:h.ONCE,componentWillUpdate:h.MANY,componentDidUpdate:h.MANY,componentWillUnmount:h.MANY,getChildContext:h.MANY_MERGED});t.exports=function(){var e=g;return e.onClass=function(e,t){return p(e,t)},e.decorate=function(t){return function(n){return e.onClass(n,t)}},e}()}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react-mixin/index.js","/node_modules/react-mixin")},{_process:43,buffer:3,"object-assign":"object-assign","smart-mixin":203}],react:[function(e,t,n){(function(n,r,o,i,s,a,u,l,c){t.exports=e("./lib/React")}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/react/react.js","/node_modules/react")},{"./lib/React":73,_process:43,buffer:3}],"wheel-inertia":[function(e,t,n){(function(e,n,r,o,i,s,a,u,l){function c(e){d()&&(h=10,y++,m=e>0?1:-1,g(m)),p.shift(),p.push(Math.abs(e))}function f(e){g=e}function d(){return h>0?(h--,!1):null==p[0]?!1:p[0]<p[4]&&p[1]<=p[4]&&p[2]<=p[4]&&p[3]<=p[4]&&p[5]<=p[4]&&p[6]<=p[4]&&p[7]<=p[4]&&p[8]<p[4]?!0:!1}t.exports={addCallback:f,update:c};var p=[null,null,null,null,null,null,null,null,null],h=0,m=void 0,g=void 0,y=0}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/wheel-inertia/index.js","/node_modules/wheel-inertia")},{_process:43,buffer:3}]},{},[]);
'use strict'; function createSailsBackend($browser, $window, $injector, $q, $timeout){ if(!$window.io){ throw new Error('socket.io client not found') } if(!$window.io.sails){ throw new Error('sails.io client not found') } if(!$window.io.socket){ console.warn('no connected socket...') } var tick = function (socket, callback) { return callback ? function () { var args = arguments; $timeout(function () { callback.apply(socket, args); }, 0); } : angular.noop; }; function connection(method, url, post, callback, headers, timeout, withCredentials, responseType){ $browser.$$incOutstandingRequestCount(); function socketResponse(body,jwr){ $browser.$$completeOutstandingRequest(angular.noop); callback(jwr.statusCode,body); //status, response, headersString, statusText } url = url || $browser.url(); $window.io.socket.request({ method: method.toLowerCase(), url: url, data: fromJson(post), headers: headers }, socketResponse); } //TODO normalize http paths to event names connection.subscribe = function(event,handler){ $window.io.socket.on(event,tick($window.io.socket,handler)); } return connection; } /** * @ngdoc service * @name ngsails.$sailsSocketBackend * @requires $window * @requires $document * * @description * Service used by the $sailsSocket that delegates to a * Socket.io connection (or in theory, any connection type eventually) * * You should never need to use this service directly, instead use the higher-level abstractions: * $sailsSocket or $sailsResource. * * During testing this implementation is swapped with $sailsMockBackend * which can be trained with responses. */ function sailsBackendProvider() { this.$get = ['$browser', '$window','$injector', '$q','$timeout', function($browser, $window, $injector, $q,$timeout) { return createSailsBackend($browser,$window, $injector, $q,$timeout); }]; }
import Student from '../models/Student'; class StudentController { async store(req, res) { const studentExists = await Student.findOne({ where: { email: req.body.email }, }); if (studentExists) { return res.status(400).json({ error: 'User already exists.', }); } const student = await Student.create(req.body); return res.json(student); } async update(req, res) { const { id } = req.params; const { email } = req.body; const student = await Student.findByPk(id); if (email !== student.email) { const studentExists = await Student.findOne({ where: { email }, }); if (studentExists) { return res.status(400).json({ error: 'User already exists.', }); } } const { name, age, weight, height } = await student.update(req.body); return res.json({ id, name, email, age, weight, height, }); } } export default new StudentController();
/* eslint-env mocha */ /* eslint no-new-wrappers: 0 */ import expect from 'expect'; import fString from '../../src/types/string.js'; describe('string', () => { context('.name', () => { it('is "string"', () => { expect(fString.name).toEqual('string'); }); }); context('.checker', () => { it('accepts `new String()`', () => { expect(fString.checker(new String())).toBe(true); }); it('accepts empty string', () => { expect(fString.checker('')).toBe(true); }); it('accepts a filled string', () => { expect(fString.checker('abc')).toBe(true); }); it('refuses null', () => { expect(fString.checker(null)).toBe(false); }); }); context('.printer', () => { it('prints correctly an empty string', () => { expect(fString.printer('')).toBe('""'); }); it('prints correctly a filled string', () => { expect(fString.printer('abc')).toBe('"abc"'); }); }); });
import Accessor from './Accessor'; import Parameter from './Parameter'; import Result from './Result'; export default class Initialize { constructor(type, value) { Object.assign(this, { type, value }); } getClassName() { return 'Initialize'; } analyze(context) { if (context.parentConstruct instanceof Accessor) { context.addID(this.type, context.parentConstruct.id.value); } else if (context.parentConstruct instanceof Parameter) { const parameterType = context.parentConstruct.type; if (parameterType !== 'any' && parameterType !== this.type) { throw new Error('Type Error: wrong type given to parameter'); } context.addTokenParamInitialize(this, context.parentConstruct.id.value); } else if (context.parentConstruct instanceof Result) { const resultType = context.parentConstruct.type; if (resultType !== this.type) { throw new Error('Type Error: wrong type given to result'); } context.addTokenResultAccess(this); } } }
function solve(){ let text = document.getElementById('input').innerHTML; let sentences = text.split(".").map(s => s.trim()); let outputElement = document.getElementById('output'); let pCount = parseInt(sentences.length / 3); if(sentences.length % 3 != 0){ pCount++; } let index = 0; for(let i = 0; i < pCount; i++){ var p = document.createElement('p'); for(let j = index; j < index + 3; j++){ p.innerHTML += sentences[j]; } index += 3; outputElement.appendChild(p); } }
import React from "react"; import withStyles from "@material-ui/core/styles/withStyles"; import MaskedTextField from "./MaskedTextField"; const parseDigits = string => (string.match(/\d+/g) || []).join(""); const format = string => { if (string === undefined || string === null) return string; let digits = parseDigits(string).substr(0, 9); if (digits.length > 5) digits = `${digits.substr(0, 5)}-${digits.substr(5)}`; return digits; }; const mask = zipCode => { if (zipCode === undefined || zipCode === null) return undefined; return zipCode.length > 10; }; const ZipCodeField = withStyles( {}, { name: "CoZipCodeField" } )(props => <MaskedTextField mask={mask} format={format} {...(props || {})} />); export default ZipCodeField;
// Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-angular'], plugins: [ require('karma-jasmine'), require('karma-chrome-launcher'), require('karma-jasmine-html-reporter'), require('karma-coverage-istanbul-reporter'), require('@angular-devkit/build-angular/plugins/karma') ], client: { clearContext: false // leave Jasmine Spec Runner output visible in browser }, coverageIstanbulReporter: { dir: require('path').join(__dirname, './coverage/currency'), reports: ['html', 'lcovonly', 'text-summary'], fixWebpackSourcePaths: true }, reporters: ['progress', 'kjhtml'], port: 9876, colors: true, logLevel: config.LOG_INFO, autoWatch: true, browsers: ['Chrome'], singleRun: false, restartOnFileChange: true }); };
window.kudosAppLoader=window.kudosAppLoader||{},function(){var e={};function n(e){window.document.title=e||""}function o(e){document.write(e)}function a(e){return e?e.charAt(0).toUpperCase()+e.slice(1):null}function t(){var e=location.href.replace(location.origin,"/..");window.location.href="/blogs/roller-ui/login-redirect.jsp?redirect="+encodeURIComponent(e)}window.kudosAppLoader.go=function(){var t,i=window.kudosAppLoader.appLoaderConfig,r=window.kudosAppLoader.contextPath,d=r.replace(/^\//,"");if(i[d])L=d,t=r;else{var c=window.location.pathname.replace(r,"").split("/");L=c.length>1?c[1]:null,t=r+"/"+L}document.body.classList.add(L);var l=L?i[L]:null,p=document.getElementById("app-frame");o(e.body);var s=$(document.body).height();if(p&&s&&s<100&&(p.style.paddingTop=s+"px"),l){var u=new URL(l);if(n(a(L)),window.addEventListener("message",function(e){if(!e||!e.data||e.origin!==u.origin)return;var o=e.data;"String"==typeof o&&(o={command:o});const{command:a,route:i,title:r,icon:d}=o||{};if("appReady"===a||"applicationReady"===a){const{currentLogin:e={},origin:n}=window;p&&p.contentWindow.postMessage({source:{resourceType:"header-frame"},context:{origin:n},user:e},"*")}var c,l;i&&history.replaceState(null,null,t+i),r&&n(r),d&&(c=d,(l=document.querySelector("link[rel*='icon']"))||(l=document.createElement("link"),document.getElementsByTagName("head")[0].appendChild(l)),l.type="image/x-icon",l.rel="shortcut icon",l.href=c)},!1),p){var w=u.origin,h="/"===u.pathname?"":u.pathname,f=window.location.pathname.replace(t,""),m=[];window.location.search&&m.push(window.location.search.replace("?","")),u.search&&m.push(u.search.replace("?",""));var g=m.length?"?"+m.join("&"):"",v=window.location.hash||u.hash;p.src=w+(f||h)+g+v}}else{p&&(p.style.display="none");var y=$('<div class="app-links" ></div>');for(var L in $(document.body).append(y),i){var b=$('<span class="app-link"><a href="'+r+"/"+L+'">'+a(L)+"</a></span>");y.append(b)}}};var i="/blogs/roller-ui/about.do";$.ajax({url:i,type:"GET",dataType:"text",async:!1,cache:!1}).done(function(n,o,a){function t(e,n){var o=e.toLowerCase(),a=n.toLowerCase(),t=o.indexOf("<"+a);if(t>-1){t=o.indexOf(">",t)+1;var i=o.indexOf("</"+a,t);if(i>t)return e.substring(t,i)}return null}var i=t(n,"head");i=(i=(i=i.replace(/<title>[^<]*<\/title>/,"")).replace(/<meta[^>]*>/g,"")).replace(/document.title[\s]*=[^;]*;/g,""),e.head=i;var r=t(n,"body");r=r.replace(/document.title[\s]*=[^;]*;/g,""),e.body=r}).fail(function(e,n,o){console.error("Connections integration load failure",arguments),t()}),o(e.head),window.appName||t()}();
import {EventAggregator} from 'aurelia-event-aggregator'; import {autoinject} from 'aurelia-framework'; import {customElement} from 'aurelia-framework'; @customElement('container') @autoinject() export class Container { name = 'Container'; overridableContext = ''; boundContext = ''; constructor() { console.log("%c" + this.name + ' constructor', "color: green; background-color: yellow;"); console.log(arguments); } activate() { console.log("%c" + this.name + ' activate', "color: green; background-color: yellow;"); console.log(arguments); } created(owningView, view) { console.log("%c" + this.name + ' created', "color: green; background-color: yellow;"); console.log(owningView); console.log(view) } bind(bindingContext, overrideContext) { console.log("%c" + this.name + ' bind', "color: green; background-color: yellow;"); console.log(bindingContext); console.log(overrideContext); this.overridableContext = JSON.stringify(overrideContext); this.boundContext = JSON.stringify(bindingContext); } attached() { console.log("%c" + this.name + ' attached', "color: green; background-color: yellow;"); console.log(arguments); } detached() { console.log("%c" + this.name + ' detached', "color: green; background-color: yellow;"); console.log(arguments); } unbind() { console.log("%c" + this.name + ' unbind', "color: green; background-color: yellow;"); console.log(arguments); } }
const Discord = require('discord.js'); const { query } = require('../../mysql.js'); const methods = require('../../utils/methods.js'); const os = require('os'); module.exports = { name: 'eval', aliases: [''], description: 'Admin-only command.', hasArgs: true, requirePartner: false, worksInDM: true, forceDMsOnly: false, modOnly: false, adminOnly: true, execute(message, args, prefix, userId){ let commandInput = message.content.substring(6); try{ let evaled = eval(commandInput); if(typeof evaled !== "string") evaled = require("util").inspect(evaled); message.channel.send(evaled, {code:"x1"}); } catch(err){ message.reply("Something went wrong: ```"+err+"```"); } }, }
import React from "react"; import Badge from "react-bootstrap/Badge"; import { useDispatch, useSelector } from "react-redux"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faPlus } from "@fortawesome/free-solid-svg-icons"; import { showModal } from "./modalSlice"; import TagPill from "./TagPill"; function TagCell({ row, value }) { const dispatch = useDispatch(); const { id: huntId } = useSelector((state) => state.hunt); const puzzleId = row.original.id; return ( <> {row.original.tags.map(({ name, color, id }) => ( <TagPill name={name} color={color} id={id} puzzleId={puzzleId} key={name} /> ))} <span style={{ cursor: "pointer" }} onClick={() => dispatch( showModal({ type: "EDIT_TAGS", props: { huntId, puzzleId: row.values.id, }, }) ) } > <Badge pill variant="light"> <FontAwesomeIcon icon={faPlus} /> </Badge> </span> </> ); } export default TagCell;
export const AGENT_ID_KEY = 'AGENT_ID_KEY' export const AUTH_CODE_KEY = 'AUTH_CODE_KEY' export const ACCESS_TOKEN_KEY = 'ACCESS_TOKEN_KEY' export const REFRESH_TOKEN_KEY = 'REFRESH_TOKEN_KEY' export const ACCESS_TOKEN_TYPE_KEY = 'ACCESS_TOKEN_TYPE_KEY'
const R = require('ramda'); const { Given, When, Then, } = require('cucumber'); const Decimal = require('decimal.js'); const tk = require('timekeeper'); const moment = require('moment'); const taxYearLookup = { '2016/17': '2016-04-06', '2017/18': '2017-04-06', '2018/19': '2018-04-06', '2019/20': '2019-04-06', }; Given(/^that the current tax year is (.*)$/, function process(taxYear) { tk.freeze(moment.utc(taxYearLookup[taxYear]).toDate()); }); Given(/^that the tax year is (.*)$/, function process(taxYear) { this.taxYear = taxYearLookup[taxYear]; }); Given(/^that I have a monthly income of £(.*)$/, function process(income) { this.income = income; }); When(/^calculating my ni deductions$/, async function process() { this.state.response = await this.supertest(this.expressInstance) .post('/v1/national-insurance') .set(this.taxYear ? { 'x-run-date': this.taxYear } : {}) .send({ income: this.income, }); }); Then(/^I should be liable to pay £(.*) in class 1 national insurance contributions$/, function process(expected) { const actual = R.path( ['response', 'body', 'ni'], this.state ); this.expect(new Decimal(actual)).toEqual(new Decimal(expected)); } );
import { applyCommon } from './common.js'; import { createFormEntity } from '../helpers/form-helper.js'; import { notificationHandler, notificationMessages } from './notification.js'; export async function registerHandler() { await applyCommon.call(this); this.partials.registerForm = await this.load('../../templates/auth/register/registerForm.hbs'); await this.partial('../../templates/auth/register/registerPage.hbs'); const userId = sessionStorage.getItem('userId'); if (userId) { this.redirect('#/home'); return; } const formRef = document.querySelector('form'); formRef.addEventListener('submit', async (e) => { e.preventDefault(); const form = createFormEntity(formRef, [ 'email', 'password', 'repeatPassword' ]); const { email, password, repeatPassword } = form.getValue(); if (!email) { notificationHandler(notificationMessages.register.invalidEmail, 'error'); form.clear([ 'email' ]); return; } if (password !== repeatPassword) { notificationHandler(notificationMessages.register.passwordMatch, 'error'); form.clear([ 'password', 'repeatPassword' ]); return; } try { const newUser = await firebase.auth().createUserWithEmailAndPassword(email, password); let userToken = await firebase.auth().currentUser.getIdToken(); sessionStorage.setItem('email', email); sessionStorage.setItem('userId', firebase.auth().currentUser.uid); sessionStorage.setItem('token', userToken); notificationHandler(notificationMessages.register.successfull); this.redirect([ '#/home' ]); } catch (e) { if (e.code === 'auth/weak-password') { form.clear([ 'password', 'repeatPassword' ]); } else { form.clear([ 'email' ]); } notificationHandler(e.message, 'error'); } }); } export async function loginHandler() { await applyCommon.call(this); this.partials.loginForm = await this.load('../../templates/auth/login/loginForm.hbs'); await this.partial('../../templates/auth/login/loginPage.hbs'); const userId = sessionStorage.getItem('userId'); if (userId) { this.redirect('#/home'); return; } const formRef = document.querySelector('form'); formRef.addEventListener('submit', async (e) => { e.preventDefault(); const form = createFormEntity(formRef, [ 'email', 'password' ]); const { email, password } = form.getValue(); try { const loggedInUser = await firebase.auth().signInWithEmailAndPassword(email, password); const userToken = await firebase.auth().currentUser.getIdToken(); sessionStorage.setItem('email', loggedInUser.user.email); sessionStorage.setItem('userId', firebase.auth().currentUser.uid); sessionStorage.setItem('token', userToken); notificationHandler(notificationMessages.login.successfull); this.redirect([ '#/home' ]); } catch (e) { notificationHandler(notificationMessages.login.unsuccessfull, 'error'); } }); } export async function logoutHandler() { notificationHandler(notificationMessages.logout.successfull); sessionStorage.clear(); await firebase.auth().signOut(); this.redirect([ '#/login' ]); }
export default function getAbi(contractEntry) { if (contractEntry.web3Contract) { return contractEntry.web3Contract.options.jsonInterface } else { return contractEntry.abi } }
/** * Copyright (c) 2013 Zhen, LLC. http://zhen.io * * MIT License * */ 'use strict'; var app = angular.module("angular-pages", []); app.directive("znPagesPage", ['znPageManager', 'Commons', function (znPageManager, Commons) { function process() { Commons.log(2, { "func": "znPagesPage.process", "arguments": arguments }); var scope, element, attrs, phase; if (arguments.length === 3) { scope = arguments[0]; element = arguments[1]; attrs = arguments[2]; phase = "link"; } else { element = arguments[0]; attrs = arguments[1]; phase = "compile"; } var id = attrs.id || undefined, containerId = attrs.znPagesContainerId || undefined, collectionId = attrs.znPagesCollectionId || undefined, isNgInclude = typeof attrs.ngInclude !== 'undefined'; Commons.log(3, { id: id, containerId: containerId, collectionId: collectionId, isNgInclude: isNgInclude }); if (containerId === undefined || collectionId === undefined) return; var container = znPageManager.container(containerId), collection = container.collection(collectionId), page; if (container === undefined || collection === undefined) return; // If ID exist then it means we've compiled before, which means we have created the page object // for this already. So no ID, create new page; if ID, get existing page. if (id) { page = collection.page(id); } else { page = collection.newPage(); id = page.getId(); } if (page.isReady()) return page; page.attr({ "compiles": page.attr("compiles") + 1, "isNgInclude": isNgInclude, "parent": collection }); Commons.log(3, { id: id, "compiles": collection.attr("compiles"), isNgInclude: isNgInclude, parent: collection }); element.attr('id', id); attrs['id'] = id; return page; } function finalize(scope, element, attrs) { Commons.log(2, { "func": "znPagesPage.finalize", "arguments": arguments, "id": pageId }); var page = scope.page, pageId = page.getId(), width = element[0].offsetWidth, height = element[0].offsetHeight; if (page.isReady()) return; page.attr({ "width": width, "height": height, "ready": true }); Commons.log(3, { id: pageId, "width": width, "height": height, "ready": true }); scope.$emit("znPagesPageReady", { id: pageId }); } return { restrict: "A", scope: true, compile: function (element, attrs) { Commons.log(2, { "func": "znPagesPage.compile", "arguments": arguments }); var tagName = element[0].tagName.toLowerCase(); if (tagName !== "li") { Commons.log(1, "LI, not " + tagName + ", must be used for collections."); return; } var page = process(element, attrs), pageId = page.getId(); return function (scope, element, attrs) { Commons.log(2, { "func": "znPagesPage.link", "arguments": arguments, "id": pageId }); if (!page.isReady()) { scope.page = page; scope.name = pageId; var compiles = page.attr("compiles"), isNgInclude = page.attr("ngInclude"); if (isNgInclude) { scope.$on('$includeContentLoaded', function (event) { Commons.log(2, { "func": "znPagesPage.link.$on $includeContentLoaded", "arguments": arguments, "id": pageId }); if (event.targetScope.name === pageId) { process(scope, element, attrs); finalize(scope, element, attrs); } }); } else { Commons.log(2, { "func": "znPagesPage.link.NOT_$includeContentLoaded", "arguments": arguments, "id": pageId }); // For the page, if it's not ng-include, then we just go ahead and finalize // Unlike collection and container, for those, if the element is not ng-include, // their children may. // for page, there's no more children ng-include that we care about. finalize(scope, element, attrs); } } } } } }]); app.directive("znPagesCollection", ['$compile', 'znPageManager', 'Commons', function ($compile, znPageManager, Commons) { function process() { Commons.log(2, { "func": "znPagesCollection.process", "arguments": arguments }); var scope, element, attrs, phase; if (arguments.length === 3) { scope = arguments[0]; element = arguments[1]; attrs = arguments[2]; phase = "link"; } else { element = arguments[0]; attrs = arguments[1]; phase = "compile"; } var layout = attrs.znPagesLayout === "col" ? attrs.znPagesLayout : "row", id = attrs.id || undefined, containerId = attrs.znPagesContainerId || undefined, start = typeof attrs.znPagesStart !== 'undefined' ? Math.max(0, parseInt(attrs.znPagesStart)) : 0, isNgInclude = typeof attrs.ngInclude !== 'undefined', collection, container, ngRepeatCollection, dynamic = false; Commons.log(3, { id: id, layout: layout, containerId: containerId, start: start, isNgInclude: isNgInclude, dynamic: dynamic }); if (containerId === undefined) return; container = znPageManager.container(containerId); // If ID exist then it means we've compiled before, which means we have created the collection object // for this already. So no ID, create new collection; if ID, get existing collection. if (id) { collection = container.collection(id); } else { collection = container.newCollection(); id = collection.getId(); element.addClass("zn-pages-" + layout); } if (collection.isReady()) return collection; attrs['id'] = id; attrs['zn-pages-layout'] = layout; attrs['zn-pages-start'] = start; element.attr({ "id": id, "zn-pages-layout": layout, "zn-pages-start": start }); element.removeClass("zn-animate").addClass("zn-noanimate"); Commons.log(3, element[0].innerHTML); // If it's not ng-include, then let's check to see if this is ng-repeat //if (!isNgInclude) { // Get the page elements (LIs) var children = element.children(), // Get the first LI to see if it has ng-repeat attribute ngRepeatElem = angular.element(children[0]), // Get the ng-repeat expression expression = ngRepeatElem.attr('ng-repeat'); Commons.log(3, "---------------- ", expression, ngRepeatElem); // If this is ng-repeat, then extract the collection name in the expression, and replace // it with our own. if (expression !== undefined) { var match = expression.match(/^\s*(.+)\s+in\s+(.*?)\s*(\s+track\s+by\s+(.+)\s*)?$/), lhs = match[1], trackByExp = match[4]; ngRepeatCollection = match[2]; ngRepeatElem.attr('ng-repeat', lhs + ' in znPagesBuffer track by ' + trackByExp); dynamic = true; } //} collection.attr({ "compiles": collection.attr("compiles") + 1, "layout": layout, "startIndex": start, "activeIndex": start, "parent": container, "dynamic": dynamic, "ngInclude": isNgInclude, "collectionName": ngRepeatCollection }); Commons.log(3, { "id": id, "compiles": collection.attr("compiles"), "layout": layout, "startIndex": start, "activeIndex": start, "parent": container, "dynamic": dynamic, "ngInclude": isNgInclude, "collectionName": ngRepeatCollection }); if (!ngRepeatCollection) { var children = element.children(), childrenCount = children.length; for (var i = 0; i < childrenCount; i++) { var child = children[i]; angular.element(child).attr({ "zn-pages-page": "", "zn-pages-collection-id": id, "zn-pages-container-id": containerId }); // Only run compile explicitly if in link phase if (phase === "link") $compile(child)(scope); } } else if (isNgInclude && ngRepeatCollection) { Commons.log(3, "++++++++++++++ DING DING DING" + ngRepeatCollection); } return collection; } function finalize(scope, element, attrs) { Commons.log(2, { "func": "znPagesCollection.finalize", "arguments": arguments }); var width = element[0].offsetWidth, height = element[0].offsetHeight, collection = scope.collection, id = collection.getId(), layout = collection.attr("layout"), compiles = collection.attr("compiles"); if (collection.isReady()) return; collection.attr({ "width": width, "height": height }); Commons.log(2, { id: id, layout: layout, compiles: compiles, width: width, height: height }); if (collection.isDynamic()) { collection.updateBuffer(scope.$eval(collection.attr("collectionName"))); scope.znPagesBuffer = collection.getBuffer(); } else { collection.updateBuffer(); } Commons.log(3, { "func": "znPagesCollection.finalize.scopeFinalized", id: id, }); scope.$watch("collection.hasMoved()", function (moved) { Commons.log(2, { "func": "znPagesCollection.$watch collection.hasMoved()", "arguments": arguments, "id": id }); if (moved !== undefined) { var animate = !collection.attr("restart"); Commons.slideTo(element, collection, animate); collection.updateBuffer(); collection.attr("restart", false); } }); collection.attr("ready", true); Commons.log(3, "++++++++++ emit ready", { id: id }); scope.$emit("znPagesCollectionReady", { id: id }); } function pagesReady(collection) { var pages = collection.attr("pages"), pageCount = pages.length, ready = true; for (var i = 0; i < pageCount; i++) { ready = ready && pages[i].isReady(); } return ready; } return { restrict: "A", scope: true, compile: function (element, attrs) { Commons.log(2, { "func": "znPagesCollection.compile", "arguments": arguments }); var tagName = element[0].tagName.toLowerCase(); if (tagName !== "ul") { Commons.log(1, "UL, not " + tagName + ", must be used for collections."); return; } var collection = process(element, attrs), collectionId = collection.getId(); return function (scope, element, attrs) { Commons.log(2, { "func": "znPagesCollection.link", "arguments": arguments, "id": collectionId }); if (!collection.isReady()) { scope.collection = collection; scope.name = collectionId; var layout = collection.attr("layout"), dynamic = collection.isDynamic(), isNgInclude = collection.attr("ngInclude"), compiles = collection.attr("compiles"), collectionName = collection.attr("collectionName"); if (!dynamic) { scope.$on('znPagesPageReady', function (event) { Commons.log(2, { "func": "znPagesCollection.link.$on znPagesPageReady", "arguments": arguments, "id": collectionId }); if (pagesReady(collection)) { finalize(scope, element, attrs); } }); } if (dynamic) { if (compiles === 1) { // if dynamic then it means this is a ng-repeat element, in which case // we make sure we watch for any changes scope.$watch(collectionName, function (newValue, oldValue) { Commons.log(2, { "func": "znPagesCollection.link.$watch " + collectionName, "arguments": arguments, "id": collectionId }); if (newValue != undefined && !angular.equals(newValue, oldValue)) { collection.updateBuffer(newValue); scope.znPagesBuffer = collection.getBuffer(); if (collection.width === 0 || collection.height === 0) { collection.attr({ "width": element[0].offsetWidth, "height": element[0].offsetHeight }); } Commons.slideTo(element, collection, false); } }, true); } finalize(scope, element, attrs); } if (isNgInclude) { if (compiles === 1) { scope.$on('$includeContentLoaded', function (event) { Commons.log(2, { "func": "znPagesCollection.link.$includeContentLoaded", "arguments": arguments, "id": collectionId }); if (event.targetScope.name === collectionId) process(scope, element, attrs); }); } } else { Commons.log(2, { "func": "znPagesCollection.link.NOT_$includeContentIncluded", "arguments": arguments, "id": collectionId }); if (!pagesReady(collection)) { process(scope, element, attrs); } else { finalize(scope, element, attrs); } } if (compiles === 1) { // the transitionEnd event listener only gets executed when there's animation // If animation is set to none, then this will not get called element[0].addEventListener(Commons.whichTransitionEvent(), function (event) { if (event.target.getAttribute('id').match(/^zn-pages-collection/)) { scope.$apply(function () { Commons.log(2, { "func": "znPagesCollection.link.addEventListener transitionEnd", "arguments": arguments, "id": collectionId }); var collection = scope.collection, numMoved = collection.attr("numMoved"); if (collection.isDynamic()) { var newBuffer = collection.getBuffer(), activeBufferIndex = collection.attr("activeBufferIndex"); // If the new buffer and the old buffer are the same, then it means we are at // the top of the collection. So let's not do anything. // // However, if the buffers are different, then let's make sure it's displaying the // the updated active page, which should be the same page content as before, assuming // the same page content exist in the new buffer if (!angular.equals(newBuffer, scope.znPagesBuffer)) { scope.znPagesBuffer = newBuffer; Commons.slideTo(element, collection, false); } } }); } }, false); } } } } } }]); app.directive("znPages", ['$window', '$document', '$compile', "znSwipe", 'znPageManager', 'Commons', function ($window, $document, $compile, znSwipe, znPageManager, Commons) { function process() { Commons.log(2, { "func": "znPages.process", "arguments": arguments }); var scope, element, attrs, phase; if (arguments.length === 3) { scope = arguments[0]; element = arguments[1]; attrs = arguments[2]; phase = "link"; } else { element = arguments[0]; attrs = arguments[1]; phase = "compile"; } var layout = attrs.znPages === "col" ? attrs.znPages : "row", id = attrs.id || undefined, start = typeof attrs.znPagesStart !== 'undefined' ? Math.max(0, parseInt(attrs.znPagesStart)) : 0, isSwipe = typeof attrs.znPagesSwipe !== 'undefined', isNgInclude = typeof attrs.ngInclude !== 'undefined', container; // If ID exist then it means we've compiled before, which means we have created the container object // for this already. So no ID, create new container; if ID, get existing container. if (id) { container = znPageManager.container(id); } else { container = znPageManager.newContainer(); id = container.getId(); element.addClass("zn-pages-" + layout); } if (container.isReady()) return container; container.attr({ "compiles": container.attr("compiles")+1, "startIndex": start, "layout": layout, "isSwipe": isSwipe, "ngInclude": isNgInclude }); attrs['id'] = id; attrs['zn-pages-layout'] = layout; attrs['zn-pages-start'] = start; element.attr({ "id": id, "zn-pages-layout": layout, "zn-pages-start": start }); Commons.log(3, { id: id, compiles: container.attr("compiles"), layout: layout, start: start, isSwipe: isSwipe, isNgInclude: isNgInclude }); var children = element.children(), childrenCount = children.length; // For each child, we set it up to be a zn-pages-collection. This will trigger the compile phase // for each of the collections. for (var i = 0; i < childrenCount; i++) { var child = angular.element(children[i]), childStart = child.attr("zn-pages-start") ? parseInt(child.attr("zn-pages-start")) : 0; child.attr({ 'zn-pages-collection': "", 'zn-pages-container-id': id, 'zn-pages-layout': layout, 'zn-pages-start': childStart }); Commons.log(3, "********** modifying child " + i, { 'zn-pages-collection': "", 'zn-pages-container-id': id, 'zn-pages-layout': layout, 'zn-pages-start': childStart }); child.addClass("zn-pages-" + layout); // Call $compile if this is the link phase. Otherwise it means we are in the compile phase, // which means no need to call $compile explicitly if (phase === "link") $compile(child)(scope); } return container; } function finalize(scope, element, attrs) { Commons.log(2, { "func": "znPages.finalize", "arguments": arguments }); var container = scope.container, containerId = container.getId(), childrenElem = element.children(), width = element[0].offsetWidth, height = element[0].offsetHeight, layout = container.attr("layout"), isSwipe = container.attr("isSwipe"), compiles = container.attr("compiles"); if (container.isReady()) return; container.attr({ "width": width, "height": height }); Commons.log(3, { id: containerId, layout: layout, isSwipe: isSwipe, compiles: compiles, width: width, height: height }); container.updateBuffer(); scope.$watch("container.hasMoved()", function (newValue, oldValue) { Commons.log(2, { "func": "znPages.finalize.$watch container.hasMoved()", "arguments": arguments, "id": containerId }); if (newValue != undefined && newValue !== oldValue) { var animate = !container.attr("restart"); Commons.slideTo(element, container, animate); container.updateBuffer(); container.attr("restart", false); } }); if (isSwipe) { Commons.log(2, { "func": "znPages.finalize.isSwipe", "id": containerId }); var startPos, // coordinates of the last position moveX; // moving horizontally (X) or vertically (!X) znSwipe.bind(element, { start: function (coords) { startPos = coords; moveX = undefined; }, move: function (coords) { if (!startPos) return; if (moveX === undefined) { var totalX = Math.abs(coords.x - startPos.x), totalY = Math.abs(coords.y - startPos.y); moveX = (totalX > totalY); } var e, cm, offset, ratio, newX, newY; if (moveX) { offset = coords.x - startPos.x; if (layout === "col") { e = element; cm = container; } else { cm = container.attr("collections")[container.attr("activeIndex")]; e = angular.element(childrenElem[container.attr("activeIndex")]); } ratio = ((cm.isHead() && offset > 0) || (cm.isTail() && offset < 0)) ? 3 : 1; newX = cm.getPosition(cm.attr("activeBufferIndex")).width + Math.round(offset / ratio); Commons.slideX(e, newX, false); } else { offset = coords.y - startPos.y; if (layout === "col") { cm = container.attr("collections")[container.attr("activeIndex")]; e = angular.element(childrenElem[container.attr("activeIndex")]); } else { e = element; cm = container; } ratio = ((cm.isHead() && offset > 0) || (cm.isTail() && offset < 0)) ? 3 : 1; newY = cm.getPosition(cm.attr("activeBufferIndex")).height + Math.round(offset / ratio); Commons.slideY(e, newY, false); } }, end: function (coords) { if (!startPos || moveX == undefined) return; scope.$apply(function () { var cm = null, childId = null, delta = 0, move = false, container = scope.container; if (moveX) { if (layout === "col") { cm = container; } else { cm = container.attr("collections")[container.attr("activeIndex")]; } delta = coords.x - startPos.x; move = Math.abs(delta) >= cm.attr("width") * 0.1; if ((cm.isHead() && delta > 0) || (cm.isTail() && delta < 0) || !move) { var e = angular.element(childrenElem[container.attr("activeIndex")]); Commons.slideX(e, 0, true); cm.slideReset(); } else { delta > 0 ? container.slideRight() : container.slideLeft(); } } else { if (layout === "col") { cm = container.attr("collections")[container.attr("activeIndex")]; } else { cm = container; } delta = coords.y - startPos.y; move = Math.abs(delta) >= cm.attr("height") * 0.1; if ((cm.isHead() && delta > 0) || (cm.isTail() && delta < 0) || !move) { cm.slideReset(); } else { delta < 0 ? container.slideUp() : container.slideDown(); } } }); startPos = null; }, cancel: function () { // TODO: what are we going to do? } }) } $window.onresize = function() { scope.$apply(function() { var width = element[0].offsetWidth, height = element[0].offsetHeight; container.attr({ "width": width, "height": height }); Commons.log(3, { "func": "znPages.finalize.$window.onresize", "width": width, "height": height }); container.slideReset(); }); }; $document.ready(function() { scope.$apply(function() { var width = element[0].offsetWidth, height = element[0].offsetHeight; container.attr({ "width": width, "height": height }); Commons.log(3, { "func": "znPages.finalize.$document.ready", "width": width, "height": height }); container.slideHome(); }); }); container.attr("ready", true); scope.$emit("znPagesContainerReady", { id: containerId }); } function collectionsReady(container) { var collections = container.attr("collections"), collectionCount = collections.length, ready = true; Commons.log(3, "++++++>>>>>> " + collectionCount); for (var i = 0; i < collectionCount; i++) { ready = ready && collections[i].isReady(); } return ready; } return { restrict: "A", scope: true, compile: function (element, attrs) { Commons.log(2, { "func": "znPages.compile", "arguments": arguments }); var tagName = element[0].tagName.toLowerCase(); if (tagName !== "div") { Commons.log(1, "DIV, not " + tagName + ", must be used for containers."); return; } var container = process(element, attrs), containerId = container.getId(); return function (scope, element, attrs) { Commons.log(2, { "func": "znPages.link", "arguments": arguments, "id": containerId }); if (!container.isReady()) { scope.container = container; scope.name = containerId; // If this function is called during the "link" phase, and we don't already have a wrapper, then // create new wrapper. This wrapper is the outer layer used to hide the rest of the content var parent = element.parent()[0]; if (parent.id !== "zn-pages-wrapper") { element.wrap('<div id="zn-pages-wrapper" class="zn-pages-container"></div>'); } var isNgInclude = container.attr("ngInclude"), compiles = container.attr("compiles"), collections = container.attr("collections"); Commons.log(3, { id: containerId, isNgInclude: isNgInclude, compiles: compiles }); // If this is the first time after compilation, let's setup the event handlers if (compiles === 1) { Commons.log(3, ">>>>>>>>>>>> setting up $on znPagesCollectionReady"); scope.$on('znPagesCollectionReady', function (event) { Commons.log(2, { "func": "znPages.link.$on znPagesCollectionReady", "arguments": arguments, "id": containerId }); if (collectionsReady(container)) { finalize(scope, element, attrs); } }); } if (isNgInclude) { if (compiles === 1) { scope.$on('$includeContentLoaded', function (event) { Commons.log(2, { "func": "znPages.link.$on $includeContentLoaded", "arguments": arguments, "id": containerId }); if (event.targetScope.name === containerId) process(scope, element, attrs); }); } } else { Commons.log(2, { "func": "znPages.link.NOT_$includeContentLoaded", "arguments": arguments, "id": containerId }); if (!collectionsReady(container)) { process(scope, element, attrs); } else { finalize(scope, element, attrs); } } Commons.log(3, ">>>>>>>>>>>>>>", container); } } } } }]); app.service("znPageManager", ['Commons', function (Commons) { var containers = []; /** * @ngdoc object * @name PageManager.Page * * @description * */ function Page(id, dynamic) { var _options = { id: id, // The page ID width: 0, // Page width height: 0, // Page height parent: null, // The collection holding this page ready: false, compiles: 0 }; angular.extend(this, _options); } Page.prototype.attr = Commons.attr; Page.prototype.toString = Commons.toString; Page.prototype.getId = function () { return "zn-pages-page-" + this.id; }; Page.prototype.isReady = function () { return this.ready; }; /** * @ngdoc object * @name PageManager.Collection * * @description * */ function Collection(id) { var _options = { id: id, // ID of the page collection pages: [], // List of Page objects activeIndex: 0, // Current active page buffer: [], // display buffer for the collection bufferSize: 3, // Display buffer size activeBufferIndex: 0, // Current active page of the display buffer parent: null, // The container holding this collection dynamic: false, // The collection is dynamic collection: null, // The dynamic collection, numMoved: 0, // The number of pages moved moved: 0, // The collection has moved height: 0, width: 0, layout: "row", restart: false, ready: false, startIndex: 0, compiles: 0 }; for (var i in _options) this[i] = _options[i]; //angular.extend(this, _options); } Collection.prototype.attr = Commons.attr; Collection.prototype.toString = Commons.toString; Collection.prototype.newPage = function () { var page = new Page(this.id + "-" + this.pages.length); this.pages.push(page); return page; }; Collection.prototype.getId = function () { return "zn-pages-collection-" + this.id; }; Collection.prototype.page = function (id) { for (var i = 0; i < this.pages.length; i++) { if (this.pages[i].getId() === id) { return this.pages[i]; } } }; Collection.prototype.isDynamic = function () { return this.dynamic; }; Collection.prototype.isReady = function () { var count = this.pages.length, ready = this.ready; for (var i = 0; i < count; i++) { ready = ready && this.pages[i].isReady(); } return ready; }; Collection.prototype.isHead = function () { return this.activeIndex === 0; }; Collection.prototype.isTail = function () { return this.activeIndex === this.length() - 1; }; Collection.prototype.getBuffer = function () { return this.buffer; }; Collection.prototype.bufferLength = function () { return this.isDynamic() ? this.buffer.length : this.pages.length; }; Collection.prototype.length = function () { return this.isDynamic() ? this.collection.length : this.pages.length; }; Collection.prototype.getPosition = function (index) { var position = { width: 0, height: 0 }; var width = this.parent.attr("width"), height = this.parent.attr("height"); position.width = -width * index; position.height = -height * index; Commons.log(3, { "func": "Collection.getPosition", "parentWidth": width, "parentHeight": height, "width": position.width, "height": position.height }) return position; }; Collection.prototype.hasMoved = function () { return this.moved; }; Collection.prototype.slideReset = function () { this.moved++; }; Collection.prototype.slidePrev = function () { this.numMoved = -1; this.moved++; }; Collection.prototype.slideNext = function () { this.numMoved = 1; this.moved++; }; Collection.prototype.slideHome = function () { this.numMoved = 0; this.activeIndex = this.startIndex; this.activeBufferIndex = this.startIndex; this.restart = true; this.updateBuffer(); this.moved++; }; Collection.prototype.updateBuffer = function (collection) { Commons.log(2, { "func": "Collection.updateBuffer", "arguments": arguments }); if (!this.isDynamic()) { var active = Math.max(0, Math.min(this.activeIndex + this.numMoved, this.pages.length - 1)); this.activeIndex = active; this.activeBufferIndex = active; return; } if (collection) this.collection = collection; if (this.collection === undefined) return; var collectionKeys = [], bufferStart, bufferEnd, bufferKeys = [], activeBufferIndex, active; // Get the list of updated keys, and see if we can find the current key in the update list // If collection is an array then just use that // If collection is an object map, then extract the keys and sort that if (angular.isArray(this.collection)) { collectionKeys = this.collection; } else { for (var key in this.collection) { if (this.collection.hasOwnProperty(key) && key.charAt(0) != '$') { collectionKeys.push(key); } } collectionKeys.sort(); } if (angular.isArray(this.buffer)) { bufferKeys = this.buffer; } else { for (var key in this.buffer) { if (this.buffer.hasOwnProperty(key) && key.charAt(0) != '$') { bufferKeys.push(key); } } bufferKeys.sort(); } if (this.buffer.length === 0 || this.reset == true) { // buffer size is 0 means there's nothing in the buffer, most likely never set, so let's set // it up using the start page. active = this.startIndex; } else if (collectionKeys[this.activeIndex] !== bufferKeys[this.activeBufferIndex]) { // If the actual key in the collection pointed to by the page index in the collection // is no longer the same as the saved key, then we know the array has shifted and positions // have been changed. So let's find the new index for the saved key, and keep the saved key // in the current display, and update the buffer around it for (var i = 0; i < collectionKeys.length; i++) { if (collectionKeys[i] === bufferKeys[this.activeBufferIndex]) { active = i; } } if (active === undefined) active = this.startIndex; } else { // By now, we know the buffer has been set before, and that the saved key is the same // as the collection key that's pointed to by the page index, then we just keep // the same active key and just update the buffer around it active = this.activeIndex; } var a = active; // active should be previous_active + change active = Math.max(0, Math.min(active + this.numMoved, collectionKeys.length - 1)); bufferStart = Math.max(0, Math.min(active - 1, collectionKeys.length - 1)); activeBufferIndex = active - bufferStart; bufferEnd = bufferStart + this.bufferSize; bufferKeys = collectionKeys.slice(bufferStart, bufferEnd); // Create the display buffer, return either array or object map depending on the // original collection if (angular.isArray(this.collection)) { this.buffer = bufferKeys; } else { this.buffer = {}; for (var i = 0; i < bufferKeys.length; i++) { var key = bufferKeys[i]; this.buffer[key] = this.collection[key]; } } this.activeBufferIndex = activeBufferIndex; this.activeIndex = active; this.numMoved = 0; return this.buffer; }; /** * @ngdoc object * @name PageManager.Container * * @description * */ function Container(id) { var _options = { id: id, // ID of the page container collections: [], // List of Collection objects activeIndex: 0, // Current active collection activeBufferIndex: 0, // Current active collection numMoved: 0, // The number of pages moved moved: 0, // The collection has moved height: 0, width: 0, layout: "row", isSwipe: true, startIndex: 0, restart: false, ready: false, compiles: 0 }; angular.extend(this, _options); } Container.prototype.attr = Commons.attr; Container.prototype.toString = Commons.toString; Container.prototype.newCollection = function () { var col = new Collection(this.id + "-" + this.collections.length); this.collections.push(col); return col; }; Container.prototype.getId = function () { return "zn-pages-container-" + this.id; }; Container.prototype.isReady = function () { var count = this.collections.length, ready = this.ready; for (var i = 0; i < count; i++) { ready = ready && this.collections[i].isReady(); } Commons.log(3, { id: this.id, count: count, ready: ready }); return ready; }; Container.prototype.isHead = function () { return this.activeIndex === 0; }; Container.prototype.isTail = function () { return this.activeIndex === this.length() - 1; }; Container.prototype.isLeft = function () { if (this.layout === "row") { return this.collections[this.activeIndex].isHead(); } else { return this.isHead(); } }; Container.prototype.isRight = function () { if (this.layout === "row") { return this.collections[this.activeIndex].isTail(); } else { return this.isTail(); } }; Container.prototype.isTop = function () { if (this.layout === "row") { return this.isHead(); } else { return this.collections[this.activeIndex].isHead(); } }; Container.prototype.isBottom = function () { if (this.layout === "row") { return this.isTail(); } else { return this.collections[this.activeIndex].isTail(); } }; Container.prototype.length = function () { return this.collections.length; }; Container.prototype.collection = function (id) { for (var i = 0; i < this.collections.length; i++) { if (this.collections[i].getId() === id) { return this.collections[i]; } } }; Container.prototype.bufferLength = function () { return this.length(); }; Container.prototype.hasMoved = function () { return this.moved; }; Container.prototype.getPosition = function (index) { var position = { width: 0, height: 0 }; position.width = -this.width * index; position.height = -this.height * index; Commons.log(3, { "func": "Container.getPosition", "width": position.width, "height": position.height }); return position; }; Container.prototype.slideReset = function () { this.moved++; }; Container.prototype.slideHome = function () { Commons.log(2, { "func": "Container.slideHome" }); this.numMoved = 0; this.activeIndex = this.startIndex; this.activeBufferIndex = this.startIndex; this.restart = true; this.updateBuffer(); for (var i = 0; i < this.length(); i++) { this.collections[i].slideHome(); } this.moved++; }; Container.prototype.slidePrev = function () { this.numMoved = -1; this.moved++; }; Container.prototype.slideNext = function () { this.numMoved = 1; this.moved++; }; Container.prototype.updateBuffer = function () { var active = Math.max(0, Math.min(this.activeIndex + this.numMoved, this.collections.length - 1)); this.activeIndex = active; this.activeBufferIndex = active; }; Container.prototype.slideLeft = function () { Commons.log(2, { "func": "Container.slideLeft", "arguments": arguments }); // 1. If column layout, slide left means showing column on right // 2. If row layout, slide left means showing the page on the right of the active row if (this.layout === "col") { this.slideNext(); } else { this.collections[this.activeIndex].slideNext(); } }; Container.prototype.slideRight = function () { Commons.log(2, { "func": "Container.slideRight", "arguments": arguments }); // 1. If column layout, slide right means showing column on left // 2. If row layout, slide right means showing the page on the left of the active row if (this.layout === "col") { this.slidePrev(); } else { this.collections[this.activeIndex].slidePrev(); } }; Container.prototype.slideUp = function () { Commons.log(2, { "func": "Container.slideUp", "arguments": arguments }); // 1. If column layout, slide up means showing page below in the active row // 2. If row layout, slide up means showing the row below if (this.layout === "col") { this.collections[this.activeIndex].slideNext(); } else { this.slideNext(); } }; Container.prototype.slideDown = function () { Commons.log(2, { "func": "Container.slideDown", "arguments": arguments }); // 1. If column layout, slide down means showing page above in the active row // 2. If row layout, slide down means showing the row above if (this.layout === "col") { this.collections[this.activeIndex].slidePrev(); } else { this.slidePrev(); } }; Container.prototype.initialize = function (options) { this.attr(options); var active = Math.max(0, Math.min(this.activeIndex + this.numMoved, this.collections.length - 1)); this.activeIndex = active; this.activeBufferIndex = active; }; return { newContainer: function () { var c = new Container(containers.length); containers.push(c); return c; }, containers: function () { return containers; }, container: function (id) { Commons.log(2, { "func": "znPageManager.container", "arguments": arguments }); for (var i = 0; i < containers.length; i++) { if (containers[i].getId() === id) { return containers[i]; } } } }; }]); app.factory("Commons", [ function () { return { log: function () { var debug = true, debug2 = true, debug3 = true, d = parseInt(arguments[0]), i; if ((d === 1 && debug) || (d === 2 && debug2) || (d === 3 && debug3)) { console.log(new Date()); for (i = 1; i < arguments.length; i++) { console.log(arguments[i]); } } }, attr: function (name, value) { if (angular.isObject(name)) { // if the name is a object map, then loop through the properties and set them individually for (var i in name) { if (name.hasOwnProperty(i)) this.attr(i, name[i]); } } else if (name !== undefined && value !== undefined) { // if both parameters exist, then we assume we are setting an attribute // For a couple of the properties we do some special treatment // Otherwise we just save the properties this[name] = value; } else if (name !== undefined) { // if name is defined and value is undefined, then we assume we are retrieving a parameter // If it's a collection that is NOT dynamic, or it's a container (which by definition is not // dynamic, then activeBufferIndex is really just the activeIndex, so we will return that if (((this.getId().match(/^zn-pages-collection/) && !this.isDynamic()) || this.getId().match(/^zn-pages-container/)) && name === "activeBufferIndex") { return this.activeIndex; } if (name === "activeIndex") { if (this.getId().match(/^zn-pages-container/)) { return Math.max(0, Math.min(this.activeIndex, this.collections.length)); } else if (this.getId().match(/^zn-pages-conllection/)) { return Math.max(0, Math.min(this.activeIndex, this.pages.length)); } else { return this.activeIndex; } } return this[name]; } else { // if all else fails, return undefined return undefined; } }, toString: function () { var str = "id: " + this.getId() + "\n"; for (var i in this) { var t = typeof this[i]; if (t !== 'function') { str += (i + " (" + t + "): " + (this[i] !== null ? this[i].toString() : "null") + "\n"); } } return str; }, slideTo: function (element, obj, animate) { this.log(2, { "func": "Commons.slideTo", "arguments": arguments }); animate = (arguments.length < 3) ? true : animate; var id = obj.getId(), layout = obj.attr("layout"), active = Math.max(0, Math.min(obj.attr("activeBufferIndex") + obj.attr("numMoved"), obj.bufferLength() - 1)), position = obj.getPosition(active); this.log(3, position); if (id.match(/^zn-pages-container/)) { // slide container if (layout === "row") { this.slideY(element, position.height, animate); } else { this.slideX(element, position.width, animate); } } else { // slide collection if (layout === "row") { this.slideX(element, position.width, animate); } else { this.slideY(element, position.height, animate); } } }, slideX: function (element, width, animate) { this.log(2, { "func": "Commons.slideX", "arguments": arguments, "width": width, "animate": animate }); if (animate === false) { element.removeClass("zn-animate").addClass("zn-noanimate"); } else { element.removeClass("zn-noanimate").addClass("zn-animate"); } element.css(this.whichTransformCSS(), 'translateX(' + width + 'px)'); }, slideY: function (element, height, animate) { this.log(2, { "func": "Commons.slideY", "arguments": arguments, "height": height, "animate": animate }); if (animate === false) { element.removeClass("zn-animate").addClass("zn-noanimate"); } else { element.removeClass("zn-noanimate").addClass("zn-animate"); } element.css(this.whichTransformCSS(), 'translateY(' + height + 'px)'); }, whichTransitionEvent: function () { this.log(2, { "func": "Commons.whichTransitionEvent", "arguments": arguments }); var el = document.createElement('fakeelement'), transitions = { 'transition': 'transitionend', 'OTransition': 'oTransitionEnd', 'MozTransition': 'transitionend', 'MSTransition': 'mstransitionend', 'WebkitTransition': 'webkitTransitionEnd' }; for (var t in transitions) { if (transitions.hasOwnProperty(t)) { if (el.style[t] !== undefined) { return transitions[t]; } } } }, whichTransformCSS: function () { this.log(2, { "func": "Commons.whichTransformCSS", "arguments": arguments }); var el = document.createElement('fakeelement'), transforms = { 'transform': 'transform', 'oTransform': '-o-transform', 'mozTransform': '-moz-transform', 'webkitTransform': '-webkit-transform', 'msTransform': '-ms-transform' }; for (var t in transforms) { if (transforms.hasOwnProperty(t)) { if (el.style[t] !== undefined) { return transforms[t]; } } } } } }]); /** * @ngdoc object * @name ngMobile.$swipe * * @description * The `$swipe` service is a service that abstracts the messier details of hold-and-drag swipe * behavior, to make implementing swipe-related directives more convenient. * * It is used by the `ngSwipeLeft` and `ngSwipeRight` directives in `ngMobile`, and by * `ngCarousel` in a separate component. * * # Usage * The `$swipe` service is an object with a single method: `bind`. `bind` takes an element * which is to be watched for swipes, and an object with four handler functions. See the * documentation for `bind` below. */ app.factory('znSwipe', [function () { // The total distance in any direction before we make the call on swipe vs. scroll. var MOVE_BUFFER_RADIUS = 10; function getCoordinates(event) { var touches = event.touches && event.touches.length ? event.touches : [event]; var e = (event.changedTouches && event.changedTouches[0]) || (event.originalEvent && event.originalEvent.changedTouches && event.originalEvent.changedTouches[0]) || touches[0].originalEvent || touches[0]; return { x: e.clientX, y: e.clientY }; } return { /** * @ngdoc method * @name ngMobile.$swipe#bind * @methodOf ngMobile.$swipe * * @description * The main method of `$swipe`. It takes an element to be watched for swipe motions, and an * object containing event handlers. * * The four events are `start`, `move`, `end`, and `cancel`. `start`, `move`, and `end` * receive as a parameter a coordinates object of the form `{ x: 150, y: 310 }`. * * `start` is called on either `mousedown` or `touchstart`. After this event, `$swipe` is * watching for `touchmove` or `mousemove` events. These events are ignored until the total * distance moved in either dimension exceeds a small threshold. * * Once this threshold is exceeded, either the horizontal or vertical delta is greater. * - If the horizontal distance is greater, this is a swipe and `move` and `end` events follow. * - If the vertical distance is greater, this is a scroll, and we let the browser take over. * A `cancel` event is sent. * * `move` is called on `mousemove` and `touchmove` after the above logic has determined that * a swipe is in progress. * * `end` is called when a swipe is successfully completed with a `touchend` or `mouseup`. * * `cancel` is called either on a `touchcancel` from the browser, or when we begin scrolling * as described above. * */ bind: function (element, eventHandlers) { // Absolute total movement, used to control swipe vs. scroll. var totalX, totalY; // Coordinates of the start position. var startCoords; // Last event's position. var lastPos; // Whether a swipe is active. var active = false; element.bind('touchstart mousedown', function (event) { startCoords = getCoordinates(event); active = true; totalX = 0; totalY = 0; lastPos = startCoords; eventHandlers['start'] && eventHandlers['start'](startCoords); }); element.bind('touchcancel', function (event) { active = false; eventHandlers['cancel'] && eventHandlers['cancel'](); }); element.bind('touchmove mousemove', function (event) { if (!active) return; // Android will send a touchcancel if it thinks we're starting to scroll. // So when the total distance (+ or - or both) exceeds 10px in either direction, // we either: // - On totalX > totalY, we send preventDefault() and treat this as a swipe. // - On totalY > totalX, we let the browser handle it as a scroll. if (!startCoords) return; var coords = getCoordinates(event); totalX += Math.abs(coords.x - lastPos.x); totalY += Math.abs(coords.y - lastPos.y); lastPos = coords; if (totalX < MOVE_BUFFER_RADIUS && totalY < MOVE_BUFFER_RADIUS) { return; } // Prevent the browser from scrolling. event.preventDefault(); eventHandlers['move'] && eventHandlers['move'](coords); }); element.bind('touchend mouseup', function (event) { if (!active) return; active = false; eventHandlers['end'] && eventHandlers['end'](getCoordinates(event)); }); } }; }]);
const DigitTicker = (() => { let barrier, container_ref, el_container, el_peek, el_peek_box, el_mask, total_tick_count, contract_status, type, current_spot; let style_offset_correction = 5; let is_initialized = false; const array_of_digits = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; const init = (container_id, contract_type, shortcode, tick_count, status = 'open') => { contract_status = status; total_tick_count = tick_count; type = contract_type; current_spot = '-'; el_container = document.querySelector(`#${container_id}`); container_ref = container_id; is_initialized = true; setBarrierFromShortcode(type, shortcode); populateContainer(el_container); highlightWinningNumbers(getWinningNumbers(contract_type, barrier)); observeResize(); }; const populateContainer = (container_element) => { // remove previous elements and start fresh. if (!container_element) return; container_element.innerHTML = ''; const temp_epoch_el = document.createElement('div'); temp_epoch_el.classList.add('epoch'); const temp_peek_box_el = document.createElement('div'); temp_peek_box_el.classList.add('peek-box'); if (contract_status === 'won') { temp_peek_box_el.classList.add('digit-winning'); } if (contract_status === 'lost') { temp_peek_box_el.classList.add('digit-losing'); } const temp_digits_el = document.createElement('div'); temp_digits_el.classList.add('digits'); array_of_digits.forEach(digit => { const digit_el = document.createElement('div'); digit_el.classList.add('digit', `digit-${digit}`); digit_el.appendChild(document.createTextNode(digit)); temp_digits_el.appendChild(digit_el); }); const temp_mask_el = document.createElement('div'); temp_mask_el.classList.add('mask'); temp_mask_el.append(document.createTextNode('0 / 0')); const temp_peek_el = document.createElement('div'); temp_peek_el.classList.add('peek'); // grid peek-box element definition const topleft_el = document.createElement('div'); topleft_el.classList.add('topleft'); const top_el = document.createElement('div'); top_el.classList.add('top'); const topright_el = document.createElement('div'); topright_el.classList.add('topright'); const left_el = document.createElement('div'); left_el.classList.add('left'); const right_el = document.createElement('div'); right_el.classList.add('right'); const bottomleft_el = document.createElement('div'); bottomleft_el.classList.add('bottomleft'); const bottom_el = document.createElement('div'); bottom_el.classList.add('bottom'); const bottomright_el = document.createElement('div'); bottomright_el.classList.add('bottomright'); temp_peek_box_el.appendChild(topleft_el); temp_peek_box_el.appendChild(top_el); temp_peek_box_el.appendChild(topright_el); temp_peek_box_el.appendChild(left_el); temp_peek_box_el.appendChild(right_el); temp_peek_box_el.appendChild(bottomright_el); temp_peek_box_el.appendChild(bottomleft_el); temp_peek_box_el.appendChild(bottom_el); temp_peek_box_el.appendChild(temp_mask_el); temp_peek_box_el.appendChild(temp_peek_el); const fragment = document.createDocumentFragment(); fragment.appendChild(temp_epoch_el); fragment.appendChild(temp_peek_box_el); fragment.appendChild(temp_digits_el); container_element.appendChild(fragment); container_element.classList.add('invisible'); }; // adjust box sizes for mobile const adjustBoxSizes = () => { if (el_container && el_container.offsetWidth < 360) { style_offset_correction = 6; } }; // Detect winning numbers against the barrier with the given contract type. const getWinningNumbers = (contract_type, spot) => { switch (contract_type) { case 'DIGITOVER': return array_of_digits.filter(digit => +digit > +spot); case 'DIGITUNDER': return array_of_digits.filter(digit => +digit < +spot); case 'DIGITMATCH': return array_of_digits.filter(digit => +digit === +spot); case 'DIGITDIFF': return array_of_digits.filter(digit => +digit !== +spot); case 'DIGITODD': return array_of_digits.filter(digit => +digit % 2 !== 0); case 'DIGITEVEN': return array_of_digits.filter(digit => +digit % 2 === 0); default: throw new Error('Cannot Determine Winning numbers.'); } }; const highlightWinningNumbers = (winning_numbers) => { if (!el_container) return; winning_numbers.forEach(digit => { const element = el_container.querySelector(`.digit-${digit}`); element.classList.remove('digit-losing'); element.classList.add('digit-winning'); }); }; const observeResize = () => { window.onresize = () => { if (el_peek_box) { adjustBoxSizes(); el_peek_box.setAttribute('style', `transform: translateX(${calculateOffset()}px)`); } }; }; // Calculate peek-box left offset. const calculateOffset = () => { const current_spot_digit = document.querySelector(`.digit-${current_spot}`); const left_offset = current_spot_digit ? current_spot_digit.offsetLeft : 0; return left_offset - style_offset_correction; }; const markAsLost = () => { if (!el_peek_box || !el_peek) { setElements(); } el_peek.classList.remove('digit-winning', 'digit-running'); el_peek_box.classList.remove('digit-winning', 'digit-running'); el_peek.classList.add('digit-losing'); el_peek_box.classList.add('digit-losing'); }; const markDigitAsWon = (digit) => { if (el_container && el_container.querySelector(`.digit-${digit}`)) { el_container.querySelector(`.digit-${digit}`).classList.add('digit-won'); } }; const markDigitAsLost = (digit) => { if (el_container && el_container.querySelector(`.digit-${digit}`)) { el_container.querySelector(`.digit-${digit}`).classList.add('digit-lost'); } }; const markAsWon = () => { if (!el_peek_box || !el_peek) { setElements(); } if (el_peek_box) { el_peek_box.classList.remove('digit-losing', 'digit-running'); el_peek_box.classList.add('digit-winning'); } if (el_peek) { el_peek.classList.remove('digit-losing', 'digit-running'); el_peek.classList.add('digit-winning'); } }; const setElements = () => { el_peek = el_container ? el_container.querySelector('.peek') : populateContainer(container_ref); el_peek_box = el_peek ? el_container.querySelector('.peek-box') : null; el_mask = el_peek_box ? el_peek_box.querySelector('.mask') : null; }; const isBarrierMissing = (contract_type, bar) => !/digit(even|odd)/i.test(type) && !bar; const setBarrierFromShortcode = (contract_type, shortcode) => { barrier = ''; if (!/^(digiteven|digitodd)_/i.test(shortcode)) { const arr_shortcode = shortcode.split('_'); barrier = arr_shortcode[arr_shortcode.length - 2]; } }; const update = (current_tick_count, { tick_display_value, epoch }) => { if (current_tick_count > total_tick_count) { return; } setElements(epoch); el_container.classList.remove('invisible'); adjustBoxSizes(); current_spot = tick_display_value.substr(-1); if (el_mask) el_mask.innerText = `${current_tick_count} / ${total_tick_count}`; if (el_peek_box) { el_peek_box.classList.add('digit-running'); el_peek_box.setAttribute('style', `transform: translateX(${calculateOffset()}px)`); } if (el_peek) el_peek.classList.add('digit-running'); }; const remove = () => { window.onresize = null; while (el_container && el_container.firstChild) { el_container.removeChild(el_container.firstChild); } if (el_container) el_container.classList.add('invisible'); }; const countDecimals = (value) => { if (Math.floor(value) !== value) return value.toString().split('.')[1].length || 0; return 0; }; const calculateDistance = (old_digit, new_digit) => Math.abs(old_digit - new_digit); const countUp = (start, end, duration, element, render) => { const decimal_points = countDecimals(start.replace('/,+/', '')); const f_start = parseFloat(start.replace(/,+/, '')); const range = calculateDistance(f_start, end); const step = Math.abs(range / 60); const increment = end > f_start ? (1 * step) : (-1 * step); let current = f_start; let i = 0; const renderTick = () => { i++; current += increment; element.innerHTML = render(current.toFixed(decimal_points)); if (i <= 15) { requestAnimationFrame(renderTick); } else { current = end; element.innerHTML = render(current.toFixed(decimal_points)); } }; requestAnimationFrame(renderTick); }; const isInitialized = () => is_initialized; return { init, update, countUp, isBarrierMissing, markAsWon, markAsLost, markDigitAsLost, markDigitAsWon, remove, isInitialized, }; })(); module.exports = DigitTicker;
const path = require(`path`) const { createFilePath } = require(`gatsby-source-filesystem`) exports.onCreateWebpackConfig = ({ actions }) => { actions.setWebpackConfig({ resolve: { alias: { components: path.resolve(__dirname, 'src/components'), pages: path.resolve(__dirname, 'src/pages'), utils: path.resolve(__dirname, 'src/utils'), templates: path.resolve(__dirname, 'src/templates'), }, }, }) } exports.createPages = async ({ graphql, actions }) => { const { createPage } = actions const blogPost = path.resolve(`./src/templates/post.js`) const result = await graphql( ` { allMarkdownRemark( sort: { fields: [frontmatter___date], order: DESC } limit: 1000 ) { edges { node { fields { slug } frontmatter { title } } } } } ` ) if (result.errors) { throw result.errors } // Create blog posts pages. const posts = result.data.allMarkdownRemark.edges posts.forEach((post, index) => { const previous = index === posts.length - 1 ? null : posts[index + 1].node const next = index === 0 ? null : posts[index - 1].node createPage({ path: post.node.fields.slug, component: blogPost, context: { slug: post.node.fields.slug, previous, next, }, }) }) } exports.onCreateNode = ({ node, actions, getNode }) => { const { createNodeField } = actions if (node.internal.type === `MarkdownRemark`) { const value = createFilePath({ node, getNode }) createNodeField({ name: `slug`, node, value, }) } }
import Vue from 'vue'; // Vue.config.silent = true /* eslint-disable global-require */ if (typeof window !== 'undefined') { global.window.resizeTo = (width, height) => { global.window.innerWidth = width || global.window.innerWidth; global.window.innerHeight = height || global.window.innerHeight; global.window.dispatchEvent(new Event('resize')); }; global.window.scrollTo = () => {}; } // The built-in requestAnimationFrame and cancelAnimationFrame not working with jest.runFakeTimes() // https://github.com/facebook/jest/issues/5147 global.requestAnimationFrame = function(cb) { return setTimeout(cb, 0); }; global.cancelAnimationFrame = function(cb) { return clearTimeout(cb, 0); }; const mockMath = Object.create(global.Math); mockMath.random = () => 0.5; global.Math = mockMath; Vue.component('transition-group', { props: ['tag'], render(createElement) { return createElement(this.tag || 'div', null, this.$slots.default); }, }); Vue.prototype.$emit = function() { const vm = this; const args = [].slice.call(arguments, 0); const filterEvent = []; const eventName = args[0]; if (args.length && vm.$listeners[eventName]) { if (filterEvent.includes(eventName)) { vm.$emit(eventName, ...args.slice(1)); } else { vm.$listeners[eventName](...args.slice(1)); } } };
var structoperations__research_1_1sat_1_1PresolveContext = [ [ "NewIntVar", "structoperations__research_1_1sat_1_1PresolveContext.html#a38e2f15d439243fcc447d48fe120624e", null ], [ "NewBoolVar", "structoperations__research_1_1sat_1_1PresolveContext.html#af3111a97c2700c885471fe682edfeee0", null ], [ "GetOrCreateConstantVar", "structoperations__research_1_1sat_1_1PresolveContext.html#a58d39e744aa90a95404e2a4037a0472e", null ], [ "AddImplication", "structoperations__research_1_1sat_1_1PresolveContext.html#a34b5d3417fd42df1be2401e867caae2c", null ], [ "AddImplyInDomain", "structoperations__research_1_1sat_1_1PresolveContext.html#a5670894aad056fc4452807432b031858", null ], [ "DomainIsEmpty", "structoperations__research_1_1sat_1_1PresolveContext.html#a2fa30837da268a9688f608013d857a7e", null ], [ "IsFixed", "structoperations__research_1_1sat_1_1PresolveContext.html#a4c1d359c4b268649c50d4c848c6aec0b", null ], [ "LiteralIsTrue", "structoperations__research_1_1sat_1_1PresolveContext.html#afdb8a0ca253cecac31ee6f9593992e56", null ], [ "LiteralIsFalse", "structoperations__research_1_1sat_1_1PresolveContext.html#a2cc31dece12725d389ef55c86fde8d9b", null ], [ "MinOf", "structoperations__research_1_1sat_1_1PresolveContext.html#abb0f39dfc559a1c40f6662551fd2027e", null ], [ "MaxOf", "structoperations__research_1_1sat_1_1PresolveContext.html#a03d0512947bf7bd7da30354c69657e0a", null ], [ "DomainContains", "structoperations__research_1_1sat_1_1PresolveContext.html#a754c0d3e9e81f7beae3e8854e26e6fde", null ], [ "DomainOf", "structoperations__research_1_1sat_1_1PresolveContext.html#a044c0a30b120ca82eabf648156ce3d19", null ], [ "VariableIsUniqueAndRemovable", "structoperations__research_1_1sat_1_1PresolveContext.html#a1cbe5a730a5b9ed96b24c2c123e1c346", null ], [ "IntersectDomainWith", "structoperations__research_1_1sat_1_1PresolveContext.html#a183cbc89ee5ff7b8bccefe3611ea9676", null ], [ "SetLiteralToFalse", "structoperations__research_1_1sat_1_1PresolveContext.html#a394e849d9191a33e5052df380f79d0e4", null ], [ "SetLiteralToTrue", "structoperations__research_1_1sat_1_1PresolveContext.html#a2a2aab8b3e16828d9adda83f1c7a3dd0", null ], [ "NotifyThatModelIsUnsat", "structoperations__research_1_1sat_1_1PresolveContext.html#a7ee7f3d60f0205faa97afb29fc1a4753", null ], [ "ModelIsUnsat", "structoperations__research_1_1sat_1_1PresolveContext.html#af4c2e4b921ea89bdfc12181513bf28e4", null ], [ "UpdateRuleStats", "structoperations__research_1_1sat_1_1PresolveContext.html#a5d062ed7b648f76dea03cee2f3d75592", null ], [ "UpdateConstraintVariableUsage", "structoperations__research_1_1sat_1_1PresolveContext.html#aaaebbe40a33ffb948566c7fb2ec6ad03", null ], [ "UpdateNewConstraintsVariableUsage", "structoperations__research_1_1sat_1_1PresolveContext.html#ac58a2f700fb28455324dd0268a9d510b", null ], [ "ConstraintVariableUsageIsConsistent", "structoperations__research_1_1sat_1_1PresolveContext.html#acfa9e96fd82123e73419f70c85690153", null ], [ "ExploitFixedDomain", "structoperations__research_1_1sat_1_1PresolveContext.html#a73044ff5a252d0b76143f284feb8a7e8", null ], [ "StoreAffineRelation", "structoperations__research_1_1sat_1_1PresolveContext.html#a4bb22addd56b487dc2b4e059d05b7277", null ], [ "StoreBooleanEqualityRelation", "structoperations__research_1_1sat_1_1PresolveContext.html#a67b3980d16091150e29336bd4a63a97f", null ], [ "GetAffineRelation", "structoperations__research_1_1sat_1_1PresolveContext.html#abe71fd6f840f88bdf418d7a9f73f4d4c", null ], [ "InitializeNewDomains", "structoperations__research_1_1sat_1_1PresolveContext.html#a87a8a55ba2abd0c19cdc70864e90f8d1", null ], [ "GetOrCreateVarValueEncoding", "structoperations__research_1_1sat_1_1PresolveContext.html#a84f189581ddb0bfaaa30fdac79974a03", null ], [ "affine_relations", "structoperations__research_1_1sat_1_1PresolveContext.html#a45ac9d3a101c05bdee8555af6d5e4ee2", null ], [ "var_equiv_relations", "structoperations__research_1_1sat_1_1PresolveContext.html#a433fd51c11836de37aa8863ae12f62b4", null ], [ "affine_constraints", "structoperations__research_1_1sat_1_1PresolveContext.html#afc085bbb77994ffe184a6cd0aa226622", null ], [ "constant_to_ref", "structoperations__research_1_1sat_1_1PresolveContext.html#a9fe18745f4c340c270606c29a162b881", null ], [ "encoding", "structoperations__research_1_1sat_1_1PresolveContext.html#a3d037aae8165f537d7e5c40ec2e7154c", null ], [ "constraint_to_vars", "structoperations__research_1_1sat_1_1PresolveContext.html#aa00971058085c89329e91144f68ff2cd", null ], [ "var_to_constraints", "structoperations__research_1_1sat_1_1PresolveContext.html#a5e753bf5cb3e545589da9ddc42dbd193", null ], [ "constraint_to_intervals", "structoperations__research_1_1sat_1_1PresolveContext.html#ae082e19ac8d170b3d058c032db485ea4", null ], [ "interval_usage", "structoperations__research_1_1sat_1_1PresolveContext.html#a4900eac60b3ba6893b46a7a5a65c504a", null ], [ "working_model", "structoperations__research_1_1sat_1_1PresolveContext.html#a1a267c1154e80e2966e5a39128e55b21", null ], [ "mapping_model", "structoperations__research_1_1sat_1_1PresolveContext.html#aecdea9a3ee9d89bc4faf30c485fdbe93", null ], [ "enumerate_all_solutions", "structoperations__research_1_1sat_1_1PresolveContext.html#abbc8c364716f627d5310746c503ac5cd", null ], [ "stats_by_rule_name", "structoperations__research_1_1sat_1_1PresolveContext.html#ac2a45aac7a72f5e3e5843ba1c4df954a", null ], [ "tmp_literals", "structoperations__research_1_1sat_1_1PresolveContext.html#aad6a1238ac4eb29d5265fbd6ec6a33eb", null ], [ "tmp_term_domains", "structoperations__research_1_1sat_1_1PresolveContext.html#a1a5b14b5437ebc3bbf7820747578a5fe", null ], [ "tmp_left_domains", "structoperations__research_1_1sat_1_1PresolveContext.html#a72b078d19854dc81f894f25bf16df419", null ], [ "tmp_literal_set", "structoperations__research_1_1sat_1_1PresolveContext.html#a8c4e4d1872cce837619b241b42b78f89", null ], [ "modified_domains", "structoperations__research_1_1sat_1_1PresolveContext.html#adaab631e9fe8cd69ccc05e6436e78e0c", null ] ];
var assert = require('assert') var Buffer = require('safe-buffer').Buffer var getRawBody = require('..') var Readable = require('stream').Readable var run = Readable ? describe : describe.skip run('using native streams', function () { it('should read contents', function (done) { var stream = createStream(Buffer.from('hello, streams!')) getRawBody(stream, function (err, buf) { assert.ifError(err) assert.strictEqual(buf.toString(), 'hello, streams!') done() }) }) it('should read pre-buffered contents', function (done) { var stream = createStream(Buffer.from('hello, streams!')) stream.push('oh, ') getRawBody(stream, function (err, buf) { assert.ifError(err) assert.strictEqual(buf.toString(), 'oh, hello, streams!') done() }) }) it('should stop the stream on limit', function (done) { var stream = createStream(Buffer.from('hello, streams!')) getRawBody(stream, { limit: 2 }, function (err, buf) { assert.ok(err) assert.strictEqual(err.status, 413) assert.strictEqual(err.limit, 2) process.nextTick(done) }) }) }) function createStream (buf) { var stream = new Readable() stream._read = function () { stream.push(buf) stream.push(null) } return stream }
const { environment } = require('@rails/webpacker'); // Get the actual sass-loader config const sassLoader = environment.loaders.get('sass'); const sassLoaderConfig = sassLoader.use.find(function (element) { return element.loader == 'sass-loader'; }); // Use Dart-implementation of Sass (default is node-sass) const options = sassLoaderConfig.options; options.implementation = require('sass'); function hotfixPostcssLoaderConfig(subloader) { const subloaderName = subloader.loader; if (subloaderName === 'postcss-loader') { subloader.options.postcssOptions = subloader.options.config; delete subloader.options.config; } } environment.loaders.keys().forEach((loaderName) => { const loader = environment.loaders.get(loaderName); loader.use.forEach(hotfixPostcssLoaderConfig); }); module.exports = environment;
// @flow strict import React from "react"; // $FlowExpectedError[cannot-resolve-module] import { persist } from "@cumcord/pluginData"; // $FlowExpectedError[cannot-resolve-module] import { useNest } from "@cumcord/utils"; // $FlowExpectedError[cannot-resolve-module] import { findByDisplayName } from "@cumcord/modules/webpack"; // batchFind is not tree shakable const FormText /*: DiscordFormText */ = findByDisplayName("FormText"); const Switch /*: DiscordSwitch */ = findByDisplayName("Switch"); const TextInput /*: DiscordTextInput */ = findByDisplayName("TextInput"); const SingleSelect /*: DiscordSingleSelect */ = findByDisplayName( "Select", false ).SingleSelect; const rowStyles = (depends /*: ?string */) => ({ display: "flex", alignItems: "center", gap: ".5rem", marginBottom: "1rem", marginLeft: depends !== undefined ? "1rem" : 0, }); export const SSwitch /*: SettingComponent */ = ({ k, depends, children }) => React.createElement( "div", { style: rowStyles(depends) }, React.createElement(Switch, { checked: persist.ghost[k], disabled: depends !== undefined && !persist.ghost[depends], onChange: (v) => (persist.store[k] = v), }), React.createElement(FormText, { children }) ); export const SText /*: SettingComponent */ = ({ k, depends, children }) => React.createElement( "div", { style: rowStyles(depends) }, React.createElement(TextInput, { value: persist.ghost[k], disabled: depends !== undefined && !persist.ghost[depends], onChange: (v) => (persist.store[k] = v), }), React.createElement(FormText, { children }) ); export const SSelect /*: SelectComponent */ = ({ k, options, depends, children, }) => React.createElement( "div", { style: rowStyles(depends) }, React.createElement(SingleSelect, { options, value: persist.ghost[k], isDisabled: depends !== undefined && !persist.ghost[depends], onChange: (v) => (persist.store[k] = v), }), React.createElement(FormText, { children }) ); export const dependPersist = (component /*: (mixed) => mixed */) /*: (mixed)=>mixed */ => (props) => { useNest(persist); return component(props); }; export const setDefaults = ( settings /*: {[string]: mixed} */, // $FlowExpectedError[unclear-type] nest /*: any */ = persist ) /*: void */ => { for (const k in settings) if (nest.ghost[k] === undefined) nest.store[k] = settings[k]; };
import PropTypes from 'prop-types'; import React from 'react'; import map from 'lodash/map'; import Template from './Template.js'; import hasKey from 'lodash/has'; import cx from 'classnames'; class Hits extends React.Component { renderWithResults() { const renderedHits = map(this.props.hits, (hit, position) => { const data = { ...hit, __hitIndex: position, }; return ( <Template data={data} key={data.objectID} rootProps={{ className: this.props.cssClasses.item }} templateKey="item" {...this.props.templateProps} /> ); }); return ( <div className={this.props.cssClasses.root}> {renderedHits} </div> ); } renderAllResults() { const className = cx( this.props.cssClasses.root, this.props.cssClasses.allItems ); return ( <Template data={this.props.results} rootProps={{ className }} templateKey="allItems" {...this.props.templateProps} /> ); } renderNoResults() { const className = cx( this.props.cssClasses.root, this.props.cssClasses.empty ); return ( <Template data={this.props.results} rootProps={{ className }} templateKey="empty" {...this.props.templateProps} /> ); } render() { const hasResults = this.props.results.hits.length > 0; const hasAllItemsTemplate = hasKey( this.props, 'templateProps.templates.allItems' ); if (!hasResults) { return this.renderNoResults(); } // If a allItems template is defined, it takes precedence over our looping // through hits if (hasAllItemsTemplate) { return this.renderAllResults(); } return this.renderWithResults(); } } Hits.propTypes = { cssClasses: PropTypes.shape({ root: PropTypes.string, item: PropTypes.string, allItems: PropTypes.string, empty: PropTypes.string, }), hits: PropTypes.array, results: PropTypes.object, templateProps: PropTypes.object.isRequired, }; Hits.defaultProps = { results: { hits: [] }, }; export default Hits;
export { default } from './Home.vue';
'use strict'; var platform = require('../lib/platform.js'); var helper = require('./helper.js'); var path = require('path'); var grunt = require('grunt'); var async = require('async'); var globule = require('globule'); var fixturesbase = path.resolve(__dirname, 'fixtures'); // helpers function cleanUp() { ['add.js'].forEach(function(file) { grunt.file.delete(path.join(fixturesbase, file)); }); } function runWithPoll(mode, cb) { if (mode === 'poll') { // Polling unfortunately needs time to pick up stat setTimeout(cb, 1000); } else { // Watch delays 10ms when adding, so delay double just in case setTimeout(cb, 20); } } exports.platform = { setUp: function(done) { platform.mode = 'auto'; this.interval = setInterval(platform.tick.bind(platform), 200); cleanUp(); done(); }, tearDown: function(done) { clearInterval(this.interval); platform.closeAll(); cleanUp(); done(); }, watchSameFile: function(test) { test.expect(2); var count = 0; function done() { if (count > 0) { test.done(); } else { count++; } } var filename = path.join(fixturesbase, 'one.js'); platform(filename, function(err, event, filepath) { test.equal(filepath, filename); done(); }); platform(filename, function(err, event, filepath) { test.equal(filepath, filename); done(); }); setTimeout(function() { grunt.file.write(filename, grunt.file.read(filename)); }, 200); }, change: function(test) { test.expect(4); var expectfilepath = null; function runtest(file, mode, done) { var filename = path.join(fixturesbase, file); platform.mode = mode; platform(filename, function(error, event, filepath) { test.equal(event, 'change', 'should have been a change event in ' + mode + ' mode.'); test.equal(filepath, expectfilepath, 'should have triggered on the correct file in ' + mode + ' mode.'); platform.closeAll(); done(); }); runWithPoll(mode, function() { expectfilepath = filename; grunt.file.write(filename, grunt.file.read(filename)); }); } async.series([ function(next) { runtest('one.js', 'auto', next); }, function(next) { // Polling needs a minimum of 500ms to pick up changes. setTimeout(function() { runtest('one.js', 'poll', next); }, 500); }, ], test.done); }, delete: function(test) { test.expect(4); var expectfilepath = null; function runtest(file, mode, done) { var filename = path.join(fixturesbase, file); platform.mode = mode; platform(filename, function(error, event, filepath) { // Ignore change events from dirs. This is handled outside of the platform and are safe to ignore here. if (event === 'change' && grunt.file.isDir(filepath)) { return; } test.equal(event, 'delete', 'should have been a delete event in ' + mode + ' mode.'); test.equal(filepath, expectfilepath, 'should have triggered on the correct file in ' + mode + ' mode.'); platform.closeAll(); done(); }); runWithPoll(mode, function() { expectfilepath = filename; grunt.file.delete(filename); }); } async.series([ function(next) { grunt.file.write(path.join(fixturesbase, 'add.js'), 'var test = true;'); runtest('add.js', 'auto', next); }, function(next) { grunt.file.write(path.join(fixturesbase, 'add.js'), 'var test = true;'); // Polling needs a minimum of 500ms to pick up changes. setTimeout(function() { runtest('add.js', 'poll', next); }, 500); }, ], test.done); }, getWatchedPaths: function(test) { test.expect(1); var expected = globule.find(['**/*.js'], { cwd: fixturesbase, prefixBase: fixturesbase }); var len = expected.length; var emptyFunc = function() {}; for (var i = 0; i < len; i++) { platform(expected[i], emptyFunc); var parent = path.dirname(expected[i]); expected.push(parent + '/'); } expected = helper.unixifyobj(helper.lib.unique(expected)); var actual = helper.unixifyobj(platform.getWatchedPaths()); test.deepEqual(actual.sort(), expected.sort()); test.done(); }, }; // Ignore this test if node v0.8 as platform will never be used there var version = process.versions.node.split('.'); if (version[0] === '0' && version[1] === '8') { exports.platform = {}; } // :'| Ignoring these tests on linux for now if (process.platform === 'linux') { exports.platform = {}; }
const staticServer = require('static-server'); var server = new staticServer({ rootPath : '.', port : 4242, templates : { index : 'index.html' } }); server.start(function (err) { if(err) { console.log(err); } console.log('server has been started!!'); });