text: (function (exports,main_core,ui_vue) {
    'use strict';
  
    function initApp(data) {
      var nodes = document.querySelectorAll('.vue-cart-description');
  
      if (nodes && nodes.length) {
        for (var i in nodes) {
          var _nodes$i, _nodes$i$dataset;
  
          if (Object.hasOwnProperty.call(nodes, i) && (_nodes$i = nodes[i]) !== null && _nodes$i !== void 0 && (_nodes$i$dataset = _nodes$i.dataset) !== null && _nodes$i$dataset !== void 0 && _nodes$i$dataset.cartId) {
            (function () {
              var cartNumberNode = nodes[i];
              ui_vue.BitrixVue.createApp({
                el: cartNumberNode,
                store: userStore,
                data: function data() {
                  return {
                    cartId: parseInt(cartNumberNode.dataset.cartId)
                  };
                },
                computed: {
                  cart: function cart(state) {
                    return state.$store.getters['basket/getBasket'](state.cartId);
                  },
                  value: {
                    get: function get() {
                      var _this$cart;
  
                      return (_this$cart = this.cart) === null || _this$cart === void 0 ? void 0 : _this$cart.DESCRIPTION;
                    },
                    set: function set(newValue) {
                      this.cart.DESCRIPTION = newValue;
                    }
                  },
                  valueLength: function valueLength(state) {
                    var _Object$keys;
  
                    return state.value ? (_Object$keys = Object.keys(state.value)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length : 0;
                  }
                },
                methods: {
                  changeValue: function changeValue(newValue) {
                    this.value = newValue;
                  }
                },
                template: "<vue-field-textarea\n                        :value=\"value\"\n                        @changeValue=\"changeValue\"\n                        :show-icon-class=\"'fas fa-edit'\">\n                            <input v-if=\"value\" type=\"hidden\" name=\"DESCRIPTION\" :value=\"value\"/>\n                        </vue-field-textarea>"
              });
            })();
          }
        }
      }
    }
  
    BX.ready(initApp);
    main_core.addCustomEvent('Grid::updated', initApp);
  
  }((this.window = this.window || {}),BX,BX));
  //# sourceMappingURL=script.bundle.js.map
  