docs: function () {
              if (!this.options) {
                  return;
              }
  
              var values_num = this.options.values.length;
              var p_values = this.options.p_values;
              var text_single;
              var text_from;
              var text_to;
              var from_pretty;
              var to_pretty;
  
              if (this.options.hide_from_to) {
                  return;
              }
  
              if (this.options.type === "single") {
  
                  if (values_num) {
                      text_single = this.decorate(p_values[this.result.from]);
                      this.$cache.single.html(text_single);
                  } else {
                      from_pretty = this._prettify(this.result.from);
  
                      text_single = this.decorate(from_pretty, this.result.from);
                      this.$cache.single.html(text_single);
                  }
  
                  this.calcLabels();
  
                  if (this.labels.p_single_left < this.labels.p_min + 1) {
                      this.$cache.min[0].style.visibility = "hidden";
                  } else {
                      this.$cache.min[0].style.visibility = "visible";
                  }
  
                  if (this.labels.p_single_left + this.labels.p_single_fake > 100 - this.labels.p_max - 1) {
                      this.$cache.max[0].style.visibility = "hidden";
                  } else {
                      this.$cache.max[0].style.visibility = "visible";
                  }
  
              } else {
  
                  if (values_num) {
  
                      if (this.options.decorate_both) {
                          text_single = this.decorate(p_values[this.result.from]);
                          text_single += this.options.values_separator;
                          text_single += this.decorate(p_values[this.result.to]);
                      } else {
                          text_single = this.decorate(p_values[this.result.from] + this.options.values_separator + p_values[this.result.to]);
                      }
                      text_from = this.decorate(p_values[this.result.from]);
                      text_to = this.decorate(p_values[this.result.to]);
  
                      this.$cache.single.html(text_single);
                      this.$cache.from.html(text_from);
                      this.$cache.to.html(text_to);
  
                  } else {
                      from_pretty = this._prettify(this.result.from);
                      to_pretty = this._prettify(this.result.to);
  
                      if (this.options.decorate_both) {
                          text_single = this.decorate(from_pretty, this.result.from);
                          text_single += this.options.values_separator;
                          text_single += this.decorate(to_pretty, this.result.to);
                      } else {
                          text_single = this.decorate(from_pretty + this.options.values_separator + to_pretty, this.result.to);
                      }
                      text_from = this.decorate(from_pretty, this.result.from);
                      text_to = this.decorate(to_pretty, this.result.to);
  
                      this.$cache.single.html(text_single);
                      this.$cache.from.html(text_from);
                      this.$cache.to.html(text_to);
  
                  }
  
                  this.calcLabels();
  
                  var min = Math.min(this.labels.p_single_left, this.labels.p_from_left),
                      single_left = this.labels.p_single_left + this.labels.p_single_fake,
                      to_left = this.labels.p_to_left + this.labels.p_to_fake,
                      max = Math.max(single_left, to_left);
  
                  if (this.labels.p_from_left + this.labels.p_from_fake >= this.labels.p_to_left) {
                      this.$cache.from[0].style.visibility = "hidden";
                      this.$cache.to[0].style.visibility = "hidden";
                      this.$cache.single[0].style.visibility = "visible";
  
                      if (this.result.from === this.result.to) {
                          if (this.target === "from") {
                              this.$cache.from[0].style.visibility = "visible";
                          } else if (this.target === "to") {
                              this.$cache.to[0].style.visibility = "visible";
                          } else if (!this.target) {
                              this.$cache.from[0].style.visibility = "visible";
                          }
                          this.$cache.single[0].style.visibility = "hidden";
                          max = to_left;
                      } else {
                          this.$cache.from[0].style.visibility = "hidden";
                          this.$cache.to[0].style.visibility = "hidden";
                          this.$cache.single[0].style.visibility = "visible";
                          max = Math.max(single_left, to_left);
                      }
                  } else {
                      this.$cache.from[0].style.visibility = "visible";
                      this.$cache.to[0].style.visibility = "visible";
                      this.$cache.single[0].style.visibility = "hidden";
                  }
  
                  if (min < this.labels.p_min + 1) {
                      this.$cache.min[0].style.visibility = "hidden";
                  } else {
                      this.$cache.min[0].style.visibility = "visible";
                  }
  
                  if (max > 100 - this.labels.p_max - 1) {
                      this.$cache.max[0].style.visibility = "hidden";
                  } else {
                      this.$cache.max[0].style.visibility = "visible";
                  }
  
              }
          }