text: Function.prototype.debounce = function(c, p) {
      var m = this,
          k;
      return function() {
          var h = this,
              t = arguments;
          k ? clearTimeout(k) : p && m.apply(h, t);
          k = setTimeout(function() {
              p || m.apply(h, t);
              k = null
          }, c || 100)
      }
  };
  (function(c) {
      c.hover_caption = {
          defaults: {
              caption_font_size: "18px",
              caption_color: "white",
              caption_bold: !0,
              caption_default: "Your title here"
          }
      };
      c.fn.extend({
          hover_caption: function(p) {
              p = c.extend({}, c.hover_caption.defaults, p);
              return this.each(function() {
                  var m = c(this),
                      k = m.width(),
                      h = m.height(),
                      t = .07 * k,
                      w = m.attr("extract") ? m.attr("extract") : p.caption_default;
                  m.css({
                      "z-index": "-1",
                      position: "relative"
                  }).wrap("<div>").parent().css({
                      width: k,
                      height: h
                  }).prepend("<h3>" + w + "</h3>").find("h3").addClass("hover_caption_caption").css({
                      padding: t,
                      color: p.caption_color,
                      width: k,
                      "font-size": p.caption_font_size,
                      position: "absolute",
                      margin: 0
                  }).hide();
                  p.caption_bold && m.css("font-weight", "bold");
                  m.parent().hover(function() {
                      c(this).addClass("hover_caption").find("h3").show()
                  }, function() {
                      c(this).removeClass("hover_caption").find("h3").hide()
                  })
              })
          }
      })
  })(jQuery);
  if (is_single) {
      void 0 === jQuery.migrateMute && (jQuery.migrateMute = !0);
      (function(c, p, m) {
          function k(a) {
              var b = p.console;
              t[a] || (t[a] = !0, c.migrateWarnings.push(a), b && b.warn && !c.migrateMute && (b.warn("JQMIGRATE: " + a), c.migrateTrace && b.trace && b.trace()))
          }
  
          function h(a, b, g, d) {
              if (Object.defineProperty) try {
                  return Object.defineProperty(a, b, {
                      configurable: !0,
                      enumerable: !0,
                      get: function() {
                          return k(d), g
                      },
                      set: function(a) {
                          k(d);
                          g = a
                      }
                  }), m
              } catch (e) {}
              c._definePropertyBroken = !0;
              a[b] = g
          }
          var t = {};
          c.migrateWarnings = [];
          !c.migrateMute &&
              p.console && p.console.log && p.console.log("JQMIGRATE: Logging is active");
          c.migrateTrace === m && (c.migrateTrace = !0);
          c.migrateReset = function() {
              t = {};
              c.migrateWarnings.length = 0
          };
          "BackCompat" === document.compatMode && k("jQuery is not compatible with Quirks Mode");
          var w = c("<input/>", {
                  size: 1
              }).attr("size") && c.attrFn,
              f = c.attr,
              q = c.attrHooks.value && c.attrHooks.value.get || function() {
                  return null
              },
              b = c.attrHooks.value && c.attrHooks.value.set || function() {
                  return m
              },
              a = /^(?:input|button)$/i,
              n = /^[238]$/,
              x = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,
              d = /^(?:checked|selected)$/i;
          h(c, "attrFn", w || {}, "jQuery.attrFn is deprecated");
          c.attr = function(b, g, e, F) {
              var l = g.toLowerCase(),
                  r = b && b.nodeType;
              return F && (4 > f.length && k("jQuery.fn.attr( props, pass ) is deprecated"), b && !n.test(r) && (w ? g in w : c.isFunction(c.fn[g]))) ? c(b)[g](e) : ("type" === g && e !== m && a.test(b.nodeName) && b.parentNode && k("Can't change the 'type' of an input or button in IE 6/7/8"), !c.attrHooks[l] && x.test(l) && (c.attrHooks[l] = {
                  get: function(a, b) {
                      var g, d = c.prop(a, b);
                      return !0 === d || "boolean" != typeof d &&
                          (g = a.getAttributeNode(b)) && !1 !== g.nodeValue ? b.toLowerCase() : m
                  },
                  set: function(a, b, g) {
                      var d;
                      return !1 === b ? c.removeAttr(a, g) : (d = c.propFix[g] || g, d in a && (a[d] = !0), a.setAttribute(g, g.toLowerCase())), g
                  }
              }, d.test(l) && k("jQuery.fn.attr('" + l + "') may use property instead of attribute")), f.call(c, b, g, e))
          };
          c.attrHooks.value = {
              get: function(a, b) {
                  var c = (a.nodeName || "").toLowerCase();
                  return "button" === c ? q.apply(this, arguments) : ("input" !== c && "option" !== c && k("jQuery.fn.attr('value') no longer gets properties"), b in a ? a.value :
                      null)
              },
              set: function(a, c) {
                  var g = (a.nodeName || "").toLowerCase();
                  return "button" === g ? b.apply(this, arguments) : ("input" !== g && "option" !== g && k("jQuery.fn.attr('value', val) no longer sets properties"), a.value = c, m)
              }
          };
          var B, l, e = c.fn.init,
              r = c.parseJSON,
              E = /^([^<]*)(<[\w\W]+>)([^>]*)$/;
          c.fn.init = function(a, b, g) {
              var d;
              return a && "string" == typeof a && !c.isPlainObject(b) && (d = E.exec(c.trim(a))) && d[0] && ("<" !== a.charAt(0) && k("$(html) HTML strings must start with '<' character"), d[3] && k("$(html) HTML text after last tag is ignored"),
                  "#" === d[0].charAt(0) && (k("HTML string cannot start with a '#' character"), c.error("JQMIGRATE: Invalid selector string (XSS)")), b && b.context && (b = b.context), c.parseHTML) ? e.call(this, c.parseHTML(d[2], b, !0), b, g) : e.apply(this, arguments)
          };
          c.fn.init.prototype = c.fn;
          c.parseJSON = function(a) {
              return a || null === a ? r.apply(this, arguments) : (k("jQuery.parseJSON requires a valid JSON string"), null)
          };
          c.uaMatch = function(a) {
              a = a.toLowerCase();
              a = /(chrome)[ \/]([\w.]+)/.exec(a) || /(webkit)[ \/]([\w.]+)/.exec(a) || /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a) ||
                  /(msie) ([\w.]+)/.exec(a) || 0 > a.indexOf("compatible") && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a) || [];
              return {
                  browser: a[1] || "",
                  version: a[2] || "0"
              }
          };
          c.browser || (B = c.uaMatch(navigator.userAgent), l = {}, B.browser && (l[B.browser] = !0, l.version = B.version), l.chrome ? l.webkit = !0 : l.webkit && (l.safari = !0), c.browser = l);
          h(c, "browser", c.browser, "jQuery.browser is deprecated");
          c.sub = function() {
              function a(b, c) {
                  return new a.fn.init(b, c)
              }
              c.extend(!0, a, this);
              a.superclass = this;
              a.fn = a.prototype = this();
              a.fn.constructor = a;
              a.sub =
                  this.sub;
              a.fn.init = function(g, d) {
                  return d && d instanceof c && !(d instanceof a) && (d = a(d)), c.fn.init.call(this, g, d, b)
              };
              a.fn.init.prototype = a.fn;
              var b = a(document);
              return k("jQuery.sub() is deprecated"), a
          };
          c.ajaxSetup({
              converters: {
                  "text json": c.parseJSON
              }
          });
          var g = c.fn.data;
          c.fn.data = function(a) {
              var b, d, e = this[0];
              return !e || "events" !== a || 1 !== arguments.length || (b = c.data(e, a), d = c._data(e, a), b !== m && b !== d || d === m) ? g.apply(this, arguments) : (k("Use of jQuery.fn.data('events') is deprecated"), d)
          };
          var F = /\/(java|ecma)script/i,
              H = c.fn.andSelf || c.fn.addBack;
          c.fn.andSelf = function() {
              return k("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"), H.apply(this, arguments)
          };
          c.clean || (c.clean = function(a, b, g, d) {
              b = b || document;
              b = !b.nodeType && b[0] || b;
              b = b.ownerDocument || b;
              k("jQuery.clean() is deprecated");
              var e, l, n = [];
              if (c.merge(n, c.buildFragment(a, b).childNodes), g)
                  for (e = function(a) {
                          return !a.type || F.test(a.type) ? d ? d.push(a.parentNode ? a.parentNode.removeChild(a) : a) : g.appendChild(a) : m
                      }, a = 0; null != (b = n[a]); a++) c.nodeName(b, "script") && e(b) ||
                      (g.appendChild(b), b.getElementsByTagName !== m && (l = c.grep(c.merge([], b.getElementsByTagName("script")), e), n.splice.apply(n, [a + 1, 0].concat(l)), a += l.length));
              return n
          });
          var I = c.event.add,
              J = c.event.remove,
              D = c.event.trigger,
              C = c.fn.toggle,
              u = c.fn.live,
              A = c.fn.die,
              z = /\b(?:ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess)\b/,
              y = /(?:^|\s)hover(\.\S+|)\b/,
              G = function(a) {
                  return "string" != typeof a || c.event.special.hover ? a : (y.test(a) && k("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),
                      a && a.replace(y, "mouseenter$1 mouseleave$1"))
              };
          c.event.props && "attrChange" !== c.event.props[0] && c.event.props.unshift("attrChange", "attrName", "relatedNode", "srcElement");
          c.event.dispatch && h(c.event, "handle", c.event.dispatch, "jQuery.event.handle is undocumented and deprecated");
          c.event.add = function(a, b, c, g, d) {
              a !== document && z.test(b) && k("AJAX events should be attached to document: " + b);
              I.call(this, a, G(b || ""), c, g, d)
          };
          c.event.remove = function(a, b, c, g, d) {
              J.call(this, a, G(b) || "", c, g, d)
          };
          c.fn.error = function() {
              var a =
                  Array.prototype.slice.call(arguments, 0);
              return k("jQuery.fn.error() is deprecated"), a.splice(0, 0, "error"), arguments.length ? this.bind.apply(this, a) : (this.triggerHandler.apply(this, a), this)
          };
          c.fn.toggle = function(a, b) {
              if (!c.isFunction(a) || !c.isFunction(b)) return C.apply(this, arguments);
              k("jQuery.fn.toggle(handler, handler...) is deprecated");
              var g = arguments,
                  d = a.guid || c.guid++,
                  e = 0,
                  l = function(b) {
                      var d = (c._data(this, "lastToggle" + a.guid) || 0) % e;
                      return c._data(this, "lastToggle" + a.guid, d + 1), b.preventDefault(),
                          g[d].apply(this, arguments) || !1
                  };
              for (l.guid = d; g.length > e;) g[e++].guid = d;
              return this.click(l)
          };
          c.fn.live = function(a, b, g) {
              return k("jQuery.fn.live() is deprecated"), u ? u.apply(this, arguments) : (c(this.context).on(a, this.selector, b, g), this)
          };
          c.fn.die = function(a, b) {
              return k("jQuery.fn.die() is deprecated"), A ? A.apply(this, arguments) : (c(this.context).off(a, this.selector || "**", b), this)
          };
          c.event.trigger = function(a, b, c, g) {
              return c || z.test(a) || k("Global events are undocumented and deprecated"), D.call(this, a, b,
                  c || document, g)
          };
          c.each("ajaxStart ajaxStop ajaxSend ajaxComplete ajaxError ajaxSuccess".split(" "), function(a, b) {
              c.event.special[b] = {
                  setup: function() {
                      var a = this;
                      return a !== document && (c.event.add(document, b + "." + c.guid, function() {
                          c.event.trigger(b, null, a, !0)
                      }), c._data(this, b, c.guid++)), !1
                  },
                  teardown: function() {
                      return this !== document && c.event.remove(document, b + "." + c._data(this, b)), !1
                  }
              }
          })
      })(jQuery, window);
      var wpdiscuzValidator = function(c) {
          function p(a, b) {
              "tel" == a && (B = B || "phone");
              a && "password" != a && "tel" !=
                  a || (a = "text");
              return t[a](b)
          }
  
          function m(a) {
              q = c(a);
              q.data("valid", !0);
              q.data("type", q.attr("type"));
              B = q.attr("pattern")
          }
  
          function k() {
              if ("hidden" != this.type && c(this).is(":hidden")) return !0;
              m(this);
              q.data("val", q[0].value.replace(/^\s+|\s+$/g, ""));
              e = q.data();
              l = h[q.prop("name")] || h.invalid;
              "select" === q[0].nodeName.toLowerCase() && (e.type = "select");
              "textarea" === q[0].nodeName.toLowerCase() && (e.type = "text");
              n = e.validateWords || 0;
              x = e.validateLengthRange ? (e.validateLengthRange + "").split(",") : [1];
              d = e.validateLength ?
                  (e.validateLength + "").split(",") : !1;
              b = e.validateMinmax ? (e.validateMinmax + "").split(",") : "";
              e.valid = t.hasValue(e.val);
              if (e.valid)
                  if (t.sameAsPlaceholder(q) && (l = h.empty, e.valid = !1), e.validateLinked) {
                      var a = 0 == e.validateLinked.indexOf("#") ? c(e.validateLinked) : c(":input[name=" + e.validateLinked + "]");
                      e.valid = t.linked(e.val, a.val())
                  } else if (e.valid || "select" == e.type) e.valid = p(e.type, e.val);
              q.hasClass("wpdiscuz_optional") && !e.val && (e.valid = !0);
              e.valid ? f(q) : (w(q, l), submit = !1);
              return e.valid
          }
          var h, t, w, f, q, b,
              a, n, x, d, B, l, e, r = /[\(\)\<\>\,\;\:\\\/\"\[\]]/,
              E = /^.+@.+\..{2,50}$/;
          h = {
              invalid: "invalid input",
              empty: "please put something here",
              min: "input is too short",
              max: "input is too long",
              number_min: "too low",
              number_max: "too high",
              url: "invalid URL",
              number: "not a number",
              email: "email address is invalid",
              email_repeat: "emails do not match",
              password_repeat: "passwords do not match",
              repeat: "no match",
              complete: "input is not complete",
              select: "Please select an option"
          };
          window.console || (console = {}, console.log = console.warn =
              function() {});
          a = {
              alerts: !0
          };
          t = {
              sameAsPlaceholder: function(a) {
                  return c.fn.placeholder && void 0 !== a.attr("placeholder") && e.val == a.prop("placeholder")
              },
              hasValue: function(a) {
                  return a ? !0 : (l = h.empty, !1)
              },
              linked: function(a, b) {
                  return b != a ? (l = h[e.type + "_repeat"] || h.no_match, !1) : !0
              },
              email: function(a) {
                  return !E.test(a) || a.match(r) ? (l = a ? h.email : h.empty, !1) : !0
              },
              text: function(a) {
                  if (n) {
                      a = a.split(" ");
                      var b;
                      if (!(b = a.length < n)) {
                          a: {
                              for (b = a.length; b--;)
                                  if (2 > a[b].length) {
                                      a = !1;
                                      break a
                                  }
                              a = !0
                          }
                          b = !a
                      }
                      return b ? (l = h.complete, !1) :
                          !0
                  }
                  if (x && a.length < x[0]) return l = h.min, !1;
                  if (x && x[1] && a.length > x[1]) return l = h.max, !1;
                  if (d && d.length) {
                      for (var c = !1; d.length;) d.pop() == a.length && (c = !0);
                      if (!c) return l = h.complete, !1
                  }
                  if (B) {
                      switch (B) {
                          case "alphanumeric":
                              c = /^[a-z0-9]+$/i;
                              break;
                          case "numeric":
                              c = /^[0-9]+$/i;
                              break;
                          case "phone":
                              c = /^\+?([0-9]|[-|' '])+$/i;
                              break;
                          default:
                              c = B
                      }
                      try {
                          if (b = (new RegExp(c)).test(a), a && !b) return !1
                      } catch (e) {
                          return console.log(e, q, "regex is invalid"), !1
                      }
                  }
                  return !0
              },
              number: function(a) {
                  return isNaN(parseFloat(a)) && !isFinite(a) ?
                      (l = h.number, !1) : x && a.length < x[0] ? (l = h.min, !1) : x && x[1] && a.length > x[1] ? (l = h.max, !1) : b[0] && (a | 0) < b[0] ? (l = h.number_min, !1) : b[1] && (a | 0) > b[1] ? (l = h.number_max, !1) : !0
              },
              date: function(a) {
                  var b, c = a.split(/[-./]/g),
                      d;
                  if (q[0].valueAsNumber) return !0;
                  for (d = c.length; d--;)
                      if (isNaN(parseFloat(a)) && !isFinite(a)) return !1;
                  try {
                      return b = new Date(c[2], c[1] - 1, c[0]), b.getMonth() + 1 == c[1] && b.getDate() == c[0] ? b : !1
                  } catch (e) {
                      return console.log("date test: ", err), !1
                  }
              },
              url: function(a) {
                  return /^(?:(?:https?|ftp):\/\/)?(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/i.test(a) ?
                      !0 : (console.log(a), l = a ? h.url : h.empty, !1)
              },
              hidden: function(a) {
                  if (x && a.length < x[0]) return l = h.min, !1;
                  if (B) {
                      var b;
                      if ("alphanumeric" == B && (b = /^[a-z0-9]+$/i, !b.test(a))) return !1
                  }
                  return !0
              },
              select: function(a) {
                  return t.hasValue(a) ? !0 : (l = h.select, !1)
              }
          };
          w = function(b, d) {
              if (!d || !b || !b.length) return !1;
              var e = b.parents(".wpdiscuz-item"),
                  l;
              e.hasClass("bad") ? a.alerts && e.find(".alert").html(d) : a.alerts && (l = c('<div class="alert">').html(d), e.append(l));
              e.removeClass("bad");
              setTimeout(function() {
                  e.addClass("bad")
              }, 0)
          };
          f = function(a) {
              if (!a || !a.length) return console.warn('no "field" argument, null or DOM object not found'), !1;
              a.parents(".wpdiscuz-item").removeClass("bad").find(".alert").remove()
          };
          return {
              defaults: a,
              checkField: k,
              keypress: function(a) {
                  m(this);
                  if (a.charCode) return p(this.type, String.fromCharCode(a.charCode))
              },
              checkAll: function(a) {
                  a = c(a);
                  if (0 == a.length) return console.warn("element not found"), !1;
                  var b = !0;
                  a.find(":input").filter("[required=required], .required, .wpdiscuz_optional").not("[disabled=disabled]").each(function() {
                      b *=
                          k.apply(this)
                  });
                  return !!b
              },
              mark: w,
              unmark: f,
              message: h,
              tests: t
          }
      }(jQuery);
      (function(c) {
          "function" === typeof define && define.amd ? define(["jquery"], c) : "object" === typeof exports ? c(require("jquery")) : c(jQuery)
      })(function(c) {
          function p(c) {
              c = h.json ? JSON.stringify(c) : String(c);
              return h.raw ? c : encodeURIComponent(c)
          }
  
          function m(p, m) {
              var f;
              if (h.raw) f = p;
              else a: {
                  var q = p;
                  0 === q.indexOf('"') && (q = q.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, "\\"));
                  try {
                      q = decodeURIComponent(q.replace(k, " "));
                      f = h.json ? JSON.parse(q) : q;
                      break a
                  } catch (b) {}
                  f = void 0
              }
              return c.isFunction(m) ? m(f) : f
          }
          var k = /\+/g,
              h = c.cookie = function(k, w, f) {
                  if (void 0 !== w && !c.isFunction(w)) {
                      f = c.extend({}, h.defaults, f);
                      if ("number" === typeof f.expires) {
                          var q = f.expires,
                              b = f.expires = new Date;
                          b.setTime(+b + 864E5 * q)
                      }
                      return document.cookie = [h.raw ? k : encodeURIComponent(k), "=", p(w), f.expires ? "; expires=" + f.expires.toUTCString() : "", f.path ? "; path=" + f.path : "", f.domain ? "; domain=" + f.domain : "", f.secure ? "; secure" : ""].join("")
                  }
                  f = k ? void 0 : {};
                  for (var q = document.cookie ? document.cookie.split("; ") : [], b = 0, a = q.length; b < a; b++) {
                      var n = q[b].split("="),
                          x;
                      x = n.shift();
                      x = h.raw ? x : decodeURIComponent(x);
                      n = n.join("=");
                      if (k && k === x) {
                          f = m(n, w);
                          break
                      }
                      k || void 0 === (n = m(n)) || (f[x] = n)
                  }
                  return f
              };
          h.defaults = {};
          c.removeCookie = function(k, p) {
              if (void 0 === c.cookie(k)) return !1;
              c.cookie(k, "", c.extend({}, p, {
                  expires: -1
              }));
              return !c.cookie(k)
          }
      });
      (function(c, p, m) {
          function k(b, a) {
              this.bodyOverflowX;
              this.callbacks = {
                  hide: [],
                  show: []
              };
              this.checkInterval = null;
              this.Content;
              this.$el = c(b);
              this.$elProxy;
              this.elProxyPosition;
              this.enabled = !0;
              this.options = c.extend({}, w, a);
              this.mouseIsOverProxy = !1;
              this.namespace = "tooltipster-" + Math.round(1E5 * Math.random());
              this.Status = "hidden";
              this.timerShow = this.timerHide = null;
              this.$tooltip;
              this.options.iconTheme = this.options.iconTheme.replace(".", "");
              this.options.theme = this.options.theme.replace(".", "");
              this._init()
          }
  
          function h(b, a) {
              var n = !0;
              c.each(b, function(c, d) {
                  if ("undefined" === typeof a[c] || b[c] !== a[c]) return n = !1
              });
              return n
          }
  
          function t() {
              var b = (m.body || m.documentElement).style,
                  a = "transition";
              if ("string" ==
                  typeof b[a]) return !0;
              v = ["Moz", "Webkit", "Khtml", "O", "ms"];
              for (var a = a.charAt(0).toUpperCase() + a.substr(1), c = 0; c < v.length; c++)
                  if ("string" == typeof b[v[c] + a]) return !0;
              return !1
          }
          var w = {
              animation: "fade",
              arrow: !0,
              arrowColor: "",
              autoClose: !0,
              content: null,
              contentAsHTML: !1,
              contentCloning: !0,
              debug: !0,
              delay: 200,
              minWidth: 0,
              maxWidth: null,
              functionInit: function(b, a) {},
              functionBefore: function(b, a) {
                  a()
              },
              functionReady: function(b, a) {},
              functionAfter: function(b) {},
              icon: "(?)",
              iconCloning: !0,
              iconDesktop: !1,
              iconTouch: !1,
              iconTheme: "tooltipster-icon",
              interactive: !1,
              interactiveTolerance: 350,
              multiple: !1,
              offsetX: 0,
              offsetY: 0,
              onlyOne: !1,
              position: "top",
              positionTracker: !1,
              speed: 350,
              timer: 0,
              theme: "tooltipster-default",
              touchDevices: !0,
              trigger: "hover",
              updateAnimation: !0
          };
          k.prototype = {
              _init: function() {
                  var b = this;
                  if (m.querySelector) {
                      if (null !== b.options.content) b._content_set(b.options.content);
                      else {
                          var a = b.$el.attr("title");
                          "undefined" === typeof a && (a = null);
                          b._content_set(a)
                      }
                      a = b.options.functionInit.call(b.$el, b.$el, b.Content);
                      "undefined" !== typeof a && b._content_set(a);
                      b.$el.removeAttr("title").addClass("tooltipstered");
                      !f && b.options.iconDesktop || f && b.options.iconTouch ? ("string" === typeof b.options.icon ? (b.$elProxy = c('<span class="' + b.options.iconTheme + '"></span>'), b.$elProxy.text(b.options.icon)) : b.$elProxy = b.options.iconCloning ? b.options.icon.clone(!0) : b.options.icon, b.$elProxy.insertAfter(b.$el)) : b.$elProxy = b.$el;
                      if ("hover" == b.options.trigger) {
                          if (b.$elProxy.on("mouseenter." + b.namespace, function() {
                                  if (q || !f || b.options.touchDevices) b.mouseIsOverProxy = !0, b._show()
                              }).on("mouseleave." +
                                  b.namespace,
                                  function() {
                                      if (q || !f || b.options.touchDevices) b.mouseIsOverProxy = !1
                                  }), f && b.options.touchDevices) b.$elProxy.on("touchstart." + b.namespace, function() {
                              b._showNow()
                          })
                      } else if ("click" == b.options.trigger) b.$elProxy.on("click." + b.namespace, function() {
                          (q || !f || b.options.touchDevices) && b._show()
                      })
                  }
              },
              _show: function() {
                  var b = this;
                  "shown" != b.Status && "appearing" != b.Status && (b.options.delay ? b.timerShow = setTimeout(function() {
                          ("click" == b.options.trigger || "hover" == b.options.trigger && b.mouseIsOverProxy) && b._showNow()
                      },
                      b.options.delay) : b._showNow())
              },
              _showNow: function(b) {
                  var a = this;
                  a.options.functionBefore.call(a.$el, a.$el, function() {
                      if (a.enabled && null !== a.Content) {
                          b && a.callbacks.show.push(b);
                          a.callbacks.hide = [];
                          clearTimeout(a.timerShow);
                          a.timerShow = null;
                          clearTimeout(a.timerHide);
                          a.timerHide = null;
                          a.options.onlyOne && c(".tooltipstered").not(a.$el).each(function(a, b) {
                              var d = c(b),
                                  e = d.data("tooltipster-ns");
                              c.each(e, function(a, b) {
                                  var c = d.data(b),
                                      e = c.status(),
                                      g = c.option("autoClose");
                                  "hidden" !== e && "disappearing" !== e && g &&
                                      c.hide()
                              })
                          });
                          var n = function() {
                              a.Status = "shown";
                              c.each(a.callbacks.show, function(b, c) {
                                  c.call(a.$el)
                              });
                              a.callbacks.show = []
                          };
                          if ("hidden" !== a.Status) {
                              var k = 0;
                              "disappearing" === a.Status ? (a.Status = "appearing", t() ? (a.$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-" + a.options.animation + "-show"), 0 < a.options.speed && a.$tooltip.delay(a.options.speed), a.$tooltip.queue(n)) : a.$tooltip.stop().fadeIn(n)) : "shown" === a.Status && n()
                          } else {
                              a.Status = "appearing";
                              k = a.options.speed;
                              a.bodyOverflowX =
                                  c("body").css("overflow-x");
                              c("body").css("overflow-x", "hidden");
                              var d = "tooltipster-" + a.options.animation,
                                  h = "-webkit-transition-duration: " + a.options.speed + "ms; -webkit-animation-duration: " + a.options.speed + "ms; -moz-transition-duration: " + a.options.speed + "ms; -moz-animation-duration: " + a.options.speed + "ms; -o-transition-duration: " + a.options.speed + "ms; -o-animation-duration: " + a.options.speed + "ms; -ms-transition-duration: " + a.options.speed + "ms; -ms-animation-duration: " + a.options.speed + "ms; transition-duration: " +
                                  a.options.speed + "ms; animation-duration: " + a.options.speed + "ms;",
                                  l = a.options.minWidth ? "min-width:" + Math.round(a.options.minWidth) + "px;" : "",
                                  e = a.options.maxWidth ? "max-width:" + Math.round(a.options.maxWidth) + "px;" : "";
                              a.$tooltip = c('<div class="tooltipster-base ' + a.options.theme + '" style="' + l + " " + e + " " + (a.options.interactive ? "pointer-events: auto;" : "") + " " + h + '"><div class="tooltipster-content"></div></div>');
                              t() && a.$tooltip.addClass(d);
                              a._content_insert();
                              a.$tooltip.appendTo("body");
                              a.reposition();
                              a.options.functionReady.call(a.$el,
                                  a.$el, a.$tooltip);
                              t() ? (a.$tooltip.addClass(d + "-show"), 0 < a.options.speed && a.$tooltip.delay(a.options.speed), a.$tooltip.queue(n)) : a.$tooltip.css("display", "none").fadeIn(a.options.speed, n);
                              a._interval_set();
                              c(p).on("scroll." + a.namespace + " resize." + a.namespace, function() {
                                  a.reposition()
                              });
                              if (a.options.autoClose)
                                  if (c("body").off("." + a.namespace), "hover" == a.options.trigger)
                                      if (f && setTimeout(function() {
                                              c("body").on("touchstart." + a.namespace, function() {
                                                  a.hide()
                                              })
                                          }, 0), a.options.interactive) {
                                          if (f) a.$tooltip.on("touchstart." +
                                              a.namespace,
                                              function(a) {
                                                  a.stopPropagation()
                                              });
                                          var r = null;
                                          a.$elProxy.add(a.$tooltip).on("mouseleave." + a.namespace + "-autoClose", function() {
                                              clearTimeout(r);
                                              r = setTimeout(function() {
                                                  a.hide()
                                              }, a.options.interactiveTolerance)
                                          }).on("mouseenter." + a.namespace + "-autoClose", function() {
                                              clearTimeout(r)
                                          })
                                      } else a.$elProxy.on("mouseleave." + a.namespace + "-autoClose", function() {
                                          a.hide()
                                      });
                              else if ("click" == a.options.trigger && (setTimeout(function() {
                                          c("body").on("click." + a.namespace + " touchstart." + a.namespace, function() {
                                              a.hide()
                                          })
                                      },
                                      0), a.options.interactive)) a.$tooltip.on("click." + a.namespace + " touchstart." + a.namespace, function(a) {
                                  a.stopPropagation()
                              })
                          }
                          0 < a.options.timer && (a.timerHide = setTimeout(function() {
                              a.timerHide = null;
                              a.hide()
                          }, a.options.timer + k))
                      }
                  })
              },
              _interval_set: function() {
                  var b = this;
                  b.checkInterval = setInterval(function() {
                      if (0 === c("body").find(b.$el).length || 0 === c("body").find(b.$elProxy).length || "hidden" == b.Status || 0 === c("body").find(b.$tooltip).length) "shown" != b.Status && "appearing" != b.Status || b.hide(), b._interval_cancel();
                      else if (b.options.positionTracker) {
                          var a = b._repositionInfo(b.$elProxy),
                              n = !1;
                          h(a.dimension, b.elProxyPosition.dimension) && ("fixed" === b.$elProxy.css("position") ? h(a.position, b.elProxyPosition.position) && (n = !0) : h(a.offset, b.elProxyPosition.offset) && (n = !0));
                          n || b.reposition()
                      }
                  }, 200)
              },
              _interval_cancel: function() {
                  clearInterval(this.checkInterval);
                  this.checkInterval = null
              },
              _content_set: function(b) {
                  "object" === typeof b && null !== b && this.options.contentCloning && (b = b.clone(!0));
                  this.Content = b
              },
              _content_insert: function() {
                  var b =
                      this.$tooltip.find(".tooltipster-content");
                  "string" !== typeof this.Content || this.options.contentAsHTML ? b.empty().append(this.Content) : b.text(this.Content)
              },
              _update: function(b) {
                  var a = this;
                  a._content_set(b);
                  null !== a.Content ? "hidden" !== a.Status && (a._content_insert(), a.reposition(), a.options.updateAnimation && (t() ? (a.$tooltip.css({
                      width: "",
                      "-webkit-transition": "all " + a.options.speed + "ms, width 0ms, height 0ms, left 0ms, top 0ms",
                      "-moz-transition": "all " + a.options.speed + "ms, width 0ms, height 0ms, left 0ms, top 0ms",
                      "-o-transition": "all " + a.options.speed + "ms, width 0ms, height 0ms, left 0ms, top 0ms",
                      "-ms-transition": "all " + a.options.speed + "ms, width 0ms, height 0ms, left 0ms, top 0ms",
                      transition: "all " + a.options.speed + "ms, width 0ms, height 0ms, left 0ms, top 0ms"
                  }).addClass("tooltipster-content-changing"), setTimeout(function() {
                      "hidden" != a.Status && (a.$tooltip.removeClass("tooltipster-content-changing"), setTimeout(function() {
                          "hidden" !== a.Status && a.$tooltip.css({
                              "-webkit-transition": a.options.speed + "ms",
                              "-moz-transition": a.options.speed +
                                  "ms",
                              "-o-transition": a.options.speed + "ms",
                              "-ms-transition": a.options.speed + "ms",
                              transition: a.options.speed + "ms"
                          })
                      }, a.options.speed))
                  }, a.options.speed)) : a.$tooltip.fadeTo(a.options.speed, .5, function() {
                      "hidden" != a.Status && a.$tooltip.fadeTo(a.options.speed, 1)
                  }))) : a.hide()
              },
              _repositionInfo: function(b) {
                  return {
                      dimension: {
                          height: b.outerHeight(!1),
                          width: b.outerWidth(!1)
                      },
                      offset: b.offset(),
                      position: {
                          left: parseInt(b.css("left")),
                          top: parseInt(b.css("top"))
                      }
                  }
              },
              hide: function(b) {
                  var a = this;
                  b && a.callbacks.hide.push(b);
                  a.callbacks.show = [];
                  clearTimeout(a.timerShow);
                  a.timerShow = null;
                  clearTimeout(a.timerHide);
                  a.timerHide = null;
                  var n = function() {
                      c.each(a.callbacks.hide, function(b, c) {
                          c.call(a.$el)
                      });
                      a.callbacks.hide = []
                  };
                  "shown" == a.Status || "appearing" == a.Status ? (a.Status = "disappearing", b = function() {
                      a.Status = "hidden";
                      "object" == typeof a.Content && null !== a.Content && a.Content.detach();
                      a.$tooltip.remove();
                      a.$tooltip = null;
                      c(p).off("." + a.namespace);
                      c("body").off("." + a.namespace).css("overflow-x", a.bodyOverflowX);
                      c("body").off("." +
                          a.namespace);
                      a.$elProxy.off("." + a.namespace + "-autoClose");
                      a.options.functionAfter.call(a.$el, a.$el);
                      n()
                  }, t() ? (a.$tooltip.clearQueue().removeClass("tooltipster-" + a.options.animation + "-show").addClass("tooltipster-dying"), 0 < a.options.speed && a.$tooltip.delay(a.options.speed), a.$tooltip.queue(b)) : a.$tooltip.stop().fadeOut(a.options.speed, b)) : "hidden" == a.Status && n();
                  return a
              },
              show: function(b) {
                  this._showNow(b);
                  return this
              },
              update: function(b) {
                  return this.content(b)
              },
              content: function(b) {
                  if ("undefined" ===
                      typeof b) return this.Content;
                  this._update(b);
                  return this
              },
              reposition: function() {
                  if (0 !== c("body").find(this.$tooltip).length) {
                      var b = function(a, b) {
                              0 > d.offset.top - c(p).scrollTop() - l - z - 12 && -1 < b.indexOf("top") && (y = a);
                              d.offset.top + d.dimension.height + l + 12 + z > c(p).scrollTop() + c(p).height() && -1 < b.indexOf("bottom") && (y = a, A = d.offset.top - l - z - 12)
                          },
                          a = function() {
                              var a = c(p).scrollLeft();
                              0 > u - a && (n = u - a, u = a);
                              u + h - a > k && (n = u - (k + a - h), u = k + a - h)
                          };
                      this.$tooltip.css("width", "");
                      this.elProxyPosition = this._repositionInfo(this.$elProxy);
                      var n = null,
                          k = c(p).width(),
                          d = this.elProxyPosition,
                          h = this.$tooltip.outerWidth(!1);
                      this.$tooltip.innerWidth();
                      var l = this.$tooltip.outerHeight(!1);
                      if (this.$elProxy.is("area")) {
                          var e = this.$elProxy.attr("shape"),
                              r = this.$elProxy.parent().attr("name"),
                              m = c('img[usemap="#' + r + '"]'),
                              r = m.offset().left,
                              g = m.offset().top,
                              f = void 0 !== this.$elProxy.attr("coords") ? this.$elProxy.attr("coords").split(",") : void 0;
                          if ("circle" == e) e = parseInt(f[0]), m = parseInt(f[1]), f = parseInt(f[2]), d.dimension.height = 2 * f, d.dimension.width =
                              2 * f, d.offset.top = g + m - f, d.offset.left = r + e - f;
                          else if ("rect" == e) {
                              var e = parseInt(f[0]),
                                  m = parseInt(f[1]),
                                  q = parseInt(f[2]),
                                  f = parseInt(f[3]);
                              d.dimension.height = f - m;
                              d.dimension.width = q - e;
                              d.offset.top = g + m;
                              d.offset.left = r + e
                          } else if ("poly" == e) {
                              for (var t = q = m = e = 0, w = "even", D = 0; D < f.length; D++) {
                                  var C = parseInt(f[D]);
                                  "even" == w ? (C > q && (q = C, 0 === D && (e = q)), C < e && (e = C), w = "odd") : (C > t && (t = C, 1 == D && (m = t)), C < m && (m = C), w = "even")
                              }
                              d.dimension.height = t - m;
                              d.dimension.width = q - e;
                              d.offset.top = g + m;
                              d.offset.left = r + e
                          } else d.dimension.height =
                              m.outerHeight(!1), d.dimension.width = m.outerWidth(!1), d.offset.top = g, d.offset.left = r
                      }
                      var u = 0,
                          A = g = 0,
                          z = parseInt(this.options.offsetY),
                          r = parseInt(this.options.offsetX),
                          y = this.options.position;
                      "top" == y && (g = d.offset.left + h - (d.offset.left + d.dimension.width), u = d.offset.left + r - g / 2, A = d.offset.top - l - z - 12, a(), b("bottom", "top"));
                      "top-left" == y && (u = d.offset.left + r, A = d.offset.top - l - z - 12, a(), b("bottom-left", "top-left"));
                      "top-right" == y && (u = d.offset.left + d.dimension.width + r - h, A = d.offset.top - l - z - 12, a(), b("bottom-right",
                          "top-right"));
                      "bottom" == y && (g = d.offset.left + h - (d.offset.left + d.dimension.width), u = d.offset.left - g / 2 + r, A = d.offset.top + d.dimension.height + z + 12, a(), b("top", "bottom"));
                      "bottom-left" == y && (u = d.offset.left + r, A = d.offset.top + d.dimension.height + z + 12, a(), b("top-left", "bottom-left"));
                      "bottom-right" == y && (u = d.offset.left + d.dimension.width + r - h, A = d.offset.top + d.dimension.height + z + 12, a(), b("top-right", "bottom-right"));
                      "left" == y && (u = d.offset.left - r - h - 12, g = d.offset.left + r + d.dimension.width + 12, b = d.offset.top + l - (d.offset.top +
                          d.dimension.height), A = d.offset.top - b / 2 - z, 0 > u && g + h > k ? (b = 2 * parseFloat(this.$tooltip.css("border-width")), a = h + u - b, this.$tooltip.css("width", a + "px"), l = this.$tooltip.outerHeight(!1), u = d.offset.left - r - a - 12 - b, b = d.offset.top + l - (d.offset.top + d.dimension.height), A = d.offset.top - b / 2 - z) : 0 > u && (u = d.offset.left + r + d.dimension.width + 12, n = "left"));
                      "right" == y && (u = d.offset.left + r + d.dimension.width + 12, g = d.offset.left - r - h - 12, b = d.offset.top + l - (d.offset.top + d.dimension.height), A = d.offset.top - b / 2 - z, u + h > k && 0 > g ? (b = 2 * parseFloat(this.$tooltip.css("border-width")),
                          this.$tooltip.css("width", k - u - b + "px"), l = this.$tooltip.outerHeight(!1), b = d.offset.top + l - (d.offset.top + d.dimension.height), A = d.offset.top - b / 2 - z) : u + h > k && (u = d.offset.left - r - h - 12, n = "right"));
                      this.options.arrow && (b = "tooltipster-arrow-" + y, a = 1 > this.options.arrowColor.length ? this.$tooltip.css("background-color") : this.options.arrowColor, n ? "left" == n ? (b = "tooltipster-arrow-right", n = "") : "right" == n ? (b = "tooltipster-arrow-left", n = "") : n = "left:" + Math.round(n) + "px;" : n = "", "top" == y || "top-left" == y || "top-right" == y ? (r = parseFloat(this.$tooltip.css("border-bottom-width")),
                              g = this.$tooltip.css("border-bottom-color")) : "bottom" == y || "bottom-left" == y || "bottom-right" == y ? (r = parseFloat(this.$tooltip.css("border-top-width")), g = this.$tooltip.css("border-top-color")) : "left" == y ? (r = parseFloat(this.$tooltip.css("border-right-width")), g = this.$tooltip.css("border-right-color")) : "right" == y ? (r = parseFloat(this.$tooltip.css("border-left-width")), g = this.$tooltip.css("border-left-color")) : (r = parseFloat(this.$tooltip.css("border-bottom-width")), g = this.$tooltip.css("border-bottom-color")),
                          1 < r && r++, f = "", 0 !== r && (f = "", g = "border-color: " + g + ";", -1 !== b.indexOf("bottom") ? f = "margin-top: -" + Math.round(r) + "px;" : -1 !== b.indexOf("top") ? f = "margin-bottom: -" + Math.round(r) + "px;" : -1 !== b.indexOf("left") ? f = "margin-right: -" + Math.round(r) + "px;" : -1 !== b.indexOf("right") && (f = "margin-left: -" + Math.round(r) + "px;"), f = '<span class="tooltipster-arrow-border" style="' + f + " " + g + ';"></span>'), this.$tooltip.find(".tooltipster-arrow").remove(), this.$tooltip.append('<div class="' + b + ' tooltipster-arrow" style="' + n + '">' +
                              f + '<span style="border-color:' + a + ';"></span></div>'));
                      this.$tooltip.css({
                          top: Math.round(A) + "px",
                          left: Math.round(u) + "px"
                      })
                  }
                  return this
              },
              enable: function() {
                  this.enabled = !0;
                  return this
              },
              disable: function() {
                  this.hide();
                  this.enabled = !1;
                  return this
              },
              destroy: function() {
                  var b = this;
                  b.hide();
                  b.$el[0] !== b.$elProxy[0] && b.$elProxy.remove();
                  b.$el.removeData(b.namespace).off("." + b.namespace);
                  var a = b.$el.data("tooltipster-ns");
                  1 === a.length ? (a = "string" === typeof b.Content ? b.Content : c("<div></div>").append(b.Content).html(),
                      b.$el.removeClass("tooltipstered").attr("title", a).removeData(b.namespace).removeData("tooltipster-ns").off("." + b.namespace)) : (a = c.grep(a, function(a, c) {
                      return a !== b.namespace
                  }), b.$el.data("tooltipster-ns", a));
                  return b
              },
              elementIcon: function() {
                  return this.$el[0] !== this.$elProxy[0] ? this.$elProxy[0] : void 0
              },
              elementTooltip: function() {
                  return this.$tooltip ? this.$tooltip[0] : void 0
              },
              option: function(b, a) {
                  if ("undefined" == typeof a) return this.options[b];
                  this.options[b] = a;
                  return this
              },
              status: function() {
                  return this.Status
              }
          };
          c.fn.tooltipster = function() {
              var b = arguments;
              if (0 === this.length) {
                  if ("string" === typeof b[0]) {
                      var a = !0;
                      switch (b[0]) {
                          case "setDefaults":
                              c.extend(w, b[1]);
                              break;
                          default:
                              a = !1
                      }
                      return a ? !0 : this
                  }
                  return this
              }
              if ("string" === typeof b[0]) {
                  var f = "#*$~&";
                  this.each(function() {
                      var a = c(this).data("tooltipster-ns");
                      if (a = a ? c(this).data(a[0]) : null) {
                          if ("function" === typeof a[b[0]]) var d = a[b[0]](b[1], b[2]);
                          else throw Error('Unknown method .tooltipster("' + b[0] + '")');
                          if (d !== a) return f = d, !1
                      } else throw Error("You called Tooltipster's \"" +
                          b[0] + '" method on an uninitialized element');
                  });
                  return "#*$~&" !== f ? f : this
              }
              var h = [],
                  d = (a = b[0] && "undefined" !== typeof b[0].multiple) && b[0].multiple || !a && w.multiple,
                  m = (a = b[0] && "undefined" !== typeof b[0].debug) && b[0].debug || !a && w.debug;
              this.each(function() {
                  var a = !1,
                      e = c(this).data("tooltipster-ns"),
                      f = null;
                  e ? d ? a = !0 : m && console.log('Tooltipster: one or more tooltips are already attached to this element: ignoring. Use the "multiple" option to attach more tooltips.') : a = !0;
                  a && (f = new k(this, b[0]), e || (e = []), e.push(f.namespace),
                      c(this).data("tooltipster-ns", e), c(this).data(f.namespace, f));
                  h.push(f)
              });
              return d ? h : this
          };
          var f = !!("ontouchstart" in p),
              q = !1;
          c("body").one("mousemove", function() {
              q = !0
          })
      })(jQuery, window, document);
      jQuery.fn.autoGrow = function() {
          return this.each(function() {
              var c = function(c) {
                      p.innerHTML = String(c.value).replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&#39;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/\n/g, "<br />") + ".<br/>.";
                      jQuery(c).height() != jQuery(p).height() && jQuery(c).height(jQuery(p).height())
                  },
                  p;
              jQuery(this).after('<div class="autogrow-textarea-mirror"></div>');
              p = jQuery(this).next(".autogrow-textarea-mirror")[0];
              p.style.display = "none";
              p.style.wordWrap = "break-word";
              p.style.padding = jQuery(this).css("padding");
              p.style.width = jQuery(this).css("width");
              p.style.fontFamily = jQuery(this).css("font-family");
              p.style.fontSize = jQuery(this).css("font-size");
              p.style.lineHeight = jQuery(this).css("line-height");
              this.style.overflow = "hidden";
              this.style.minHeight = this.rows + "em";
              this.onkeydown = function() {
                  c(this)
              };
              c(this)
          })
      }
  }
  
  function ga_track_link(c, p) {
      ga("send", "event", c, p, $("h1").html())
  }
  $(function() {
      $(".home_post_cont img").hover_caption();
      $(".single_left img:eq(0)").parent().css("padding-left", "0px");
      $(".single_left table td:eq(1)").css("text-align", "justify");
      $("#post_iframe").attr("webkitAllowFullScreen", "true").attr("mozallowfullscreen", "true").attr("allowfullscreen", "true")
  });
  $(function() {
      $(".pane .link").mousedown(function(c) {
          2 == c.button && $(this).attr("href", hr(this))
      });
      $(".pane .link").click(function(c) {
          ga_track_link("Link", $(this).attr("service"));
          $(this).attr("href", hr(this));
          $(this).hasClass("onlinelink") && !getCookie("nolinkads35162") && play($(this))
      });
      $("div#cambiar_servidor a").click(function() {
          $("#player").hide();
          $("#jwplayer").length && jwplayer("jwplayer").remove();
          $("#player object, #player iframe#tviframe, #player #jwplayer").remove();
          $(".pane").show();
          return !1
      });
      $("a#subslink").click(function(c) {
          ga_track_link("Subs", "Subs")
      });
      $("a#subsforlink").click(function(c) {
          ga_track_link("Subs for", "Subs for")
      });
      getCookie("nolinkads35162") && ($("div.onlinelink").hide(), $("a.onlinelink").show());
      $("#linkcastellano").length && ($("#linkverencastellano a").attr("href", $("#linkcastellano").attr("href")), $("#linkverencastellano").show());
      $("#linklatino").length && ($("#linkverenlatino a").attr("href", $("#linklatino").attr("href")), $("#linkverenlatino").show())
  });