var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Z=(function(){function t(t,e){var n,i=t?t.length:0;for(n=0;n0?v.fn.concat.apply([],t):t}function i(t,e){e(t);for(var n=0,r=t.childNodes.length;n]*>/,C=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,b=/^[\w-]*$/,O=/^(?:body|html)$/i,T=/([A-Z])/g,P=document.createElement("div"),j=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,g=[].slice,y={},A={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},N={tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},y.init=function(t,e){var n;if(!t)return y.Z();if("string"==typeof t)if(t=t.trim(),"<"===t[0]&&w.test(t))n=y.fragment(t,RegExp.$1),t=null;else{if(void 0!==e)return v(e).find(t);n=y.qsa(document,t)}else{if(y.isZ(t))return t;if(y.isArray(t))n=y.compact(t);else if(y.isObject(t))n=[t],t=null;else{if(void 0!==e)return v(e).find(t);n=y.qsa(document,t)}}return y.Z(n,t)},y.qsa=function(t,e){if(!e)return y.Z();var n,i="#"===e[0],r=!i&&"."===e[0],o=i||r?e.slice(1):e,s=b.test(o);return t.getElementById&&i&&s?(n=t.getElementById(o),n=n?[n]:[]):(n=1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType?[]:s&&!i&&t.getElementsByClassName?r?t.getElementsByClassName(o):t.getElementsByTagName(e):t.querySelectorAll(e),n=[].slice.call(n)),n},y.fragment=function(t,e){var n,i;return C.test(t)&&(n=v(document.createElement(RegExp.$1))),n||(t.replace&&(t=t.replace(j,"<$1>")),void 0===e&&(e=w.test(t)&&RegExp.$1),i=document.createElement("div"),i.innerHTML=""+t,n=v.each(g.call(i.childNodes),(function(){i.removeChild(this)}))),n},y.matches=function(t,e){if(!e||!t||1!==t.nodeType)return!1;var n=t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(n)return n.call(t,e);var i,r=t.parentNode,o=!r;return o&&(r=P).appendChild(t),i=~y.qsa(r,e).indexOf(t),o&&P.removeChild(t),i},y.compact=function(t){return[].filter.call(t,(function(t){return null!==t}))},y.setAttribute=function(t,e,n){null===n?t.removeAttribute(e):t.setAttribute(e,n)},y.isZ=function(t){return t instanceof y.Z},y.isArray=function(t){var e=Array.isArray||function(t){return t instanceof Array};return e(t)},y.isNumber=function(t){return"number"==typeof t},y.isObject=function(t){return"object"===e(t)},y.isString=function(t){return"string"==typeof t},y.isFunction=function(t){return"function"===e(t)},y.isPlainObject=function(t){return y.isObject(t)&&!c(t)&&Object.getPrototypeOf(t)===Object.prototype},y.Z=function(e,n){return new t(e,n)},v=function(t,e){return y.init(t,e)},v.type=e,v.contains=document.documentElement.contains?function(t,e){return t!==e&&t.contains(e)}:function(t,e){for(;e&&(e=e.parentNode);)if(e===t)return!0;return!1},v.each=function(t,e){var n,i;if("number"==typeof t.length){for(n=0;n=0?t:t+this.length]},eq:function(t){return t===-1?this.slice(t):this.slice(t,+t+1)},find:function(t){var e,n=this;return e=t?"object"===("undefined"==typeof t?"undefined":_typeof(t))?v(t).filter((function(){var t=this;return[].some.call(n,(function(e){return v.contains(e,t)}))})):1===this.length?v(y.qsa(this[0],t)):this.map((function(){return y.qsa(this,t)})):v()},each:function(t){return[].every.call(this,(function(e,n){return t.call(e,n,e)!==!1})),this},map:function(t){return v(v.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return v([].slice.apply(this,arguments))},filter:function(t){return v([].filter.call(this,(function(e){return y.matches(e,t)})))},attr:function(t,e){var n;if("string"!=typeof t||1 in arguments)return this.each((function(){if(1===this.nodeType)if(y.isObject(t))for(n in t)y.setAttribute(this,n,t[n]);else y.setAttribute(this,t,e)}));if(this.length&&1===this[0].nodeType){var i=this[0].getAttribute(t)&&t in this[0];return i?this[0][t]:this[0].getAttribute(t)}},removeAttr:function(t){return t?this.each((function(){this.removeAttribute(t)})):this},text:function(t){return 0 in arguments?void this.each((function(){this.textContent=null===t?"":""+t})):0 in this?this[0].textContent:null},css:function R(t,n){var i;if(arguments.length<2){var r=this[0];if(!r)return null;if(i=getComputedStyle(r),"string"==typeof t)return r.style[t]||i.getPropertyValue(t)}var R="";if("string"===e(t))n||0===n?R=t+":"+d(t,n)+";":this.each((function(){this.style.removeProperty(t)}));else for(var o in t)t[o]||0===t[o]?R+=o+":"+d(o,t[o])+";":this.each((function(){this.style.removeProperty(o)}));return this.each((function(){this.style.cssText+=";"+R}))},val:function(t){return 0 in arguments?this.each((function(){this.value=t})):this[0]&&this[0].multiple?v(this[0]).find("option").filter((function(){return this.selected})).pluck("value"):this[0]?this[0].value:null},pluck:function(t){return v.map(this,(function(e){return e[t]}))},empty:function(){return this.each((function(){this.innerHTML=""}))},html:function(t){return 0 in arguments?this.each((function(){v(this).empty()[0].innerHTML=t})):0 in this?this[0].innerHTML:null},remove:function(){return this.each((function(){null!==this.parentNode&&this.parentNode.removeChild(this)}))},hide:function(){return this.css("display","none")},show:function(){return this.css("display","block")},offset:function(t){var e=document.documentElement;if(t)return this.each((function(e){var n=v(this),i=f(this,t,e,n.offset()),r=n.offsetParent().offset(),o={top:i.top-r.top,left:i.left-r.left};"static"===n.css("position")&&(o.position="relative"),n.css(o)}));if(!this.length)return null;if(!v.contains(document.documentElement,this[0]))return{top:0,left:0};var n=this[0].getBoundingClientRect();return{left:n.left+window.pageXOffset-e.clientTop,top:n.top+window.pageYOffset-e.clientLeft,width:Math.round(n.width),height:Math.round(n.height)}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent||document.body;t&&!O.test(t.nodeName)&&"static"===v(t).css("position");)t=t.offsetParent;return t}))},hasClass:function(t){return!!t&&[].some.call(this,(function(t){return this.test(u(t))}),s(t))},addClass:function(t){return t?this.each((function(e){if("className"in this){var n=[],i=u(this),r=f(this,t,e,i);r.split(/\s+/g).forEach((function(t){v(this).hasClass(t)||n.push(t)}),this),n.length&&u(this,i+(i?" ":"")+n.join(" "))}})):this},removeClass:function(t){return this.each((function(e){if("className"in this){if("undefined"==typeof t)return u(this,"");var n=u(this);f(this,t,e,n).split(/\s+/g).forEach((function(t){n=n.replace(s(t)," ")})),u(this,n.trim())}}))},closest:function(t,e){var n=this[0],i=!1;for("object"===("undefined"==typeof t?"undefined":_typeof(t))&&(i=v(t));n&&!(i?i.indexOf(n)>=0:y.matches(n,t));)n=n!==e&&!l(n)&&n.parentNode;return v(n)},next:function(t){return v(this.pluck("nextElementSibling")).filter(t||"*")},prev:function(t){return v(this.pluck("previousElementSibling")).filter(t||"*")},last:function(){var t=this[this.length-1];return t&&!y.isObject(t)?t:v(t)},first:function(){var t=this[0];return t&&!y.isObject(t)?t:v(t)},nextAll:function(t){for(var e=v(),n=this.next();n.length;)("undefined"==typeof t||n.is(t))&&(e=e.add(n)),n=n.next();return e},data:function I(t,e){var n="data-"+t.replace(T,"-$1").toLowerCase(),I=1 in arguments?this.attr(n,e):this.attr(n);return null!==I?I:void 0},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),n=this.offset(),i=O.test(e[0].nodeName)?{top:0,left:0}:e.offset();return n.top-=parseFloat(v(t).css("margin-top"))||0,n.left-=parseFloat(v(t).css("margin-left"))||0,i.top+=parseFloat(v(e[0]).css("border-top-width"))||0,i.left+=parseFloat(v(e[0]).css("border-left-width"))||0,{top:n.top-i.top,left:n.left-i.left}}},prop:function(t,e){return t=N[t]||t,1 in arguments?this.each((function(n){this[t]=f(this,e,n,this[t])})):this[0]&&this[0][t]},parent:function(t){return r(o(this.pluck("parentNode")),t)},children:function(t){return r(this.map((function(){return a(this)})),t)},is:function(t){return this.length>0&&y.matches(this[0],t)},index:function(t){return t?this.indexOf(v(t)[0]):this.parent().children().indexOf(this[0])},not:function(t){var e=[];if(y.isFunction(t)&&void 0!==t.call)this.each((function(n){t.call(this,n)||e.push(this)}));else{var n="string"==typeof t?this.filter(t):h(t)&&y.isFunction(t.item)?g.call(t):v(t);this.forEach((function(t){n.indexOf(t)<0&&e.push(t)}))}return v(e)},isVisible:function(){return"none"!==this.css("display")&&"hidden"!==this.css("visibility")&&this.height()>0},toggleClass:function(t,e){return t?this.each((function(n){var i=v(this),r=f(this,t,n,u(this));r.split(/\s+/g).forEach((function(t){(void 0===e?!i.hasClass(t):e)?i.addClass(t):i.removeClass(t)}))})):this},replaceWith:function(t){return this.before(t).remove()},clone:function(){return this.map((function(){return this.cloneNode(!0)}))},toggle:function(t){return this.each((function(){var e=v(this);(void 0===t?"none"==e.css("display"):t)?e.show():e.hide()}))},outerHeight:function(){var t=v(this).get(0),e=t.offsetHeight,n=getComputedStyle(t);return e+=parseInt(n.marginTop)+parseInt(n.marginBottom)},outerWidth:function(){var t=v(this).get(0),e=t.offsetWidth,n=getComputedStyle(t);return e+=parseInt(n.marginLeft)+parseInt(n.marginRight)},scrollTop:function(t){if(this.length){var e="scrollTop"in this[0];return void 0===t?e?this[0].scrollTop:this[0].pageYOffset:this.each(e?function(){this.scrollTop=t}:function(){this.scrollTo(this.scrollX,t)})}},parents:function(t,e){return this.closest(t,e)},fadeOut:function(){v(this).hide()},fadeIn:function(){v(this).show()}},["width","height"].forEach((function(t){var e=t.replace(/./,(function(t){return t[0].toUpperCase()}));v.fn[t]=function(n){var i,r=this[0];return void 0===n?c(r)?r["inner"+e]:l(r)?r.documentElement["scroll"+e]:(i=this.offset())&&i[t]:this.each((function(e){r=v(this),r.css(t,f(this,n,e,r[t]()))}))}})),["after","prepend","before","append"].forEach((function(t,n){var r=n%2;v.fn[t]=function(){var t,o,s=v.map(arguments,(function(n){return t=e(n),"object"===t||"array"===t||null===n?n:y.fragment(n)})),a=this.length>1;return s.length<1?this:this.each((function(t,e){o=r?e:e.parentNode,e=0===n?e.nextSibling:1===n?e.firstChild:2===n?e:null;var u=v.contains(document.documentElement,o);s.forEach((function(t){if(a)t=t.cloneNode(!0);else if(!o)return v(t).remove();o.insertBefore(t,e),u&&i(t,(function(t){null===t.nodeName||"SCRIPT"!==t.nodeName.toUpperCase()||t.type&&"text/javascript"!==t.type||t.src||eval.call(window,t.innerHTML)}))}))}))},v.fn[r?t+"To":"insert"+(n?"Before":"After")]=function(e){return v(e)[t](this),this}})),y.Z.prototype=t.prototype=v.fn,v.utils=y,v})();window.Z=Z,(function(t){function e(t){return t&&(t=t.split(";",2)[0]),t&&(t===f?"html":t===l?"json":h.test(t)?"script":p.test(t)&&"xml")||"text"}var n,i,r,o,s,a,u,c=0,l="application/json",f="text/html",h=/^(?:text|application)\/javascript/i,p=/^(?:text|application)\/xml/i;u=Z.isObject,r=function(t,e){return""===e?t:(t+"&"+e).replace(/[&?]{1,2}/,"?")},o=function(e,n,i){var r,s=t.utils.isArray(n),a=t.isPlainObject(n);t.each(n,(function(n,u){void 0!==u&&null!==u&&NaN!==u&&(r=t.type(u),i&&(n=i+"["+(a||"object"===r||"array"===r?n:"")+"]"),!i&&s?e.add(u.name,u.value):"array"!==r&&"object"!==r||"undefined"===r?e.add(n,u):o(e,u,n))}))},i=function(e){e.data&&"string"!==t.type(e.data)&&(e.data=t.param(e.data)),!e.data||e.type&&"GET"!==e.type.toUpperCase()&&"DELETE"!==e.type.toUpperCase()||(e.url=r(e.url,e.data),e.data=void 0)},n=function(e,n,i){return t.isFunction(n)&&(i=n,n=void 0),t.isFunction(i)||(i=void 0),{url:e,data:n,success:i||function(){}}},s=function(t,e,n){var i=n.context||null;n.success&&n.success.call(i,t,e)},a=function(e,n,i,r){var o=r.context||null;r.error&&r.error.call(o,i,n,e),t.isFunction(t.ajax.ajaxError)&&t.ajax.ajaxError(o,i,n,e,r)},t.param=function(t){var e=[];return e.add=function(t,e){null===e&&(e=""),this.push(encodeURIComponent(t)+"="+encodeURIComponent(e))},o(e,t),e.join("&").replace(/%20/g,"+")},t.get=function(){var e=n.apply(null,arguments);return e.type="GET",t.ajax(e)},t.post=function(){var e=n.apply(null,arguments);return e.type="POST",t.ajax(e)},t["delete"]=function(){var e=n.apply(null,arguments);return e.type="DELETE",t.ajax(e)},t.getJSON=function(){var e=n.apply(null,arguments);return e.dataType="json",t.ajax(e)},t.getScript=function(t,e){var n=document.createElement("script");n.async="async",n.src=t,e&&(n.onload=e),document.getElementsByTagName("head")[0].appendChild(n)},t.getScripts=function(e,n){"[object Array]"!==Object.prototype.toString.call(e)&&(e=[e]);var i=n||function(){},r=0;t.urls=t.urls||[];for(var o,s,a=e.length,u=document,c=u.createDocumentFragment(),l=u.createElement("script"),f=function(){r++,r===e.length&&i()};a--;)t.urls.indexOf(e[a])>=0?f():(o=l.cloneNode(!1),"https:"===location.protocol&&e[a].search("https")===-1&&(e[a]=e[a].replace("http","https")),o.src=e[a],o.type="text/javascript",o.onload=f,c.appendChild(o),t.urls.push(e[a]));s=u.getElementsByTagName("head")[0],s.appendChild(c)},t.ajax=function(n){var r,o,c=n;if(r=c.dataType,c.type=c.type||"GET",(o=c.url.indexOf("#"))>-1&&(c.url=c.url.slice(0,o)),c.url||(c.url=window.location.toString()),i(c),"jsonp"===r)return t.ajaxJSONP(c);var l={},f=function(t,e){l[t.toLowerCase()]=[t,e]},h=new window.XMLHttpRequest,p=h.setRequestHeader;if(u(c.headers))for(var d in c.headers)c.headers.hasOwnProperty(d)&&f(d,c.headers[d]);if(f("X-Requested-With","XMLHttpRequest"),f("Accept","*/*"),c.data&&"GET"!==c.type.toUpperCase()&&f("Content-Type",c.contentType||"application/x-www-form-urlencoded; charset=UTF-8"),c.headers)for(var m in c.headers)f(m,c.headers[m]);h.onreadystatechange=function(){if(4===h.readyState){h.onreadystatechange=function(){};var t,n=!1;if(h.status>=200&&h.status<300||304===h.status){if(r=r||e(h.getResponseHeader("content-type")),t=h.responseText,!t)return void s("",h,c);try{"json"===r&&(t=JSON.parse(t))}catch(i){n=i}n?a(h.statusText||null,h.status?"error":"abort",h,c):(h.responseJSON=t,s(t,h,c))}else a(h.statusText||null,h.status?"error":"abort",h,c)}};var v=!("async"in c)||c.async;h.open(c.type,c.url,v),h.timeout=3e4;for(var m in l)p.apply(h,l[m]);return h.send(c.data?c.data:null),h},t.ajaxJSONP=function(t){var e=document.createElement("script"),n="callbackName"+c++;t.url=t.url.indexOf("?")>0?t.url+="&":t.url+="?",e.src=t.url+"callback="+n+"&"+(t.data||""),window[n]=t.success||function(){},document.getElementsByTagName("head")[0].appendChild(e)},t.queryString=function(){for(var t={},e=window.location.search.substring(1),n=e.split("&"),i=0;i>>0;if(0===r)return-1;var o=+e||0;if(Math.abs(o)===1/0&&(o=0),o>=r)return-1;for(n=Math.max(o>=0?o:r-Math.abs(o),0);n