'use strict'
!(function(require, directRequire) {
  const a = require('react'),
    b = require('./3b5f8e2469c474c8d433c1c6926d8999.js'),
    c = require('./3bfffbe88b3d923921f851c0697974fe.js'),
    d = require('./NavigationBar.js'),
    e = require('./4389a88e405d1d37f36c16fc0ec96540.js'),
    {
      enterBackground: f,
      enterForeground: g
    } = require('./a3959bb900db9f65ed2e9c5dfa6977b7.js')
  class h extends a.Component {
    constructor(a) {
      super(a)
    }
    componentDidMount() {
      f('chooseAddress')
    }
    componentWillUnmount() {
      g('chooseAddress')
    }
    render() {
      const b = this.props
      let c
      return (
        (c = global.onlySimulator
          ? {
              top: 0,
              left: 0,
              display: b.show ? '' : 'none',
              width: b.screenWidth,
              height: b.screenHeight,
              transform: `scale(${b.deviceScale})`,
              transformOrigin: '50% 0'
            }
          : {
              display: b.show ? '' : 'none',
              width: b.screenWidth,
              height: b.screenHeight,
              marginLeft: -b.screenWidth / 2,
              transform: `scale(${b.deviceScale})`,
              transformOrigin: '50% 0'
            }),
        a.createElement(
          'div',
          { className: 'simulator', style: c },
          a.createElement(e, null),
          a.createElement(d, {
            frontColor: '#ffffff',
            backgroundColor: '#000000',
            showRightBtn: !0,
            onCustomRightClick: this.onRightButtonClick.bind(this),
            leftBtnText: '\u53D6\u6D88',
            rightBtnText: '\u786E\u5B9A',
            height: b.navigationbarHeight,
            showLeftBtn: !0,
            title: '\u9009\u62E9\u5730\u5740',
            onLeftBtnClick: this.onLeftButtonClick.bind(this)
          }),
          a.createElement(
            'div',
            { className: 'webview' },
            a.createElement(
              'div',
              { className: 'address' },
              a.createElement(
                'div',
                { className: 'weui-cells weui-cells_radio' },
                a.createElement(
                  'label',
                  { className: 'weui-cell weui-check__label', htmlFor: 'x11' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement('input', {
                      type: 'checkbox',
                      className: 'weui-check',
                      name: 'checkbox1',
                      id: 's11',
                      checked: 'checked',
                      readOnly: !0
                    }),
                    a.createElement('i', { className: 'weui-icon-checked' })
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('p', null, '\u5F20\u4E09'),
                    a.createElement(
                      'p',
                      { className: 'ui-desc' },
                      '\u5E7F\u4E1C\u7701\u5E7F\u5DDE\u5E02\u6D77\u73E0\u533A\u65B0\u6E2F\u4E2D\u8DEF397\u53F7'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__ft' },
                    a.createElement('i', { className: 'weui-icon-info-circle' })
                  )
                )
              )
            )
          )
        )
      )
    }
    onLeftButtonClick() {
      this.props.hideChooseAddress &&
        this.props.hideChooseAddress.call(null, {
          confirm: !1,
          callbackID: this.props.callbackID,
          api: this.props.api
        })
    }
    onRightButtonClick() {
      this.props.hideChooseAddress &&
        this.props.hideChooseAddress.call(null, {
          confirm: !0,
          callbackID: this.props.callbackID,
          api: this.props.api
        })
    }
  }
  module.exports = h
})(require('lazyload'), require)
