!(function () {
  function e(e, t) {
    var o = Object.keys(e)
    if (Object.getOwnPropertySymbols) {
      var n = Object.getOwnPropertySymbols(e)
      t &&
        (n = n.filter(function (t) {
          return Object.getOwnPropertyDescriptor(e, t).enumerable
        })),
        o.push.apply(o, n)
    }
    return o
  }
  function t(t) {
    for (var n = 1; n < arguments.length; n++) {
      var r = null != arguments[n] ? arguments[n] : {}
      n % 2
        ? e(Object(r), !0).forEach(function (e) {
            o(t, e, r[e])
          })
        : Object.getOwnPropertyDescriptors
        ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r))
        : e(Object(r)).forEach(function (e) {
            Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(r, e))
          })
    }
    return t
  }
  function o(e, t, o) {
    return (
      t in e
        ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 })
        : (e[t] = o),
      e
    )
  }
  function n(e, t, o, n, r, i, a) {
    try {
      var c = e[i](a),
        s = c.value
    } catch (l) {
      return void o(l)
    }
    c.done ? t(s) : Promise.resolve(s).then(n, r)
  }
  function r(e) {
    return function () {
      var t = this,
        o = arguments
      return new Promise(function (r, i) {
        var a = e.apply(t, o)
        function c(e) {
          n(a, r, i, c, s, 'next', e)
        }
        function s(e) {
          n(a, r, i, c, s, 'throw', e)
        }
        c(void 0)
      })
    }
  }
  function i(e, t) {
    return (
      (function (e) {
        if (Array.isArray(e)) return e
      })(e) ||
      (function (e, t) {
        var o =
          null == e ? null : ('undefined' != typeof Symbol && e[Symbol.iterator]) || e['@@iterator']
        if (null == o) return
        var n,
          r,
          i = [],
          a = !0,
          c = !1
        try {
          for (
            o = o.call(e);
            !(a = (n = o.next()).done) && (i.push(n.value), !t || i.length !== t);
            a = !0
          );
        } catch (s) {
          ;(c = !0), (r = s)
        } finally {
          try {
            a || null == o.return || o.return()
          } finally {
            if (c) throw r
          }
        }
        return i
      })(e, t) ||
      a(e, t) ||
      (function () {
        throw new TypeError(
          'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
        )
      })()
    )
  }
  function a(e, t) {
    if (e) {
      if ('string' == typeof e) return c(e, t)
      var o = Object.prototype.toString.call(e).slice(8, -1)
      return (
        'Object' === o && e.constructor && (o = e.constructor.name),
        'Map' === o || 'Set' === o
          ? Array.from(e)
          : 'Arguments' === o || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)
          ? c(e, t)
          : void 0
      )
    }
  }
  function c(e, t) {
    ;(null == t || t > e.length) && (t = e.length)
    for (var o = 0, n = new Array(t); o < t; o++) n[o] = e[o]
    return n
  }
  var s = document.createElement('style')
  ;(s.innerHTML =
    'html,body,p,div,span{padding:0;margin:0;border:0}._van-field--error_1lnaq_10 ._van-field__control_1lnaq_10::-moz-placeholder{color:#c8c9cc;-webkit-text-fill-color:currentColor}._van-field--error_1lnaq_10 ._van-field__control_1lnaq_10,._van-field--error_1lnaq_10 ._van-field__control_1lnaq_10::placeholder{color:#c8c9cc;-webkit-text-fill-color:currentColor}._register_1lnaq_15{background:url(./assets/banner1.8945bb6c.png) no-repeat top center #f8f8f8;background-size:contain;max-width:20rem;margin:0 auto;min-height:100vh;overflow:hidden}._register_1lnaq_15 .van-cell{flex-direction:column;font-size:.42667rem;padding:.37333rem .34667rem}._register_1lnaq_15 .van-field__label{width:100%;margin-right:0;color:#333;font-size:.42667rem;font-weight:500}._register_1lnaq_15 .van-cell--required:before{left:.4rem}._register_1lnaq_15 .van-field__body{margin-top:.26667rem}._register_1lnaq_15 .van-form{margin-top:4.64rem;overflow:hidden}._register_1lnaq_15 .van-tag+.van-tag{margin-left:.21333rem}._banner_1lnaq_50,._banner_1lnaq_50 img{width:100%;font-size:0}._radioSection_1lnaq_55+._radioSection_1lnaq_55{margin-left:.32rem}._btn-submit_1lnaq_58{width:90%;margin:.53333rem auto}._system_1lnaq_62 h2{font-size:.48rem;font-weight:500;margin:.26667rem .64rem;color:#444}._system_1lnaq_62 ._van-cell--required_1lnaq_35:before{left:.66667rem}._cell-group_1lnaq_71{margin:0 .34667rem .37333rem;border-radius:.26667rem;padding-bottom:.26667rem}._top-tips_1lnaq_76{margin:.8rem .34667rem .53333rem;padding:.24rem .18667rem;background:#ffffff;border-radius:.26667rem;border:.13333rem solid #be93ff;font-size:.37333rem;font-weight:500;color:#724da9;line-height:.53333rem}._title_1lnaq_87{position:absolute;top:0;left:0;padding:3.06667rem .64rem 0;width:57%;font-size:.74667rem;font-weight:600;color:#fff;line-height:.90667rem;letter-spacing:.02667rem}._tips_1lnaq_101{font-size:.42667rem;font-weight:500;color:#fff;line-height:.58667rem;text-shadow:0 .02667rem .13333rem #ff5e20;display:flex;align-items:center}._tips_1lnaq_101 img{margin-right:.21333rem;width:.48rem;height:.48rem}._radioSection_1lnaq_55{position:relative}._radioItem_1lnaq_118{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}._van-picker__confirm_1lnaq_126{color:#f67146!important}._stautsS_1lnaq_130{position:relative}._submit-container_1lnaq_133{padding:.53333rem .69333rem .69333rem;text-align:center}._icon-close_1lnaq_137{position:absolute;width:.69333rem;height:.69333rem;top:.32rem;right:.32rem}._submit-img_1lnaq_144{width:100%}._submit-title_1lnaq_147{font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem}._submit-o_1lnaq_153{padding-top:.26667rem;font-size:.4rem;font-weight:500;color:#333;line-height:.56rem}._submit-o_1lnaq_153 span{color:#f67146}._submit-tips_1lnaq_163{font-size:.37333rem;color:#777;line-height:.53333rem;padding-top:.13333rem;padding-bottom:.53333rem}._submit-container_1lnaq_133 ._van-button_1lnaq_170{font-size:.48rem;font-weight:500}._cell_title_1lnaq_174{margin:0 .34667rem .21333rem;display:inline-block;padding:.05333rem .16rem .08rem;background:#64a9ff;border-radius:.16rem;font-size:.4rem;font-weight:600;color:#fff}._protocol_1lnaq_184{display:flex;align-items:center;justify-content:center;font-size:.32rem;color:#aaa;line-height:.45333rem}._protocol_1lnaq_184 ._c_1lnaq_71{color:#f67146}._phoneTips_1lnaq_195{margin:.32rem .32rem .08rem;background:#ffebdd;border-radius:.16rem;font-size:.34667rem;color:#f67146;padding:.24rem .26667rem}._uploader-section_jyku5_1{margin:.26667rem 0;height:3.86667rem;border:.02667rem dashed #ccc;border-radius:.26667rem;box-sizing:border-box;position:relative}._uploader-section_jyku5_1 ._img-close_jyku5_9{position:absolute;top:.21333rem;right:.26667rem;z-index:99;font-size:.42667rem;background-color:#333;color:#fff;width:.58667rem;height:.58667rem;display:flex;justify-content:center;align-items:center;border-radius:50%}._uploader-section_jyku5_1 ._col-uploader_jyku5_24,._uploader-section_jyku5_1 .van-uploader{width:100%;height:100%;align-items:center;display:flex;justify-content:center}._uploader-section_jyku5_1 .van-uploader__wrapper,._uploader-section_jyku5_1 .van-uploader__input-wrapper{display:flex;align-items:center;justify-content:center;width:inherit;height:inherit}._uploader-section_jyku5_1 ._uploader_jyku5_1{display:flex;align-items:center;justify-content:center;flex-direction:column}._uploader-section_jyku5_1 ._uploader_jyku5_1 ._uploaderText_jyku5_52{font-size:.37333rem;color:#999;margin-top:.21333rem}._uploader-section_jyku5_1 ._uploadImg_jyku5_57{width:100%;height:100%;overflow:hidden}.vue-cropper[data-v-be5e5ddc]{position:relative;width:100%;height:100%;box-sizing:border-box;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;direction:ltr;touch-action:none;text-align:left;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC)}.cropper-box[data-v-be5e5ddc],.cropper-box-canvas[data-v-be5e5ddc],.cropper-drag-box[data-v-be5e5ddc],.cropper-crop-box[data-v-be5e5ddc],.cropper-face[data-v-be5e5ddc]{position:absolute;top:0;right:0;bottom:0;left:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cropper-box-canvas img[data-v-be5e5ddc]{position:relative;text-align:left;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform:none;max-width:none;max-height:none}.cropper-box[data-v-be5e5ddc]{overflow:hidden}.cropper-move[data-v-be5e5ddc]{cursor:move}.cropper-crop[data-v-be5e5ddc]{cursor:crosshair}.cropper-modal[data-v-be5e5ddc]{background:rgba(0,0,0,.5)}.cropper-view-box[data-v-be5e5ddc]{display:block;overflow:hidden;width:100%;height:100%;outline:.02667rem solid #39f;outline-color:rgba(51,153,255,.75);-webkit-user-select:none;-moz-user-select:none;user-select:none}.cropper-view-box img[data-v-be5e5ddc]{-webkit-user-select:none;-moz-user-select:none;user-select:none;text-align:left;max-width:none;max-height:none}.cropper-face[data-v-be5e5ddc]{top:0;left:0;background-color:#fff;opacity:.1}.crop-info[data-v-be5e5ddc]{position:absolute;left:0;min-width:1.73333rem;text-align:center;color:#fff;line-height:.53333rem;background-color:rgba(0,0,0,.8);font-size:.32rem}.crop-line[data-v-be5e5ddc]{position:absolute;display:block;width:100%;height:100%;opacity:.1}.line-w[data-v-be5e5ddc]{top:-.08rem;left:0;height:.13333rem;cursor:n-resize}.line-a[data-v-be5e5ddc]{top:0;left:-.08rem;width:.13333rem;cursor:w-resize}.line-s[data-v-be5e5ddc]{bottom:-.08rem;left:0;height:.13333rem;cursor:s-resize}.line-d[data-v-be5e5ddc]{top:0;right:-.08rem;width:.13333rem;cursor:e-resize}.crop-point[data-v-be5e5ddc]{position:absolute;width:.21333rem;height:.21333rem;opacity:.75;background-color:#39f;border-radius:100%}.point1[data-v-be5e5ddc]{top:-.10667rem;left:-.10667rem;cursor:nw-resize}.point2[data-v-be5e5ddc]{top:-.13333rem;left:50%;margin-left:-.08rem;cursor:n-resize}.point3[data-v-be5e5ddc]{top:-.10667rem;right:-.10667rem;cursor:ne-resize}.point4[data-v-be5e5ddc]{top:50%;left:-.10667rem;margin-top:-.08rem;cursor:w-resize}.point5[data-v-be5e5ddc]{top:50%;right:-.10667rem;margin-top:-.08rem;cursor:e-resize}.point6[data-v-be5e5ddc]{bottom:-.13333rem;left:-.10667rem;cursor:sw-resize}.point7[data-v-be5e5ddc]{bottom:-.13333rem;left:50%;margin-left:-.08rem;cursor:s-resize}.point8[data-v-be5e5ddc]{bottom:-.13333rem;right:-.10667rem;cursor:se-resize}@media screen and (max-width: 500px){.crop-point[data-v-be5e5ddc]{position:absolute;width:.53333rem;height:.53333rem;opacity:.45;background-color:#39f;border-radius:100%}.point1[data-v-be5e5ddc]{top:-.26667rem;left:-.26667rem}.point2[data-v-be5e5ddc],.point4[data-v-be5e5ddc],.point5[data-v-be5e5ddc],.point7[data-v-be5e5ddc]{display:none}.point3[data-v-be5e5ddc]{top:-.26667rem;right:-.26667rem}.point4[data-v-be5e5ddc]{top:0;left:0}.point6[data-v-be5e5ddc]{bottom:-.26667rem;left:-.26667rem}.point8[data-v-be5e5ddc]{bottom:-.26667rem;right:-.26667rem}}._upbtn_15vje_1{width:100%;height:100%}._uploadWarper_15vje_5{position:absolute;left:0;right:0;top:0;bottom:0}._bg_15vje_12{position:fixed;top:0;height:100vh;width:100%;background-color:#000;left:0;z-index:1000001}._btn_15vje_21{height:8vw;padding:0;line-height:8vw;font-size:4vw;padding:0 3.5vw;border-radius:1.333vw;text-align:center}._btn1_15vje_33{height:8vw;line-height:8vw;font-size:4vw;padding:0 4vw;border-radius:1.333vw;text-align:center;background-color:#5b6e96}._img_15vje_44{height:8vw;width:8vw;position:absolute;left:calc(50% - 4vw);background-image:url(data:image/png;base64,[encoded data, 8840 characters]);background-size:100% 100%}._btndiv_15vje_53{height:13.333vw;color:#fff;justify-content:space-between;display:flex;align-items:center;padding:0 4vw;line-height:13.333vw;font-size:4vw;position:relative}._wrapper_15vje_64{height:calc(100vh - 21.333vw);padding:4vw}._wrapper_15vje_64 .crop-point{opacity:0;z-index:523}._wrapper_15vje_64 .cropper-view-box{outline:.02667rem solid #fff;border:.02667rem solid #fff}._wrapper_15vje_64 .vue-cropper{background-color:#000;background-image:none}\n'),
    document.head.appendChild(s),
    System.register(
      [
        './area-legacy.ab68f48a.js',
        './index-legacy.2ae28dc5.js',
        './validate-legacy.1c2c1454.js',
        './index-legacy.47d88c54.js',
        './index-legacy.d61b8a1f.js',
        './function-call-legacy.5d08d5e0.js',
        './index-legacy.97665c37.js',
        './index-legacy.26638f55.js',
        './index-legacy.261ae52e.js',
        './index-legacy.79fdf090.js',
        './index-legacy.ef15ba2a.js',
        './index-legacy.eea1c236.js',
        './index-legacy.13f9f10f.js',
        './index-legacy.1fccc4ce.js',
        './use-tab-status-legacy.17f6d490.js',
        './index-legacy.f900000d.js',
        './index-legacy.51e5b886.js'
      ],
      function (e) {
        'use strict'
        var o,
          n,
          c,
          s,
          l,
          u,
          h,
          d,
          p,
          f,
          g,
          m,
          v,
          b,
          w,
          y,
          C,
          A,
          x,
          k,
          S,
          I,
          O,
          _,
          B,
          E,
          j,
          T,
          M,
          R,
          Y,
          z,
          X,
          q,
          H,
          N,
          W,
          D,
          L,
          F,
          Q,
          U
        return {
          setters: [
            function (e) {
              ;(o = e.a), (n = e.F)
            },
            function (e) {
              ;(c = e.d),
                (s = e.o),
                (l = e.a_),
                (u = e.a8),
                (h = e.ax),
                (d = e.a$),
                (p = e.b0),
                (f = e.b1),
                (g = e.b2),
                (m = e.b3),
                (v = e.k),
                (b = e.p),
                (w = e.j),
                (y = e.b4),
                (C = e.s),
                (A = e.g),
                (x = e.b5),
                (k = e.b6),
                (S = e.b7),
                (I = e.aR),
                (O = e.a2),
                (_ = e.b8),
                (B = e.R),
                (E = e.X),
                (j = e.B),
                (T = e.l),
                (M = e.F),
                (R = e.P)
            },
            function (e) {
              ;(Y = e.I), (z = e.c)
            },
            function (e) {
              X = e.U
            },
            function (e) {
              q = e.I
            },
            function (e) {
              H = e.a
            },
            function (e) {
              N = e.P
            },
            function (e) {
              W = e.C
            },
            function (e) {
              D = e.F
            },
            function (e) {
              ;(L = e.R), (F = e.a)
            },
            function (e) {
              Q = e.T
            },
            function (e) {
              U = e.C
            },
            function () {},
            function () {},
            function () {},
            function () {},
            function () {}
          ],
          execute: function () {
            var J = {
                'van-field--error': '_van-field--error_1lnaq_10',
                'van-field__control': '_van-field__control_1lnaq_10',
                register: '_register_1lnaq_15',
                banner: '_banner_1lnaq_50',
                radioSection: '_radioSection_1lnaq_55',
                'btn-submit': '_btn-submit_1lnaq_58',
                system: '_system_1lnaq_62',
                'van-cell--required': '_van-cell--required_1lnaq_35',
                'cell-group': '_cell-group_1lnaq_71',
                'top-tips': '_top-tips_1lnaq_76',
                title: '_title_1lnaq_87',
                tips: '_tips_1lnaq_101',
                radioItem: '_radioItem_1lnaq_118',
                'van-picker__confirm': '_van-picker__confirm_1lnaq_126',
                stautsS: '_stautsS_1lnaq_130',
                'submit-container': '_submit-container_1lnaq_133',
                'icon-close': '_icon-close_1lnaq_137',
                'submit-img': '_submit-img_1lnaq_144',
                'submit-title': '_submit-title_1lnaq_147',
                'submit-o': '_submit-o_1lnaq_153',
                'submit-tips': '_submit-tips_1lnaq_163',
                'van-button': '_van-button_1lnaq_170',
                cell_title: '_cell_title_1lnaq_174',
                protocol: '_protocol_1lnaq_184',
                c: '_c_1lnaq_71',
                phoneTips: '_phoneTips_1lnaq_195'
              },
              V = '_uploader-section_jyku5_1',
              P = '_img-close_jyku5_9',
              K = '_col-uploader_jyku5_24',
              G = '_uploader_jyku5_1',
              Z = '_uploaderText_jyku5_52',
              $ = '_uploadImg_jyku5_57',
              ee = {}
            ee.getData = function (e) {
              return new Promise(function (t, o) {
                var n = {}
                ;(function (e) {
                  var t = null
                  return new Promise(function (o, n) {
                    if (e.src)
                      if (/^data\:/i.test(e.src))
                        (t = (function (e) {
                          e = e.replace(/^data\:([^\;]+)\;base64,/gim, '')
                          for (
                            var t = atob(e),
                              o = t.length,
                              n = new ArrayBuffer(o),
                              r = new Uint8Array(n),
                              i = 0;
                            i < o;
                            i++
                          )
                            r[i] = t.charCodeAt(i)
                          return n
                        })(e.src)),
                          o(t)
                      else if (/^blob\:/i.test(e.src)) {
                        var r = new FileReader()
                        ;(r.onload = function (e) {
                          ;(t = e.target.result), o(t)
                        }),
                          (function (e, t) {
                            var o = new XMLHttpRequest()
                            o.open('GET', e, !0),
                              (o.responseType = 'blob'),
                              (o.onload = function (e) {
                                ;(200 != this.status && 0 !== this.status) || t(this.response)
                              }),
                              o.send()
                          })(e.src, function (e) {
                            r.readAsArrayBuffer(e)
                          })
                      } else {
                        var i = new XMLHttpRequest()
                        ;(i.onload = function () {
                          if (200 != this.status && 0 !== this.status) throw 'Could not load image'
                          ;(t = i.response), o(t), (i = null)
                        }),
                          i.open('GET', e.src, !0),
                          (i.responseType = 'arraybuffer'),
                          i.send(null)
                      }
                    else n('img error')
                  })
                })(e)
                  .then(function (e) {
                    ;(n.arrayBuffer = e),
                      (n.orientation = (function (e) {
                        var t,
                          o,
                          n,
                          r,
                          i,
                          a,
                          c,
                          s,
                          l,
                          u = new DataView(e),
                          h = u.byteLength
                        if (255 === u.getUint8(0) && 216 === u.getUint8(1))
                          for (s = 2; s < h; ) {
                            if (255 === u.getUint8(s) && 225 === u.getUint8(s + 1)) {
                              a = s
                              break
                            }
                            s++
                          }
                        a &&
                          ((o = a + 10),
                          'Exif' ===
                            (function (e, t, o) {
                              var n,
                                r = ''
                              for (n = t, o += t; n < o; n++)
                                r += String.fromCharCode(e.getUint8(n))
                              return r
                            })(u, a + 4, 4) &&
                            ((r = 18761 === (i = u.getUint16(o))) || 19789 === i) &&
                            42 === u.getUint16(o + 2, r) &&
                            (n = u.getUint32(o + 4, r)) >= 8 &&
                            (c = o + n))
                        if (c)
                          for (h = u.getUint16(c, r), l = 0; l < h; l++)
                            if (((s = c + 12 * l + 2), 274 === u.getUint16(s, r))) {
                              ;(s += 8), (t = u.getUint16(s, r))
                              break
                            }
                        return t
                      })(e)),
                      t(n)
                  })
                  .catch(function (e) {
                    o(e)
                  })
              })
            }
            var te = function (e, t) {
                var o,
                  n = e.__vccOpts || e,
                  r = (function (e, t) {
                    var o = ('undefined' != typeof Symbol && e[Symbol.iterator]) || e['@@iterator']
                    if (!o) {
                      if (
                        Array.isArray(e) ||
                        (o = a(e)) ||
                        (t && e && 'number' == typeof e.length)
                      ) {
                        o && (e = o)
                        var n = 0,
                          r = function () {}
                        return {
                          s: r,
                          n: function () {
                            return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] }
                          },
                          e: function (e) {
                            throw e
                          },
                          f: r
                        }
                      }
                      throw new TypeError(
                        'Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
                      )
                    }
                    var i,
                      c = !0,
                      s = !1
                    return {
                      s: function () {
                        o = o.call(e)
                      },
                      n: function () {
                        var e = o.next()
                        return (c = e.done), e
                      },
                      e: function (e) {
                        ;(s = !0), (i = e)
                      },
                      f: function () {
                        try {
                          c || null == o.return || o.return()
                        } finally {
                          if (s) throw i
                        }
                      }
                    }
                  })(t)
                try {
                  for (r.s(); !(o = r.n()).done; ) {
                    var c = i(o.value, 2),
                      s = c[0],
                      l = c[1]
                    n[s] = l
                  }
                } catch (u) {
                  r.e(u)
                } finally {
                  r.f()
                }
                return n
              },
              oe = c({
                data: function () {
                  return {
                    w: 0,
                    h: 0,
                    scale: 1,
                    x: 0,
                    y: 0,
                    loading: !0,
                    trueWidth: 0,
                    trueHeight: 0,
                    move: !0,
                    moveX: 0,
                    moveY: 0,
                    crop: !1,
                    cropping: !1,
                    cropW: 0,
                    cropH: 0,
                    cropOldW: 0,
                    cropOldH: 0,
                    canChangeX: !1,
                    canChangeY: !1,
                    changeCropTypeX: 1,
                    changeCropTypeY: 1,
                    cropX: 0,
                    cropY: 0,
                    cropChangeX: 0,
                    cropChangeY: 0,
                    cropOffsertX: 0,
                    cropOffsertY: 0,
                    support: '',
                    touches: [],
                    touchNow: !1,
                    rotate: 0,
                    isIos: !1,
                    orientation: 0,
                    imgs: '',
                    coe: 0.2,
                    scaling: !1,
                    scalingSet: '',
                    coeStatus: '',
                    isCanShow: !0
                  }
                },
                props: {
                  img: { type: [String, Blob, null, File], default: '' },
                  outputSize: { type: Number, default: 1 },
                  outputType: { type: String, default: 'jpeg' },
                  info: { type: Boolean, default: !0 },
                  canScale: { type: Boolean, default: !0 },
                  autoCrop: { type: Boolean, default: !1 },
                  autoCropWidth: { type: [Number, String], default: 0 },
                  autoCropHeight: { type: [Number, String], default: 0 },
                  fixed: { type: Boolean, default: !1 },
                  fixedNumber: {
                    type: Array,
                    default: function () {
                      return [1, 1]
                    }
                  },
                  fixedBox: { type: Boolean, default: !1 },
                  full: { type: Boolean, default: !1 },
                  canMove: { type: Boolean, default: !0 },
                  canMoveBox: { type: Boolean, default: !0 },
                  original: { type: Boolean, default: !1 },
                  centerBox: { type: Boolean, default: !1 },
                  high: { type: Boolean, default: !0 },
                  infoTrue: { type: Boolean, default: !1 },
                  maxImgSize: { type: [Number, String], default: 2e3 },
                  enlarge: { type: [Number, String], default: 1 },
                  preW: { type: [Number, String], default: 0 },
                  mode: { type: String, default: 'contain' },
                  limitMinSize: {
                    type: [Number, Array, String],
                    default: function () {
                      return 10
                    }
                  }
                },
                computed: {
                  cropInfo: function () {
                    var e = {}
                    if (
                      ((e.top = this.cropOffsertY > 21 ? '-21px' : '0px'),
                      (e.width = this.cropW > 0 ? this.cropW : 0),
                      (e.height = this.cropH > 0 ? this.cropH : 0),
                      this.infoTrue)
                    ) {
                      var t = 1
                      this.high && !this.full && (t = window.devicePixelRatio),
                        (1 !== this.enlarge) & !this.full && (t = Math.abs(Number(this.enlarge))),
                        (e.width = e.width * t),
                        (e.height = e.height * t),
                        this.full &&
                          ((e.width = e.width / this.scale), (e.height = e.height / this.scale))
                    }
                    return (e.width = e.width.toFixed(0)), (e.height = e.height.toFixed(0)), e
                  },
                  isIE: function () {
                    var e = !!window.ActiveXObject || 'ActiveXObject' in window
                    return e
                  },
                  passive: function () {
                    return this.isIE ? null : { passive: !1 }
                  }
                },
                watch: {
                  img: function () {
                    this.checkedImg()
                  },
                  imgs: function (e) {
                    '' !== e && this.reload()
                  },
                  cropW: function () {
                    this.showPreview()
                  },
                  cropH: function () {
                    this.showPreview()
                  },
                  cropOffsertX: function () {
                    this.showPreview()
                  },
                  cropOffsertY: function () {
                    this.showPreview()
                  },
                  scale: function (e, t) {
                    this.showPreview()
                  },
                  x: function () {
                    this.showPreview()
                  },
                  y: function () {
                    this.showPreview()
                  },
                  autoCrop: function (e) {
                    e && this.goAutoCrop()
                  },
                  autoCropWidth: function () {
                    this.autoCrop && this.goAutoCrop()
                  },
                  autoCropHeight: function () {
                    this.autoCrop && this.goAutoCrop()
                  },
                  mode: function () {
                    this.checkedImg()
                  },
                  rotate: function () {
                    this.showPreview(),
                      (this.autoCrop || this.cropW > 0 || this.cropH > 0) &&
                        this.goAutoCrop(this.cropW, this.cropH)
                  }
                },
                methods: {
                  getVersion: function (e) {
                    for (
                      var t = navigator.userAgent.split(' '), o = '', n = new RegExp(e, 'i'), r = 0;
                      r < t.length;
                      r++
                    )
                      n.test(t[r]) && (o = t[r])
                    return o ? o.split('/')[1].split('.') : ['0', '0', '0']
                  },
                  checkOrientationImage: function (e, t, o, n) {
                    var r = this
                    if (this.getVersion('chrome')[0] >= 81) t = -1
                    else if (this.getVersion('safari')[0] >= 605) {
                      var i = this.getVersion('version')
                      i[0] > 13 && i[1] > 1 && (t = -1)
                    } else {
                      var a = navigator.userAgent
                        .toLowerCase()
                        .match(/cpu iphone os (.*?) like mac os/)
                      if (a) {
                        var c = a[1]
                        ;((c = c.split('_'))[0] > 13 || (c[0] >= 13 && c[1] >= 4)) && (t = -1)
                      }
                    }
                    var s = document.createElement('canvas'),
                      l = s.getContext('2d')
                    switch ((l.save(), t)) {
                      case 2:
                        ;(s.width = o), (s.height = n), l.translate(o, 0), l.scale(-1, 1)
                        break
                      case 3:
                        ;(s.width = o),
                          (s.height = n),
                          l.translate(o / 2, n / 2),
                          l.rotate((180 * Math.PI) / 180),
                          l.translate(-o / 2, -n / 2)
                        break
                      case 4:
                        ;(s.width = o), (s.height = n), l.translate(0, n), l.scale(1, -1)
                        break
                      case 5:
                        ;(s.height = o), (s.width = n), l.rotate(0.5 * Math.PI), l.scale(1, -1)
                        break
                      case 6:
                        ;(s.width = n),
                          (s.height = o),
                          l.translate(n / 2, o / 2),
                          l.rotate((90 * Math.PI) / 180),
                          l.translate(-o / 2, -n / 2)
                        break
                      case 7:
                        ;(s.height = o),
                          (s.width = n),
                          l.rotate(0.5 * Math.PI),
                          l.translate(o, -n),
                          l.scale(-1, 1)
                        break
                      case 8:
                        ;(s.height = o),
                          (s.width = n),
                          l.translate(n / 2, o / 2),
                          l.rotate((-90 * Math.PI) / 180),
                          l.translate(-o / 2, -n / 2)
                        break
                      default:
                        ;(s.width = o), (s.height = n)
                    }
                    l.drawImage(e, 0, 0, o, n),
                      l.restore(),
                      s.toBlob(
                        function (e) {
                          var t = URL.createObjectURL(e)
                          URL.revokeObjectURL(r.imgs), (r.imgs = t)
                        },
                        'image/' + this.outputType,
                        1
                      )
                  },
                  checkedImg: function () {
                    var e = this
                    if (null === this.img || '' === this.img)
                      return (this.imgs = ''), void this.clearCrop()
                    ;(this.loading = !0), (this.scale = 1), (this.rotate = 0), this.clearCrop()
                    var t = new Image()
                    if (
                      ((t.onload = function () {
                        if ('' === e.img) return e.$emit('img-load', 'error'), !1
                        var o = t.width,
                          n = t.height
                        ee.getData(t).then(function (r) {
                          e.orientation = r.orientation || 1
                          var i = Number(e.maxImgSize)
                          !e.orientation && (o < i) & (n < i)
                            ? (e.imgs = e.img)
                            : (o > i && ((n = (n / o) * i), (o = i)),
                              n > i && ((o = (o / n) * i), (n = i)),
                              e.checkOrientationImage(t, e.orientation, o, n))
                        })
                      }),
                      (t.onerror = function () {
                        e.$emit('img-load', 'error')
                      }),
                      'data' !== this.img.substr(0, 4) && (t.crossOrigin = ''),
                      this.isIE)
                    ) {
                      var o = new XMLHttpRequest()
                      ;(o.onload = function () {
                        var e = URL.createObjectURL(this.response)
                        t.src = e
                      }),
                        o.open('GET', this.img, !0),
                        (o.responseType = 'blob'),
                        o.send()
                    } else t.src = this.img
                  },
                  startMove: function (e) {
                    if ((e.preventDefault(), this.move && !this.crop)) {
                      if (!this.canMove) return !1
                      ;(this.moveX = ('clientX' in e ? e.clientX : e.touches[0].clientX) - this.x),
                        (this.moveY = ('clientY' in e ? e.clientY : e.touches[0].clientY) - this.y),
                        e.touches
                          ? (window.addEventListener('touchmove', this.moveImg),
                            window.addEventListener('touchend', this.leaveImg),
                            2 == e.touches.length &&
                              ((this.touches = e.touches),
                              window.addEventListener('touchmove', this.touchScale),
                              window.addEventListener('touchend', this.cancelTouchScale)))
                          : (window.addEventListener('mousemove', this.moveImg),
                            window.addEventListener('mouseup', this.leaveImg)),
                        this.$emit('imgMoving', { moving: !0, axis: this.getImgAxis() }),
                        this.$emit('img-moving', { moving: !0, axis: this.getImgAxis() })
                    } else
                      (this.cropping = !0),
                        window.addEventListener('mousemove', this.createCrop),
                        window.addEventListener('mouseup', this.endCrop),
                        window.addEventListener('touchmove', this.createCrop),
                        window.addEventListener('touchend', this.endCrop),
                        (this.cropOffsertX = e.offsetX
                          ? e.offsetX
                          : e.touches[0].pageX - this.$refs.cropper.offsetLeft),
                        (this.cropOffsertY = e.offsetY
                          ? e.offsetY
                          : e.touches[0].pageY - this.$refs.cropper.offsetTop),
                        (this.cropX = 'clientX' in e ? e.clientX : e.touches[0].clientX),
                        (this.cropY = 'clientY' in e ? e.clientY : e.touches[0].clientY),
                        (this.cropChangeX = this.cropOffsertX),
                        (this.cropChangeY = this.cropOffsertY),
                        (this.cropW = 0),
                        (this.cropH = 0)
                  },
                  touchScale: function (e) {
                    var t = this
                    e.preventDefault()
                    var o = this.scale,
                      n = this.touches[0].clientX,
                      r = this.touches[0].clientY,
                      i = e.touches[0].clientX,
                      a = e.touches[0].clientY,
                      c = this.touches[1].clientX,
                      s = this.touches[1].clientY,
                      l = e.touches[1].clientX,
                      u = e.touches[1].clientY,
                      h = Math.sqrt(Math.pow(n - c, 2) + Math.pow(r - s, 2)),
                      d = Math.sqrt(Math.pow(i - l, 2) + Math.pow(a - u, 2)) - h,
                      p = 1,
                      f =
                        (p =
                          (p =
                            p / this.trueWidth > p / this.trueHeight
                              ? p / this.trueHeight
                              : p / this.trueWidth) > 0.1
                            ? 0.1
                            : p) * d
                    if (!this.touchNow) {
                      if (
                        ((this.touchNow = !0),
                        d > 0 ? (o += Math.abs(f)) : d < 0 && o > Math.abs(f) && (o -= Math.abs(f)),
                        (this.touches = e.touches),
                        setTimeout(function () {
                          t.touchNow = !1
                        }, 8),
                        !this.checkoutImgAxis(this.x, this.y, o))
                      )
                        return !1
                      this.scale = o
                    }
                  },
                  cancelTouchScale: function (e) {
                    window.removeEventListener('touchmove', this.touchScale)
                  },
                  moveImg: function (e) {
                    var t = this
                    if ((e.preventDefault(), e.touches && 2 === e.touches.length))
                      return (
                        (this.touches = e.touches),
                        window.addEventListener('touchmove', this.touchScale),
                        window.addEventListener('touchend', this.cancelTouchScale),
                        window.removeEventListener('touchmove', this.moveImg),
                        !1
                      )
                    var o,
                      n,
                      r = 'clientX' in e ? e.clientX : e.touches[0].clientX,
                      i = 'clientY' in e ? e.clientY : e.touches[0].clientY
                    ;(o = r - this.moveX),
                      (n = i - this.moveY),
                      this.$nextTick(function () {
                        if (t.centerBox) {
                          var e,
                            r,
                            i,
                            a,
                            c = t.getImgAxis(o, n, t.scale),
                            s = t.getCropAxis(),
                            l = t.trueHeight * t.scale,
                            u = t.trueWidth * t.scale
                          switch (t.rotate) {
                            case 1:
                            case -1:
                            case 3:
                            case -3:
                              ;(e =
                                t.cropOffsertX - (t.trueWidth * (1 - t.scale)) / 2 + (l - u) / 2),
                                (r =
                                  t.cropOffsertY -
                                  (t.trueHeight * (1 - t.scale)) / 2 +
                                  (u - l) / 2),
                                (i = e - l + t.cropW),
                                (a = r - u + t.cropH)
                              break
                            default:
                              ;(e = t.cropOffsertX - (t.trueWidth * (1 - t.scale)) / 2),
                                (r = t.cropOffsertY - (t.trueHeight * (1 - t.scale)) / 2),
                                (i = e - u + t.cropW),
                                (a = r - l + t.cropH)
                          }
                          c.x1 >= s.x1 && (o = e),
                            c.y1 >= s.y1 && (n = r),
                            c.x2 <= s.x2 && (o = i),
                            c.y2 <= s.y2 && (n = a)
                        }
                        ;(t.x = o),
                          (t.y = n),
                          t.$emit('imgMoving', { moving: !0, axis: t.getImgAxis() }),
                          t.$emit('img-moving', { moving: !0, axis: t.getImgAxis() })
                      })
                  },
                  leaveImg: function (e) {
                    window.removeEventListener('mousemove', this.moveImg),
                      window.removeEventListener('touchmove', this.moveImg),
                      window.removeEventListener('mouseup', this.leaveImg),
                      window.removeEventListener('touchend', this.leaveImg),
                      this.$emit('imgMoving', { moving: !1, axis: this.getImgAxis() }),
                      this.$emit('img-moving', { moving: !1, axis: this.getImgAxis() })
                  },
                  scaleImg: function () {
                    this.canScale &&
                      window.addEventListener(this.support, this.changeSize, this.passive)
                  },
                  cancelScale: function () {
                    this.canScale && window.removeEventListener(this.support, this.changeSize)
                  },
                  changeSize: function (e) {
                    var t = this
                    e.preventDefault()
                    var o = this.scale,
                      n = e.deltaY || e.wheelDelta
                    ;(n = navigator.userAgent.indexOf('Firefox') > 0 ? 30 * n : n),
                      this.isIE && (n = -n)
                    var r = this.coe,
                      i =
                        (r =
                          r / this.trueWidth > r / this.trueHeight
                            ? r / this.trueHeight
                            : r / this.trueWidth) * n
                    i < 0 ? (o += Math.abs(i)) : o > Math.abs(i) && (o -= Math.abs(i))
                    var a = i < 0 ? 'add' : 'reduce'
                    if (
                      (a !== this.coeStatus && ((this.coeStatus = a), (this.coe = 0.2)),
                      this.scaling ||
                        (this.scalingSet = setTimeout(function () {
                          ;(t.scaling = !1), (t.coe = t.coe += 0.01)
                        }, 50)),
                      (this.scaling = !0),
                      !this.checkoutImgAxis(this.x, this.y, o))
                    )
                      return !1
                    this.scale = o
                  },
                  changeScale: function (e) {
                    var t = this.scale
                    e = e || 1
                    var o = 20
                    if (
                      ((e *= o =
                        o / this.trueWidth > o / this.trueHeight
                          ? o / this.trueHeight
                          : o / this.trueWidth) > 0
                        ? (t += Math.abs(e))
                        : t > Math.abs(e) && (t -= Math.abs(e)),
                      !this.checkoutImgAxis(this.x, this.y, t))
                    )
                      return !1
                    this.scale = t
                  },
                  createCrop: function (e) {
                    var t = this
                    e.preventDefault()
                    var o = 'clientX' in e ? e.clientX : e.touches ? e.touches[0].clientX : 0,
                      n = 'clientY' in e ? e.clientY : e.touches ? e.touches[0].clientY : 0
                    this.$nextTick(function () {
                      var e = o - t.cropX,
                        r = n - t.cropY
                      if (
                        (e > 0
                          ? ((t.cropW = e + t.cropChangeX > t.w ? t.w - t.cropChangeX : e),
                            (t.cropOffsertX = t.cropChangeX))
                          : ((t.cropW =
                              t.w - t.cropChangeX + Math.abs(e) > t.w
                                ? t.cropChangeX
                                : Math.abs(e)),
                            (t.cropOffsertX = t.cropChangeX + e > 0 ? t.cropChangeX + e : 0)),
                        t.fixed)
                      ) {
                        var i = (t.cropW / t.fixedNumber[0]) * t.fixedNumber[1]
                        i + t.cropOffsertY > t.h
                          ? ((t.cropH = t.h - t.cropOffsertY),
                            (t.cropW = (t.cropH / t.fixedNumber[1]) * t.fixedNumber[0]),
                            (t.cropOffsertX = e > 0 ? t.cropChangeX : t.cropChangeX - t.cropW))
                          : (t.cropH = i),
                          (t.cropOffsertY = t.cropOffsertY)
                      } else r > 0 ? ((t.cropH = r + t.cropChangeY > t.h ? t.h - t.cropChangeY : r), (t.cropOffsertY = t.cropChangeY)) : ((t.cropH = t.h - t.cropChangeY + Math.abs(r) > t.h ? t.cropChangeY : Math.abs(r)), (t.cropOffsertY = t.cropChangeY + r > 0 ? t.cropChangeY + r : 0))
                    })
                  },
                  changeCropSize: function (e, t, o, n, r) {
                    e.preventDefault(),
                      window.addEventListener('mousemove', this.changeCropNow),
                      window.addEventListener('mouseup', this.changeCropEnd),
                      window.addEventListener('touchmove', this.changeCropNow),
                      window.addEventListener('touchend', this.changeCropEnd),
                      (this.canChangeX = t),
                      (this.canChangeY = o),
                      (this.changeCropTypeX = n),
                      (this.changeCropTypeY = r),
                      (this.cropX = 'clientX' in e ? e.clientX : e.touches[0].clientX),
                      (this.cropY = 'clientY' in e ? e.clientY : e.touches[0].clientY),
                      (this.cropOldW = this.cropW),
                      (this.cropOldH = this.cropH),
                      (this.cropChangeX = this.cropOffsertX),
                      (this.cropChangeY = this.cropOffsertY),
                      this.fixed && this.canChangeX && this.canChangeY && (this.canChangeY = 0),
                      this.$emit('change-crop-size', { width: this.cropW, height: this.cropH })
                  },
                  changeCropNow: function (e) {
                    var t = this
                    e.preventDefault()
                    var o = 'clientX' in e ? e.clientX : e.touches ? e.touches[0].clientX : 0,
                      n = 'clientY' in e ? e.clientY : e.touches ? e.touches[0].clientY : 0,
                      r = this.w,
                      i = this.h,
                      a = 0,
                      c = 0
                    if (this.centerBox) {
                      var s = this.getImgAxis(),
                        l = s.x2,
                        u = s.y2
                      ;(a = s.x1 > 0 ? s.x1 : 0),
                        (c = s.y1 > 0 ? s.y1 : 0),
                        r > l && (r = l),
                        i > u && (i = u)
                    }
                    this.$nextTick(function () {
                      var e = o - t.cropX,
                        s = n - t.cropY
                      if (
                        (t.canChangeX &&
                          (1 === t.changeCropTypeX
                            ? t.cropOldW - e > 0
                              ? ((t.cropW =
                                  r - t.cropChangeX - e <= r - a
                                    ? t.cropOldW - e
                                    : t.cropOldW + t.cropChangeX - a),
                                (t.cropOffsertX =
                                  r - t.cropChangeX - e <= r - a ? t.cropChangeX + e : a))
                              : ((t.cropW =
                                  Math.abs(e) + t.cropChangeX <= r
                                    ? Math.abs(e) - t.cropOldW
                                    : r - t.cropOldW - t.cropChangeX),
                                (t.cropOffsertX = t.cropChangeX + t.cropOldW))
                            : 2 === t.changeCropTypeX &&
                              (t.cropOldW + e > 0
                                ? ((t.cropW =
                                    t.cropOldW + e + t.cropOffsertX <= r
                                      ? t.cropOldW + e
                                      : r - t.cropOffsertX),
                                  (t.cropOffsertX = t.cropChangeX))
                                : ((t.cropW =
                                    r - t.cropChangeX + Math.abs(e + t.cropOldW) <= r - a
                                      ? Math.abs(e + t.cropOldW)
                                      : t.cropChangeX - a),
                                  (t.cropOffsertX =
                                    r - t.cropChangeX + Math.abs(e + t.cropOldW) <= r - a
                                      ? t.cropChangeX - Math.abs(e + t.cropOldW)
                                      : a)))),
                        t.canChangeY &&
                          (1 === t.changeCropTypeY
                            ? t.cropOldH - s > 0
                              ? ((t.cropH =
                                  i - t.cropChangeY - s <= i - c
                                    ? t.cropOldH - s
                                    : t.cropOldH + t.cropChangeY - c),
                                (t.cropOffsertY =
                                  i - t.cropChangeY - s <= i - c ? t.cropChangeY + s : c))
                              : ((t.cropH =
                                  Math.abs(s) + t.cropChangeY <= i
                                    ? Math.abs(s) - t.cropOldH
                                    : i - t.cropOldH - t.cropChangeY),
                                (t.cropOffsertY = t.cropChangeY + t.cropOldH))
                            : 2 === t.changeCropTypeY &&
                              (t.cropOldH + s > 0
                                ? ((t.cropH =
                                    t.cropOldH + s + t.cropOffsertY <= i
                                      ? t.cropOldH + s
                                      : i - t.cropOffsertY),
                                  (t.cropOffsertY = t.cropChangeY))
                                : ((t.cropH =
                                    i - t.cropChangeY + Math.abs(s + t.cropOldH) <= i - c
                                      ? Math.abs(s + t.cropOldH)
                                      : t.cropChangeY - c),
                                  (t.cropOffsertY =
                                    i - t.cropChangeY + Math.abs(s + t.cropOldH) <= i - c
                                      ? t.cropChangeY - Math.abs(s + t.cropOldH)
                                      : c)))),
                        t.canChangeX && t.fixed)
                      ) {
                        var l = (t.cropW / t.fixedNumber[0]) * t.fixedNumber[1]
                        l + t.cropOffsertY > i
                          ? ((t.cropH = i - t.cropOffsertY),
                            (t.cropW = (t.cropH / t.fixedNumber[1]) * t.fixedNumber[0]))
                          : (t.cropH = l)
                      }
                      if (t.canChangeY && t.fixed) {
                        var u = (t.cropH / t.fixedNumber[1]) * t.fixedNumber[0]
                        u + t.cropOffsertX > r
                          ? ((t.cropW = r - t.cropOffsertX),
                            (t.cropH = (t.cropW / t.fixedNumber[0]) * t.fixedNumber[1]))
                          : (t.cropW = u)
                      }
                    })
                  },
                  checkCropLimitSize: function () {
                    this.cropW, this.cropH
                    var e = this.limitMinSize,
                      t = new Array()
                    return (t = Array.isArray[e] ? e : [e, e]), [parseFloat(t[0]), parseFloat(t[1])]
                  },
                  changeCropEnd: function (e) {
                    window.removeEventListener('mousemove', this.changeCropNow),
                      window.removeEventListener('mouseup', this.changeCropEnd),
                      window.removeEventListener('touchmove', this.changeCropNow),
                      window.removeEventListener('touchend', this.changeCropEnd)
                  },
                  endCrop: function () {
                    0 === this.cropW && 0 === this.cropH && (this.cropping = !1),
                      window.removeEventListener('mousemove', this.createCrop),
                      window.removeEventListener('mouseup', this.endCrop),
                      window.removeEventListener('touchmove', this.createCrop),
                      window.removeEventListener('touchend', this.endCrop)
                  },
                  startCrop: function () {
                    this.crop = !0
                  },
                  stopCrop: function () {
                    this.crop = !1
                  },
                  clearCrop: function () {
                    ;(this.cropping = !1), (this.cropW = 0), (this.cropH = 0)
                  },
                  cropMove: function (e) {
                    if ((e.preventDefault(), !this.canMoveBox))
                      return (this.crop = !1), this.startMove(e), !1
                    if (e.touches && 2 === e.touches.length)
                      return (this.crop = !1), this.startMove(e), this.leaveCrop(), !1
                    window.addEventListener('mousemove', this.moveCrop),
                      window.addEventListener('mouseup', this.leaveCrop),
                      window.addEventListener('touchmove', this.moveCrop),
                      window.addEventListener('touchend', this.leaveCrop)
                    var t,
                      o,
                      n = 'clientX' in e ? e.clientX : e.touches[0].clientX,
                      r = 'clientY' in e ? e.clientY : e.touches[0].clientY
                    ;(t = n - this.cropOffsertX),
                      (o = r - this.cropOffsertY),
                      (this.cropX = t),
                      (this.cropY = o),
                      this.$emit('cropMoving', { moving: !0, axis: this.getCropAxis() }),
                      this.$emit('crop-moving', { moving: !0, axis: this.getCropAxis() })
                  },
                  moveCrop: function (e, t) {
                    var o = this,
                      n = 0,
                      r = 0
                    e &&
                      (e.preventDefault(),
                      (n = 'clientX' in e ? e.clientX : e.touches[0].clientX),
                      (r = 'clientY' in e ? e.clientY : e.touches[0].clientY)),
                      this.$nextTick(function () {
                        var e,
                          i,
                          a = n - o.cropX,
                          c = r - o.cropY
                        if (
                          (t && ((a = o.cropOffsertX), (c = o.cropOffsertY)),
                          (e = a <= 0 ? 0 : a + o.cropW > o.w ? o.w - o.cropW : a),
                          (i = c <= 0 ? 0 : c + o.cropH > o.h ? o.h - o.cropH : c),
                          o.centerBox)
                        ) {
                          var s = o.getImgAxis()
                          e <= s.x1 && (e = s.x1),
                            e + o.cropW > s.x2 && (e = s.x2 - o.cropW),
                            i <= s.y1 && (i = s.y1),
                            i + o.cropH > s.y2 && (i = s.y2 - o.cropH)
                        }
                        ;(o.cropOffsertX = e),
                          (o.cropOffsertY = i),
                          o.$emit('cropMoving', { moving: !0, axis: o.getCropAxis() }),
                          o.$emit('crop-moving', { moving: !0, axis: o.getCropAxis() })
                      })
                  },
                  getImgAxis: function (e, t, o) {
                    ;(e = e || this.x), (t = t || this.y), (o = o || this.scale)
                    var n = { x1: 0, x2: 0, y1: 0, y2: 0 },
                      r = this.trueWidth * o,
                      i = this.trueHeight * o
                    switch (this.rotate) {
                      case 0:
                        ;(n.x1 = e + (this.trueWidth * (1 - o)) / 2),
                          (n.x2 = n.x1 + this.trueWidth * o),
                          (n.y1 = t + (this.trueHeight * (1 - o)) / 2),
                          (n.y2 = n.y1 + this.trueHeight * o)
                        break
                      case 1:
                      case -1:
                      case 3:
                      case -3:
                        ;(n.x1 = e + (this.trueWidth * (1 - o)) / 2 + (r - i) / 2),
                          (n.x2 = n.x1 + this.trueHeight * o),
                          (n.y1 = t + (this.trueHeight * (1 - o)) / 2 + (i - r) / 2),
                          (n.y2 = n.y1 + this.trueWidth * o)
                        break
                      default:
                        ;(n.x1 = e + (this.trueWidth * (1 - o)) / 2),
                          (n.x2 = n.x1 + this.trueWidth * o),
                          (n.y1 = t + (this.trueHeight * (1 - o)) / 2),
                          (n.y2 = n.y1 + this.trueHeight * o)
                    }
                    return n
                  },
                  getCropAxis: function () {
                    var e = { x1: 0, x2: 0, y1: 0, y2: 0 }
                    return (
                      (e.x1 = this.cropOffsertX),
                      (e.x2 = e.x1 + this.cropW),
                      (e.y1 = this.cropOffsertY),
                      (e.y2 = e.y1 + this.cropH),
                      e
                    )
                  },
                  leaveCrop: function (e) {
                    window.removeEventListener('mousemove', this.moveCrop),
                      window.removeEventListener('mouseup', this.leaveCrop),
                      window.removeEventListener('touchmove', this.moveCrop),
                      window.removeEventListener('touchend', this.leaveCrop),
                      this.$emit('cropMoving', { moving: !1, axis: this.getCropAxis() }),
                      this.$emit('crop-moving', { moving: !1, axis: this.getCropAxis() })
                  },
                  getCropChecked: function (e) {
                    var t = this,
                      o = document.createElement('canvas'),
                      n = new Image(),
                      r = this.rotate,
                      i = this.trueWidth,
                      a = this.trueHeight,
                      c = this.cropOffsertX,
                      s = this.cropOffsertY
                    function l(e, t) {
                      ;(o.width = Math.round(e)), (o.height = Math.round(t))
                    }
                    ;(n.onload = function () {
                      if (0 !== t.cropW) {
                        var u = o.getContext('2d'),
                          h = 1
                        t.high & !t.full && (h = window.devicePixelRatio),
                          (1 !== t.enlarge) & !t.full && (h = Math.abs(Number(t.enlarge)))
                        var d = t.cropW * h,
                          p = t.cropH * h,
                          f = i * t.scale * h,
                          g = a * t.scale * h,
                          m = (t.x - c + (t.trueWidth * (1 - t.scale)) / 2) * h,
                          v = (t.y - s + (t.trueHeight * (1 - t.scale)) / 2) * h
                        switch ((l(d, p), u.save(), r)) {
                          case 0:
                            t.full
                              ? (l(d / t.scale, p / t.scale),
                                u.drawImage(n, m / t.scale, v / t.scale, f / t.scale, g / t.scale))
                              : u.drawImage(n, m, v, f, g)
                            break
                          case 1:
                          case -3:
                            t.full
                              ? (l(d / t.scale, p / t.scale),
                                (m = m / t.scale + (f / t.scale - g / t.scale) / 2),
                                (v = v / t.scale + (g / t.scale - f / t.scale) / 2),
                                u.rotate((90 * r * Math.PI) / 180),
                                u.drawImage(n, v, -m - g / t.scale, f / t.scale, g / t.scale))
                              : ((m += (f - g) / 2),
                                (v += (g - f) / 2),
                                u.rotate((90 * r * Math.PI) / 180),
                                u.drawImage(n, v, -m - g, f, g))
                            break
                          case 2:
                          case -2:
                            t.full
                              ? (l(d / t.scale, p / t.scale),
                                u.rotate((90 * r * Math.PI) / 180),
                                (m /= t.scale),
                                (v /= t.scale),
                                u.drawImage(
                                  n,
                                  -m - f / t.scale,
                                  -v - g / t.scale,
                                  f / t.scale,
                                  g / t.scale
                                ))
                              : (u.rotate((90 * r * Math.PI) / 180),
                                u.drawImage(n, -m - f, -v - g, f, g))
                            break
                          case 3:
                          case -1:
                            t.full
                              ? (l(d / t.scale, p / t.scale),
                                (m = m / t.scale + (f / t.scale - g / t.scale) / 2),
                                (v = v / t.scale + (g / t.scale - f / t.scale) / 2),
                                u.rotate((90 * r * Math.PI) / 180),
                                u.drawImage(n, -v - f / t.scale, m, f / t.scale, g / t.scale))
                              : ((m += (f - g) / 2),
                                (v += (g - f) / 2),
                                u.rotate((90 * r * Math.PI) / 180),
                                u.drawImage(n, -v - f, m, f, g))
                            break
                          default:
                            t.full
                              ? (l(d / t.scale, p / t.scale),
                                u.drawImage(n, m / t.scale, v / t.scale, f / t.scale, g / t.scale))
                              : u.drawImage(n, m, v, f, g)
                        }
                        u.restore()
                      } else {
                        var b = i * t.scale,
                          w = a * t.scale,
                          y = o.getContext('2d')
                        switch ((y.save(), r)) {
                          case 0:
                            l(b, w), y.drawImage(n, 0, 0, b, w)
                            break
                          case 1:
                          case -3:
                            l(w, b), y.rotate((90 * r * Math.PI) / 180), y.drawImage(n, 0, -w, b, w)
                            break
                          case 2:
                          case -2:
                            l(b, w),
                              y.rotate((90 * r * Math.PI) / 180),
                              y.drawImage(n, -b, -w, b, w)
                            break
                          case 3:
                          case -1:
                            l(w, b), y.rotate((90 * r * Math.PI) / 180), y.drawImage(n, -b, 0, b, w)
                            break
                          default:
                            l(b, w), y.drawImage(n, 0, 0, b, w)
                        }
                        y.restore()
                      }
                      e(o)
                    }),
                      'data' !== this.img.substr(0, 4) && (n.crossOrigin = 'Anonymous'),
                      (n.src = this.imgs)
                  },
                  getCropData: function (e) {
                    var t = this
                    this.getCropChecked(function (o) {
                      e(o.toDataURL('image/' + t.outputType, t.outputSize))
                    })
                  },
                  getCropBlob: function (e) {
                    var t = this
                    this.getCropChecked(function (o) {
                      o.toBlob(
                        function (t) {
                          return e(t)
                        },
                        'image/' + t.outputType,
                        t.outputSize
                      )
                    })
                  },
                  showPreview: function () {
                    var e = this
                    if (!this.isCanShow) return !1
                    ;(this.isCanShow = !1),
                      setTimeout(function () {
                        e.isCanShow = !0
                      }, 16)
                    var t = this.cropW,
                      o = this.cropH,
                      n = this.scale,
                      r = {}
                    r.div = { width: ''.concat(t, 'px'), height: ''.concat(o, 'px') }
                    var i = (this.x - this.cropOffsertX) / n,
                      a = (this.y - this.cropOffsertY) / n
                    ;(r.w = t),
                      (r.h = o),
                      (r.url = this.imgs),
                      (r.img = {
                        width: ''.concat(this.trueWidth, 'px'),
                        height: ''.concat(this.trueHeight, 'px'),
                        transform: 'scale('
                          .concat(n, ')translate3d(')
                          .concat(i, 'px, ')
                          .concat(a, 'px, ')
                          .concat(0, 'px)rotateZ(')
                          .concat(90 * this.rotate, 'deg)')
                      }),
                      (r.html = '\n      <div class="show-preview" style="width: '
                        .concat(r.w, 'px; height: ')
                        .concat(r.h, 'px,; overflow: hidden">\n        <div style="width: ')
                        .concat(t, 'px; height: ')
                        .concat(o, 'px">\n          <img src=')
                        .concat(r.url, ' style="width: ')
                        .concat(this.trueWidth, 'px; height: ')
                        .concat(this.trueHeight, 'px; transform:\n          scale(')
                        .concat(n, ')translate3d(')
                        .concat(i, 'px, ')
                        .concat(a, 'px, ')
                        .concat(0, 'px)rotateZ(')
                        .concat(90 * this.rotate, 'deg)">\n        </div>\n      </div>')),
                      this.$emit('realTime', r),
                      this.$emit('real-time', r)
                  },
                  reload: function () {
                    var e = this,
                      t = new Image()
                    ;(t.onload = function () {
                      ;(e.w = parseFloat(window.getComputedStyle(e.$refs.cropper).width)),
                        (e.h = parseFloat(window.getComputedStyle(e.$refs.cropper).height)),
                        (e.trueWidth = t.width),
                        (e.trueHeight = t.height),
                        e.original ? (e.scale = 1) : (e.scale = e.checkedMode()),
                        e.$nextTick(function () {
                          ;(e.x =
                            -(e.trueWidth - e.trueWidth * e.scale) / 2 +
                            (e.w - e.trueWidth * e.scale) / 2),
                            (e.y =
                              -(e.trueHeight - e.trueHeight * e.scale) / 2 +
                              (e.h - e.trueHeight * e.scale) / 2),
                            (e.loading = !1),
                            e.autoCrop && e.goAutoCrop(),
                            e.$emit('img-load', 'success'),
                            e.$emit('imgLoad', 'success'),
                            setTimeout(function () {
                              e.showPreview()
                            }, 20)
                        })
                    }),
                      (t.onerror = function () {
                        e.$emit('imgLoad', 'error'), e.$emit('img-load', 'error')
                      }),
                      (t.src = this.imgs)
                  },
                  checkedMode: function () {
                    var e = 1,
                      t = (this.trueWidth, this.trueHeight),
                      o = this.mode.split(' ')
                    switch (o[0]) {
                      case 'contain':
                        this.trueWidth > this.w && (e = this.w / this.trueWidth),
                          this.trueHeight * e > this.h && (e = this.h / this.trueHeight)
                        break
                      case 'cover':
                        ;(t *= e = this.w / this.trueWidth) < this.h &&
                          (e = (t = this.h) / this.trueHeight)
                        break
                      default:
                        try {
                          var n = o[0]
                          if (-1 !== n.search('px')) {
                            n = n.replace('px', '')
                            var r = parseFloat(n) / this.trueWidth,
                              i = 1,
                              a = o[1]
                            ;-1 !== a.search('px') &&
                              ((a = a.replace('px', '')),
                              (i = (t = parseFloat(a)) / this.trueHeight)),
                              (e = Math.min(r, i))
                          }
                          if (
                            (-1 !== n.search('%') &&
                              ((n = n.replace('%', '')),
                              (e = ((parseFloat(n) / 100) * this.w) / this.trueWidth)),
                            2 === o.length && 'auto' === n)
                          ) {
                            var c = o[1]
                            ;-1 !== c.search('px') &&
                              ((c = c.replace('px', '')),
                              (e = (t = parseFloat(c)) / this.trueHeight)),
                              -1 !== c.search('%') &&
                                ((c = c.replace('%', '')),
                                (e = (t = (parseFloat(c) / 100) * this.h) / this.trueHeight))
                          }
                        } catch (s) {
                          e = 1
                        }
                    }
                    return e
                  },
                  goAutoCrop: function (e, t) {
                    if ('' !== this.imgs && null !== this.imgs) {
                      this.clearCrop(), (this.cropping = !0)
                      var o = this.w,
                        n = this.h
                      if (this.centerBox) {
                        var r = Math.abs(this.rotate) % 2 > 0,
                          i = (r ? this.trueHeight : this.trueWidth) * this.scale,
                          a = (r ? this.trueWidth : this.trueHeight) * this.scale
                        ;(o = i < o ? i : o), (n = a < n ? a : n)
                      }
                      var c = e || parseFloat(this.autoCropWidth),
                        s = t || parseFloat(this.autoCropHeight)
                      ;(0 !== c && 0 !== s) || ((c = 0.8 * o), (s = 0.8 * n)),
                        (c = c > o ? o : c),
                        (s = s > n ? n : s),
                        this.fixed && (s = (c / this.fixedNumber[0]) * this.fixedNumber[1]),
                        s > this.h &&
                          (c = ((s = this.h) / this.fixedNumber[1]) * this.fixedNumber[0]),
                        this.changeCrop(c, s)
                    }
                  },
                  changeCrop: function (e, t) {
                    var o = this
                    if (this.centerBox) {
                      var n = this.getImgAxis()
                      e > n.x2 - n.x1 &&
                        (t = ((e = n.x2 - n.x1) / this.fixedNumber[0]) * this.fixedNumber[1]),
                        t > n.y2 - n.y1 &&
                          (e = ((t = n.y2 - n.y1) / this.fixedNumber[1]) * this.fixedNumber[0])
                    }
                    ;(this.cropW = e),
                      (this.cropH = t),
                      this.checkCropLimitSize(),
                      this.$nextTick(function () {
                        ;(o.cropOffsertX = (o.w - o.cropW) / 2),
                          (o.cropOffsertY = (o.h - o.cropH) / 2),
                          o.centerBox && o.moveCrop(null, !0)
                      })
                  },
                  refresh: function () {
                    var e = this
                    this.img,
                      (this.imgs = ''),
                      (this.scale = 1),
                      (this.crop = !1),
                      (this.rotate = 0),
                      (this.w = 0),
                      (this.h = 0),
                      (this.trueWidth = 0),
                      (this.trueHeight = 0),
                      this.clearCrop(),
                      this.$nextTick(function () {
                        e.checkedImg()
                      })
                  },
                  rotateLeft: function () {
                    this.rotate = this.rotate <= -3 ? 0 : this.rotate - 1
                  },
                  rotateRight: function () {
                    this.rotate = this.rotate >= 3 ? 0 : this.rotate + 1
                  },
                  rotateClear: function () {
                    this.rotate = 0
                  },
                  checkoutImgAxis: function (e, t, o) {
                    ;(e = e || this.x), (t = t || this.y), (o = o || this.scale)
                    var n = !0
                    if (this.centerBox) {
                      var r = this.getImgAxis(e, t, o),
                        i = this.getCropAxis()
                      r.x1 >= i.x1 && (n = !1),
                        r.x2 <= i.x2 && (n = !1),
                        r.y1 >= i.y1 && (n = !1),
                        r.y2 <= i.y2 && (n = !1)
                    }
                    return n
                  }
                },
                mounted: function () {
                  this.support =
                    'onwheel' in document.createElement('div')
                      ? 'wheel'
                      : void 0 !== document.onmousewheel
                      ? 'mousewheel'
                      : 'DOMMouseScroll'
                  var e = this,
                    t = navigator.userAgent
                  ;(this.isIOS = !!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)),
                    HTMLCanvasElement.prototype.toBlob ||
                      Object.defineProperty(HTMLCanvasElement.prototype, 'toBlob', {
                        value: function (t, o, n) {
                          for (
                            var r = atob(this.toDataURL(o, n).split(',')[1]),
                              i = r.length,
                              a = new Uint8Array(i),
                              c = 0;
                            c < i;
                            c++
                          )
                            a[c] = r.charCodeAt(c)
                          t(new Blob([a], { type: e.type || 'image/png' }))
                        }
                      }),
                    this.showPreview(),
                    this.checkedImg()
                },
                destroyed: function () {
                  window.removeEventListener('mousemove', this.moveCrop),
                    window.removeEventListener('mouseup', this.leaveCrop),
                    window.removeEventListener('touchmove', this.moveCrop),
                    window.removeEventListener('touchend', this.leaveCrop),
                    this.cancelScale()
                }
              }),
              ne = { key: 0, class: 'cropper-box' },
              re = ['src'],
              ie = { class: 'cropper-view-box' },
              ae = ['src'],
              ce = { key: 1 }
            var se = te(oe, [
              [
                'render',
                function (e, t, o, n, r, i) {
                  return (
                    s(),
                    l(
                      'div',
                      {
                        class: 'vue-cropper',
                        ref: 'cropper',
                        onMouseover:
                          t[28] ||
                          (t[28] = function () {
                            return e.scaleImg && e.scaleImg.apply(e, arguments)
                          }),
                        onMouseout:
                          t[29] ||
                          (t[29] = function () {
                            return e.cancelScale && e.cancelScale.apply(e, arguments)
                          })
                      },
                      [
                        e.imgs
                          ? (s(),
                            l('div', ne, [
                              u(
                                d(
                                  'div',
                                  {
                                    class: 'cropper-box-canvas',
                                    style: p({
                                      width: e.trueWidth + 'px',
                                      height: e.trueHeight + 'px',
                                      transform:
                                        'scale(' +
                                        e.scale +
                                        ',' +
                                        e.scale +
                                        ') translate3d(' +
                                        e.x / e.scale +
                                        'px,' +
                                        e.y / e.scale +
                                        'px,0)rotateZ(' +
                                        90 * e.rotate +
                                        'deg)'
                                    })
                                  },
                                  [
                                    d(
                                      'img',
                                      { src: e.imgs, alt: 'cropper-img', ref: 'cropperImg' },
                                      null,
                                      8,
                                      re
                                    )
                                  ],
                                  4
                                ),
                                [[h, !e.loading]]
                              )
                            ]))
                          : f('', !0),
                        d(
                          'div',
                          {
                            class: g([
                              'cropper-drag-box',
                              {
                                'cropper-move': e.move && !e.crop,
                                'cropper-crop': e.crop,
                                'cropper-modal': e.cropping
                              }
                            ]),
                            onMousedown:
                              t[0] ||
                              (t[0] = function () {
                                return e.startMove && e.startMove.apply(e, arguments)
                              }),
                            onTouchstart:
                              t[1] ||
                              (t[1] = function () {
                                return e.startMove && e.startMove.apply(e, arguments)
                              })
                          },
                          null,
                          34
                        ),
                        u(
                          d(
                            'div',
                            {
                              class: 'cropper-crop-box',
                              style: p({
                                width: e.cropW + 'px',
                                height: e.cropH + 'px',
                                transform:
                                  'translate3d(' + e.cropOffsertX + 'px,' + e.cropOffsertY + 'px,0)'
                              })
                            },
                            [
                              d('span', ie, [
                                d(
                                  'img',
                                  {
                                    style: p({
                                      width: e.trueWidth + 'px',
                                      height: e.trueHeight + 'px',
                                      transform:
                                        'scale(' +
                                        e.scale +
                                        ',' +
                                        e.scale +
                                        ') translate3d(' +
                                        (e.x - e.cropOffsertX) / e.scale +
                                        'px,' +
                                        (e.y - e.cropOffsertY) / e.scale +
                                        'px,0)rotateZ(' +
                                        90 * e.rotate +
                                        'deg)'
                                    }),
                                    src: e.imgs,
                                    alt: 'cropper-img'
                                  },
                                  null,
                                  12,
                                  ae
                                )
                              ]),
                              d(
                                'span',
                                {
                                  class: 'cropper-face cropper-move',
                                  onMousedown:
                                    t[2] ||
                                    (t[2] = function () {
                                      return e.cropMove && e.cropMove.apply(e, arguments)
                                    }),
                                  onTouchstart:
                                    t[3] ||
                                    (t[3] = function () {
                                      return e.cropMove && e.cropMove.apply(e, arguments)
                                    })
                                },
                                null,
                                32
                              ),
                              e.info
                                ? (s(),
                                  l(
                                    'span',
                                    {
                                      key: 0,
                                      class: 'crop-info',
                                      style: p({ top: e.cropInfo.top })
                                    },
                                    m(e.cropInfo.width) + ' × ' + m(e.cropInfo.height),
                                    5
                                  ))
                                : f('', !0),
                              e.fixedBox
                                ? f('', !0)
                                : (s(),
                                  l('span', ce, [
                                    d(
                                      'span',
                                      {
                                        class: 'crop-line line-w',
                                        onMousedown:
                                          t[4] ||
                                          (t[4] = function (t) {
                                            return e.changeCropSize(t, !1, !0, 0, 1)
                                          }),
                                        onTouchstart:
                                          t[5] ||
                                          (t[5] = function (t) {
                                            return e.changeCropSize(t, !1, !0, 0, 1)
                                          })
                                      },
                                      null,
                                      32
                                    ),
                                    d(
                                      'span',
                                      {
                                        class: 'crop-line line-a',
                                        onMousedown:
                                          t[6] ||
                                          (t[6] = function (t) {
                                            return e.changeCropSize(t, !0, !1, 1, 0)
                                          }),
                                        onTouchstart:
                                          t[7] ||
                                          (t[7] = function (t) {
                                            return e.changeCropSize(t, !0, !1, 1, 0)
                                          })
                                      },
                                      null,
                                      32
                                    ),
                                    d(
                                      'span',
                                      {
                                        class: 'crop-line line-s',
                                        onMousedown:
                                          t[8] ||
                                          (t[8] = function (t) {
                                            return e.changeCropSize(t, !1, !0, 0, 2)
                                          }),
                                        onTouchstart:
                                          t[9] ||
                                          (t[9] = function (t) {
                                            return e.changeCropSize(t, !1, !0, 0, 2)
                                          })
                                      },
                                      null,
                                      32
                                    ),
                                    d(
                                      'span',
                                      {
                                        class: 'crop-line line-d',
                                        onMousedown:
                                          t[10] ||
                                          (t[10] = function (t) {
                                            return e.changeCropSize(t, !0, !1, 2, 0)
                                          }),
                                        onTouchstart:
                                          t[11] ||
                                          (t[11] = function (t) {
                                            return e.changeCropSize(t, !0, !1, 2, 0)
                                          })
                                      },
                                      null,
                                      32
                                    ),
                                    d(
                                      'span',
                                      {
                                        class: 'crop-point point1',
                                        onMousedown:
                                          t[12] ||
                                          (t[12] = function (t) {
                                            return e.changeCropSize(t, !0, !0, 1, 1)
                                          }),
                                        onTouchstart:
                                          t[13] ||
                                          (t[13] = function (t) {
                                            return e.changeCropSize(t, !0, !0, 1, 1)
                                          })
                                      },
                                      null,
                                      32
                                    ),
                                    d(
                                      'span',
                                      {
                                        class: 'crop-point point2',
                                        onMousedown:
                                          t[14] ||
                                          (t[14] = function (t) {
                                            return e.changeCropSize(t, !1, !0, 0, 1)
                                          }),
                                        onTouchstart:
                                          t[15] ||
                                          (t[15] = function (t) {
                                            return e.changeCropSize(t, !1, !0, 0, 1)
                                          })
                                      },
                                      null,
                                      32
                                    ),
                                    d(
                                      'span',
                                      {
                                        class: 'crop-point point3',
                                        onMousedown:
                                          t[16] ||
                                          (t[16] = function (t) {
                                            return e.changeCropSize(t, !0, !0, 2, 1)
                                          }),
                                        onTouchstart:
                                          t[17] ||
                                          (t[17] = function (t) {
                                            return e.changeCropSize(t, !0, !0, 2, 1)
                                          })
                                      },
                                      null,
                                      32
                                    ),
                                    d(
                                      'span',
                                      {
                                        class: 'crop-point point4',
                                        onMousedown:
                                          t[18] ||
                                          (t[18] = function (t) {
                                            return e.changeCropSize(t, !0, !1, 1, 0)
                                          }),
                                        onTouchstart:
                                          t[19] ||
                                          (t[19] = function (t) {
                                            return e.changeCropSize(t, !0, !1, 1, 0)
                                          })
                                      },
                                      null,
                                      32
                                    ),
                                    d(
                                      'span',
                                      {
                                        class: 'crop-point point5',
                                        onMousedown:
                                          t[20] ||
                                          (t[20] = function (t) {
                                            return e.changeCropSize(t, !0, !1, 2, 0)
                                          }),
                                        onTouchstart:
                                          t[21] ||
                                          (t[21] = function (t) {
                                            return e.changeCropSize(t, !0, !1, 2, 0)
                                          })
                                      },
                                      null,
                                      32
                                    ),
                                    d(
                                      'span',
                                      {
                                        class: 'crop-point point6',
                                        onMousedown:
                                          t[22] ||
                                          (t[22] = function (t) {
                                            return e.changeCropSize(t, !0, !0, 1, 2)
                                          }),
                                        onTouchstart:
                                          t[23] ||
                                          (t[23] = function (t) {
                                            return e.changeCropSize(t, !0, !0, 1, 2)
                                          })
                                      },
                                      null,
                                      32
                                    ),
                                    d(
                                      'span',
                                      {
                                        class: 'crop-point point7',
                                        onMousedown:
                                          t[24] ||
                                          (t[24] = function (t) {
                                            return e.changeCropSize(t, !1, !0, 0, 2)
                                          }),
                                        onTouchstart:
                                          t[25] ||
                                          (t[25] = function (t) {
                                            return e.changeCropSize(t, !1, !0, 0, 2)
                                          })
                                      },
                                      null,
                                      32
                                    ),
                                    d(
                                      'span',
                                      {
                                        class: 'crop-point point8',
                                        onMousedown:
                                          t[26] ||
                                          (t[26] = function (t) {
                                            return e.changeCropSize(t, !0, !0, 2, 2)
                                          }),
                                        onTouchstart:
                                          t[27] ||
                                          (t[27] = function (t) {
                                            return e.changeCropSize(t, !0, !0, 2, 2)
                                          })
                                      },
                                      null,
                                      32
                                    )
                                  ]))
                            ],
                            4
                          ),
                          [[h, e.cropping]]
                        )
                      ],
                      544
                    )
                  )
                }
              ],
              ['__scopeId', 'data-v-be5e5ddc']
            ])
            'undefined' != typeof window &&
              window.Vue &&
              window.Vue.createApp({}).component('VueCropper', se)
            var le = '_upbtn_15vje_1',
              ue = '_uploadWarper_15vje_5',
              he = '_bg_15vje_12',
              de = '_btn_15vje_21',
              pe = '_img_15vje_44',
              fe = '_btndiv_15vje_53',
              ge = '_wrapper_15vje_64',
              me = c({
                name: 'o-cropper',
                components: { VueCropper: se },
                props: {
                  hideInput: { type: Boolean, default: !1 },
                  option: { type: Object },
                  onCancelTailor: { type: Function, default: function () {} },
                  getBase64Data: { type: Function, default: function () {} },
                  getBlob: { type: Function, default: function () {} },
                  getFile: { type: Function, default: function () {} },
                  imgOriginF: { type: Function, default: function () {} }
                },
                data: function () {
                  return {
                    img: '',
                    config: {
                      ceilbutton: !1,
                      outputSize: 1,
                      outputType: 'png',
                      info: !1,
                      canScale: !0,
                      autoCrop: !1,
                      autoCropWidth: 0,
                      autoCropHeight: 0,
                      fixed: !0,
                      fixedNumber: [1, 1],
                      full: !1,
                      fixedBox: !0,
                      canMove: !0,
                      canMoveBox: !1,
                      original: !1,
                      centerBox: !0,
                      high: !0,
                      infoTrue: !1,
                      maxImgSize: 2e3,
                      enlarge: 1,
                      mode: '100%',
                      cancelButtonText: '取消',
                      confirmButtonText: '确定',
                      cancelButtonBackgroundColor: '#606266',
                      confirmButtonBackgroundColor: '#ed594c',
                      cancelButtonTextColor: '#ffffff',
                      confirmButtonTextColor: '#ffffff'
                    }
                  }
                },
                mounted: function () {
                  this.config = Object.assign(this.config, this.option)
                },
                methods: {
                  addSlide: function () {
                    if (null == document.getElementById('vertical')) {
                      var e = document.getElementsByClassName('cropper-crop-box')[0],
                        t = document.createElement('div')
                      ;(t.id = 'vertical'),
                        (t.style.width = '1px'),
                        (t.style.height = '100%'),
                        (t.style.top = '0px'),
                        (t.style.left = '33%'),
                        (t.style.position = 'absolute'),
                        (t.style.backgroundColor = '#fff'),
                        (t.style.zIndex = '522'),
                        (t.style.opacity = '0.5')
                      var o = document.createElement('div')
                      ;(o.style.width = '1px'),
                        (o.style.height = '100%'),
                        (o.style.top = '0px'),
                        (o.style.right = '33%'),
                        (o.style.position = 'absolute'),
                        (o.style.backgroundColor = '#fff'),
                        (o.style.zIndex = '522'),
                        (o.style.opacity = '0.5')
                      var n = document.createElement('div')
                      ;(n.style.width = '100%'),
                        (n.style.height = '1px'),
                        (n.style.top = '33%'),
                        (n.style.left = '0px'),
                        (n.style.position = 'absolute'),
                        (n.style.backgroundColor = '#fff'),
                        (n.style.zIndex = '522'),
                        (n.style.opacity = '0.5')
                      var r = document.createElement('div')
                      ;(r.style.width = '100%'),
                        (r.style.height = '1px'),
                        (r.style.bottom = '33%'),
                        (r.style.left = '0px'),
                        (r.style.position = 'absolute'),
                        (r.style.backgroundColor = '#fff'),
                        (r.style.zIndex = '522'),
                        (r.style.opacity = '0.5')
                      var i = document.createElement('div')
                      ;(i.style.width = '30px'),
                        (i.style.height = '4px'),
                        (i.style.top = '-4px'),
                        (i.style.left = '-4px'),
                        (i.style.position = 'absolute'),
                        (i.style.backgroundColor = '#fff'),
                        (i.style.zIndex = '522'),
                        (i.style.opacity = '1')
                      var a = document.createElement('div')
                      ;(a.style.width = '4px'),
                        (a.style.height = '30px'),
                        (a.style.top = '-4px'),
                        (a.style.left = '-4px'),
                        (a.style.position = 'absolute'),
                        (a.style.backgroundColor = '#fff'),
                        (a.style.zIndex = '522'),
                        (a.style.opacity = '1')
                      var c = document.createElement('div')
                      ;(c.style.width = '30px'),
                        (c.style.height = '4px'),
                        (c.style.top = '-4px'),
                        (c.style.right = '-4px'),
                        (c.style.position = 'absolute'),
                        (c.style.backgroundColor = '#fff'),
                        (c.style.zIndex = '522'),
                        (c.style.opacity = '1')
                      var s = document.createElement('div')
                      ;(s.style.width = '4px'),
                        (s.style.height = '30px'),
                        (s.style.top = '-4px'),
                        (s.style.right = '-4px'),
                        (s.style.position = 'absolute'),
                        (s.style.backgroundColor = '#fff'),
                        (s.style.zIndex = '522'),
                        (s.style.opacity = '1')
                      var l = document.createElement('div')
                      ;(l.style.width = '30px'),
                        (l.style.height = '4px'),
                        (l.style.bottom = '-4px'),
                        (l.style.left = '-4px'),
                        (l.style.position = 'absolute'),
                        (l.style.backgroundColor = '#fff'),
                        (l.style.zIndex = '522'),
                        (l.style.opacity = '1')
                      var u = document.createElement('div')
                      ;(u.style.width = '4px'),
                        (u.style.height = '30px'),
                        (u.style.bottom = '-4px'),
                        (u.style.left = '-4px'),
                        (u.style.position = 'absolute'),
                        (u.style.backgroundColor = '#fff'),
                        (u.style.zIndex = '522'),
                        (u.style.opacity = '1')
                      var h = document.createElement('div')
                      ;(h.style.width = '30px'),
                        (h.style.height = '4px'),
                        (h.style.bottom = '-4px'),
                        (h.style.right = '-4px'),
                        (h.style.position = 'absolute'),
                        (h.style.backgroundColor = '#fff'),
                        (h.style.zIndex = '522'),
                        (h.style.opacity = '1')
                      var d = document.createElement('div')
                      ;(d.style.width = '4px'),
                        (d.style.height = '30px'),
                        (d.style.bottom = '-4px'),
                        (d.style.right = '-4px'),
                        (d.style.position = 'absolute'),
                        (d.style.backgroundColor = '#fff'),
                        (d.style.zIndex = '522'),
                        (d.style.opacity = '1'),
                        e.appendChild(t),
                        e.appendChild(o),
                        e.appendChild(n),
                        e.appendChild(r),
                        e.appendChild(i),
                        e.appendChild(a),
                        e.appendChild(c),
                        e.appendChild(s),
                        e.appendChild(l),
                        e.appendChild(u),
                        e.appendChild(h),
                        e.appendChild(d)
                    }
                  },
                  onLoadImg: function (e) {
                    return new Promise(function (t, o) {
                      var n = new FileReader()
                      n.readAsDataURL(e),
                        (n.onload = function (e) {
                          t(e.target.result)
                        })
                    })
                  },
                  loadFile: function (e) {
                    var t = this
                    if (!(e instanceof File)) throw new Error('Arguments file is not File')
                    this.onLoadImg(e).then(function (e) {
                      ;(t.img = e),
                        setTimeout(function () {
                          ;(t.config.autoCrop = !0), t.addSlide()
                        }, 10)
                    })
                  },
                  loadBase64: function (e) {
                    var t = this
                    if ('string' != typeof e) throw new Error('Arguments base64 is not string')
                    var o = e.split(',')
                    if (!/^data:image\/(.*?);base64$/.test(o[0]))
                      throw new Error('Arguments base64 MIME is not image/*')
                    if (!/^[\/]?([\da-zA-Z]+[\/+]+)*[\da-zA-Z]+([+=]{1,2}|[\/])?$/.test(o[1]))
                      throw new Error('Not standard base64')
                    ;(this.img = e),
                      setTimeout(function () {
                        ;(t.config.autoCrop = !0), t.addSlide()
                      }, 10)
                  },
                  rotating: function (e) {
                    this.$refs.cropper.rotateRight()
                  },
                  canceltailor: function () {
                    ;(this.img = ''), this.onCancelTailor()
                  },
                  tailoring: function () {
                    var e = this
                    this.$refs.cropper.getCropData(function (t) {
                      e.getBase64Data(t), e.getBlob(t), (e.img = ''), (e.config.autoCrop = !1)
                    }),
                      this.$refs.cropper.getCropBlob(function (t) {
                        e.getBase64Data(t), e.getBlob(t)
                        var o = { jpeg: 'jpg', png: 'png', webp: 'webp' }[e.config.outputType],
                          n = new Date().getTime(),
                          r = new File([t], ''.concat(n, '.').concat(o), {
                            type: 'image/'.concat(e.config.outputType)
                          })
                        e.getFile(r), (e.img = ''), (e.config.autoCrop = !1)
                      })
                  },
                  upPhoto: function (e) {
                    var t = this
                    return r(
                      regeneratorRuntime.mark(function o() {
                        var n
                        return regeneratorRuntime.wrap(function (o) {
                          for (;;)
                            switch ((o.prev = o.next)) {
                              case 0:
                                if (
                                  ((n = e.target.files[0]),
                                  (t.$refs.headInput.value = null),
                                  null == n)
                                ) {
                                  o.next = 9
                                  break
                                }
                                return t.imgOriginF(n), (o.next = 6), t.onLoadImg(n)
                              case 6:
                                ;(t.img = o.sent),
                                  (t.config.autoCrop = !0),
                                  setTimeout(function () {
                                    t.addSlide()
                                  }, 20)
                              case 9:
                              case 'end':
                                return o.stop()
                            }
                        }, o)
                      })
                    )()
                  },
                  onCropMoving: function (e) {},
                  onImgMoving: function (e) {}
                },
                render: function () {
                  return v('div', { class: [le, ue] }, [
                    this.hideInput,
                    this.hideInput
                      ? null
                      : v(
                          'input',
                          {
                            style: 'opacity: 0;',
                            class: le,
                            type: 'file',
                            accept: 'image/*',
                            onChange: this.upPhoto,
                            ref: 'headInput'
                          },
                          null
                        ),
                    '' != this.img
                      ? v('div', { class: he }, [
                          this.config.ceilbutton
                            ? v('div', { class: fe }, [
                                v(
                                  'div',
                                  {
                                    class: de,
                                    onClick: this.canceltailor,
                                    style: {
                                      backgroundColor: this.config.cancelButtonBackgroundColor,
                                      color: this.config.cancelButtonTextColor
                                    }
                                  },
                                  [this.config.cancelButtonText]
                                ),
                                v('div', { class: pe, onClick: this.rotating }, null),
                                v(
                                  'div',
                                  {
                                    class: de,
                                    onClick: this.tailoring,
                                    style: {
                                      backgroundColor: this.config.confirmButtonBackgroundColor,
                                      color: this.config.confirmButtonTextColor
                                    }
                                  },
                                  [this.config.confirmButtonText]
                                )
                              ])
                            : null,
                          v('div', { class: ge }, [
                            v(
                              se,
                              {
                                ref: 'cropper',
                                img: this.img,
                                outputSize: this.config.outputSize,
                                outputType: this.config.outputType,
                                info: this.config.info,
                                canScale: this.config.canScale,
                                autoCrop: this.config.autoCrop,
                                autoCropWidth: this.config.autoCropWidth,
                                autoCropHeight: this.config.autoCropHeight,
                                fixedBox: this.config.fixedBox,
                                fixed: this.config.fixed,
                                fixedNumber: this.config.fixedNumber,
                                full: this.config.full,
                                canMove: this.config.canMove,
                                canMoveBox: this.config.canMoveBox,
                                original: this.config.original,
                                centerBox: this.config.centerBox,
                                high: this.config.high,
                                infoTrue: this.config.infoTrue,
                                maxImgSize: this.config.maxImgSize,
                                enlarge: this.config.enlarge,
                                mode: this.config.mode,
                                onCropMoving: this.onCropMoving,
                                onImgMoving: this.onImgMoving
                              },
                              null
                            )
                          ]),
                          this.config.ceilbutton
                            ? null
                            : v('div', { class: fe }, [
                                v(
                                  'div',
                                  {
                                    class: de,
                                    onClick: this.canceltailor,
                                    style: {
                                      backgroundColor: this.config.cancelButtonBackgroundColor,
                                      color: this.config.cancelButtonTextColor
                                    }
                                  },
                                  [this.config.cancelButtonText]
                                ),
                                v('div', { class: pe, onClick: this.rotating }, null),
                                v(
                                  'div',
                                  {
                                    class: de,
                                    onClick: this.tailoring,
                                    style: {
                                      backgroundColor: this.config.confirmButtonBackgroundColor,
                                      color: this.config.confirmButtonTextColor
                                    }
                                  },
                                  [this.config.confirmButtonText]
                                )
                              ])
                        ])
                      : null
                  ])
                }
              }),
              ve =
                'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAA4CAMAAAB6xg5AAAAAAXNSR0IArs4c6QAAAotQTFRFAAAA////gICA////qqqq////v7+/////zMzM////1dXV29vb39/f4+PjzMzM5ubm6Ojo1dXV29vb39/f5ubm3t7e4ODg4uLi4+Pj5OTk5eXl3d3d3t7e39/f4ODg2tra4eHh29vb4+Pj3d3d4+Pj3d3d3t7e39/f4ODg4eHh4eHh3d3d3t7e3t7e5OTk39/f4ODg3d3d4uLi4eHh4uLi3t7e4uLi39/f3Nzc4ODg3d3d39/f4ODg3d3d4ODg3d3d4eHh3t7e39/f39/f3Nzc4ODg3d3d4ODg3t7e3t7e39/f39/f3d3d4ODg3t7e39/f4ODg4ODg3t7e4eHh3t7e39/f3t7e4ODg3t7e39/f3d3d39/f39/f3t7e3t7e39/f3d3d3t7e3t7e4ODg3t7e3d3d3t7e3t7e3t7e3t7e3t7e3t7e39/f3d3d39/f3t7e3t7e4ODg3t7e3t7e39/f3t7e4ODg3d3d39/f39/f4ODg3t7e4ODg39/f39/f3d3d3t7e3t7e3t7e3d3d39/f3d3d39/f39/f3t7e3t7e3t7e3t7e39/f3d3d3t7e3t7e39/f39/f3t7e3t7e3t7e3d3d39/f3d3d39/f3t7e39/f39/f3t7e3t7e39/f3t7e3t7e3d3d3t7e3t7e39/f3t7e3d3d39/f3d3d39/f39/f3t7e39/f3t7e3t7e3t7e3t7e39/f39/f3t7e39/f3t7e3t7e39/f3t7e3t7e3d3d39/f39/f3t7e3t7e3t7e3t7e3t7e39/f3t7e39/f3t7e3t7e3d3d3d3d3t7e3t7e3t7e3t7e3t7e3t7e3t7e3d3d3t7e3t7e3t7e3t7e39/f3t7e39/f3t7e8SMriQAAANh0Uk5TAAECAgMDBAQFBQYHCAkKCgsMDhAUFxkaGxwdHh8gISIiIyQlJSYnKCkqKy0uLy8wMTQ0PD0+Pj9BQURHSUtLTExNT1BRUVNTVFZXWFtbXmBiY2RlZmdra2xub29wc3R2eHp7e32AgoOEioyNjo+QkZKTlJWWmp2en6CipKSlpqepqqyurq+vsLGys7S1tre4uLm6u7y9vb6+v7/AwsTFyszNztDQ0tTU1dXW19fY2drb3N3e3t/g4OHj5OTl5+jq6+zt7u7w8fLz8/T19vf4+fr6+/z9/f7+pTwFxgAAAxJJREFUSMedlvlfTGEUxk9qLI1KSLYyJFQiWUohe7aKLJUiS5aQbNmVKFt2omxljZBskX3JKE2LGtP755h77p3bzJ373u389L7POc93Pp855z0zAGojtrrhQgBojwgzIeSNN72g3+rdOc6xJ30Al88jTMyk+lMaiXg0pbMFJXhLovkTOwg1UrCiVBLg8YPuJw295QFziFTEyQP207zGjSFeri6yAN03ir/Kn6+RBEyk+E3WwTEkJmO8QCUfz0nzevHebt7W2E4BZAPEN4tmXg9Dd1TuZ7PUtxcJPrTxuGS19zlDZMIAMbRUs9X/WM5PwiCUlqoGKJT1kzSAI+IZcyxMkveTV3rQpRaVljBRx/aVOZaWHI0A2KsAQA660efgJd3WXt9mOxaHUAFN4ubarVN8me0QnfkO7x2VZwsKT6zpBLi6cwBR+8clOv4TXONreL2gE6DzkgDs8nCYcP2WDlWA1uVOj8Q2yDwgWQqwWOSZLbRg6hzAeTwkgCcVkGXbTjPWbVs/y1a2mW0/wEoc4KEQRANU90C5Z4aR3WOb2Bfr9givo0FnncnGeIANNMACdrmX8cKDgahMZ+fBOlGhMT4A/kYK4AnuLa97dlIFLlMoZ2dSj5eAKkIBrEUx07GrqKVy7yItzBCZbSI0wDhG6+s4nq39GXGUoFIc0IYDmiCoXcGILiYlgFrUdgoA+1B9rgTwFLV8AaAI1btKAG9RyxEADqFaoQRg6sJoqwSADKz8qQRA8L/HcIujOIYRfRV1gSxD8biDdhG1RcoAV1H0+24n/RqB2mllAEs4quPreOV3FCrB7coA5BorB97g7reDWcHp54u6D+K4xISs4vvXd0zmbrOJYoApXGQjhdQrB5BPY538Qe+JCgD5M1fgn2YkqgDEcizQzj4k9x9RCSDk7+Gp7C70jD7QIl4iDWAYz66cvFzZQs3LAuTCBmjR6Ld05wA1GgFfbd9xrkbAKb7HGgHz+Tbf1OQvc+EBvh80+L/42U3aoHLV/ocGh1F3S7jVrsJtvrO0q9Nzcx88Umn46R2c/wEA2LVBpTpQcQAAAABJRU5ErkJggg==',
              be = c({
                name: 'col-upload',
                props: {
                  modelValue: String,
                  tips: { type: String, default: '点击上传' },
                  deletable: { type: Boolean, default: !0 },
                  native: { type: Boolean, default: !1 },
                  cropper: { type: Boolean, default: !1 },
                  options: { type: Object, default: {} },
                  uploadSize: { type: Number, default: 5 },
                  onUploadChange: { type: Function, default: function (e) {} },
                  bucket: { type: String, default: 'daya' }
                },
                methods: {
                  nativeUpload: function () {
                    var e = this
                    b(
                      { api: 'chooseFile', content: { type: 'img', max: 1, bucket: this.bucket } },
                      function (t) {
                        console.log(t, 'fileUrl'), e.$emit('update:modelValue', t.fileUrl)
                      }
                    )
                  },
                  beforeRead: function (e) {
                    return (
                      console.log(e, 'beforeRead'),
                      !!(e.size / 1024 / 1024 < this.uploadSize) ||
                        (w('上传文件大小不能超过 '.concat(this.uploadSize, 'MB')), !1)
                    )
                  },
                  beforeDelete: function (e, t) {
                    return !0
                  },
                  afterRead: function (e, t) {
                    var o = this
                    return r(
                      regeneratorRuntime.mark(function t() {
                        return regeneratorRuntime.wrap(
                          function (t) {
                            for (;;)
                              switch ((t.prev = t.next)) {
                                case 0:
                                  return (
                                    (t.prev = 0),
                                    (e.status = 'uploading'),
                                    (e.message = '上传中...'),
                                    (t.next = 5),
                                    o.uploadFile(e.file)
                                  )
                                case 5:
                                  t.next = 11
                                  break
                                case 7:
                                  ;(t.prev = 7), (t.t0 = t.catch(0)), console.log(t.t0, '2323'), y()
                                case 11:
                                case 'end':
                                  return t.stop()
                              }
                          },
                          t,
                          null,
                          [[0, 7]]
                        )
                      })
                    )()
                  },
                  onClose: function (e) {
                    this.$emit('update:modelValue', null),
                      this.onUploadChange(),
                      e.stopPropagation()
                  },
                  getFile: function (e) {
                    var t = this
                    return r(
                      regeneratorRuntime.mark(function o() {
                        return regeneratorRuntime.wrap(
                          function (o) {
                            for (;;)
                              switch ((o.prev = o.next)) {
                                case 0:
                                  return (o.prev = 0), (o.next = 3), t.uploadFile(e)
                                case 3:
                                  o.next = 7
                                  break
                                case 5:
                                  ;(o.prev = 5), (o.t0 = o.catch(0))
                                case 7:
                                case 'end':
                                  return o.stop()
                              }
                          },
                          o,
                          null,
                          [[0, 5]]
                        )
                      })
                    )()
                  },
                  uploadFile: function (e) {
                    var t = this
                    return r(
                      regeneratorRuntime.mark(function o() {
                        var n, r, i, a, c, s, l, u, h
                        return regeneratorRuntime.wrap(
                          function (o) {
                            for (;;)
                              switch ((o.prev = o.next)) {
                                case 0:
                                  return (
                                    (o.prev = 0),
                                    (n = C.platformApi + '/open/getUploadSign'),
                                    (r = e.name || ''),
                                    (i = r && r.replace(/ /gi, '_')),
                                    (a = new Date().getTime() + i),
                                    console.log(e),
                                    (o.next = 8),
                                    A.post(n, {
                                      data: {
                                        filename: i,
                                        bucketName: t.bucket,
                                        postData: {
                                          filename: i,
                                          acl: 'public-read',
                                          key: a,
                                          unknowValueField: []
                                        }
                                      }
                                    })
                                  )
                                case 8:
                                  for (u in ((c = o.sent),
                                  x.loading({
                                    message: '加载中...',
                                    forbidClick: !0,
                                    loadingType: 'spinner',
                                    duration: 0
                                  }),
                                  (s = {
                                    policy: c.data.policy,
                                    signature: c.data.signature,
                                    key: a,
                                    KSSAccessKeyId: c.data.kssAccessKeyId,
                                    acl: 'public-read',
                                    name: i
                                  }),
                                  (l = new FormData()),
                                  s))
                                    l.append(u, s[u])
                                  return (
                                    l.append('file', e, i),
                                    (o.next = 16),
                                    k(S(t.bucket), { method: 'POST', data: l })
                                  )
                                case 16:
                                  console.log(S(t.bucket) + a),
                                    (h = S(t.bucket) + a),
                                    x.clear(),
                                    t.$emit('update:modelValue', h),
                                    t.onUploadChange(h),
                                    (o.next = 26)
                                  break
                                case 23:
                                  ;(o.prev = 23),
                                    (o.t0 = o.catch(0)),
                                    console.log(o.t0, 'uploadFile')
                                case 26:
                                case 'end':
                                  return o.stop()
                              }
                          },
                          o,
                          null,
                          [[0, 23]]
                        )
                      })
                    )()
                  }
                },
                render: function () {
                  var e = this
                  return (
                    I(function () {
                      return e.modelValue
                    }),
                    v('div', { class: V }, [
                      this.modelValue && this.deletable
                        ? v(O, { name: 'cross', onClick: this.onClose, class: P }, null)
                        : null,
                      this.cropper && !this.native
                        ? v('div', { class: K }, [
                            this.modelValue
                              ? v(
                                  q,
                                  {
                                    fit: 'cover',
                                    position: 'center',
                                    class: $,
                                    src: this.modelValue
                                  },
                                  null
                                )
                              : v('div', { class: G }, [
                                  v(O, { name: ve, size: '32' }, null),
                                  v('p', { class: Z }, [this.tips])
                                ]),
                            v(me, { option: this.options, getFile: this.getFile }, null)
                          ])
                        : this.native
                        ? v(
                            'div',
                            {
                              style: {
                                display: 'flex',
                                alignItems: 'center',
                                justifyContent: 'center',
                                height: '100%'
                              },
                              onClick: this.nativeUpload
                            },
                            [
                              this.modelValue
                                ? v(
                                    q,
                                    {
                                      fit: 'cover',
                                      position: 'center',
                                      class: $,
                                      src: this.modelValue
                                    },
                                    null
                                  )
                                : v('div', { class: G }, [
                                    v(O, { name: ve, size: '32' }, null),
                                    v('p', { class: Z }, [this.tips])
                                  ])
                            ]
                          )
                        : v(
                            X,
                            {
                              afterRead: this.afterRead,
                              beforeRead: this.beforeRead,
                              beforeDelete: this.beforeDelete
                            },
                            {
                              default: function () {
                                return e.modelValue
                                  ? v(
                                      q,
                                      {
                                        fit: 'cover',
                                        position: 'center',
                                        class: $,
                                        src: e.modelValue
                                      },
                                      null
                                    )
                                  : v('div', { class: G }, [
                                      v(O, { name: ve, size: '32' }, null),
                                      v('p', { class: Z }, [e.tips])
                                    ])
                              }
                            }
                          )
                    ])
                  )
                }
              })
            e(
              'default',
              c({
                name: 'companion-teacher-register',
                setup: function () {
                  var e = _(),
                    i = B({
                      showPicker: !1,
                      showSubject: !1,
                      submitStatus: !1,
                      showEducation: !1,
                      id: e.query.id,
                      name: e.query.name,
                      pattern: /^1(3|4|5|6|7|8|9)\d{9}$/,
                      columns: [],
                      pickerType: null,
                      selectSubjects: [],
                      forms: {
                        realName: '',
                        phone: null,
                        gender: 1,
                        idCardNo: null,
                        cityCode: null,
                        cityCodeName: '',
                        provinceCode: null,
                        subjectIds: [],
                        smsValidCode: '',
                        educationBackground: '',
                        graduateSchool: null,
                        idcardFrontImg: '',
                        idcardBackImg: ''
                      },
                      btnLoading: !1,
                      checkPhone: !1,
                      checked: !0,
                      columnSubject: [],
                      countDownStatus: !0,
                      countDownTime: 120,
                      countDownRef: null,
                      imgCodeStatus: !1
                    }),
                    a = (function () {
                      var e = r(
                        regeneratorRuntime.mark(function e() {
                          var o
                          return regeneratorRuntime.wrap(
                            function (e) {
                              for (;;)
                                switch ((e.prev = e.next)) {
                                  case 0:
                                    if (i.checked) {
                                      e.next = 3
                                      break
                                    }
                                    return w('请阅读并同意协议'), e.abrupt('return')
                                  case 3:
                                    return (
                                      (i.btnLoading = !0),
                                      (e.prev = 4),
                                      (o = i.forms),
                                      (e.next = 8),
                                      A.post(
                                        '/api-school/open/schoolTeacherStudent/registerTeacher',
                                        {
                                          data: t(
                                            t({}, o),
                                            {},
                                            { subjectIds: o.subjectIds.join(','), schoolId: i.id }
                                          )
                                        }
                                      )
                                    )
                                  case 8:
                                    ;(i.submitStatus = !0), (e.next = 13)
                                    break
                                  case 11:
                                    ;(e.prev = 11), (e.t0 = e.catch(4))
                                  case 13:
                                    i.btnLoading = !1
                                  case 14:
                                  case 'end':
                                    return e.stop()
                                }
                            },
                            e,
                            null,
                            [[4, 11]]
                          )
                        })
                      )
                      return function () {
                        return e.apply(this, arguments)
                      }
                    })(),
                    c = function (e) {
                      var t = e.selectedOptions[1]
                      ;(i.forms.cityCode = t.code), (i.forms.cityCodeName = t.name)
                      var o = e.selectedOptions[0]
                      ;(i.forms.provinceCode = o.code), (i.showPicker = !1)
                    },
                    s = function (e) {
                      var t = e.selectedOptions[0],
                        o = !1
                      if (
                        (i.selectSubjects.forEach(function (e) {
                          e.value === t.value && (o = !0)
                        }),
                        o)
                      )
                        i.showSubject = !1
                      else {
                        i.selectSubjects.push(e.selectedOptions[0])
                        var n = []
                        i.selectSubjects.forEach(function (e) {
                          n.push(e.value)
                        }),
                          (i.forms.subjectIds = n),
                          (i.showSubject = !1)
                      }
                    },
                    l = function (e) {
                      var t = e.selectedOptions[0]
                      ;(i.forms.educationBackground = t.value), (i.showEducation = !1)
                    },
                    u = function () {
                      if (!z(i.forms.phone)) return w('请输入正确的手机号码')
                      i.imgCodeStatus = !0
                    },
                    h = function () {
                      i.countDownStatus = !1
                      var e = setInterval(function () {
                        ;(i.countDownTime = i.countDownTime - 1),
                          i.countDownTime <= 0 &&
                            ((i.countDownTime = 120), (i.countDownStatus = !0), clearInterval(e))
                      }, 1e3)
                    }
                  return (
                    E(
                      r(
                        regeneratorRuntime.mark(function e() {
                          var t, n, r, a, c
                          return regeneratorRuntime.wrap(
                            function (e) {
                              for (;;)
                                switch ((e.prev = e.next)) {
                                  case 0:
                                    return (
                                      i.id || w('信息获取失败，请联系老师'),
                                      (e.prev = 1),
                                      (t = []),
                                      o.forEach(function (e) {
                                        var o = { name: e.name, code: e.code, areas: [] }
                                        e.areas &&
                                          e.areas.length > 0 &&
                                          e.areas.forEach(function (e) {
                                            o.areas.push({ name: e.name, code: e.code })
                                          }),
                                          t.push(o)
                                      }),
                                      (i.columns = t || []),
                                      (e.next = 7),
                                      A.post('/api-school/open/subject/page', {
                                        data: { page: 1, rows: 50 }
                                      })
                                    )
                                  case 7:
                                    ;(n = e.sent),
                                      (r = n.data),
                                      (a = r.rows || []),
                                      (c = []),
                                      a.forEach(function (e) {
                                        c.push({ text: e.name, value: e.id })
                                      }),
                                      (i.columnSubject = c),
                                      (e.next = 18)
                                    break
                                  case 15:
                                    ;(e.prev = 15),
                                      (e.t0 = e.catch(1)),
                                      H({
                                        message: '信息获取失败，请联系老师',
                                        theme: 'round-button',
                                        confirmButtonColor: '#64A9FF'
                                      })
                                  case 18:
                                  case 'end':
                                    return e.stop()
                                }
                            },
                            e,
                            null,
                            [[1, 15]]
                          )
                        })
                      )
                    ),
                    function () {
                      return v('div', { class: J.register }, [
                        v('div', { class: J.title }, [
                          v('p', { class: J.tips }, [
                            v(
                              'img',
                              {
                                src: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAApVJREFUWEftl82rjVEUxn9PknC7mCEuKUJKSRkoIyUpwztBGbi+RtQt/gRRBkou7ogSZSIxMVEY+EgKRVKui5gQIhKP1m2/2k7nnPd8Stw1Ou8++13796691rPXFn+ZqRM8tmcDPyS9btdf20C2twKHAQN7JZ1qB6plINtzgePA+gqAy8AOSS9aAWsJyPZ24BDQW2PR98CgpOFmoZoCsj0fOAmsrVjoChC+qo0PSBppFKwhINsxbzdwAOjJnP8WCdsDKXLTsjkfgf3AMUmRZ3WtFMh2H3AaWFPh6RKwszJXbM8BTlTJravAJkmv6hE1AnQbWJk5edtINWXVNyN795akVS0D2Y7t+ZDyI/xcSFFpSG9szwKGgI0ZRI+kT7Wg6kbI9nTgXfZyn6TRsjzI/7c9D3iWjfVKiryqauNAoV2lEbI9OalunrwR0gnAog5v2eM49zKfIQV3krp/Gdsy25tTaZelRydyqNYaIQlnCqAQvaNlNEA3gXZJGqoG9BDYl+CmAuc6vGX9wOfk8yCwNP2uCXRN0pgqd7vsbV8HVv+7QLYXA9uA5ekr7wHDkqKSxqyeMHY0Qrb3AJEDEyuK4VvqhY78MSDbkZhnszOuskBDW/olne96hICXwBNgQaKIs63oqQeBaD/CngILQypqnWUd2TIgmq/7RYpE2Up6lLZnCRCyUZyRUdJR4lUP104BLQOikQ8blRQR+GW2owGLtiNsHRAJ3lWgqKiLacERSdFn50DPgbiRhG1IERsHGo9QEYFI4P8sh2zfAGZmQhe3jAcpJNEx5teWu8AUIM6wsK9AjOW2ApiUBkKfQodirLCbwPf0EBJSXMdDSN/IdultsmLBrj7+lUBbuvrJTTovvUo36a/t6T8B6vz6SJbFLFUAAAAASUVORK5CYII='
                              },
                              null
                            ),
                            v('span', null, [i.name])
                          ])
                        ]),
                        v(
                          n,
                          {
                            validateFirst: !0,
                            scrollToError: !0,
                            onSubmit: a,
                            ref: 'form',
                            class: J.form
                          },
                          {
                            default: function () {
                              return [
                                v(
                                  W,
                                  { inset: !0, class: J['cell-group'] },
                                  {
                                    default: function () {
                                      return [
                                        v(
                                          D,
                                          {
                                            required: !0,
                                            label: '真实姓名',
                                            modelValue: i.forms.realName,
                                            'onUpdate:modelValue': function (e) {
                                              return (i.forms.realName = e)
                                            },
                                            rules: [{ required: !0, message: '请填写真实姓名' }],
                                            name: 'realName',
                                            placeholder: '请填写真实姓名',
                                            maxlength: '50'
                                          },
                                          null
                                        ),
                                        v(
                                          D,
                                          {
                                            required: !0,
                                            label: '手机号码',
                                            modelValue: i.forms.phone,
                                            'onUpdate:modelValue': function (e) {
                                              return (i.forms.phone = e)
                                            },
                                            rules: [{ required: !0, message: '请输入手机号码' }],
                                            name: 'phone',
                                            placeholder: '请输入手机号码'
                                          },
                                          null
                                        ),
                                        v(
                                          D,
                                          {
                                            required: !0,
                                            label: '验证码',
                                            modelValue: i.forms.smsValidCode,
                                            'onUpdate:modelValue': function (e) {
                                              return (i.forms.smsValidCode = e)
                                            },
                                            name: 'smsValidCode',
                                            rules: [
                                              {
                                                required: !0,
                                                message: '请选择声部',
                                                trigger: 'onChange'
                                              }
                                            ],
                                            placeholder: '请输入验证码'
                                          },
                                          {
                                            button: function () {
                                              return i.countDownStatus
                                                ? v(
                                                    j,
                                                    {
                                                      type: 'primary',
                                                      round: !0,
                                                      size: 'small',
                                                      color: '#ff8057',
                                                      onClick: u
                                                    },
                                                    {
                                                      default: function () {
                                                        return [T('发送验证码')]
                                                      }
                                                    }
                                                  )
                                                : v(
                                                    j,
                                                    {
                                                      type: 'default',
                                                      round: !0,
                                                      size: 'small',
                                                      disabled: !0,
                                                      style: { minWidth: '60px' },
                                                      onClick: u
                                                    },
                                                    {
                                                      default: function () {
                                                        return [i.countDownTime + 's']
                                                      }
                                                    }
                                                  )
                                            }
                                          }
                                        ),
                                        v('div', { class: J.phoneTips }, [
                                          v(O, { name: 'warning', size: '16' }, null),
                                          T('提示：手机号码将成为您管乐团管理端登录账号')
                                        ]),
                                        v(
                                          D,
                                          {
                                            required: !0,
                                            label: '身份证号码',
                                            modelValue: i.forms.idCardNo,
                                            'onUpdate:modelValue': function (e) {
                                              return (i.forms.idCardNo = e)
                                            },
                                            rules: [
                                              { required: !0, message: '请输入身份证号' },
                                              {
                                                pattern:
                                                  /^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,
                                                message: '请输入正确的身份证号'
                                              }
                                            ],
                                            name: 'idCardNo',
                                            placeholder: '请输入身份证号码'
                                          },
                                          null
                                        ),
                                        v(
                                          D,
                                          {
                                            required: !0,
                                            label: '性别',
                                            name: 'gender',
                                            rules: [{ required: !0, message: '请选择性别' }]
                                          },
                                          {
                                            input: function () {
                                              return v(
                                                L,
                                                {
                                                  'checked-color': '#FF8057',
                                                  modelValue: i.forms.gender,
                                                  'onUpdate:modelValue': function (e) {
                                                    return (i.forms.gender = e)
                                                  },
                                                  direction: 'horizontal'
                                                },
                                                {
                                                  default: function () {
                                                    return [
                                                      v(
                                                        Q,
                                                        {
                                                          size: 'large',
                                                          type: 'primary',
                                                          plain: !(1 === i.forms.gender),
                                                          color: '#FF8057',
                                                          class: J.radioSection
                                                        },
                                                        {
                                                          default: function () {
                                                            return [
                                                              v(
                                                                F,
                                                                { class: J.radioItem, name: 1 },
                                                                null
                                                              ),
                                                              T('男')
                                                            ]
                                                          }
                                                        }
                                                      ),
                                                      v(
                                                        Q,
                                                        {
                                                          size: 'large',
                                                          type: 'primary',
                                                          plain: !(0 === i.forms.gender),
                                                          color: '#FF8057',
                                                          class: J.radioSection
                                                        },
                                                        {
                                                          default: function () {
                                                            return [
                                                              v(
                                                                F,
                                                                { class: J.radioItem, name: 0 },
                                                                null
                                                              ),
                                                              T('女')
                                                            ]
                                                          }
                                                        }
                                                      )
                                                    ]
                                                  }
                                                }
                                              )
                                            }
                                          }
                                        ),
                                        v(
                                          D,
                                          {
                                            required: !0,
                                            label: '身份证照片正面',
                                            modelValue: i.forms.idcardFrontImg,
                                            'onUpdate:modelValue': function (e) {
                                              return (i.forms.idcardFrontImg = e)
                                            },
                                            readonly: !0,
                                            name: 'idcardFrontImg',
                                            onClick: function () {
                                              return (i.showPicker = !0)
                                            },
                                            rules: [
                                              {
                                                required: !0,
                                                message: '请选择身份证照片正面',
                                                trigger: 'onChange'
                                              }
                                            ],
                                            placeholder: '请选择身份证照片正面'
                                          },
                                          {
                                            input: function () {
                                              return v(
                                                be,
                                                {
                                                  style: { width: '100%' },
                                                  tips: '上传身份证正面',
                                                  modelValue: i.forms.idcardFrontImg,
                                                  'onUpdate:modelValue': function (e) {
                                                    return (i.forms.idcardFrontImg = e)
                                                  }
                                                },
                                                null
                                              )
                                            }
                                          }
                                        ),
                                        v(
                                          D,
                                          {
                                            required: !0,
                                            label: '身份证照片反面',
                                            modelValue: i.forms.idcardFrontImg,
                                            'onUpdate:modelValue': function (e) {
                                              return (i.forms.idcardFrontImg = e)
                                            },
                                            readonly: !0,
                                            name: 'idcardFrontImg',
                                            onClick: function () {
                                              return (i.showPicker = !0)
                                            },
                                            rules: [
                                              {
                                                required: !0,
                                                message: '请选择身份证照片反面',
                                                trigger: 'onChange'
                                              }
                                            ],
                                            placeholder: '请选择身份证照片反面'
                                          },
                                          {
                                            input: function () {
                                              return v(
                                                be,
                                                {
                                                  style: { width: '100%' },
                                                  tips: '上传身份证正面',
                                                  modelValue: i.forms.idcardFrontImg,
                                                  'onUpdate:modelValue': function (e) {
                                                    return (i.forms.idcardFrontImg = e)
                                                  }
                                                },
                                                null
                                              )
                                            }
                                          }
                                        ),
                                        v(
                                          D,
                                          {
                                            required: !0,
                                            label: '学历',
                                            modelValue: i.forms.educationBackground,
                                            'onUpdate:modelValue': function (e) {
                                              return (i.forms.educationBackground = e)
                                            },
                                            readonly: !0,
                                            name: 'educationBackground',
                                            onClick: function () {
                                              return (i.showEducation = !0)
                                            },
                                            rules: [
                                              {
                                                required: !0,
                                                message: '请选择学历',
                                                trigger: 'onChange'
                                              }
                                            ],
                                            placeholder: '请选择学历'
                                          },
                                          {
                                            'right-icon': function () {
                                              return v(
                                                O,
                                                {
                                                  name: 'arrow',
                                                  color: i.checkPhone ? '#aaa' : '#323233',
                                                  size: '16'
                                                },
                                                null
                                              )
                                            }
                                          }
                                        ),
                                        v(
                                          D,
                                          {
                                            required: !0,
                                            label: '毕业学校',
                                            modelValue: i.forms.graduateSchool,
                                            'onUpdate:modelValue': function (e) {
                                              return (i.forms.graduateSchool = e)
                                            },
                                            rules: [{ required: !0, message: '请输入毕业学校' }],
                                            name: 'graduateSchool',
                                            placeholder: '请输入毕业学校'
                                          },
                                          null
                                        ),
                                        v(
                                          D,
                                          {
                                            required: !0,
                                            label: '所在城市',
                                            modelValue: i.forms.cityCodeName,
                                            'onUpdate:modelValue': function (e) {
                                              return (i.forms.cityCodeName = e)
                                            },
                                            readonly: !0,
                                            name: 'cityCodeName',
                                            onClick: function () {
                                              return (i.showPicker = !0)
                                            },
                                            rules: [
                                              {
                                                required: !0,
                                                message: '请选择所在城市',
                                                trigger: 'onChange'
                                              }
                                            ],
                                            placeholder: '请选择所在城市'
                                          },
                                          {
                                            'right-icon': function () {
                                              return v(
                                                O,
                                                {
                                                  name: 'arrow',
                                                  color: i.checkPhone ? '#aaa' : '#323233',
                                                  size: '16'
                                                },
                                                null
                                              )
                                            }
                                          }
                                        ),
                                        v(
                                          D,
                                          {
                                            required: !0,
                                            label: '声部（可多选）',
                                            modelValue: i.forms.cityCodeName,
                                            'onUpdate:modelValue': function (e) {
                                              return (i.forms.cityCodeName = e)
                                            },
                                            readonly: !0,
                                            name: 'cityCodeName',
                                            onClick: function () {
                                              return (i.showSubject = !0)
                                            },
                                            rules: [
                                              {
                                                required: !0,
                                                message: '请选择声部',
                                                trigger: 'onChange'
                                              }
                                            ],
                                            placeholder: '请选择声部'
                                          },
                                          {
                                            'right-icon': function () {
                                              return v(
                                                O,
                                                {
                                                  name: 'arrow',
                                                  color: i.checkPhone ? '#aaa' : '#323233',
                                                  size: '16'
                                                },
                                                null
                                              )
                                            },
                                            input: function () {
                                              return v(M, null, [
                                                i.forms.subjectIds.length <= 0
                                                  ? v(
                                                      'div',
                                                      {
                                                        class: J.subjectPlaceholder,
                                                        style: 'color:#c8c9cc'
                                                      },
                                                      [T('请选择声部')]
                                                    )
                                                  : '',
                                                i.forms.subjectIds.length > 0
                                                  ? v('div', null, [
                                                      i.selectSubjects.map(function (e, t) {
                                                        return v(
                                                          Q,
                                                          {
                                                            closeable: !0,
                                                            size: 'medium',
                                                            color: '#FF8057',
                                                            onClose: function () {
                                                              return (function (e, t) {
                                                                H({
                                                                  title: '提示',
                                                                  message: '您是否删除选中的声部',
                                                                  confirmButtonColor: '#ff8057',
                                                                  showCancelButton: !0
                                                                }).then(function () {
                                                                  i.selectSubjects.splice(t, 1)
                                                                  var e = []
                                                                  i.selectSubjects.forEach(
                                                                    function (t) {
                                                                      e.push(t.value)
                                                                    }
                                                                  ),
                                                                    (i.forms.subjectIds = e)
                                                                })
                                                              })(0, t)
                                                            }
                                                          },
                                                          {
                                                            default: function () {
                                                              return [e.text]
                                                            }
                                                          }
                                                        )
                                                      })
                                                    ])
                                                  : ''
                                              ])
                                            }
                                          }
                                        )
                                      ]
                                    }
                                  }
                                ),
                                v('div', { class: J.protocol }, [
                                  v(
                                    U,
                                    {
                                      modelValue: i.checked,
                                      'onUpdate:modelValue': function (e) {
                                        return (i.checked = e)
                                      },
                                      'icon-size': '16',
                                      style: 'margin-right: 6px',
                                      'checked-color': '#FF8057'
                                    },
                                    null
                                  ),
                                  v(
                                    'span',
                                    {
                                      onClick: function () {
                                        i.checked = !i.checked
                                      }
                                    },
                                    [T('请认真阅读并勾选')]
                                  ),
                                  v('span', { class: J.c }, [T('《乐团伴学指导注册协议》')])
                                ]),
                                v(
                                  j,
                                  {
                                    size: 'large',
                                    block: !0,
                                    round: !0,
                                    class: J['btn-submit'],
                                    color: '#FF8057',
                                    loading: i.btnLoading,
                                    'native-type': 'submit'
                                  },
                                  {
                                    default: function () {
                                      return [T('完成')]
                                    }
                                  }
                                )
                              ]
                            }
                          }
                        ),
                        v(
                          R,
                          {
                            show: i.showPicker,
                            'onUpdate:show': function (e) {
                              return (i.showPicker = e)
                            },
                            position: 'bottom',
                            round: !0
                          },
                          {
                            default: function () {
                              return [
                                v(
                                  N,
                                  {
                                    showToolbar: !0,
                                    columns: i.columns,
                                    onCancel: function () {
                                      return (i.showPicker = !1)
                                    },
                                    onConfirm: c,
                                    columnsFieldNames: {
                                      text: 'name',
                                      value: 'code',
                                      children: 'areas'
                                    }
                                  },
                                  null
                                )
                              ]
                            }
                          }
                        ),
                        v(
                          R,
                          {
                            show: i.showSubject,
                            'onUpdate:show': function (e) {
                              return (i.showSubject = e)
                            },
                            position: 'bottom',
                            round: !0
                          },
                          {
                            default: function () {
                              return [
                                v(
                                  N,
                                  {
                                    showToolbar: !0,
                                    columns: i.columnSubject,
                                    onCancel: function () {
                                      return (i.showSubject = !1)
                                    },
                                    onConfirm: s
                                  },
                                  null
                                )
                              ]
                            }
                          }
                        ),
                        v(
                          R,
                          {
                            show: i.showSubject,
                            'onUpdate:show': function (e) {
                              return (i.showSubject = e)
                            },
                            position: 'bottom',
                            round: !0
                          },
                          {
                            default: function () {
                              return [
                                v(
                                  N,
                                  {
                                    showToolbar: !0,
                                    columns: i.columnSubject,
                                    onCancel: function () {
                                      return (i.showSubject = !1)
                                    },
                                    onConfirm: s
                                  },
                                  null
                                )
                              ]
                            }
                          }
                        ),
                        v(
                          R,
                          {
                            show: i.showEducation,
                            'onUpdate:show': function (e) {
                              return (i.showEducation = e)
                            },
                            position: 'bottom',
                            round: !0
                          },
                          {
                            default: function () {
                              return [
                                v(
                                  N,
                                  {
                                    showToolbar: !0,
                                    columns: [
                                      { text: '专科', value: '专科' },
                                      { text: '本科', value: '本科' },
                                      { text: '硕士', value: '硕士' },
                                      { text: '博士', value: '博士' },
                                      { text: '其他', value: '其他' }
                                    ],
                                    onCancel: function () {
                                      return (i.showEducation = !1)
                                    },
                                    onConfirm: l
                                  },
                                  null
                                )
                              ]
                            }
                          }
                        ),
                        v(
                          R,
                          {
                            show: i.submitStatus,
                            'onUpdate:show': function (e) {
                              return (i.submitStatus = e)
                            },
                            round: !0,
                            style: 'width: 75%',
                            closeOnClickOverlay: !0
                          },
                          {
                            default: function () {
                              return [
                                v('div', { class: J.stautsS }, [
                                  v(
                                    'img',
                                    {
                                      class: J['icon-close'],
                                      src: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAAA7dJREFUaEPdmk1oE0EUgN/bpUkxm20rHqvU4E9OLSI0/pxERFG8eOhNj3qooKDgwbMHoYJCe/Cqt4JeREEseLKagqg9xb9YtDelP7MTSVJ2n0zYlW2adGd/0obJcfPem/ftm33z3swgJPhbXV3dr2naCQAYBoCDRJRDRBMAsu4wFhExRCwDwGcAmHcc53VfX9/XpNzAuIY458OO41xCxDEi2h3FHiL+IqJpTdMeGYYxH8WGpxMZqFKpnLVt+zYAHIvjQAvdWV3X72QymRdR7IYGWllZOaxp2hQAFKIMGEKn6DjOeH9///sQOiANRERpzvldIroKAHqYQWLI2og4aRjGLUSsydiRAqpWq/vW1tamieiQjNGkZRDxQ09Pz1hvb++3INuBQIwx8Y08A4CdQcY6/P8SAJw3TXN2s3E2BeKcn7Zt+yki7uiws1LmieivrusXDMN42U6hLZCIDBG96hYYD0BAIeKpdpFqCSS+mXq9XuyCadYuEEupVKrQ6pvaAORms7fblQCk5h4AiERhGMbR5uy3AciyrPtEdE3W8HbKIeKDbDZ73e/DOiB30RRTbavWmbjvw3Ycp+BffNcBMcbebUEFEBeiWb9omuaRDbWcW5s9lxmNcw6Li4uQy+UglUrJqATK1Ot1KJfLMDg4CIZhBMr7BXRdP+fVfv8jxBh7I1tolkolWFhYgEwmA6Ojo5BOp0M50Cxcq9Vgbm4OKpUKDA0NQT6fD2tv1jTN40KpAbS8vDyi6/pHWSvibRaLxYYDcaH8MMJWoVCIFHVN00ZE69EAYoxNAMANWSAh1+xIlEglYcPn8z3TNG82gCzL+hmlOYvjUBzdVi9eNInZbHYPirYZEb+EiY5fNopjUXRk/COiA2hZ1mUieiij0E4mjINhZMP6hIhXBNAkEY2HVd4sU7VLFJ2EaWQ4xCkx5WYQ8WRcoKBE0WkYF2gGGWPfASCXBFA7KPHcW2fipvkAP8tiyv0mol1JAbWCEs+SWLOCfETEPwKoKlqGIOGw//unmNDtcGQa7olWQkkgtaaccklBubSt3MKqXOmjXHGqXPugZIPnnsJ9kq0Gur4Fd6OkziaJWzyKI0Z1trHcKKmz0SiAlNsKdlO4Opv1Aki54xQBpdSBl7cWKXUk6UFxzs/Ytv2kW85ZYx0a+yOlzLG+B6XUxQsPSqmrMf6iVZnLS82VuDLXy5rB3NO/i0lcALRt+/HAwIB0G9Oq3Qm8vCTbIwk5/xVNx3HyiLi31RVNIvqhaVqpE1c0/wHHpUliZEbjnQAAAABJRU5ErkJggg==',
                                      onClick: function () {
                                        return (i.submitStatus = !1)
                                      }
                                    },
                                    null
                                  ),
                                  v(
                                    'img',
                                    {
                                      src: './assets/top-banner1.af55128a.png',
                                      class: J['submit-img']
                                    },
                                    null
                                  ),
                                  v('div', { class: J['submit-container'] }, [
                                    v('p', { class: J['submit-title'] }, [T('恭喜您已成功登记为')]),
                                    v('p', { class: J['submit-o'] }, [
                                      i.name,
                                      T(' '),
                                      v('span', null, [T('【伴学指导】')])
                                    ]),
                                    v('p', { class: J['submit-tips'] }, [
                                      T('请下载管乐团管理端APP进行授课')
                                    ]),
                                    v(
                                      j,
                                      {
                                        type: 'primary',
                                        color: '#FF8057',
                                        block: !0,
                                        round: !0,
                                        onClick: function () {
                                          return (i.submitStatus = !1)
                                        }
                                      },
                                      {
                                        default: function () {
                                          return [T('立即下载')]
                                        }
                                      }
                                    )
                                  ])
                                ])
                              ]
                            }
                          }
                        ),
                        i.imgCodeStatus
                          ? v(
                              Y,
                              {
                                value: i.imgCodeStatus,
                                'onUpdate:value': function (e) {
                                  return (i.imgCodeStatus = e)
                                },
                                phone: i.forms.phone,
                                onClose: function () {
                                  i.imgCodeStatus = !1
                                },
                                onSendCode: h
                              },
                              null
                            )
                          : null
                      ])
                    }
                  )
                }
              })
            )
          }
        }
      }
    )
})()
