text: !function (i) {
      i.fn.imgCheckbox = function (a) {
          var e = i.extend({
              width: "auto",
              height: "auto",
              textColor: "white",
              overlayBgColor: "black",
              overlayOpacity: "0.4",
              round: !1,
              animation: !1,
              animationDuration: 300,
              animationArray: ["scale"]
          }, a), n = {
              toggleCheckbox: function () {
                  var a = i(this), n = i('input[type="checkbox"]', a), o = i(".checkbox-overlay", a),
                      t = i("figcaption", a), s = !1;
                  e.animation === !0 ? s = e.animationArray[0] : i.inArray(e.animation, e.animationArray) > -1 && (s = e.animation), s && (a.css("animation-duration", e.animationDuration + "ms").addClass("imgcheckbox-animate-" + s), "none" != a.css("animation-name") ? a.one("animationend", function () {
                      a.removeClass("imgcheckbox-animate-" + s)
                  }) : console.error('To use animations include the file "animation.imgcheckbox.min.css" in the head tag!')), n.prop("checked") ? (n.prop("checked", !1), s ? o.fadeOut(e.animationDuration) : o.hide(), s ? t.fadeOut(e.animationDuration) : t.hide()) : (n.prop("checked", !0), s ? o.fadeIn(e.animationDuration) : o.show(), s ? t.fadeIn(e.animationDuration) : t.show())
              }
          };
          return this.each(function (a, o) {
              var t = i(o), s = i("div.figure-content", t), c = i("figcaption", t), r = i("label", t),
                  h = i('input[type="checkbox"]', t), l = i('<div class="checkbox-overlay"></div>').appendTo(t);
              return t.length < 1 || s.length < 1 || c.length < 1 ? !0 : (e.round && t.css("border-radius", "50%"), t.css("display", "inline-flex").css("justify-content", "center").css("align-items", "center").css("position", "relative").css("overflow", "hidden").css("cursor", "pointer").css("width", e.width).css("height", e.height), s.css("display", "inline-flex").css("width", e.width).css("height", e.height), l.css("position", "absolute").css("top", 0).css("left", 0).css("right", 0).css("bottom", 0).css("opacity", e.overlayOpacity).css("background-color", e.overlayBgColor).css("z-index", 1), c.css("position", "absolute").css("top", 0).css("left", 0).css("right", 0).css("bottom", 0).css("display", "inline-flex").css("justify-content", "center").css("align-items", "center").css("color", e.textColor).css("z-index", 2), r.length > 0 ? r.css("display", "none") : h.css("display", "none"), h.prop("checked") || (l.hide(), c.hide()), void t.bind("click.imgCheckbox", n.toggleCheckbox))
          })
      }
  }(jQuery);
  