text: "use strict";
  (self["webpackChunk"] = self["webpackChunk"] || []).push([["cart"],{
  
  /***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/pages/Cart.vue?vue&type=script&lang=js&":
  /*!******************************************************************************************************************************************************************************************************!*\
    !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/pages/Cart.vue?vue&type=script&lang=js& ***!
    \******************************************************************************************************************************************************************************************************/
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  
  __webpack_require__.r(__webpack_exports__);
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  /* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  /* harmony export */ });
  /* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ "./node_modules/vuex/dist/vuex.esm.js");
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (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 = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { 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; }
  
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
    name: 'Cart',
    data: function data() {
      return {
        busy: false,
        gift: false
      };
    },
    mounted: function mounted() {
      window.scrollTo(0, 0);
    },
    computed: _objectSpread(_objectSpread({}, (0,vuex__WEBPACK_IMPORTED_MODULE_0__.mapGetters)(['address', 'buyer', 'cart'])), {}, {
      checkAll: {
        set: function set(checked) {
          this.$store.state.cart.products.forEach(function (product) {
            product.checked = checked;
          });
          this.$store.state.cartMethod = 'checkAll';
          this.$store.commit('UPDATE_CART');
        },
        get: function get() {
          return this.cart.products.every(function (product) {
            return product.checked;
          });
        }
      }
    }),
    methods: {
      submitCart: function submitCart() {
        var _this = this;
  
        this.$validator.validateAll().then(function (result) {
          if (!result) return;
          _this.busy = true;
          setTimeout(function () {
            _this.busy = false;
  
            _this.$store.commit('FETCH_BUYER', _this.buyer);
  
            if (_this.cart.totalQuantity == 0) _this.$router.push({
              name: 'products'
            });
          }, 500);
        });
      }
    }
  });
  
  /***/ }),
  
  /***/ "./resources/js/pages/Cart.vue":
  /*!*************************************!*\
    !*** ./resources/js/pages/Cart.vue ***!
    \*************************************/
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  
  __webpack_require__.r(__webpack_exports__);
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  /* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  /* harmony export */ });
  /* harmony import */ var _Cart_vue_vue_type_template_id_7908d3ae___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Cart.vue?vue&type=template&id=7908d3ae& */ "./resources/js/pages/Cart.vue?vue&type=template&id=7908d3ae&");
  /* harmony import */ var _Cart_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Cart.vue?vue&type=script&lang=js& */ "./resources/js/pages/Cart.vue?vue&type=script&lang=js&");
  /* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
  
  
  
  
  
  /* normalize component */
  ;
  var component = (0,_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
    _Cart_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
    _Cart_vue_vue_type_template_id_7908d3ae___WEBPACK_IMPORTED_MODULE_0__.render,
    _Cart_vue_vue_type_template_id_7908d3ae___WEBPACK_IMPORTED_MODULE_0__.staticRenderFns,
    false,
    null,
    null,
    null
    
  )
  
  /* hot reload */
  if (false) { var api; }
  component.options.__file = "resources/js/pages/Cart.vue"
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (component.exports);
  
  /***/ }),
  
  /***/ "./resources/js/pages/Cart.vue?vue&type=script&lang=js&":
  /*!**************************************************************!*\
    !*** ./resources/js/pages/Cart.vue?vue&type=script&lang=js& ***!
    \**************************************************************/
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  
  __webpack_require__.r(__webpack_exports__);
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  /* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  /* harmony export */ });
  /* harmony import */ var _node_modules_babel_loader_lib_index_js_clonedRuleSet_5_0_rules_0_use_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Cart_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Cart.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/pages/Cart.vue?vue&type=script&lang=js&");
   /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_babel_loader_lib_index_js_clonedRuleSet_5_0_rules_0_use_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Cart_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]); 
  
  /***/ }),
  
  /***/ "./resources/js/pages/Cart.vue?vue&type=template&id=7908d3ae&":
  /*!********************************************************************!*\
    !*** ./resources/js/pages/Cart.vue?vue&type=template&id=7908d3ae& ***!
    \********************************************************************/
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  
  __webpack_require__.r(__webpack_exports__);
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  /* harmony export */   "render": () => (/* reexport safe */ _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Cart_vue_vue_type_template_id_7908d3ae___WEBPACK_IMPORTED_MODULE_0__.render),
  /* harmony export */   "staticRenderFns": () => (/* reexport safe */ _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Cart_vue_vue_type_template_id_7908d3ae___WEBPACK_IMPORTED_MODULE_0__.staticRenderFns)
  /* harmony export */ });
  /* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Cart_vue_vue_type_template_id_7908d3ae___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Cart.vue?vue&type=template&id=7908d3ae& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/pages/Cart.vue?vue&type=template&id=7908d3ae&");
  
  
  /***/ }),
  
  /***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/pages/Cart.vue?vue&type=template&id=7908d3ae&":
  /*!***********************************************************************************************************************************************************************************************************!*\
    !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/pages/Cart.vue?vue&type=template&id=7908d3ae& ***!
    \***********************************************************************************************************************************************************************************************************/
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  
  __webpack_require__.r(__webpack_exports__);
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  /* harmony export */   "render": () => (/* binding */ render),
  /* harmony export */   "staticRenderFns": () => (/* binding */ staticRenderFns)
  /* harmony export */ });
  var render = function () {
    var _vm = this
    var _h = _vm.$createElement
    var _c = _vm._self._c || _h
    return _c(
      "b-form",
      {
        on: {
          submit: function ($event) {
            $event.stopPropagation()
            $event.preventDefault()
            return _vm.submitCart.apply(null, arguments)
          },
        },
      },
      [
        _c("div", { staticClass: "shopping-cart-page" }, [
          _c("div", { staticClass: "cart-body details-body" }, [
            _c("div", { staticClass: "Card_card cart-card" }, [
              _c("div", { staticClass: "cardHeader" }, [
                _c("h1", { staticClass: "cardTitle" }, [_vm._v("Produk")]),
              ]),
              _vm._v(" "),
              _c("div", { staticClass: "cardBody" }, [
                _c("div", { staticClass: "flex-ctr-row" }, [
                  _c(
                    "label",
                    { staticClass: "checkbox_checkbox cart-checkbox" },
                    [
                      _c("input", {
                        directives: [
                          {
                            name: "model",
                            rawName: "v-model",
                            value: _vm.checkAll,
                            expression: "checkAll",
                          },
                        ],
                        staticClass: "checkbox_nativeCheckbox",
                        attrs: { type: "checkbox" },
                        domProps: {
                          checked: Array.isArray(_vm.checkAll)
                            ? _vm._i(_vm.checkAll, null) > -1
                            : _vm.checkAll,
                        },
                        on: {
                          change: function ($event) {
                            var $$a = _vm.checkAll,
                              $$el = $event.target,
                              $$c = $$el.checked ? true : false
                            if (Array.isArray($$a)) {
                              var $$v = null,
                                $$i = _vm._i($$a, $$v)
                              if ($$el.checked) {
                                $$i < 0 && (_vm.checkAll = $$a.concat([$$v]))
                              } else {
                                $$i > -1 &&
                                  (_vm.checkAll = $$a
                                    .slice(0, $$i)
                                    .concat($$a.slice($$i + 1)))
                              }
                            } else {
                              _vm.checkAll = $$c
                            }
                          },
                        },
                      }),
                      _vm._v(" "),
                      _c("span", { staticClass: "checkbox_styledCheckbox" }),
                    ]
                  ),
                  _vm._v(" "),
                  _c("span", [_c("b", [_vm._v("Pilih Semua Produk")])]),
                ]),
                _vm._v(" "),
                _c(
                  "div",
                  _vm._l(_vm.$store.state.cart.products, function (product) {
                    return _c(
                      "div",
                      {
                        key: product.id,
                        staticClass: "flex-start-row cart-prd-row cart-product",
                      },
                      [
                        _c(
                          "label",
                          { staticClass: "checkbox_checkbox cart-checkbox" },
                          [
                            _c("input", {
                              directives: [
                                {
                                  name: "model",
                                  rawName: "v-model",
                                  value: product.checked,
                                  expression: "product.checked",
                                },
                              ],
                              staticClass:
                                "checkbox_nativeCheckbox checkbox-product",
                              attrs: { type: "checkbox", name: "product[]" },
                              domProps: {
                                checked: Array.isArray(product.checked)
                                  ? _vm._i(product.checked, null) > -1
                                  : product.checked,
                              },
                              on: {
                                click: function ($event) {
                                  return _vm.updateCart(product, "check")
                                },
                                change: function ($event) {
                                  var $$a = product.checked,
                                    $$el = $event.target,
                                    $$c = $$el.checked ? true : false
                                  if (Array.isArray($$a)) {
                                    var $$v = null,
                                      $$i = _vm._i($$a, $$v)
                                    if ($$el.checked) {
                                      $$i < 0 &&
                                        _vm.$set(
                                          product,
                                          "checked",
                                          $$a.concat([$$v])
                                        )
                                    } else {
                                      $$i > -1 &&
                                        _vm.$set(
                                          product,
                                          "checked",
                                          $$a
                                            .slice(0, $$i)
                                            .concat($$a.slice($$i + 1))
                                        )
                                    }
                                  } else {
                                    _vm.$set(product, "checked", $$c)
                                  }
                                },
                              },
                            }),
                            _vm._v(" "),
                            _c("span", {
                              staticClass: "checkbox_styledCheckbox",
                            }),
                          ]
                        ),
                        _vm._v(" "),
                        _c(
                          "div",
                          {
                            staticClass:
                              "d-flex flex-column align-items-stretch justify-content-between flex-grow-1",
                          },
                          [
                            _c("div", { staticClass: "cart-prd-div" }, [
                              _c(
                                "div",
                                {
                                  staticClass:
                                    "flex-grow-1 cart-prd-info clickable",
                                },
                                [
                                  _c("div", { staticClass: "cart-prd-name" }, [
                                    _vm._v(_vm._s(product.title)),
                                  ]),
                                  _vm._v(" "),
                                  _c("div", { staticClass: "cart-prd-unit" }, [
                                    _vm._v(
                                      _vm._s(_vm.formatWeight(product.weight))
                                    ),
                                  ]),
                                  _vm._v(" "),
                                  _c("div", { staticClass: "cart-prd-price" }, [
                                    _c("div", [
                                      _c("div", [
                                        _c("span", [
                                          _vm._v(
                                            _vm._s(
                                              _vm.formatCurrency(product.price)
                                            )
                                          ),
                                        ]),
                                        _vm._v(" "),
                                        _c("img", {
                                          staticClass: "cart-promoLabel",
                                          staticStyle: { "padding-left": "8px" },
                                          attrs: {
                                            src: "media/image/promo-label-yellow.png",
                                            alt: "promo",
                                          },
                                        }),
                                      ]),
                                      _vm._v(" "),
                                      _c(
                                        "span",
                                        {
                                          staticClass: "cart-productPriceBefore",
                                        },
                                        [
                                          _vm._v(
                                            _vm._s(
                                              _vm.formatCurrency(
                                                product.priceBefore
                                              )
                                            )
                                          ),
                                        ]
                                      ),
                                    ]),
                                  ]),
                                ]
                              ),
                              _vm._v(" "),
                              _c(
                                "div",
                                { staticClass: "shopping_cart_prd-qty" },
                                [
                                  _c(
                                    "div",
                                    { staticClass: "spinnerControl qtyButton" },
                                    [
                                      _c("i", {
                                        staticClass:
                                          "spinnerControlIcon buttonMinus clickable",
                                        on: {
                                          click: function ($event) {
                                            return _vm.updateCart(product, "-")
                                          },
                                        },
                                      }),
                                      _vm._v(" "),
                                      _c("span", [
                                        _vm._v(
                                          _vm._s(_vm.quantityCart(product.id))
                                        ),
                                      ]),
                                      _vm._v(" "),
                                      _c("i", {
                                        staticClass:
                                          "spinnerControlIcon buttonPlus clickable",
                                        on: {
                                          click: function ($event) {
                                            return _vm.updateCart(product, "+")
                                          },
                                        },
                                      }),
                                    ]
                                  ),
                                ]
                              ),
                            ]),
                          ]
                        ),
                      ]
                    )
                  }),
                  0
                ),
                _vm._v(" "),
                _c("hr", { staticClass: "cardLine undefined" }),
                _vm._v(" "),
                _c("div", { staticClass: "cart-product-total-price" }, [
                  _c("span", [_vm._v("Total Belanja")]),
                  _vm._v(" "),
                  _c("span", [
                    _vm.cart.totalPriceBefore > 0
                      ? _c(
                          "span",
                          { staticClass: "cart-product-total-price-before" },
                          [
                            _vm._v(
                              _vm._s(
                                _vm.formatCurrency(_vm.cart.totalPriceBefore)
                              )
                            ),
                          ]
                        )
                      : _vm._e(),
                    _vm._v(" "),
                    _c("span", { attrs: { id: "total" } }, [
                      _vm._v(_vm._s(_vm.formatCurrency(_vm.cart.totalPrice))),
                    ]),
                  ]),
                ]),
                _vm._v(" "),
                _vm.cart.totalPriceBefore > 0
                  ? _c("div", { staticClass: "cart-savingNotif" }, [
                      _vm._v("Wah, Anda berhasil hemat "),
                      _c("span", [
                        _vm._v(
                          " " +
                            _vm._s(
                              _vm.formatCurrency(
                                _vm.cart.totalPriceBefore - _vm.cart.totalPrice
                              )
                            ) +
                            " "
                        ),
                      ]),
                      _vm._v(" di pesanan ini!"),
                    ])
                  : _vm._e(),
              ]),
            ]),
            _vm._v(" "),
            _c("div", { staticClass: "Card_card cart-card" }, [
              _c("div", { staticClass: "cardHeader" }, [
                _c("h1", { staticClass: "cardTitle" }, [
                  _vm._v("Informasi Pembeli"),
                ]),
              ]),
              _vm._v(" "),
              _c("div", { staticClass: "cardBody" }, [
                _c(
                  "div",
                  { staticClass: "cart-buyer-input" },
                  [
                    _c(
                      "label",
                      { staticClass: "cart-label", attrs: { for: "form-name" } },
                      [_vm._v("Nama Lengkap")]
                    ),
                    _vm._v(" "),
                    _c("b-form-input", {
                      directives: [
                        {
                          name: "validate",
                          rawName: "v-validate",
                          value: { required: true },
                          expression: "{ required: true }",
                        },
                      ],
                      staticClass: "form-control",
                      attrs: {
                        name: "name",
                        state: _vm.validateState("name"),
                        "data-vv-as": "Nama",
                      },
                      model: {
                        value: _vm.buyer.name,
                        callback: function ($$v) {
                          _vm.$set(_vm.buyer, "name", $$v)
                        },
                        expression: "buyer.name",
                      },
                    }),
                    _vm._v(" "),
                    _c("b-form-invalid-feedback", [
                      _vm._v(_vm._s(_vm.veeErrors.first("name"))),
                    ]),
                  ],
                  1
                ),
                _vm._v(" "),
                _c(
                  "div",
                  { staticClass: "cart-buyer-input" },
                  [
                    _c(
                      "label",
                      {
                        staticClass: "cart-label",
                        attrs: { for: "form-phoneNumber" },
                      },
                      [_vm._v("Nomor HP (WhatsApp)")]
                    ),
                    _vm._v(" "),
                    _c("b-form-input", {
                      directives: [
                        {
                          name: "validate",
                          rawName: "v-validate",
                          value: {
                            required: true,
                            min: 10,
                            max: 13,
                            regex: /(08)[0-9]{8}/,
                          },
                          expression:
                            "{ required: true, min:10, max:13, regex:/(08)[0-9]{8}/ }",
                        },
                      ],
                      attrs: {
                        name: "phone",
                        type: "number",
                        state: _vm.validateState("phone"),
                        "data-vv-as": "Nomor HP (Whatsapp)",
                      },
                      on: { keypress: _vm.numberOnly },
                      model: {
                        value: _vm.buyer.phone,
                        callback: function ($$v) {
                          _vm.$set(_vm.buyer, "phone", $$v)
                        },
                        expression: "buyer.phone",
                      },
                    }),
                    _vm._v(" "),
                    _c("b-form-invalid-feedback", [
                      _vm._v(_vm._s(_vm.veeErrors.first("phone"))),
                    ]),
                  ],
                  1
                ),
              ]),
            ]),
            _vm._v(" "),
            _c("div", { staticClass: "Card_card cart-card" }, [
              _c("div", { staticClass: "cardBody" }, [
                _c("div", { staticClass: "send-as-a-gift" }, [
                  _c("div", { staticClass: "image-wrapper" }, [
                    _c("div", { staticClass: "giftIcon" }),
                  ]),
                  _vm._v(" "),
                  _c("div", { staticClass: "mx-1" }, [
                    _c("div", { staticClass: "giftLabel" }, [
                      _vm._v("Kirimkan sebagai hadiah?"),
                    ]),
                    _vm._v(" "),
                    _c("div", { staticClass: "giftInfo" }, [
                      _vm._v("Informasi harga tidak akan muncul pada "),
                      _c("i", [_vm._v("invoice")]),
                      _vm._v(" yang didapat oleh penerima."),
                    ]),
                  ]),
                  _vm._v(" "),
                  _c("div", { staticClass: "ml-1" }, [
                    _c(
                      "label",
                      { staticClass: "checkbox_checkbox giftCheckbox" },
                      [
                        _c("input", {
                          staticClass: "checkbox_nativeCheckbox",
                          attrs: { type: "checkbox", name: "gift" },
                          on: {
                            click: function ($event) {
                              _vm.gift = !_vm.gift
                            },
                          },
                        }),
                        _vm._v(" "),
                        _c("span", { staticClass: "checkbox_styledCheckbox" }),
                      ]
                    ),
                  ]),
                ]),
                _vm._v(" "),
                _c(
                  "div",
                  {
                    directives: [
                      {
                        name: "show",
                        rawName: "v-show",
                        value: _vm.gift,
                        expression: "gift",
                      },
                    ],
                    staticClass: "cart-buyer-input",
                  },
                  [
                    _c(
                      "label",
                      { staticClass: "cart-label", attrs: { for: "form-name" } },
                      [_vm._v("Pesan Khusus")]
                    ),
                    _vm._v(" "),
                    _c("textarea", {
                      staticClass: "cart-input form-control",
                      staticStyle: { resize: "none" },
                      attrs: { maxlength: "150", name: "note" },
                    }),
                    _vm._v(" "),
                    _c(
                      "div",
                      {
                        staticClass: "giftNotes",
                        attrs: { id: "gift-note-char" },
                      },
                      [_vm._v("0/150")]
                    ),
                    _vm._v(" "),
                    _c("div", { staticClass: "invalid-feedback" }, [
                      _vm._v("Pesan harus diisi"),
                    ]),
                  ]
                ),
              ]),
            ]),
            _vm._v(" "),
            _c("div", { staticClass: "Card_card cart-card" }, [
              _c("div", { staticClass: "cardHeader" }, [
                _c("h1", { staticClass: "cardTitle" }, [
                  _vm._v("Detail Pengiriman"),
                ]),
              ]),
              _vm._v(" "),
              _c("div", { staticClass: "cardBody" }, [
                _c("section", { staticClass: "deliveryInfoSection" }, [
                  _c("div", { staticClass: "cart-title-section" }, [
                    _c(
                      "span",
                      {
                        staticClass: "cart-label-section",
                        attrs: { for: "form-fullAddress" },
                      },
                      [_vm._v("Alamat Pengiriman")]
                    ),
                    _vm._v(" "),
                    _vm.address.listAddress.length
                      ? _c(
                          "div",
                          {
                            staticClass: "editAddressBtn clickable",
                            attrs: { role: "button" },
                            on: {
                              click: function ($event) {
                                return _vm.$router.push({ name: "address.list" })
                              },
                            },
                          },
                          [_vm._v("Pilih Alamat Lain")]
                        )
                      : _vm._e(),
                  ]),
                  _vm._v(" "),
                  _vm.address.listAddress.length
                    ? _c("div", { staticClass: "addressCard" }, [
                        _c("div", { staticClass: "nameData" }, [
                          _vm._v(
                            _vm._s(
                              _vm.address.listAddress[_vm.address.indexSelected]
                                .name
                            )
                          ),
                        ]),
                        _vm._v(" "),
                        _c("div", { staticClass: "recipientData" }, [
                          _vm._v(
                            _vm._s(
                              _vm.address.listAddress[_vm.address.indexSelected]
                                .recipientName
                            ) +
                              " · " +
                              _vm._s(
                                _vm.address.listAddress[_vm.address.indexSelected]
                                  .recipientPhone
                              )
                          ),
                        ]),
                        _vm._v(" "),
                        _c("div", { staticClass: "cart-buyer-input" }, [
                          _c("div", { staticClass: "d-flex flex-column" }, [
                            _c(
                              "div",
                              { staticClass: "shopping_cart_fullAddressField" },
                              [
                                _vm._v(
                                  _vm._s(
                                    _vm.address.listAddress[
                                      _vm.address.indexSelected
                                    ].fullAddress
                                  )
                                ),
                              ]
                            ),
                            _vm._v(" "),
                            _c(
                              "div",
                              {
                                staticClass: "shopping_cart_districtRegencyField",
                              },
                              [
                                _vm._v(
                                  _vm._s(
                                    _vm.address.listAddress[
                                      _vm.address.indexSelected
                                    ].subdistrict
                                  ) +
                                    ", " +
                                    _vm._s(
                                      _vm.address.listAddress[
                                        _vm.address.indexSelected
                                      ].city
                                    ) +
                                    ", " +
                                    _vm._s(
                                      _vm.address.listAddress[
                                        _vm.address.indexSelected
                                      ].province
                                    )
                                ),
                              ]
                            ),
                            _vm._v(" "),
                            _c(
                              "div",
                              { staticClass: "shopping_cart_detailAddress" },
                              [
                                _vm._v(
                                  _vm._s(
                                    _vm.address.listAddress[
                                      _vm.address.indexSelected
                                    ].detail
                                  )
                                ),
                              ]
                            ),
                          ]),
                        ]),
                      ])
                    : _vm._e(),
                  _vm._v(" "),
                  !_vm.address.listAddress.length
                    ? _c(
                        "div",
                        {
                          staticClass: "cart-buyer-input",
                          on: {
                            click: function ($event) {
                              ;(_vm.$store.state.editAddress = false),
                                _vm.$router.push({ name: "address" })
                            },
                          },
                        },
                        [
                          _c(
                            "div",
                            { staticClass: "addressBtn clickable no-address" },
                            [
                              _c("div", { staticClass: "addressBtnText" }, [
                                _vm._v("Tetapkan Alamat Pengiriman"),
                              ]),
                              _vm._v(" "),
                              _c(
                                "svg",
                                {
                                  staticClass: "shopping_cart_addressArrow",
                                  attrs: {
                                    width: "20",
                                    height: "20",
                                    viewBox: "0 0 20 20",
                                    fill: "none",
                                  },
                                },
                                [
                                  _c("path", {
                                    attrs: {
                                      d: "M1.875 10H18.75",
                                      stroke: "#2A960C",
                                      "stroke-width": "2",
                                      "stroke-linecap": "round",
                                      "stroke-linejoin": "round",
                                    },
                                  }),
                                  _vm._v(" "),
                                  _c("path", {
                                    attrs: {
                                      d: "M7.5 3.125L1.25 10L7.5 16.875",
                                      stroke: "#2A960C",
                                      "stroke-width": "2",
                                      "stroke-linecap": "round",
                                      "stroke-linejoin": "round",
                                    },
                                  }),
                                ]
                              ),
                            ]
                          ),
                          _vm._v(" "),
                          _c("b-form-input", {
                            directives: [
                              {
                                name: "validate",
                                rawName: "v-validate",
                                value: { required: true },
                                expression: "{ required: true }",
                              },
                            ],
                            staticStyle: { display: "none" },
                            attrs: {
                              name: "address",
                              state: _vm.validateState("address"),
                              "data-vv-as": "Alamat pengiriman",
                            },
                            model: {
                              value:
                                _vm.address.listAddress[
                                  _vm.address.indexSelected
                                ],
                              callback: function ($$v) {
                                _vm.$set(
                                  _vm.address.listAddress,
                                  _vm.address.indexSelected,
                                  $$v
                                )
                              },
                              expression:
                                "address.listAddress[address.indexSelected]",
                            },
                          }),
                          _vm._v(" "),
                          _c("b-form-invalid-feedback", [
                            _vm._v(_vm._s(_vm.veeErrors.first("address"))),
                          ]),
                        ],
                        1
                      )
                    : _vm._e(),
                ]),
              ]),
            ]),
          ]),
        ]),
        _vm._v(" "),
        _c(
          "div",
          { staticClass: "FooterButtons_two-btn-footer-row width-control" },
          [
            _c(
              "button",
              {
                staticClass:
                  "btn btn-light FooterButtons_back-btn-footer FooterButtons_two-btn-footer",
                attrs: { type: "button" },
                on: {
                  click: function ($event) {
                    return _vm.$router.push({ name: "products" })
                  },
                },
              },
              [_vm._v("Kembali")]
            ),
            _vm._v(" "),
            _c(
              "b-overlay",
              {
                staticClass: "FooterButtons_two-btn-footer",
                attrs: {
                  show: _vm.busy,
                  opacity: "0.7",
                  "spinner-small": "",
                  "spinner-variant": "success",
                },
              },
              [
                _c(
                  "b-button",
                  {
                    staticClass: "btn btn-primary",
                    attrs: {
                      disabled: _vm.busy,
                      block: "",
                      variant: "primary",
                      type: "submit",
                    },
                  },
                  [_vm._v("Selanjutnya")]
                ),
              ],
              1
            ),
          ],
          1
        ),
      ]
    )
  }
  var staticRenderFns = []
  render._withStripped = true
  
  
  
  /***/ })
  
  }]);