text: "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  exports.CharactersCollection = void 0;
  var CharactersCollection = /** @class */ (function () {
      function CharactersCollection(data) {
          this.data = data;
      }
      Object.defineProperty(CharactersCollection.prototype, "length", {
          get: function () {
              return this.data.length;
          },
          enumerable: false,
          configurable: true
      });
      CharactersCollection.prototype.swap = function (leftIndex, rightIndex) {
          var characters = this.data.split('');
          var temp = characters[leftIndex];
          characters[leftIndex] = characters[rightIndex];
          characters[rightIndex] = temp;
          this.data = characters.join('');
      };
      CharactersCollection.prototype.compare = function (leftIndex, rightIndex) {
          return this.data[leftIndex].toLowerCase() > this.data[rightIndex].toLowerCase();
      };
      return CharactersCollection;
  }());
  exports.CharactersCollection = CharactersCollection;
  