;(function () {
  function _toConsumableArray(arr) {
    return (
      _arrayWithoutHoles(arr) ||
      _iterableToArray(arr) ||
      _unsupportedIterableToArray(arr) ||
      _nonIterableSpread()
    )
  }
  function _nonIterableSpread() {
    throw new TypeError(
      'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
    )
  }
  function _unsupportedIterableToArray(o, minLen) {
    if (!o) return
    if (typeof o === 'string') return _arrayLikeToArray(o, minLen)
    var n = Object.prototype.toString.call(o).slice(8, -1)
    if (n === 'Object' && o.constructor) n = o.constructor.name
    if (n === 'Map' || n === 'Set') return Array.from(o)
    if (n === 'Arguments' || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
      return _arrayLikeToArray(o, minLen)
  }
  function _iterableToArray(iter) {
    if (
      (typeof Symbol !== 'undefined' && iter[Symbol.iterator] != null) ||
      iter['@@iterator'] != null
    )
      return Array.from(iter)
  }
  function _arrayWithoutHoles(arr) {
    if (Array.isArray(arr)) return _arrayLikeToArray(arr)
  }
  function _arrayLikeToArray(arr, len) {
    if (len == null || len > arr.length) len = arr.length
    for (var i = 0, arr2 = new Array(len); i < len; i++) {
      arr2[i] = arr[i]
    }
    return arr2
  }
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
    try {
      var info = gen[key](arg)
      var value = info.value
    } catch (error) {
      reject(error)
      return
    }
    if (info.done) {
      resolve(value)
    } else {
      Promise.resolve(value).then(_next, _throw)
    }
  }
  function _asyncToGenerator(fn) {
    return function () {
      var self = this,
        args = arguments
      return new Promise(function (resolve, reject) {
        var gen = fn.apply(self, args)
        function _next(value) {
          asyncGeneratorStep(gen, resolve, reject, _next, _throw, 'next', value)
        }
        function _throw(err) {
          asyncGeneratorStep(gen, resolve, reject, _next, _throw, 'throw', err)
        }
        _next(undefined)
      })
    }
  }
  function ownKeys(object, enumerableOnly) {
    var keys = Object.keys(object)
    if (Object.getOwnPropertySymbols) {
      var symbols = Object.getOwnPropertySymbols(object)
      enumerableOnly &&
        (symbols = symbols.filter(function (sym) {
          return Object.getOwnPropertyDescriptor(object, sym).enumerable
        })),
        keys.push.apply(keys, symbols)
    }
    return keys
  }
  function _objectSpread(target) {
    for (var i = 1; i < arguments.length; i++) {
      var source = null != arguments[i] ? arguments[i] : {}
      i % 2
        ? ownKeys(Object(source), !0).forEach(function (key) {
            _defineProperty(target, key, source[key])
          })
        : Object.getOwnPropertyDescriptors
        ? Object.defineProperties(
            target,
            Object.getOwnPropertyDescriptors(source)
          )
        : ownKeys(Object(source)).forEach(function (key) {
            Object.defineProperty(
              target,
              key,
              Object.getOwnPropertyDescriptor(source, key)
            )
          })
    }
    return target
  }
  function _defineProperty(obj, key, value) {
    if (key in obj) {
      Object.defineProperty(obj, key, {
        value: value,
        enumerable: true,
        configurable: true,
        writable: true
      })
    } else {
      obj[key] = value
    }
    return obj
  }
  var __vite_style__ = document.createElement('style')
  __vite_style__.innerHTML =
    '._steps_18zf0_1{padding-top:.4rem;padding-left:.37333rem}._steps_18zf0_1 ._gridName_18zf0_5{font-size:.37333rem;font-weight:500;color:#b4b4b4;line-height:.53333rem;padding-top:.10667rem}._steps_18zf0_1 ._gridName_18zf0_5._active_18zf0_12{color:var(--van-primary)}._steps_18zf0_1 .van-grid-item{padding-right:.37333rem}._steps_18zf0_1 .van-grid-item:first-child{padding-right:.26667rem}._steps_18zf0_1 .van-grid-item__content{padding-top:.18667rem;padding-bottom:.18667rem;border-radius:.26667rem;overflow:hidden}._steps_18zf0_1 .van-badge__wrapper{display:flex;align-items:center}._classInfo_o3lf6_1 ._class-info-tip_o3lf6_1{font-size:.37333rem;color:#999;line-height:.72rem;padding:0 .37333rem .32rem}._classInfo_o3lf6_1 ._class-info-tip_o3lf6_1 span{color:#ff4e19}._classInfo_o3lf6_1 ._btnGroup_o3lf6_10{padding:0 .37333rem .4rem}._coursePlan_fxipm_1 ._courseTime_fxipm_1{font-size:.37333rem;color:#999;line-height:.53333rem}._courseStart_8590s_1 ._infoField_8590s_1{width:50vw;font-size:.42667rem}._courseStart_8590s_1 ._infoField_8590s_1 .van-tab{font-size:.42667rem}._courseStart_8590s_1 ._infoField_8590s_1 .van-tabs__nav--line{padding-left:0}._courseStart_8590s_1 ._infoField_8590s_1 .van-tab--active{color:#000}._courseStart_8590s_1 ._photoTip_8590s_14{font-size:.37333rem;color:#999;line-height:.72rem;padding:.13333rem 0}._courseStart_8590s_1 ._boxStyle_8590s_20{background:transparent!important;width:.48rem;height:.48rem;border:transparent!important}._courseStart_8590s_1 .van-radio{display:inline-block;align-items:inherit;overflow:inherit}._courseStart_8590s_1 .van-radio__icon{height:.48rem;line-height:.48rem;display:inline-block;vertical-align:sub}._courseStart_8590s_1 .van-radio__label{line-height:.48rem}._courseStart_8590s_1 ._imgContainer_8590s_40{width:4rem;height:2.26667rem;border-radius:.26667rem;overflow:hidden;margin:0 0 .32rem;position:relative}._courseStart_8590s_1 ._imgContainer_8590s_40 .van-radio{position:absolute;bottom:.26667rem;right:.53333rem;z-index:9}._courseStart_8590s_1 ._stepTips_8590s_54{padding:.18667rem .32rem;margin-bottom:.4rem;background:linear-gradient(139deg,#fff6ee 0%,#ffecdd 100%);border-radius:.16rem;line-height:.58667rem;font-size:.32rem;color:#e0945a;display:flex;align-items:center}._arrange_ci227_1{margin:0 .37333rem}._arrange_ci227_1 ._arrangeCell_ci227_4{margin:.26667rem 0 0;width:auto;border-radius:.26667rem;overflow:hidden}._arrange_ci227_1 ._rTitle_ci227_10{display:flex;align-items:center;font-size:.42667rem;color:#333;font-weight:500}._arrange_ci227_1 ._rTitle_ci227_10:before{margin-right:.21333rem;content:" ";display:inline-block;width:.10667rem;height:.45333rem;background:linear-gradient(180deg,#59e5d5 0%,#01C1B5 100%);border-radius:.08rem}._arrange_ci227_1 ._rTag_ci227_26{padding:.26667rem 0}._arrange_ci227_1 ._rTag_ci227_26 ._tag_ci227_29{background:#e9fff8;margin-bottom:.21333rem}._arrange_ci227_1 ._selectPopup_ci227_33{width:8.32rem;background:#ffffff;border-radius:.21333rem}._arrange_ci227_1 ._selectPopup_ci227_33 ._selectContainer_ci227_38{padding:.48rem .37333rem}._arrange_ci227_1 ._selectPopup_ci227_33 ._rTitle_ci227_10{font-size:.48rem}._arrange_ci227_1 ._selectPopup_ci227_33 ._selectPopupContent_ci227_44{padding:.53333rem 0}._arrange_ci227_1 ._selectPopup_ci227_33 ._desc_ci227_47,._arrange_ci227_1 ._selectPopup_ci227_33 ._times_ci227_48{font-size:.37333rem;color:#666;line-height:.53333rem}._arrange_ci227_1 ._selectPopup_ci227_33 ._times_ci227_48{padding-top:.4rem}._arrange_ci227_1 ._selectPopup_ci227_33 ._times_ci227_48 span{display:block}._arrange_ci227_1 ._selectPopup_ci227_33 ._selectBtn_ci227_59{display:flex;align-items:center;justify-content:space-between}._arrange_ci227_1 ._selectPopup_ci227_33 ._selectBtn_ci227_59 ._btn_ci227_64{width:48%}._live-create_1ip6h_1 .van-sticky--fixed{box-shadow:.26667rem .26667rem .26667rem var(--box-shadow-color)}\n'
  document.head.appendChild(__vite_style__)
  System.register(
    [
      './vendor-legacy.09f20d09.js',
      './index-legacy.637f35564.js',
      './index-legacy.c1757005.js',
      './index-legacy.535e160e.js',
      './index-legacy.9696b334.js',
      './index-legacy.f25f109a7.js',
      './index-legacy.f25f109a.js',
      './index-legacy.f25f109a5.js',
      './index-legacy.f25f109a3.js',
      './toolsValidate-legacy.b90c63da.js',
      './index-legacy.637f35563.js',
      './index-legacy.637f35565.js',
      './index-legacy.f25f109a14.js',
      './index-legacy.637f3556.js',
      './index-legacy.637f35562.js',
      './index-legacy.f25f109a2.js',
      './index-legacy.f25f109a11.js',
      './index-legacy.8feab2fc.js',
      './index-legacy.595c24c3.js',
      './icon_checkbox_default-legacy.e33240bc.js',
      './index-legacy.91b80b61.js',
      './index-legacy.f9759ffc.js',
      './index-legacy.34e07a99.js',
      './index-legacy.48bd16d8.js',
      './index-legacy.f25f109a10.js',
      './index-legacy.c75fe8a2.js',
      './index-legacy.f25f109a13.js',
      './checkbox_default-legacy.88950e5d.js',
      './index-legacy.f25f109a15.js',
      './index-legacy.69ca4eed.js',
      './index-legacy.f25f109a4.js',
      './icon_teacher-legacy.e765b7f7.js',
      './icon_timer2-legacy.b6c78faa.js',
      './icon-jiaozi-legacy.dd5ed0e2.js'
    ],
    function (exports) {
      'use strict'
      var reactive,
        defineComponent,
        createVNode,
        Grid,
        GridItem,
        Fragment,
        Icon,
        createTextVNode,
        Form,
        Field,
        Sticky,
        Button,
        ActionSheet,
        dayjs,
        withDirectives,
        vShow,
        RadioGroup,
        Row,
        Col,
        Image,
        Radio,
        isVNode,
        Tabs,
        Tab,
        Popup,
        DatetimePicker,
        Toast,
        Dialog,
        Cell,
        Tag,
        ColFieldGroup,
        ColField,
        ColPopup,
        SubjectModel,
        verifyNumberIntegerAndFloat,
        verifiyNumberInteger,
        ColUpload,
        formatterDate,
        state,
        request,
        postMessage,
        getWeekCh,
        activeButtonIcon,
        inactiveButtonIcon,
        CoursePlanStep,
        SectionDetail,
        UserDetail,
        Calendar
      return {
        setters: [
          function (module) {
            reactive = module.h
            defineComponent = module.d
            createVNode = module.a
            Grid = module.W
            GridItem = module.X
            Fragment = module.F
            Icon = module.K
            createTextVNode = module.j
            Form = module.aa
            Field = module.G
            Sticky = module.S
            Button = module.B
            ActionSheet = module.N
            dayjs = module.g
            withDirectives = module.ah
            vShow = module.ai
            RadioGroup = module.ac
            Row = module.z
            Col = module.A
            Image = module.I
            Radio = module.ad
            isVNode = module.x
            Tabs = module.v
            Tab = module.w
            Popup = module.P
            DatetimePicker = module.V
            Toast = module.T
            Dialog = module.D
            Cell = module.C
            Tag = module.U
          },
          function () {},
          function (module) {
            ColFieldGroup = module.C
            ColField = module.a
          },
          function (module) {
            ColPopup = module.C
          },
          function (module) {
            SubjectModel = module.S
          },
          function () {},
          function () {},
          function () {},
          function () {},
          function (module) {
            verifyNumberIntegerAndFloat = module.v
            verifiyNumberInteger = module.a
          },
          function () {},
          function () {},
          function () {},
          function () {},
          function () {},
          function () {},
          function () {},
          function (module) {
            ColUpload = module.C
          },
          function (module) {
            formatterDate = module.k
            state = module.s
            request = module.r
            postMessage = module.p
            getWeekCh = module.m
          },
          function (module) {
            activeButtonIcon = module.a
            inactiveButtonIcon = module.i
          },
          function (module) {
            CoursePlanStep = module.C
          },
          function (module) {
            SectionDetail = module.S
          },
          function (module) {
            UserDetail = module.U
          },
          function (module) {
            Calendar = module.C
          },
          function () {},
          function () {},
          function () {},
          function () {},
          function () {},
          function () {},
          function () {},
          function () {},
          function () {},
          function () {}
        ],
        execute: function execute() {
          var _Object$freeze,
            _Object$freeze2,
            _Object$freeze3,
            _Object$freeze4,
            _Object$freeze5,
            _Object$freeze6,
            _Object$freeze7
          var icon_arrange_active =
            'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAB4xJREFUaN7VmnlMFHcUx9dqUtOkSf9o0ib9z+hf/b8t3kdBEAQRUNRqtZroP00TE5smTdOkpdVoBY/S9NBWTZse2phSQVGsB1KVQ1hQzl2Wa5ddbhB3BnbX1++bndmLEX/DIdtJXnZ3mJn9fXjn7701mabocJE8z+GVdtm9ci6kyOGTmiE9dp88ApHwvsvukRodXjnf4ZOznTSS6SJ6xRQNRxfJCxy+kc+wMIvdK9EE5LHd476H+/d2DQ+/+swBnKPuN+1ed56ykIkB6MkI5AT+OfOnHaCd3K/BNP6YwsXriYdNr5voxWmB6KTRHYAYmmaIoPjkDidJK6cMgIjmwonPPDOAEMH3eu0+6VOsYdakIPqJXsLDbs4ERATQacDMmTAE1Fs10xABmMfyecDMnog53YwWCE06vdJJQyAz5RNiQcC9TwgCF78XtRCQDq806iJPjEieGIpmEEVQ6jQRPT+OSU0u2RUNd9Ofg53jXtPucdOPva102907Oc14pE/GKTsm95/a3VFDqbYKsnkePfGa4kc9lNBYQh/bH0xWM8MOopd1fEPOE31IhTRAP/S301c9NjrU3Qyx0kHIrw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UOKLLEPYN1YEHDzcpJZUFyogiwyCdPrkA1xnZRsB0YtSqXi/B2F4d0slbbDeUSBY0gC2C6F4J+7hqlZz8IyGEtqOe7chMKwAzFINotoPsbDqojEQ7+gOE3fFhUHwcL0oVRBSdjeNPKQEaISjVN3IUOA8l+YMkQn/4V2idj4X+5SgNi5NDIRGXjdxa190L3KYQUK0kaRWtl846+nKQxcW66JTSJqaWX2P6wsBUDjopCx7rQISD/M6i8rgEsr4AvjQHjwrEoLlJ5RBgiDO4O4QrX1RkCBEeGU7tigMbpaU8rw2JPEFcka4gy9SIWIqC4RBuAsZuh/ZKwqil73HQOhmb/3Et1jTRhVro0CBeKsyH6YlqBGPHBvc6mLIos4nxr2Jux9J1rGbpSBEse5mSdtjKBAaSKhfqJpYWBkE+Rs9AQGQNuxFnotszJ142o01yBMcofQ2S6t1ICK1wRBLQ3OGGqX8ICrEvXxKwnUto49EyvcP9MZo83nI8rSbL8B5U6GVsFoqMmfo7Pj0cwY7eNAvYqCJBPy9GIFDoIPidJDjBf0GnWBOqUVY/QV77lz4zNeQ47Dn4y4LHUOrRxFnEx1FWNXkCNpAOYrUU46jnrIVqaPDmiCiZUN+Rp6yIHwL544nHTzu4klR1LdMvdKtpw5/eNylTIqithsv97fK8jyxjjzGXVEK8tjhdacZGfTM4kTzv52NRMDM4XFXFI0S9k9mojubx10zbU4T0oS+z8j7jOztp9KxDfmE2I9mPDFGdpNTEWKFo5PRg8ddPCniIcu0jaGRsflXFpP+kYDQ1BeTIh6y8HxiCiHauHZ6YtkxnQcPWXg+wa197opPYPFOJcyjFB9Txc7UoUQ4dMW5oQzJ4TYmdwC5ecZ9J27ZcLeDGwVcJynb0yk8/gOn8jT3jdG3qAAAAABJRU5ErkJggg=='
          var __glob_8_0 = /*#__PURE__*/ Object.freeze(
            ((_Object$freeze = { __proto__: null }),
            _defineProperty(_Object$freeze, Symbol.toStringTag, 'Module'),
            _defineProperty(_Object$freeze, 'default', icon_arrange_active),
            _Object$freeze)
          )
          var icon_arrange_default =
            'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAB0hJREFUaN7VmslvG3UUx11aqRVSJQ5IReJWlRN3UK9I/AUIiSuIAzekSj2iShUSnNpTb+VQShLbWZw4XhLbcRLHSSnNHi/ZF2dPs9ceLxP6eN+fPeOJneU3jrMw0lMm7ozz+/ze+nuvFkuVrkyG7qbSuR9TSu6ZklYDipKbTSnqJt9nWdJ8v5FUcpOptOpWMuoTRTn4jojuWK7CxYv/jBf2WEnnphmAKpD3LIOKoj5IJpOfXDgA7/aXvMPOwkKoSpJljT7nzbl3AQD0Ke+evYqLP0pU3qgnbHa3zwUinT74nk1o/5whdGG/Wkqn1a+qBsA7c4sB/rwogBI5YB98xGu4dlaIj3hnQpcEUZRU7gWv5UbFEOzQw5cOoZlaRnXwmq5XYE5XQBOlks79YS46XZ5PnK4ZRX0oBcHUP1xViILkGOb+6XniAkNspYJSh83/5gkgZ0t2K6sbtJBYOnkRqSxNTE7T+sbWGSNZ9pcTyo6z7dTfr19TV1cX7Sczxz6zur5J3rY2etM/cFbNJPeJPi73jXztJPUlm9t7ND0zR/H4BMXi4xSLjVM0Fqe5+QTNLyxSJBqjsUiURsciNDIKGRMyPDLKn0VpZnaexiemaGBomAYGh6h/gIV/Rvh7tnf2TUQx9dfyKlayAEwklqmvr4/CvWEKh8MU6umh7lCIurq79UXg945gBwU6OsgfCJDP76d2n4/a2tup99Ur8cwCf4/L46FWt5ucLhe1tLZSs9PJv7sosbgiCaNuz83RLUOkUh/LvLi1vV+A6BUQPQwR4kV3M4QRBPdlEL528ra3UW+fAYQhWgsQLa1OBmkhR0szf+6hvX1FMhwffGvMG1Lnidm5BeothQjlITrZN+DA++/SFOwMFiH8PgZpF9rwtHn52ZBweJgmIJw6hFNANDU3U6OjSZippFYcxZOdpE1OTE4JbfSUmBQggp2d4jP821EmBQf3eL3k9nooyM/jvmhS0ESLgGhqdggQ+JB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wZAy19tIopWmDTeplTQ01MDROmhKJ8Oejxmj3MGQ5tfmwuCzM6xCEaCK49JzRfKxJNR5tUta8JgCCZ5ZX1qWcfGWFPjyutyWVUxBWpzjyINPDKccgkRiNQrjdMyIkQsOjELSBxjiyjQoZ5Ag3ODTCraARUZ70CxkSP1G67+2l5HPHCV3425gUXfWWKUv41OEPxl1iUnRlIdSd3UzmrmRHXn10RUHeK0r2GzODnmsYd/1vZyMlMDcw7ro6ENnfzjIMvY5x1+WbUwWaOGZu8tDM2b6ajm3KJyRh7ps5TVYjxEpHpwpM7SYmRRiynKMW1pDszvyfBGQuTIowZMF8oooQCdROx5Yd53lhyIL5BFr76IpXsvs4T6AUL6tiL+tChENXHA1l3tmnaGOiA4jmGfpOaNmg24FGAUxHHE+reP0HsjP72OJ+3yMAAAAASUVORK5CYII='
          var __glob_8_1 = /*#__PURE__*/ Object.freeze(
            ((_Object$freeze2 = { __proto__: null }),
            _defineProperty(_Object$freeze2, Symbol.toStringTag, 'Module'),
            _defineProperty(_Object$freeze2, 'default', icon_arrange_default),
            _Object$freeze2)
          )
          var icon_course_active =
            'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAAtZQTFRFAAAAzP//8f//6P//6//16v/44/j45vz15fz25fz55v345//45f345v345v345vz45vz35f345Pz35f335v335vz45fz35fz35f345fz35fz35v34OM+1Oc+1Oc+2OdC2Os+2OtC2OtC3O9C3O9C4O9G4PNG4PNG5PNK5PdK5PdK6PtK6PtO6PtO7P9O7P9O8P9S8QNS8QNS9QdS9QdW9QdW+QtG4QtW+Qta+Qta/Q9W9Q9a/Q9bARNbARNfARNfBRdfBRdjBRdjCRtjCRtjDR9O8R9fBR9jDR9nDR9nESNS8SNnDSNnESNrESNrFSdS8SdS9SdrFSdrGSdvFStW+StrFStrGStvGStvHS9a/S9vGS9vHS9zHTNbATNvHTNzHTNzITN3ITdS9TdfATdzITd3ITd3JTtjBTtjC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uc/jT++B8zGbut6mSGCFH593B3BG+HkbBwGVT5ycumb0U1AoCRI1PcMKpufqsoDQm6faYJkaGBPFaITyqa6V3VZwAwKJIRgrgCpYA6p7GRAEvjKiiRRgiTp6wcZIKDrT7lefqvXyfnGp1ROTqV3i2Zz1O1QI4lZEV7lNCWI2x+/KFISRVG6L+QZWHW4kJH0w7Ynd3qQSmQolFURVV4RJLh7guQC5RLByKtWlTr3YOC7qwC0/8lDOCmFisgCUmUbWzlxpnt3AQA3Xn9ABkIKKdpCN6yKJr+H5F/cXRIAfwQKDko5pCYqWAYpOf76wN0YCqeEEJW3hqHE5Ha7XAQsuZuOG+K4BNK1NKX+CUpwhmnVDQGJIiiJFELCc8tTREQJTG5NA5bfUaIZRHmQFIPy6H00OBGKyRki+/XLX/bNZDB5cnOZ3bz36rMZkRUAinnSkMvK3zrmVh2uXcV/7UBTuk9765f7r+/ZTB+Odu9c5n9n96gjivV4vgStT8msHenhM/NEYm3v6IzsDkZzZPcw/Q/C/u+fDv/hcXLMbYN++/yxdOb58w/v1CGk8S38dAAAAABJRU5ErkJggg=='
          var __glob_8_2 = /*#__PURE__*/ Object.freeze(
            ((_Object$freeze3 = { __proto__: null }),
            _defineProperty(_Object$freeze3, Symbol.toStringTag, 'Module'),
            _defineProperty(_Object$freeze3, 'default', icon_course_active),
            _Object$freeze3)
          )
          var icon_plan_active =
            'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABo1JREFUaN7lWtlTW3UUzov/gA/O+K7/QwttKbSUtRDAFhzrQ6csBYpl1L60D9qpozMqo77UarV9cKajdZxxVJbWlu5AgSasYUlCgJCw1bKGhDZw/M7v3htuwtL7CxQqMnOGO7nb9537neV37jWZNuBvhOg1T3Au17sQ+MobDFQNBf1274J/3LMQCLDxtvgN+/gYPpbPMW3l3xTRq8MUKPUG/Q2eoH8RRpK2yOfyNfhamwZ8nHyvw4sVADAbBejVbJavydd+YcCbi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QMJBr+77RrVozmUC2LJNFqMVKnJphKAZYPWgqD9EcC/QDo+P9JLd9CR8m/FcMiu1hopAiKNyhYyjQDLphxP4+JjF33PBq9+hxZZswsAyfbtmIPq0B4MPPPRZwC9Ty1YWtDugedPAHy7f5I+R2vdhbQqVci4HMsQOI4iFdmkrRi03UrQHsFxrqc+Oo0CF69qP1L3u1qvUR4ylGN+RvKJopWQbeaKQEALWrYU+4M1m7SfofU/sbBJ0IHP6rpL1YiHYjiCdc/SiW2poS/xBGSGw6EJt0w7XTTQumLKVMBH9DlImT3w6im0FUsZ5wYdBXG+1ifIaOz9WBCIaammNBwzZFj/ajstu6ApApjIlMnejwTPHWYmSPE5b6OVZvCadDQC32BtESu8X00x1iraCes2GANhCxqZJWUhCOg7zMjFSag9Rr5PwTaf8469bkn30HyarZascxM0iAX9h2jwYloU8DuslWQ3Fgezy94pGF3UF/RbV15Z6WSjEeCgbUN2OYO4UYL2eijfm3EMp88BkEiGrBi8GccbzD4VUY9V8kEgWQc+SS+diDaBdX8BU4xaFLo4NePogzYDx7yPorgT4HdYKuk8BgaeaMcqRgdbBaicyWJxooAvh6RK8JvWJugXJ+9C61ce94vzOMcr4BUCHLSKdCqF9/NxTa4VUQ+2jI4Wz2FJqXn/EgqY9vtlbCeKda2SLj9F281DK13Zp4t4GomQS2wIfBW2q+hjOMGF4de6R4tGhrtclK4+GaKaFdqIh6i4P4HILUhmtfN5SvfHhJsujTroKp5Op3/K8HDX8Fub//R4fVu84NgWr5i2xUs+fWBv9mvW576N+V+96N4Wnxpsm489Vv/cZl7ic5v5Dfvc5l+IZB5p0s/oxgAAAABJRU5ErkJggg=='
          var __glob_8_3 = /*#__PURE__*/ Object.freeze(
            ((_Object$freeze4 = { __proto__: null }),
            _defineProperty(_Object$freeze4, Symbol.toStringTag, 'Module'),
            _defineProperty(_Object$freeze4, 'default', icon_plan_active),
            _Object$freeze4)
          )
          var icon_plan_default =
            'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAA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faKY1odjzG50BlS0Mj5MJKY3u3tkt1wbIrvt/H8Q9n8/OvyH4WSb28qlYvzRfM/48w9kRUkZZJ+ZowAAAABJRU5ErkJggg=='
          var __glob_8_4 = /*#__PURE__*/ Object.freeze(
            ((_Object$freeze5 = { __proto__: null }),
            _defineProperty(_Object$freeze5, Symbol.toStringTag, 'Module'),
            _defineProperty(_Object$freeze5, 'default', icon_plan_default),
            _Object$freeze5)
          )
          var icon_start_active =
            'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAAuJQTFRFAAAAzP//8f//6P//6//16v/44/j45vz15fz25fz55v345//45f345v345v345vz45vz35f345Pz35f335v335vz45fz35fz35f345fz35fz35v34OM+1Oc+1Oc+2Os+2OtC2OtC3O9C3O9C4O9G4PNC3PNG4PNG5PdK5PdK6PtK6PtO6PtO7P9C3P9O7P9O8P9S8QNS8QNS9QdS9QdW9QdW+QtG4QtW+QtW/Qta/Q9a/Q9bARNbARNfARNfBRdS+RdfBRdjBRdjCRtK6RtO7RtfBRtjCRtjDR9jCR9jDR9nDR9nESNnESNrESNrFSdrFStjCStnDStrFStrGStvGS9vHS9zHTNfCTNzITdjCTdzITd3ITd3JTtjDTtnETt3JTt3KTt7KT9jDT9nET9rFT97KT97LT9/LUNrFUN/LUN/MUd/MUd/NUeDNUuDNUuDOUuHOU9vIU+HOU+HPVOHPVOLQVeLQVeLRVePRVtzIVuPRV+LQWtvIW9zJXNzJXN3KXN7LXd3KXd7LXtnDYNvHYdvIYdzIYtzJY93KY93LY+XUaODOaOLSad/MaeHPaePSaeTTauTTa+PSa+TUa+XVbOXVbObVbebWbebXcOLScefYcuHRc+PTc+jZdOXVdd/OdePTeN/NeeTUeenbe+TUe+nbf+TUf+TVf+ncgOPUgeLTg+TVhObYiOXWjOTVjOXXjurckObYk+nclObZlOjblO3ilundluvfoOzhpe7kqu/kre7lr+7ksPLpse7jtfHnu/PqvPHpvvXtwfLrwf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7T/SNJv2c5OCwDxR16CtTjH1CclS4xQ/MRpRv/ic3eSpEQXq+RPPKBUzUXkJaqaWBDlhDSojx0wLTRhSCIS8oxGgXIac8jlErA2RQCLMy0DMS85l+gSCIkC9FZJuAkRgOlqLmwvRZAOo+QuyfNakFZeKBvFFAiA5S6Sl69JEEwEIFC5+bM3LpYO7LhU+sYv39//yykn6XTQk0vXVleHs1L5b8V4N5Zyn+2tn79+fS/W/eFofPW89VfHR8eaYn8wvwWtjyczXbS7NC+O0d7RibbbWZjTdg+z/6Gx//enwxM8TnJt67Sr50/MTjx//gF0x3o7ajPvOgAAAABJRU5ErkJggg=='
          var __glob_8_5 = /*#__PURE__*/ Object.freeze(
            ((_Object$freeze6 = { __proto__: null }),
            _defineProperty(_Object$freeze6, Symbol.toStringTag, 'Module'),
            _defineProperty(_Object$freeze6, 'default', icon_start_active),
            _Object$freeze6)
          )
          var icon_start_default =
            'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAApdQTFRFAAAA////////////9fX/+Pj/8fH49fX59vb59vb89fj6+Pj99vb79vj79vj79ff79vf79fb69fb69vf69fb79ff79fb69fb69vf79fb69fb69vf7o6alo6ampKampKempKenpaenpainpaiopqiopqmop6mpp6qpp6qqqKqqqKuqqauqqaurqayrqqyrqqysqq2sqq2tq62sq62tq66trK6trK6ura+ura+vrbCvrq+vrrCvrrCwr7Cwr7Gwr7GxsLGxsLKxsLKysbKysbOysbOzsrOzsrSzsrS0s7S0s7W0s7W1tLW1tLa1tLa2tba2tbe2tbe3tbe4tre3tri3t7i4t7m4uLm4uLm5uLq5ubq5ubq6ubu6ubu7uru6uru7uru8ury7u7y7u7y8u728u729vLy8vL28vL29vL69vL6+vb29vb69vb6+vb++vr6+vr++vr+/vsC/v7+/v8C/v8DAwMDAwMHAwMHBwMLBwcHBwcLBwcLCwcPEwsLCwsPDwsTEw8PDw8TDw8TEw8TFxMTExMXFxcXFxcbF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+PZFADsfvbFZXN77QMFm0pHXimCm6C8C6GowzgBAv5tAMyTldREZIUfh3Fu3JdIhWlIjIuZTRWKFZusFjB3StxNzJgXnk/pITmv6zmvF7/33ZKLByJM8bZbN5BSgnj429Cd/+K0FA/5eEhrNt5lyDqeFMPmpJ6Z0/0slS0FZtjqVzZA5KtZcgGWEbduiYdugbfh8BUjIMFovzs+EXPSTKIGiKMIKVqyH9REyaFh7oGgZtCQV/W4Deqti4KGQAaOrAICLlwmYdkE2YBC2JJ1brxbFCMiAKF2svaSQzYJcTIC0rP77z1YOYpYq4+HDB3/8JTocUtBh9FfffPH8Yar8p2S8myq6n+xtnG2/sZem+2E8uHaW/bXBeGYp9pZOX0Ebg+GhLTq/eFoea3vjI2u30z9l7R5M/ofF/u+fDv/hcVJwW6ddP3/S5Mjz529eTa3KiYF61gAAAABJRU5ErkJggg=='
          var __glob_8_6 = /*#__PURE__*/ Object.freeze(
            ((_Object$freeze7 = { __proto__: null }),
            _defineProperty(_Object$freeze7, Symbol.toStringTag, 'Module'),
            _defineProperty(_Object$freeze7, 'default', icon_start_default),
            _Object$freeze7)
          )
          var basePlan = { plan: '', startTime: '', endTime: '', classNum: 1 }
          var createState = reactive({
            subjectList: [],
            active: 1,
            rate: 0,
            minutes: [],
            tabIndex: 1,
            templateList: [
              'https://ks3-cn-beijing.ksyuncs.com/video-course/1657853010619green.png',
              'https://ks3-cn-beijing.ksyuncs.com/video-course/1657853051064gray.png',
              'https://ks3-cn-beijing.ksyuncs.com/video-course/1657853062314yellow.png',
              'https://ks3-cn-beijing.ksyuncs.com/video-course/1657853076136linear.png'
            ],
            selectCourseList: [],
            coursePlanStatus: false,
            live: {
              teacherId: '',
              courseGroupId: '',
              name: '',
              subjectId: null,
              courseIntroduce: '',
              courseNum: null,
              singleCourseMinutes: 0,
              singleMins: null,
              freeMinutes: 0,
              coursePrice: null,
              salesStartDate: '',
              salesEndDate: '',
              mixStudentNum: null,
              backgroundPic: '',
              backgroundPicTemplate: '',
              coursePlanList: [_objectSpread({}, basePlan)]
            }
          })
          var steps = '_steps_18zf0_1'
          var gridName = '_gridName_18zf0_5'
          var active = '_active_18zf0_12'
          var styles$6 = { steps: steps, gridName: gridName, active: active }
          var getAssetsHomeFile = function getAssetsHomeFile(fileName) {
            var path = '../images/'.concat(fileName)
            var modules = {
              '../images/icon_arrange_active.png': __glob_8_0,
              '../images/icon_arrange_default.png': __glob_8_1,
              '../images/icon_course_active.png': __glob_8_2,
              '../images/icon_plan_active.png': __glob_8_3,
              '../images/icon_plan_default.png': __glob_8_4,
              '../images/icon_start_active.png': __glob_8_5,
              '../images/icon_start_default.png': __glob_8_6
            }
            return modules[path].default
          }
          var Steps = defineComponent({
            name: 'steps',
            render: function render() {
              return createVNode(
                Grid,
                { class: styles$6.steps, border: false, columnNum: '4' },
                {
                  default: function _default() {
                    return [
                      createVNode(GridItem, null, {
                        default: function _default() {
                          return createVNode(Fragment, null, [
                            createVNode(
                              Icon,
                              {
                                name: getAssetsHomeFile(
                                  'icon_course_active.png'
                                ),
                                size: 24
                              },
                              null
                            ),
                            createVNode(
                              'span',
                              {
                                class: [
                                  styles$6.gridName,
                                  createState.active >= 1
                                    ? styles$6.active
                                    : null
                                ]
                              },
                              [createTextVNode('\u8BFE\u7A0B\u4FE1\u606F')]
                            )
                          ])
                        }
                      }),
                      createVNode(GridItem, null, {
                        default: function _default() {
                          return createVNode(Fragment, null, [
                            createVNode(
                              Icon,
                              {
                                name:
                                  createState.active >= 2
                                    ? getAssetsHomeFile('icon_plan_active.png')
                                    : getAssetsHomeFile(
                                        'icon_plan_default.png'
                                      ),
                                size: 24
                              },
                              null
                            ),
                            createVNode(
                              'span',
                              {
                                class: [
                                  styles$6.gridName,
                                  createState.active >= 2
                                    ? styles$6.active
                                    : null
                                ]
                              },
                              [createTextVNode('\u6559\u5B66\u8BA1\u5212')]
                            )
                          ])
                        }
                      }),
                      createVNode(GridItem, null, {
                        default: function _default() {
                          return createVNode(Fragment, null, [
                            createVNode(
                              Icon,
                              {
                                name:
                                  createState.active >= 3
                                    ? getAssetsHomeFile(
                                        'icon_arrange_active.png'
                                      )
                                    : getAssetsHomeFile(
                                        'icon_arrange_default.png'
                                      ),
                                size: 24
                              },
                              null
                            ),
                            createVNode(
                              'span',
                              {
                                class: [
                                  styles$6.gridName,
                                  createState.active >= 3
                                    ? styles$6.active
                                    : null
                                ]
                              },
                              [createTextVNode('\u8BFE\u7A0B\u5B89\u6392')]
                            )
                          ])
                        }
                      }),
                      createVNode(GridItem, null, {
                        default: function _default() {
                          return createVNode(Fragment, null, [
                            createVNode(
                              Icon,
                              {
                                name:
                                  createState.active >= 4
                                    ? getAssetsHomeFile('icon_start_active.png')
                                    : getAssetsHomeFile(
                                        'icon_start_default.png'
                                      ),
                                size: 24
                              },
                              null
                            ),
                            createVNode(
                              'span',
                              {
                                class: [
                                  styles$6.gridName,
                                  createState.active >= 4
                                    ? styles$6.active
                                    : null
                                ]
                              },
                              [createTextVNode('\u5F00\u8BFE\u6761\u4EF6')]
                            )
                          ])
                        }
                      })
                    ]
                  }
                }
              )
            }
          })
          var classInfo = '_classInfo_o3lf6_1'
          var btnGroup = '_btnGroup_o3lf6_10'
          var styles$5 = {
            classInfo: classInfo,
            'class-info-tip': '_class-info-tip_o3lf6_1',
            btnGroup: btnGroup
          }
          var validator = function validator(val) {
            console.log(val)
            if (Number(val) <= 0) {
              return '课程组售价必须大于0'
            } else {
              return true
            }
          }
          var Course = defineComponent({
            name: 'course',
            data: function data() {
              return { subjectStatus: false, classTimeStatus: false }
            },
            computed: {
              choiceSubjectIds: function choiceSubjectIds() {
                // 选择的科目编号
                var ids = createState.live.subjectId
                  ? Number(createState.live.subjectId)
                  : null
                return ids ? [ids] : []
              },
              subjectList: function subjectList() {
                // 学科列表
                return createState.subjectList || []
              },
              lessonSubjectName: function lessonSubjectName() {
                var _this = this // 选择的科目
                var tempStr = ''
                this.subjectList.forEach(function (item) {
                  if (_this.choiceSubjectIds.includes(item.id)) {
                    tempStr = item.name
                  }
                })
                return tempStr
              },
              calcSingleRatePrice: function calcSingleRatePrice() {
                var rate = createState.rate || 0
                var nums = createState.live.courseNum
                var price = createState.live.coursePrice || 0
                return nums ? ((price / nums) * (1 - rate / 100)).toFixed(2) : 0
              },
              calcRatePrice: function calcRatePrice() {
                // 计算手续费
                var rate = createState.rate || 0
                var price = createState.live.coursePrice || 0
                return (price - (rate / 100) * price).toFixed(2)
              },
              disabled: function disabled() {
                return createState.live.courseGroupId ? true : false
              }
            },
            mounted: function mounted() {
              return _asyncToGenerator(
                /*#__PURE__*/ regeneratorRuntime.mark(function _callee() {
                  return regeneratorRuntime.wrap(function _callee$(_context) {
                    while (1) {
                      switch ((_context.prev = _context.next)) {
                        case 0:
                        case 'end':
                          return _context.stop()
                      }
                    }
                  }, _callee)
                })
              )()
            },
            methods: {
              onChoice: function onChoice(id) {
                createState.live.subjectId = id
                this.subjectStatus = false
              },
              onFormatter: function onFormatter(val) {
                return verifyNumberIntegerAndFloat(val)
              },
              onFormatterInt: function onFormatterInt(val) {
                if (val && val >= 1) {
                  return verifiyNumberInteger(val)
                } else {
                  return ''
                }
              },
              onSelect: function onSelect(action) {
                createState.live.singleCourseMinutes =
                  Number(action.name || 0) + Number(action.freeMinutes || 0)
                createState.live.singleMins = Number(action.name || 0)
                createState.live.freeMinutes = Number(action.freeMinutes || 0)
              }
            },
            render: function render() {
              var _this2 = this
              return createVNode(
                Form,
                {
                  class: styles$5.classInfo,
                  onSubmit: function onSubmit() {
                    return (createState.active = 2)
                  },
                  scrollToError: true
                },
                {
                  default: function _default() {
                    return [
                      createVNode(ColFieldGroup, null, {
                        default: function _default() {
                          return [
                            createVNode(
                              ColField,
                              { title: '课程名称', required: true },
                              {
                                default: function _default() {
                                  return [
                                    createVNode(
                                      Field,
                                      {
                                        modelValue: createState.live.name,
                                        'onUpdate:modelValue':
                                          function onUpdateModelValue($event) {
                                            return (createState.live.name =
                                              $event)
                                          },
                                        name: 'name',
                                        maxlength: 20,
                                        placeholder: '请输入您的课程名称',
                                        rules: [
                                          {
                                            required: true,
                                            message: '请输入您的课程名称'
                                          }
                                        ],
                                        disabled: _this2.disabled
                                      },
                                      null
                                    )
                                  ]
                                }
                              }
                            ),
                            createVNode(
                              ColField,
                              { title: '课程声部', required: true },
                              {
                                default: function _default() {
                                  return [
                                    createVNode(
                                      Field,
                                      {
                                        modelValue: _this2.lessonSubjectName,
                                        name: 'subjectId',
                                        readonly: true,
                                        isLink: true,
                                        disabled: _this2.disabled,
                                        onClick: function onClick() {
                                          if (createState.live.courseGroupId) {
                                            return
                                          }
                                          _this2.subjectStatus = true
                                        },
                                        rules: [
                                          {
                                            required: true,
                                            message: '请选择课程声部'
                                          }
                                        ],
                                        placeholder: '请选择课程声部'
                                      },
                                      null
                                    )
                                  ]
                                }
                              }
                            ),
                            createVNode(
                              ColField,
                              {
                                title: '课程介绍',
                                required: true,
                                border: false
                              },
                              {
                                default: function _default() {
                                  return [
                                    createVNode(
                                      Field,
                                      {
                                        modelValue:
                                          createState.live.courseIntroduce,
                                        'onUpdate:modelValue':
                                          function onUpdateModelValue($event) {
                                            return (createState.live.courseIntroduce =
                                              $event)
                                          },
                                        name: 'courseIntroduce',
                                        placeholder: '请输入课程介绍',
                                        rows: '3',
                                        maxlength: 200,
                                        showWordLimit: true,
                                        autosize: true,
                                        rules: [
                                          {
                                            required: true,
                                            message: '请输入课程介绍'
                                          }
                                        ],
                                        type: 'textarea'
                                      },
                                      null
                                    )
                                  ]
                                }
                              }
                            )
                          ]
                        }
                      }),
                      createVNode(ColFieldGroup, null, {
                        default: function _default() {
                          return [
                            createVNode(
                              ColField,
                              { title: '课时数', required: true },
                              {
                                default: function _default() {
                                  return [
                                    createVNode(
                                      Field,
                                      {
                                        modelValue: createState.live.courseNum,
                                        'onUpdate:modelValue':
                                          function onUpdateModelValue($event) {
                                            return (createState.live.courseNum =
                                              $event)
                                          },
                                        name: 'courseNum',
                                        placeholder: '请输入您的课时数',
                                        formatter: _this2.onFormatterInt,
                                        type: 'number',
                                        maxlength: 2,
                                        disabled: _this2.disabled,
                                        rules: [
                                          {
                                            required: true,
                                            message: '请输入您的课时数'
                                          }
                                        ]
                                      },
                                      {
                                        button: function button() {
                                          return createVNode('span', null, [
                                            createTextVNode('\u8BFE\u65F6')
                                          ])
                                        }
                                      }
                                    )
                                  ]
                                }
                              }
                            ),
                            createVNode(
                              ColField,
                              { title: '单课时时长', required: true },
                              {
                                default: function _default() {
                                  return [
                                    createVNode(
                                      Field,
                                      {
                                        modelValue: createState.live.singleMins,
                                        name: 'singleMins',
                                        readonly: true,
                                        disabled: _this2.disabled,
                                        isLink: true,
                                        onClick: function onClick() {
                                          if (!createState.live.courseGroupId) {
                                            _this2.classTimeStatus = true
                                          }
                                        },
                                        rules: [
                                          {
                                            required: true,
                                            message: '请选择单课时时长'
                                          }
                                        ],
                                        placeholder: '请选择单课时时长'
                                      },
                                      null
                                    )
                                  ]
                                }
                              }
                            ),
                            createVNode(
                              ColField,
                              { title: '课程组售价', required: true },
                              {
                                default: function _default() {
                                  return [
                                    createVNode(
                                      Field,
                                      {
                                        modelValue:
                                          createState.live.coursePrice,
                                        'onUpdate:modelValue':
                                          function onUpdateModelValue($event) {
                                            return (createState.live.coursePrice =
                                              $event)
                                          },
                                        name: 'coursePrice',
                                        placeholder: '请输入您的课程组售价',
                                        formatter: _this2.onFormatter,
                                        type: 'number',
                                        maxlength: 8,
                                        disabled: _this2.disabled,
                                        rules: [
                                          {
                                            required: true,
                                            validator: validator,
                                            message: '请输入您的课程组售价'
                                          }
                                        ]
                                      },
                                      {
                                        button: function button() {
                                          return createVNode('span', null, [
                                            createTextVNode('\u5143')
                                          ])
                                        }
                                      }
                                    )
                                  ]
                                }
                              }
                            )
                          ]
                        }
                      }),
                      createVNode(
                        'div',
                        { class: styles$5['class-info-tip'] },
                        [
                          createVNode('p', null, [
                            createTextVNode(
                              '\u6263\u9664\u624B\u7EED\u8D39\u540E\u60A8\u7684\u8BFE\u7A0B\u9884\u8BA1\u6536\u5165\u4E3A\uFF1A'
                            )
                          ]),
                          createVNode('p', null, [
                            createTextVNode('\u5355\u8BFE\u65F6'),
                            createVNode('span', null, [
                              _this2.calcSingleRatePrice
                            ]),
                            createTextVNode('\u5143/\u4EBA')
                          ]),
                          createVNode('p', null, [
                            createTextVNode(
                              '\u8BFE\u7A0B\u7EC4\u603B\u6536\u5165'
                            ),
                            createVNode('span', null, [_this2.calcRatePrice]),
                            createTextVNode('\u5143/\u4EBA')
                          ]),
                          createVNode('p', null, [
                            createTextVNode(
                              '\u60A8\u7684\u8BFE\u7A0B\u6536\u5165\u5C06\u5728\u8BFE\u7A0B\u7ED3\u675F\u540E\u7ED3\u7B97\u5230\u60A8\u7684\u8D26\u6237\u4E2D'
                            )
                          ])
                        ]
                      ),
                      createVNode(
                        Sticky,
                        { offsetBottom: 0, position: 'bottom' },
                        {
                          default: function _default() {
                            return [
                              createVNode('div', { class: 'btnGroup' }, [
                                createVNode(
                                  Button,
                                  {
                                    block: true,
                                    round: true,
                                    type: 'primary',
                                    'native-type': 'submit'
                                  },
                                  {
                                    default: function _default() {
                                      return [
                                        createTextVNode('\u4E0B\u4E00\u6B65')
                                      ]
                                    }
                                  }
                                )
                              ])
                            ]
                          }
                        }
                      ),
                      createVNode(
                        ColPopup,
                        {
                          modelValue: _this2.subjectStatus,
                          'onUpdate:modelValue': function onUpdateModelValue(
                            $event
                          ) {
                            return (_this2.subjectStatus = $event)
                          }
                        },
                        {
                          default: function _default() {
                            return [
                              createVNode(
                                SubjectModel,
                                {
                                  selectType: 'Radio',
                                  single: true,
                                  subjectList: createState.subjectList,
                                  choiceSubjectIds: _this2.choiceSubjectIds,
                                  onChoice: _this2.onChoice
                                },
                                null
                              )
                            ]
                          }
                        }
                      ),
                      createVNode(
                        ActionSheet,
                        {
                          show: _this2.classTimeStatus,
                          'onUpdate:show': function onUpdateShow($event) {
                            return (_this2.classTimeStatus = $event)
                          },
                          actions: createState.minutes,
                          cancelText: '取消',
                          closeOnClickAction: true,
                          onSelect: _this2.onSelect
                        },
                        null
                      )
                    ]
                  }
                }
              )
            }
          })
          var coursePlan = '_coursePlan_fxipm_1'
          var courseTime = '_courseTime_fxipm_1'
          var styles$4 = { coursePlan: coursePlan, courseTime: courseTime }
          var CoursePlan = defineComponent({
            name: 'course-plan',
            data: function data() {
              return {}
            },
            mounted: function mounted() {
              var _this3 = this
              return _asyncToGenerator(
                /*#__PURE__*/ regeneratorRuntime.mark(function _callee2() {
                  var list, listLength, i, _i
                  return regeneratorRuntime.wrap(function _callee2$(_context2) {
                    while (1) {
                      switch ((_context2.prev = _context2.next)) {
                        case 0:
                          list = createState.live.coursePlanList
                          listLength = list.length || 0
                          console.log(list)
                          if (!(createState.live.courseNum > listLength)) {
                            _context2.next = 13
                            break
                          }
                          i = 0
                        case 5:
                          if (!(i < createState.live.courseNum - listLength)) {
                            _context2.next = 11
                            break
                          }
                          _context2.next = 8
                          return _this3.addPlan()
                        case 8:
                          i++
                          _context2.next = 5
                          break
                        case 11:
                          _context2.next = 21
                          break
                        case 13:
                          if (!(createState.live.courseNum < listLength)) {
                            _context2.next = 21
                            break
                          }
                          _i = 0
                        case 15:
                          if (!(_i < listLength - createState.live.courseNum)) {
                            _context2.next = 21
                            break
                          }
                          _context2.next = 18
                          return _this3.delPlan()
                        case 18:
                          _i++
                          _context2.next = 15
                          break
                        case 21:
                        case 'end':
                          return _context2.stop()
                      }
                    }
                  }, _callee2)
                })
              )()
            },
            methods: {
              addPlan: function addPlan() {
                return _asyncToGenerator(
                  /*#__PURE__*/ regeneratorRuntime.mark(function _callee3() {
                    var list
                    return regeneratorRuntime.wrap(function _callee3$(
                      _context3
                    ) {
                      while (1) {
                        switch ((_context3.prev = _context3.next)) {
                          case 0:
                            list = createState.live.coursePlanList || []
                            list.push({
                              plan: '',
                              startTime: '',
                              endTime: '',
                              classNum: list.length + 1
                            })
                            createState.live.coursePlanList = list
                          case 3:
                          case 'end':
                            return _context3.stop()
                        }
                      }
                    },
                    _callee3)
                  })
                )()
              },
              delPlan: function delPlan(index) {
                return _asyncToGenerator(
                  /*#__PURE__*/ regeneratorRuntime.mark(function _callee4() {
                    var list
                    return regeneratorRuntime.wrap(function _callee4$(
                      _context4
                    ) {
                      while (1) {
                        switch ((_context4.prev = _context4.next)) {
                          case 0:
                            list = createState.live.coursePlanList || []
                            list.splice(index || list.length - 1, 1)
                            createState.live.coursePlanList = list
                          case 3:
                          case 'end':
                            return _context4.stop()
                        }
                      }
                    },
                    _callee4)
                  })
                )()
              }
            },
            render: function render() {
              return createVNode(
                Form,
                {
                  class: styles$4.coursePlan,
                  onSubmit: function onSubmit() {
                    return (createState.active = 3)
                  }
                },
                {
                  default: function _default() {
                    return [
                      createState.live.coursePlanList &&
                        createState.live.coursePlanList.map(function (item) {
                          return createVNode(ColFieldGroup, null, {
                            default: function _default() {
                              return [
                                createVNode(
                                  ColField,
                                  {
                                    title: '\u7B2C'.concat(
                                      item.classNum,
                                      '\u8BFE'
                                    ),
                                    required: true,
                                    border: false
                                  },
                                  {
                                    default: function _default() {
                                      return [
                                        createVNode(
                                          Field,
                                          {
                                            modelValue: item.plan,
                                            'onUpdate:modelValue':
                                              function onUpdateModelValue(
                                                $event
                                              ) {
                                                return (item.plan = $event)
                                              },
                                            name: 'plan',
                                            placeholder: '请输入课程计划',
                                            rows: '3',
                                            maxlength: 200,
                                            showWordLimit: true,
                                            autosize: true,
                                            rules: [
                                              {
                                                required: true,
                                                message: '请输入课程计划'
                                              }
                                            ],
                                            type: 'textarea'
                                          },
                                          null
                                        )
                                      ]
                                    }
                                  }
                                )
                              ]
                            }
                          })
                        }),
                      createVNode(
                        Sticky,
                        { offsetBottom: 0, position: 'bottom' },
                        {
                          default: function _default() {
                            return [
                              createVNode(
                                'div',
                                { class: ['btnGroup', 'btnMore'] },
                                [
                                  createVNode(
                                    Button,
                                    {
                                      block: true,
                                      round: true,
                                      type: 'primary',
                                      plain: true,
                                      onClick: function onClick() {
                                        createState.active = 1
                                        if (!createState.live.courseGroupId) {
                                          // 修改时不重置
                                          createState.live.coursePlanList = [
                                            _objectSpread({}, basePlan)
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      default: function _default() {
                                        return [
                                          createTextVNode('\u4E0A\u4E00\u6B65')
                                        ]
                                      }
                                    }
                                  ),
                                  createVNode(
                                    Button,
                                    {
                                      block: true,
                                      round: true,
                                      type: 'primary',
                                      'native-type': 'submit'
                                    },
                                    {
                                      default: function _default() {
                                        return [
                                          createTextVNode('\u4E0B\u4E00\u6B65')
                                        ]
                                      }
                                    }
                                  )
                                ]
                              )
                            ]
                          }
                        }
                      )
                    ]
                  }
                }
              )
            }
          })
          var courseStart = '_courseStart_8590s_1'
          var infoField = '_infoField_8590s_1'
          var photoTip = '_photoTip_8590s_14'
          var boxStyle = '_boxStyle_8590s_20'
          var imgContainer = '_imgContainer_8590s_40'
          var stepTips = '_stepTips_8590s_54'
          var styles$3 = {
            courseStart: courseStart,
            infoField: infoField,
            photoTip: photoTip,
            boxStyle: boxStyle,
            imgContainer: imgContainer,
            stepTips: stepTips
          }
          function _isSlot(s) {
            return (
              typeof s === 'function' ||
              (Object.prototype.toString.call(s) === '[object Object]' &&
                !isVNode(s))
            )
          }
          var CourseStart = defineComponent({
            name: 'course-start',
            data: function data() {
              return {
                typeDateTime: 'start',
                dateStatus: false,
                currentDate: new Date(),
                minDate: dayjs().toDate(),
                maxDate: new Date()
              }
            },
            computed: {
              disabled: function disabled() {
                return createState.live.courseGroupId ? true : false
              }
            },
            mounted: function mounted() {
              var _createState$selectCo
              if (
                (_createState$selectCo = createState.selectCourseList[0]) !==
                  null &&
                _createState$selectCo !== void 0 &&
                _createState$selectCo.startTime
              ) {
                this.maxDate = dayjs(createState.selectCourseList[0].startTime)
                  .subtract(1, 'day')
                  .toDate()
              }
              createState.live.salesStartDate =
                createState.live.salesStartDate ||
                dayjs(this.minDate).format('YYYY-MM-DD')
              createState.live.salesEndDate =
                createState.live.salesEndDate ||
                dayjs(this.maxDate).format('YYYY-MM-DD')
            },
            methods: {
              tabChange: function tabChange(name) {
                createState.tabIndex = name
              },
              selectImg: function selectImg(val) {
                createState.live.backgroundPic = ''
                createState.live.backgroundPicTemplate = val
              },
              onFormatterInt: function onFormatterInt(val) {
                if (val && val >= 1) {
                  return verifiyNumberInteger(val)
                } else {
                  return ''
                }
              },
              onConfirm: function onConfirm(val) {
                if (this.typeDateTime === 'start') {
                  createState.live.salesStartDate =
                    dayjs(val).format('YYYY-MM-DD')
                  if (
                    createState.live.salesEndDate &&
                    dayjs(createState.live.salesStartDate).isAfter(
                      dayjs(createState.live.salesEndDate)
                    )
                  ) {
                    createState.live.salesEndDate = ''
                  }
                } else if (this.typeDateTime === 'end') {
                  createState.live.salesEndDate =
                    dayjs(val).format('YYYY-MM-DD')
                }
                this.dateStatus = false
              }
            },
            render: function render() {
              var _this4 = this
              return createVNode(
                Form,
                {
                  class: styles$3.courseStart,
                  onSubmit: function onSubmit() {
                    return (createState.active = 5)
                  },
                  scrollToError: true
                },
                {
                  default: function _default() {
                    return [
                      createVNode(ColFieldGroup, null, {
                        default: function _default() {
                          return [
                            createVNode(
                              ColField,
                              { title: '开售日期', required: true },
                              {
                                default: function _default() {
                                  return [
                                    createVNode(
                                      Field,
                                      {
                                        modelValue:
                                          createState.live.salesStartDate,
                                        'onUpdate:modelValue':
                                          function onUpdateModelValue($event) {
                                            return (createState.live.salesStartDate =
                                              $event)
                                          },
                                        name: 'salesStartDate',
                                        readonly: true,
                                        isLink: true,
                                        placeholder: '请选择开售日期',
                                        disabled: _this4.disabled,
                                        onClick: function onClick() {
                                          if (createState.live.courseGroupId) {
                                            return
                                          }
                                          _this4.minDate = dayjs().toDate()
                                          _this4.currentDate = dayjs(
                                            createState.live.salesStartDate
                                          ).toDate()
                                          _this4.typeDateTime = 'start'
                                          _this4.dateStatus = true
                                        },
                                        rules: [
                                          {
                                            required: true,
                                            message: '请选择开售日期'
                                          }
                                        ]
                                      },
                                      null
                                    )
                                  ]
                                }
                              }
                            ),
                            createVNode(
                              ColField,
                              { title: '停售日期', required: true },
                              {
                                default: function _default() {
                                  return [
                                    createVNode(
                                      Field,
                                      {
                                        modelValue:
                                          createState.live.salesEndDate,
                                        'onUpdate:modelValue':
                                          function onUpdateModelValue($event) {
                                            return (createState.live.salesEndDate =
                                              $event)
                                          },
                                        name: 'salesEndDate',
                                        readonly: true,
                                        isLink: true,
                                        disabled: _this4.disabled,
                                        onClick: function onClick() {
                                          if (createState.live.courseGroupId) {
                                            return
                                          }
                                          _this4.minDate = dayjs(
                                            createState.live.salesStartDate
                                          ).toDate()
                                          _this4.currentDate = dayjs(
                                            createState.live.salesEndDate
                                          ).toDate()
                                          _this4.typeDateTime = 'end'
                                          _this4.dateStatus = true
                                        },
                                        rules: [
                                          {
                                            required: true,
                                            message: '请选择停售日期'
                                          }
                                        ],
                                        placeholder: '请选择停售日期'
                                      },
                                      null
                                    )
                                  ]
                                }
                              }
                            )
                          ]
                        }
                      }),
                      createVNode(ColFieldGroup, null, {
                        default: function _default() {
                          return [
                            createVNode(
                              ColField,
                              {
                                title: '最低开课人数',
                                required: true,
                                style: { marginBottom: '10px' }
                              },
                              {
                                default: function _default() {
                                  return [
                                    createVNode(
                                      Field,
                                      {
                                        modelValue:
                                          createState.live.mixStudentNum,
                                        'onUpdate:modelValue':
                                          function onUpdateModelValue($event) {
                                            return (createState.live.mixStudentNum =
                                              $event)
                                          },
                                        name: 'mixStudentNum',
                                        placeholder: '请输入最低开课人数',
                                        type: 'number',
                                        maxlength: 8,
                                        disabled: _this4.disabled,
                                        formatter: _this4.onFormatterInt,
                                        rules: [
                                          {
                                            required: true,
                                            message: '请输入最低开课人数'
                                          }
                                        ]
                                      },
                                      {
                                        button: function button() {
                                          return createVNode('span', null, [
                                            createTextVNode('\u4EBA')
                                          ])
                                        }
                                      }
                                    )
                                  ]
                                }
                              }
                            ),
                            createVNode('div', { class: styles$3.stepTips }, [
                              createTextVNode(
                                '\u8BFE\u7A0B\u505C\u552E\u65F6\u4ED8\u8D39\u5B66\u5458\u8FBE\u5230\u8BE5\u4EBA\u6570\u53EF\u5F00\u8BFE\uFF0C\u82E5\u672A\u8FBE\u5230\u8BE5\u4EBA\u6570\u8BFE\u7A0B\u5C06\u4F1A\u5931\u6548\uFF0C\u5DF2\u4ED8\u8D39\u5B66\u5458\u5C06\u81EA\u52A8\u9000\u6B3E'
                              )
                            ])
                          ]
                        }
                      }),
                      createVNode(ColFieldGroup, null, {
                        default: function _default() {
                          return [
                            createVNode(
                              ColField,
                              { required: true, border: false },
                              {
                                default: function _default() {
                                  return [
                                    createVNode(
                                      'p',
                                      { class: styles$3.photoTip },
                                      [
                                        createTextVNode(
                                          '\u6A21\u677F\u56FE\u7247\u5C06\u4F5C\u4E3A\u8BE5\u8BFE\u7A0B\u5C01\u9762\u4E3A\u5B66\u5458\u5C55\u793A'
                                        )
                                      ]
                                    ),
                                    withDirectives(
                                      createVNode(
                                        Field,
                                        {
                                          name: 'backgroundPicTemplate',
                                          border: false,
                                          rules: [
                                            {
                                              required:
                                                createState.tabIndex === 1 &&
                                                !createState.live.backgroundPic,
                                              message: '请选择图片模板'
                                            }
                                          ]
                                        },
                                        {
                                          input: function input() {
                                            var _slot
                                            return createVNode(
                                              RadioGroup,
                                              {
                                                modelValue:
                                                  createState.live
                                                    .backgroundPicTemplate,
                                                'onUpdate:modelValue':
                                                  function onUpdateModelValue(
                                                    $event
                                                  ) {
                                                    return (createState.live.backgroundPicTemplate =
                                                      $event)
                                                  }
                                              },
                                              {
                                                default: function _default() {
                                                  return [
                                                    createVNode(
                                                      Row,
                                                      {
                                                        justify:
                                                          'space-between',
                                                        style: { width: '100%' }
                                                      },
                                                      _isSlot(
                                                        (_slot =
                                                          createState.templateList.map(
                                                            function (item) {
                                                              return createVNode(
                                                                Col,
                                                                {
                                                                  span: 12,
                                                                  class:
                                                                    styles$3.imgContainer,
                                                                  onClick:
                                                                    function onClick() {
                                                                      return _this4.selectImg(
                                                                        item
                                                                      )
                                                                    }
                                                                },
                                                                {
                                                                  default:
                                                                    function _default() {
                                                                      return [
                                                                        createVNode(
                                                                          Image,
                                                                          {
                                                                            class:
                                                                              styles$3.imgContainer,
                                                                            src: item
                                                                          },
                                                                          null
                                                                        ),
                                                                        createVNode(
                                                                          Radio,
                                                                          {
                                                                            name: item
                                                                          },
                                                                          {
                                                                            icon: function icon(
                                                                              props
                                                                            ) {
                                                                              return createVNode(
                                                                                Icon,
                                                                                {
                                                                                  class:
                                                                                    styles$3.boxStyle,
                                                                                  name: props.checked
                                                                                    ? activeButtonIcon
                                                                                    : inactiveButtonIcon,
                                                                                  size: '18'
                                                                                },
                                                                                null
                                                                              )
                                                                            }
                                                                          }
                                                                        )
                                                                      ]
                                                                    }
                                                                }
                                                              )
                                                            }
                                                          ))
                                                      )
                                                        ? _slot
                                                        : {
                                                            default:
                                                              function _default() {
                                                                return [_slot]
                                                              }
                                                          }
                                                    )
                                                  ]
                                                }
                                              }
                                            )
                                          }
                                        }
                                      ),
                                      [[vShow, createState.tabIndex === 1]]
                                    ),
                                    withDirectives(
                                      createVNode(
                                        Field,
                                        {
                                          name: 'backgroundPic',
                                          border: false,
                                          rules: [
                                            {
                                              required:
                                                createState.tabIndex == 2,
                                              message: '请上传自定义模板'
                                            }
                                          ]
                                        },
                                        {
                                          input: function input() {
                                            return createVNode(
                                              Row,
                                              {
                                                justify: 'space-between',
                                                style: { width: '100%' }
                                              },
                                              {
                                                default: function _default() {
                                                  return [
                                                    createVNode(
                                                      Col,
                                                      {
                                                        span: 12,
                                                        class:
                                                          styles$3.imgContainer
                                                      },
                                                      {
                                                        default:
                                                          function _default() {
                                                            return [
                                                              createVNode(
                                                                ColUpload,
                                                                {
                                                                  cropper: true,
                                                                  bucket:
                                                                    'live-rewind',
                                                                  options: {
                                                                    fixedNumber:
                                                                      [1.77, 1],
                                                                    autoCropWidth: 750,
                                                                    autoCropHeight: 424
                                                                  },
                                                                  onUploadChange:
                                                                    function onUploadChange(
                                                                      val
                                                                    ) {
                                                                      if (val) {
                                                                        createState.live.backgroundPicTemplate =
                                                                          ''
                                                                      }
                                                                    },
                                                                  modelValue:
                                                                    createState
                                                                      .live
                                                                      .backgroundPic,
                                                                  'onUpdate:modelValue':
                                                                    function onUpdateModelValue(
                                                                      $event
                                                                    ) {
                                                                      return (createState.live.backgroundPic =
                                                                        $event)
                                                                    },
                                                                  class:
                                                                    styles$3.imgContainer
                                                                },
                                                                null
                                                              )
                                                            ]
                                                          }
                                                      }
                                                    ),
                                                    createVNode(
                                                      Col,
                                                      { span: 24 },
                                                      {
                                                        default:
                                                          function _default() {
                                                            return [
                                                              createVNode(
                                                                'p',
                                                                {
                                                                  class:
                                                                    styles$3.photoTip,
                                                                  style: {
                                                                    color:
                                                                      '#ff4e19',
                                                                    padding: '0'
                                                                  }
                                                                },
                                                                [
                                                                  createTextVNode(
                                                                    '\u56FE\u7247\u5C3A\u5BF8\u4E3A750*424\u80FD\u8FBE\u5230\u6700\u4F73\u663E\u793A\u6548\u679C'
                                                                  )
                                                                ]
                                                              )
                                                            ]
                                                          }
                                                      }
                                                    )
                                                  ]
                                                }
                                              }
                                            )
                                          }
                                        }
                                      ),
                                      [[vShow, createState.tabIndex == 2]]
                                    )
                                  ]
                                },
                                title: function title() {
                                  return createVNode(
                                    Tabs,
                                    {
                                      active: createState.tabIndex,
                                      'onUpdate:active':
                                        function onUpdateActive($event) {
                                          return (createState.tabIndex = $event)
                                        },
                                      class: styles$3.infoField,
                                      onChange: _this4.tabChange,
                                      shrink: true,
                                      color: 'var(--van-primary)',
                                      lineWidth: 20
                                    },
                                    {
                                      default: function _default() {
                                        return [
                                          createVNode(
                                            Tab,
                                            { title: '自定义模板', name: 2 },
                                            null
                                          )
                                        ]
                                      }
                                    }
                                  )
                                }
                              }
                            )
                          ]
                        }
                      }),
                      createVNode(
                        Sticky,
                        { offsetBottom: 0, position: 'bottom' },
                        {
                          default: function _default() {
                            return [
                              createVNode(
                                'div',
                                { class: ['btnGroup', 'btnMore'] },
                                [
                                  createVNode(
                                    Button,
                                    {
                                      block: true,
                                      round: true,
                                      type: 'primary',
                                      plain: true,
                                      onClick: function onClick() {
                                        createState.active = 3
                                        if (!createState.live.courseGroupId) {
                                          createState.live.salesStartDate = ''
                                          createState.live.salesEndDate = ''
                                          createState.live.backgroundPic = ''
                                          createState.live.backgroundPicTemplate =
                                            ''
                                          createState.live.mixStudentNum = null
                                        }
                                      }
                                    },
                                    {
                                      default: function _default() {
                                        return [
                                          createTextVNode('\u4E0A\u4E00\u6B65')
                                        ]
                                      }
                                    }
                                  ),
                                  createVNode(
                                    Button,
                                    {
                                      block: true,
                                      round: true,
                                      type: 'primary',
                                      'native-type': 'submit'
                                    },
                                    {
                                      default: function _default() {
                                        return [
                                          createTextVNode('\u4E0B\u4E00\u6B65')
                                        ]
                                      }
                                    }
                                  )
                                ]
                              )
                            ]
                          }
                        }
                      ),
                      createVNode(
                        Popup,
                        {
                          show: _this4.dateStatus,
                          position: 'bottom',
                          round: true
                        },
                        {
                          default: function _default() {
                            return [
                              createVNode(
                                DatetimePicker,
                                {
                                  type: 'date',
                                  modelValue: _this4.currentDate,
                                  'onUpdate:modelValue':
                                    function onUpdateModelValue($event) {
                                      return (_this4.currentDate = $event)
                                    },
                                  minDate: _this4.minDate,
                                  maxDate: _this4.maxDate,
                                  formatter: formatterDate,
                                  onCancel: function onCancel() {
                                    _this4.dateStatus = false
                                  },
                                  onConfirm: _this4.onConfirm
                                },
                                null
                              )
                            ]
                          }
                        }
                      )
                    ]
                  }
                }
              )
            }
          })
          var styles$2 = {}
          var Detail = defineComponent({
            name: 'detail',
            computed: {
              userInfo: function userInfo() {
                var _state$user$data, _state$user$data2, _state$user$data3
                var startTime = createState.live.coursePlanList[0].startTime
                var endTime = createState.live.coursePlanList[0].endTime
                return {
                  headUrl:
                    (_state$user$data = state.user.data) === null ||
                    _state$user$data === void 0
                      ? void 0
                      : _state$user$data.heardUrl,
                  username:
                    ((_state$user$data2 = state.user.data) === null ||
                    _state$user$data2 === void 0
                      ? void 0
                      : _state$user$data2.username) ||
                    '\u6E38\u5BA2'.concat(
                      ((_state$user$data3 = state.user.data) === null ||
                      _state$user$data3 === void 0
                        ? void 0
                        : _state$user$data3.userId) || ''
                    ),
                  startTime:
                    ''
                      .concat(dayjs(startTime).format('YYYY-MM-DD'), ' ')
                      .concat(dayjs(startTime).format('HH:mm'), '~')
                      .concat(dayjs(endTime).format('HH:mm')) || '',
                  buyNum: 0,
                  lessonPrice: createState.live.coursePrice,
                  lessonNum: createState.live.courseNum,
                  lessonDesc: createState.live.courseIntroduce,
                  lessonCoverUrl:
                    createState.live.backgroundPic ||
                    createState.live.backgroundPicTemplate,
                  lessonName: createState.live.name,
                  auditVersion: 0
                }
              },
              courseInfo: function courseInfo() {
                var tempArr = []
                var coursePlanList = createState.live.coursePlanList || []
                coursePlanList.forEach(function (item) {
                  tempArr.push({
                    courseTime: ''
                      .concat(dayjs(item.startTime).format('YYYY-MM-DD'), ' ')
                      .concat(dayjs(item.startTime).format('HH:mm'), '~')
                      .concat(dayjs(item.endTime).format('HH:mm')),
                    roomUid: item.roomUid,
                    liveState: item.liveState,
                    coursePlan: item.plan,
                    id: item.courseId
                  })
                })
                return tempArr || []
              }
            },
            methods: {
              onSubmit: function onSubmit() {
                return _asyncToGenerator(
                  /*#__PURE__*/ regeneratorRuntime.mark(function _callee5() {
                    var _state$user$data4, params, message
                    return regeneratorRuntime.wrap(
                      function _callee5$(_context5) {
                        while (1) {
                          switch ((_context5.prev = _context5.next)) {
                            case 0:
                              _context5.prev = 0
                              params = _objectSpread(
                                _objectSpread({}, createState.live),
                                {},
                                {
                                  startTime:
                                    createState.live.coursePlanList[0]
                                      .startTime,
                                  backgroundPic:
                                    createState.live.backgroundPic ||
                                    createState.live.backgroundPicTemplate,
                                  teacherId:
                                    (_state$user$data4 = state.user.data) ===
                                      null || _state$user$data4 === void 0
                                      ? void 0
                                      : _state$user$data4.userId
                                }
                              )
                              _context5.next = 4
                              return request.post(
                                '/api-teacher/courseGroup/addLiveCourse',
                                { data: params }
                              )
                            case 4:
                              Toast.success('创建成功')
                              setTimeout(function () {
                                postMessage({ api: 'back' })
                              }, 1000)
                              _context5.next = 12
                              break
                            case 8:
                              _context5.prev = 8
                              _context5.t0 = _context5['catch'](0) // 报错时需要重置日历表的数据
                              message = _context5.t0.message
                              Dialog.alert({
                                title: '提示',
                                confirmButtonColor: 'var(--van-primary)',
                                message: message
                              }).then(function () {
                                createState.active = 3
                                createState.selectCourseList = []
                                createState.live.salesStartDate = ''
                                createState.live.salesEndDate = ''
                                createState.live.mixStudentNum = null
                                createState.live.backgroundPic = ''
                                createState.live.backgroundPicTemplate = ''
                                createState.coursePlanStatus = false
                              })
                            case 12:
                            case 'end':
                              return _context5.stop()
                          }
                        }
                      },
                      _callee5,
                      null,
                      [[0, 8]]
                    )
                  })
                )()
              },
              onUpdate: function onUpdate() {
                return _asyncToGenerator(
                  /*#__PURE__*/ regeneratorRuntime.mark(function _callee6() {
                    var params
                    return regeneratorRuntime.wrap(function _callee6$(
                      _context6
                    ) {
                      while (1) {
                        switch ((_context6.prev = _context6.next)) {
                          case 0:
                            params = _objectSpread(
                              _objectSpread(
                                { id: createState.live.courseGroupId },
                                createState.live
                              ),
                              {},
                              {
                                startTime:
                                  createState.live.coursePlanList[0].startTime,
                                backgroundPic:
                                  createState.live.backgroundPic ||
                                  createState.live.backgroundPicTemplate
                              }
                            )
                            console.log(_objectSpread({}, params))
                            _context6.next = 4
                            return request.post(
                              '/api-teacher/courseGroup/updateLiveCourse',
                              { data: params }
                            )
                          case 4:
                            Toast({
                              type: 'success',
                              message: '编辑成功',
                              duration: 1000,
                              onClose: function onClose() {
                                postMessage({ api: 'back' })
                              }
                            })
                          case 5:
                          case 'end':
                            return _context6.stop()
                        }
                      }
                    },
                    _callee6)
                  })
                )()
              }
            },
            render: function render() {
              var _this5 = this
              return createVNode('div', { class: [styles$2['detail']] }, [
                createVNode(UserDetail, { userInfo: this.userInfo }, null),
                createVNode(SectionDetail, null, {
                  default: function _default() {
                    return [
                      createVNode('p', { class: styles$2.introduction }, [
                        _this5.userInfo.lessonDesc
                      ])
                    ]
                  }
                }),
                createVNode(
                  SectionDetail,
                  {
                    title: '课程安排',
                    icon: 'courseList',
                    titleShow: false,
                    class: 'mb12',
                    contentStyle: { paddingTop: '0' }
                  },
                  {
                    default: function _default() {
                      return [
                        createVNode(
                          CoursePlanStep,
                          { courseInfo: _this5.courseInfo },
                          null
                        )
                      ]
                    }
                  }
                ),
                createVNode(
                  Sticky,
                  { offsetBottom: 0, position: 'bottom' },
                  {
                    default: function _default() {
                      return [
                        createVNode('div', { class: ['btnGroup', 'btnMore'] }, [
                          createVNode(
                            Button,
                            {
                              block: true,
                              round: true,
                              type: 'primary',
                              plain: true,
                              onClick: function onClick() {
                                createState.active = 4
                              }
                            },
                            {
                              default: function _default() {
                                return [
                                  createTextVNode('\u8FD4\u56DE\u7F16\u8F91')
                                ]
                              }
                            }
                          ),
                          createState.live.courseGroupId
                            ? createVNode(
                                Button,
                                {
                                  block: true,
                                  round: true,
                                  type: 'primary',
                                  onClick: _this5.onUpdate
                                },
                                {
                                  default: function _default() {
                                    return [
                                      createTextVNode(
                                        '\u786E\u8BA4\u4FEE\u6539'
                                      )
                                    ]
                                  }
                                }
                              )
                            : createVNode(
                                Button,
                                {
                                  block: true,
                                  round: true,
                                  type: 'primary',
                                  onClick: _this5.onSubmit
                                },
                                {
                                  default: function _default() {
                                    return [
                                      createTextVNode(
                                        '\u521B\u5EFA\u6210\u529F'
                                      )
                                    ]
                                  }
                                }
                              )
                        ])
                      ]
                    }
                  }
                )
              ])
            }
          })
          var arrange = '_arrange_ci227_1'
          var arrangeCell = '_arrangeCell_ci227_4'
          var rTitle = '_rTitle_ci227_10'
          var rTag = '_rTag_ci227_26'
          var tag = '_tag_ci227_29'
          var selectPopup = '_selectPopup_ci227_33'
          var selectContainer = '_selectContainer_ci227_38'
          var selectPopupContent = '_selectPopupContent_ci227_44'
          var desc = '_desc_ci227_47'
          var times = '_times_ci227_48'
          var selectBtn = '_selectBtn_ci227_59'
          var btn = '_btn_ci227_64'
          var styles$1 = {
            arrange: arrange,
            arrangeCell: arrangeCell,
            rTitle: rTitle,
            rTag: rTag,
            tag: tag,
            selectPopup: selectPopup,
            selectContainer: selectContainer,
            selectPopupContent: selectPopupContent,
            desc: desc,
            times: times,
            selectBtn: selectBtn,
            btn: btn
          }
          var Arrange = defineComponent({
            name: 'arrange',
            data: function data() {
              return {
                selectStatus: false,
                calendarList: {},
                calendarDate: new Date() // 日历当前时间
              }
            },
            computed: {
              showSelectList: function showSelectList() {
                var list = _toConsumableArray(createState.selectCourseList)
                list.forEach(function (item) {
                  item.title =
                    dayjs(item.startTime).format('YYYY-MM-DD') +
                    ' ' +
                    getWeekCh(dayjs(item.startTime).day()) +
                    ' ' +
                    item.start +
                    '~' +
                    item.end
                })
                return list
              },
              selectType: function selectType() {
                // 循环次数是否足够
                return createState.selectCourseList.length <
                  createState.live.courseNum
                  ? 'noEnough'
                  : 'enough'
              }
            },
            mounted: function mounted() {
              var _this6 = this
              return _asyncToGenerator(
                /*#__PURE__*/ regeneratorRuntime.mark(function _callee7() {
                  var initDate
                  return regeneratorRuntime.wrap(function _callee7$(_context7) {
                    while (1) {
                      switch ((_context7.prev = _context7.next)) {
                        case 0:
                          initDate = dayjs().add(1, 'day').toDate()
                          _context7.next = 3
                          return _this6.getList(initDate)
                        case 3:
                          if (createState.coursePlanStatus) {
                            _this6.selectStatus = true
                          }
                        case 4:
                        case 'end':
                          return _context7.stop()
                      }
                    }
                  }, _callee7)
                })
              )()
            },
            methods: {
              getList: function getList(date) {
                var _this7 = this
                return _asyncToGenerator(
                  /*#__PURE__*/ regeneratorRuntime.mark(function _callee8() {
                    var params, _state$user$data5, res, result, tempObj
                    return regeneratorRuntime.wrap(
                      function _callee8$(_context8) {
                        while (1) {
                          switch ((_context8.prev = _context8.next)) {
                            case 0:
                              params = {
                                day: dayjs(date || new Date()).format('DD'),
                                month: dayjs(date || new Date()).format('MM'),
                                year: dayjs(date || new Date()).format('YYYY')
                              }
                              _context8.prev = 1
                              _context8.next = 4
                              return request.post(
                                '/api-teacher/courseSchedule/createLiveCourseCalendar',
                                {
                                  data: _objectSpread(
                                    _objectSpread({}, params),
                                    {},
                                    {
                                      singleCourseMinutes:
                                        createState.live.singleMins,
                                      freeCourseMinutes:
                                        createState.live.freeMinutes,
                                      teacherId:
                                        (_state$user$data5 =
                                          state.user.data) === null ||
                                        _state$user$data5 === void 0
                                          ? void 0
                                          : _state$user$data5.userId
                                    }
                                  )
                                }
                              )
                            case 4:
                              res = _context8.sent
                              result = res.data || []
                              tempObj = {}
                              result.forEach(function (item) {
                                tempObj[item.date] = item
                              })
                              _this7.calendarList = tempObj
                              _context8.next = 13
                              break
                            case 11:
                              _context8.prev = 11
                              _context8.t0 = _context8['catch'](1)
                            case 13:
                            case 'end':
                              return _context8.stop()
                          }
                        }
                      },
                      _callee8,
                      null,
                      [[1, 11]]
                    )
                  })
                )()
              },
              onSelectDay: function onSelectDay(obj) {
                var result = obj || []
                var list = _toConsumableArray(createState.selectCourseList)
                result.forEach(function (item) {
                  var isExist = list.some(function (course) {
                    return course.startTime === item.startTime
                  })
                  !isExist && list.push(_objectSpread({}, item))
                }) // 去掉不在
                var tempList = []
                list.forEach(function (item) {
                  var isExist = result.some(function (course) {
                    return course.startTime === item.startTime
                  })
                  isExist && tempList.push(item)
                }) // 对数组进行排序
                tempList.sort(function (first, second) {
                  if (first.startTime > second.startTime) return 1
                  if (first.startTime < second.startTime) return -1
                  return 0
                })
                createState.selectCourseList = [].concat(tempList)
              },
              onCloseTag: function onCloseTag(item) {
                Dialog.confirm({
                  title: '提示',
                  message: '您是否要删除该选择的课程？',
                  confirmButtonColor: 'var(--van-primary)'
                }).then(function () {
                  var index = createState.selectCourseList.findIndex(function (
                    course
                  ) {
                    return course.startTime === item.startTime
                  })
                  createState.selectCourseList.splice(index, 1)
                })
              },
              onSubmit: function onSubmit() {
                var _this8 = this
                return _asyncToGenerator(
                  /*#__PURE__*/ regeneratorRuntime.mark(function _callee9() {
                    var groupId
                    return regeneratorRuntime.wrap(function _callee9$(
                      _context9
                    ) {
                      while (1) {
                        switch ((_context9.prev = _context9.next)) {
                          case 0:
                            groupId = _this8.$route.query.groupId
                            if (!groupId) {
                              _context9.next = 4
                              break
                            }
                            createState.active = 4
                            return _context9.abrupt('return')
                          case 4:
                            if (!(createState.selectCourseList.length <= 0)) {
                              _context9.next = 7
                              break
                            }
                            Toast('请选择课程时间')
                            return _context9.abrupt('return')
                          case 7:
                            if (
                              !(
                                createState.selectCourseList.length <
                                createState.live.courseNum
                              )
                            ) {
                              _context9.next = 10
                              break
                            }
                            _this8.selectStatus = true
                            return _context9.abrupt('return')
                          case 10:
                            _context9.next = 12
                            return _this8._lookCourse()
                          case 12:
                          case 'end':
                            return _context9.stop()
                        }
                      }
                    },
                    _callee9)
                  })
                )()
              },
              _lookCourse: function _lookCourse(callBack) {
                var _this9 = this
                return _asyncToGenerator(
                  /*#__PURE__*/ regeneratorRuntime.mark(function _callee10() {
                    var _state$user$data6, _times, res, result, message
                    return regeneratorRuntime.wrap(
                      function _callee10$(_context10) {
                        while (1) {
                          switch ((_context10.prev = _context10.next)) {
                            case 0:
                              _context10.prev = 0
                              _times = []
                              createState.selectCourseList.forEach(function (
                                item
                              ) {
                                _times.push({
                                  startTime: item.startTime,
                                  endTime: item.endTime
                                })
                              })
                              _context10.next = 5
                              return request.post(
                                '/api-teacher/courseGroup/lockCourseToCache',
                                {
                                  data: {
                                    courseNum: createState.live.courseNum,
                                    courseType: 'LIVE',
                                    loop:
                                      _this9.selectType === 'noEnough' ? 1 : 0,
                                    teacherId:
                                      (_state$user$data6 = state.user.data) ===
                                        null || _state$user$data6 === void 0
                                        ? void 0
                                        : _state$user$data6.userId,
                                    timeList: [].concat(_times)
                                  }
                                }
                              )
                            case 5:
                              res = _context10.sent
                              result = res.data || []
                              result.forEach(function (item, index) {
                                createState.live.coursePlanList[index] =
                                  _objectSpread(
                                    _objectSpread(
                                      {},
                                      createState.live.coursePlanList[index]
                                    ),
                                    {},
                                    {
                                      startTime: item.startTime,
                                      endTime: item.endTime,
                                      classNum: index + 1
                                    }
                                  )
                              })
                              createState.coursePlanStatus = true
                              _this9.selectStatus = true
                              callBack && callBack()
                              _context10.next = 17
                              break
                            case 13:
                              _context10.prev = 13
                              _context10.t0 = _context10['catch'](0) // 报错时需要重置日历表的数据
                              message = _context10.t0.message
                              Dialog.alert({
                                title: '提示',
                                confirmButtonColor: 'var(--van-primary)',
                                message: message
                              }).then(function () {
                                _this9.getList(
                                  _this9.calendarDate || new Date()
                                )
                                createState.selectCourseList = []
                                _this9.selectStatus = false
                              })
                            case 17:
                            case 'end':
                              return _context10.stop()
                          }
                        }
                      },
                      _callee10,
                      null,
                      [[0, 13]]
                    )
                  })
                )()
              },
              _unLookCourse: function _unLookCourse() {
                var _this10 = this
                return _asyncToGenerator(
                  /*#__PURE__*/ regeneratorRuntime.mark(function _callee11() {
                    var _state$user$data7
                    return regeneratorRuntime.wrap(
                      function _callee11$(_context11) {
                        while (1) {
                          switch ((_context11.prev = _context11.next)) {
                            case 0:
                              _context11.prev = 0
                              _context11.next = 3
                              return request.get(
                                '/api-teacher/courseGroup/unlockCourseToCache',
                                {
                                  params: {
                                    teacherId:
                                      (_state$user$data7 = state.user.data) ===
                                        null || _state$user$data7 === void 0
                                        ? void 0
                                        : _state$user$data7.userId
                                  }
                                }
                              )
                            case 3:
                              _this10.selectStatus = false
                              setTimeout(function () {
                                createState.live.coursePlanList.forEach(
                                  function (item) {
                                    item.startTime = ''
                                    item.endTime = ''
                                  }
                                )
                              }, 500)
                              _context11.next = 9
                              break
                            case 7:
                              _context11.prev = 7
                              _context11.t0 = _context11['catch'](0)
                            case 9:
                            case 'end':
                              return _context11.stop()
                          }
                        }
                      },
                      _callee11,
                      null,
                      [[0, 7]]
                    )
                  })
                )()
              },
              onReset: function onReset() {
                var _this11 = this
                return _asyncToGenerator(
                  /*#__PURE__*/ regeneratorRuntime.mark(function _callee12() {
                    return regeneratorRuntime.wrap(function _callee12$(
                      _context12
                    ) {
                      while (1) {
                        switch ((_context12.prev = _context12.next)) {
                          case 0:
                            if (
                              !(
                                createState.coursePlanStatus ||
                                _this11.selectType === 'enough'
                              )
                            ) {
                              _context12.next = 5
                              break
                            }
                            _context12.next = 3
                            return _this11._unLookCourse()
                          case 3:
                            _context12.next = 6
                            break
                          case 5:
                            if (_this11.selectType === 'noEnough') {
                              _this11.selectStatus = false
                            }
                          case 6: // 只能重置课程时间
                            createState.live.coursePlanList.forEach(function (
                              item
                            ) {
                              item.startTime = ''
                              item.endTime = ''
                            })
                            setTimeout(function () {
                              createState.coursePlanStatus = false
                            }, 500)
                          case 8:
                          case 'end':
                            return _context12.stop()
                        }
                      }
                    },
                    _callee12)
                  })
                )()
              },
              onSure: function onSure() {
                var _this12 = this
                return _asyncToGenerator(
                  /*#__PURE__*/ regeneratorRuntime.mark(function _callee13() {
                    var courseLength, status
                    return regeneratorRuntime.wrap(function _callee13$(
                      _context13
                    ) {
                      while (1) {
                        switch ((_context13.prev = _context13.next)) {
                          case 0: // 判断是否有锁课状态 或 是锁课类型的 并且已经有课的
                            console.log(
                              _this12.selectType,
                              createState.coursePlanStatus,
                              createState.live.coursePlanList
                            )
                            courseLength = 0
                            createState.live.coursePlanList.forEach(function (
                              item
                            ) {
                              item.startTime && courseLength++
                            })
                            if (
                              !(
                                _this12.selectType === 'enough' ||
                                courseLength > 0
                              )
                            ) {
                              _context13.next = 7
                              break
                            }
                            _this12.selectStatus = false
                            createState.active = 4
                            return _context13.abrupt('return')
                          case 7:
                            status = createState.coursePlanStatus
                            _context13.next = 10
                            return _this12._lookCourse(function () {
                              if (status) {
                                _this12.selectStatus = false
                                createState.active = 4
                              }
                            })
                          case 10:
                          case 'end':
                            return _context13.stop()
                        }
                      }
                    },
                    _callee13)
                  })
                )()
              }
            },
            render: function render() {
              var _this13 = this
              var groupId = this.$route.query.groupId
              return createVNode('div', { class: styles$1.arrange }, [
                !groupId
                  ? createVNode(Fragment, null, [
                      createVNode(
                        Calendar,
                        {
                          selectList: createState.selectCourseList,
                          list: this.calendarList,
                          maxDays: createState.live.courseNum || 0,
                          nextMonth: function nextMonth(date) {
                            return _this13.getList(date)
                          },
                          prevMonth: function prevMonth(date) {
                            return _this13.getList(date)
                          },
                          selectDay: this.onSelectDay,
                          calendarDate: this.calendarDate,
                          'onUpdate:calendarDate':
                            function onUpdateCalendarDate($event) {
                              return (_this13.calendarDate = $event)
                            }
                        },
                        null
                      ),
                      createVNode(
                        Cell,
                        { class: [styles$1.arrangeCell, 'mb12'] },
                        {
                          title: function title() {
                            return createVNode(
                              'div',
                              { class: styles$1.rTitle },
                              [
                                createVNode('span', null, [
                                  createTextVNode(
                                    '\u5DF2\u9009\u62E9\u8BFE\u7A0B\u65F6\u95F4'
                                  )
                                ])
                              ]
                            )
                          },
                          label: function label() {
                            return createVNode(
                              'div',
                              { class: styles$1.rTag },
                              [
                                _this13.showSelectList.map(function (item) {
                                  return createVNode(Fragment, null, [
                                    createVNode(
                                      Tag,
                                      {
                                        plain: true,
                                        round: true,
                                        closeable: true,
                                        size: 'large',
                                        type: 'primary',
                                        class: styles$1.tag,
                                        onClose: function onClose() {
                                          return _this13.onCloseTag(item)
                                        }
                                      },
                                      {
                                        default: function _default() {
                                          return [item.title]
                                        }
                                      }
                                    ),
                                    createVNode('br', null, null)
                                  ])
                                })
                              ]
                            )
                          }
                        }
                      )
                    ])
                  : createVNode(Fragment, null, [
                      createVNode(
                        Cell,
                        { class: [styles$1.arrangeCell, 'mb12'] },
                        {
                          title: function title() {
                            return createVNode(
                              'div',
                              { class: styles$1.rTitle },
                              [
                                createVNode('span', null, [
                                  createTextVNode(
                                    '\u5DF2\u9009\u62E9\u8BFE\u7A0B\u65F6\u95F4'
                                  )
                                ])
                              ]
                            )
                          }
                        }
                      ),
                      createState.live.coursePlanList.map(function (item) {
                        return createVNode(
                          Cell,
                          {
                            title: ''
                              .concat(item.startTime, ' ~ ')
                              .concat(item.endTime)
                          },
                          null
                        )
                      }),
                      createVNode('div', { class: ['mb12'] }, null)
                    ]),
                createVNode(
                  Sticky,
                  { offsetBottom: 0, position: 'bottom' },
                  {
                    default: function _default() {
                      return [
                        createVNode('div', { class: ['btnGroup', 'btnMore'] }, [
                          createVNode(
                            Button,
                            {
                              block: true,
                              round: true,
                              type: 'primary',
                              plain: true,
                              onClick: function onClick() {
                                createState.active = 2 // 重置选择的课次
                                createState.selectCourseList = []
                              }
                            },
                            {
                              default: function _default() {
                                return [createTextVNode('\u4E0A\u4E00\u6B65')]
                              }
                            }
                          ),
                          createVNode(
                            Button,
                            {
                              block: true,
                              round: true,
                              type: 'primary',
                              onClick: _this13.onSubmit
                            },
                            {
                              default: function _default() {
                                return [createTextVNode('\u4E0B\u4E00\u6B65')]
                              }
                            }
                          )
                        ])
                      ]
                    }
                  }
                ),
                createVNode(
                  Popup,
                  { show: this.selectStatus, class: styles$1.selectPopup },
                  {
                    default: function _default() {
                      return [
                        createVNode(
                          'div',
                          { class: styles$1.selectContainer },
                          [
                            createVNode('div', { class: styles$1.rTitle }, [
                              createVNode('span', null, [
                                createTextVNode('\u63D0\u793A')
                              ])
                            ]),
                            createVNode(
                              'div',
                              { class: styles$1.selectPopupContent },
                              [
                                createVNode('p', { class: styles$1.desc }, [
                                  _this13.selectType === 'noEnough' &&
                                  !createState.coursePlanStatus
                                    ? '您所选择的上课时间未达到您输入的课时数，系统根据已选时间将自动按周顺延排课。'
                                    : '您已选择以下上课时间段，时间段会暂时锁定，锁定期间学员不可购买该时间段课程。'
                                ]),
                                createState.live.coursePlanList &&
                                  createState.live.coursePlanList.length > 0 &&
                                  createState.coursePlanStatus &&
                                  createVNode('p', { class: styles$1.times }, [
                                    createState.live.coursePlanList.map(
                                      function (item) {
                                        return createVNode('span', null, [
                                          dayjs(
                                            item.startTime || new Date()
                                          ).format('YYYY-MM-DD'),
                                          ' ',
                                          dayjs(
                                            item.startTime || new Date()
                                          ).format('HH:mm'),
                                          createTextVNode('~'),
                                          dayjs(
                                            item.endTime || new Date()
                                          ).format('HH:mm')
                                        ])
                                      }
                                    )
                                  ])
                              ]
                            ),
                            createVNode('div', { class: styles$1.selectBtn }, [
                              createVNode(
                                Button,
                                {
                                  class: styles$1.btn,
                                  type: 'primary',
                                  round: true,
                                  block: true,
                                  plain: true,
                                  onClick: _this13.onReset
                                },
                                {
                                  default: function _default() {
                                    return [
                                      _this13.selectType === 'noEnough'
                                        ? '继续选择'
                                        : '重新选择'
                                    ]
                                  }
                                }
                              ),
                              createVNode(
                                Button,
                                {
                                  class: styles$1.btn,
                                  type: 'primary',
                                  round: true,
                                  block: true,
                                  onClick: _this13.onSure
                                },
                                {
                                  default: function _default() {
                                    return [createTextVNode('\u786E\u8BA4')]
                                  }
                                }
                              )
                            ])
                          ]
                        )
                      ]
                    }
                  }
                )
              ])
            }
          })
          var styles = { 'live-create': '_live-create_1ip6h_1' }
          var create = exports(
            'default',
            defineComponent({
              name: 'LiveCreate',
              mounted: function mounted() {
                var _this14 = this
                return _asyncToGenerator(
                  /*#__PURE__*/ regeneratorRuntime.mark(function _callee14() {
                    var config, configData, teacher
                    return regeneratorRuntime.wrap(
                      function _callee14$(_context14) {
                        while (1) {
                          switch ((_context14.prev = _context14.next)) {
                            case 0:
                              _context14.prev = 0
                              _context14.next = 3
                              return request.get(
                                '/api-teacher/sysConfig/queryByParamNameList',
                                {
                                  params: {
                                    paramNames:
                                      'live_service_rate,live_time_setting'
                                  }
                                }
                              )
                            case 3:
                              config = _context14.sent
                              configData = config.data || []
                              configData.forEach(function (item) {
                                if (item.paramName === 'live_time_setting') {
                                  var mins = item.paramValue
                                    ? JSON.parse(item.paramValue)
                                    : []
                                  var tempArr = []
                                  mins.forEach(function (item) {
                                    tempArr.push(
                                      _objectSpread(
                                        _objectSpread({}, item),
                                        {},
                                        { name: item.courseMinutes }
                                      )
                                    )
                                  })
                                  createState.minutes = [].concat(tempArr)
                                }
                                if (item.paramName === 'live_service_rate') {
                                  createState.rate = item.paramValue
                                }
                              })
                              _context14.next = 8
                              return request.post(
                                '/api-teacher/teacher/querySubject'
                              )
                            case 8:
                              teacher = _context14.sent
                              createState.subjectList = teacher.data || []
                              _context14.next = 15
                              break
                            case 12:
                              _context14.prev = 12
                              _context14.t0 = _context14['catch'](0)
                              console.log(_context14.t0)
                            case 15:
                              _this14.getLiveClassDetail()
                            case 16:
                            case 'end':
                              return _context14.stop()
                          }
                        }
                      },
                      _callee14,
                      null,
                      [[0, 12]]
                    )
                  })
                )()
              },
              methods: {
                // 获取直播课详情
                getLiveClassDetail: function getLiveClassDetail() {
                  var _this15 = this
                  return _asyncToGenerator(
                    /*#__PURE__*/ regeneratorRuntime.mark(function _callee15() {
                      var groupId, res, _createState$subjectL, data
                      return regeneratorRuntime.wrap(function _callee15$(
                        _context15
                      ) {
                        while (1) {
                          switch ((_context15.prev = _context15.next)) {
                            case 0:
                              groupId = _this15.$route.query.groupId
                              if (groupId) {
                                _context15.next = 3
                                break
                              }
                              return _context15.abrupt('return')
                            case 3:
                              _context15.next = 5
                              return request.get(
                                '/api-teacher/courseGroup/queryLiveCourseInfo?groupId='.concat(
                                  groupId
                                )
                              )
                            case 5:
                              res = _context15.sent
                              console.log(res, createState)
                              if (res.code == 200) {
                                data = res.data
                                createState.live.courseGroupId =
                                  data.courseGroupId
                                createState.live.teacherId = data.teacherId
                                createState.live.name = data.courseGroupName
                                createState.live.subjectId =
                                  ((_createState$subjectL =
                                    createState.subjectList.find(function (n) {
                                      return n.name === data.subjectName
                                    })) === null ||
                                  _createState$subjectL === void 0
                                    ? void 0
                                    : _createState$subjectL.id) || ''
                                createState.live.courseIntroduce =
                                  data.courseIntroduce
                                createState.live.courseNum = data.courseNum
                                createState.live.singleMins =
                                  data.singleCourseMinutes
                                createState.live.coursePrice = data.coursePrice
                                createState.live.coursePlanList = data.planList
                                createState.live.salesStartDate =
                                  data.salesStartDate
                                createState.live.salesEndDate =
                                  data.salesEndDate
                                createState.live.mixStudentNum =
                                  data.mixStudentNum
                                createState.live.backgroundPic =
                                  data.backgroundPic
                              }
                            case 8:
                            case 'end':
                              return _context15.stop()
                          }
                        }
                      },
                      _callee15)
                    })
                  )()
                }
              },
              render: function render() {
                return createVNode('div', { class: styles['live-create'] }, [
                  createState.active !== 5 &&
                    createVNode(
                      Sticky,
                      { position: 'top', offsetTop: 0 },
                      {
                        default: function _default() {
                          return [
                            createVNode(
                              Steps,
                              {
                                style: {
                                  backgroundColor: '#f6f8f9',
                                  paddingBottom: '12px'
                                }
                              },
                              null
                            )
                          ]
                        }
                      }
                    ),
                  createState.active === 1 && createVNode(Course, null, null),
                  createState.active == 2 &&
                    createVNode(CoursePlan, null, null),
                  createState.active == 3 && createVNode(Arrange, null, null),
                  createState.active == 4 &&
                    createVNode(CourseStart, null, null),
                  createState.active == 5 && createVNode(Detail, null, null)
                ])
              }
            })
          )
        }
      }
    }
  )
})()
