Showing preview only (630K chars total). Download the full file or copy to clipboard to get everything.
Repository: bailicangdu/react-pxq
Branch: master
Commit: 553e42f41b9e
Files: 70
Total size: 603.9 KB
Directory structure:
gitextract_fgp6y9zy/
├── .babelrc
├── .gitignore
├── LICENSE
├── README.md
├── bin/
│ └── react-scripts
├── config/
│ ├── env.js
│ ├── jest/
│ │ ├── babelTransform.js
│ │ ├── cssTransform.js
│ │ └── fileTransform.js
│ ├── paths.js
│ ├── polyfills.js
│ ├── webpack.config.dev.js
│ ├── webpack.config.prod.js
│ └── webpackDevServer.config.js
├── package.json
├── public/
│ ├── index.html
│ └── manifest.json
├── pxq/
│ ├── asset-manifest.json
│ ├── index.html
│ ├── manifest.json
│ ├── service-worker.js
│ └── static/
│ ├── css/
│ │ └── main.fc2ff5ec.css
│ └── js/
│ ├── 0.c353ab85.chunk.js
│ ├── 1.af913d75.chunk.js
│ ├── 2.a96eb65f.chunk.js
│ ├── 3.ff2875c3.chunk.js
│ └── main.83dc4a4d.js
├── scripts/
│ ├── build.js
│ ├── eject.js
│ ├── init.js
│ ├── start.js
│ ├── test.js
│ └── utils/
│ └── createJestConfig.js
└── src/
├── api/
│ ├── api.js
│ └── server.js
├── assets/
│ └── iconfonts/
│ └── iconfont.css
├── components/
│ ├── TouchableOpacity/
│ │ ├── TouchableOpacity.jsx
│ │ └── TouchableOpacity.less
│ ├── alert/
│ │ ├── alert.jsx
│ │ └── alert.less
│ └── header/
│ ├── header.jsx
│ └── header.less
├── envconfig/
│ └── envconfig.js
├── index.js
├── pages/
│ ├── balance/
│ │ ├── balance.jsx
│ │ └── balance.less
│ ├── helpcenter/
│ │ ├── helpcenter.jsx
│ │ └── helpcenter.less
│ ├── home/
│ │ ├── home.jsx
│ │ └── home.less
│ ├── production/
│ │ ├── production.jsx
│ │ └── production.less
│ └── record/
│ ├── components/
│ │ ├── recordList.jsx
│ │ └── recordList.less
│ ├── record.jsx
│ └── record.less
├── registerServiceWorker.js
├── router/
│ └── index.js
├── store/
│ ├── home/
│ │ ├── action-type.js
│ │ ├── action.js
│ │ └── reducer.js
│ ├── production/
│ │ ├── action-type.js
│ │ ├── action.js
│ │ └── reducer.js
│ └── store.js
├── style/
│ ├── base.css
│ └── mixin.less
└── utils/
├── asyncComponent.jsx
├── mixin.js
└── setRem.js
================================================
FILE CONTENTS
================================================
================================================
FILE: .babelrc
================================================
{
"presets": ["react"],
"plugins": ["syntax-dynamic-import"]
}
================================================
FILE: .gitignore
================================================
# See https://help.github.com/ignore-files/ for more about ignoring files.
# dependencies
/node_modules
# testing
/coverage
# production
/build
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
*.idea
*.iml
npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock.json
yarn.lock
================================================
FILE: LICENSE
================================================
MIT License
Copyright (c) 2018 cangdu
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.
================================================
FILE: README.md
================================================
## 技术栈:
react + redux + webpack + react-router + ES6/7/8 + immutable
## 运行项目(nodejs 6.0+)
```
git clone https://github.com/bailicangdu/react-pxq.git
cd react-pxq
npm i 或者运行 yarn(推荐)
npm start
npm run build (发布)
```
## 说明
> 本项目主要用于理解 react 和 redux 的编译方式,以及 react + redux 之间的配合方式
> 如果觉得不错的话,您可以点右上角 "Star" 支持一下 谢谢! ^_^
> 或者您可以 "follow" 一下,我会不断开源更多的有趣的项目
> 如有问题请直接在 Issues 中提,或者您发现问题并有非常好的解决方案,欢迎 PR 👍
> 开发环境 macOS 10.13.1 Chrome 63 nodejs 8.9.1
> 推荐一个 vue2 + vuex 构建的 45 个页面的大型开源项目。[地址在这里](https://github.com/bailicangdu/vue2-elm)
> 另外一个 vue2 + vuex 的简单项目,非常适合入门练习。[地址在这里](https://github.com/bailicangdu/vue2-happyfri)
## 演示
[查看演示效果](https://cangdu.org/pxq/)(请用chrome的手机模式预览)
### 移动端扫描下方二维码
<img src="https://github.com/bailicangdu/pxq/blob/master/screenshot/demo1.png" width="200" height="200"/>
# 个人感悟
## 做React需要会什么?
react的功能其实很单一,主要负责渲染的功能,现有的框架,比如angular是一个大而全的框架,用了angular几乎就不需要用其他工具辅助配合,但是react不一样,他只负责ui渲染,想要做好一个项目,往往需要其他库和工具的配合,比如用redux来管理数据,react-router管理路由,react已经全面拥抱es6,所以es6也得掌握,webpack就算是不会配置也要会用,要想提高性能,需要按需加载,immutable.js也得用上,还有单元测试。。。。
## React 是什么
用脚本进行DOM操作的代价很昂贵。有个贴切的比喻,把DOM和JavaScript各自想象为一个岛屿,它们之间用收费桥梁连接,js每次访问DOM,都要途径这座桥,并交纳“过桥费”,访问DOM的次数越多,费用也就越高。 因此,推荐的做法是尽量减少过桥的次数,努力待在ECMAScript岛上。因为这个原因react的虚拟dom就显得难能可贵了,它创造了虚拟dom并且将它们储存起来,每当状态发生变化的时候就会创造新的虚拟节点和以前的进行对比,让变化的部分进行渲染。整个过程没有对dom进行获取和操作,只有一个渲染的过程,所以react说是一个ui框架。
## React的组件化
react的一个组件很明显的由dom视图和state数据组成,两个部分泾渭分明。state是数据中心,它的状态决定着视图的状态。这时候发现似乎和我们一直推崇的MVC开发模式有点区别,没了Controller控制器,那用户交互怎么处理,数据变化谁来管理?然而这并不是react所要关心的事情,它只负责ui的渲染。与其他框架监听数据动态改变dom不同,react采用setState来控制视图的更新。setState会自动调用render函数,触发视图的重新渲染,如果仅仅只是state数据的变化而没有调用setState,并不会触发更新。 组件就是拥有独立功能的视图模块,许多小的组件组成一个大的组件,整个页面就是由一个个组件组合而成。它的好处是利于重复利用和维护。
## React的 Diff算法
react的diff算法用在什么地方呢?当组件更新的时候,react会创建一个新的虚拟dom树并且会和之前储存的dom树进行比较,这个比较多过程就用到了diff算法,所以组件初始化的时候是用不到的。react提出了一种假设,相同的节点具有类似的结构,而不同的节点具有不同的结构。在这种假设之上进行逐层的比较,如果发现对应的节点是不同的,那就直接删除旧的节点以及它所包含的所有子节点然后替换成新的节点。如果是相同的节点,则只进行属性的更改。
对于列表的diff算法稍有不同,因为列表通常具有相同的结构,在对列表节点进行删除,插入,排序的时候,单个节点的整体操作远比一个个对比一个个替换要好得多,所以在创建列表的时候需要设置key值,这样react才能分清谁是谁。当然不写key值也可以,但这样通常会报出警告,通知我们加上key值以提高react的性能。

## React组件是怎么来的
组件的创造方法为React.createClass() ——创造一个类,react系统内部设计了一套类系统,利用它来创造react组件。但这并不是必须的,我们还可以用es6的class类来创造组件,这也是Facebook官方推荐的写法。

这两种写法实现的功能一样但是原理却是不同,es6的class类可以看作是构造函数的一个语法糖,可以把它当成构造函数来看,extends实现了类之间的继承 —— 定义一个类Main 继承React.Component所有的属性和方法,组件的生命周期函数就是从这来的。constructor是构造器,在实例化对象时调用,super调用了父类的constructor创造了父类的实例对象this,然后用子类的构造函数进行修改。这和es5的原型继承是不同的,原型继承是先创造一个实例化对象this,然后再继承父级的原型方法。了解了这些之后我们在看组件的时候就清楚很多。
当我们使用组件< Main />时,其实是对Main类的实例化——new Main,只不过react对这个过程进行了封装,让它看起来更像是一个标签。
有三点值得注意:1、定义类名字的首字母必须大写 2、因为class变成了关键字,类选择器需要用className来代替。 3、类和模块内部默认使用严格模式,所以不需要用use strict指定运行模式。
## 组件的生命周期

**组件在初始化时会触发5个钩子函数:**
**1、getDefaultProps()**
> 设置默认的props,也可以用dufaultProps设置组件的默认属性。
**2、getInitialState()**
> 在使用es6的class语法时是没有这个钩子函数的,可以直接在constructor中定义this.state。此时可以访问this.props。
**3、componentWillMount()**
> 组件初始化时只调用,以后组件更新不调用,整个生命周期只调用一次,此时可以修改state。
**4、 render()**
> react最重要的步骤,创建虚拟dom,进行diff算法,更新dom树都在此进行。此时就不能更改state了。
**5、componentDidMount()**
> 组件渲染之后调用,可以通过this.getDOMNode()获取和操作dom节点,只调用一次。
**在更新时也会触发5个钩子函数:**
**6、componentWillReceivePorps(nextProps)**
> 组件初始化时不调用,组件接受新的props时调用。
**7、shouldComponentUpdate(nextProps, nextState)**
> react性能优化非常重要的一环。组件接受新的state或者props时调用,我们可以设置在此对比前后两个props和state是否相同,如果相同则返回false阻止更新,因为相同的属性状态一定会生成相同的dom树,这样就不需要创造新的dom树和旧的dom树进行diff算法对比,节省大量性能,尤其是在dom结构复杂的时候。不过调用this.forceUpdate会跳过此步骤。
**8、componentWillUpdate(nextProps, nextState)**
> 组件初始化时不调用,只有在组件将要更新时才调用,此时可以修改state
**9、render()**
> 不多说
**10、componentDidUpdate()**
> 组件初始化时不调用,组件更新完成后调用,此时可以获取dom节点。
还有一个卸载钩子函数
**11、componentWillUnmount()**
> 组件将要卸载时调用,一些事件监听和定时器需要在此时清除。
以上可以看出来react总共有10个周期函数(render重复一次),这个10个函数可以满足我们所有对组件操作的需求,利用的好可以提高开发效率和组件性能。
## React-Router路由
Router就是React的一个组件,它并不会被渲染,只是一个创建内部路由规则的配置对象,根据匹配的路由地址展现相应的组件。Route则对路由地址和组件进行绑定,Route具有嵌套功能,表示路由地址的包涵关系,这和组件之间的嵌套并没有直接联系。Route可以向绑定的组件传递7个属性:children,history,location,params,route,routeParams,routes,每个属性都包涵路由的相关的信息。比较常用的有children(以路由的包涵关系为区分的组件),location(包括地址,参数,地址切换方式,key值,hash值)。react-router提供Link标签,这只是对a标签的封装,值得注意的是,点击链接进行的跳转并不是默认的方式,react-router阻止了a标签的默认行为并用pushState进行hash值的转变。切换页面的过程是在点击Link标签或者后退前进按钮时,会先发生url地址的转变,Router监听到地址的改变根据Route的path属性匹配到对应的组件,将state值改成对应的组件并调用setState触发render函数重新渲染dom。
当页面比较多时,项目就会变得越来越大,尤其对于单页面应用来说,初次渲染的速度就会很慢,这时候就需要按需加载,只有切换到页面的时候才去加载对应的js文件。react配合webpack进行按需加载的方法很简单,Route的component改为getComponent,组件用require.ensure的方式获取,并在webpack中配置chunkFilename。
```javascript
const chooseProducts = (location, cb) => {
require.ensure([], require => {
cb(null, require('../Component/chooseProducts').default)
},'chooseProducts')
}
const helpCenter = (location, cb) => {
require.ensure([], require => {
cb(null, require('../Component/helpCenter').default)
},'helpCenter')
}
const saleRecord = (location, cb) => {
require.ensure([], require => {
cb(null, require('../Component/saleRecord').default)
},'saleRecord')
}
const RouteConfig = (
<Router history={history}>
<Route path="/" component={Roots}>
<IndexRoute component={index} />//首页
<Route path="index" component={index} />
<Route path="helpCenter" getComponent={helpCenter} />//帮助中心
<Route path="saleRecord" getComponent={saleRecord} />//销售记录
<Redirect from='*' to='/' />
</Route>
</Router>
);
```
## 组件之间的通信
react推崇的是单向数据流,自上而下进行数据的传递,但是由下而上或者不在一条数据流上的组件之间的通信就会变的复杂。解决通信问题的方法很多,如果只是父子级关系,父级可以将一个回调函数当作属性传递给子级,子级可以直接调用函数从而和父级通信。
组件层级嵌套到比较深,可以使用上下文getChildContext来传递信息,这样在不需要将函数一层层往下传,任何一层的子级都可以通过this.context直接访问。
兄弟关系的组件之间无法直接通信,它们只能利用同一层的上级作为中转站。而如果兄弟组件都是最高层的组件,为了能够让它们进行通信,必须在它们外层再套一层组件,这个外层的组件起着保存数据,传递信息的作用,这其实就是redux所做的事情。
组件之间的信息还可以通过全局事件来传递。不同页面可以通过参数传递数据,下个页面可以用location.param来获取。其实react本身很简单,难的在于如何优雅高效的实现组件之间数据的交流。
## Redux
首先,redux并不是必须的,它的作用相当于在顶层组件之上又加了一个组件,作用是进行逻辑运算、储存数据和实现组件尤其是顶层组件的通信。如果组件之间的交流不多,逻辑不复杂,只是单纯的进行视图的渲染,这时候用回调,context就行,没必要用redux,用了反而影响开发速度。但是如果组件交流特别频繁,逻辑很复杂,那redux的优势就特别明显了。我第一次做react项目的时候并没有用redux,所有的逻辑都是在组件内部实现,当时为了实现一个逻辑比较复杂的购物车,洋洋洒洒居然写了800多行代码,回头一看我自己都不知道写的是啥,画面太感人。
先简单说一下redux和react是怎么配合的。react-redux提供了connect和Provider两个好基友,它们一个将组件与redux关联起来,一个将store传给组件。组件通过dispatch发出action,store根据action的type属性调用对应的reducer并传入state和这个action,reducer对state进行处理并返回一个新的state放入store,connect监听到store发生变化,调用setState更新组件,此时组件的props也就跟着变化。
#### 流程是这个样子的:

值得注意的是connect,Provider,mapStateToProps,mapDispatchToProps是react-redux提供的,redux本身和react没有半毛钱关系,它只是数据处理中心,没有和react产生任何耦合,是react-redux让它们联系在一起。
#### 接下来具体分析一下,redux以及react-redux到底是怎么实现的。
#### 先上一张图

明显比第一张要复杂,其实两张图说的是同一件事。从上而下慢慢分析:
### 先说说redux:
#### redux主要由三部分组成:store,reducer,action。
**store**是一个对象,它有四个主要的方法:
**1、dispatch:**
> 用于action的分发——在createStore中可以用middleware中间件对dispatch进行改造,比如当action传入dispatch会立即触发reducer,有些时候我们不希望它立即触发,而是等待异步操作完成之后再触发,这时候用redux-thunk对dispatch进行改造,以前只能传入一个对象,改造完成后可以传入一个函数,在这个函数里我们手动dispatch一个action对象,这个过程是可控的,就实现了异步。
**2、subscribe:**
> 监听state的变化——这个函数在store调用dispatch时会注册一个listener监听state变化,当我们需要知道state是否变化时可以调用,它返回一个函数,调用这个返回的函数可以注销监听。
let unsubscribe = store.subscribe(() => {console.log('state发生了变化')})
**3、getState:**
> 获取store中的state——当我们用action触发reducer改变了state时,需要再拿到新的state里的数据,毕竟数据才是我们想要的。getState主要在两个地方需要用到,一是在dispatch拿到action后store需要用它来获取state里的数据,并把这个数据传给reducer,这个过程是自动执行的,二是在我们利用subscribe监听到state发生变化后调用它来获取新的state数据,如果做到这一步,说明我们已经成功了。
**4、replaceReducer:**
> 替换reducer,改变state修改的逻辑。
store可以通过createStore()方法创建,接受三个参数,经过combineReducers合并的reducer和state的初始状态以及改变dispatch的中间件,后两个参数并不是必须的。store的主要作用是将action和reducer联系起来并改变state。
**action:**
>action是一个对象,其中type属性是必须的,同时可以传入一些数据。action可以用actionCreactor进行创造。dispatch就是把action对象发送出去。
**reducer:**
>reducer是一个函数,它接受一个state和一个action,根据action的type返回一个新的state。根据业务逻辑可以分为很多个reducer,然后通过combineReducers将它们合并,state树中有很多对象,每个state对象对应一个reducer,state对象的名字可以在合并时定义。
像这个样子:
```javascript
const reducer = combineReducers({
a: doSomethingWithA,
b: processB,
c: c
})
```
**combineReducers:**
>其实它也是一个reducer,它接受整个state和一个action,然后将整个state拆分发送给对应的reducer进行处理,所有的reducer会收到相同的action,不过它们会根据action的type进行判断,有这个type就进行处理然后返回新的state,没有就返回默认值,然后这些分散的state又会整合在一起返回一个新的state树。
接下来分析一下整体的流程,首先调用store.dispatch将action作为参数传入,同时用getState获取当前的状态树state并注册subscribe的listener监听state变化,再调用combineReducers并将获取的state和action传入。combineReducers会将传入的state和action传给所有reducer,并根据action的type返回新的state,触发state树的更新,我们调用subscribe监听到state发生变化后用getState获取新的state数据。
redux的state和react的state两者完全没有关系,除了名字一样。
**上面分析了redux的主要功能,那么react-redux到底做了什么?**
## React-Redux
如果只使用redux,那么流程是这样的:
> component --> dispatch(action) --> reducer --> subscribe --> getState --> component
用了react-redux之后流程是这样的:
> component --> actionCreator(data) --> reducer --> component
store的三大功能:dispatch,subscribe,getState都不需要手动来写了。react-redux帮我们做了这些,同时它提供了两个好基友Provider和connect。
**Provider**是一个组件,它接受store作为props,然后通过context往下传,这样react中任何组件都可以通过context获取store。也就意味着我们可以在任何一个组件里利用dispatch(action)来触发reducer改变state,并用subscribe监听state的变化,然后用getState获取变化后的值。但是并不推荐这样做,它会让数据流变的混乱,过度的耦合也会影响组件的复用,维护起来也更麻烦。
__connect --connect(mapStateToProps, mapDispatchToProps, mergeProps, options)__ 是一个函数,它接受四个参数并且再返回一个函数--wrapWithConnect,wrapWithConnect接受一个组件作为参数wrapWithConnect(component),它内部定义一个新组件Connect(容器组件)并将传入的组件(ui组件)作为Connect的子组件然后return出去。
所以它的完整写法是这样的:connect(mapStateToProps, mapDispatchToProps, mergeProps, options)(component)
**mapStateToProps(state, [ownProps]):**
>mapStateToProps 接受两个参数,store的state和自定义的props,并返回一个新的对象,这个对象会作为props的一部分传入ui组件。我们可以根据组件所需要的数据自定义返回一个对象。ownProps的变化也会触发mapStateToProps
```javascript
function mapStateToProps(state) {
return { todos: state.todos };
}
```
**mapDispatchToProps(dispatch, [ownProps]):**
> mapDispatchToProps如果是对象,那么会和store绑定作为props的一部分传入ui组件。如果是个函数,它接受两个参数,bindActionCreators会将action和dispatch绑定并返回一个对象,这个对象会和ownProps一起作为props的一部分传入ui组件。所以不论mapDispatchToProps是对象还是函数,它最终都会返回一个对象,如果是函数,这个对象的key值是可以自定义的
```javascript
function mapDispatchToProps(dispatch) {
return {
todoActions: bindActionCreators(todoActionCreators, dispatch),
counterActions: bindActionCreators(counterActionCreators, dispatch)
};
}
```
mapDispatchToProps返回的对象其属性其实就是一个个actionCreator,因为已经和dispatch绑定,所以当调用actionCreator时会立即发送action,而不用手动dispatch。ownProps的变化也会触发mapDispatchToProps。
**mergeProps(stateProps, dispatchProps, ownProps):**
> 将mapStateToProps() 与 mapDispatchToProps()返回的对象和组件自身的props合并成新的props并传入组件。默认返回 Object.assign({}, ownProps, stateProps, dispatchProps) 的结果。
**options:**
> pure = true 表示Connect容器组件将在shouldComponentUpdate中对store的state和ownProps进行浅对比,判断是否发生变化,优化性能。为false则不对比。
其实connect函数并没有做什么,大部分的逻辑都是在它返回的wrapWithConnect函数内实现的,确切的说是在wrapWithConnect内定义的Connect组件里实现的。
### 下面是一个完整的 react --> redux --> react 流程:
一、Provider组件接受redux的store作为props,然后通过context往下传。
二、connect函数在初始化的时候会将mapDispatchToProps对象绑定到store,如果mapDispatchToProps是函数则在Connect组件获得store后,根据传入的store.dispatch和action通过bindActionCreators进行绑定,再将返回的对象绑定到store,connect函数会返回一个wrapWithConnect函数,同时wrapWithConnect会被调用且传入一个ui组件,wrapWithConnect内部使用class Connect extends Component定义了一个Connect组件,传入的ui组件就是Connect的子组件,然后Connect组件会通过context获得store,并通过store.getState获得完整的state对象,将state传入mapStateToProps返回stateProps对象、mapDispatchToProps对象或mapDispatchToProps函数会返回一个dispatchProps对象,stateProps、dispatchProps以及Connect组件的props三者通过Object.assign(),或者mergeProps合并为props传入ui组件。然后在ComponentDidMount中调用store.subscribe,注册了一个回调函数handleChange监听state的变化。
三、此时ui组件就可以在props中找到actionCreator,当我们调用actionCreator时会自动调用dispatch,在dispatch中会调用getState获取整个state,同时注册一个listener监听state的变化,store将获得的state和action传给combineReducers,combineReducers会将state依据state的key值分别传给子reducer,并将action传给全部子reducer,reducer会被依次执行进行action.type的判断,如果有则返回一个新的state,如果没有则返回默认。combineReducers再次将子reducer返回的单个state进行合并成一个新的完整的state。此时state发生了变化。dispatch在state返回新的值之后会调用所有注册的listener函数其中包括handleChange函数,handleChange函数内部首先调用getState获取新的state值并对新旧两个state进行浅对比,如果相同直接return,如果不同则调用mapStateToProps获取stateProps并将新旧两个stateProps进行浅对比,如果相同,直接return结束,不进行后续操作。如果不相同则调用this.setState()触发Connect组件的更新,传入ui组件,触发ui组件的更新,此时ui组件获得新的props,react --> redux --> react 的一次流程结束。
**上面的有点复杂,简化版的流程是:**
一、Provider组件接受redux的store作为props,然后通过context往下传。
二、connect函数收到Provider传出的store,然后接受三个参数mapStateToProps,mapDispatchToProps和组件,并将state和actionCreator以props传入组件,这时组件就可以调用actionCreator函数来触发reducer函数返回新的state,connect监听到state变化调用setState更新组件并将新的state传入组件。
connect可以写的非常简洁,mapStateToProps,mapDispatchToProps只不过是传入的回调函数,connect函数在必要的时候会调用它们,名字不是固定的,甚至可以不写名字。
简化版本:
```javascript
connect(state => state, action)(Component);
```
## 项目搭建
上面说了react,react-router和redux的知识点。但是怎么样将它们整合起来,搭建一个完整的项目。
1、先引用 react.js,redux,react-router 等基本文件,建议用npm安装,直接在文件中引用。
2、从 react.js,redux,react-router 中引入所需要的对象和方法。
```javascript
import React, {Component, PropTypes} from 'react';
import ReactDOM, {render} from 'react-dom';
import {Provider, connect} from 'react-redux';
import {createStore, combineReducers, applyMiddleware} from 'redux';
import { Router, Route, Redirect, IndexRoute, browserHistory, hashHistory } from 'react-router';
```
3、根据需求创建顶层ui组件,每个顶层ui组件对应一个页面。
4、创建actionCreators和reducers,并用combineReducers将所有的reducer合并成一个大的reduer。利用createStore创建store并引入combineReducers和applyMiddleware。
5、利用connect将actionCreator,reuder和顶层的ui组件进行关联并返回一个新的组件。
6、利用connect返回的新的组件配合react-router进行路由的部署,返回一个路由组件Router。
7、将Router放入最顶层组件Provider,引入store作为Provider的属性。
8、调用render渲染Provider组件且放入页面的标签中。
可以看到顶层的ui组件其实被套了四层组件,Provider,Router,Route,Connect,这四个组件并不会在视图上改变react,它们只是功能性的。
通常我们在顶层的ui组件打印props时可以看到一堆属性:

上图的顶层ui组件属性总共有18个,如果刚刚接触react,可能对这些属性怎么来的感到困惑,其实这些属性来自五个地方:
组件自定义属性1个,actionCreator返回的对象6个,reducer返回的state4个,Connect组件属性0个,以及Router注入的属性7个。
================================================
FILE: bin/react-scripts
================================================
#!/usr/bin/env node
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
const spawn = require('react-dev-utils/crossSpawn');
const args = process.argv.slice(2);
const scriptIndex = args.findIndex(
x => x === 'build' || x === 'eject' || x === 'start' || x === 'test'
);
const script = scriptIndex === -1 ? args[0] : args[scriptIndex];
const nodeArgs = scriptIndex > 0 ? args.slice(0, scriptIndex) : [];
switch (script) {
case 'build':
case 'eject':
case 'start':
case 'test': {
const result = spawn.sync(
'node',
nodeArgs
.concat(require.resolve('../scripts/' + script))
.concat(args.slice(scriptIndex + 1)),
{ stdio: 'inherit' }
);
if (result.signal) {
if (result.signal === 'SIGKILL') {
console.log(
'The build failed because the process exited too early. ' +
'This probably means the system ran out of memory or someone called ' +
'`kill -9` on the process.'
);
} else if (result.signal === 'SIGTERM') {
console.log(
'The build failed because the process exited too early. ' +
'Someone might have called `kill` or `killall`, or the system could ' +
'be shutting down.'
);
}
process.exit(1);
}
process.exit(result.status);
break;
}
default:
console.log('Unknown script "' + script + '".');
console.log('Perhaps you need to update react-scripts?');
console.log(
'See: https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#updating-to-new-releases'
);
break;
}
================================================
FILE: config/env.js
================================================
// @remove-on-eject-begin
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// @remove-on-eject-end
'use strict';
const fs = require('fs');
const path = require('path');
const paths = require('./paths');
// Make sure that including paths.js after env.js will read .env variables.
delete require.cache[require.resolve('./paths')];
const NODE_ENV = process.env.NODE_ENV;
if (!NODE_ENV) {
throw new Error(
'The NODE_ENV environment variable is required but was not specified.'
);
}
// https://github.com/bkeepers/dotenv#what-other-env-files-can-i-use
var dotenvFiles = [
`${paths.dotenv}.${NODE_ENV}.local`,
`${paths.dotenv}.${NODE_ENV}`,
// Don't include `.env.local` for `test` environment
// since normally you expect tests to produce the same
// results for everyone
NODE_ENV !== 'test' && `${paths.dotenv}.local`,
paths.dotenv,
].filter(Boolean);
// Load environment variables from .env* files. Suppress warnings using silent
// if this file is missing. dotenv will never modify any environment variables
// that have already been set.
// https://github.com/motdotla/dotenv
dotenvFiles.forEach(dotenvFile => {
if (fs.existsSync(dotenvFile)) {
require('dotenv').config({
path: dotenvFile,
});
}
});
// We support resolving modules according to `NODE_PATH`.
// This lets you use absolute paths in imports inside large monorepos:
// https://github.com/facebookincubator/create-react-app/issues/253.
// It works similar to `NODE_PATH` in Node itself:
// https://nodejs.org/api/modules.html#modules_loading_from_the_global_folders
// Note that unlike in Node, only *relative* paths from `NODE_PATH` are honored.
// Otherwise, we risk importing Node.js core modules into an app instead of Webpack shims.
// https://github.com/facebookincubator/create-react-app/issues/1023#issuecomment-265344421
// We also resolve them to make sure all tools using them work consistently.
const appDirectory = fs.realpathSync(process.cwd());
process.env.NODE_PATH = (process.env.NODE_PATH || '')
.split(path.delimiter)
.filter(folder => folder && !path.isAbsolute(folder))
.map(folder => path.resolve(appDirectory, folder))
.join(path.delimiter);
// Grab NODE_ENV and REACT_APP_* environment variables and prepare them to be
// injected into the application via DefinePlugin in Webpack configuration.
const REACT_APP = /^REACT_APP_/i;
function getClientEnvironment(publicUrl) {
const raw = Object.keys(process.env)
.filter(key => REACT_APP.test(key))
.reduce(
(env, key) => {
env[key] = process.env[key];
return env;
},
{
// Useful for determining whether we’re running in production mode.
// Most importantly, it switches React into the correct mode.
NODE_ENV: process.env.NODE_ENV || 'development',
// Useful for resolving the correct path to static assets in `public`.
// For example, <img src={process.env.PUBLIC_URL + '/img/logo.png'} />.
// This should only be used as an escape hatch. Normally you would put
// images into the `src` and `import` them in code to get their paths.
PUBLIC_URL: publicUrl,
STATIC_ENV: process.env.STATIC_ENV || 'development',
}
);
// Stringify all values so we can feed into Webpack DefinePlugin
const stringified = {
'process.env': Object.keys(raw).reduce((env, key) => {
env[key] = JSON.stringify(raw[key]);
return env;
}, {}),
};
return { raw, stringified };
}
module.exports = getClientEnvironment;
================================================
FILE: config/jest/babelTransform.js
================================================
// @remove-file-on-eject
/**
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
const babelJest = require('babel-jest');
module.exports = babelJest.createTransformer({
presets: [require.resolve('babel-preset-react-app')],
babelrc: false,
});
================================================
FILE: config/jest/cssTransform.js
================================================
// @remove-on-eject-begin
/**
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// @remove-on-eject-end
'use strict';
// This is a custom Jest transformer turning style imports into empty objects.
// http://facebook.github.io/jest/docs/tutorial-webpack.html
module.exports = {
process() {
return 'module.exports = {};';
},
getCacheKey() {
// The output is always the same.
return 'cssTransform';
},
};
================================================
FILE: config/jest/fileTransform.js
================================================
// @remove-on-eject-begin
/**
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// @remove-on-eject-end
'use strict';
const path = require('path');
// This is a custom Jest transformer turning file imports into filenames.
// http://facebook.github.io/jest/docs/tutorial-webpack.html
module.exports = {
process(src, filename) {
return `module.exports = ${JSON.stringify(path.basename(filename))};`;
},
};
================================================
FILE: config/paths.js
================================================
// @remove-on-eject-begin
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// @remove-on-eject-end
'use strict';
const path = require('path');
const fs = require('fs');
const url = require('url');
// Make sure any symlinks in the project folder are resolved:
// https://github.com/facebookincubator/create-react-app/issues/637
const appDirectory = fs.realpathSync(process.cwd());
const resolveApp = relativePath => path.resolve(appDirectory, relativePath);
const envPublicUrl = process.env.PUBLIC_URL;
const appName = envPublicUrl&&envPublicUrl.split('/').reverse()[0];
function ensureSlash(path, needsSlash) {
const hasSlash = path.endsWith('/');
if (hasSlash && !needsSlash) {
return path.substr(path, path.length - 1);
} else if (!hasSlash && needsSlash) {
return `${path}/`;
} else {
return path;
}
}
const getPublicUrl = appPackageJson =>
envPublicUrl || require(appPackageJson).homepage;
// We use `PUBLIC_URL` environment variable or "homepage" field to infer
// "public path" at which the app is served.
// Webpack needs to know it to put the right <script> hrefs into HTML even in
// single-page apps that may serve index.html for nested URLs like /todos/42.
// We can't use a relative path in HTML because we don't want to load something
// like /todos/42/static/js/bundle.7289d.js. We have to know the root.
function getServedPath(appPackageJson) {
const publicUrl = getPublicUrl(appPackageJson);
const servedUrl =
envPublicUrl || (publicUrl ? url.parse(publicUrl).pathname : '/');
return ensureSlash(servedUrl, true);
}
// config after eject: we're in ./config/
module.exports = {
dotenv: resolveApp('.env'),
appBuild: resolveApp(`${appName}`),
appPublic: resolveApp('public'),
appHtml: resolveApp('public/index.html'),
appIndexJs: resolveApp('src/index.js'),
appPackageJson: resolveApp('package.json'),
appSrc: resolveApp('src'),
yarnLockFile: resolveApp('yarn.lock'),
testsSetup: resolveApp('src/setupTests.js'),
appNodeModules: resolveApp('node_modules'),
publicUrl: getPublicUrl(resolveApp('package.json')),
servedPath: getServedPath(resolveApp('package.json')),
};
// @remove-on-eject-begin
const resolveOwn = relativePath => path.resolve(__dirname, '..', relativePath);
// config before eject: we're in ./node_modules/react-scripts/config/
module.exports = {
dotenv: resolveApp('.env'),
appPath: resolveApp('.'),
appBuild: resolveApp(`${appName}`),
appPublic: resolveApp('public'),
appHtml: resolveApp('public/index.html'),
appIndexJs: resolveApp('src/index.js'),
appPackageJson: resolveApp('package.json'),
appSrc: resolveApp('src'),
yarnLockFile: resolveApp('yarn.lock'),
testsSetup: resolveApp('src/setupTests.js'),
appNodeModules: resolveApp('node_modules'),
publicUrl: getPublicUrl(resolveApp('package.json')),
servedPath: getServedPath(resolveApp('package.json')),
// These properties only exist before ejecting:
ownPath: resolveOwn('.'),
ownNodeModules: resolveOwn('node_modules'), // This is empty on npm 3
};
const ownPackageJson = require('../package.json');
const reactScriptsPath = resolveApp(`node_modules/${ownPackageJson.name}`);
const reactScriptsLinked =
fs.existsSync(reactScriptsPath) &&
fs.lstatSync(reactScriptsPath).isSymbolicLink();
// config before publish: we're in ./packages/react-scripts/config/
if (
!reactScriptsLinked &&
__dirname.indexOf(path.join('packages', 'react-scripts', 'config')) !== -1
) {
module.exports = {
dotenv: resolveOwn('template/.env'),
appPath: resolveApp('.'),
appBuild: resolveOwn(`../../${appName}`),
appPublic: resolveOwn('template/public'),
appHtml: resolveOwn('template/public/index.html'),
appIndexJs: resolveOwn('template/src/index.js'),
appPackageJson: resolveOwn('package.json'),
appSrc: resolveOwn('template/src'),
yarnLockFile: resolveOwn('template/yarn.lock'),
testsSetup: resolveOwn('template/src/setupTests.js'),
appNodeModules: resolveOwn('node_modules'),
publicUrl: getPublicUrl(resolveOwn('package.json')),
servedPath: getServedPath(resolveOwn('package.json')),
// These properties only exist before ejecting:
ownPath: resolveOwn('.'),
ownNodeModules: resolveOwn('node_modules'),
};
}
// @remove-on-eject-end
================================================
FILE: config/polyfills.js
================================================
// @remove-on-eject-begin
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// @remove-on-eject-end
'use strict';
if (typeof Promise === 'undefined') {
// Rejection tracking prevents a common issue where React gets into an
// inconsistent state due to an error, but it gets swallowed by a Promise,
// and the user has no idea what causes React's erratic future behavior.
require('promise/lib/rejection-tracking').enable();
window.Promise = require('promise/lib/es6-extensions.js');
}
// fetch() polyfill for making API calls.
require('whatwg-fetch');
// Object.assign() is commonly used with React.
// It will use the native implementation if it's present and isn't buggy.
Object.assign = require('object-assign');
// In tests, polyfill requestAnimationFrame since jsdom doesn't provide it yet.
// We don't polyfill it in the browser--this is user's responsibility.
if (process.env.NODE_ENV === 'test') {
require('raf').polyfill(global);
}
================================================
FILE: config/webpack.config.dev.js
================================================
// @remove-on-eject-begin
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// @remove-on-eject-end
'use strict';
const autoprefixer = require('autoprefixer');
const path = require('path');
const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
const InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin');
const WatchMissingNodeModulesPlugin = require('react-dev-utils/WatchMissingNodeModulesPlugin');
const eslintFormatter = require('react-dev-utils/eslintFormatter');
const ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
const getClientEnvironment = require('./env');
const paths = require('./paths');
const px2rem = require('postcss-px2rem');
function resolve (dir) {
return path.join(__dirname, '..', dir)
}
// Webpack uses `publicPath` to determine where the app is being served from.
// In development, we always serve from the root. This makes config easier.
const publicPath = '/';
// `publicUrl` is just like `publicPath`, but we will provide it to our app
// as %PUBLIC_URL% in `index.html` and `process.env.PUBLIC_URL` in JavaScript.
// Omit trailing slash as %PUBLIC_PATH%/xyz looks better than %PUBLIC_PATH%xyz.
const publicUrl = '';
// Get environment variables to inject into our app.
const env = getClientEnvironment(publicUrl);
// This is the development configuration.
// It is focused on developer experience and fast rebuilds.
// The production configuration is different and lives in a separate file.
module.exports = {
// You may want 'eval' instead if you prefer to see the compiled output in DevTools.
// See the discussion in https://github.com/facebookincubator/create-react-app/issues/343.
devtool: 'cheap-module-source-map',
// These are the "entry points" to our application.
// This means they will be the "root" imports that are included in JS bundle.
// The first two entry points enable "hot" CSS and auto-refreshes for JS.
entry: [
'react-hot-loader/patch',
'babel-polyfill',
// We ship a few polyfills by default:
require.resolve('./polyfills'),
// Include an alternative client for WebpackDevServer. A client's job is to
// connect to WebpackDevServer by a socket and get notified about changes.
// When you save a file, the client will either apply hot updates (in case
// of CSS changes), or refresh the page (in case of JS changes). When you
// make a syntax error, this client will display a syntax error overlay.
// Note: instead of the default WebpackDevServer client, we use a custom one
// to bring better experience for Create React App users. You can replace
// the line below with these two lines if you prefer the stock client:
// require.resolve('webpack-dev-server/client') + '?/',
// require.resolve('webpack/hot/dev-server'),
require.resolve('react-dev-utils/webpackHotDevClient'),
// Finally, this is your app's code:
paths.appIndexJs,
// We include the app code last so that if there is a runtime error during
// initialization, it doesn't blow up the WebpackDevServer client, and
// changing JS code would still trigger a refresh.
],
output: {
// Add /* filename */ comments to generated require()s in the output.
pathinfo: true,
// This does not produce a real file. It's just the virtual path that is
// served by WebpackDevServer in development. This is the JS bundle
// containing code from all our entry points, and the Webpack runtime.
filename: 'static/js/bundle.js',
// There are also additional JS chunk files if you use code splitting.
chunkFilename: 'static/js/[name].chunk.js',
// This is the URL that app is served from. We use "/" in development.
publicPath: publicPath,
// Point sourcemap entries to original disk location (format as URL on Windows)
devtoolModuleFilenameTemplate: info =>
path.resolve(info.absoluteResourcePath).replace(/\\/g, '/'),
},
resolve: {
// This allows you to set a fallback for where Webpack should look for modules.
// We placed these paths second because we want `node_modules` to "win"
// if there are any conflicts. This matches Node resolution mechanism.
// https://github.com/facebookincubator/create-react-app/issues/253
modules: ['node_modules', paths.appNodeModules].concat(
// It is guaranteed to exist because we tweak it in `env.js`
process.env.NODE_PATH.split(path.delimiter).filter(Boolean)
),
// These are the reasonable defaults supported by the Node ecosystem.
// We also include JSX as a common component filename extension to support
// some tools, although we do not recommend using it, see:
// https://github.com/facebookincubator/create-react-app/issues/290
// `web` extension prefixes have been added for better support
// for React Native Web.
extensions: ['.web.js', '.mjs', '.js', '.json', '.web.jsx', '.jsx'],
alias: {
// @remove-on-eject-begin
// Resolve Babel runtime relative to react-scripts.
// It usually still works on npm 3 without this but it would be
// unfortunate to rely on, as react-scripts could be symlinked,
// and thus babel-runtime might not be resolvable from the source.
'babel-runtime': path.dirname(
require.resolve('babel-runtime/package.json')
),
// @remove-on-eject-end
// Support React Native Web
// https://www.smashingmagazine.com/2016/08/a-glimpse-into-the-future-with-react-native-for-web/
'react-native': 'react-native-web',
'@': resolve('src'),
},
plugins: [
// Prevents users from importing files from outside of src/ (or node_modules/).
// This often causes confusion because we only process files within src/ with babel.
// To fix this, we prevent you from importing files out of src/ -- if you'd like to,
// please link the files into your node_modules/ and let module-resolution kick in.
// Make sure your source files are compiled, as they will not be processed in any way.
new ModuleScopePlugin(paths.appSrc, [paths.appPackageJson]),
],
},
module: {
strictExportPresence: true,
rules: [
// TODO: Disable require.ensure as it's not a standard language feature.
// We are waiting for https://github.com/facebookincubator/create-react-app/issues/2176.
// { parser: { requireEnsure: false } },
// First, run the linter.
// It's important to do this before Babel processes the JS.
{
test: /\.(js|jsx|mjs)$/,
include: paths.appSrc,
use: [
// {
// loader: require.resolve('babel-loader'),
// options: {
// // This is a feature of `babel-loader` for webpack (not Babel itself).
// // It enables caching results in ./node_modules/.cache/babel-loader/
// // directory for faster rebuilds.
// cacheDirectory: true,
// plugins: [
// 'react-hot-loader/babel'
// ]
// },
// },
]
},
{
// "oneOf" will traverse all following loaders until one will
// match the requirements. When no loader matches it will fall
// back to the "file" loader at the end of the loader list.
oneOf: [
// "url" loader works like "file" loader except that it embeds assets
// smaller than specified limit in bytes as data URLs to avoid requests.
// A missing `test` is equivalent to a match.
{
test: [/\.bmp$/, /\.gif$/, /\.jpe?g$/, /\.png$/],
loader: require.resolve('url-loader'),
options: {
limit: 10000,
name: 'static/media/[name].[hash:8].[ext]',
},
},
// Process JS with Babel.
{
test: /\.(js|jsx|mjs)$/,
include: paths.appSrc,
use: [
{
loader: require.resolve('babel-loader'),
options: {
// @remove-on-eject-begin
babelrc: true,
presets: [require.resolve('babel-preset-react-app')],
// @remove-on-eject-end
// This is a feature of `babel-loader` for webpack (not Babel itself).
// It enables caching results in ./node_modules/.cache/babel-loader/
// directory for faster rebuilds.
cacheDirectory: true,
plugins: ["transform-decorators-legacy"],
},
},
{
loader: require.resolve('eslint-loader'),
options: {
formatter: eslintFormatter,
eslintPath: require.resolve('eslint'),
// @remove-on-eject-begin
// TODO: consider separate config for production,
// e.g. to enable no-console and no-debugger only in production.
baseConfig: {
extends: [require.resolve('eslint-config-react-app')],
},
ignore: false,
useEslintrc: false,
// @remove-on-eject-end
},
},
]
},
// "postcss" loader applies autoprefixer to our CSS.
// "css" loader resolves paths in CSS and adds assets as dependencies.
// "style" loader turns CSS into JS modules that inject <style> tags.
// In production, we use a plugin to extract that CSS to a file, but
// in development "style" loader enables hot editing of CSS.
{
test:/\.(css|less)$/,
use: [
require.resolve('style-loader'),
{
loader: require.resolve('css-loader'),
options: {
importLoaders: 1,
},
},
{
loader: require.resolve('postcss-loader'),
options: {
// Necessary for external CSS imports to work
// https://github.com/facebookincubator/create-react-app/issues/2677
ident: 'postcss',
plugins: () => [
require('postcss-flexbugs-fixes'),
autoprefixer({
browsers: [
'>1%',
'last 4 versions',
'Firefox ESR',
'not ie < 9', // React doesn't support IE8 anyway
],
flexbox: 'no-2009',
}),
px2rem({remUnit: 75})//设计稿根据750px(iphone6)
],
},
},
{
loader: require.resolve('less-loader')
},
],
},
// "file" loader makes sure those assets get served by WebpackDevServer.
// When you `import` an asset, you get its (virtual) filename.
// In production, they would get copied to the `build` folder.
// This loader doesn't use a "test" so it will catch all modules
// that fall through the other loaders.
{
// Exclude `js` files to keep "css" loader working as it injects
// it's runtime that would otherwise processed through "file" loader.
// Also exclude `html` and `json` extensions so they get processed
// by webpacks internal loaders.
exclude: [/\.js$/, /\.html$/, /\.json$/],
loader: require.resolve('file-loader'),
options: {
name: 'static/media/[name].[hash:8].[ext]',
},
},
],
},
// ** STOP ** Are you adding a new loader?
// Make sure to add the new loader(s) before the "file" loader.
],
},
plugins: [
// Makes some environment variables available in index.html.
// The public URL is available as %PUBLIC_URL% in index.html, e.g.:
// <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
// In development, this will be an empty string.
new InterpolateHtmlPlugin(env.raw),
// Generates an `index.html` file with the <script> injected.
new HtmlWebpackPlugin({
inject: true,
template: paths.appHtml,
}),
// Add module names to factory functions so they appear in browser profiler.
new webpack.NamedModulesPlugin(),
// Makes some environment variables available to the JS code, for example:
// if (process.env.NODE_ENV === 'development') { ... }. See `./env.js`.
new webpack.DefinePlugin(env.stringified),
// This is necessary to emit hot updates (currently CSS only):
new webpack.HotModuleReplacementPlugin(),
// Watcher doesn't work well if you mistype casing in a path so we use
// a plugin that prints an error when you attempt to do this.
// See https://github.com/facebookincubator/create-react-app/issues/240
new CaseSensitivePathsPlugin(),
// If you require a missing module and then `npm install` it, you still have
// to restart the development server for Webpack to discover it. This plugin
// makes the discovery automatic so you don't have to restart.
// See https://github.com/facebookincubator/create-react-app/issues/186
new WatchMissingNodeModulesPlugin(paths.appNodeModules),
// Moment.js is an extremely popular library that bundles large locale files
// by default due to how Webpack interprets its code. This is a practical
// solution that requires the user to opt into importing specific locales.
// https://github.com/jmblog/how-to-optimize-momentjs-with-webpack
// You can remove this if you don't use Moment.js:
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
],
// Some libraries import Node modules but don't use them in the browser.
// Tell Webpack to provide empty mocks for them so importing them works.
node: {
dgram: 'empty',
fs: 'empty',
net: 'empty',
tls: 'empty',
child_process: 'empty',
},
// Turn off performance hints during development because we don't do any
// splitting or minification in interest of speed. These warnings become
// cumbersome.
performance: {
hints: false,
},
};
================================================
FILE: config/webpack.config.prod.js
================================================
// @remove-on-eject-begin
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// @remove-on-eject-end
'use strict';
const autoprefixer = require('autoprefixer');
const path = require('path');
const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const ManifestPlugin = require('webpack-manifest-plugin');
const InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin');
const SWPrecacheWebpackPlugin = require('sw-precache-webpack-plugin');
const eslintFormatter = require('react-dev-utils/eslintFormatter');
const ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
const paths = require('./paths');
const getClientEnvironment = require('./env');
const px2rem = require('postcss-px2rem');
function resolve (dir) {
return path.join(__dirname, '..', dir)
}
// Webpack uses `publicPath` to determine where the app is being served from.
// It requires a trailing slash, or the file assets will get an incorrect path.
const publicPath = paths.servedPath;
// Some apps do not use client-side routing with pushState.
// For these, "homepage" can be set to "." to enable relative asset paths.
const shouldUseRelativeAssetPaths = publicPath === './';
// Source maps are resource heavy and can cause out of memory issue for large source files.
const shouldUseSourceMap = process.env.GENERATE_SOURCEMAP !== 'false';
// `publicUrl` is just like `publicPath`, but we will provide it to our app
// as %PUBLIC_URL% in `index.html` and `process.env.PUBLIC_URL` in JavaScript.
// Omit trailing slash as %PUBLIC_URL%/xyz looks better than %PUBLIC_URL%xyz.
const publicUrl = publicPath.slice(0, -1);
// Get environment variables to inject into our app.
const env = getClientEnvironment(publicUrl);
// Assert this just to be safe.
// Development builds of React are slow and not intended for production.
if (env.stringified['process.env'].NODE_ENV !== '"production"') {
throw new Error('Production builds must have NODE_ENV=production.');
}
// Note: defined here because it will be used more than once.
const cssFilename = 'static/css/[name].[contenthash:8].css';
// ExtractTextPlugin expects the build output to be flat.
// (See https://github.com/webpack-contrib/extract-text-webpack-plugin/issues/27)
// However, our output is structured with css, js and media folders.
// To have this structure working with relative paths, we have to use custom options.
const extractTextPluginOptions = shouldUseRelativeAssetPaths
? // Making sure that the publicPath goes back to to build folder.
{ publicPath: Array(cssFilename.split('/').length).join('../') }
: {};
// This is the production configuration.
// It compiles slowly and is focused on producing a fast and minimal bundle.
// The development configuration is different and lives in a separate file.
module.exports = {
// Don't attempt to continue if there are any errors.
bail: true,
// We generate sourcemaps in production. This is slow but gives good results.
// You can exclude the *.map files from the build during deployment.
devtool: false,
// In production, we only want to load the polyfills and the app code.
entry: ['babel-polyfill', require.resolve('./polyfills'), paths.appIndexJs],
output: {
// The build folder.
path: paths.appBuild,
// Generated JS file names (with nested folders).
// There will be one main bundle, and one file per asynchronous chunk.
// We don't currently advertise code splitting but Webpack supports it.
filename: 'static/js/[name].[chunkhash:8].js',
chunkFilename: 'static/js/[name].[chunkhash:8].chunk.js',
// We inferred the "public path" (such as / or /my-project) from homepage.
publicPath: publicPath,
// Point sourcemap entries to original disk location (format as URL on Windows)
devtoolModuleFilenameTemplate: info =>
path
.relative(paths.appSrc, info.absoluteResourcePath)
.replace(/\\/g, '/'),
},
resolve: {
// This allows you to set a fallback for where Webpack should look for modules.
// We placed these paths second because we want `node_modules` to "win"
// if there are any conflicts. This matches Node resolution mechanism.
// https://github.com/facebookincubator/create-react-app/issues/253
modules: ['node_modules', paths.appNodeModules].concat(
// It is guaranteed to exist because we tweak it in `env.js`
process.env.NODE_PATH.split(path.delimiter).filter(Boolean)
),
// These are the reasonable defaults supported by the Node ecosystem.
// We also include JSX as a common component filename extension to support
// some tools, although we do not recommend using it, see:
// https://github.com/facebookincubator/create-react-app/issues/290
// `web` extension prefixes have been added for better support
// for React Native Web.
extensions: ['.web.js', '.mjs', '.js', '.json', '.web.jsx', '.jsx'],
alias: {
// @remove-on-eject-begin
// Resolve Babel runtime relative to react-scripts.
// It usually still works on npm 3 without this but it would be
// unfortunate to rely on, as react-scripts could be symlinked,
// and thus babel-runtime might not be resolvable from the source.
'babel-runtime': path.dirname(
require.resolve('babel-runtime/package.json')
),
// @remove-on-eject-end
// Support React Native Web
// https://www.smashingmagazine.com/2016/08/a-glimpse-into-the-future-with-react-native-for-web/
'react-native': 'react-native-web',
'@': resolve('src'),
},
plugins: [
// Prevents users from importing files from outside of src/ (or node_modules/).
// This often causes confusion because we only process files within src/ with babel.
// To fix this, we prevent you from importing files out of src/ -- if you'd like to,
// please link the files into your node_modules/ and let module-resolution kick in.
// Make sure your source files are compiled, as they will not be processed in any way.
new ModuleScopePlugin(paths.appSrc, [paths.appPackageJson]),
],
},
module: {
strictExportPresence: true,
rules: [
// TODO: Disable require.ensure as it's not a standard language feature.
// We are waiting for https://github.com/facebookincubator/create-react-app/issues/2176.
// { parser: { requireEnsure: false } },
// First, run the linter.
// It's important to do this before Babel processes the JS.
{
test: /\.(js|jsx|mjs)$/,
enforce: 'pre',
use: [
{
loader: require.resolve('eslint-loader'),
options: {
formatter: eslintFormatter,
eslintPath: require.resolve('eslint'),
// @remove-on-eject-begin
// TODO: consider separate config for production,
// e.g. to enable no-console and no-debugger only in production.
baseConfig: {
extends: [require.resolve('eslint-config-react-app')],
},
ignore: false,
useEslintrc: false,
// @remove-on-eject-end
},
},
],
include: paths.appSrc,
},
{
// "oneOf" will traverse all following loaders until one will
// match the requirements. When no loader matches it will fall
// back to the "file" loader at the end of the loader list.
oneOf: [
// "url" loader works just like "file" loader but it also embeds
// assets smaller than specified size as data URLs to avoid requests.
{
test: [/\.bmp$/, /\.gif$/, /\.jpe?g$/, /\.png$/],
loader: require.resolve('url-loader'),
options: {
limit: 10000,
name: 'static/media/[name].[hash:8].[ext]',
},
},
// Process JS with Babel.
{
test: /\.(js|jsx|mjs)$/,
include: paths.appSrc,
loader: require.resolve('babel-loader'),
options: {
// @remove-on-eject-begin
babelrc: true,
presets: [require.resolve('babel-preset-react-app')],
// @remove-on-eject-end
compact: true,
plugins: ["transform-decorators-legacy"],
},
},
// The notation here is somewhat confusing.
// "postcss" loader applies autoprefixer to our CSS.
// "css" loader resolves paths in CSS and adds assets as dependencies.
// "style" loader normally turns CSS into JS modules injecting <style>,
// but unlike in development configuration, we do something different.
// `ExtractTextPlugin` first applies the "postcss" and "css" loaders
// (second argument), then grabs the result CSS and puts it into a
// separate file in our build process. This way we actually ship
// a single CSS file in production instead of JS code injecting <style>
// tags. If you use code splitting, however, any async bundles will still
// use the "style" loader inside the async code so CSS from them won't be
// in the main CSS file.
{
test:/\.(css|less)$/,
loader: ExtractTextPlugin.extract(
Object.assign(
{
fallback: require.resolve('style-loader'),
use: [
{
loader: require.resolve('css-loader'),
options: {
importLoaders: 1,
minimize: true,
sourceMap: shouldUseSourceMap,
},
},
{
loader: require.resolve('postcss-loader'),
options: {
// Necessary for external CSS imports to work
// https://github.com/facebookincubator/create-react-app/issues/2677
ident: 'postcss',
plugins: () => [
require('postcss-flexbugs-fixes'),
autoprefixer({
browsers: [
'>1%',
'last 4 versions',
'Firefox ESR',
'not ie < 9', // React doesn't support IE8 anyway
],
flexbox: 'no-2009',
}),
px2rem({remUnit: 75})
],
},
},
{
loader: require.resolve('less-loader')
},
],
},
extractTextPluginOptions
)
),
// Note: this won't work without `new ExtractTextPlugin()` in `plugins`.
},
// "file" loader makes sure assets end up in the `build` folder.
// When you `import` an asset, you get its filename.
// This loader doesn't use a "test" so it will catch all modules
// that fall through the other loaders.
{
loader: require.resolve('file-loader'),
// Exclude `js` files to keep "css" loader working as it injects
// it's runtime that would otherwise processed through "file" loader.
// Also exclude `html` and `json` extensions so they get processed
// by webpacks internal loaders.
exclude: [/\.js$/, /\.html$/, /\.json$/],
options: {
name: 'static/media/[name].[hash:8].[ext]',
},
},
// ** STOP ** Are you adding a new loader?
// Make sure to add the new loader(s) before the "file" loader.
],
},
],
},
plugins: [
// Makes some environment variables available in index.html.
// The public URL is available as %PUBLIC_URL% in index.html, e.g.:
// <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
// In production, it will be an empty string unless you specify "homepage"
// in `package.json`, in which case it will be the pathname of that URL.
new InterpolateHtmlPlugin(env.raw),
// Generates an `index.html` file with the <script> injected.
new HtmlWebpackPlugin({
inject: true,
template: paths.appHtml,
minify: {
removeComments: true,
collapseWhitespace: true,
removeRedundantAttributes: true,
useShortDoctype: true,
removeEmptyAttributes: true,
removeStyleLinkTypeAttributes: true,
keepClosingSlash: true,
minifyJS: true,
minifyCSS: true,
minifyURLs: true,
},
}),
// Makes some environment variables available to the JS code, for example:
// if (process.env.NODE_ENV === 'production') { ... }. See `./env.js`.
// It is absolutely essential that NODE_ENV was set to production here.
// Otherwise React will be compiled in the very slow development mode.
new webpack.DefinePlugin(env.stringified),
// Minify the code.
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false,
// Disabled because of an issue with Uglify breaking seemingly valid code:
// https://github.com/facebookincubator/create-react-app/issues/2376
// Pending further investigation:
// https://github.com/mishoo/UglifyJS2/issues/2011
comparisons: false,
drop_console: true,
drop_debugger: true,
},
mangle: {
safari10: true,
},
output: {
comments: false,
// Turned on because emoji and regex is not minified properly using default
// https://github.com/facebookincubator/create-react-app/issues/2488
ascii_only: true,
},
sourceMap: shouldUseSourceMap,
}),
// Note: this won't work without ExtractTextPlugin.extract(..) in `loaders`.
new ExtractTextPlugin({
filename: cssFilename,
}),
// Generate a manifest file which contains a mapping of all asset filenames
// to their corresponding output file so that tools can pick it up without
// having to parse `index.html`.
new ManifestPlugin({
fileName: 'asset-manifest.json',
}),
// Generate a service worker script that will precache, and keep up to date,
// the HTML & assets that are part of the Webpack build.
new SWPrecacheWebpackPlugin({
// By default, a cache-busting query parameter is appended to requests
// used to populate the caches, to ensure the responses are fresh.
// If a URL is already hashed by Webpack, then there is no concern
// about it being stale, and the cache-busting can be skipped.
dontCacheBustUrlsMatching: /\.\w{8}\./,
filename: 'service-worker.js',
logger(message) {
if (message.indexOf('Total precache size is') === 0) {
// This message occurs for every build and is a bit too noisy.
return;
}
if (message.indexOf('Skipping static resource') === 0) {
// This message obscures real errors so we ignore it.
// https://github.com/facebookincubator/create-react-app/issues/2612
return;
}
console.log(message);
},
minify: true,
// For unknown URLs, fallback to the index page
navigateFallback: publicUrl + '/index.html',
// Ignores URLs starting from /__ (useful for Firebase):
// https://github.com/facebookincubator/create-react-app/issues/2237#issuecomment-302693219
navigateFallbackWhitelist: [/^(?!\/__).*/],
// Don't precache sourcemaps (they're large) and build asset manifest:
staticFileGlobsIgnorePatterns: [/\.map$/, /asset-manifest\.json$/],
}),
// Moment.js is an extremely popular library that bundles large locale files
// by default due to how Webpack interprets its code. This is a practical
// solution that requires the user to opt into importing specific locales.
// https://github.com/jmblog/how-to-optimize-momentjs-with-webpack
// You can remove this if you don't use Moment.js:
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
],
// Some libraries import Node modules but don't use them in the browser.
// Tell Webpack to provide empty mocks for them so importing them works.
node: {
dgram: 'empty',
fs: 'empty',
net: 'empty',
tls: 'empty',
child_process: 'empty',
},
};
================================================
FILE: config/webpackDevServer.config.js
================================================
// @remove-on-eject-begin
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// @remove-on-eject-end
'use strict';
const errorOverlayMiddleware = require('react-dev-utils/errorOverlayMiddleware');
const noopServiceWorkerMiddleware = require('react-dev-utils/noopServiceWorkerMiddleware');
const path = require('path');
const config = require('./webpack.config.dev');
const paths = require('./paths');
const protocol = process.env.HTTPS === 'true' ? 'https' : 'http';
const host = process.env.HOST || '0.0.0.0';
module.exports = function(proxy, allowedHost) {
return {
// WebpackDevServer 2.4.3 introduced a security fix that prevents remote
// websites from potentially accessing local content through DNS rebinding:
// https://github.com/webpack/webpack-dev-server/issues/887
// https://medium.com/webpack/webpack-dev-server-middleware-security-issues-1489d950874a
// However, it made several existing use cases such as development in cloud
// environment or subdomains in development significantly more complicated:
// https://github.com/facebookincubator/create-react-app/issues/2271
// https://github.com/facebookincubator/create-react-app/issues/2233
// While we're investigating better solutions, for now we will take a
// compromise. Since our WDS configuration only serves files in the `public`
// folder we won't consider accessing them a vulnerability. However, if you
// use the `proxy` feature, it gets more dangerous because it can expose
// remote code execution vulnerabilities in backends like Django and Rails.
// So we will disable the host check normally, but enable it if you have
// specified the `proxy` setting. Finally, we let you override it if you
// really know what you're doing with a special environment variable.
disableHostCheck:
!proxy || process.env.DANGEROUSLY_DISABLE_HOST_CHECK === 'true',
// Enable gzip compression of generated files.
compress: true,
// Silence WebpackDevServer's own logs since they're generally not useful.
// It will still show compile warnings and errors with this setting.
clientLogLevel: 'none',
// By default WebpackDevServer serves physical files from current directory
// in addition to all the virtual build products that it serves from memory.
// This is confusing because those files won’t automatically be available in
// production build folder unless we copy them. However, copying the whole
// project directory is dangerous because we may expose sensitive files.
// Instead, we establish a convention that only files in `public` directory
// get served. Our build script will copy `public` into the `build` folder.
// In `index.html`, you can get URL of `public` folder with %PUBLIC_URL%:
// <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
// In JavaScript code, you can access it with `process.env.PUBLIC_URL`.
// Note that we only recommend to use `public` folder as an escape hatch
// for files like `favicon.ico`, `manifest.json`, and libraries that are
// for some reason broken when imported through Webpack. If you just want to
// use an image, put it in `src` and `import` it from JavaScript instead.
contentBase: paths.appPublic,
// By default files from `contentBase` will not trigger a page reload.
// watchContentBase: true,
// Enable hot reloading server. It will provide /sockjs-node/ endpoint
// for the WebpackDevServer client so it can learn when the files were
// updated. The WebpackDevServer client is included as an entry point
// in the Webpack development configuration. Note that only changes
// to CSS are currently hot reloaded. JS changes will refresh the browser.
hot: true,
// It is important to tell WebpackDevServer to use the same "root" path
// as we specified in the config. In development, we always serve from /.
publicPath: config.output.publicPath,
// WebpackDevServer is noisy by default so we emit custom message instead
// by listening to the compiler events with `compiler.plugin` calls above.
quiet: true,
// Reportedly, this avoids CPU overload on some systems.
// https://github.com/facebookincubator/create-react-app/issues/293
// src/node_modules is not ignored to support absolute imports
// https://github.com/facebookincubator/create-react-app/issues/1065
watchOptions: {
ignored: new RegExp(
`^(?!${path
.normalize(paths.appSrc + '/')
.replace(/[\\]+/g, '\\\\')}).+[\\\\/]node_modules[\\\\/]`,
'g'
),
},
// Enable HTTPS if the HTTPS environment variable is set to 'true'
https: protocol === 'https',
host: host,
overlay: false,
historyApiFallback: {
// Paths with dots should still use the history fallback.
// See https://github.com/facebookincubator/create-react-app/issues/387.
disableDotRule: true,
},
public: allowedHost,
proxy,
before(app) {
// This lets us open files from the runtime error overlay.
app.use(errorOverlayMiddleware());
// This service worker file is effectively a 'no-op' that will reset any
// previous service worker registered for the same host:port combination.
// We do this in development to avoid hitting the production cache if
// it used the same host and port.
// https://github.com/facebookincubator/create-react-app/issues/2272#issuecomment-302832432
app.use(noopServiceWorkerMiddleware());
},
};
};
================================================
FILE: package.json
================================================
{
"name": "pxq",
"version": "1.0.0",
"private": true,
"dependencies": {
"axios": "0.19.0",
"fastclick": "^1.0.6",
"immutable": "^3.8.2",
"prop-types": "^15.6.0",
"react": "^16.2.0",
"react-addons-css-transition-group": "^15.6.2",
"react-dom": "^16.2.0",
"react-redux": "^5.0.6",
"react-router-dom": "^4.2.2",
"redux": "^3.7.2",
"redux-thunk": "^2.2.0"
},
"scripts": {
"start": "node scripts/start.js",
"build": "node scripts/build.js",
"test": "node scripts/test.js --env=jsdom",
"eject": "node scripts/eject.js"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"setupFiles": [
"<rootDir>/config/polyfills.js"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.js?(x)",
"<rootDir>/src/**/?(*.)(spec|test).js?(x)"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web"
},
"moduleFileExtensions": [
"web.js",
"js",
"json",
"web.jsx",
"jsx",
"node"
]
},
"babel": {
"presets": [
"react-app"
]
},
"eslintConfig": {
"extends": "react-app"
},
"devDependencies": {
"autoprefixer": "7.1.6",
"babel-core": "6.26.0",
"babel-eslint": "7.2.3",
"babel-jest": "20.0.3",
"babel-loader": "7.1.2",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react-app": "^3.1.0",
"babel-runtime": "6.26.0",
"case-sensitive-paths-webpack-plugin": "2.1.1",
"chalk": "1.1.3",
"css-loader": "0.28.7",
"dotenv": "4.0.0",
"eslint": "4.10.0",
"eslint-config-react-app": "^2.0.1",
"eslint-loader": "1.9.0",
"eslint-plugin-flowtype": "2.39.1",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-jsx-a11y": "5.1.1",
"eslint-plugin-react": "7.4.0",
"extract-text-webpack-plugin": "3.0.2",
"file-loader": "1.1.5",
"fs-extra": "^3.0.1",
"html-webpack-plugin": "2.29.0",
"jest": "20.0.4",
"less": "^2.7.3",
"less-loader": "^4.0.5",
"object-assign": "4.1.1",
"postcss-flexbugs-fixes": "3.2.0",
"postcss-loader": "2.0.8",
"postcss-px2rem": "^0.3.0",
"promise": "8.0.1",
"raf": "3.4.0",
"react-dev-utils": "^4.2.1",
"react-hot-loader": "^3.1.3",
"style-loader": "0.19.0",
"sw-precache-webpack-plugin": "0.11.4",
"url-loader": "0.6.2",
"webpack": "3.8.1",
"webpack-dev-server": "2.9.4",
"webpack-manifest-plugin": "1.3.2",
"whatwg-fetch": "2.0.3"
}
}
================================================
FILE: public/index.html
================================================
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui">
<meta name="screen-orientation" content="portrait"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<meta name="full-screen" content="yes">
<meta name="x5-fullscreen" content="true">
<meta name="theme-color" content="#000000">
<!--
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>pxq</title>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
================================================
FILE: public/manifest.json
================================================
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": "./index.html",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
================================================
FILE: pxq/asset-manifest.json
================================================
{
"main.css": "static/css/main.fc2ff5ec.css",
"main.js": "static/js/main.83dc4a4d.js",
"static/js/0.c353ab85.chunk.js": "static/js/0.c353ab85.chunk.js",
"static/js/1.af913d75.chunk.js": "static/js/1.af913d75.chunk.js",
"static/js/2.a96eb65f.chunk.js": "static/js/2.a96eb65f.chunk.js",
"static/js/3.ff2875c3.chunk.js": "static/js/3.ff2875c3.chunk.js",
"static/media/iconfont.eot?t=1515590359802": "static/media/iconfont.7e008a77.eot",
"static/media/iconfont.svg?t=1515590359802": "static/media/iconfont.6924d946.svg",
"static/media/iconfont.ttf?t=1515590359802": "static/media/iconfont.d828102a.ttf"
}
================================================
FILE: pxq/index.html
================================================
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,minimal-ui"><meta name="screen-orientation" content="portrait"/><meta name="apple-mobile-web-app-capable" content="yes"><meta name="format-detection" content="telephone=no"><meta name="full-screen" content="yes"><meta name="x5-fullscreen" content="true"><meta name="theme-color" content="#000000"><link rel="manifest" href="/pxq/manifest.json"><link rel="shortcut icon" href="/pxq/favicon.ico"><title>pxq</title><link href="/pxq/static/css/main.fc2ff5ec.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="/pxq/static/js/main.83dc4a4d.js"></script></body></html>
================================================
FILE: pxq/manifest.json
================================================
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": "./index.html",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
================================================
FILE: pxq/service-worker.js
================================================
"use strict";var precacheConfig=[["/pxq/index.html","875215ec8d140e525fd454d2c022057b"],["/pxq/static/css/main.fc2ff5ec.css","fc2ff5ec6f5dc4032dabfcd7f2aaa7f7"],["/pxq/static/js/0.c353ab85.chunk.js","e7c50c13f6ea3fcedaa90f4b338e8435"],["/pxq/static/js/1.af913d75.chunk.js","6940f47e358dd059edaeadc24ccdf564"],["/pxq/static/js/2.a96eb65f.chunk.js","6a1675b658706d0ff2c0a3d23f5e1153"],["/pxq/static/js/3.ff2875c3.chunk.js","8ff44e7d84be779d753b578d97f93419"],["/pxq/static/js/main.83dc4a4d.js","c00f625a5e31f8b88f4b4930a59a1f2c"],["/pxq/static/media/iconfont.6924d946.svg","6924d946d064c8e9e3e13857d0b17c92"],["/pxq/static/media/iconfont.7e008a77.eot","7e008a771d5079e5051b632adcff1243"],["/pxq/static/media/iconfont.d828102a.ttf","d828102abc66b0a0a7cd5eb3f9b4e2b4"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var n=new URL(e);return"/"===n.pathname.slice(-1)&&(n.pathname+=t),n.toString()},cleanResponse=function(t){return t.redirected?("body"in t?Promise.resolve(t.body):t.blob()).then(function(e){return new Response(e,{headers:t.headers,status:t.status,statusText:t.statusText})}):Promise.resolve(t)},createCacheKey=function(e,t,n,r){var a=new URL(e);return r&&a.pathname.match(r)||(a.search+=(a.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(n)),a.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var n=new URL(t).pathname;return e.some(function(e){return n.match(e)})},stripIgnoredUrlParameters=function(e,n){var t=new URL(e);return t.hash="",t.search=t.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(t){return n.every(function(e){return!e.test(t[0])})}).map(function(e){return e.join("=")}).join("&"),t.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var t=e[0],n=e[1],r=new URL(t,self.location),a=createCacheKey(r,hashParamName,n,/\.\w{8}\./);return[r.toString(),a]}));function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(r){return setOfCachedUrls(r).then(function(n){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(t){if(!n.has(t)){var e=new Request(t,{credentials:"same-origin"});return fetch(e).then(function(e){if(!e.ok)throw new Error("Request for "+t+" returned a response with status "+e.status);return cleanResponse(e).then(function(e){return r.put(t,e)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var n=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(t){return t.keys().then(function(e){return Promise.all(e.map(function(e){if(!n.has(e.url))return t.delete(e)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(t){if("GET"===t.request.method){var e,n=stripIgnoredUrlParameters(t.request.url,ignoreUrlParametersMatching),r="index.html";(e=urlsToCacheKeys.has(n))||(n=addDirectoryIndex(n,r),e=urlsToCacheKeys.has(n));var a="/pxq/index.html";!e&&"navigate"===t.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],t.request.url)&&(n=new URL(a,self.location).toString(),e=urlsToCacheKeys.has(n)),e&&t.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(n)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(e){return console.warn('Couldn\'t serve response for "%s" from cache: %O',t.request.url,e),fetch(t.request)}))}});
================================================
FILE: pxq/static/css/main.fc2ff5ec.css
================================================
@font-face{font-family:iconfont;src:url(/pxq/static/media/iconfont.7e008a77.eot);src:url(/pxq/static/media/iconfont.7e008a77.eot#iefix) format("embedded-opentype"),url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAtAAAsAAAAAEZgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFZXQkwMY21hcAAAAYAAAADoAAAC1hg9qYRnbHlmAAACaAAABkcAAAkcekACRmhlYWQAAAiwAAAALwAAADYQF6tXaGhlYQAACOAAAAAcAAAAJAfeA5RobXR4AAAI/AAAABQAAABMS+kAAGxvY2EAAAkQAAAAKAAAACgU7Bb+bWF4cAAACTgAAAAfAAAAIAEjAGxuYW1lAAAJWAAAAUUAAAJtPlT+fXBvc3QAAAqgAAAAnwAAAOqgT+NxeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/s84gYGVgYOpk+kMAwNDP4RmfM1gxMjBwMDEwMrMgBUEpLmmMDgwVLySZm7438AQw9zAcAUozAiSAwAq5gzmeJzFkj1uwkAQhb81DvnDxFDQ0EQIpUrNUTgIojAX4TS5B+ICzxZFrkDeetykgSrKrL717mjkmZ03wAMwMp+mhPRNIltnb+r9I156f8mX7yvefSpoVKhSrbU22mqnvQ466tzO2kV3uiyvV8c24m7MbUvOt+LjxsoxBa+u8o2aud9T8uiKnxgzo+KZCVMHje/m+jNL/5f6t036vRtuc9MMuEQRuJsoBe4rKoI8JaoC9xrVAfm7DvI/tQnyZGkb5MnSLrA6aB/kydIhsGLoGFg7dA6sIu2A9aRdBFaW7hTkl12WAdMf/xlbVnicjVZ9iBtFFJ83k929JJtNN8lm75L72mw+2msul8vX2tO7S6VytfaPFlEUaU8r/aDoUapQ6kfv/hHt0T80UvGrQktFxVpQsFS5trmihZYKImi5eljFKhWhRf8QPJuJb5I7ewUtbrKzb+a9eW9+b957M0QipP4Dm2KtJEiWkn6yiqwjBOTlENNoB1ipQoYuB8OSDDOksZSdshQ7lmGDYMbkUDhXKiRNWZH9oEEn5K1cKZWhKSgWhujtkAt3ALRFI/cGEu0B9iJ4WlOdz/E19BAYXXa7f6iX350eDuW6gy271ECgLRDY1yJLUgulLr8Gj5tht+T2yPyw5I8YU13LaBeobanI2gd93dHAIy8UxjoSphtgYgKC0W7tnWE9ouP/mUg4GGhTlvhaWiM+Ox6CXZe9rUG1I/kjwUdGrO+7CP2AeEkriSPaIlmBaJVOCMmKOQSFZGox7fwXAxJ6QrJ0i37Vs6yvb1lPfmAgf4Ma7xlZv36kZ/2GDetvUPwar0K5VgVSJ7Q9G9/05KZ4tvepl57uXUy/lB0+cv7IcHbkzJUzI4vp6/UqTFSrfELgcCGOI6xMjzRwtJPuW2Bgt1xq5f8sqvbiItuAth9j4/QqoYSYOuxh5GU2wVcJHkNe2kVYmizBVS0lxA2pJMZJF4RzDmCsxJhMlDAxS8RJEpaB1BA4nWBqQH/kx571RkOe/d6oBx71GNGrF/klSQLr4gxYksQvzZyYk6S5E1OihT/4x3tQxvOKxwObvFED0ihxcaY5Y+YiWNfXSHNTCzPESutb2TS9hv5qRwia8Ba6x8lAEORYHyQLpVwXQCkXDkGtytFetVp3uerj/JiaUD9VWxPqm7BcjbfRa1K9eqouSfVT1Tp/n3+kqid88Tb1LehDIeEDYSvNdqMPfCRKiIS2EKfeBAo395bScja7EmBlNlumdB2Us/1lgHJ/tgyb+4YBhvtYrPm9/t3N/eY+HGeErSCS8LPiBpMRXijAq3xbAXZDNc+f4DtzjZg/x/5iJdwdBfH7Mc9NQpy8YScsAwPDaPwS2NfxlfbuBZNeqlkLL/9lLz73TU5Osu2Tv+OHypMLMfgTe4NF0UKAxAiCB4RmmCUHQ6/kCLoTQDFRraljkTBKjulgn34Bg4UddCeYqzJAP9y3+dnaowMXLhy7fDqzYnTNhhV8y+goTAw+Etm8Q/OXb7vr/q37Z2Ibu96G9MAFfvUy5E/H9Y3hOzYM0C8eHm2uYxxjbgL94CV6A5utW0Wb5Yv5ogU2YrSZkTfyeqUCY7OVyiyvsLFZGKvMzlau8kqFktnKdcGjyIOx+ToxxS6wVajRJKvJGqyJ9yI+K4aB4lgYJbKyiDZBVmLJVNIpDsEw6IWkYiVlU5fDjinYWEqTKb0fmY6Fux7UwMwnknIHOMF+g17mW3UT8+i1gGkGFtHj/Fc16PbLGoNM7Hy8l2/L2gB2dp2QOBTLAKQtOhTrpcC0hyT+dXdnpUTjpm0Cvm/Pfw/wX/wgy/7gbzZOgN3pDqBWvvZZzgLB7rPpseWxXoaqeDgULKTBztxZoUZ0Po6Ps8/ZSMMHeCIsSlwrAwK7qDJQm+aYDgDT0wCYN3WDv+vx+TzwgEfT2AgOTJ9uCpxGAY5TMMVEs1BLfqbfs4iIYdDzQZ1B95m5ORrh5+uEFerzcfY8+5PtwlX0kRGCW57AwMLjpVREV6csDTpQnzhuEvlcySli4OGYoTfGSoO4UlYsJHETZEVvnlE4hv0MSHZMFnPFmNAlZDowRUECzXuPV9O8/BPRnvVqVD/nQYbm4cc9fr9nrVfz+zXv2uYYrBZj5zz+2rWzQh5GRIsKQNt+rjGwuik4P01wYEE5TqP62RvGGtP88/abmpDb9EOVVVm5sR9LyTL0WKN0Ks0yurimiYqGgLCcGbrZCbJNydErknTlaLM9WZOk2slG2yq5vpHdqvtLCVoUFv1H5OiVngURbGsH2HuSAmnZ7Zb5t4ddqrcZHwvrSd1cU5lthORYchBskSO343WgJO4CeZEMlJysuVzzqr378cje79N13wLByg2DTQmeuonXIBox8zr7mW0R1dUN4njBe4C4izhuEBeSlLtx0iiU8I1qV6sKB/moalpeOASHRJ+PwsFG/3jzyzf+uxwhfwPiFAemAHicY2BkYGAA4vKFJl7x/DZfGbhZGEDgWo3xdQT9X4eFgbkByOVgYAKJAgAXEwm7AHicY2BkYGBu+N/AEMPCAAJAkpEBFQgDAEcZAnx4nGNhYGBgfsnAwMJAOQYATIMBNQAAAAAAdgDaARgBJgFyAagB3AHwAhwCYAKKAwwDPgNQA9QEHARYBI54nGNgZGBgEGZIYGBjAAEmIOYCQgaG/2A+AwAUNQGQAHicZY9NTsMwEIVf+gekEqqoYIfkBWIBKP0Rq25YVGr3XXTfpk6bKokjx63UA3AejsAJOALcgDvwSCebNpbH37x5Y08A3OAHHo7fLfeRPVwyO3INF7gXrlN/EG6QX4SbaONVuEX9TdjHM6bCbXRheYPXuGL2hHdhDx18CNdwjU/hOvUv4Qb5W7iJO/wKt9Dx6sI+5l5XuI1HL/bHVi+cXqnlQcWhySKTOb+CmV7vkoWt0uqca1vEJlODoF9JU51pW91T7NdD5yIVWZOqCas6SYzKrdnq0AUb5/JRrxeJHoQm5Vhj/rbGAo5xBYUlDowxQhhkiMro6DtVZvSvsUPCXntWPc3ndFsU1P9zhQEC9M9cU7qy0nk6T4E9XxtSdXQrbsuelDSRXs1JErJCXta2VELqATZlV44RelzRiT8oZ0j/AAlabsgAAAB4nG1Nyw6DMAyrgVFeezD2Gxz2SV2HWBBqmWilwtcvG+I2H2LLdhIRiQ2F+I8GEWIkOCCFRIYcBUpUOOKEMy6ocUWDm0AoFjIjKdM/VbXLQMqWszIDcyDTp8Ers3Zyo7tclXFs15wbZ32r7bT8htTKqdH2cuCYr2Vv3phYJwONPvn2s/3JyXnSL783ctLWtK6bXcy1tGf7QUJ8AKd5PBgA") format("woff"),url(/pxq/static/media/iconfont.d828102a.ttf) format("truetype"),url(/pxq/static/media/iconfont.6924d946.svg#iconfont) format("svg")}.iconfont{font-family:iconfont!important;font-size:.213333rem;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-yinliangda:before{content:"\E600"}.icon-yinliangxiao:before{content:"\E602"}.icon-sanjiaoxing:before{content:"\E656"}.icon-xuanze:before{content:"\E636"}.icon-xuanze1:before{content:"\E696"}.icon-zanting:before{content:"\E672"}.icon-jiantou-copy-copy:before{content:"\E679"}.icon-catalog:before{content:"\E716"}.icon-jingyin:before{content:"\E674"}.icon-quanping:before{content:"\E601"}.icon-jilu:before{content:"\E8D7"}.icon-jian:before{content:"\E711"}.icon-yinliang:before{content:"\EA1B"}.icon-tuichuquanping:before{content:"\E60D"}.icon-icon-test:before{content:"\E610"}.icon-jia:before{content:"\E6D9"}.icon-guanbi:before{content:"\E624"}.header-container{background-color:#975ec9;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:fixed;top:0;left:0;z-index:10;width:100%;height:1.173333rem}.header-container .header-slide-icon{font-size:.48rem;color:#fff;text-align:left;position:absolute;top:50%;left:.4rem;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.header-container .header-link,.header-container .header-title{font-size:.533333rem;color:#fff;text-align:left}.header-container .header-link{position:absolute;top:50%;right:.4rem;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.header-container .header-link-confim{font-size:.426667rem}.header-container .nav-slide-list{position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background-color:#fff;top:1.173333rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.header-container .nav-slide-list .nav-link{font-size:.426667rem;color:#333;text-align:left;border-bottom:1px solid #ddd;margin:0 .4rem;padding:.466667rem .266667rem;position:relative}.header-container .nav-slide-list .nav-link:before{position:absolute;right:.133333rem;top:50%;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0);color:#666}.header-container .nav-enter{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.header-container .nav-enter.nav-enter-active{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;-o-transition:transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.header-container .nav-enter.nav-enter-active,.header-container .nav-leave{-webkit-transform:translateZ(0);transform:translateZ(0)}.header-container .nav-leave.nav-leave-active{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;-o-transition:transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.alert-con{position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);z-index:11}.alert-context{position:absolute;top:50%;left:50%;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0);z-index:12;width:8rem;height:4.8rem;background-color:#fff;border-radius:.213333rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:column;flex-direction:column}.alert-context .alert-content-detail{-ms-flex:5 1;flex:5 1;-ms-flex-pack:center;-ms-flex-align:center}.alert-context .alert-content-detail,.alert-context .confirm-btn{display:-ms-flexbox;display:flex;justify-content:center;align-items:center;font-size:.533333rem;color:#333;text-align:left}.alert-context .confirm-btn{-ms-flex:2 1;flex:2 1;-ms-flex-pack:center;-ms-flex-align:center;border-top:1px solid #eee}.alert-enter{opacity:0}.alert-enter.alert-enter-active{-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;opacity:1}.alert-leave{opacity:1}.alert-leave.alert-leave-active{-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;opacity:0}.home-container{padding-top:1.173333rem}.home-container .common-title{font-size:.48rem;color:#975ec9;text-align:left;padding:.4rem}.home-container .home-form{background-color:#fff}.home-container .home-form .home-form-tiem{height:1.6rem;border-bottom:1px solid #eee}.home-container .home-form .home-form-tiem span{font-size:.426667rem;color:#555;text-align:left;margin-left:.4rem;margin-right:.266667rem}.home-container .home-form .home-form-tiem input{border:none;font-size:.4rem}.home-container .home-form .home-form-tiem ::-webkit-input-placeholder{color:#ccc}.home-container .common-select-btn{background-color:#fff;display:block;min-height:1.6rem;font-size:.56rem;color:#ccc;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.home-container .common-select-btn .selected-pro-list{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.home-container .common-select-btn .selected-pro-list .selected-pro-item{width:4.533333rem;margin:.133333rem;line-height:.666667rem;font-size:.426667rem;color:#333;text-align:center}.home-container .upload-img-con{text-align:center}.home-container .upload-img-con .file-lable{position:relative}.home-container .upload-img-con .file-lable input[type=file]{position:absolute;width:100%;height:100%;background-color:red;top:0;right:0;opacity:0}.home-container .upload-img-con .select-img{margin-top:.133333rem}.home-container .submit-btn{width:90%;background-color:#975ec9;margin:.666667rem auto 0;border-radius:.133333rem;line-height:1.333333rem;font-size:.533333rem;color:#fff;text-align:center}*{margin:0;padding:0;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:none;font-family:Helvetica Neue,Helvetica,STHeiTi,sans-serif;-webkit-font-smoothing:antialiased;-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:400}img{vertical-align:top;border:none}button:focus,input:focus,select:focus,textarea:focus{outline:none}input[type=email],input[type=file],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url],textarea{-webkit-appearance:none}input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none}[class*=" icon-"],[class^=icon-]{font-family:iconfont;font-size:.213333rem;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{text-decoration:none;-webkit-touch-callout:none}body{background-color:#f5f5f5}em,i{font-style:normal}li{list-style:none}body,html{height:100%}.common-con-top{margin-top:1.173333rem}.ellipsis{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}
================================================
FILE: pxq/static/js/0.c353ab85.chunk.js
================================================
webpackJsonp([0],{514:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(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)}Object.defineProperty(t,"__esModule",{value:!0});var c=n(5),i=n.n(c),s=n(51),l=(n.n(s),n(75)),A=n(184),m=n(518),p=n(521),f=(n.n(p),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}}()),d=function(e){function t(){var e,n,a,c;r(this,t);for(var i=arguments.length,s=Array(i),l=0;l<i;l++)s[l]=arguments[l];return n=a=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),a.state={flagBarPos:"17%"},a.setFlagBarPos=function(e){var t=void 0;switch(e){case"passed":t="17%";break;case"audited":t="50%";break;case"failed":t="83%";break;default:t="17%"}a.setState({flagBarPos:t})},c=n,o(a,c)}return a(t,e),f(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.props.location.pathname.split("/")[2],n=e.location.pathname.split("/")[2];t!==n&&this.setFlagBarPos(n)}},{key:"shouldComponentUpdate",value:function(e,t){return!Object(s.is)(Object(s.fromJS)(this.props),Object(s.fromJS)(e))||!Object(s.is)(Object(s.fromJS)(this.state),Object(s.fromJS)(t))}},{key:"componentWillMount",value:function(){var e=this.props.location.pathname.split("/")[2];this.setFlagBarPos(e)}},{key:"render",value:function(){return i.a.createElement("main",{className:"common-con-top"},i.a.createElement(A.a,{title:"\u8bb0\u5f55"}),i.a.createElement("section",{className:"record-nav-con"},i.a.createElement("nav",{className:"record-nav"},i.a.createElement(l.c,{to:this.props.match.path+"/passed",className:"nav-link"},"\u5df2\u901a\u8fc7"),i.a.createElement(l.c,{to:this.props.match.path+"/audited",className:"nav-link"},"\u5f85\u5ba1\u6838"),i.a.createElement(l.c,{to:this.props.match.path+"/failed",className:"nav-link"},"\u672a\u901a\u8fc7")),i.a.createElement("i",{className:"nav-flag-bar",style:{left:this.state.flagBarPos}})),i.a.createElement(l.f,null,i.a.createElement(l.e,{path:this.props.match.path+"/:type",component:m.a}),i.a.createElement(l.d,{from:""+this.props.match.path,to:this.props.match.path+"/passed",exact:!0,component:m.a})))}}]),t}(c.Component);t.default=d},518:function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,a){try{var c=t[o](a),i=c.value}catch(e){return void n(e)}if(!c.done)return Promise.resolve(i).then(function(e){r("next",e)},function(e){r("throw",e)});e(i)}return r("next")})}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(58),s=n.n(i),l=n(5),A=n.n(l),m=n(51),p=(n.n(m),n(114)),f=n(519),d=(n.n(f),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}}()),u=function(e){function t(){var e,n,c,i,l=this;o(this,t);for(var A=arguments.length,m=Array(A),f=0;f<A;f++)m[f]=arguments[f];return n=c=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(m))),c.state={recordData:[]},c.getRecord=function(){var e=r(s.a.mark(function e(t){var n;return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,p.a.getRecord({type:t});case 3:n=e.sent,c.setState({recordData:n.data||[]}),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0);case 10:case"end":return e.stop()}},e,l,[[0,7]])}));return function(t){return e.apply(this,arguments)}}(),i=n,a(c,i)}return c(t,e),d(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.props.location.pathname.split("/")[2],n=e.location.pathname.split("/")[2];t!==n&&this.getRecord(n)}},{key:"shouldComponentUpdate",value:function(e,t){return!Object(m.is)(Object(m.fromJS)(this.props),Object(m.fromJS)(e))||!Object(m.is)(Object(m.fromJS)(this.state),Object(m.fromJS)(t))}},{key:"componentWillMount",value:function(){var e=this.props.location.pathname.split("/")[2];this.getRecord(e)}},{key:"render",value:function(){return A.a.createElement("div",null,A.a.createElement("ul",{className:"record-list-con"},this.state.recordData.map(function(e,t){return A.a.createElement("li",{className:"record-item",key:t},A.a.createElement("section",{className:"record-item-header"},A.a.createElement("span",null,"\u521b\u5efa\u65f6\u95f4\uff1a",e.created_at),A.a.createElement("span",null,e.type_name)),A.a.createElement("section",{className:"record-item-content"},A.a.createElement("p",null,A.a.createElement("span",null,"\u7528\u6237\u540d\uff1a"),e.customers_name," \u2003 ",e.customers_phone),A.a.createElement("p",null,A.a.createElement("span",null,"\u5546\u2003\u54c1\uff1a"),e.product[0].product_name),A.a.createElement("p",null,A.a.createElement("span",null,"\u91d1\u2003\u989d\uff1a"),e.sales_money," \u2003 \u4f63\u91d1\uff1a",e.commission)),A.a.createElement("p",{className:"record-item-footer"},"\u7b49\u5f85\u7ba1\u7406\u5458\u5ba1\u6838\uff0c\u5ba1\u6838\u901a\u8fc7\u540e\uff0c\u4f63\u91d1\u5c06\u7ed3\u7b97\u81f3\u8d26\u6237"))})))}}]),t}(l.Component);t.a=u},519:function(e,t,n){var r=n(520);"string"===typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0};o.transform=void 0;n(512)(r,o);r.locals&&(e.exports=r.locals)},520:function(e,t,n){t=e.exports=n(183)(!0),t.push([e.i,".record-list-con .record-item{background-color:#fff;margin-top:.266667rem}.record-list-con .record-item .record-item-header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;height:1.333333rem;padding:0 .266667rem;border-bottom:1px solid #eee}.record-list-con .record-item .record-item-header span:first-of-type{font-size:.4rem;color:#999;text-align:left}.record-list-con .record-item .record-item-header span:nth-of-type(2){font-size:.48rem;color:#f20500;text-align:left}.record-list-con .record-item .record-item-content{padding:.266667rem}.record-list-con .record-item .record-item-content p{font-size:.4rem;color:#000;text-align:left;line-height:.666667rem}.record-list-con .record-item .record-item-footer{padding:.266667rem;font-size:.373333rem;color:#000;text-align:left;border-top:1px solid #eee}","",{version:3,sources:["/mygit/react-pxq/src/pages/record/components/recordList.less"],names:[],mappings:"AAAA,8BACE,sBAAuB,AACvB,qBAAwB,CACzB,AAED,kDACE,oBAAqB,AACrB,aAAc,AACd,sBAAuB,AACvB,8BAA+B,AAC/B,sBAAuB,AACvB,mBAAoB,AACpB,mBAAoB,AACpB,qBAAuB,AACvB,4BAA8B,CAC/B,AAED,qEACE,gBAAkB,AAClB,WAAY,AACZ,eAAiB,CAClB,AAED,sEACE,iBAAmB,AACnB,cAAe,AACf,eAAiB,CAClB,AAED,mDACE,kBAAqB,CACtB,AAED,qDACE,gBAAkB,AAClB,WAAY,AACZ,gBAAiB,AACjB,sBAAyB,CAC1B,AAED,kDACE,mBAAqB,AACrB,qBAAuB,AACvB,WAAY,AACZ,gBAAiB,AACjB,yBAA2B,CAC5B",file:"recordList.less",sourcesContent:[".record-list-con .record-item {\n background-color: #fff;\n margin-top: 0.266667rem;\n}\n\n.record-list-con .record-item .record-item-header {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: center;\n align-items: center;\n height: 1.333333rem;\n padding: 0 0.266667rem;\n border-bottom: 1PX solid #eee;\n}\n\n.record-list-con .record-item .record-item-header span:nth-of-type(1) {\n font-size: 0.4rem;\n color: #999;\n text-align: left;\n}\n\n.record-list-con .record-item .record-item-header span:nth-of-type(2) {\n font-size: 0.48rem;\n color: #F20500;\n text-align: left;\n}\n\n.record-list-con .record-item .record-item-content {\n padding: 0.266667rem;\n}\n\n.record-list-con .record-item .record-item-content p {\n font-size: 0.4rem;\n color: #000;\n text-align: left;\n line-height: 0.666667rem;\n}\n\n.record-list-con .record-item .record-item-footer {\n padding: 0.266667rem;\n font-size: 0.373333rem;\n color: #000;\n text-align: left;\n border-top: 1PX solid #eee;\n}"],sourceRoot:""}])},521:function(e,t,n){var r=n(522);"string"===typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0};o.transform=void 0;n(512)(r,o);r.locals&&(e.exports=r.locals)},522:function(e,t,n){t=e.exports=n(183)(!0),t.push([e.i,".record-nav-con{height:1.466667rem;position:relative}.record-nav-con .record-nav{height:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background-color:#fff}.record-nav-con .record-nav .nav-link{font-size:.48rem;color:#333;text-align:center;-ms-flex:1 1;flex:1 1;height:.8rem;line-height:.8rem;-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s}.record-nav-con .record-nav a:first-of-type,.record-nav-con .record-nav a:nth-of-type(2){border-right:1px solid #ddd}.record-nav-con .record-nav .active{color:#975ec9}.record-nav-con .nav-flag-bar{width:1.733333rem;height:2px;border-radius:.013333rem;background-color:#975ec9;position:absolute;bottom:0;left:17%;margin-left:-.866667rem;-webkit-transition:left .3s;-o-transition:left .3s;transition:left .3s}","",{version:3,sources:["/mygit/react-pxq/src/pages/record/record.less"],names:[],mappings:"AAAA,gBACE,mBAAoB,AACpB,iBAAmB,CACpB,AAED,4BACE,YAAa,AACb,oBAAqB,AACrB,aAAc,AACd,qBAAsB,AACtB,uBAAwB,AACxB,sBAAuB,AACvB,mBAAoB,AACpB,qBAAuB,CACxB,AAED,sCACE,iBAAmB,AACnB,WAAY,AACZ,kBAAmB,AACnB,aAAc,AACd,SAAU,AACV,aAAe,AACf,kBAAoB,AACpB,6BAAgC,AAChC,wBAA2B,AAC3B,oBAAwB,CACzB,AAED,yFAEE,2BAA6B,CAC9B,AAED,oCACE,aAAe,CAChB,AAED,8BACE,kBAAmB,AACnB,WAAY,AACZ,yBAA2B,AAC3B,yBAA0B,AAC1B,kBAAmB,AACnB,SAAU,AACV,SAAU,AACV,wBAA0B,AAC1B,4BAA+B,AAC/B,uBAA0B,AAC1B,mBAAuB,CACxB",file:"record.less",sourcesContent:[".record-nav-con {\n height: 1.466667rem;\n position: relative;\n}\n\n.record-nav-con .record-nav {\n height: 100%;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n background-color: #fff;\n}\n\n.record-nav-con .record-nav .nav-link {\n font-size: 0.48rem;\n color: #333;\n text-align: center;\n -ms-flex: 1 1;\n flex: 1 1;\n height: 0.8rem;\n line-height: 0.8rem;\n -webkit-transition: color 300ms;\n -o-transition: color 300ms;\n transition: color 300ms;\n}\n\n.record-nav-con .record-nav a:nth-of-type(1),\n.record-nav-con .record-nav a:nth-of-type(2) {\n border-right: 1Px solid #ddd;\n}\n\n.record-nav-con .record-nav .active {\n color: #975ec9;\n}\n\n.record-nav-con .nav-flag-bar {\n width: 1.733333rem;\n height: 2PX;\n border-radius: 0.013333rem;\n background-color: #975ec9;\n position: absolute;\n bottom: 0;\n left: 17%;\n margin-left: -0.866667rem;\n -webkit-transition: left 300ms;\n -o-transition: left 300ms;\n transition: left 300ms;\n}"],sourceRoot:""}])}});
================================================
FILE: pxq/static/js/1.af913d75.chunk.js
================================================
webpackJsonp([1],{516:function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(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)}Object.defineProperty(t,"__esModule",{value:!0});var l,s,c=n(5),a=n.n(c),p=n(51),A=(n.n(p),n(115)),m=n(185),u=n(7),f=n.n(u),B=n(184),d=n(525),C=(n.n(d),function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}()),g=(s=l=function(e){function t(){var e,n,i,l;o(this,t);for(var s=arguments.length,c=Array(s),a=0;a<s;a++)c[a]=arguments[a];return n=i=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),i.handleEdit=function(e,t){var n=i.props.proData.dataList[e].selectNum+t;n<0||i.props.editPro(e,n)},i.togSelect=function(e){i.props.togSelectPro(e)},l=n,r(i,l)}return i(t,e),C(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Object(p.is)(Object(p.fromJS)(this.props),Object(p.fromJS)(e))||!Object(p.is)(Object(p.fromJS)(this.state),Object(p.fromJS)(t))}},{key:"componentDidMount",value:function(){this.props.proData.dataList.length||this.props.getProData()}},{key:"render",value:function(){var e=this;return a.a.createElement("main",{className:"common-con-top"},a.a.createElement(B.a,{title:"\u9996\u9875",confirm:!0}),a.a.createElement("section",{className:"pro-list-con"},a.a.createElement("ul",{className:"pro-list-ul"},this.props.proData.dataList.map(function(t,n){return a.a.createElement("li",{className:"pro-item",key:n},a.a.createElement("div",{className:"pro-item-select",onClick:e.togSelect.bind(e,n)},a.a.createElement("span",{className:"icon-xuanze1 pro-select-status "+(t.selectStatus?"pro-selected":"")}),a.a.createElement("span",{className:"pro-name"},t.product_name)),a.a.createElement("div",{className:"pro-item-edit"},a.a.createElement("span",{className:"icon-jian "+(t.selectNum>0?"edit-active":""),onClick:e.handleEdit.bind(e,n,-1)}),a.a.createElement("span",{className:"pro-num"},t.selectNum),a.a.createElement("span",{className:"icon-jia",onClick:e.handleEdit.bind(e,n,1)})))}))))}}]),t}(c.Component),l.propTypes={proData:f.a.object.isRequired,getProData:f.a.func.isRequired,togSelectPro:f.a.func.isRequired,editPro:f.a.func.isRequired},s);t.default=Object(A.b)(function(e){return{proData:e.proData}},{getProData:m.c,togSelectPro:m.d,editPro:m.b})(g)},525:function(e,t,n){var o=n(526);"string"===typeof o&&(o=[[e.i,o,""]]);var r={hmr:!0};r.transform=void 0;n(512)(o,r);o.locals&&(e.exports=o.locals)},526:function(e,t,n){t=e.exports=n(183)(!0),t.i(n(513),""),t.push([e.i,".pro-list-con{padding-top:.4rem}.pro-list-ul{background-color:#fff}.pro-list-ul .pro-item{min-height:1.866667rem;padding:.4rem;border-bottom:1px solid #eee;-ms-flex-pack:justify;justify-content:space-between}.pro-list-ul .pro-item,.pro-list-ul .pro-item .pro-item-select{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.pro-list-ul .pro-item .pro-item-select{-ms-flex-pack:center;justify-content:center}.pro-list-ul .pro-item .pro-item-select .pro-select-status{font-size:.6rem;color:#ccc;text-align:left}.pro-list-ul .pro-item .pro-item-select .pro-selected{color:#975ec9}.pro-list-ul .pro-item .pro-item-select .pro-name{font-size:.48rem;color:#333;text-align:left;margin-left:.266667rem;margin-top:.16rem}.pro-list-ul .pro-item .pro-item-edit{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.pro-list-ul .pro-item .pro-item-edit .icon-jian{font-size:.666667rem;color:#ccc;text-align:left}.pro-list-ul .pro-item .pro-item-edit .pro-num{font-size:.4rem;color:#333;text-align:center;min-width:.8rem}.pro-list-ul .pro-item .pro-item-edit .icon-jia{font-size:.666667rem;color:#975ec9;text-align:left}.pro-list-ul .pro-item .pro-item-edit .edit-active{color:#975ec9}","",{version:3,sources:["/mygit/react-pxq/src/pages/production/production.less"],names:[],mappings:"AAEA,cACE,iBAAoB,CACrB,AAED,aACE,qBAAuB,CACxB,AAED,uBACE,uBAAwB,AACxB,cAAgB,AAChB,6BAA8B,AAG9B,sBAAuB,AACvB,6BAA+B,CAGhC,AAED,+DARE,oBAAqB,AACrB,aAAc,AAGd,sBAAuB,AACvB,kBAAoB,CAUrB,AAPD,wCAGE,qBAAsB,AACtB,sBAAwB,CAGzB,AAED,2DACE,gBAAkB,AAClB,WAAY,AACZ,eAAiB,CAClB,AAED,sDACE,aAAe,CAChB,AAED,kDACE,iBAAmB,AACnB,WAAY,AACZ,gBAAiB,AACjB,uBAAyB,AACzB,iBAAoB,CACrB,AAED,sCACE,oBAAqB,AACrB,aAAc,AACd,qBAAsB,AACtB,uBAAwB,AACxB,sBAAuB,AACvB,kBAAoB,CACrB,AAED,iDACE,qBAAuB,AACvB,WAAY,AACZ,eAAiB,CAClB,AAED,+CACE,gBAAkB,AAClB,WAAY,AACZ,kBAAmB,AACnB,eAAkB,CACnB,AAED,gDACE,qBAAuB,AACvB,cAAe,AACf,eAAiB,CAClB,AAED,mDACE,aAAe,CAChB",file:"production.less",sourcesContent:['@import "../../assets/iconfonts/iconfont.css";\n\n.pro-list-con {\n padding-top: 0.4rem;\n}\n\n.pro-list-ul {\n background-color: #fff;\n}\n\n.pro-list-ul .pro-item {\n min-height: 1.866667rem;\n padding: 0.4rem;\n border-bottom: 1PX solid #eee;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.pro-list-ul .pro-item .pro-item-select {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.pro-list-ul .pro-item .pro-item-select .pro-select-status {\n font-size: 0.6rem;\n color: #ccc;\n text-align: left;\n}\n\n.pro-list-ul .pro-item .pro-item-select .pro-selected {\n color: #975ec9;\n}\n\n.pro-list-ul .pro-item .pro-item-select .pro-name {\n font-size: 0.48rem;\n color: #333;\n text-align: left;\n margin-left: 0.266667rem;\n margin-top: 0.16rem;\n}\n\n.pro-list-ul .pro-item .pro-item-edit {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.pro-list-ul .pro-item .pro-item-edit .icon-jian {\n font-size: 0.666667rem;\n color: #ccc;\n text-align: left;\n}\n\n.pro-list-ul .pro-item .pro-item-edit .pro-num {\n font-size: 0.4rem;\n color: #333;\n text-align: center;\n min-width: 0.8rem;\n}\n\n.pro-list-ul .pro-item .pro-item-edit .icon-jia {\n font-size: 0.666667rem;\n color: #975ec9;\n text-align: left;\n}\n\n.pro-list-ul .pro-item .pro-item-edit .edit-active {\n color: #975ec9;\n}'],sourceRoot:""}])}});
================================================
FILE: pxq/static/js/2.a96eb65f.chunk.js
================================================
webpackJsonp([2],{515:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(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)}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"default",function(){return s});var c=n(5),l=n.n(c),i=n(184),u=n(51),p=(n.n(u),n(523)),m=(n.n(p),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}}()),s=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),m(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Object(u.is)(Object(u.fromJS)(this.props),Object(u.fromJS)(e))||!Object(u.is)(Object(u.fromJS)(this.state),Object(u.fromJS)(t))}},{key:"render",value:function(){return l.a.createElement("main",null,l.a.createElement(i.a,{title:"\u5e2e\u52a9\u4e2d\u5fc3",record:!0}),l.a.createElement("article",{className:"context-con"},l.a.createElement("h2",null,"\u4ecb\u7ecd"),l.a.createElement("p",null,"\u672c\u9879\u76ee\u4e3b\u8981\u7528\u4e8e\u7406\u89e3 react \u548c redux \u7684\u7f16\u8bd1\u65b9\u5f0f\uff0c\u4ee5\u53ca react + redux \u4e4b\u95f4\u7684\u914d\u5408\u65b9\u5f0f"),l.a.createElement("h2",null,"\u6280\u672f\u8981\u70b9"),l.a.createElement("p",null,"react\uff1av16.2"),l.a.createElement("p",null,"redux\uff1av3.7"),l.a.createElement("p",null,"webpack\uff1av3.8"),l.a.createElement("p",null,"react-router\uff1av4.2"),l.a.createElement("p",null,"ES 6/7/8"),l.a.createElement("p",null,"code split"),l.a.createElement("p",null,"hot loader"),l.a.createElement("p",null,"axios\uff1av0.17"),l.a.createElement("p",null,"less\uff1av2.7"),l.a.createElement("p",null,"immutable\uff1av3.8"),l.a.createElement("p",null,"\u9879\u76ee\u5730\u5740 ",l.a.createElement("a",{href:"https://github.com/bailicangdu/react-pxq"},"github"))))}}]),t}(c.Component)},523:function(e,t,n){var r=n(524);"string"===typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0};o.transform=void 0;n(512)(r,o);r.locals&&(e.exports=r.locals)},524:function(e,t,n){t=e.exports=n(183)(!0),t.push([e.i,".context-con{margin-top:1.333333rem;padding:.266667rem}.context-con h2{font-size:.6rem;text-align:center;margin-bottom:.133333rem;padding-top:.133333rem}.context-con p{font-size:.426667rem;text-indent:.533333rem;margin-bottom:.266667rem}","",{version:3,sources:["/mygit/react-pxq/src/pages/helpcenter/helpcenter.less"],names:[],mappings:"AAAA,aACE,uBAAwB,AACxB,kBAAqB,CACtB,AAED,gBACE,gBAAkB,AAClB,kBAAmB,AACnB,yBAA2B,AAC3B,sBAAyB,CAC1B,AAED,eACE,qBAAuB,AACvB,uBAAyB,AACzB,wBAA2B,CAC5B",file:"helpcenter.less",sourcesContent:[".context-con {\n margin-top: 1.333333rem;\n padding: 0.266667rem;\n}\n\n.context-con h2 {\n font-size: 0.6rem;\n text-align: center;\n margin-bottom: 0.133333rem;\n padding-top: 0.133333rem;\n}\n\n.context-con p {\n font-size: 0.426667rem;\n text-indent: 0.533333rem;\n margin-bottom: 0.266667rem;\n}"],sourceRoot:""}])}});
================================================
FILE: pxq/static/js/3.ff2875c3.chunk.js
================================================
webpackJsonp([3],{517:function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,a){try{var i=t[o](a),c=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(c).then(function(e){r("next",e)},function(e){r("throw",e)});e(c)}return r("next")})}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(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)}Object.defineProperty(t,"__esModule",{value:!0});var c=n(58),l=n.n(c),s=n(5),A=n.n(s),m=n(51),p=(n.n(m),n(184)),f=n(116),u=n(186),b=n(114),B=n(527),h=(n.n(B),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}}()),C=function(e){function t(){var e,n,i,c,s=this;o(this,t);for(var A=arguments.length,m=Array(A),p=0;p<A;p++)m[p]=arguments[p];return n=i=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(m))),i.state={applyNum:"",alertStatus:!1,alertTip:"",balance:{balance:0}},i.initData=r(l.a.mark(function e(){var t;return l.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,b.a.getBalance();case 3:t=e.sent,i.setState({balance:t}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0);case 11:case"end":return e.stop()}},e,s,[[0,8]])})),i.handleInput=function(e){var t=e.target.value;/^\d*?\.?\d{0,2}?$/gi.test(t)&&(/^0+[1-9]+/.test(t)&&(t=t.replace(/^0+/,"")),/^0{2}\./.test(t)&&(t=t.replace(/^0+/,"0")),t=t.replace(/^\./gi,"0."),parseFloat(t)>200&&(t="200.00"),i.setState({applyNum:t}))},i.sumitForm=function(){var e=void 0;e=i.state.applyNum?parseFloat(i.state.applyNum)>i.state.balance.balance?"\u7533\u8bf7\u63d0\u73b0\u91d1\u989d\u4e0d\u80fd\u5927\u4e8e\u4f59\u989d":"\u7533\u8bf7\u63d0\u73b0\u6210\u529f":"\u8bf7\u8f93\u5165\u63d0\u73b0\u91d1\u989d",i.setState({alertStatus:!0,alertTip:e,applyNum:""})},i.closeAlert=function(){i.setState({alertStatus:!1,alertTip:""})},c=n,a(i,c)}return i(t,e),h(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Object(m.is)(Object(m.fromJS)(this.props),Object(m.fromJS)(e))||!Object(m.is)(Object(m.fromJS)(this.state),Object(m.fromJS)(t))}},{key:"componentDidMount",value:function(){this.initData()}},{key:"render",value:function(){return A.a.createElement("main",{className:"home-container"},A.a.createElement(p.a,{title:"\u63d0\u73b0",record:!0}),A.a.createElement("section",{className:"broke-main-content"},A.a.createElement("p",{className:"broke-header"},"\u60a8\u7684\u53ef\u63d0\u73b0\u91d1\u989d\u4e3a\uff1a\xa5 ",this.state.balance.balance),A.a.createElement("form",{className:"broke-form"},A.a.createElement("p",null,"\u8bf7\u8f93\u5165\u63d0\u73b0\u91d1\u989d\uff08\u5143\uff09"),A.a.createElement("p",null,"\xa5 ",A.a.createElement("input",{type:"text",value:this.state.applyNum,placeholder:"0.00",onInput:this.handleInput,maxLength:"5"}))),A.a.createElement(f.a,{className:"submit-btn",clickCallBack:this.sumitForm,text:"\u7533\u8bf7\u63d0\u73b0"})),A.a.createElement(u.a,{closeAlert:this.closeAlert,alertTip:this.state.alertTip,alertStatus:this.state.alertStatus}))}}]),t}(s.Component);t.default=C},527:function(e,t,n){var r=n(528);"string"===typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0};o.transform=void 0;n(512)(r,o);r.locals&&(e.exports=r.locals)},528:function(e,t,n){t=e.exports=n(183)(!0),t.push([e.i,".broke-main-content{padding-top:.4rem}.broke-main-content .broke-header{font-size:.426667rem;color:#999;text-align:left;padding:0 .4rem}.broke-main-content .broke-form{background-color:#fff;min-height:3.333333rem;margin-top:.4rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column}.broke-main-content .broke-form p:first-of-type{font-size:.533333rem;color:#333;text-align:left}.broke-main-content .broke-form p:nth-of-type(2){font-size:.533333rem;color:#333;text-align:left;margin-top:.4rem}.broke-main-content .broke-form p:nth-of-type(2) ::-webkit-input-placeholder{color:#ccc}.broke-main-content .broke-form p:nth-of-type(2) input{border:none;font-size:.533333rem;color:#333;text-align:left;width:2.4rem}","",{version:3,sources:["/mygit/react-pxq/src/pages/balance/balance.less"],names:[],mappings:"AAAA,oBACE,iBAAoB,CACrB,AAED,kCACE,qBAAuB,AACvB,WAAY,AACZ,gBAAiB,AACjB,eAAkB,CACnB,AAED,gCACE,sBAAuB,AACvB,uBAAwB,AACxB,iBAAmB,AACnB,oBAAqB,AACrB,aAAc,AACd,qBAAsB,AACtB,uBAAwB,AACxB,sBAAuB,AACvB,mBAAoB,AACpB,0BAA2B,AAC3B,qBAAuB,CACxB,AAED,gDACE,qBAAuB,AACvB,WAAY,AACZ,eAAiB,CAClB,AAED,iDACE,qBAAuB,AACvB,WAAY,AACZ,gBAAiB,AACjB,gBAAmB,CACpB,AAED,6EACE,UAAY,CACb,AAED,uDACE,YAAa,AACb,qBAAuB,AACvB,WAAY,AACZ,gBAAiB,AACjB,YAAc,CACf",file:"balance.less",sourcesContent:[".broke-main-content {\n padding-top: 0.4rem;\n}\n\n.broke-main-content .broke-header {\n font-size: 0.426667rem;\n color: #999;\n text-align: left;\n padding: 0 0.4rem;\n}\n\n.broke-main-content .broke-form {\n background-color: #fff;\n min-height: 3.333333rem;\n margin-top: 0.4rem;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n\n.broke-main-content .broke-form p:nth-of-type(1) {\n font-size: 0.533333rem;\n color: #333;\n text-align: left;\n}\n\n.broke-main-content .broke-form p:nth-of-type(2) {\n font-size: 0.533333rem;\n color: #333;\n text-align: left;\n margin-top: 0.4rem;\n}\n\n.broke-main-content .broke-form p:nth-of-type(2) ::-webkit-input-placeholder {\n color: #ccc;\n}\n\n.broke-main-content .broke-form p:nth-of-type(2) input {\n border: none;\n font-size: 0.533333rem;\n color: #333;\n text-align: left;\n width: 2.4rem;\n}"],sourceRoot:""}])}});
================================================
FILE: pxq/static/js/main.83dc4a4d.js
================================================
!function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(e,r,i){for(var a,u,c=0,s=[];c<e.length;c++)u=e[c],o[u]&&s.push(o[u][0]),o[u]=0;for(a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a]);for(n&&n(e,r,i);s.length;)s.shift()()};var r={},o={4:0};e.e=function(t){function n(){u.onerror=u.onload=null,clearTimeout(c);var e=o[t];0!==e&&(e&&e[1](new Error("Loading chunk "+t+" failed.")),o[t]=void 0)}var r=o[t];if(0===r)return new Promise(function(t){t()});if(r)return r[2];var i=new Promise(function(e,n){r=o[t]=[e,n]});r[2]=i;var a=document.getElementsByTagName("head")[0],u=document.createElement("script");u.type="text/javascript",u.charset="utf-8",u.async=!0,u.timeout=12e4,e.nc&&u.setAttribute("nonce",e.nc),u.src=e.p+"static/js/"+({}[t]||t)+"."+{0:"c353ab85",1:"af913d75",2:"a96eb65f",3:"ff2875c3"}[t]+".chunk.js";var c=setTimeout(n,12e4);return u.onerror=u.onload=n,a.appendChild(u),i},e.m=t,e.c=r,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/pxq/",e.oe=function(t){throw t},e(e.s=187)}([function(t,e,n){var r=n(2),o=n(23),i=n(14),a=n(15),u=n(24),c=function(t,e,n){var s,f,l,p,h=t&c.F,d=t&c.G,v=t&c.S,y=t&c.P,m=t&c.B,g=d?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,b=d?o:o[e]||(o[e]={}),w=b.prototype||(b.prototype={});d&&(n=e);for(s in n)f=!h&&g&&void 0!==g[s],l=(f?g:n)[s],p=m&&f?u(l,r):y&&"function"==typeof l?u(Function.call,l):l,g&&a(g,s,l,t&c.U),b[s]!=l&&i(b,s,p),y&&w[s]!=l&&(w[s]=l)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},function(t,e,n){"use strict";t.exports=n(396)},function(t,e,n){var r=n(59)("wks"),o=n(38),i=n(2).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,e,n){t.exports=n(406)()},function(t,e,n){t.exports=!n(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(1),o=n(117),i=n(27),a=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(29),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(28);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";var r=function(){};t.exports=r},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(9),o=n(37);t.exports=n(8)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(2),o=n(14),i=n(17),a=n(38)("src"),u=Function.toString,c=(""+u).split("toString");n(23).inspectSource=function(t){return u.call(t)},(t.exports=function(t,e,n,u){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(s&&(i(n,a)||o(n,a,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:u?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||u.call(this)})},function(t,e,n){var r=n(0),o=n(3),i=n(28),a=/"/g,u=function(t,e,n,r){var o=String(i(t)),u="<"+e;return""!==n&&(u+=" "+n+'="'+String(r).replace(a,""")+'"'),u+">"+o+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(u),r(r.P+r.F*o(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(53),o=n(28);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(54),o=n(37),i=n(18),a=n(27),u=n(17),c=n(117),s=Object.getOwnPropertyDescriptor;e.f=n(8)?s:function(t,e){if(t=i(t),e=a(e,!0),c)try{return s(t,e)}catch(t){}if(u(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(17),o=n(11),i=n(78)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){"use strict";var r=function(t,e,n,r,o,i,a,u){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,a,u],f=0;c=new Error(e.replace(/%s/g,function(){return s[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};t.exports=r},function(t,e,n){"use strict";function r(t){return"[object Array]"===S.call(t)}function o(t){return"[object ArrayBuffer]"===S.call(t)}function i(t){return"undefined"!==typeof FormData&&t instanceof FormData}function a(t){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function u(t){return"string"===typeof t}function c(t){return"number"===typeof t}function s(t){return"undefined"===typeof t}function f(t){return null!==t&&"object"===typeof t}function l(t){return"[object Date]"===S.call(t)}function p(t){return"[object File]"===S.call(t)}function h(t){return"[object Blob]"===S.call(t)}function d(t){return"[object Function]"===S.call(t)}function v(t){return f(t)&&d(t.pipe)}function y(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function m(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function g(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function b(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),r(t))for(var n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}function w(){function t(t,n){"object"===typeof e[n]&&"object"===typeof t?e[n]=w(e[n],t):e[n]=t}for(var e={},n=0,r=arguments.length;n<r;n++)b(arguments[n],t);return e}function _(t,e,n){return b(e,function(e,r){t[r]=n&&"function"===typeof e?x(e,n):e}),t}var x=n(171),E=n(462),S=Object.prototype.toString;t.exports={isArray:r,isArrayBuffer:o,isBuffer:E,isFormData:i,isArrayBufferView:a,isString:u,isNumber:c,isObject:f,isUndefined:s,isDate:l,isFile:p,isBlob:h,isFunction:d,isStream:v,isURLSearchParams:y,isStandardBrowserEnv:g,forEach:b,merge:w,extend:_,trim:m}},function(t,e){var n=t.exports={version:"2.5.6"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(13);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(0),o=n(23),i=n(3);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(t,e,n){var r=n(24),o=n(53),i=n(11),a=n(10),u=n(95);t.exports=function(t,e){var n=1==t,c=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l,h=e||u;return function(e,u,d){for(var v,y,m=i(e),g=o(m),b=r(u,d,3),w=a(g.length),_=0,x=n?h(e,w):c?h(e,0):void 0;w>_;_++)if((p||_ in g)&&(v=g[_],y=b(v,_,m),t))if(n)x[_]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return _;case 2:x.push(v)}else if(f)return!1;return l?-1:s||f?f:x}}},function(t,e,n){"use strict";if(n(8)){var r=n(35),o=n(2),i=n(3),a=n(0),u=n(70),c=n(101),s=n(24),f=n(44),l=n(37),p=n(14),h=n(46),d=n(29),v=n(10),y=n(143),m=n(40),g=n(27),b=n(17),w=n(55),_=n(4),x=n(11),E=n(92),S=n(41),A=n(20),O=n(42).f,C=n(94),T=n(38),k=n(6),P=n(31),j=n(60),I=n(67),M=n(97),R=n(49),N=n(64),D=n(43),L=n(96),U=n(133),F=n(9),B=n(19),z=F.f,q=B.f,W=o.RangeError,H=o.TypeError,V=o.Uint8Array,K=Array.prototype,Y=c.ArrayBuffer,G=c.DataView,Q=P(0),J=P(2),X=P(3),Z=P(4),$=P(5),tt=P(6),et=j(!0),nt=j(!1),rt=M.values,ot=M.keys,it=M.entries,at=K.lastIndexOf,ut=K.reduce,ct=K.reduceRight,st=K.join,ft=K.sort,lt=K.slice,pt=K.toString,ht=K.toLocaleString,dt=k("iterator"),vt=k("toStringTag"),yt=T("typed_constructor"),mt=T("def_constructor"),gt=u.CONSTR,bt=u.TYPED,wt=u.VIEW,_t=P(1,function(t,e){return Ot(I(t,t[mt]),e)}),xt=i(function(){return 1===new V(new Uint16Array([1]).buffer)[0]}),Et=!!V&&!!V.prototype.set&&i(function(){new V(1).set({})}),St=function(t,e){var n=d(t);if(n<0||n%e)throw W("Wrong offset!");return n},At=function(t){if(_(t)&&bt in t)return t;throw H(t+" is not a typed array!")},Ot=function(t,e){if(!(_(t)&&yt in t))throw H("It is not a typed array constructor!");return new t(e)},Ct=function(t,e){return Tt(I(t,t[mt]),e)},Tt=function(t,e){for(var n=0,r=e.length,o=Ot(t,r);r>n;)o[n]=e[n++];return o},kt=function(t,e,n){z(t,e,{get:function(){return this._d[n]}})},Pt=function(t){var e,n,r,o,i,a,u=x(t),c=arguments.length,f=c>1?arguments[1]:void 0,l=void 0!==f,p=C(u);if(void 0!=p&&!E(p)){for(a=p.call(u),r=[],e=0;!(i=a.next()).done;e++)r.push(i.value);u=r}for(l&&c>2&&(f=s(f,arguments[2],2)),e=0,n=v(u.length),o=Ot(this,n);n>e;e++)o[e]=l?f(u[e],e):u[e];return o},jt=function(){for(var t=0,e=arguments.length,n=Ot(this,e);e>t;)n[t]=arguments[t++];return n},It=!!V&&i(function(){ht.call(new V(1))}),Mt=function(){return ht.apply(It?lt.call(At(this)):At(this),arguments)},Rt={copyWithin:function(t,e){return U.call(At(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return Z(At(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return L.apply(At(this),arguments)},filter:function(t){return Ct(this,J(At(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return $(At(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(At(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Q(At(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(At(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(At(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return st.apply(At(this),arguments)},lastIndexOf:function(t){return at.apply(At(this),arguments)},map:function(t){return _t(At(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ut.apply(At(this),arguments)},reduceRight:function(t){return ct.apply(At(this),arguments)},reverse:function(){for(var t,e=this,n=At(e).length,r=Math.floor(n/2),o=0;o<r;)t=e[o],e[o++]=e[--n],e[n]=t;return e},some:function(t){return X(At(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return ft.call(At(this),t)},subarray:function(t,e){var n=At(this),r=n.length,o=m(t,r);return new(I(n,n[mt]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,v((void 0===e?r:m(e,r))-o))}},Nt=function(t,e){return Ct(this,lt.call(At(this),t,e))},Dt=function(t){At(this);var e=St(arguments[1],1),n=this.length,r=x(t),o=v(r.length),i=0;if(o+e>n)throw W("Wrong length!");for(;i<o;)this[e+i]=r[i++]},Lt={entries:function(){return it.call(At(this))},keys:function(){return ot.call(At(this))},values:function(){return rt.call(At(this))}},Ut=function(t,e){return _(t)&&t[bt]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Ft=function(t,e){return Ut(t,e=g(e,!0))?l(2,t[e]):q(t,e)},Bt=function(t,e,n){return!(Ut(t,e=g(e,!0))&&_(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?z(t,e,n):(t[e]=n.value,t)};gt||(B.f=Ft,F.f=Bt),a(a.S+a.F*!gt,"Object",{getOwnPropertyDescriptor:Ft,defineProperty:Bt}),i(function(){pt.call({})})&&(pt=ht=function(){return st.call(this)});var zt=h({},Rt);h(zt,Lt),p(zt,dt,Lt.values),h(zt,{slice:Nt,set:Dt,constructor:function(){},toString:pt,toLocaleString:Mt}),kt(zt,"buffer","b"),kt(zt,"byteOffset","o"),kt(zt,"byteLength","l"),kt(zt,"length","e"),z(zt,vt,{get:function(){return this[bt]}}),t.exports=function(t,e,n,c){c=!!c;var s=t+(c?"Clamped":"")+"Array",l="get"+t,h="set"+t,d=o[s],m=d||{},g=d&&A(d),b=!d||!u.ABV,x={},E=d&&d.prototype,C=function(t,n){var r=t._d;return r.v[l](n*e+r.o,xt)},T=function(t,n,r){var o=t._d;c&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[h](n*e+o.o,r,xt)},k=function(t,e){z(t,e,{get:function(){return C(this,e)},set:function(t){return T(this,e,t)},enumerable:!0})};b?(d=n(function(t,n,r,o){f(t,d,s,"_d");var i,a,u,c,l=0,h=0;if(_(n)){if(!(n instanceof Y||"ArrayBuffer"==(c=w(n))||"SharedArrayBuffer"==c))return bt in n?Tt(d,n):Pt.call(d,n);i=n,h=St(r,e);var m=n.byteLength;if(void 0===o){if(m%e)throw W("Wrong length!");if((a=m-h)<0)throw W("Wrong length!")}else if((a=v(o)*e)+h>m)throw W("Wrong length!");u=a/e}else u=y(n),a=u*e,i=new Y(a);for(p(t,"_d",{b:i,o:h,l:a,e:u,v:new G(i)});l<u;)k(t,l++)}),E=d.prototype=S(zt),p(E,"constructor",d)):i(function(){d(1)})&&i(function(){new d(-1)})&&N(function(t){new d,new d(null),new d(1.5),new d(t)},!0)||(d=n(function(t,n,r,o){f(t,d,s);var i;return _(n)?n instanceof Y||"ArrayBuffer"==(i=w(n))||"SharedArrayBuffer"==i?void 0!==o?new m(n,St(r,e),o):void 0!==r?new m(n,St(r,e)):new m(n):bt in n?Tt(d,n):Pt.call(d,n):new m(y(n))}),Q(g!==Function.prototype?O(m).concat(O(g)):O(m),function(t){t in d||p(d,t,m[t])}),d.prototype=E,r||(E.constructor=d));var P=E[dt],j=!!P&&("values"==P.name||void 0==P.name),I=Lt.values;p(d,yt,!0),p(E,bt,s),p(E,wt,!0),p(E,mt,d),(c?new d(1)[vt]==s:vt in E)||z(E,vt,{get:function(){return s}}),x[s]=d,a(a.G+a.W+a.F*(d!=m),x),a(a.S,s,{BYTES_PER_ELEMENT:e}),a(a.S+a.F*i(function(){m.of.call(d,1)}),s,{from:Pt,of:jt}),"BYTES_PER_ELEMENT"in E||p(E,"BYTES_PER_ELEMENT",e),a(a.P,s,Rt),D(s),a(a.P+a.F*Et,s,{set:Dt}),a(a.P+a.F*!j,s,Lt),r||E.toString==pt||(E.toString=pt),a(a.P+a.F*i(function(){new d(1).slice()}),s,{slice:Nt}),a(a.P+a.F*(i(function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()})||!i(function(){E.toLocaleString.call([1,2])})),s,{toLocaleString:Mt}),R[s]=j?P:I,r||j||p(E,dt,I)}}else t.exports=function(){}},function(t,e,n){var r=n(138),o=n(0),i=n(59)("metadata"),a=i.store||(i.store=new(n(141))),u=function(t,e,n){var o=a.get(t);if(!o){if(!n)return;a.set(t,o=new r)}var i=o.get(e);if(!i){if(!n)return;o.set(e,i=new r)}return i},c=function(t,e,n){var r=u(e,n,!1);return void 0!==r&&r.has(t)},s=function(t,e,n){var r=u(e,n,!1);return void 0===r?void 0:r.get(t)},f=function(t,e,n,r){u(n,r,!0).set(t,e)},l=function(t,e){var n=u(t,e,!1),r=[];return n&&n.forEach(function(t,e){r.push(e)}),r},p=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},h=function(t){o(o.S,"Reflect",t)};t.exports={store:a,map:u,has:c,get:s,set:f,keys:l,key:p,exp:h}},function(t,e,n){var r=n(38)("meta"),o=n(4),i=n(17),a=n(9).f,u=0,c=Object.isExtensible||function(){return!0},s=!n(3)(function(){return c(Object.preventExtensions({}))}),f=function(t){a(t,r,{value:{i:"O"+ ++u,w:{}}})},l=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!e)return"E";f(t)}return t[r].i},p=function(t,e){if(!i(t,r)){if(!c(t))return!0;if(!e)return!1;f(t)}return t[r].w},h=function(t){return s&&d.NEED&&c(t)&&!i(t,r)&&f(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:h}},function(t,e){t.exports=!1},function(t,e,n){var r=n(6)("unscopables"),o=Array.prototype;void 0==o[r]&&n(14)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(119),o=n(79);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(29),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(1),o=n(120),i=n(79),a=n(78)("IE_PROTO"),u=function(){},c=function(){var t,e=n(76)("iframe"),r=i.length;for(e.style.display="none",n(80).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=r(t),n=new u,u.prototype=null,n[a]=t):n=c(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(119),o=n(79).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){"use strict";var r=n(2),o=n(9),i=n(8),a=n(6)("species");t.exports=function(t){var e=r[t];i&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(24),o=n(131),i=n(92),a=n(1),u=n(10),c=n(94),s={},f={},e=t.exports=function(t,e,n,l,p){var h,d,v,y,m=p?function(){return t}:c(t),g=r(n,l,e?2:1),b=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(h=u(t.length);h>b;b++)if((y=e?g(a(d=t[b])[0],d[1]):g(t[b]))===s||y===f)return y}else for(v=m.call(t);!(d=v.next()).done;)if((y=o(v,g,d.value,e))===s||y===f)return y};e.BREAK=s,e.RETURN=f},function(t,e,n){var r=n(15);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){var r=n(9).f,o=n(17),i=n(6)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(0),o=n(28),i=n(3),a=n(82),u="["+a+"]",c="\u200b\x85",s=RegExp("^"+u+u+"*"),f=RegExp(u+u+"*$"),l=function(t,e,n){var o={},u=i(function(){return!!a[t]()||c[t]()!=c}),s=o[t]=u?e(p):a[t];n&&(o[n]=s),r(r.P+r.F*u,"String",o)},p=l.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(s,"")),2&e&&(t=t.replace(f,"")),t};t.exports=l},function(t,e){t.exports={}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function e(t){return i(t)?t:k(t)}function n(t){return a(t)?t:P(t)}function r(t){return u(t)?t:j(t)}function o(t){return i(t)&&!c(t)?t:I(t)}function i(t){return!(!t||!t[sn])}function a(t){return!(!t||!t[fn])}function u(t){return!(!t||!t[ln])}function c(t){return a(t)||u(t)}function s(t){return!(!t||!t[pn])}function f(t){return t.value=!1,t}function l(t){t&&(t.value=!0)}function p(){}function h(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o=0;o<n;o++)r[o]=t[o+e];return r}function d(t){return void 0===t.size&&(t.size=t.__iterate(y)),t.size}function v(t,e){if("number"!==typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?d(t)+e:e}function y(){return!0}function m(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function g(t,e){return w(t,e,0)}function b(t,e){return w(t,e,e)}function w(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}function _(t){this.next=t}function x(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function E(){return{value:void 0,done:!0}}function S(t){return!!C(t)}function A(t){return t&&"function"===typeof t.next}function O(t){var e=C(t);return e&&e.call(t)}function C(t){var e=t&&(xn&&t[xn]||t[En]);if("function"===typeof e)return e}function T(t){return t&&"number"===typeof t.length}function k(t){return null===t||void 0===t?U():i(t)?t.toSeq():z(t)}function P(t){return null===t||void 0===t?U().toKeyedSeq():i(t)?a(t)?t.toSeq():t.fromEntrySeq():F(t)}function j(t){return null===t||void 0===t?U():i(t)?a(t)?t.entrySeq():t.toIndexedSeq():B(t)}function I(t){return(null===t||void 0===t?U():i(t)?a(t)?t.entrySeq():t:B(t)).toSetSeq()}function M(t){this._array=t,this.size=t.length}function R(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function N(t){this._iterable=t,this.size=t.length||t.size}function D(t){this._iterator=t,this._iteratorCache=[]}function L(t){return!(!t||!t[An])}function U(){return On||(On=new M([]))}function F(t){var e=Array.isArray(t)?new M(t).fromEntrySeq():A(t)?new D(t).fromEntrySeq():S(t)?new N(t).fromEntrySeq():"object"===typeof t?new R(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function B(t){var e=q(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function z(t){var e=q(t)||"object"===typeof t&&new R(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function q(t){return T(t)?new M(t):A(t)?new D(t):S(t)?new N(t):void 0}function W(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var u=o[n?i-a:a];if(!1===e(u[1],r?u[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function H(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new _(function(){var t=o[n?i-a:a];return a++>i?E():x(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function V(t,e){return e?K(e,t,"",{"":t}):Y(t)}function K(t,e,n,r){return Array.isArray(e)?t.call(r,n,j(e).map(function(n,r){return K(t,n,r,e)})):G(e)?t.call(r,n,P(e).map(function(n,r){return K(t,n,r,e)})):e}function Y(t){return Array.isArray(t)?j(t).map(Y).toList():G(t)?P(t).map(Y).toMap():t}function G(t){return t&&(t.constructor===Object||void 0===t.constructor)}function Q(t,e){if(t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1;if("function"===typeof t.valueOf&&"function"===typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1}return!("function"!==typeof t.equals||"function"!==typeof e.equals||!t.equals(e))}function J(t,e){if(t===e)return!0;if(!i(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||a(t)!==a(e)||u(t)!==u(e)||s(t)!==s(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!c(t);if(s(t)){var r=t.entries();return e.every(function(t,e){var o=r.next().value;return o&&Q(o[1],t)&&(n||Q(o[0],e))})&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"===typeof t.cacheResult&&t.cacheResult();else{o=!0;var f=t;t=e,e=f}var l=!0,p=e.__iterate(function(e,r){if(n?!t.has(e):o?!Q(e,t.get(r,yn)):!Q(t.get(r,yn),e))return l=!1,!1});return l&&t.size===p}function X(t,e){if(!(this instanceof X))return new X(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Cn)return Cn;Cn=this}}function Z(t,e){if(!t)throw new Error(e)}function $(t,e,n){if(!(this instanceof $))return new $(t,e,n);if(Z(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(Tn)return Tn;Tn=this}}function tt(){throw TypeError("Abstract")}function et(){}function nt(){}function rt(){}function ot(t){return t>>>1&1073741824|3221225471&t}function it(t){if(!1===t||null===t||void 0===t)return 0;if("function"===typeof t.valueOf&&(!1===(t=t.valueOf())||null===t||void 0===t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){if(t!==t||t===1/0)return 0;var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)t/=4294967295,n^=t;return ot(n)}if("string"===e)return t.length>Dn?at(t):ut(t);if("function"===typeof t.hashCode)return t.hashCode();if("object"===e)return ct(t);if("function"===typeof t.toString)return ut(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function at(t){var e=Fn[t];return void 0===e&&(e=ut(t),Un===Ln&&(Un=0,Fn={}),Un++,Fn[t]=e),e}function ut(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return ot(e)}function ct(t){var e;if(Mn&&void 0!==(e=kn.get(t)))return e;if(void 0!==(e=t[Nn]))return e;if(!In){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Nn]))return e;if(void 0!==(e=st(t)))return e}if(e=++Rn,1073741824&Rn&&(Rn=0),Mn)kn.set(t,e);else{if(void 0!==jn&&!1===jn(t))throw new Error("Non-extensible objects are not allowed as keys.");if(In)Object.defineProperty(t,Nn,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Nn]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Nn]=e}}return e}function st(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function ft(t){Z(t!==1/0,"Cannot perform this action with an infinite size.")}function lt(t){return null===t||void 0===t?xt():pt(t)&&!s(t)?t:xt().withMutations(function(e){var r=n(t);ft(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function pt(t){return!(!t||!t[Bn])}function ht(t,e){this.ownerID=t,this.entries=e}function dt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function vt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function yt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function mt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function gt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&wt(t._root)}function bt(t,e){return x(t,e[0],e[1])}function wt(t,e){return{node:t,index:0,__prev:e}}function _t(t,e,n,r){var o=Object.create(zn);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function xt(){return qn||(qn=_t(0))}function Et(t,e,n){var r,o;if(t._root){var i=f(mn),a=f(gn);if(r=St(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===yn?-1:1:0)}else{if(n===yn)return t;o=1,r=new ht(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?_t(o,r):xt()}function St(t,e,n,r,o,i,a,u){return t?t.update(e,n,r,o,i,a,u):i===yn?t:(l(u),l(a),new mt(e,r,[o,i]))}function At(t){return t.constructor===mt||t.constructor===yt}function Ot(t,e,n,r,o){if(t.keyHash===r)return new yt(e,r,[t.entry,o]);var i,a=(0===n?t.keyHash:t.keyHash>>>n)&vn,u=(0===n?r:r>>>n)&vn;return new dt(e,1<<a|1<<u,a===u?[Ot(t,e,n+hn,r,o)]:(i=new mt(e,r,o),a<u?[t,i]:[i,t]))}function Ct(t,e,n,r){t||(t=new p);for(var o=new mt(t,it(n),[n,r]),i=0;i<e.length;i++){var a=e[i];o=o.update(t,0,void 0,a[0],a[1])}return o}function Tt(t,e,n,r){for(var o=0,i=0,a=new Array(n),u=0,c=1,s=e.length;u<s;u++,c<<=1){var f=e[u];void 0!==f&&u!==r&&(o|=c,a[i++]=f)}return new dt(t,o,a)}function kt(t,e,n,r,o){for(var i=0,a=new Array(dn),u=0;0!==n;u++,n>>>=1)a[u]=1&n?e[i++]:void 0;return a[r]=o,new vt(t,i+1,a)}function Pt(t,e,r){for(var o=[],a=0;a<r.length;a++){var u=r[a],c=n(u);i(u)||(c=c.map(function(t){return V(t)})),o.push(c)}return Mt(t,e,o)}function jt(t,e,n){return t&&t.mergeDeep&&i(e)?t.mergeDeep(e):Q(t,e)?t:e}function It(t){return function(e,n,r){if(e&&e.mergeDeepWith&&i(n))return e.mergeDeepWith(t,n);var o=t(e,n,r);return Q(e,o)?e:o}}function Mt(t,e,n){return n=n.filter(function(t){return 0!==t.size}),0===n.length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations(function(t){for(var r=e?function(n,r){t.update(r,yn,function(t){return t===yn?n:e(t,n,r)})}:function(e,n){t.set(n,e)},o=0;o<n.length;o++)n[o].forEach(r)}):t.constructor(n[0])}function Rt(t,e,n,r){var o=t===yn,i=e.next();if(i.done){var a=o?n:t,u=r(a);return u===a?t:u}Z(o||t&&t.set,"invalid keyPath");var c=i.value,s=o?yn:t.get(c,yn),f=Rt(s,e,n,r);return f===s?t:f===yn?t.remove(c):(o?xt():t).set(c,f)}function Nt(t){return t-=t>>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function Dt(t,e,n,r){var o=r?t:h(t);return o[e]=n,o}function Lt(t,e,n,r){var o=t.length+1;if(r&&e+1===o)return t[e]=n,t;for(var i=new Array(o),a=0,u=0;u<o;u++)u===e?(i[u]=n,a=-1):i[u]=t[u+a];return i}function Ut(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a<r;a++)a===e&&(i=1),o[a]=t[a+i];return o}function Ft(t){var e=Ht();if(null===t||void 0===t)return e;if(Bt(t))return t;var n=r(t),o=n.size;return 0===o?e:(ft(o),o>0&&o<dn?Wt(0,o,hn,null,new zt(n.toArray())):e.withMutations(function(t){t.setSize(o),n.forEach(function(e,n){return t.set(n,e)})}))}function Bt(t){return!(!t||!t[Kn])}function zt(t,e){this.array=t,this.ownerID=e}function qt(t,e){function n(t,e,n){return 0===e?r(t,n):o(t,e,n)}function r(t,n){var r=n===u?c&&c.array:t&&t.array,o=n>i?0:i-n,s=a-n;return s>dn&&(s=dn),function(){if(o===s)return Qn;var t=e?--s:o++;return r&&r[t]}}function o(t,r,o){var u,c=t&&t.array,s=o>i?0:i-o>>r,f=1+(a-o>>r);return f>dn&&(f=dn),function(){for(;;){if(u){var t=u();if(t!==Qn)return t;u=null}if(s===f)return Qn;var i=e?--f:s++;u=n(c&&c[i],r-hn,o+(i<<r))}}}var i=t._origin,a=t._capacity,u=Xt(a),c=t._tail;return n(t._root,t._level,0)}function Wt(t,e,n,r,o,i,a){var u=Object.create(Yn);return u.size=e-t,u._origin=t,u._capacity=e,u._level=n,u._root=r,u._tail=o,u.__ownerID=i,u.__hash=a,u.__altered=!1,u}function Ht(){return Gn||(Gn=Wt(0,0,hn))}function Vt(t,e,n){if((e=v(t,e))!==e)return t;if(e>=t.size||e<0)return t.withMutations(function(t){e<0?Qt(t,e).set(0,n):Qt(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,o=t._root,i=f(gn);return e>=Xt(t._capacity)?r=Kt(r,t.__ownerID,0,e,n,i):o=Kt(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):Wt(t._origin,t._capacity,t._level,o,r):t}function Kt(t,e,n,r,o,i){var a=r>>>n&vn,u=t&&a<t.array.length;if(!u&&void 0===o)return t;var c;if(n>0){var s=t&&t.array[a],f=Kt(s,e,n-hn,r,o,i);return f===s?t:(c=Yt(t,e),c.array[a]=f,c)}return u&&t.array[a]===o?t:(l(i),c=Yt(t,e),void 0===o&&a===c.array.length-1?c.array.pop():c.array[a]=o,c)}function Yt(t,e){return e&&t&&e===t.ownerID?t:new zt(t?t.array.slice():[],e)}function Gt(t,e){if(e>=Xt(t._capacity))return t._tail;if(e<1<<t._level+hn){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&vn],r-=hn;return n}}function Qt(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new p,o=t._origin,i=t._capacity,a=o+e,u=void 0===n?i:n<0?i+n:o+n;if(a===o&&u===i)return t;if(a>=u)return t.clear();for(var c=t._level,s=t._root,f=0;a+f<0;)s=new zt(s&&s.array.length?[void 0,s]:[],r),c+=hn,f+=1<<c;f&&(a+=f,o+=f,u+=f,i+=f);for(var l=Xt(i),h=Xt(u);h>=1<<c+hn;)s=new zt(s&&s.array.length?[s]:[],r),c+=hn;var d=t._tail,v=h<l?Gt(t,u-1):h>l?new zt([],r):d;if(d&&h>l&&a<i&&d.array.length){s=Yt(s,r);for(var y=s,m=c;m>hn;m-=hn){var g=l>>>m&vn;y=y.array[g]=Yt(y.array[g],r)}y.array[l>>>hn&vn]=d}if(u<i&&(v=v&&v.removeAfter(r,0,u)),a>=h)a-=h,u-=h,c=hn,s=null,v=v&&v.removeBefore(r,0,a);else if(a>o||h<l){for(f=0;s;){var b=a>>>c&vn;if(b!==h>>>c&vn)break;b&&(f+=(1<<c)*b),c-=hn,s=s.array[b]}s&&a>o&&(s=s.removeBefore(r,c,a-f)),s&&h<l&&(s=s.removeAfter(r,c,h-f)),f&&(a-=f,u-=f)}return t.__ownerID?(t.size=u-a,t._origin=a,t._capacity=u,t._level=c,t._root=s,t._tail=v,t.__hash=void 0,t.__altered=!0,t):Wt(a,u,c,s,v)}function Jt(t,e,n){for(var o=[],a=0,u=0;u<n.length;u++){var c=n[u],s=r(c);s.size>a&&(a=s.size),i(c)||(s=s.map(function(t){return V(t)})),o.push(s)}return a>t.size&&(t=t.setSize(a)),Mt(t,e,o)}function Xt(t){return t<dn?0:t-1>>>hn<<hn}function Zt(t){return null===t||void 0===t?ee():$t(t)?t:ee().withMutations(function(e){var r=n(t);ft(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function $t(t){return pt(t)&&s(t)}function te(t,e,n,r){var o=Object.create(Zt.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function ee(){return Jn||(Jn=te(xt(),Ht()))}function ne(t,e,n){var r,o,i=t._map,a=t._list,u=i.get(e),c=void 0!==u;if(n===yn){if(!c)return t;a.size>=dn&&a.size>=2*i.size?(o=a.filter(function(t,e){return void 0!==t&&u!==e}),r=o.toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(r.__ownerID=o.__ownerID=t.__ownerID)):(r=i.remove(e),o=u===a.size-1?a.pop():a.set(u,void 0))}else if(c){if(n===a.get(u)[1])return t;r=i,o=a.set(u,[e,n])}else r=i.set(e,a.size),o=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=o,t.__hash=void 0,t):te(r,o)}function re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function oe(t){this._iter=t,this.size=t.size}function ie(t){this._iter=t,this.size=t.size}function ae(t){this._iter=t,this.size=t.size}function ue(t){var e=Te(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=ke,e.__iterateUncached=function(e,n){var r=this;return t.__iterate(function(t,n){return!1!==e(n,t,r)},n)},e.__iteratorUncached=function(e,n){if(e===_n){var r=t.__iterator(e,n);return new _(function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})}return t.__iterator(e===wn?bn:wn,n)},e}function ce(t,e,n){var r=Te(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,yn);return i===yn?o:e.call(n,i,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate(function(t,o,a){return!1!==r(e.call(n,t,o,a),o,i)},o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(_n,o);return new _(function(){var o=i.next();if(o.done)return o;var a=o.value,u=a[0];return x(r,u,e.call(n,a[1],u,t),o)})},r}function se(t,e){var n=Te(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=ue(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=ke,n.__iterate=function(e,n){var r=this;return t.__iterate(function(t,n){return e(t,n,r)},!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function fe(t,e,n,r){var o=Te(t);return r&&(o.has=function(r){var o=t.get(r,yn);return o!==yn&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,yn);return i!==yn&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,u=0;return t.__iterate(function(t,i,c){if(e.call(n,t,i,c))return u++,o(t,r?i:u-1,a)},i),u},o.__iteratorUncached=function(o,i){var a=t.__iterator(_n,i),u=0;return new _(function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,s=c[0],f=c[1];if(e.call(n,f,s,t))return x(o,r?s:u++,f,i)}})},o}function le(t,e,n){var r=lt().asMutable();return t.__iterate(function(o,i){r.update(e.call(n,o,i,t),0,function(t){return t+1})}),r.asImmutable()}function pe(t,e,n){var r=a(t),o=(s(t)?Zt():lt()).asMutable();t.__iterate(function(i,a){o.update(e.call(n,i,a,t),function(t){return t=t||[],t.push(r?[a,i]:i),t})});var i=Ce(t);return o.map(function(e){return Se(t,i(e))})}function he(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n===1/0?n=o:n|=0),m(e,n,o))return t;var i=g(e,o),a=b(n,o);if(i!==i||a!==a)return he(t.toSeq().cacheResult(),e,n,r);var u,c=a-i;c===c&&(u=c<0?0:c);var s=Te(t);return s.size=0===u?u:t.size&&u||void 0,!r&&L(t)&&u>=0&&(s.get=function(e,n){return e=v(this,e),e>=0&&e<u?t.get(e+i,n):n}),s.__iterateUncached=function(e,n){var o=this;if(0===u)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,c=!0,s=0;return t.__iterate(function(t,n){if(!c||!(c=a++<i))return s++,!1!==e(t,r?n:s-1,o)&&s!==u}),s},s.__iteratorUncached=function(e,n){if(0!==u&&n)return this.cacheResult().__iterator(e,n);var o=0!==u&&t.__iterator(e,n),a=0,c=0;return new _(function(){for(;a++<i;)o.next();if(++c>u)return E();var t=o.next();return r||e===wn?t:e===bn?x(e,c-1,void 0,t):x(e,c-1,t.value[1],t)})},s}function de(t,e,n){var r=Te(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate(function(t,o,u){return e.call(n,t,o,u)&&++a&&r(t,o,i)}),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(_n,o),u=!0;return new _(function(){if(!u)return E();var t=a.next();if(t.done)return t;var o=t.value,c=o[0],s=o[1];return e.call(n,s,c,i)?r===_n?t:x(r,c,s,t):(u=!1,E())})},r}function ve(t,e,n,r){var o=Te(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var u=!0,c=0;return t.__iterate(function(t,i,s){if(!u||!(u=e.call(n,t,i,s)))return c++,o(t,r?i:c-1,a)}),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var u=t.__iterator(_n,i),c=!0,s=0;return new _(function(){var t,i,f;do{if(t=u.next(),t.done)return r||o===wn?t:o===bn?x(o,s++,void 0,t):x(o,s++,t.value[1],t);var l=t.value;i=l[0],f=l[1],c&&(c=e.call(n,f,i,a))}while(c);return o===_n?t:x(o,i,f,t)})},o}function ye(t,e){var r=a(t),o=[t].concat(e).map(function(t){return i(t)?r&&(t=n(t)):t=r?F(t):B(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===o.length)return t;if(1===o.length){var c=o[0];if(c===t||r&&a(c)||u(t)&&u(c))return c}var s=new M(o);return r?s=s.toKeyedSeq():u(t)||(s=s.toSetSeq()),s=s.flatten(!0),s.size=o.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),s}function me(t,e,n){var r=Te(t);return r.__iterateUncached=function(r,o){function a(t,s){var f=this;t.__iterate(function(t,o){return(!e||s<e)&&i(t)?a(t,s+1):!1===r(t,n?o:u++,f)&&(c=!0),!c},o)}var u=0,c=!1;return a(t,0),u},r.__iteratorUncached=function(r,o){var a=t.__iterator(r,o),u=[],c=0;return new _(function(){for(;a;){var t=a.next();if(!1===t.done){var s=t.value;if(r===_n&&(s=s[1]),e&&!(u.length<e)||!i(s))return n?t:x(r,c++,s,t);u.push(a),a=s.__iterator(r,o)}else a=u.pop()}return E()})},r}function ge(t,e,n){var r=Ce(t);return t.toSeq().map(function(o,i){return r(e.call(n,o,i,t))}).flatten(!0)}function be(t,e){var n=Te(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return t.__iterate(function(t,r){return(!i||!1!==n(e,i++,o))&&!1!==n(t,i++,o)},r),i},n.__iteratorUncached=function(n,r){var o,i=t.__iterator(wn,r),a=0;return new _(function(){return(!o||a%2)&&(o=i.next(),o.done)?o:a%2?x(n,a++,e):x(n,a++,o.value,o)})},n}function we(t,e,n){e||(e=Pe);var r=a(t),o=0,i=t.toSeq().map(function(e,r){return[r,e,o++,n?n(e,r,t):e]}).toArray();return i.sort(function(t,n){return e(t[3],n[3])||t[2]-n[2]}).forEach(r?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),r?P(i):u(t)?j(i):I(i)}function _e(t,e,n){if(e||(e=Pe),n){var r=t.toSeq().map(function(e,r){return[e,n(e,r,t)]}).reduce(function(t,n){return xe(e,t[1],n[1])?n:t});return r&&r[0]}return t.reduce(function(t,n){return xe(e,t,n)?n:t})}function xe(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(void 0===n||null===n||n!==n)||r>0}function Ee(t,n,r){var o=Te(t);return o.size=new M(r).map(function(t){return t.size}).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(wn,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=r.map(function(t){return t=e(t),O(o?t.reverse():t)}),a=0,u=!1;return new _(function(){var e;return u||(e=i.map(function(t){return t.next()}),u=e.some(function(t){return t.done})),u?E():x(t,a++,n.apply(null,e.map(function(t){return t.value})))})},o}function Se(t,e){return L(t)?e:t.constructor(e)}function Ae(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Oe(t){return ft(t.size),d(t)}function Ce(t){return a(t)?n:u(t)?r:o}function Te(t){return Object.create((a(t)?P:u(t)?j:I).prototype)}function ke(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):k.prototype.cacheResult.call(this)}function Pe(t,e){return t>e?1:t<e?-1:0}function je(t){var n=O(t);if(!n){if(!T(t))throw new TypeError("Expected iterable or array-like: "+t);n=O(e(t))}return n}function Ie(t,e){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(t);Ne(o,a),o.size=a.length,o._name=e,o._keys=a,o._defaultValues=t}this._map=lt(i)},o=r.prototype=Object.create(Xn);return o.constructor=r,r}function Me(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function Re(t){return t._name||t.constructor.name||"Record"}function Ne(t,e){try{e.forEach(De.bind(void 0,t))}catch(t){}}function De(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){Z(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function Le(t){return null===t||void 0===t?ze():Ue(t)&&!s(t)?t:ze().withMutations(function(e){var n=o(t);ft(n.size),n.forEach(function(t){return e.add(t)})})}function Ue(t){return!(!t||!t[Zn])}function Fe(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function Be(t,e){var n=Object.create($n);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function ze(){return tr||(tr=Be(xt()))}function qe(t){return null===t||void 0===t?Ve():We(t)?t:Ve().withMutations(function(e){var n=o(t);ft(n.size),n.forEach(function(t){return e.add(t)})})}function We(t){return Ue(t)&&s(t)}function He(t,e){var n=Object.create(er);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Ve(){return nr||(nr=He(ee()))}function Ke(t){return null===t||void 0===t?Qe():Ye(t)?t:Qe().unshiftAll(t)}function Ye(t){return!(!t||!t[rr])}function Ge(t,e,n,r){var o=Object.create(or);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Qe(){return ir||(ir=Ge(0))}function Je(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}function Xe(t,e){return e}function Ze(t,e){return[e,t]}function $e(t){return function(){return!t.apply(this,arguments)}}function tn(t){return function(){return-t.apply(this,arguments)}}function en(t){return"string"===typeof t?JSON.stringify(t):String(t)}function nn(){return h(arguments)}function rn(t,e){return t<e?1:t>e?-1:0}function on(t){if(t.size===1/0)return 0;var e=s(t),n=a(t),r=e?1:0;return an(t.__iterate(n?e?function(t,e){r=31*r+un(it(t),it(e))|0}:function(t,e){r=r+un(it(t),it(e))|0}:e?function(t){r=31*r+it(t)|0}:function(t){r=r+it(t)|0}),r)}function an(t,e){return e=Pn(e,3432918353),e=Pn(e<<15|e>>>-15,461845907),e=Pn(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=Pn(e^e>>>16,2246822507),e=Pn(e^e>>>13,3266489909),e=ot(e^e>>>16)}function un(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var cn=Array.prototype.slice;t(n,e),t(r,e),t(o,e),e.isIterable=i,e.isKeyed=a,e.isIndexed=u,e.isAssociative=c,e.isOrdered=s,e.Keyed=n,e.Indexed=r,e.Set=o;var sn="@@__IMMUTABLE_ITERABLE__@@",fn="@@__IMMUTABLE_KEYED__@@",ln="@@__IMMUTABLE_INDEXED__@@",pn="@@__IMMUTABLE_ORDERED__@@",hn=5,dn=1<<hn,vn=dn-1,yn={},mn={value:!1},gn={value:!1},bn=0,wn=1,_n=2,xn="function"===typeof Symbol&&Symbol.iterator,En="@@iterator",Sn=xn||En;_.prototype.toString=function(){return"[Iterator]"},_.KEYS=bn,_.VALUES=wn,_.ENTRIES=_n,_.prototype.inspect=_.prototype.toSource=function(){return this.toString()},_.prototype[Sn]=function(){return this},t(k,e),k.of=function(){return k(arguments)},k.prototype.toSeq=function(){return this},k.prototype.toString=function(){return this.__toString("Seq {","}")},k.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},k.prototype.__iterate=function(t,e){return W(this,t,e,!0)},k.prototype.__iterator=function(t,e){return H(this,t,e,!0)},t(P,k),P.prototype.toKeyedSeq=function(){return this},t(j,k),j.of=function(){return j(arguments)},j.prototype.toIndexedSeq=function(){return this},j.prototype.toString=function(){return this.__toString("Seq [","]")},j.prototype.__iterate=function(t,e){return W(this,t,e,!1)},j.prototype.__iterator=function(t,e){return H(this,t,e,!1)},t(I,k),I.of=function(){return I(arguments)},I.prototype.toSetSeq=function(){return this},k.isSeq=L,k.Keyed=P,k.Set=I,k.Indexed=j;var An="@@__IMMUTABLE_SEQ__@@";k.prototype[An]=!0,t(M,j),M.prototype.get=function(t,e){return this.has(t)?this._array[v(this,t)]:e},M.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===t(n[e?r-o:o],o,this))return o+1;return o},M.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,o=0;return new _(function(){return o>r?E():x(t,o,n[e?r-o++:o++])})},t(R,P),R.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},R.prototype.has=function(t){return this._object.hasOwnProperty(t)},R.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[e?o-i:i];if(!1===t(n[a],a,this))return i+1}return i},R.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new _(function(){var a=r[e?o-i:i];return i++>o?E():x(t,a,n[a])})},R.prototype[pn]=!0,t(N,j),N.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=O(n),o=0;if(A(r))for(var i;!(i=r.next()).done&&!1!==t(i.value,o++,this););return o},N.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=O(n);if(!A(r))return new _(E);var o=0;return new _(function(){var e=r.next();return e.done?e:x(t,o++,e.value)})},t(D,j),D.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(!1===t(r[o],o++,this))return o;for(var i;!(i=n.next()).done;){var a=i.value;if(r[o]=a,!1===t(a,o++,this))break}return o},D.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,o=0;return new _(function(){if(o>=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return x(t,o,r[o++])})};var On;t(X,j),X.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},X.prototype.get=function(t,e){return this.has(t)?this._value:e},X.prototype.includes=function(t){return Q(this._value,t)},X.prototype.slice=function(t,e){var n=this.size;return m(t,e,n)?this:new X(this._value,b(e,n)-g(t,n))},X.prototype.reverse=function(){return this},X.prototype.indexOf=function(t){return Q(this._value,t)?0:-1},X.prototype.lastIndexOf=function(t){return Q(this._value,t)?this.size:-1},X.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},X.prototype.__iterator=function(t,e){var n=this,r=0;return new _(function(){return r<n.size?x(t,r++,n._value):E()})},X.prototype.equals=function(t){return t instanceof X?Q(this._value,t._value):J(t)};var Cn;t($,j),$.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},$.prototype.get=function(t,e){return this.has(t)?this._start+v(this,t)*this._step:e},$.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},$.prototype.slice=function(t,e){return m(t,e,this.size)?this:(t=g(t,this.size),e=b(e,this.size),e<=t?new $(0,0):new $(this.get(t,this._end),this.get(e,this._end),this._step))},$.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step===0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},$.prototype.lastIndexOf=function(t){return this.indexOf(t)},$.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===t(o,i,this))return i+1;o+=e?-r:r}return i},$.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;return new _(function(){var a=o;return o+=e?-r:r,i>n?E():x(t,i++,a)})},$.prototype.equals=function(t){return t instanceof $?this._start===t._start&&this._end===t._end&&this._step===t._step:J(this,t)};var Tn;t(tt,e),t(et,tt),t(nt,tt),t(rt,tt),tt.Keyed=et,tt.Indexed=nt,tt.Set=rt;var kn,Pn="function"===typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){t|=0,e|=0;var n=65535&t,r=65535&e;return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0},jn=Object.isExtensible,In=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),Mn="function"===typeof WeakMap;Mn&&(kn=new WeakMap);var Rn=0,Nn="__immutablehash__";"function"===typeof Symbol&&(Nn=Symbol(Nn));var Dn=16,Ln=255,Un=0,Fn={};t(lt,et),lt.of=function(){var t=cn.call(arguments,0);return xt().withMutations(function(e){for(var n=0;n<t.length;n+=2){if(n+1>=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}})},lt.prototype.toString=function(){return this.__toString("Map {","}")},lt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},lt.prototype.set=function(t,e){return Et(this,t,e)},lt.prototype.setIn=function(t,e){return this.updateIn(t,yn,function(){return e})},lt.prototype.remove=function(t){return Et(this,t,yn)},lt.prototype.deleteIn=function(t){return this.updateIn(t,function(){return yn})},lt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},lt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=Rt(this,je(t),e,n);return r===yn?void 0:r},lt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):xt()},lt.prototype.merge=function(){return Pt(this,void 0,arguments)},lt.prototype.mergeWith=function(t){return Pt(this,t,cn.call(arguments,1))},lt.prototype.mergeIn=function(t){var e=cn.call(arguments,1);return this.updateIn(t,xt(),function(t){return"function"===typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},lt.prototype.mergeDeep=function(){return Pt(this,jt,arguments)},lt.prototype.mergeDeepWith=function(t){var e=cn.call(arguments,1);return Pt(this,It(t),e)},lt.prototype.mergeDeepIn=function(t){var e=cn.call(arguments,1);return this.updateIn(t,xt(),function(t){return"function"===typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]})},lt.prototype.sort=function(t){return Zt(we(this,t))},lt.prototype.sortBy=function(t,e){return Zt(we(this,e,t))},lt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},lt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new p)},lt.prototype.asImmutable=function(){return this.__ensureOwner()},lt.prototype.wasAltered=function(){return this.__altered},lt.prototype.__iterator=function(t,e){return new gt(this,t,e)},lt.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate(function(e){return r++,t(e[1],e[0],n)},e),r},lt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?_t(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},lt.isMap=pt;var Bn="@@__IMMUTABLE_MAP__@@",zn=lt.prototype;zn[Bn]=!0,zn.delete=zn.remove,zn.removeIn=zn.deleteIn,ht.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(Q(n,o[i][0]))return o[i][1];return r},ht.prototype.update=function(t,e,n,r,o,i,a){for(var u=o===yn,c=this.entries,s=0,f=c.length;s<f&&!Q(r,c[s][0]);s++);var p=s<f;if(p?c[s][1]===o:u)return this;if(l(a),(u||!p)&&l(i),!u||1!==c.length){if(!p&&!u&&c.length>=Wn)return Ct(t,c,r,o);var d=t&&t===this.ownerID,v=d?c:h(c);return p?u?s===f-1?v.pop():v[s]=v.pop():v[s]=[r,o]:v.push([r,o]),d?(this.entries=v,this):new ht(t,v)}},dt.prototype.get=function(t,e,n,r){void 0===e&&(e=it(n));var o=1<<((0===t?e:e>>>t)&vn),i=this.bitmap;return 0===(i&o)?r:this.nodes[Nt(i&o-1)].get(t+hn,e,n,r)},dt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var u=(0===e?n:n>>>e)&vn,c=1<<u,s=this.bitmap,f=0!==(s&c);if(!f&&o===yn)return this;var l=Nt(s&c-1),p=this.nodes,h=f?p[l]:void 0,d=St(h,t,e+hn,n,r,o,i,a);if(d===h)return this;if(!f&&d&&p.length>=Hn)return kt(t,p,s,u,d);if(f&&!d&&2===p.length&&At(p[1^l]))return p[1^l];if(f&&d&&1===p.length&&At(d))return d;var v=t&&t===this.ownerID,y=f?d?s:s^c:s|c,m=f?d?Dt(p,l,d,v):Ut(p,l,v):Lt(p,l,d,v);return v?(this.bitmap=y,this.nodes=m,this):new dt(t,y,m)},vt.prototype.get=function(t,e,n,r){void 0===e&&(e=it(n));var o=(0===t?e:e>>>t)&vn,i=this.nodes[o];return i?i.get(t+hn,e,n,r):r},vt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var u=(0===e?n:n>>>e)&vn,c=o===yn,s=this.nodes,f=s[u];if(c&&!f)return this;var l=St(f,t,e+hn,n,r,o,i,a);if(l===f)return this;var p=this.count;if(f){if(!l&&--p<Vn)return Tt(t,s,p,u)}else p++;var h=t&&t===this.ownerID,d=Dt(s,u,l,h);return h?(this.count=p,this.nodes=d,this):new vt(t,p,d)},yt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(Q(n,o[i][0]))return o[i][1];return r},yt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var u=o===yn;if(n!==this.keyHash)return u?this:(l(a),l(i),Ot(this,t,e,n,[r,o]));for(var c=this.entries,s=0,f=c.length;s<f&&!Q(r,c[s][0]);s++);var p=s<f;if(p?c[s][1]===o:u)return this;if(l(a),(u||!p)&&l(i),u&&2===f)return new mt(t,this.keyHash,c[1^s]);var d=t&&t===this.ownerID,v=d?c:h(c);return p?u?s===f-1?v.pop():v[s]=v.pop():v[s]=[r,o]:v.push([r,o]),d?(this.entries=v,this):new yt(t,this.keyHash,v)},mt.prototype.get=function(t,e,n,r){return Q(n,this.entry[0])?this.entry[1]:r},mt.prototype.update=function(t,e,n,r,o,i,a){var u=o===yn,c=Q(r,this.entry[0]);return(c?o===this.entry[1]:u)?this:(l(a),u?void l(i):c?t&&t===this.ownerID?(this.entry[1]=o,this):new mt(t,this.keyHash,[r,o]):(l(i),Ot(this,t,e,it(r),[r,o])))},ht.prototype.iterate=yt.prototype.iterate=function(t,e){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===t(n[e?o-r:r]))return!1},dt.prototype.iterate=vt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[e?o-r:r];if(i&&!1===i.iterate(t,e))return!1}},mt.prototype.iterate=function(t,e){return t(this.entry)},t(gt,_),gt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,o=e.index++;if(r.entry){if(0===o)return bt(t,r.entry)}else if(r.entries){if(n=r.entries.length-1,o<=n)return bt(t,r.entries[this._reverse?n-o:o])}else if(n=r.nodes.length-1,o<=n){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return bt(t,i.entry);e=this._stack=wt(i,e)}continue}e=this._stack=this._stack.__prev}return E()};var qn,Wn=dn/4,Hn=dn/2,Vn=dn/4;t(Ft,nt),Ft.of=function(){return this(arguments)},Ft.prototype.toString=function(){return this.__toString("List [","]")},Ft.prototype.get=function(t,e){if((t=v(this,t))>=0&&t<this.size){t+=this._origin;var n=Gt(this,t);return n&&n.array[t&vn]}return e},Ft.prototype.set=function(t,e){return Vt(this,t,e)},Ft.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},Ft.prototype.insert=function(t,e){return this.splice(t,0,e)},Ft.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=hn,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Ht()},Ft.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations(function(n){Qt(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])})},Ft.prototype.pop=function(){return Qt(this,0,-1)},Ft.prototype.unshift=function(){var t=arguments;return this.withMutations(function(e){Qt(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])})},Ft.prototype.shift=function(){return Qt(this,1)},Ft.prototype.merge=function(){return Jt(this,void 0,arguments)},Ft.prototype.mergeWith=function(t){return Jt(this,t,cn.call(arguments,1))},Ft.prototype.mergeDeep=function(){return Jt(this,jt,arguments)},Ft.prototype.mergeDeepWith=function(t){var e=cn.call(arguments,1);return Jt(this,It(t),e)},Ft.prototype.setSize=function(t){return Qt(this,0,t)},Ft.prototype.slice=function(t,e){var n=this.size;return m(t,e,n)?this:Qt(this,g(t,n),b(e,n))},Ft.prototype.__iterator=function(t,e){var n=0,r=qt(this,e);return new _(function(){var e=r();return e===Qn?E():x(t,n++,e)})},Ft.prototype.__iterate=function(t,e){for(var n,r=0,o=qt(this,e);(n=o())!==Qn&&!1!==t(n,r++,this););return r},Ft.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Wt(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},Ft.isList=Bt;var Kn="@@__IMMUTABLE_LIST__@@",Yn=Ft.prototype;Yn[Kn]=!0,Yn.delete=Yn.remove,Yn.setIn=zn.setIn,Yn.deleteIn=Yn.removeIn=zn.removeIn,Yn.update=zn.update,Yn.updateIn=zn.updateIn,Yn.mergeIn=zn.mergeIn,Yn.mergeDeepIn=zn.mergeDeepIn,Yn.withMutations=zn.withMutations,Yn.asMutable=zn.asMutable,Yn.asImmutable=zn.asImmutable,Yn.wasAltered=zn.wasAltered,zt.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&vn;if(r>=this.array.length)return new zt([],t);var o,i=0===r;if(e>0){var a=this.array[r];if((o=a&&a.removeBefore(t,e-hn,n))===a&&i)return this}if(i&&!o)return this;var u=Yt(this,t);if(!i)for(var c=0;c<r;c++)u.array[c]=void 0;return o&&(u.array[r]=o),u},zt.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r=n-1>>>e&vn;if(r>=this.array.length)return this;var o;if(e>0){var i=this.array[r];if((o=i&&i.removeAfter(t,e-hn,n))===i&&r===this.array.length-1)return this}var a=Yt(this,t);return a.array.splice(r+1),o&&(a.array[r]=o),a};var Gn,Qn={};t(Zt,lt),Zt.of=function(){return this(arguments)},Zt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Zt.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Zt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ee()},Zt.prototype.set=function(t,e){return ne(this,t,e)},Zt.prototype.remove=function(t){return ne(this,t,yn)},Zt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Zt.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},Zt.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Zt.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?te(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Zt.isOrderedMap=$t,Zt.prototype[pn]=!0,Zt.prototype.delete=Zt.prototype.remove;var Jn;t(re,P),re.prototype.get=function(t,e){return this._iter.get(t,e)},re.prototype.has=function(t){return this._iter.has(t)},re.prototype.valueSeq=function(){return this._iter.valueSeq()},re.prototype.reverse=function(){var t=this,e=se(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},re.prototype.map=function(t,e){var n=this,r=ce(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},re.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?Oe(this):0,function(o){return t(o,e?--n:n++,r)}),e)},re.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(wn,e),r=e?Oe(this):0;return new _(function(){var o=n.next();return o.done?o:x(t,e?--r:r++,o.value,o)})},re.prototype[pn]=!0,t(oe,j),oe.prototype.includes=function(t){return this._iter.includes(t)},oe.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},oe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(wn,e),r=0;return new _(function(){var e=n.next();return e.done?e:x(t,r++,e.value,e)})},t(ie,I),ie.prototype.has=function(t){return this._iter.includes(t)},ie.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},ie.prototype.__iterator=function(t,e){var n=this._iter.__iterator(wn,e);return new _(function(){var e=n.next();return e.done?e:x(t,e.value,e.value,e)})},t(ae,P),ae.prototype.entrySeq=function(){return this._iter.toSeq()},ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){Ae(e);var r=i(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(wn,e);return new _(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ae(r);var o=i(r);return x(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}})},oe.prototype.cacheResult=re.prototype.cacheResult=ie.prototype.cacheResult=ae.prototype.cacheResult=ke,t(Ie,et),Ie.prototype.toString=function(){return this.__toString(Re(this)+" {","}")},Ie.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},Ie.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},Ie.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Me(this,xt()))},Ie.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Re(this));if(this._map&&!this._map.has(t)){if(e===this._defaultValues[t])return this}var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:Me(this,n)},Ie.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:Me(this,e)},Ie.prototype.wasAltered=function(){return this._map.wasAltered()},Ie.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterator(t,e)},Ie.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterate(t,e)},Ie.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Me(this,e,t):(this.__ownerID=t,this._map=e,this)};var Xn=Ie.prototype;Xn.delete=Xn.remove,Xn.deleteIn=Xn.removeIn=zn.removeIn,Xn.merge=zn.merge,Xn.mergeWith=zn.mergeWith,Xn.mergeIn=zn.mergeIn,Xn.mergeDeep=zn.mergeDeep,Xn.mergeDeepWith=zn.mergeDeepWith,Xn.mergeDeepIn=zn.mergeDeepIn,Xn.setIn=zn.setIn,Xn.update=zn.update,Xn.updateIn=zn.updateIn,Xn.withMutations=zn.withMutations,Xn.asMutable=zn.asMutable,Xn.asImmutable=zn.asImmutable,t(Le,rt),Le.of=function(){return this(arguments)},Le.fromKeys=function(t){return this(n(t).keySeq())},Le.prototype.toString=function(){return this.__toString("Set {","}")},Le.prototype.has=function(t){return this._map.has(t)},Le.prototype.add=function(t){return Fe(this,this._map.set(t,!0))},Le.prototype.remove=function(t){return Fe(this,this._map.remove(t))},Le.prototype.clear=function(){return Fe(this,this._map.clear())},Le.prototype.union=function(){var t=cn.call(arguments,0);return t=t.filter(function(t){return 0!==t.size}),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach(function(t){return e.add(t)})}):this.constructor(t[0])},Le.prototype.intersect=function(){var t=cn.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return o(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.every(function(t){return t.includes(e)})||n.remove(e)})})},Le.prototype.subtract=function(){var t=cn.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return o(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.some(function(t){return t.includes(e)})&&n.remove(e)})})},Le.prototype.merge=function(){return this.union.apply(this,arguments)},Le.prototype.mergeWith=function(t){var e=cn.call(arguments,1);return this.union.apply(this,e)},Le.prototype.sort=function(t){return qe(we(this,t))},Le.prototype.sortBy=function(t,e){return qe(we(this,e,t))},Le.prototype.wasAltered=function(){return this._map.wasAltered()},Le.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate(function(e,r){return t(r,r,n)},e)},Le.prototype.__iterator=function(t,e){return this._map.map(function(t,e){return e}).__iterator(t,e)},Le.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},Le.isSet=Ue;var Zn="@@__IMMUTABLE_SET__@@",$n=Le.prototype;$n[Zn]=!0,$n.delete=$n.remove,$n.mergeDeep=$n.merge,$n.mergeDeepWith=$n.mergeWith,$n.withMutations=zn.withMutations,$n.asMutable=zn.asMutable,$n.asImmutable=zn.asImmutable,$n.__empty=ze,$n.__make=Be;var tr;t(qe,Le),qe.of=function(){return this(arguments)},qe.fromKeys=function(t){return this(n(t).keySeq())},qe.prototype.toString=function(){return this.__toString("OrderedSet {","}")},qe.isOrderedSet=We;var er=qe.prototype;er[pn]=!0,er.__empty=Ve,er.__make=He;var nr;t(Ke,nt),Ke.of=function(){return this(arguments)},Ke.prototype.toString=function(){return this.__toString("Stack [","]")},Ke.prototype.get=function(t,e){var n=this._head;for(t=v(this,t);n&&t--;)n=n.next;return n?n.value:e},Ke.prototype.peek=function(){return this._head&&this._head.value},Ke.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Ge(t,e)},Ke.prototype.pushAll=function(t){if(t=r(t),0===t.size)return this;ft(t.size);var e=this.size,n=this._head;return t.reverse().forEach(function(t){e++,n={value:t,next:n}}),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Ge(e,n)},Ke.prototype.pop=function(){return this.slice(1)},Ke.prototype.unshift=function(){return this.push.apply(this,arguments)},Ke.prototype.unshiftAll=function(t){return this.pushAll(t)},Ke.prototype.shift=function(){return this.pop.apply(this,arguments)},Ke.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Qe()},Ke.prototype.slice=function(t,e){if(m(t,e,this.size))return this;var n=g(t,this.size);if(b(e,this.size)!==this.size)return nt.prototype.slice.call(this,t,e);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Ge(r,o)},Ke.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ge(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Ke.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},Ke.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new _(function(){if(r){var e=r.value;return r=r.next,x(t,n++,e)}return E()})},Ke.isStack=Ye;var rr="@@__IMMUTABLE_STACK__@@",or=Ke.prototype;or[rr]=!0,or.withMutations=zn.withMutations,or.asMutable=zn.asMutable,or.asImmutable=zn.asImmutable,or.wasAltered=zn.wasAltered;var ir;e.Iterator=_,Je(e,{toArray:function(){ft(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new oe(this)},toJS:function(){return this.toSeq().map(function(t){return t&&"function"===typeof t.toJS?t.toJS():t}).__toJS()},toJSON:function(){return this.toSeq().map(function(t){return t&&"function"===typeof t.toJSON?t.toJSON():t}).__toJS()},toKeyedSeq:function(){return new re(this,!0)},toMap:function(){return lt(this.toKeyedSeq())},toObject:function(){ft(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return Zt(this.toKeyedSeq())},toOrderedSet:function(){return qe(a(this)?this.valueSeq():this)},toSet:function(){return Le(a(this)?this.valueSeq():this)},toSetSeq:function(){return new ie(this)},toSeq:function(){return u(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Ke(a(this)?this.valueSeq():this)},toList:function(){return Ft(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return Se(this,ye(this,cn.call(arguments,0)))},includes:function(t){return this.some(function(e){return Q(e,t)})},entries:function(){return this.__iterator(_n)},every:function(t,e){ft(this.size);var n=!0;return this.__iterate(function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1}),n},filter:function(t,e){return Se(this,fe(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},forEach:function(t,e){return ft(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){ft(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!==r&&void 0!==r?r.toString():""}),e},keys:function(){return this.__iterator(bn)},map:function(t,e){return Se(this,ce(this,t,e))},reduce:function(t,e,n){ft(this.size);var r,o;return arguments.length<2?o=!0:r=e,this.__iterate(function(e,i,a){o?(o=!1,r=e):r=t.call(n,r,e,i,a)}),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Se(this,se(this,!0))},slice:function(t,e){return Se(this,he(this,t,e,!0))},some:function(t,e){return!this.every($e(t),e)},sort:function(t){return Se(this,we(this,t))},values:function(){return this.__iterator(wn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(t,e){return d(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return le(this,t,e)},equals:function(t){return J(this,t)},entrySeq:function(){var t=this;if(t._cache)return new M(t._cache);var e=t.toSeq().map(Ze).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter($e(t),e)},findEntry:function(t,e,n){var r=n;return this.__iterate(function(n,o,i){if(t.call(e,n,o,i))return r=[o,n],!1}),r},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},findLastEntry:function(t,e,n){return this.toKeyedSeq().reverse().findEntry(t,e,n)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(){return this.find(y)},flatMap:function(t,e){return Se(this,ge(this,t,e))},flatten:function(t){return Se(this,me(this,t,!0))},fromEntrySeq:function(){return new ae(this)},get:function(t,e){return this.find(function(e,n){return Q(n,t)},void 0,e)},getIn:function(t,e){for(var n,r=this,o=je(t);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,yn):yn)===yn)return e}return r},groupBy:function(t,e){return pe(this,t,e)},has:function(t){return this.get(t,yn)!==yn},hasIn:function(t){return this.getIn(t,yn)!==yn},isSubset:function(t){return t="function"===typeof t.includes?t:e(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return t="function"===typeof t.isSubset?t:e(t),t.isSubset(this)},keyOf:function(t){return this.findKey(function(e){return Q(e,t)})},keySeq:function(){return this.toSeq().map(Xe).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return _e(this,t)},maxBy:function(t,e){return _e(this,e,t)},min:function(t){return _e(this,t?tn(t):rn)},minBy:function(t,e){return _e(this,e?tn(e):rn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Se(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Se(this,ve(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile($e(t),e)},sortBy:function(t,e){return Se(this,we(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Se(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Se(this,de(this,t,e))},takeUntil:function(t,e){return this.takeWhile($e(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var ar=e.prototype;ar[sn]=!0,ar[Sn]=ar.values,ar.__toJS=ar.toArray,ar.__toStringMapper=en,ar.inspect=ar.toSource=function(){return this.toString()},ar.chain=ar.flatMap,ar.contains=ar.includes,Je(n,{flip:function(){return Se(this,ue(this))},mapEntries:function(t,e){var n=this,r=0;return Se(this,this.toSeq().map(function(o,i){return t.call(e,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Se(this,this.toSeq().flip().map(function(r,o){return t.call(e,r,o,n)}).flip())}});var ur=n.prototype;return ur[fn]=!0,ur[Sn]=ar.entries,ur.__toJS=ar.toObject,ur.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+en(t)},Je(r,{toKeyedSeq:function(){return new re(this,!1)},filter:function(t,e){return Se(this,fe(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Se(this,se(this,!1))},slice:function(t,e){return Se(this,he(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=g(t,t<0?this.count():this.size);var r=this.slice(0,t);return Se(this,1===n?r:r.concat(h(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(t){return Se(this,me(this,t,!1))},get:function(t,e){return t=v(this,t),t<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find(function(e,n){return n===t},void 0,e)},has:function(t){return(t=v(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Se(this,be(this,t))},interleave:function(){var t=[this].concat(h(arguments)),e=Ee(this.toSeq(),j.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Se(this,n)},keySeq:function(){return $(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Se(this,ve(this,t,e,!1))},zip:function(){return Se(this,Ee(this,nn,[this].concat(h(arguments))))},zipWith:function(t){var e=h(arguments);return e[0]=this,Se(this,Ee(this,t,e))}}),r.prototype[ln]=!0,r.prototype[pn]=!0,Je(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=ar.includes,o.prototype.contains=o.prototype.includes,Je(P,n.prototype),Je(j,r.prototype),Je(I,o.prototype),Je(et,n.prototype),Je(nt,r.prototype),Je(rt,o.prototype),{Iterable:e,Seq:k,Collection:tt,Map:lt,OrderedMap:Zt,List:Ft,Stack:Ke,Set:Le,OrderedSet:qe,Record:Ie,Range:$,Repeat:X,is:Q,fromJS:V}})},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"===typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(25);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(25),o=n(6)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,n){"use strict";e.__esModule=!0;var r=(e.addLeadingSlash=function(t){return"/"===t.charAt(0)?t:"/"+t},e.stripLeadingSlash=function(t){return"/"===t.charAt(0)?t.substr(1):t},e.hasBasename=function(t,e){return new RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)});e.stripBasename=function(t,e){return r(t,e)?t.substr(e.length):t},e.stripTrailingSlash=function(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t},e.parsePath=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var i=e.indexOf("?");return-1!==i&&(n=e.substr(i),e=e.substr(0,i)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}},e.createPath=function(t){var e=t.pathname,n=t.search,r=t.hash,o=e||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"f",function(){return o}),n.d(e,"c",function(){return i}),n.d(e,"e",function(){return a}),n.d(e,"g",function(){return u}),n.d(e,"d",function(){return c}),n.d(e,"b",function(){return s});var r=function(t){return"/"===t.charAt(0)?t:"/"+t},o=function(t){return"/"===t.charAt(0)?t.substr(1):t},i=function(t,e){return new RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)},a=function(t,e){return i(t,e)?t.substr(e.length):t},u=function(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t},c=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var i=e.indexOf("?");return-1!==i&&(n=e.substr(i),e=e.substr(0,i)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}},s=function(t){var e=t.pathname,n=t.search,r=t.hash,o=e||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}},function(t,e,n){t.exports=n(433)},function(t,e,n){var r=n(23),o=n(2),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(35)?"pure":"global",copyright:"\xa9 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(18),o=n(10),i=n(40);t.exports=function(t){return function(e,n,a){var u,c=r(e),s=o(c.length),f=i(a,s);if(t&&n!=n){for(;s>f;)if((u=c[f++])!=u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===n)return t||f||0;return!t&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(25);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(4),o=n(25),i=n(6)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(6)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(1);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var r=n(14),o=n(15),i=n(3),a=n(28),u=n(6);t.exports=function(t,e,n){var c=u(t),s=n(a,c,""[t]),f=s[0],l=s[1];i(function(){var e={};return e[c]=function(){return 7},7!=""[t](e)})&&(o(String.prototype,t,f),r(RegExp.prototype,c,2==e?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)}))}},function(t,e,n){var r=n(1),o=n(13),i=n(6)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[i])?e:o(n)}},function(t,e,n){var r=n(2),o=r.navigator;t.exports=o&&o.userAgent||""},function(t,e,n){"use strict";var r=n(2),o=n(0),i=n(15),a=n(46),u=n(34),c=n(45),s=n(44),f=n(4),l=n(3),p=n(64),h=n(47),d=n(83);t.exports=function(t,e,n,v,y,m){var g=r[t],b=g,w=y?"set":"add",_=b&&b.prototype,x={},E=function(t){var e=_[t];i(_,t,"delete"==t?function(t){return!(m&&!f(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(m&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return m&&!f(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(m||_.forEach&&!l(function(){(new b).entries().next()}))){var S=new b,A=S[w](m?{}:-0,1)!=S,O=l(function(){S.has(1)}),C=p(function(t){new b(t)}),T=!m&&l(function(){for(var t=new b,e=5;e--;)t[w](e,e);return!t.has(-0)});C||(b=e(function(e,n){s(e,b,t);var r=d(new g,e,b);return void 0!=n&&c(n,y,r[w],r),r}),b.prototype=_,_.constructor=b),(O||T)&&(E("delete"),E("has"),y&&E("get")),(T||A)&&E(w),m&&_.clear&&delete _.clear}else b=v.getConstructor(e,t,y,w),a(b.prototype,n),u.NEED=!0;return h(b,t),x[t]=b,o(o.G+o.W+o.F*(b!=g),x),m||v.setStrong(b,t,y),b}},function(t,e,n){for(var r,o
gitextract_fgp6y9zy/
├── .babelrc
├── .gitignore
├── LICENSE
├── README.md
├── bin/
│ └── react-scripts
├── config/
│ ├── env.js
│ ├── jest/
│ │ ├── babelTransform.js
│ │ ├── cssTransform.js
│ │ └── fileTransform.js
│ ├── paths.js
│ ├── polyfills.js
│ ├── webpack.config.dev.js
│ ├── webpack.config.prod.js
│ └── webpackDevServer.config.js
├── package.json
├── public/
│ ├── index.html
│ └── manifest.json
├── pxq/
│ ├── asset-manifest.json
│ ├── index.html
│ ├── manifest.json
│ ├── service-worker.js
│ └── static/
│ ├── css/
│ │ └── main.fc2ff5ec.css
│ └── js/
│ ├── 0.c353ab85.chunk.js
│ ├── 1.af913d75.chunk.js
│ ├── 2.a96eb65f.chunk.js
│ ├── 3.ff2875c3.chunk.js
│ └── main.83dc4a4d.js
├── scripts/
│ ├── build.js
│ ├── eject.js
│ ├── init.js
│ ├── start.js
│ ├── test.js
│ └── utils/
│ └── createJestConfig.js
└── src/
├── api/
│ ├── api.js
│ └── server.js
├── assets/
│ └── iconfonts/
│ └── iconfont.css
├── components/
│ ├── TouchableOpacity/
│ │ ├── TouchableOpacity.jsx
│ │ └── TouchableOpacity.less
│ ├── alert/
│ │ ├── alert.jsx
│ │ └── alert.less
│ └── header/
│ ├── header.jsx
│ └── header.less
├── envconfig/
│ └── envconfig.js
├── index.js
├── pages/
│ ├── balance/
│ │ ├── balance.jsx
│ │ └── balance.less
│ ├── helpcenter/
│ │ ├── helpcenter.jsx
│ │ └── helpcenter.less
│ ├── home/
│ │ ├── home.jsx
│ │ └── home.less
│ ├── production/
│ │ ├── production.jsx
│ │ └── production.less
│ └── record/
│ ├── components/
│ │ ├── recordList.jsx
│ │ └── recordList.less
│ ├── record.jsx
│ └── record.less
├── registerServiceWorker.js
├── router/
│ └── index.js
├── store/
│ ├── home/
│ │ ├── action-type.js
│ │ ├── action.js
│ │ └── reducer.js
│ ├── production/
│ │ ├── action-type.js
│ │ ├── action.js
│ │ └── reducer.js
│ └── store.js
├── style/
│ ├── base.css
│ └── mixin.less
└── utils/
├── asyncComponent.jsx
├── mixin.js
└── setRem.js
SYMBOL INDEX (810 symbols across 33 files)
FILE: config/env.js
constant NODE_ENV (line 18) | const NODE_ENV = process.env.NODE_ENV;
constant REACT_APP (line 66) | const REACT_APP = /^REACT_APP_/i;
function getClientEnvironment (line 68) | function getClientEnvironment(publicUrl) {
FILE: config/jest/cssTransform.js
method process (line 15) | process() {
method getCacheKey (line 18) | getCacheKey() {
FILE: config/jest/fileTransform.js
method process (line 17) | process(src, filename) {
FILE: config/paths.js
function ensureSlash (line 23) | function ensureSlash(path, needsSlash) {
function getServedPath (line 43) | function getServedPath(appPackageJson) {
FILE: config/webpack.config.dev.js
function resolve (line 24) | function resolve (dir) {
FILE: config/webpack.config.prod.js
function resolve (line 25) | function resolve (dir) {
method logger (line 340) | logger(message) {
FILE: config/webpackDevServer.config.js
method before (line 97) | before(app) {
FILE: pxq/service-worker.js
function setOfCachedUrls (line 1) | function setOfCachedUrls(e){return e.keys().then(function(e){return e.ma...
FILE: pxq/static/js/0.c353ab85.chunk.js
function r (line 1) | function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function o (line 1) | function o(e,t){if(!e)throw new ReferenceError("this hasn't been initial...
function a (line 1) | function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("...
function e (line 1) | function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.en...
function t (line 1) | function t(){var e,n,a,c;r(this,t);for(var i=arguments.length,s=Array(i)...
function r (line 1) | function r(e){return function(){var t=e.apply(this,arguments);return new...
function o (line 1) | function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function a (line 1) | function a(e,t){if(!e)throw new ReferenceError("this hasn't been initial...
function c (line 1) | function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("...
function e (line 1) | function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.en...
function t (line 1) | function t(){var e,n,c,i,l=this;o(this,t);for(var A=arguments.length,m=A...
FILE: pxq/static/js/1.af913d75.chunk.js
function o (line 1) | function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function r (line 1) | function r(e,t){if(!e)throw new ReferenceError("this hasn't been initial...
function i (line 1) | function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("...
function e (line 1) | function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.en...
function t (line 1) | function t(){var e,n,i,l;o(this,t);for(var s=arguments.length,c=Array(s)...
FILE: pxq/static/js/2.a96eb65f.chunk.js
function r (line 1) | function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function o (line 1) | function o(e,t){if(!e)throw new ReferenceError("this hasn't been initial...
function a (line 1) | function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("...
function e (line 1) | function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.en...
function t (line 1) | function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf...
FILE: pxq/static/js/3.ff2875c3.chunk.js
function r (line 1) | function r(e){return function(){var t=e.apply(this,arguments);return new...
function o (line 1) | function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function a (line 1) | function a(e,t){if(!e)throw new ReferenceError("this hasn't been initial...
function i (line 1) | function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("...
function e (line 1) | function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.en...
function t (line 1) | function t(){var e,n,i,c,s=this;o(this,t);for(var A=arguments.length,m=A...
FILE: pxq/static/js/main.83dc4a4d.js
function e (line 1) | function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{...
function n (line 1) | function n(){u.onerror=u.onload=null,clearTimeout(c);var e=o[t];0!==e&&(...
function r (line 1) | function r(t){return"[object Array]"===S.call(t)}
function o (line 1) | function o(t){return"[object ArrayBuffer]"===S.call(t)}
function i (line 1) | function i(t){return"undefined"!==typeof FormData&&t instanceof FormData}
function a (line 1) | function a(t){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView...
function u (line 1) | function u(t){return"string"===typeof t}
function c (line 1) | function c(t){return"number"===typeof t}
function s (line 1) | function s(t){return"undefined"===typeof t}
function f (line 1) | function f(t){return null!==t&&"object"===typeof t}
function l (line 1) | function l(t){return"[object Date]"===S.call(t)}
function p (line 1) | function p(t){return"[object File]"===S.call(t)}
function h (line 1) | function h(t){return"[object Blob]"===S.call(t)}
function d (line 1) | function d(t){return"[object Function]"===S.call(t)}
function v (line 1) | function v(t){return f(t)&&d(t.pipe)}
function y (line 1) | function y(t){return"undefined"!==typeof URLSearchParams&&t instanceof U...
function m (line 1) | function m(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}
function g (line 1) | function g(){return("undefined"===typeof navigator||"ReactNative"!==navi...
function b (line 1) | function b(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof...
function w (line 1) | function w(){function t(t,n){"object"===typeof e[n]&&"object"===typeof t...
function _ (line 1) | function _(t,e,n){return b(e,function(e,r){t[r]=n&&"function"===typeof e...
function t (line 1) | function t(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype....
function e (line 1) | function e(t){return i(t)?t:k(t)}
function n (line 1) | function n(t){return a(t)?t:P(t)}
function r (line 1) | function r(t){return u(t)?t:j(t)}
function o (line 1) | function o(t){return i(t)&&!c(t)?t:I(t)}
function i (line 1) | function i(t){return!(!t||!t[sn])}
function a (line 1) | function a(t){return!(!t||!t[fn])}
function u (line 1) | function u(t){return!(!t||!t[ln])}
function c (line 1) | function c(t){return a(t)||u(t)}
function s (line 1) | function s(t){return!(!t||!t[pn])}
function f (line 1) | function f(t){return t.value=!1,t}
function l (line 1) | function l(t){t&&(t.value=!0)}
function p (line 1) | function p(){}
function h (line 1) | function h(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o...
function d (line 1) | function d(t){return void 0===t.size&&(t.size=t.__iterate(y)),t.size}
function v (line 1) | function v(t,e){if("number"!==typeof e){var n=e>>>0;if(""+n!==e||4294967...
function y (line 1) | function y(){return!0}
function m (line 1) | function m(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!...
function g (line 1) | function g(t,e){return w(t,e,0)}
function b (line 1) | function b(t,e){return w(t,e,e)}
function w (line 1) | function w(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:M...
function _ (line 1) | function _(t){this.next=t}
function x (line 1) | function x(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={va...
function E (line 1) | function E(){return{value:void 0,done:!0}}
function S (line 1) | function S(t){return!!C(t)}
function A (line 1) | function A(t){return t&&"function"===typeof t.next}
function O (line 1) | function O(t){var e=C(t);return e&&e.call(t)}
function C (line 1) | function C(t){var e=t&&(xn&&t[xn]||t[En]);if("function"===typeof e)retur...
function T (line 1) | function T(t){return t&&"number"===typeof t.length}
function k (line 1) | function k(t){return null===t||void 0===t?U():i(t)?t.toSeq():z(t)}
function P (line 1) | function P(t){return null===t||void 0===t?U().toKeyedSeq():i(t)?a(t)?t.t...
function j (line 1) | function j(t){return null===t||void 0===t?U():i(t)?a(t)?t.entrySeq():t.t...
function I (line 1) | function I(t){return(null===t||void 0===t?U():i(t)?a(t)?t.entrySeq():t:B...
function M (line 1) | function M(t){this._array=t,this.size=t.length}
function R (line 1) | function R(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size...
function N (line 1) | function N(t){this._iterable=t,this.size=t.length||t.size}
function D (line 1) | function D(t){this._iterator=t,this._iteratorCache=[]}
function L (line 1) | function L(t){return!(!t||!t[An])}
function U (line 1) | function U(){return On||(On=new M([]))}
function F (line 1) | function F(t){var e=Array.isArray(t)?new M(t).fromEntrySeq():A(t)?new D(...
function B (line 1) | function B(t){var e=q(t);if(!e)throw new TypeError("Expected Array or it...
function z (line 1) | function z(t){var e=q(t)||"object"===typeof t&&new R(t);if(!e)throw new ...
function q (line 1) | function q(t){return T(t)?new M(t):A(t)?new D(t):S(t)?new N(t):void 0}
function W (line 1) | function W(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a...
function H (line 1) | function H(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new...
function V (line 1) | function V(t,e){return e?K(e,t,"",{"":t}):Y(t)}
function K (line 1) | function K(t,e,n,r){return Array.isArray(e)?t.call(r,n,j(e).map(function...
function Y (line 1) | function Y(t){return Array.isArray(t)?j(t).map(Y).toList():G(t)?P(t).map...
function G (line 1) | function G(t){return t&&(t.constructor===Object||void 0===t.constructor)}
function Q (line 1) | function Q(t,e){if(t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1;if("f...
function J (line 1) | function J(t,e){if(t===e)return!0;if(!i(e)||void 0!==t.size&&void 0!==e....
function X (line 1) | function X(t,e){if(!(this instanceof X))return new X(t,e);if(this._value...
function Z (line 1) | function Z(t,e){if(!t)throw new Error(e)}
function $ (line 1) | function $(t,e,n){if(!(this instanceof $))return new $(t,e,n);if(Z(0!==n...
function tt (line 1) | function tt(){throw TypeError("Abstract")}
function et (line 1) | function et(){}
function nt (line 1) | function nt(){}
function rt (line 1) | function rt(){}
function ot (line 1) | function ot(t){return t>>>1&1073741824|3221225471&t}
function it (line 1) | function it(t){if(!1===t||null===t||void 0===t)return 0;if("function"===...
function at (line 1) | function at(t){var e=Fn[t];return void 0===e&&(e=ut(t),Un===Ln&&(Un=0,Fn...
function ut (line 1) | function ut(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;r...
function ct (line 1) | function ct(t){var e;if(Mn&&void 0!==(e=kn.get(t)))return e;if(void 0!==...
function st (line 1) | function st(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uni...
function ft (line 1) | function ft(t){Z(t!==1/0,"Cannot perform this action with an infinite si...
function lt (line 1) | function lt(t){return null===t||void 0===t?xt():pt(t)&&!s(t)?t:xt().with...
function pt (line 1) | function pt(t){return!(!t||!t[Bn])}
function ht (line 1) | function ht(t,e){this.ownerID=t,this.entries=e}
function dt (line 1) | function dt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}
function vt (line 1) | function vt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}
function yt (line 1) | function yt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}
function mt (line 1) | function mt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}
function gt (line 1) | function gt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&wt(...
function bt (line 1) | function bt(t,e){return x(t,e[0],e[1])}
function wt (line 1) | function wt(t,e){return{node:t,index:0,__prev:e}}
function _t (line 1) | function _t(t,e,n,r){var o=Object.create(zn);return o.size=t,o._root=e,o...
function xt (line 1) | function xt(){return qn||(qn=_t(0))}
function Et (line 1) | function Et(t,e,n){var r,o;if(t._root){var i=f(mn),a=f(gn);if(r=St(t._ro...
function St (line 1) | function St(t,e,n,r,o,i,a,u){return t?t.update(e,n,r,o,i,a,u):i===yn?t:(...
function At (line 1) | function At(t){return t.constructor===mt||t.constructor===yt}
function Ot (line 1) | function Ot(t,e,n,r,o){if(t.keyHash===r)return new yt(e,r,[t.entry,o]);v...
function Ct (line 1) | function Ct(t,e,n,r){t||(t=new p);for(var o=new mt(t,it(n),[n,r]),i=0;i<...
function Tt (line 1) | function Tt(t,e,n,r){for(var o=0,i=0,a=new Array(n),u=0,c=1,s=e.length;u...
function kt (line 1) | function kt(t,e,n,r,o){for(var i=0,a=new Array(dn),u=0;0!==n;u++,n>>>=1)...
function Pt (line 1) | function Pt(t,e,r){for(var o=[],a=0;a<r.length;a++){var u=r[a],c=n(u);i(...
function jt (line 1) | function jt(t,e,n){return t&&t.mergeDeep&&i(e)?t.mergeDeep(e):Q(t,e)?t:e}
function It (line 1) | function It(t){return function(e,n,r){if(e&&e.mergeDeepWith&&i(n))return...
function Mt (line 1) | function Mt(t,e,n){return n=n.filter(function(t){return 0!==t.size}),0==...
function Rt (line 1) | function Rt(t,e,n,r){var o=t===yn,i=e.next();if(i.done){var a=o?n:t,u=r(...
function Nt (line 1) | function Nt(t){return t-=t>>1&1431655765,t=(858993459&t)+(t>>2&858993459...
function Dt (line 1) | function Dt(t,e,n,r){var o=r?t:h(t);return o[e]=n,o}
function Lt (line 1) | function Lt(t,e,n,r){var o=t.length+1;if(r&&e+1===o)return t[e]=n,t;for(...
function Ut (line 1) | function Ut(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var...
function Ft (line 1) | function Ft(t){var e=Ht();if(null===t||void 0===t)return e;if(Bt(t))retu...
function Bt (line 1) | function Bt(t){return!(!t||!t[Kn])}
function zt (line 1) | function zt(t,e){this.array=t,this.ownerID=e}
function qt (line 1) | function qt(t,e){function n(t,e,n){return 0===e?r(t,n):o(t,e,n)}function...
function Wt (line 1) | function Wt(t,e,n,r,o,i,a){var u=Object.create(Yn);return u.size=e-t,u._...
function Ht (line 1) | function Ht(){return Gn||(Gn=Wt(0,0,hn))}
function Vt (line 1) | function Vt(t,e,n){if((e=v(t,e))!==e)return t;if(e>=t.size||e<0)return t...
function Kt (line 1) | function Kt(t,e,n,r,o,i){var a=r>>>n&vn,u=t&&a<t.array.length;if(!u&&voi...
function Yt (line 1) | function Yt(t,e){return e&&t&&e===t.ownerID?t:new zt(t?t.array.slice():[...
function Gt (line 1) | function Gt(t,e){if(e>=Xt(t._capacity))return t._tail;if(e<1<<t._level+h...
function Qt (line 1) | function Qt(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__owner...
function Jt (line 1) | function Jt(t,e,n){for(var o=[],a=0,u=0;u<n.length;u++){var c=n[u],s=r(c...
function Xt (line 1) | function Xt(t){return t<dn?0:t-1>>>hn<<hn}
function Zt (line 1) | function Zt(t){return null===t||void 0===t?ee():$t(t)?t:ee().withMutatio...
function $t (line 1) | function $t(t){return pt(t)&&s(t)}
function te (line 1) | function te(t,e,n,r){var o=Object.create(Zt.prototype);return o.size=t?t...
function ee (line 1) | function ee(){return Jn||(Jn=te(xt(),Ht()))}
function ne (line 1) | function ne(t,e,n){var r,o,i=t._map,a=t._list,u=i.get(e),c=void 0!==u;if...
function re (line 1) | function re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}
function oe (line 1) | function oe(t){this._iter=t,this.size=t.size}
function ie (line 1) | function ie(t){this._iter=t,this.size=t.size}
function ae (line 1) | function ae(t){this._iter=t,this.size=t.size}
function ue (line 1) | function ue(t){var e=Te(t);return e._iter=t,e.size=t.size,e.flip=functio...
function ce (line 1) | function ce(t,e,n){var r=Te(t);return r.size=t.size,r.has=function(e){re...
function se (line 1) | function se(t,e){var n=Te(t);return n._iter=t,n.size=t.size,n.reverse=fu...
function fe (line 1) | function fe(t,e,n,r){var o=Te(t);return r&&(o.has=function(r){var o=t.ge...
function le (line 1) | function le(t,e,n){var r=lt().asMutable();return t.__iterate(function(o,...
function pe (line 1) | function pe(t,e,n){var r=a(t),o=(s(t)?Zt():lt()).asMutable();t.__iterate...
function he (line 1) | function he(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n==...
function de (line 1) | function de(t,e,n){var r=Te(t);return r.__iterateUncached=function(r,o){...
function ve (line 1) | function ve(t,e,n,r){var o=Te(t);return o.__iterateUncached=function(o,i...
function ye (line 1) | function ye(t,e){var r=a(t),o=[t].concat(e).map(function(t){return i(t)?...
function me (line 1) | function me(t,e,n){var r=Te(t);return r.__iterateUncached=function(r,o){...
function ge (line 1) | function ge(t,e,n){var r=Ce(t);return t.toSeq().map(function(o,i){return...
function be (line 1) | function be(t,e){var n=Te(t);return n.size=t.size&&2*t.size-1,n.__iterat...
function we (line 1) | function we(t,e,n){e||(e=Pe);var r=a(t),o=0,i=t.toSeq().map(function(e,r...
function _e (line 1) | function _e(t,e,n){if(e||(e=Pe),n){var r=t.toSeq().map(function(e,r){ret...
function xe (line 1) | function xe(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(void 0===n||null==...
function Ee (line 1) | function Ee(t,n,r){var o=Te(t);return o.size=new M(r).map(function(t){re...
function Se (line 1) | function Se(t,e){return L(t)?e:t.constructor(e)}
function Ae (line 1) | function Ae(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tup...
function Oe (line 1) | function Oe(t){return ft(t.size),d(t)}
function Ce (line 1) | function Ce(t){return a(t)?n:u(t)?r:o}
function Te (line 1) | function Te(t){return Object.create((a(t)?P:u(t)?j:I).prototype)}
function ke (line 1) | function ke(){return this._iter.cacheResult?(this._iter.cacheResult(),th...
function Pe (line 1) | function Pe(t,e){return t>e?1:t<e?-1:0}
function je (line 1) | function je(t){var n=O(t);if(!n){if(!T(t))throw new TypeError("Expected ...
function Ie (line 1) | function Ie(t,e){var n,r=function(i){if(i instanceof r)return i;if(!(thi...
function Me (line 1) | function Me(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return ...
function Re (line 1) | function Re(t){return t._name||t.constructor.name||"Record"}
function Ne (line 1) | function Ne(t,e){try{e.forEach(De.bind(void 0,t))}catch(t){}}
function De (line 1) | function De(t,e){Object.defineProperty(t,e,{get:function(){return this.g...
function Le (line 1) | function Le(t){return null===t||void 0===t?ze():Ue(t)&&!s(t)?t:ze().with...
function Ue (line 1) | function Ue(t){return!(!t||!t[Zn])}
function Fe (line 1) | function Fe(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._ma...
function Be (line 1) | function Be(t,e){var n=Object.create($n);return n.size=t?t.size:0,n._map...
function ze (line 1) | function ze(){return tr||(tr=Be(xt()))}
function qe (line 1) | function qe(t){return null===t||void 0===t?Ve():We(t)?t:Ve().withMutatio...
function We (line 1) | function We(t){return Ue(t)&&s(t)}
function He (line 1) | function He(t,e){var n=Object.create(er);return n.size=t?t.size:0,n._map...
function Ve (line 1) | function Ve(){return nr||(nr=He(ee()))}
function Ke (line 1) | function Ke(t){return null===t||void 0===t?Qe():Ye(t)?t:Qe().unshiftAll(t)}
function Ye (line 1) | function Ye(t){return!(!t||!t[rr])}
function Ge (line 1) | function Ge(t,e,n,r){var o=Object.create(or);return o.size=t,o._head=e,o...
function Qe (line 1) | function Qe(){return ir||(ir=Ge(0))}
function Je (line 1) | function Je(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.ke...
function Xe (line 1) | function Xe(t,e){return e}
function Ze (line 1) | function Ze(t,e){return[e,t]}
function $e (line 1) | function $e(t){return function(){return!t.apply(this,arguments)}}
function tn (line 1) | function tn(t){return function(){return-t.apply(this,arguments)}}
function en (line 1) | function en(t){return"string"===typeof t?JSON.stringify(t):String(t)}
function nn (line 1) | function nn(){return h(arguments)}
function rn (line 1) | function rn(t,e){return t<e?1:t>e?-1:0}
function on (line 1) | function on(t){if(t.size===1/0)return 0;var e=s(t),n=a(t),r=e?1:0;return...
function an (line 1) | function an(t,e){return e=Pn(e,3432918353),e=Pn(e<<15|e>>>-15,461845907)...
function un (line 1) | function un(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}
function r (line 1) | function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||vo...
function r (line 1) | function r(t,e,n){var r,o,i,a=new Array(n),u=8*n-e-1,c=(1<<u)-1,s=c>>1,f...
function o (line 1) | function o(t,e,n){var r,o=8*n-e-1,i=(1<<o)-1,a=i>>1,u=o-7,c=n-1,s=t[c--]...
function i (line 1) | function i(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}
function a (line 1) | function a(t){return[255&t]}
function u (line 1) | function u(t){return[255&t,t>>8&255]}
function c (line 1) | function c(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}
function s (line 1) | function s(t){return r(t,52,8)}
function f (line 1) | function f(t){return r(t,23,4)}
function l (line 1) | function l(t,e,n){O(t[k],e,{get:function(){return this[n]}})}
function p (line 1) | function p(t,e,n,r){var o=+n,i=S(o);if(i+e>t[W])throw R(P);var a=t[q]._b...
function h (line 1) | function h(t,e,n,r,o,i){var a=+n,u=S(a);if(u+e>t[W])throw R(P);for(var c...
function r (line 1) | function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign...
function r (line 1) | function r(t,e,n,r,i,a,u,c){if(o(e),!t){var s;if(void 0===e)s=new Error(...
function r (line 1) | function r(t){return function(){return t}}
function r (line 1) | function r(t){return t&&t.__esModule?t:{default:t}}
function r (line 1) | function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 1) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function i (line 1) | function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function e (line 1) | function e(){var n,i,a;r(this,e);for(var u=arguments.length,c=Array(u),s...
function r (line 1) | function r(t){"undefined"!==typeof console&&console.error;try{throw new ...
function r (line 1) | function r(t){if(!Object(a.a)(t)||Object(o.a)(t)!=u)return!1;var e=Objec...
function r (line 1) | function r(t,e){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t[...
function r (line 1) | function r(t){return function(){var e=t.apply(this,arguments);return new...
function o (line 1) | function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 1) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function a (line 1) | function a(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function t (line 1) | function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.en...
function e (line 1) | function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf...
function t (line 1) | function t(){return e.apply(this,arguments)}
function t (line 1) | function t(){return e.apply(this,arguments)}
function t (line 1) | function t(){return e.apply(this,arguments)}
function t (line 1) | function t(){return e.apply(this,arguments)}
function r (line 1) | function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 1) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function i (line 1) | function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function t (line 1) | function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.en...
function e (line 1) | function e(){var t,n,i,a;r(this,e);for(var u=arguments.length,c=Array(u)...
function r (line 1) | function r(t,e,n,s,f,l,p,h){for(var d,v,y=f,m=0,g=!!p&&u(p,h,3);m<s;){if...
function r (line 1) | function r(){}
function o (line 1) | function o(t){try{return t.then}catch(t){return m=t,g}}
function i (line 1) | function i(t,e){try{return t(e)}catch(t){return m=t,g}}
function a (line 1) | function a(t,e,n){try{t(e,n)}catch(t){return m=t,g}}
function u (line 1) | function u(t){if("object"!==typeof this)throw new TypeError("Promises mu...
function c (line 1) | function c(t,e,n){return new t.constructor(function(o,i){var a=new u(r);...
function s (line 1) | function s(t,e){for(;3===t._83;)t=t._18;if(u._47&&u._47(t),0===t._83)ret...
function f (line 1) | function f(t,e){y(function(){var n=1===t._83?e.onFulfilled:e.onRejected;...
function l (line 1) | function l(t,e){if(e===t)return p(t,new TypeError("A promise cannot be r...
function p (line 1) | function p(t,e){t._83=2,t._18=e,u._71&&u._71(t,e),h(t)}
function h (line 1) | function h(t){if(1===t._75&&(s(t,t._38),t._38=null),2===t._75){for(var e...
function d (line 1) | function d(t,e,n){this.onFulfilled="function"===typeof t?t:null,this.onR...
function v (line 1) | function v(t,e){var n=!1,r=a(t,function(t){n||(n=!0,l(e,t))},function(t)...
function r (line 1) | function r(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"fu...
function r (line 1) | function r(t){return"/"===t.charAt(0)}
function o (line 1) | function o(t,e){for(var n=e,r=n+1,o=t.length;r<o;n+=1,r+=1)t[n]=t[r];t.p...
function i (line 1) | function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[...
function r (line 1) | function r(t,e){if(t===e)return!0;if(null==t||null==e)return!1;if(Array....
function r (line 1) | function r(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototyp...
function o (line 1) | function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 1) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function a (line 1) | function a(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function e (line 1) | function e(){var n,r,a;o(this,e);for(var u=arguments.length,c=Array(u),s...
function r (line 1) | function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 1) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function i (line 1) | function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function e (line 1) | function e(){var n,i,a;r(this,e);for(var u=arguments.length,c=Array(u),s...
function r (line 1) | function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 1) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function i (line 1) | function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function a (line 1) | function a(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototyp...
function u (line 1) | function u(){}
function c (line 1) | function c(t,e){var n={run:function(r){try{var o=t(e.getState(),r);(o!==...
function s (line 1) | function s(t){var e,n,s=arguments.length>1&&void 0!==arguments[1]?argume...
function r (line 1) | function r(t,e,n){function u(){m===y&&(m=y.slice())}function c(){return ...
function r (line 1) | function r(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=argu...
function r (line 1) | function r(t){return function(e,n){function r(){return o}var o=t(e,n);re...
function o (line 1) | function o(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwn...
function i (line 1) | function i(t,e){return function(e,n){var r=(n.displayName,function(t,e){...
function r (line 1) | function r(t){this.message=t}
function r (line 1) | function r(t){return t&&t.__esModule?t:{default:t}}
function o (line 1) | function o(t){var e="transition"+t+"Timeout",n="transition"+t;return fun...
function n (line 1) | function n(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"===...
function r (line 1) | function r(t){return"/*# sourceMappingURL=data:application/json;charset=...
function r (line 1) | function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 1) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function i (line 1) | function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function t (line 1) | function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.en...
function e (line 1) | function e(){var t,n,i,a;r(this,e);for(var u=arguments.length,c=Array(u)...
function r (line 1) | function r(t){return function(){var e=t.apply(this,arguments);return new...
function r (line 1) | function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 1) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function i (line 1) | function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function t (line 1) | function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.en...
function e (line 1) | function e(){var t,n,i,a;r(this,e);for(var u=arguments.length,c=Array(u)...
function e (line 1) | function e(t,e,n){t[e]||Object[r](t,e,{writable:!0,configurable:!0,value...
function r (line 1) | function r(t){return isFinite(t=+t)&&0!=t?t<0?-r(-t):Math.log(t+Math.sqr...
function t (line 1) | function t(){}
function t (line 1) | function t(){}
function r (line 1) | function r(t,e){var n,u,f=arguments.length<3?t:arguments[2];return s(t)=...
function r (line 1) | function r(t,e,n){var c,p,h=arguments.length<4?t:arguments[3],d=i.f(f(t)...
function n (line 1) | function n(t,e,n,r){var i=e&&e.prototype instanceof o?e:o,a=Object.creat...
function r (line 1) | function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){ret...
function o (line 1) | function o(){}
function i (line 1) | function i(){}
function a (line 1) | function a(){}
function u (line 1) | function u(t){["next","throw","return"].forEach(function(e){t[e]=functio...
function c (line 1) | function c(t){function n(e,o,i,a){var u=r(t[e],t,o);if("throw"!==u.type)...
function s (line 1) | function s(t,e,n){var o=A;return function(i,a){if(o===C)throw new Error(...
function f (line 1) | function f(t,e){var n=t.iterator[e.method];if(n===y){if(e.delegate=null,...
function l (line 1) | function l(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.f...
function p (line 1) | function p(t){var e=t.completion||{};e.type="normal",delete e.arg,t.comp...
function h (line 1) | function h(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(l,this),this.r...
function d (line 1) | function d(t){if(t){var e=t[w];if(e)return e.call(t);if("function"===typ...
function v (line 1) | function v(){return{value:y,done:!0}}
function e (line 1) | function e(e,r){return i.type="throw",i.arg=t,n.next=e,r&&(n.method="nex...
function r (line 1) | function r(){s=!1,u._47=null,u._71=null}
function o (line 1) | function o(t){function e(e){(t.allRejections||a(l[e].error,t.whitelist||...
function i (line 1) | function i(t,e){((e&&(e.stack||e))+"").split("\n").forEach(function(t){})}
function a (line 1) | function a(t,e){return e.some(function(e){return t instanceof e})}
function n (line 1) | function n(t){a.length||(i(),u=!0),a[a.length]=t}
function r (line 1) | function r(){for(;c<a.length;){var t=c;if(c+=1,a[t].call(),c>s){for(var ...
function o (line 1) | function o(t){return function(){function e(){clearTimeout(n),clearInterv...
function r (line 1) | function r(t){var e=new o(o._44);return e._83=1,e._18=t,e}
function r (line 1) | function r(a,u){if(u&&("object"===typeof u||"function"===typeof u)){if(u...
function e (line 1) | function e(t){if("string"!==typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\...
function n (line 1) | function n(t){return"string"!==typeof t&&(t=String(t)),t}
function r (line 1) | function r(t){var e={next:function(){var e=t.shift();return{done:void 0=...
function o (line 1) | function o(t){this.map={},t instanceof o?t.forEach(function(t,e){this.ap...
function i (line 1) | function i(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already...
function a (line 1) | function a(t){return new Promise(function(e,n){t.onload=function(){e(t.r...
function u (line 1) | function u(t){var e=new FileReader,n=a(e);return e.readAsArrayBuffer(t),n}
function c (line 1) | function c(t){var e=new FileReader,n=a(e);return e.readAsText(t),n}
function s (line 1) | function s(t){for(var e=new Uint8Array(t),n=new Array(e.length),r=0;r<e....
function f (line 1) | function f(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLe...
function l (line 1) | function l(){return this.bodyUsed=!1,this._initBody=function(t){if(this....
function p (line 1) | function p(t){var e=t.toUpperCase();return _.indexOf(e)>-1?e:t}
function h (line 1) | function h(t,e){e=e||{};var n=e.body;if(t instanceof h){if(t.bodyUsed)th...
function d (line 1) | function d(t){var e=new FormData;return t.trim().split("&").forEach(func...
function v (line 1) | function v(t){var e=new o;return t.split(/\r?\n/).forEach(function(t){va...
function y (line 1) | function y(t,e){e||(e={}),this.type="default",this.status="status"in e?e...
function r (line 1) | function r(t){for(var e=arguments.length-1,n="http://reactjs.org/docs/er...
function o (line 1) | function o(t,e,n){this.props=t,this.context=e,this.refs=b,this.updater=n...
function i (line 1) | function i(){}
function a (line 1) | function a(t,e,n){this.props=t,this.context=e,this.refs=b,this.updater=n...
function u (line 1) | function u(t,e,n){var r=void 0,o={},i=null,a=null;if(null!=e)for(r in vo...
function c (line 1) | function c(t){return"object"===typeof t&&null!==t&&t.$$typeof===x}
function s (line 1) | function s(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g...
function f (line 1) | function f(t,e,n,r){if(L.length){var o=L.pop();return o.result=t,o.keyPr...
function l (line 1) | function l(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,...
function p (line 1) | function p(t,e,n,o){var i=typeof t;"undefined"!==i&&"boolean"!==i||(t=nu...
function h (line 1) | function h(t,e){return"object"===typeof t&&null!==t&&null!=t.key?s(t.key...
function d (line 1) | function d(t,e){t.func.call(t.context,e,t.count++)}
function v (line 1) | function v(t,e,n){var r=t.result,o=t.keyPrefix;t=t.func.call(t.context,e...
function y (line 1) | function y(t,e,n,r,o){var i="";null!=n&&(i=(""+n).replace(D,"$&/")+"/"),...
function r (line 1) | function r(t){for(var e=arguments.length-1,n="http://reactjs.org/docs/er...
function o (line 1) | function o(t,e,n,r,o,i,a,u,c){this._hasCaughtError=!1,this._caughtError=...
function i (line 1) | function i(){if(gn._hasRethrowError){var t=gn._rethrowError;throw gn._re...
function a (line 1) | function a(){if(bn)for(var t in wn){var e=wn[t],n=bn.indexOf(t);if(-1<n|...
function u (line 1) | function u(t,e,n){En[t]&&r("100",t),En[t]=e,Sn[t]=e.eventTypes[n].depend...
function c (line 1) | function c(t){bn&&r("101"),bn=Array.prototype.slice.call(t),a()}
function s (line 1) | function s(t){var e,n=!1;for(e in t)if(t.hasOwnProperty(e)){var o=t[e];w...
function f (line 1) | function f(t,e,n,r){e=t.type||"unknown-event",t.currentTarget=Tn(r),gn.i...
function l (line 1) | function l(t,e){return null==e&&r("30"),null==t?e:Array.isArray(t)?Array...
function p (line 1) | function p(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t)}
function h (line 1) | function h(t,e){if(t){var n=t._dispatchListeners,r=t._dispatchInstances;...
function d (line 1) | function d(t){return h(t,!0)}
function v (line 1) | function v(t){return h(t,!1)}
function y (line 1) | function y(t,e){var n=t.stateNode;if(!n)return null;var o=On(n);if(!o)re...
function m (line 1) | function m(t,e){null!==t&&(kn=l(kn,t)),t=kn,kn=null,t&&(e?p(t,d):p(t,v),...
function g (line 1) | function g(t,e,n,r){for(var o=null,i=0;i<_n.length;i++){var a=_n[i];a&&(...
function b (line 1) | function b(t){if(t[Mn])return t[Mn];for(;!t[Mn];){if(!t.parentNode)retur...
function w (line 1) | function w(t){if(5===t.tag||6===t.tag)return t.stateNode;r("33")}
function _ (line 1) | function _(t){return t[Rn]||null}
function x (line 1) | function x(t){do{t=t.return}while(t&&5!==t.tag);return t||null}
function E (line 1) | function E(t,e,n){for(var r=[];t;)r.push(t),t=x(t);for(t=r.length;0<t--;...
function S (line 1) | function S(t,e,n){(e=y(t,n.dispatchConfig.phasedRegistrationNames[e]))&&...
function A (line 1) | function A(t){t&&t.dispatchConfig.phasedRegistrationNames&&E(t._targetIn...
function O (line 1) | function O(t){if(t&&t.dispatchConfig.phasedRegistrationNames){var e=t._t...
function C (line 1) | function C(t,e,n){t&&n&&n.dispatchConfig.registrationName&&(e=y(t,n.disp...
function T (line 1) | function T(t){t&&t.dispatchConfig.registrationName&&C(t._targetInst,null...
function k (line 1) | function k(t){p(t,A)}
function P (line 1) | function P(t,e,n,r){if(n&&r)t:{for(var o=n,i=r,a=0,u=o;u;u=x(u))a++;u=0;...
function j (line 1) | function j(){return!Ln&&ln.canUseDOM&&(Ln="textContent"in document.docum...
function I (line 1) | function I(){if(Un._fallbackText)return Un._fallbackText;var t,e,n=Un._s...
function M (line 1) | function M(){return"value"in Un._root?Un._root.value:Un._root[j()]}
function R (line 1) | function R(t,e,n,r){this.dispatchConfig=t,this._targetInst=e,this.native...
function N (line 1) | function N(t,e,n,r){if(this.eventPool.length){var o=this.eventPool.pop()...
function D (line 1) | function D(t){t instanceof this||r("223"),t.destructor(),10>this.eventPo...
function L (line 1) | function L(t){t.eventPool=[],t.getPooled=N,t.release=D}
function U (line 1) | function U(t,e){switch(t){case"topKeyUp":return-1!==Wn.indexOf(e.keyCode...
function F (line 1) | function F(t){return t=t.detail,"object"===typeof t&&"data"in t?t.data:n...
function B (line 1) | function B(t,e){switch(t){case"topCompositionEnd":return F(e);case"topKe...
function z (line 1) | function z(t,e){if(Xn)return"topCompositionEnd"===t||!Hn&&U(t,e)?(t=I(),...
function q (line 1) | function q(t){if(t=Cn(t)){$n&&"function"===typeof $n.restoreControlledSt...
function W (line 1) | function W(t){er?nr?nr.push(t):nr=[t]:er=t}
function H (line 1) | function H(){return null!==er||null!==nr}
function V (line 1) | function V(){if(er){var t=er,e=nr;if(nr=er=null,q(t),e)for(t=0;t<e.lengt...
function K (line 1) | function K(t,e){return t(e)}
function Y (line 1) | function Y(t,e,n){return t(e,n)}
function G (line 1) | function G(){}
function Q (line 1) | function Q(t,e){if(or)return t(e);or=!0;try{return K(t,e)}finally{or=!1,...
function J (line 1) | function J(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input...
function X (line 1) | function X(t){return t=t.target||window,t.correspondingUseElement&&(t=t....
function Z (line 1) | function Z(t,e){return!(!ln.canUseDOM||e&&!("addEventListener"in documen...
function $ (line 1) | function $(t){var e=t.type;return(t=t.nodeName)&&"input"===t.toLowerCase...
function tt (line 1) | function tt(t){var e=$(t)?"checked":"value",n=Object.getOwnPropertyDescr...
function et (line 1) | function et(t){t._valueTracker||(t._valueTracker=tt(t))}
function nt (line 1) | function nt(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n...
function rt (line 1) | function rt(t){return null===t||"undefined"===typeof t?null:(t=gr&&t[gr]...
function ot (line 1) | function ot(t){if("function"===typeof(t=t.type))return t.displayName||t....
function it (line 1) | function it(t){var e="";do{t:switch(t.tag){case 0:case 1:case 2:case 5:v...
function at (line 1) | function at(t){return!!_r.hasOwnProperty(t)||!wr.hasOwnProperty(t)&&(br....
function ut (line 1) | function ut(t,e,n,r){if(null!==n&&0===n.type)return!1;switch(typeof e){c...
function ct (line 1) | function ct(t,e,n,r){if(null===e||"undefined"===typeof e||ut(t,e,n,r))re...
function st (line 1) | function st(t,e,n,r,o){this.acceptsBooleans=2===e||3===e||4===e,this.att...
function ft (line 1) | function ft(t){return t[1].toUpperCase()}
function lt (line 1) | function lt(t,e,n,r){var o=xr.hasOwnProperty(e)?xr[e]:null;(null!==o?0==...
function pt (line 1) | function pt(t,e){var n=e.checked;return pn({},e,{defaultChecked:void 0,d...
function ht (line 1) | function ht(t,e){var n=null==e.defaultValue?"":e.defaultValue,r=null!=e....
function dt (line 1) | function dt(t,e){null!=(e=e.checked)&<(t,"checked",e,!1)}
function vt (line 1) | function vt(t,e){dt(t,e);var n=gt(e.value);null!=n&&("number"===e.type?(...
function yt (line 1) | function yt(t,e){(e.hasOwnProperty("value")||e.hasOwnProperty("defaultVa...
function mt (line 1) | function mt(t,e,n){"number"===e&&t.ownerDocument.activeElement===t||(nul...
function gt (line 1) | function gt(t){switch(typeof t){case"boolean":case"number":case"object":...
function bt (line 1) | function bt(t,e,n){return t=R.getPooled(Sr.change,t,e,n),t.type="change"...
function wt (line 1) | function wt(t){m(t,!1)}
function _t (line 1) | function _t(t){if(nt(w(t)))return t}
function xt (line 1) | function xt(t,e){if("topChange"===t)return e}
function Et (line 1) | function Et(){Ar&&(Ar.detachEvent("onpropertychange",St),Or=Ar=null)}
function St (line 1) | function St(t){"value"===t.propertyName&&_t(Or)&&(t=bt(Or,t,X(t)),Q(wt,t))}
function At (line 1) | function At(t,e,n){"topFocus"===t?(Et(),Ar=e,Or=n,Ar.attachEvent("onprop...
function Ot (line 1) | function Ot(t){if("topSelectionChange"===t||"topKeyUp"===t||"topKeyDown"...
function Ct (line 1) | function Ct(t,e){if("topClick"===t)return _t(e)}
function Tt (line 1) | function Tt(t,e){if("topInput"===t||"topChange"===t)return _t(e)}
function kt (line 1) | function kt(t){var e=this.nativeEvent;return e.getModifierState?e.getMod...
function Pt (line 1) | function Pt(){return kt}
function jt (line 1) | function jt(t){var e=t;if(t.alternate)for(;e.return;)e=e.return;else{if(...
function It (line 1) | function It(t){return!!(t=t._reactInternalFiber)&&2===jt(t)}
function Mt (line 1) | function Mt(t){2!==jt(t)&&r("188")}
function Rt (line 1) | function Rt(t){var e=t.alternate;if(!e)return e=jt(t),3===e&&r("188"),1=...
function Nt (line 1) | function Nt(t){if(!(t=Rt(t)))return null;for(var e=t;;){if(5===e.tag||6=...
function Dt (line 1) | function Dt(t){if(!(t=Rt(t)))return null;for(var e=t;;){if(5===e.tag||6=...
function Lt (line 1) | function Lt(t){var e=t.keyCode;return"charCode"in t?0===(t=t.charCode)&&...
function Ut (line 1) | function Ut(t,e){var n=t[0].toUpperCase()+t.slice(1),r="on"+n;n="top"+n,...
function Ft (line 1) | function Ft(t){var e=t.targetInst;do{if(!e){t.ancestors.push(e);break}va...
function Bt (line 1) | function Bt(t){Qr=!!t}
function zt (line 1) | function zt(t,e,n){if(!n)return null;t=(Yr(t)?Wt:Ht).bind(null,t),n.addE...
function qt (line 1) | function qt(t,e,n){if(!n)return null;t=(Yr(t)?Wt:Ht).bind(null,t),n.addE...
function Wt (line 1) | function Wt(t,e){Y(Ht,t,e)}
function Ht (line 1) | function Ht(t,e){if(Qr){var n=X(e);if(n=b(n),null!==n&&"number"===typeof...
function Vt (line 1) | function Vt(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["W...
function Kt (line 1) | function Kt(t){if(Zr[t])return Zr[t];if(!Xr[t])return t;var e,n=Xr[t];fo...
function Yt (line 1) | function Yt(t){return Object.prototype.hasOwnProperty.call(t,oo)||(t[oo]...
function Gt (line 1) | function Gt(t){for(;t&&t.firstChild;)t=t.firstChild;return t}
function Qt (line 1) | function Qt(t,e){var n=Gt(t);t=0;for(var r;n;){if(3===n.nodeType){if(r=t...
function Jt (line 1) | function Jt(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(...
function Xt (line 1) | function Xt(t,e){if(fo||null==uo||uo!==dn())return null;var n=uo;return"...
function Zt (line 1) | function Zt(t,e,n,r){this.tag=t,this.key=n,this.stateNode=this.type=null...
function $t (line 1) | function $t(t,e,n){var r=t.alternate;return null===r?(r=new Zt(t.tag,e,t...
function te (line 1) | function te(t,e,n){var o=t.type,i=t.key;t=t.props;var a=void 0;if("funct...
function ee (line 1) | function ee(t,e,n,r){return t=new Zt(10,t,r,e),t.expirationTime=n,t}
function ne (line 1) | function ne(t,e,n){return t=new Zt(6,t,null,e),t.expirationTime=n,t}
function re (line 1) | function re(t,e,n){return e=new Zt(4,null!==t.children?t.children:[],t.k...
function oe (line 1) | function oe(t){return function(e){try{return t(e)}catch(t){}}}
function ie (line 1) | function ie(t){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)re...
function ae (line 1) | function ae(t){"function"===typeof po&&po(t)}
function ue (line 1) | function ue(t){"function"===typeof ho&&ho(t)}
function ce (line 1) | function ce(t){return{baseState:t,expirationTime:0,first:null,last:null,...
function se (line 1) | function se(t,e){null===t.last?t.first=t.last=e:(t.last.next=e,t.last=e)...
function fe (line 1) | function fe(t){vo=yo=null;var e=t.alternate,n=t.updateQueue;null===n&&(n...
function le (line 1) | function le(t,e){fe(t),t=vo;var n=yo;null===n?se(t,e):null===t.last||nul...
function pe (line 1) | function pe(t,e,n,r){return t=t.partialState,"function"===typeof t?t.cal...
function he (line 1) | function he(t,e,n,r,o,i){null!==t&&t.updateQueue===n&&(n=e.updateQueue={...
function de (line 1) | function de(t,e){var n=t.callbackList;if(null!==n)for(t.callbackList=nul...
function ve (line 1) | function ve(t,e,n,r,o){function i(t,e,n,r,o,i){if(null===e||null!==t.upd...
function ye (line 1) | function ye(t,e,n){if(null!==(t=n.ref)&&"function"!==typeof t&&"object"!...
function me (line 1) | function me(t,e){"textarea"!==t.type&&r("31","[object Object]"===Object....
function ge (line 1) | function ge(t){function e(e,n){if(t){var r=e.lastEffect;null!==r?(r.next...
function be (line 1) | function be(t,e,n,o,i,a,u){function c(t,e,n){s(t,e,n,e.expirationTime)}f...
function we (line 1) | function we(t,e,n,o,i){function a(t){t.effectTag|=4}var u=t.createInstan...
function _e (line 1) | function _e(t,e,n,r,o){var i=t.popHostContainer,a=t.popHostContext,u=e.p...
function xe (line 1) | function xe(t,e){var n=e.source;null===e.stack&&it(n),null!==n&&ot(n),e=...
function Ee (line 1) | function Ee(t,e,n,o,i){function a(t){var n=t.ref;if(null!==n)if("functio...
function Se (line 1) | function Se(t,e){function n(t){return t===wo&&r("174"),t}var o=t.getChil...
function Ae (line 1) | function Ae(t){function e(t,e){var n=new Zt(5,null,null,0);n.type="DELET...
function Oe (line 1) | function Oe(t){function e(t,e,n){t=t.stateNode,t.__reactInternalMemoized...
function Ce (line 1) | function Ce(t){var e=t.createCursor,n=t.push,r=t.pop,o=e(null),i=e(null)...
function Te (line 1) | function Te(){var t=[],e=-1;return{createCursor:function(t){return{curre...
function ke (line 1) | function ke(t){function e(){if(null!==$)for(var t=$.return;null!==t;)I(t...
function Pe (line 1) | function Pe(t){function e(t,e,n,r,o,i){if(r=e.current,n){n=n._reactInter...
function je (line 1) | function je(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?argum...
function Ie (line 1) | function Ie(t){var e="";return fn.Children.forEach(t,function(t){null==t...
function Me (line 1) | function Me(t,e){return t=pn({children:void 0},e),(e=Ie(e.children))&&(t...
function Re (line 1) | function Re(t,e,n,r){if(t=t.options,e){e={};for(var o=0;o<n.length;o++)e...
function Ne (line 1) | function Ne(t,e){var n=e.value;t._wrapperState={initialValue:null!=n?n:e...
function De (line 1) | function De(t,e){return null!=e.dangerouslySetInnerHTML&&r("91"),pn({},e...
function Le (line 1) | function Le(t,e){var n=e.value;null==n&&(n=e.defaultValue,e=e.children,n...
function Ue (line 1) | function Ue(t,e){var n=e.value;null!=n&&(n=""+n,n!==t.value&&(t.value=n)...
function Fe (line 1) | function Fe(t){var e=t.textContent;e===t._wrapperState.initialValue&&(t....
function Be (line 1) | function Be(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";ca...
function ze (line 1) | function ze(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?Be(e...
function qe (line 1) | function qe(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.n...
function We (line 1) | function We(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=...
function He (line 1) | function He(t,e,n){e&&(Wo[t]&&(null!=e.children||null!=e.dangerouslySetI...
function Ve (line 1) | function Ve(t,e){if(-1===t.indexOf("-"))return"string"===typeof e.is;swi...
function Ke (line 1) | function Ke(t,e){t=9===t.nodeType||11===t.nodeType?t:t.ownerDocument;var...
function Ye (line 1) | function Ye(t,e,n,r){return n=9===n.nodeType?n:n.ownerDocument,r===Uo.ht...
function Ge (line 1) | function Ge(t,e){return(9===e.nodeType?e:e.ownerDocument).createTextNode...
function Qe (line 1) | function Qe(t,e,n,r){var o=Ve(e,n);switch(e){case"iframe":case"object":z...
function Je (line 1) | function Je(t,e,n,r,o){var i=null;switch(e){case"input":n=pt(t,n),r=pt(t...
function Xe (line 1) | function Xe(t,e,n,r,o){"input"===n&&"radio"===o.type&&null!=o.name&&dt(t...
function Ze (line 1) | function Ze(t,e,n,r,o){switch(e){case"iframe":case"object":zt("topLoad",...
function $e (line 1) | function $e(t,e){return t.nodeValue!==e}
function tn (line 1) | function tn(t){this._expirationTime=Go.computeUniqueAsyncExpiration(),th...
function en (line 1) | function en(){this._callbacks=null,this._didCommit=!1,this._onCommit=thi...
function nn (line 1) | function nn(t,e,n){this._internalRoot=Go.createContainer(t,e,n)}
function rn (line 1) | function rn(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeTy...
function on (line 1) | function on(t,e){switch(t){case"button":case"input":case"select":case"te...
function an (line 1) | function an(t,e){if(e||(e=t?9===t.nodeType?t.documentElement:t.firstChil...
function un (line 1) | function un(t,e,n,o,i){rn(n)||r("200");var a=n._reactRootContainer;if(a)...
function cn (line 1) | function cn(t,e){var n=2<arguments.length&&void 0!==arguments[2]?argumen...
function e (line 1) | function e(){}
function n (line 1) | function n(){return r.apply(this,arguments)}
method _enabled (line 1) | get _enabled(){return Qr}
function r (line 1) | function r(t){if("undefined"===typeof(t=t||("undefined"!==typeof documen...
function r (line 1) | function r(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}
function o (line 1) | function o(t,e){if(r(t,e))return!0;if("object"!==typeof t||null===t||"ob...
function r (line 1) | function r(t,e){return!(!t||!e)&&(t===e||!o(t)&&(o(e)?r(t,e.parentNode):...
function r (line 1) | function r(t){return o(t)&&3==t.nodeType}
function r (line 1) | function r(t){var e=t?t.ownerDocument||t:document,n=e.defaultView||windo...
function r (line 1) | function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 1) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function i (line 1) | function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function t (line 1) | function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.en...
function e (line 1) | function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf...
function r (line 1) | function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 1) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function i (line 1) | function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function e (line 1) | function e(){var n,i,a;r(this,e);for(var u=arguments.length,c=Array(u),s...
function t (line 1) | function t(t,e,n,r,a,u){u!==i&&o(!1,"Calling PropTypes validators direct...
function e (line 1) | function e(){return t}
function r (line 1) | function r(t){return t&&t.__esModule?t:{default:t}}
function r (line 1) | function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 1) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function i (line 1) | function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function e (line 1) | function e(){var n,i,a;r(this,e);for(var u=arguments.length,c=Array(u),s...
function r (line 1) | function r(t){return t&&t.__esModule?t:{default:t}}
function r (line 1) | function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 1) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function i (line 1) | function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function e (line 1) | function e(){var n,i,a;r(this,e);for(var u=arguments.length,c=Array(u),s...
function r (line 1) | function r(t){return t&&t.__esModule?t:{default:t}}
function r (line 1) | function r(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototyp...
function r (line 1) | function r(t,e){for(var n,r=[],o=0,i=0,a="",u=e&&e.delimiter||"/";null!=...
function o (line 1) | function o(t,e){return u(r(t,e))}
function i (line 1) | function i(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%...
function a (line 1) | function a(t){return encodeURI(t).replace(/[?#]/g,function(t){return"%"+...
function u (line 1) | function u(t){for(var e=new Array(t.length),n=0;n<t.length;n++)"object"=...
function c (line 1) | function c(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}
function s (line 1) | function s(t){return t.replace(/([=!:$\/()])/g,"\\$1")}
function f (line 1) | function f(t,e){return t.keys=e,t}
function l (line 1) | function l(t){return t.sensitive?"":"i"}
function p (line 1) | function p(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.l...
function h (line 1) | function h(t,e,n){for(var r=[],o=0;o<t.length;o++)r.push(y(t[o],e,n).sou...
function d (line 1) | function d(t,e,n){return v(r(t,n),e,n)}
function v (line 1) | function v(t,e,n){m(e)||(n=e||n,e=[]),n=n||{};for(var r=n.strict,o=!1!==...
function y (line 1) | function y(t,e,n){return m(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp...
function r (line 1) | function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 1) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function i (line 1) | function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function e (line 1) | function e(){return r(this,e),o(this,t.apply(this,arguments))}
function r (line 1) | function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 1) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function i (line 1) | function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function e (line 1) | function e(){return r(this,e),o(this,t.apply(this,arguments))}
function r (line 1) | function r(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototyp...
function o (line 1) | function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 1) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function a (line 1) | function a(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function e (line 1) | function e(){var n,r,a;o(this,e);for(var u=arguments.length,c=Array(u),s...
function r (line 1) | function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 1) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function i (line 1) | function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function e (line 1) | function e(){return r(this,e),o(this,t.apply(this,arguments))}
function r (line 1) | function r(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototyp...
function r (line 1) | function r(t){return function(){var e=t.apply(this,arguments);return new...
function o (line 1) | function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 1) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function a (line 1) | function a(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function u (line 1) | function u(t){return function(e){function n(t){o(this,n);var e=i(this,(n...
function t (line 1) | function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.en...
function n (line 1) | function n(t,e,n,r){var i=e&&e.prototype instanceof o?e:o,a=Object.creat...
function r (line 1) | function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){ret...
function o (line 1) | function o(){}
function i (line 1) | function i(){}
function a (line 1) | function a(){}
function u (line 1) | function u(t){["next","throw","return"].forEach(function(e){t[e]=functio...
function c (line 1) | function c(t){function e(n,o,i,a){var u=r(t[n],t,o);if("throw"!==u.type)...
function s (line 1) | function s(t,e,n){var o=A;return function(i,a){if(o===C)throw new Error(...
function f (line 1) | function f(t,e){var n=t.iterator[e.method];if(n===y){if(e.delegate=null,...
function l (line 1) | function l(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.f...
function p (line 1) | function p(t){var e=t.completion||{};e.type="normal",delete e.arg,t.comp...
function h (line 1) | function h(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(l,this),this.r...
function d (line 1) | function d(t){if(t){var e=t[w];if(e)return e.call(t);if("function"===typ...
function v (line 1) | function v(){return{value:y,done:!0}}
function e (line 1) | function e(e,r){return i.type="throw",i.arg=t,n.next=e,r&&(n.method="nex...
function r (line 1) | function r(t){return function(){var e=t.apply(this,arguments);return new...
function o (line 1) | function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 1) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function a (line 1) | function a(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function t (line 1) | function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.en...
function e (line 1) | function e(){var t,n,a,u,c=this;o(this,e);for(var s=arguments.length,f=A...
function r (line 1) | function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 1) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function i (line 1) | function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function n (line 1) | function n(i,a){r(this,n);var u=o(this,t.call(this,i,a));return u[e]=i.s...
function r (line 1) | function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 1) | function o(){var t=[],e=[];return{clear:function(){e=i,t=i},notify:funct...
function t (line 1) | function t(e,n,o){r(this,t),this.store=e,this.parentSub=n,this.onStateCh...
function r (line 1) | function r(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototyp...
function o (line 1) | function o(t,e,n){for(var r=e.length-1;r>=0;r--){var o=e[r](t);if(o)retu...
function i (line 1) | function i(t,e){return t===e}
function r (line 1) | function r(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}
function o (line 1) | function o(t,e){if(r(t,e))return!0;if("object"!==typeof t||null===t||"ob...
function r (line 1) | function r(t){return"function"===typeof t?Object(u.b)(t,"mapDispatchToPr...
function o (line 1) | function o(t){return t?void 0:Object(u.a)(function(t){return{dispatch:t}})}
function i (line 1) | function i(t){return t&&"object"===typeof t?Object(u.a)(function(e){retu...
function r (line 1) | function r(t){return null==t?void 0===t?c:u:s&&s in Object(t)?Object(i.a...
function r (line 1) | function r(t){var e=a.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t)...
function r (line 1) | function r(t){return i.call(t)}
function r (line 1) | function r(t,e){return function(n){return t(e(n))}}
function r (line 1) | function r(t){return null!=t&&"object"==typeof t}
function r (line 1) | function r(t){var e,n=t.Symbol;return"function"===typeof n?n.observable?...
function r (line 1) | function r(t,e){var n=e&&e.type;return"Given action "+(n&&'"'+n.toString...
function o (line 1) | function o(t){Object.keys(t).forEach(function(e){var n=t[e];if("undefine...
function i (line 1) | function i(t){for(var e=Object.keys(t),n={},i=0;i<e.length;i++){var a=e[...
function r (line 1) | function r(t,e){return function(){return e(t.apply(void 0,arguments))}}
function o (line 1) | function o(t,e){if("function"===typeof t)return r(t,e);if("object"!==typ...
function r (line 1) | function r(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=argu...
function r (line 1) | function r(t){return"function"===typeof t?Object(i.b)(t,"mapStateToProps...
function o (line 1) | function o(t){return t?void 0:Object(i.a)(function(){return{}})}
function r (line 1) | function r(t,e,n){return u({},n,t,e)}
function o (line 1) | function o(t){return function(e,n){var r=(n.displayName,n.pure),o=n.areM...
function i (line 1) | function i(t){return"function"===typeof t?o(t):void 0}
function a (line 1) | function a(t){return t?void 0:function(){return r}}
function r (line 1) | function r(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototyp...
function o (line 1) | function o(t,e,n,r){return function(o,i){return n(t(o,i),e(r,i),i)}}
function i (line 1) | function i(t,e,n,r,o){function i(o,i){return d=o,v=i,y=t(d,v),m=e(r,v),g...
function a (line 1) | function a(t,e){var n=e.initMapStateToProps,a=e.initMapDispatchToProps,u...
function r (line 1) | function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 1) | function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.en...
function t (line 1) | function t(){r(this,t)}
function r (line 1) | function r(t){var e=new a(t),n=i(a.prototype.request,e);return o.extend(...
function n (line 1) | function n(t){return!!t.constructor&&"function"===typeof t.constructor.i...
function r (line 1) | function r(t){return"function"===typeof t.readFloatLE&&"function"===type...
function r (line 1) | function r(t){this.defaults=t,this.interceptors={request:new a,response:...
function n (line 1) | function n(){throw new Error("setTimeout has not been defined")}
function r (line 1) | function r(){throw new Error("clearTimeout has not been defined")}
function o (line 1) | function o(t){if(f===setTimeout)return setTimeout(t,0);if((f===n||!f)&&s...
function i (line 1) | function i(t){if(l===clearTimeout)return clearTimeout(t);if((l===r||!l)&...
function a (line 1) | function a(){v&&h&&(v=!1,h.length?d=h.concat(d):y=-1,d.length&&u())}
function u (line 1) | function u(){if(!v){var t=o(a);v=!0;for(var e=d.length;e;){for(h=d,d=[];...
function c (line 1) | function c(t,e){this.fun=t,this.array=e}
function s (line 1) | function s(){}
function r (line 1) | function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(...
function t (line 1) | function t(t){var e=t;return n&&(o.setAttribute("href",e),e=o.href),o.se...
function r (line 1) | function r(){this.message="String contains an invalid character"}
function o (line 1) | function o(t){for(var e,n,o=String(t),a="",u=0,c=i;o.charAt(0|u)||(c="="...
function r (line 1) | function r(){this.handlers=[]}
function r (line 1) | function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}
function r (line 1) | function r(t){if("function"!==typeof t)throw new TypeError("executor mus...
function r (line 1) | function r(t){return t&&t.__esModule?t:{default:t}}
function o (line 1) | function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 1) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function a (line 1) | function a(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function e (line 1) | function e(){var n,r,a;o(this,e);for(var u=arguments.length,c=Array(u),f...
function r (line 1) | function r(t){return t&&t.__esModule?t:{default:t}}
function o (line 1) | function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 1) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function a (line 1) | function a(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function e (line 1) | function e(n,r){o(this,e);var a=i(this,t.call(this,n,r));return a.perfor...
function r (line 1) | function r(t){if(!t)return t;var e={};return i.Children.map(t,function(t...
function o (line 1) | function o(t,e){function n(n){return e.hasOwnProperty(n)?e[n]:t[n]}t=t||...
function r (line 1) | function r(t){return t&&t.__esModule?t:{default:t}}
function o (line 1) | function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 1) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function a (line 1) | function a(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function u (line 1) | function u(t,e){return x.length?x.forEach(function(n){return t.addEventL...
function e (line 1) | function e(){var n,r,a;o(this,e);for(var u=arguments.length,c=Array(u),s...
function r (line 1) | function r(t,e){t.classList?t.classList.add(e):(0,i.default)(t,e)||("str...
function r (line 1) | function r(t,e){return t.classList?!!e&&t.classList.contains(e):-1!==(" ...
function r (line 1) | function r(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g")...
function r (line 1) | function r(t){var e=(new Date).getTime(),n=Math.max(0,16-(e-l)),r=setTim...
function o (line 1) | function o(t,e){var n;if(e=e||{},this.trackingClick=!1,this.trackingClic...
function r (line 1) | function r(){if("serviceWorker"in navigator){if(new URL("/pxq",window.lo...
function o (line 1) | function o(t){navigator.serviceWorker.register(t).then(function(t){t.onu...
function i (line 1) | function i(t){fetch(t).then(function(e){404===e.status||-1===e.headers.g...
function r (line 1) | function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 1) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function i (line 1) | function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("...
function t (line 1) | function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.en...
function e (line 1) | function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf...
function r (line 1) | function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enume...
function r (line 1) | function r(t){return function(e){var n=e.dispatch,r=e.getState;return fu...
function r (line 1) | function r(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=d[r.id];if(o){o...
function o (line 1) | function o(t,e){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],a=e.bas...
function i (line 1) | function i(t,e){var n=y(t.insertInto);if(!n)throw new Error("Couldn't fi...
function a (line 1) | function a(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t...
function u (line 1) | function u(t){var e=document.createElement("style");return t.attrs.type=...
function c (line 1) | function c(t){var e=document.createElement("link");return t.attrs.type="...
function s (line 1) | function s(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n]...
function f (line 1) | function f(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i=e.transform(t....
function l (line 1) | function l(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssTex...
function p (line 1) | function p(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t....
function h (line 1) | function h(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsolu...
FILE: scripts/build.js
constant WARN_AFTER_BUNDLE_GZIP_SIZE (line 47) | const WARN_AFTER_BUNDLE_GZIP_SIZE = 512 * 1024;
constant WARN_AFTER_CHUNK_GZIP_SIZE (line 48) | const WARN_AFTER_CHUNK_GZIP_SIZE = 1024 * 1024;
function build (line 116) | function build(previousFileSizes) {
function copyPublicFolder (line 157) | function copyPublicFolder() {
FILE: scripts/eject.js
function getGitStatus (line 29) | function getGitStatus() {
function verifyAbsent (line 71) | function verifyAbsent(file) {
FILE: scripts/init.js
function isReactInstalled (line 187) | function isReactInstalled(appPackage) {
FILE: scripts/start.js
constant DEFAULT_PORT (line 52) | const DEFAULT_PORT = parseInt(process.env.PORT, 10) || 3000;
constant HOST (line 53) | const HOST = process.env.HOST || '0.0.0.0';
FILE: src/api/api.js
class API (line 3) | class API extends Server{
method uploadImg (line 11) | async uploadImg(params = {}){
method getRecord (line 37) | async getRecord(params = {}){
method getProduction (line 63) | async getProduction(params = {}){
method getBalance (line 89) | async getBalance(params = {}){
FILE: src/api/server.js
class Server (line 18) | class Server {
method axios (line 19) | axios(method, url, params){
FILE: src/components/TouchableOpacity/TouchableOpacity.jsx
class TouchableOpacity (line 8) | class TouchableOpacity extends Component{
method shouldComponentUpdate (line 24) | shouldComponentUpdate(nextProps, nextState){
method render (line 28) | render(){
FILE: src/components/alert/alert.jsx
class Alert (line 8) | class Alert extends Component{
method shouldComponentUpdate (line 24) | shouldComponentUpdate(nextProps, nextState){
method render (line 28) | render(){
FILE: src/components/header/header.jsx
class PublicHeader (line 8) | class PublicHeader extends Component{
method shouldComponentUpdate (line 28) | shouldComponentUpdate(nextProps, nextState) {
method render (line 32) | render(){
FILE: src/pages/balance/balance.jsx
class BrokeRage (line 9) | class BrokeRage extends Component{
method shouldComponentUpdate (line 81) | shouldComponentUpdate(nextProps, nextState) {
method componentDidMount (line 85) | componentDidMount(){
method render (line 89) | render(){
FILE: src/pages/helpcenter/helpcenter.jsx
class HelpCenter (line 6) | class HelpCenter extends Component {
method shouldComponentUpdate (line 8) | shouldComponentUpdate(nextProps, nextState){
method render (line 12) | render(){
FILE: src/pages/home/home.jsx
class Home (line 16) | @mixin({padStr})
method componentWillReceiveProps (line 111) | componentWillReceiveProps(nextProps){
method shouldComponentUpdate (line 117) | shouldComponentUpdate(nextProps, nextState) {
method componentWillMount (line 121) | componentWillMount(){
method render (line 126) | render() {
FILE: src/pages/production/production.jsx
class Production (line 9) | class Production extends Component{
method shouldComponentUpdate (line 35) | shouldComponentUpdate(nextProps, nextState) {
method componentDidMount (line 39) | componentDidMount(){
method render (line 45) | render(){
FILE: src/pages/record/components/recordList.jsx
class RecordList (line 6) | class RecordList extends Component{
method componentWillReceiveProps (line 25) | componentWillReceiveProps(nextProps){
method shouldComponentUpdate (line 34) | shouldComponentUpdate(nextProps, nextState){
method componentWillMount (line 38) | componentWillMount(){
method render (line 43) | render(){
FILE: src/pages/record/record.jsx
class Record (line 8) | class Record extends Component {
method componentWillReceiveProps (line 34) | componentWillReceiveProps(nextProps){
method shouldComponentUpdate (line 43) | shouldComponentUpdate(nextProps, nextState){
method componentWillMount (line 47) | componentWillMount(){
method render (line 52) | render() {
FILE: src/registerServiceWorker.js
function register (line 21) | function register() {
function registerValidSW (line 46) | function registerValidSW(swUrl) {
function checkValidServiceWorker (line 75) | function checkValidServiceWorker(swUrl) {
function unregister (line 102) | function unregister() {
FILE: src/router/index.js
class RouteConfig (line 12) | class RouteConfig extends Component{
method render (line 13) | render(){
FILE: src/store/home/action-type.js
constant SAVEFORMDATA (line 2) | const SAVEFORMDATA = 'SAVEFORMDATA';
constant SAVEIMG (line 4) | const SAVEIMG = 'SAVEIMG';
constant CLEARDATA (line 6) | const CLEARDATA = 'CLEARDATA';
FILE: src/store/production/action-type.js
constant GETPRODUCTION (line 2) | const GETPRODUCTION = 'GETPRODUCTION';
constant TOGGLESELECT (line 4) | const TOGGLESELECT = 'TOGGLESELECT';
constant EDITPRODUCTION (line 6) | const EDITPRODUCTION = 'EDITPRODUCTION';
constant CLEARSELECTED (line 8) | const CLEARSELECTED = 'CLEARSELECTED';
FILE: src/utils/asyncComponent.jsx
function asyncComponent (line 3) | function asyncComponent(importComponent) {
Condensed preview — 70 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (637K chars).
[
{
"path": ".babelrc",
"chars": 66,
"preview": "{\n \"presets\": [\"react\"],\n \"plugins\": [\"syntax-dynamic-import\"]\n}"
},
{
"path": ".gitignore",
"chars": 325,
"preview": "# See https://help.github.com/ignore-files/ for more about ignoring files.\n\n# dependencies\n/node_modules\n\n# testing\n/cov"
},
{
"path": "LICENSE",
"chars": 1062,
"preview": "MIT License\n\nCopyright (c) 2018 cangdu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof "
},
{
"path": "README.md",
"chars": 14184,
"preview": "\n## 技术栈:\n react + redux + webpack + react-router + ES6/7/8 + immutable\n\n\n## 运行项目(nodejs 6.0+)\n```\n git clone https://gi"
},
{
"path": "bin/react-scripts",
"chars": 1785,
"preview": "#!/usr/bin/env node\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT l"
},
{
"path": "config/env.js",
"chars": 3665,
"preview": "// @remove-on-eject-begin\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the"
},
{
"path": "config/jest/babelTransform.js",
"chars": 390,
"preview": "// @remove-file-on-eject\n/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the "
},
{
"path": "config/jest/cssTransform.js",
"chars": 553,
"preview": "// @remove-on-eject-begin\n/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the"
},
{
"path": "config/jest/fileTransform.js",
"chars": 544,
"preview": "// @remove-on-eject-begin\n/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the"
},
{
"path": "config/paths.js",
"chars": 4409,
"preview": "// @remove-on-eject-begin\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the"
},
{
"path": "config/polyfills.js",
"chars": 1089,
"preview": "// @remove-on-eject-begin\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the"
},
{
"path": "config/webpack.config.dev.js",
"chars": 14598,
"preview": "// @remove-on-eject-begin\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the"
},
{
"path": "config/webpack.config.prod.js",
"chars": 16875,
"preview": "// @remove-on-eject-begin\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the"
},
{
"path": "config/webpackDevServer.config.js",
"chars": 5697,
"preview": "// @remove-on-eject-begin\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the"
},
{
"path": "package.json",
"chars": 3020,
"preview": "{\n \"name\": \"pxq\",\n \"version\": \"1.0.0\",\n \"private\": true,\n \"dependencies\": {\n \"axios\": \"0.19.0\",\n \"fastclick\": "
},
{
"path": "public/index.html",
"chars": 1904,
"preview": "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-wid"
},
{
"path": "public/manifest.json",
"chars": 317,
"preview": "{\n \"short_name\": \"React App\",\n \"name\": \"Create React App Sample\",\n \"icons\": [\n {\n \"src\": \"favicon.ico\",\n "
},
{
"path": "pxq/asset-manifest.json",
"chars": 618,
"preview": "{\n \"main.css\": \"static/css/main.fc2ff5ec.css\",\n \"main.js\": \"static/js/main.83dc4a4d.js\",\n \"static/js/0.c353ab85.chunk"
},
{
"path": "pxq/index.html",
"chars": 843,
"preview": "<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-sca"
},
{
"path": "pxq/manifest.json",
"chars": 317,
"preview": "{\n \"short_name\": \"React App\",\n \"name\": \"Create React App Sample\",\n \"icons\": [\n {\n \"src\": \"favicon.ico\",\n "
},
{
"path": "pxq/service-worker.js",
"chars": 3713,
"preview": "\"use strict\";var precacheConfig=[[\"/pxq/index.html\",\"875215ec8d140e525fd454d2c022057b\"],[\"/pxq/static/css/main.fc2ff5ec."
},
{
"path": "pxq/static/css/main.fc2ff5ec.css",
"chars": 10997,
"preview": "@font-face{font-family:iconfont;src:url(/pxq/static/media/iconfont.7e008a77.eot);src:url(/pxq/static/media/iconfont.7e00"
},
{
"path": "pxq/static/js/0.c353ab85.chunk.js",
"chars": 11703,
"preview": "webpackJsonp([0],{514:function(e,t,n){\"use strict\";function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call"
},
{
"path": "pxq/static/js/1.af913d75.chunk.js",
"chars": 6819,
"preview": "webpackJsonp([1],{516:function(e,t,n){\"use strict\";function o(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call"
},
{
"path": "pxq/static/js/2.a96eb65f.chunk.js",
"chars": 3523,
"preview": "webpackJsonp([2],{515:function(e,t,n){\"use strict\";function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call"
},
{
"path": "pxq/static/js/3.ff2875c3.chunk.js",
"chars": 6349,
"preview": "webpackJsonp([3],{517:function(e,t,n){\"use strict\";function r(e){return function(){var t=e.apply(this,arguments);return "
},
{
"path": "pxq/static/js/main.83dc4a4d.js",
"chars": 425043,
"preview": "!function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.e"
},
{
"path": "scripts/build.js",
"chars": 5269,
"preview": "// @remove-on-eject-begin\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the"
},
{
"path": "scripts/eject.js",
"chars": 8424,
"preview": "// @remove-file-on-eject\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the "
},
{
"path": "scripts/init.js",
"chars": 5813,
"preview": "// @remove-file-on-eject\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the "
},
{
"path": "scripts/start.js",
"chars": 3396,
"preview": "// @remove-on-eject-begin\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the"
},
{
"path": "scripts/test.js",
"chars": 1427,
"preview": "// @remove-on-eject-begin\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the"
},
{
"path": "scripts/utils/createJestConfig.js",
"chars": 3250,
"preview": "// @remove-file-on-eject\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the "
},
{
"path": "src/api/api.js",
"chars": 2586,
"preview": "import Server from './server';\n\nclass API extends Server{\n /**\n * 用途:上传图片\n * @url https://elm.cangdu.org/v1/addim"
},
{
"path": "src/api/server.js",
"chars": 1408,
"preview": "import axios from 'axios';\nimport envconfig from '@/envconfig/envconfig';\n/**\n * 主要params参数\n * @params method {string} 方"
},
{
"path": "src/assets/iconfonts/iconfont.css",
"chars": 5229,
"preview": "\n@font-face {font-family: \"iconfont\";\n src: url('iconfont.eot?t=1515590359802'); /* IE9*/\n src: url('iconfont.eot?t=15"
},
{
"path": "src/components/TouchableOpacity/TouchableOpacity.jsx",
"chars": 889,
"preview": "import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport { is, fromJS } from 'immutable';\nim"
},
{
"path": "src/components/TouchableOpacity/TouchableOpacity.less",
"chars": 128,
"preview": "/*\n* @Author: cangdu\n* @Date: 2018-05-10 19:03:13\n* @Last Modified by: cangdu\n* @Last Modified time: 2018-05-10 19:0"
},
{
"path": "src/components/alert/alert.jsx",
"chars": 1442,
"preview": "import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport { is, fromJS } from 'immutable';\nim"
},
{
"path": "src/components/alert/alert.less",
"chars": 670,
"preview": "@import (reference) \"../../style/mixin.less\";\n\n.alert-con{\n .coverScreen(fixed, rgba(0, 0, 0, 0.3));\n z-index: 11;\n}\n."
},
{
"path": "src/components/header/header.jsx",
"chars": 2079,
"preview": "import React, { Component } from 'react';\nimport { is, fromJS } from 'immutable';\nimport { NavLink } from 'react-router-"
},
{
"path": "src/components/header/header.less",
"chars": 1210,
"preview": "@import (reference) \"../../style/mixin.less\";\n@import \"../../assets/iconfonts/iconfont.css\";\n\n.header-container{\n backg"
},
{
"path": "src/envconfig/envconfig.js",
"chars": 221,
"preview": "/**\n * 全局配置文件\n */\nlet baseURL; \nlet imgUrl = '//elm.cangdu.org/img/';\nif(process.env.NODE_ENV === 'development'){\n base"
},
{
"path": "src/index.js",
"chars": 864,
"preview": "import React from 'react';\nimport ReactDOM from 'react-dom';\nimport Route from './router/';\nimport FastClick from 'fastc"
},
{
"path": "src/pages/balance/balance.jsx",
"chars": 2688,
"preview": "import React, { Component } from 'react';\nimport { is, fromJS } from 'immutable';\nimport PublicHeader from '@/components"
},
{
"path": "src/pages/balance/balance.less",
"chars": 581,
"preview": "@import (reference) \"../../style/mixin.less\";\n\n\n.broke-main-content{\n padding-top: @common-wd;\n .broke-header{\n .fo"
},
{
"path": "src/pages/helpcenter/helpcenter.jsx",
"chars": 1035,
"preview": "import React, { Component } from 'react';\nimport PublicHeader from '@/components/header/header'; \nimport { is, fromJS } "
},
{
"path": "src/pages/helpcenter/helpcenter.less",
"chars": 234,
"preview": ".context-con{\n margin-top: 100px;\n padding: 20px;\n h2{\n font-size: 45px;\n text-align: center;\n margin-bottom"
},
{
"path": "src/pages/home/home.jsx",
"chars": 5414,
"preview": "import React, { Component } from 'react';\nimport { Link } from 'react-router-dom';\nimport { connect } from 'react-redux'"
},
{
"path": "src/pages/home/home.less",
"chars": 1367,
"preview": "@import (reference) \"../../style/mixin.less\";\n\n.home-container{\n padding-top: 88px;\n .common-title{\n .font(36px, @b"
},
{
"path": "src/pages/production/production.jsx",
"chars": 2513,
"preview": "import React, { Component } from 'react';\nimport { is, fromJS } from 'immutable';\nimport { connect } from 'react-redux';"
},
{
"path": "src/pages/production/production.less",
"chars": 862,
"preview": "@import (reference) \"../../style/mixin.less\";\n@import \"../../assets/iconfonts/iconfont.css\";\n\n.pro-list-con{\n padding-t"
},
{
"path": "src/pages/record/components/recordList.jsx",
"chars": 1886,
"preview": "import React, { Component } from 'react';\nimport { is, fromJS } from 'immutable';\nimport API from '@/api/api';\nimport '."
},
{
"path": "src/pages/record/components/recordList.less",
"chars": 662,
"preview": "@import (reference) \"../../../style/mixin.less\";\n\n.record-list-con{\n .record-item{\n background-color: #fff;\n marg"
},
{
"path": "src/pages/record/record.jsx",
"chars": 2233,
"preview": "import React, { Component } from 'react';\nimport { is, fromJS } from 'immutable';\nimport { NavLink, Switch, Route, Redir"
},
{
"path": "src/pages/record/record.less",
"chars": 681,
"preview": "@import (reference) \"../../style/mixin.less\";\n\n.record-nav-con{\n height: 110px;\n position: relative;\n .record-nav{\n "
},
{
"path": "src/registerServiceWorker.js",
"chars": 4021,
"preview": "// In production, we register a service worker to serve assets from local cache.\n\n// This lets the app load faster on su"
},
{
"path": "src/router/index.js",
"chars": 1066,
"preview": "import React, { Component } from 'react';\nimport { HashRouter, Switch, Route, Redirect } from 'react-router-dom';\nimport"
},
{
"path": "src/store/home/action-type.js",
"chars": 141,
"preview": "// 保存表单数据\nexport const SAVEFORMDATA = 'SAVEFORMDATA';\n// 保存图片\nexport const SAVEIMG = 'SAVEIMG';\n// 清空数据\nexport const CLE"
},
{
"path": "src/store/home/action.js",
"chars": 355,
"preview": "import * as home from './action-type';\n\n// 保存表单数据\nexport const saveFormData = (value, datatype) => {\n return {\n type"
},
{
"path": "src/store/home/reducer.js",
"chars": 516,
"preview": "import * as home from './action-type';\n\nlet defaultState = {\n orderSum: '', //金额\n name: '', //姓名\n phoneNo: '', //手机号\n"
},
{
"path": "src/store/production/action-type.js",
"chars": 217,
"preview": "// 保存商品数据\nexport const GETPRODUCTION = 'GETPRODUCTION';\n// 选择商品\nexport const TOGGLESELECT = 'TOGGLESELECT';\n// 编辑商品\nexpo"
},
{
"path": "src/store/production/action.js",
"chars": 816,
"preview": "import * as pro from './action-type';\nimport API from '@/api/api';\n\n// 初始化获取商品数据,保存至redux\nexport const getProData = () ="
},
{
"path": "src/store/production/reducer.js",
"chars": 1779,
"preview": "import * as pro from './action-type';\nimport Immutable from 'immutable';\n\nlet defaultState = {\n /**\n * 商品数据\n * @typ"
},
{
"path": "src/store/store.js",
"chars": 315,
"preview": "import {createStore, combineReducers, applyMiddleware} from 'redux';\nimport * as home from './home/reducer';\nimport * as"
},
{
"path": "src/style/base.css",
"chars": 1278,
"preview": "*{\n margin: 0;\n padding: 0;\n /*防止点击闪烁*/\n -webkit-tap-highlight-color: transparent;\n /*缩放网页,文字大小不变*/\n -webkit-text-"
},
{
"path": "src/style/mixin.less",
"chars": 1524,
"preview": "@base-color: #975ec9;\n@common-wd: 30px;\n@assets-img: '../assets/images/';\n@base-red: #F20500;\n\n.flex(@justify-content: c"
},
{
"path": "src/utils/asyncComponent.jsx",
"chars": 525,
"preview": "import React, { Component } from \"react\";\n\nexport default function asyncComponent(importComponent) {\n class AsyncCompon"
},
{
"path": "src/utils/mixin.js",
"chars": 680,
"preview": "export default methods => {\n return target => {\n Object.assign(target.prototype, methods);\n }\n}\n\n/**\n * 字符串填充函数\n * "
},
{
"path": "src/utils/setRem.js",
"chars": 299,
"preview": "(function(psdw){\n var dpr=0 , rem=0 , scale=0;\n var htmlDOM=document.documentElement;\n dpr=window.devicePixelRatio;\n "
}
]
About this extraction
This page contains the full source code of the bailicangdu/react-pxq GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 70 files (603.9 KB), approximately 204.0k tokens, and a symbol index with 810 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.