gophish/static/js/dist/vendor.min.js

1 line
955 KiB
JavaScript
Raw Normal View History

if(!function(p,w){function e(t,e){return e.toUpperCase()}function i(t){!m.addEventListener&&"load"!==t.type&&"complete"!==m.readyState||(L(),vt.ready())}var r,n,g=typeof w,t=p.location,m=p.document,o=m.documentElement,a=p.jQuery,s=p.$,l={},h=[],u="1.10.2",y=h.concat,c=h.push,d=h.slice,f=h.indexOf,v=l.toString,b=l.hasOwnProperty,x=u.trim,vt=function(t,e){return new vt.fn.init(t,e,n)},S=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,_=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,k=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,M=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,T=/^[\],:{}\s]*$/,D=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,P=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,E=/^-ms-/,O=/-([\da-z])/gi,L=function(){m.addEventListener?(m.removeEventListener("DOMContentLoaded",i,!1),p.removeEventListener("load",i,!1)):(m.detachEvent("onreadystatechange",i),p.detachEvent("onload",i))};function I(t){var e=t.length,n=vt.type(t);return!vt.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||"function"!==n&&(0===e||"number"==typeof e&&0<e&&e-1 in t)))}vt.fn=vt.prototype={jquery:u,constructor:vt,init:function(t,e,n){var i,r;if(!t)return this;if("string"!=typeof t)return t.nodeType?(this.context=this[0]=t,this.length=1,this):vt.isFunction(t)?n.ready(t):(t.selector!==w&&(this.selector=t.selector,this.context=t.context),vt.makeArray(t,this));if(!(i="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:k.exec(t))||!i[1]&&e)return(!e||e.jquery?e||n:this.constructor(e)).find(t);if(i[1]){if(e=e instanceof vt?e[0]:e,vt.merge(this,vt.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:m,!0)),M.test(i[1])&&vt.isPlainObject(e))for(i in e)vt.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}if((r=m.getElementById(i[2]))&&r.parentNode){if(r.id!==i[2])return n.find(t);this.length=1,this[0]=r}return this.context=m,this.selector=t,this},selector:"",length:0,toArray:function(){return d.call(this)},get:function(t){return null==t?this.toArray():t<0?this[this.length+t]:this[t]},pushStack:function(t){t=vt.merge(this.constructor(),t);return t.prevObject=this,t.context=this.context,t},each:function(t,e){return vt.each(this,t,e)},ready:function(t){return vt.ready.promise().done(t),this},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,t=+t+(t<0?e:0);return this.pushStack(0<=t&&t<e?[this[t]]:[])},map:function(n){return this.pushStack(vt.map(this,function(t,e){return n.call(t,e,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:c,sort:[].sort,splice:[].splice},vt.fn.init.prototype=vt.fn,vt.extend=vt.fn.extend=function(){var t,e,n,i,r,o=arguments[0]||{},a=1,s=arguments.length,l=!1;for("boolean"==typeof o&&(l=o,o=arguments[1]||{},a=2),"object"==typeof o||vt.isFunction(o)||(o={}),s===a&&(o=this,--a);a<s;a++)if(null!=(i=arguments[a]))for(n in i)r=o[n],e=i[n],o!==e&&(l&&e&&(vt.isPlainObject(e)||(t=vt.isArray(e)))?(r=t?(t=!1,r&&vt.isArray(r)?r:[]):r&&vt.isPlainObject(r)?r:{},o[n]=vt.extend(l,r,e)):e!==w&&(o[n]=e));return o},vt.extend({expando:"jQuery"+(u+Math.random()).replace(/\D/g,""),noConflict:function(t){return p.$===vt&&(p.$=s),t&&p.jQuery===vt&&(p.jQuery=a),vt},isReady:!1,readyWait:1,holdReady:function(t){t?vt.readyWait++:vt.ready(!0)},ready:function(t){if(!0===t?!--vt.readyWait:!vt.isReady){if(!m.body)return setTimeout(vt.ready);(vt.isReady=!0)!==t&&0<--vt.readyWait||(r.resolveWith(m,[vt]),vt.fn.trigger&&vt(m).trigger("ready").off("ready"))}},isFunction:function(t){return"function"===vt.type(t)},isArray:Array.isArray||function(t){return"array"===vt.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?l[v.call(t)]||"object":typeof t},isPlainObject:function(t){if(!t||"object"!==vt.type(t)||t.nodeType||vt.isWindow(t))return!1;try{if(t.constructor&&!b.call(t,"constructor")&&!b.call(t.constructor.prototype,"isPrototypeOf"))re