if(function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var i={};e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=0)}({"+sje":function(t,e,i){var n=i("VU/8")(i("eOaq"),i("lafA"),!1,function(t){i("4UNm")},"data-v-3bdd24a5",null);t.exports=n.exports},0:function(t,e,i){i("GDnL"),i("hw3k"),i("aKHO"),i("9ozO"),i("1CH1"),i("f5J3"),i("yd7E"),i("m5pD"),i("JfWP"),i("Pq8s"),i("WM06"),i("t80F"),i("2WJo"),i("F7gb"),i("jbHB"),i("a5IG"),i("1dC+"),i("0hTo"),i("vvpX"),i("4Jtp"),t.exports=i("kxAE")},"0DKT":function(t,e){t.exports={render:function(){var t=this.$createElement;return(this._self._c||t)("select",{staticStyle:{width:"100%"}},[this._t("default")],2)},staticRenderFns:[]}},"0hTo":function(t,e){},1:function(t,e){},"1CH1":function(t,e){},"1dC+":function(t,e){},"20cu":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["clientsUrl","tokensUrl"],data:function(){return{tokens:[]}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getTokens()},getTokens:function(){var t=this;this.$http.get(this.tokensUrl).then(function(e){t.tokens=e.data})},revoke:function(t){var e=this;this.$http.delete(this.tokensUrl+"/"+t.id).then(function(t){e.getTokens()})}}}},"2DgG":function(t,e,i){var n=i("50lf");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals),i("rjj0")("176426fc",n,!0,{})},"2WJo":function(t,e){},"3IRH":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"4Jtp":function(t,e){},"4UNm":function(t,e,i){var n=i("HB0T");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals),i("rjj0")("5d321c9c",n,!0,{})},"50lf":function(t,e,i){(t.exports=i("FZ+f")(!1)).push([t.i,".action-link[data-v-7d8f4390]{cursor:pointer}.m-b-none[data-v-7d8f4390]{margin-bottom:0}",""])},"5F58":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),i("FHXl"),e.default={data:function(){return{files:[],displayImportModal:!1,activeFile:null,alert:{type:null,message:null,visible:!1},importErrors:null,progress:{currentClass:"progress-bar-warning",currentPercent:"0",statusText:"",visible:!1},customFields:[]}},mounted:function(){window.eventHub.$on("importErrors",this.updateImportErrors),this.fetchFiles(),this.fetchCustomFields();var t=this;$("#fileupload").fileupload({dataType:"json",done:function(e,i){t.progress.currentClass="progress-bar-success",t.progress.statusText="Success!",t.files=i.result.files.concat(t.files),console.log(i.result.header_row)},add:function(e,i){i.headers={"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":Laravel.csrfToken},i.process().done(function(){i.submit()}),t.progress.visible=!0},progress:function(e,i){var n=parseInt((i.loaded,i.total,10));t.progress.currentPercent=n,t.progress.statusText=n+"% Complete"},fail:function(e,i){t.progress.currentClass="progress-bar-danger",t.progress.statusText=i.jqXHR.responseJSON.messages}})},methods:{fetchFiles:function(){var t=this;this.$http.get(route("api.imports.index")).then(function(e){var i=e.data;return t.files=i},function(e){t.alert.type="danger",t.alert.visible=!0,t.alert.message="Something went wrong fetching files..."})},fetchCustomFields:function(){var t=this;this.$http.get(route("api.customfields.index")).then(function(e){var i=e.data;(i=i.rows).forEach(function(e){t.customFields.push({id:e.db_column_name,text:e.name})})})},deleteFile:function(t,e){var i=this;this.$http.delete(route("api.imports.destroy",t.id)).then(function(t){i.files.splice(e,1),i.alert.type=t.body.status,i.alert.visible=!0,i.alert.message=t.body.messages},function(t){i.alert.type="error",i.alert.visible=!0,i.alert.message=t.body.messages})},toggleEvent:function(t){window.eventHub.$emit("showDetails",t)},updateAlert:function(t){this.alert=t},updateImportErrors:function(t){this.importErrors=t}},computed:{progressWidth:function(){return"width: "+10*this.progress.currentPercent+"%"}},components:{alert:i("b7rt"),errors:i("yDVJ"),importFile:i("sJcK")}}},"5m3O":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n="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};e.default={props:["clientsUrl"],data:function(){return{clients:[],createForm:{errors:[],name:"",redirect:""},editForm:{errors:[],name:"",redirect:""}}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getClients(),$("#modal-create-client").on("shown.bs.modal",function(){$("#create-client-name").focus()}),$("#modal-edit-client").on("shown.bs.modal",function(){$("#edit-client-name").focus()})},getClients:function(){var t=this;this.$http.get(this.clientsUrl).then(function(e){t.clients=e.data})},showCreateClientForm:function(){$("#modal-create-client").modal("show")},store:function(){this.persistClient("post",this.clientsUrl,this.createForm,"#modal-create-client")},edit:function(t){this.editForm.id=t.id,this.editForm.name=t.name,this.editForm.redirect=t.redirect,$("#modal-edit-client").modal("show")},update:function(){this.persistClient("put",this.clientsUrl+"/"+this.editForm.id,this.editForm,"#modal-edit-client")},persistClient:function(t,e,i,r){var o=this;console.log("persisting"),i.errors=[],console.log("method: "+t),this.$http[t](e,i).then(function(t){o.getClients(),i.name="",i.redirect="",i.errors=[],$(r).modal("hide")}).catch(function(t){"object"===n(t.data)?i.errors=_.flatten(_.toArray(t.data)):i.errors=["Something went wrong. Please try again."]})},destroy:function(t){var e=this;this.$http.delete(this.clientsUrl+"/"+t.id).then(function(t){e.getClients()})}}}},"7t+N":function(t,e,i){var n;!function(e,i){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?i(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return i(t)}:i(e)}("undefined"!=typeof window?window:this,function(i,r){"use strict";function o(t,e,i){var n,r,o=(i=i||gt).createElement("script");if(o.text=t,e)for(n in mt)(r=e[n]||e.getAttribute&&e.getAttribute(n))&&o.setAttribute(n,r);i.head.appendChild(o).parentNode.removeChild(o)}function s(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?at[lt.call(t)]||"object":typeof t}function a(t){var e=!!t&&"length"in t&&t.length,i=s(t);return!ft(t)&&!pt(t)&&("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t)}function l(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function u(t,e,i){return ft(e)?vt.grep(t,function(t,n){return!!e.call(t,n,t)!==i}):e.nodeType?vt.grep(t,function(t){return t===e!==i}):"string"!=typeof e?vt.grep(t,function(t){return st.call(e,t)>-1!==i}):vt.filter(e,t,i)}function c(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function h(t){return t}function d(t){throw t}function f(t,e,i,n){var r;try{t&&ft(r=t.promise)?r.call(t).done(e).fail(i):t&&ft(r=t.then)?r.call(t,e,i):e.apply(void 0,[t].slice(n))}catch(t){i.apply(void 0,[t])}}function p(){gt.removeEventListener("DOMContentLoaded",p),i.removeEventListener("load",p),vt.ready()}function g(t,e){return e.toUpperCase()}function m(t){return t.replace(It,"ms-").replace(Ot,g)}function v(){this.expando=vt.expando+v.uid++}function y(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(Lt,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Nt.test(t)?JSON.parse(t):t)}(i)}catch(t){}$t.set(t,e,i)}else i=void 0;return i}function b(t,e,i,n){var r,o,s=20,a=n?function(){return n.cur()}:function(){return vt.css(t,e,"")},l=a(),u=i&&i[3]||(vt.cssNumber[e]?"":"px"),c=t.nodeType&&(vt.cssNumber[e]||"px"!==u&&+l)&&jt.exec(vt.css(t,e));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;s--;)vt.style(t,e,c+u),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),c/=o;c*=2,vt.style(t,e,c+u),i=i||[]}return i&&(c=+c||+l||0,r=i[1]?c+(i[1]+1)*i[2]:+i[2],n&&(n.unit=u,n.start=c,n.end=r)),r}function _(t){var e,i=t.ownerDocument,n=t.nodeName,r=Vt[n];return r||(e=i.body.appendChild(i.createElement(n)),r=vt.css(e,"display"),e.parentNode.removeChild(e),"none"===r&&(r="block"),Vt[n]=r,r)}function x(t,e){for(var i,n,r=[],o=0,s=t.length;o-1)r&&r.push(o);else if(c=Wt(o),a=w(d.appendChild(o),"script"),c&&C(a),i)for(h=0;o=a[h++];)Gt.test(o.type||"")&&i.push(o);return d}function D(){return!0}function T(){return!1}function S(t,e){return t===function(){try{return gt.activeElement}catch(t){}}()==("focus"===e)}function A(t,e,i,n,r,o){var s,a;if("object"==typeof e){for(a in"string"!=typeof i&&(n=n||i,i=void 0),e)A(t,a,i,n,e[a],o);return t}if(null==n&&null==r?(r=i,n=i=void 0):null==r&&("string"==typeof i?(r=n,n=void 0):(r=n,n=i,i=void 0)),!1===r)r=T;else if(!r)return t;return 1===o&&(s=r,(r=function(t){return vt().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=vt.guid++)),t.each(function(){vt.event.add(this,e,r,n,i)})}function M(t,e,i){i?(Ft.set(t,e,!1),vt.event.add(t,e,{namespace:!1,handler:function(t){var n,r,o=Ft.get(this,e);if(1&t.isTrigger&&this[e]){if(o.length)(vt.event.special[e]||{}).delegateType&&t.stopPropagation();else if(o=nt.call(arguments),Ft.set(this,e,o),n=i(this,e),this[e](),o!==(r=Ft.get(this,e))||n?Ft.set(this,e,!1):r={},o!==r)return t.stopImmediatePropagation(),t.preventDefault(),r.value}else o.length&&(Ft.set(this,e,{value:vt.event.trigger(vt.extend(o[0],vt.Event.prototype),o.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Ft.get(t,e)&&vt.event.add(t,e,D)}function E(t,e){return l(t,"table")&&l(11!==e.nodeType?e:e.firstChild,"tr")&&vt(t).children("tbody")[0]||t}function I(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function O(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function P(t,e){var i,n,r,o,s,a;if(1===e.nodeType){if(Ft.hasData(t)&&(a=Ft.get(t).events))for(r in Ft.remove(e,"handle events"),a)for(i=0,n=a[r].length;i1&&"string"==typeof p&&!dt.checkClone&&ne.test(p))return t.each(function(r){var o=t.eq(r);g&&(e[0]=p.call(this,r,o.html())),F(o,e,i,n)});if(d&&(s=(r=k(e,t[0].ownerDocument,!1,t,n)).firstChild,1===r.childNodes.length&&(r=s),s||n)){for(l=(a=vt.map(w(r,"script"),I)).length;h=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-a-.5))||0),l}function z(t,e,i){var n=se(t),r=(!dt.boxSizingReliable()||i)&&"border-box"===vt.css(t,"boxSizing",!1,n),o=r,s=N(t,e,n),a="offset"+e[0].toUpperCase()+e.slice(1);if(oe.test(s)){if(!i)return s;s="auto"}return(!dt.boxSizingReliable()&&r||!dt.reliableTrDimensions()&&l(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===vt.css(t,"display",!1,n))&&t.getClientRects().length&&(r="border-box"===vt.css(t,"boxSizing",!1,n),(o=a in t)&&(s=t[a])),(s=parseFloat(s)||0)+H(t,e,i||(r?"border":"content"),o,n,s)+"px"}function W(t,e,i,n,r){return new W.prototype.init(t,e,i,n,r)}function U(){ve&&(!1===gt.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(U):i.setTimeout(U,vt.fx.interval),vt.fx.tick())}function B(){return i.setTimeout(function(){me=void 0}),me=Date.now()}function V(t,e){var i,n=0,r={height:t};for(e=e?1:0;n<4;n+=2-e)r["margin"+(i=Ht[n])]=r["padding"+i]=t;return e&&(r.opacity=r.width=t),r}function q(t,e,i){for(var n,r=(Y.tweeners[e]||[]).concat(Y.tweeners["*"]),o=0,s=r.length;o=0&&ib.cacheLength&&delete e[t.shift()],e[i+" "]=n}}function n(t){return t[N]=!0,t}function r(t){var e=M.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var i=t.split("|"),n=i.length;n--;)b.attrHandle[i[n]]=e}function s(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function a(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&wt(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function l(t){return n(function(e){return e=+e,n(function(i,n){for(var r,o=t([],i.length,e),s=o.length;s--;)i[r=o[s]]&&(i[r]=!(n[r]=i[r]))})})}function u(t){return t&&void 0!==t.getElementsByTagName&&t}function c(){}function h(t){for(var e=0,i=t.length,n="";e1?function(e,i,n){for(var r=t.length;r--;)if(!t[r](e,i,n))return!1;return!0}:t[0]}function p(t,e,i,n,r){for(var o,s=[],a=0,l=t.length,u=null!=e;a-1&&(n[c]=!(a[c]=d))}}else b=p(b===a?b.splice(m,b.length):b),s?s(null,a,b,u):K.apply(a,b)})}function m(t){for(var e,i,n,r=t.length,o=b.relative[t[0].type],s=o||b.relative[" "],a=o?1:0,l=d(function(t){return t===e},s,!0),u=d(function(t){return Z(e,t)>-1},s,!0),c=[function(t,i,n){var r=!o&&(n||i!==D)||((e=i).nodeType?l(t,i,n):u(t,i,n));return e=null,r}];a1&&f(c),a>1&&h(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(rt,"$1"),i,a+~]|"+J+")"+J+"*"),at=new RegExp(J+"|>"),lt=new RegExp(it),ut=new RegExp("^"+tt+"$"),ct={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+et),PSEUDO:new RegExp("^"+it),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+J+"*(even|odd|(([+-]|)(\\d*)n|)"+J+"*(?:([+-]|)"+J+"*(\\d+)|))"+J+"*\\)|)","i"),bool:new RegExp("^(?:"+Q+")$","i"),needsContext:new RegExp("^"+J+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+J+"*((?:-\\d)?\\d*)"+J+"*\\)|)(?=[^-]|$)","i")},ht=/HTML$/i,dt=/^(?:input|select|textarea|button)$/i,ft=/^h\d$/i,pt=/^[^{]+\{\s*\[native \w/,gt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,mt=/[+~]/,vt=new RegExp("\\\\[\\da-fA-F]{1,6}"+J+"?|\\\\([^\\r\\n\\f])","g"),yt=function(t,e){var i="0x"+t.slice(1)-65536;return e||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},bt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,_t=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},xt=function(){A()},wt=d(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{K.apply(q=G.call(L.childNodes),L.childNodes),q[L.childNodes.length].nodeType}catch(t){K={apply:q.length?function(t,e){X.apply(t,G.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}for(v in y=e.support={},x=e.isXML=function(t){var e=t.namespaceURI,i=(t.ownerDocument||t).documentElement;return!ht.test(e||i&&i.nodeName||"HTML")},A=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:L;return n!=M&&9===n.nodeType&&n.documentElement?(E=(M=n).documentElement,I=!x(M),L!=M&&(i=M.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",xt,!1):i.attachEvent&&i.attachEvent("onunload",xt)),y.scope=r(function(t){return E.appendChild(t).appendChild(M.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),y.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),y.getElementsByTagName=r(function(t){return t.appendChild(M.createComment("")),!t.getElementsByTagName("*").length}),y.getElementsByClassName=pt.test(M.getElementsByClassName),y.getById=r(function(t){return E.appendChild(t).id=N,!M.getElementsByName||!M.getElementsByName(N).length}),y.getById?(b.filter.ID=function(t){var e=t.replace(vt,yt);return function(t){return t.getAttribute("id")===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&I){var i=e.getElementById(t);return i?[i]:[]}}):(b.filter.ID=function(t){var e=t.replace(vt,yt);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&I){var i,n,r,o=e.getElementById(t);if(o){if((i=o.getAttributeNode("id"))&&i.value===t)return[o];for(r=e.getElementsByName(t),n=0;o=r[n++];)if((i=o.getAttributeNode("id"))&&i.value===t)return[o]}return[]}}),b.find.TAG=y.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):y.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;i=o[r++];)1===i.nodeType&&n.push(i);return n}return o},b.find.CLASS=y.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&I)return e.getElementsByClassName(t)},P=[],O=[],(y.qsa=pt.test(M.querySelectorAll))&&(r(function(t){var e;E.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&O.push("[*^$]="+J+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||O.push("\\["+J+"*(?:value|"+Q+")"),t.querySelectorAll("[id~="+N+"-]").length||O.push("~="),(e=M.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||O.push("\\["+J+"*name"+J+"*="+J+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||O.push(":checked"),t.querySelectorAll("a#"+N+"+*").length||O.push(".#.+[+~]"),t.querySelectorAll("\\\f"),O.push("[\\r\\n\\f]")}),r(function(t){t.innerHTML="";var e=M.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&O.push("name"+J+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&O.push(":enabled",":disabled"),E.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&O.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),O.push(",.*:")})),(y.matchesSelector=pt.test(F=E.matches||E.webkitMatchesSelector||E.mozMatchesSelector||E.oMatchesSelector||E.msMatchesSelector))&&r(function(t){y.disconnectedMatch=F.call(t,"*"),F.call(t,"[s!='']:x"),P.push("!=",it)}),O=O.length&&new RegExp(O.join("|")),P=P.length&&new RegExp(P.join("|")),e=pt.test(E.compareDocumentPosition),$=e||pt.test(E.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},B=e?function(t,e){if(t===e)return S=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!y.sortDetached&&e.compareDocumentPosition(t)===i?t==M||t.ownerDocument==L&&$(L,t)?-1:e==M||e.ownerDocument==L&&$(L,e)?1:T?Z(T,t)-Z(T,e):0:4&i?-1:1)}:function(t,e){if(t===e)return S=!0,0;var i,n=0,r=t.parentNode,o=e.parentNode,a=[t],l=[e];if(!r||!o)return t==M?-1:e==M?1:r?-1:o?1:T?Z(T,t)-Z(T,e):0;if(r===o)return s(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)l.unshift(i);for(;a[n]===l[n];)n++;return n?s(a[n],l[n]):a[n]==L?-1:l[n]==L?1:0},M):M},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if(A(t),y.matchesSelector&&I&&!U[i+" "]&&(!P||!P.test(i))&&(!O||!O.test(i)))try{var n=F.call(t,i);if(n||y.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){U(i,!0)}return e(i,M,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!=M&&A(t),$(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!=M&&A(t);var i=b.attrHandle[e.toLowerCase()],n=i&&V.call(b.attrHandle,e.toLowerCase())?i(t,e,!I):void 0;return void 0!==n?n:y.attributes||!I?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},e.escape=function(t){ return(t+"").replace(bt,_t)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,i=[],n=0,r=0;if(S=!y.detectDuplicates,T=!y.sortStable&&t.slice(0),t.sort(B),S){for(;e=t[r++];)e===t[r]&&(n=i.push(r));for(;n--;)t.splice(i[n],1)}return T=null,t},_=e.getText=function(t){var e,i="",n=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=_(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[n++];)i+=_(e);return i},(b=e.selectors={cacheLength:50,createPseudo:n,match:ct,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(vt,yt),t[3]=(t[3]||t[4]||t[5]||"").replace(vt,yt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return ct.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&<.test(i)&&(e=w(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(vt,yt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=H[t+" "];return e||(e=new RegExp("(^|"+J+")"+t+"("+J+"|$)"))&&H(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(r){var o=e.attr(r,t);return null==o?"!="===i:!i||(o+="","="===i?o===n:"!="===i?o!==n:"^="===i?n&&0===o.indexOf(n):"*="===i?n&&o.indexOf(n)>-1:"$="===i?n&&o.slice(-n.length)===n:"~="===i?(" "+o.replace(nt," ")+" ").indexOf(n)>-1:"|="===i&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,i,n,r){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===r?function(t){return!!t.parentNode}:function(e,i,l){var u,c,h,d,f,p,g=o!==s?"nextSibling":"previousSibling",m=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(m){if(o){for(;g;){for(d=e;d=d[g];)if(a?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}if(p=[s?m.firstChild:m.lastChild],s&&y){for(b=(f=(u=(c=(h=(d=m)[N]||(d[N]={}))[d.uniqueID]||(h[d.uniqueID]={}))[t]||[])[0]===R&&u[1])&&u[2],d=f&&m.childNodes[f];d=++f&&d&&d[g]||(b=f=0)||p.pop();)if(1===d.nodeType&&++b&&d===e){c[t]=[R,f,b];break}}else if(y&&(b=f=(u=(c=(h=(d=e)[N]||(d[N]={}))[d.uniqueID]||(h[d.uniqueID]={}))[t]||[])[0]===R&&u[1]),!1===b)for(;(d=++f&&d&&d[g]||(b=f=0)||p.pop())&&((a?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++b||(y&&((c=(h=d[N]||(d[N]={}))[d.uniqueID]||(h[d.uniqueID]={}))[t]=[R,b]),d!==e)););return(b-=r)===n||b%n==0&&b/n>=0}}},PSEUDO:function(t,i){var r,o=b.pseudos[t]||b.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[N]?o(i):o.length>1?(r=[t,t,"",i],b.setFilters.hasOwnProperty(t.toLowerCase())?n(function(t,e){for(var n,r=o(t,i),s=r.length;s--;)t[n=Z(t,r[s])]=!(e[n]=r[s])}):function(t){return o(t,0,r)}):o}},pseudos:{not:n(function(t){var e=[],i=[],r=C(t.replace(rt,"$1"));return r[N]?n(function(t,e,i,n){for(var o,s=r(t,null,n,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,n,o){return e[0]=t,r(e,null,o,i),e[0]=null,!i.pop()}}),has:n(function(t){return function(i){return e(t,i).length>0}}),contains:n(function(t){return t=t.replace(vt,yt),function(e){return(e.textContent||_(e)).indexOf(t)>-1}}),lang:n(function(t){return ut.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(vt,yt).toLowerCase(),function(e){var i;do{if(i=I?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(i=i.toLowerCase())===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===E},focus:function(t){return t===M.activeElement&&(!M.hasFocus||M.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:a(!1),disabled:a(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!b.pseudos.empty(t)},header:function(t){return ft.test(t.nodeName)},input:function(t){return dt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:l(function(){return[0]}),last:l(function(t,e){return[e-1]}),eq:l(function(t,e,i){return[i<0?i+e:i]}),even:l(function(t,e){for(var i=0;ie?e:i;--n>=0;)t.push(n);return t}),gt:l(function(t,e,i){for(var n=i<0?i+e:i;++n0,o=t.length>0,s=function(n,s,a,l,u){var c,h,d,f=0,g="0",m=n&&[],v=[],y=D,_=n||o&&b.find.TAG("*",u),x=R+=null==y?1:Math.random()||.1,w=_.length;for(u&&(D=s==M||s||u);g!==w&&null!=(c=_[g]);g++){if(o&&c){for(h=0,s||c.ownerDocument==M||(A(c),a=!I);d=t[h++];)if(d(c,s||M,a)){l.push(c);break}u&&(R=x)}r&&((c=!d&&c)&&f--,n&&m.push(c))}if(f+=g,r&&g!==f){for(h=0;d=i[h++];)d(m,v,s,a);if(n){if(f>0)for(;g--;)m[g]||v[g]||(v[g]=Y.call(l));v=p(v)}K.apply(l,v),u&&!n&&v.length>0&&f+i.length>1&&e.uniqueSort(l)}return u&&(R=x,D=y),m};return r?n(s):s}(s,o))).selector=t}return a},k=e.select=function(t,e,i,n){var r,o,s,a,l,c="function"==typeof t&&t,d=!n&&w(t=c.selector||t);if(i=i||[],1===d.length){if((o=d[0]=d[0].slice(0)).length>2&&"ID"===(s=o[0]).type&&9===e.nodeType&&I&&b.relative[o[1].type]){if(!(e=(b.find.ID(s.matches[0].replace(vt,yt),e)||[])[0]))return i;c&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(r=ct.needsContext.test(t)?0:o.length;r--&&(s=o[r],!b.relative[a=s.type]);)if((l=b.find[a])&&(n=l(s.matches[0].replace(vt,yt),mt.test(o[0].type)&&u(e.parentNode)||e))){if(o.splice(r,1),!(t=n.length&&h(o)))return K.apply(i,n),i;break}}return(c||C(t,d))(n,e,!I,i,!e||mt.test(t)&&u(e.parentNode)||e),i},y.sortStable=N.split("").sort(B).join("")===N,y.detectDuplicates=!!S,A(),y.sortDetached=r(function(t){return 1&t.compareDocumentPosition(M.createElement("fieldset"))}),r(function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),y.attributes&&r(function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||o(Q,function(t,e,i){var n;if(!i)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),e}(i);vt.find=yt,vt.expr=yt.selectors,vt.expr[":"]=vt.expr.pseudos,vt.uniqueSort=vt.unique=yt.uniqueSort,vt.text=yt.getText,vt.isXMLDoc=yt.isXML,vt.contains=yt.contains,vt.escapeSelector=yt.escape;var bt=function(t,e,i){for(var n=[],r=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&vt(t).is(i))break;n.push(t)}return n},_t=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},xt=vt.expr.match.needsContext,wt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;vt.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?vt.find.matchesSelector(n,t)?[n]:[]:vt.find.matches(t,vt.grep(e,function(t){return 1===t.nodeType}))},vt.fn.extend({find:function(t){var e,i,n=this.length,r=this;if("string"!=typeof t)return this.pushStack(vt(t).filter(function(){for(e=0;e1?vt.uniqueSort(i):i},filter:function(t){return this.pushStack(u(this,t||[],!1))},not:function(t){return this.pushStack(u(this,t||[],!0))},is:function(t){return!!u(this,"string"==typeof t&&xt.test(t)?vt(t):t||[],!1).length}});var Ct,kt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(vt.fn.init=function(t,e,i){var n,r;if(!t)return this;if(i=i||Ct,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:kt.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof vt?e[0]:e,vt.merge(this,vt.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:gt,!0)),wt.test(n[1])&&vt.isPlainObject(e))for(n in e)ft(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(r=gt.getElementById(n[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):ft(t)?void 0!==i.ready?i.ready(t):t(vt):vt.makeArray(t,this)}).prototype=vt.fn,Ct=vt(gt);var Dt=/^(?:parents|prev(?:Until|All))/,Tt={children:!0,contents:!0,next:!0,prev:!0};vt.fn.extend({has:function(t){var e=vt(t,this),i=e.length;return this.filter(function(){for(var t=0;t-1:1===i.nodeType&&vt.find.matchesSelector(i,t))){o.push(i);break}return this.pushStack(o.length>1?vt.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?st.call(vt(t),this[0]):st.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(vt.uniqueSort(vt.merge(this.get(),vt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),vt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return bt(t,"parentNode")},parentsUntil:function(t,e,i){return bt(t,"parentNode",i)},next:function(t){return c(t,"nextSibling")},prev:function(t){return c(t,"previousSibling")},nextAll:function(t){return bt(t,"nextSibling")},prevAll:function(t){return bt(t,"previousSibling")},nextUntil:function(t,e,i){return bt(t,"nextSibling",i)},prevUntil:function(t,e,i){return bt(t,"previousSibling",i)},siblings:function(t){return _t((t.parentNode||{}).firstChild,t)},children:function(t){return _t(t.firstChild)},contents:function(t){return null!=t.contentDocument&&it(t.contentDocument)?t.contentDocument:(l(t,"template")&&(t=t.content||t),vt.merge([],t.childNodes))}},function(t,e){vt.fn[t]=function(i,n){var r=vt.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(r=vt.filter(n,r)),this.length>1&&(Tt[t]||vt.uniqueSort(r),Dt.test(t)&&r.reverse()),this.pushStack(r)}});var St=/[^\x20\t\r\n\f]+/g;vt.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return vt.each(t.match(St)||[],function(t,i){e[i]=!0}),e}(t):vt.extend({},t);var e,i,n,r,o=[],a=[],l=-1,u=function(){for(r=r||t.once,n=e=!0;a.length;l=-1)for(i=a.shift();++l-1;)o.splice(i,1),i<=l&&l--}),this},has:function(t){return t?vt.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=a=[],o=i="",this},disabled:function(){return!o},lock:function(){return r=a=[],i||e||(o=i=""),this},locked:function(){return!!r},fireWith:function(t,i){return r||(i=[t,(i=i||[]).slice?i.slice():i],a.push(i),e||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},vt.extend({Deferred:function(t){var e=[["notify","progress",vt.Callbacks("memory"),vt.Callbacks("memory"),2],["resolve","done",vt.Callbacks("once memory"),vt.Callbacks("once memory"),0,"resolved"],["reject","fail",vt.Callbacks("once memory"),vt.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return vt.Deferred(function(i){vt.each(e,function(e,n){var r=ft(t[n[4]])&&t[n[4]];o[n[1]](function(){var t=r&&r.apply(this,arguments);t&&ft(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[n[0]+"With"](this,r?[t]:arguments)})}),t=null}).promise()},then:function(t,n,r){function o(t,e,n,r){return function(){var a=this,l=arguments,u=function(){var i,u;if(!(t=s&&(n!==d&&(a=void 0,l=[i]),e.rejectWith(a,l))}};t?c():(vt.Deferred.getStackHook&&(c.stackTrace=vt.Deferred.getStackHook()),i.setTimeout(c))}}var s=0;return vt.Deferred(function(i){e[0][3].add(o(0,i,ft(r)?r:h,i.notifyWith)),e[1][3].add(o(0,i,ft(t)?t:h)),e[2][3].add(o(0,i,ft(n)?n:d))}).promise()},promise:function(t){return null!=t?vt.extend(t,r):r}},o={};return vt.each(e,function(t,i){var s=i[2],a=i[5];r[i[1]]=s.add,a&&s.add(function(){n=a},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),s.add(i[3].fire),o[i[0]]=function(){return o[i[0]+"With"](this===o?void 0:this,arguments),this},o[i[0]+"With"]=s.fireWith}),r.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,i=e,n=Array(i),r=nt.call(arguments),o=vt.Deferred(),s=function(t){return function(i){n[t]=this,r[t]=arguments.length>1?nt.call(arguments):i,--e||o.resolveWith(n,r)}};if(e<=1&&(f(t,o.done(s(i)).resolve,o.reject,!e),"pending"===o.state()||ft(r[i]&&r[i].then)))return o.then();for(;i--;)f(r[i],s(i),o.reject);return o.promise()}});var At=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;vt.Deferred.exceptionHook=function(t,e){i.console&&i.console.warn&&t&&At.test(t.name)&&i.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},vt.readyException=function(t){i.setTimeout(function(){throw t})};var Mt=vt.Deferred();vt.fn.ready=function(t){return Mt.then(t).catch(function(t){vt.readyException(t)}),this},vt.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--vt.readyWait:vt.isReady)||(vt.isReady=!0,!0!==t&&--vt.readyWait>0||Mt.resolveWith(gt,[vt]))}}),vt.ready.then=Mt.then,"complete"===gt.readyState||"loading"!==gt.readyState&&!gt.documentElement.doScroll?i.setTimeout(vt.ready):(gt.addEventListener("DOMContentLoaded",p),i.addEventListener("load",p));var Et=function(t,e,i,n,r,o,a){var l=0,u=t.length,c=null==i;if("object"===s(i))for(l in r=!0,i)Et(t,e,l,i[l],!0,o,a);else if(void 0!==n&&(r=!0,ft(n)||(a=!0),c&&(a?(e.call(t,n),e=null):(c=e,e=function(t,e,i){return c.call(vt(t),i)})),e))for(;l1,null,!0)},removeData:function(t){return this.each(function(){$t.remove(this,t)})}}),vt.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=Ft.get(t,e),i&&(!n||Array.isArray(i)?n=Ft.access(t,e,vt.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=vt.queue(t,e),n=i.length,r=i.shift(),o=vt._queueHooks(t,e);"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===e&&i.unshift("inprogress"),delete o.stop,r.call(t,function(){vt.dequeue(t,e)},o)),!n&&o&&o.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return Ft.get(t,i)||Ft.access(t,i,{empty:vt.Callbacks("once memory").add(function(){Ft.remove(t,[e+"queue",i])})})}}),vt.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length\x20\t\r\n\f]*)/i,Gt=/^$|^module$|\/(?:java|ecma)script/i;qt=gt.createDocumentFragment().appendChild(gt.createElement("div")),(Yt=gt.createElement("input")).setAttribute("type","radio"),Yt.setAttribute("checked","checked"),Yt.setAttribute("name","t"),qt.appendChild(Yt),dt.checkClone=qt.cloneNode(!0).cloneNode(!0).lastChild.checked,qt.innerHTML="",dt.noCloneChecked=!!qt.cloneNode(!0).lastChild.defaultValue,qt.innerHTML="",dt.option=!!qt.lastChild;var Zt={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};Zt.tbody=Zt.tfoot=Zt.colgroup=Zt.caption=Zt.thead,Zt.th=Zt.td,dt.option||(Zt.optgroup=Zt.option=[1,""]);var Qt=/<|&#?\w+;/,Jt=/^key/,te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ee=/^([^.]*)(?:\.(.+)|)/;vt.event={global:{},add:function(t,e,i,n,r){var o,s,a,l,u,c,h,d,f,p,g,m=Ft.get(t);if(Pt(t))for(i.handler&&(i=(o=i).handler,r=o.selector),r&&vt.find.matchesSelector(zt,r),i.guid||(i.guid=vt.guid++),(l=m.events)||(l=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(e){return void 0!==vt&&vt.event.triggered!==e.type?vt.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(St)||[""]).length;u--;)f=g=(a=ee.exec(e[u])||[])[1],p=(a[2]||"").split(".").sort(),f&&(h=vt.event.special[f]||{},f=(r?h.delegateType:h.bindType)||f,h=vt.event.special[f]||{},c=vt.extend({type:f,origType:g,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&vt.expr.match.needsContext.test(r),namespace:p.join(".")},o),(d=l[f])||((d=l[f]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,n,p,s)||t.addEventListener&&t.addEventListener(f,s)),h.add&&(h.add.call(t,c),c.handler.guid||(c.handler.guid=i.guid)),r?d.splice(d.delegateCount++,0,c):d.push(c),vt.event.global[f]=!0)},remove:function(t,e,i,n,r){var o,s,a,l,u,c,h,d,f,p,g,m=Ft.hasData(t)&&Ft.get(t);if(m&&(l=m.events)){for(u=(e=(e||"").match(St)||[""]).length;u--;)if(f=g=(a=ee.exec(e[u])||[])[1],p=(a[2]||"").split(".").sort(),f){for(h=vt.event.special[f]||{},d=l[f=(n?h.delegateType:h.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=d.length;o--;)c=d[o],!r&&g!==c.origType||i&&i.guid!==c.guid||a&&!a.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,h.remove&&h.remove.call(t,c));s&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,p,m.handle)||vt.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)vt.event.remove(t,f+e[u],i,n,!0);vt.isEmptyObject(l)&&Ft.remove(t,"handle events")}},dispatch:function(t){var e,i,n,r,o,s,a=new Array(arguments.length),l=vt.event.fix(t),u=(Ft.get(this,"events")||Object.create(null))[l.type]||[],c=vt.event.special[l.type]||{};for(a[0]=l,e=1;e=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(o=[],s={},i=0;i-1:vt.find(r,this,null,[u]).length),s[r]&&o.push(n);o.length&&a.push({elem:u,handlers:o})}return u=this,l\s*$/g;vt.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,r,o,s,a,l,u,c=t.cloneNode(!0),h=Wt(t);if(!(dt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||vt.isXMLDoc(t)))for(s=w(c),n=0,r=(o=w(t)).length;n0&&C(s,!h&&w(t,"script")),c},cleanData:function(t){for(var e,i,n,r=vt.event.special,o=0;void 0!==(i=t[o]);o++)if(Pt(i)){if(e=i[Ft.expando]){if(e.events)for(n in e.events)r[n]?vt.event.remove(i,n):vt.removeEvent(i,n,e.handle);i[Ft.expando]=void 0}i[$t.expando]&&(i[$t.expando]=void 0)}}}),vt.fn.extend({detach:function(t){return $(this,t,!0)},remove:function(t){return $(this,t)},text:function(t){return Et(this,function(t){return void 0===t?vt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return F(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||E(this,t).appendChild(t)})},prepend:function(){return F(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=E(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return F(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return F(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(vt.cleanData(w(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return vt.clone(this,t,e)})},html:function(t){return Et(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!ie.test(t)&&!Zt[(Kt.exec(t)||["",""])[1].toLowerCase()]){t=vt.htmlPrefilter(t);try{for(;i3,zt.removeChild(t)),a}}))}();var ue=["Webkit","Moz","ms"],ce=gt.createElement("div").style,he={},de=/^(none|table(?!-c[ea]).+)/,fe=/^--/,pe={position:"absolute",visibility:"hidden",display:"block"},ge={letterSpacing:"0",fontWeight:"400"};vt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=N(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,s,a=m(e),l=fe.test(e),u=t.style;if(l||(e=R(a)),s=vt.cssHooks[e]||vt.cssHooks[a],void 0===i)return s&&"get"in s&&void 0!==(r=s.get(t,!1,n))?r:u[e];"string"==(o=typeof i)&&(r=jt.exec(i))&&r[1]&&(i=b(t,e,r),o="number"),null!=i&&i==i&&("number"!==o||l||(i+=r&&r[3]||(vt.cssNumber[a]?"":"px")),dt.clearCloneStyle||""!==i||0!==e.indexOf("background")||(u[e]="inherit"),s&&"set"in s&&void 0===(i=s.set(t,i,n))||(l?u.setProperty(e,i):u[e]=i))}},css:function(t,e,i,n){var r,o,s,a=m(e);return fe.test(e)||(e=R(a)),(s=vt.cssHooks[e]||vt.cssHooks[a])&&"get"in s&&(r=s.get(t,!0,i)),void 0===r&&(r=N(t,e,n)),"normal"===r&&e in ge&&(r=ge[e]),""===i||i?(o=parseFloat(r),!0===i||isFinite(o)?o||0:r):r}}),vt.each(["height","width"],function(t,e){vt.cssHooks[e]={get:function(t,i,n){if(i)return!de.test(vt.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?z(t,e,n):ae(t,pe,function(){return z(t,e,n)})},set:function(t,i,n){var r,o=se(t),s=!dt.scrollboxSize()&&"absolute"===o.position,a=(s||n)&&"border-box"===vt.css(t,"boxSizing",!1,o),l=n?H(t,e,n,a,o):0;return a&&s&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-H(t,e,"border",!1,o)-.5)),l&&(r=jt.exec(i))&&"px"!==(r[3]||"px")&&(t.style[e]=i,i=vt.css(t,e)),j(0,i,l)}}}),vt.cssHooks.marginLeft=L(dt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(N(t,"marginLeft"))||t.getBoundingClientRect().left-ae(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),vt.each({margin:"",padding:"",border:"Width"},function(t,e){vt.cssHooks[t+e]={expand:function(i){for(var n=0,r={},o="string"==typeof i?i.split(" "):[i];n<4;n++)r[t+Ht[n]+e]=o[n]||o[n-2]||o[0];return r}},"margin"!==t&&(vt.cssHooks[t+e].set=j)}),vt.fn.extend({css:function(t,e){return Et(this,function(t,e,i){var n,r,o={},s=0;if(Array.isArray(e)){for(n=se(t),r=e.length;s1)}}),vt.Tween=W,W.prototype={constructor:W,init:function(t,e,i,n,r,o){this.elem=t,this.prop=i,this.easing=r||vt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=o||(vt.cssNumber[i]?"":"px")},cur:function(){var t=W.propHooks[this.prop];return t&&t.get?t.get(this):W.propHooks._default.get(this)},run:function(t){var e,i=W.propHooks[this.prop];return this.options.duration?this.pos=e=vt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):W.propHooks._default.set(this),this}},W.prototype.init.prototype=W.prototype,W.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=vt.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){vt.fx.step[t.prop]?vt.fx.step[t.prop](t):1!==t.elem.nodeType||!vt.cssHooks[t.prop]&&null==t.elem.style[R(t.prop)]?t.elem[t.prop]=t.now:vt.style(t.elem,t.prop,t.now+t.unit)}}},W.propHooks.scrollTop=W.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},vt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},vt.fx=W.prototype.init,vt.fx.step={};var me,ve,ye=/^(?:toggle|show|hide)$/,be=/queueHooks$/;vt.Animation=vt.extend(Y,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return b(i.elem,t,jt.exec(e),i),i}]},tweener:function(t,e){ft(t)?(e=t,t=["*"]):t=t.match(St);for(var i,n=0,r=t.length;n1)},removeAttr:function(t){return this.each(function(){vt.removeAttr(this,t)})}}),vt.extend({attr:function(t,e,i){var n,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?vt.prop(t,e,i):(1===o&&vt.isXMLDoc(t)||(r=vt.attrHooks[e.toLowerCase()]||(vt.expr.match.bool.test(e)?_e:void 0)),void 0!==i?null===i?void vt.removeAttr(t,e):r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:(t.setAttribute(e,i+""),i):r&&"get"in r&&null!==(n=r.get(t,e))?n:null==(n=vt.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){if(!dt.radioValue&&"radio"===e&&l(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n=0,r=e&&e.match(St);if(r&&1===t.nodeType)for(;i=r[n++];)t.removeAttribute(i)}}),_e={set:function(t,e,i){return!1===e?vt.removeAttr(t,i):t.setAttribute(i,i),i}},vt.each(vt.expr.match.bool.source.match(/\w+/g),function(t,e){var i=xe[e]||vt.find.attr;xe[e]=function(t,e,n){var r,o,s=e.toLowerCase();return n||(o=xe[s],xe[s]=r,r=null!=i(t,e,n)?s:null,xe[s]=o),r}});var we=/^(?:input|select|textarea|button)$/i,Ce=/^(?:a|area)$/i;vt.fn.extend({prop:function(t,e){return Et(this,vt.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[vt.propFix[t]||t]})}}),vt.extend({prop:function(t,e,i){var n,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&vt.isXMLDoc(t)||(e=vt.propFix[e]||e,r=vt.propHooks[e]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:t[e]=i:r&&"get"in r&&null!==(n=r.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=vt.find.attr(t,"tabindex");return e?parseInt(e,10):we.test(t.nodeName)||Ce.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),dt.optSelected||(vt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),vt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){vt.propFix[this.toLowerCase()]=this}),vt.fn.extend({addClass:function(t){var e,i,n,r,o,s,a,l=0;if(ft(t))return this.each(function(e){vt(this).addClass(t.call(this,e,K(this)))});if((e=G(t)).length)for(;i=this[l++];)if(r=K(i),n=1===i.nodeType&&" "+X(r)+" "){for(s=0;o=e[s++];)n.indexOf(" "+o+" ")<0&&(n+=o+" ");r!==(a=X(n))&&i.setAttribute("class",a)}return this},removeClass:function(t){var e,i,n,r,o,s,a,l=0;if(ft(t))return this.each(function(e){vt(this).removeClass(t.call(this,e,K(this)))});if(!arguments.length)return this.attr("class","");if((e=G(t)).length)for(;i=this[l++];)if(r=K(i),n=1===i.nodeType&&" "+X(r)+" "){for(s=0;o=e[s++];)for(;n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");r!==(a=X(n))&&i.setAttribute("class",a)}return this},toggleClass:function(t,e){var i=typeof t,n="string"===i||Array.isArray(t);return"boolean"==typeof e&&n?e?this.addClass(t):this.removeClass(t):ft(t)?this.each(function(i){vt(this).toggleClass(t.call(this,i,K(this),e),e)}):this.each(function(){var e,r,o,s;if(n)for(r=0,o=vt(this),s=G(t);e=s[r++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==i||((e=K(this))&&Ft.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":Ft.get(this,"__className__")||""))})},hasClass:function(t){var e,i,n=0;for(e=" "+t+" ";i=this[n++];)if(1===i.nodeType&&(" "+X(K(i))+" ").indexOf(e)>-1)return!0;return!1}});var ke=/\r/g;vt.fn.extend({val:function(t){var e,i,n,r=this[0];return arguments.length?(n=ft(t),this.each(function(i){var r;1===this.nodeType&&(null==(r=n?t.call(this,i,vt(this).val()):t)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=vt.map(r,function(t){return null==t?"":t+""})),(e=vt.valHooks[this.type]||vt.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))})):r?(e=vt.valHooks[r.type]||vt.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(r,"value"))?i:"string"==typeof(i=r.value)?i.replace(ke,""):null==i?"":i:void 0}}),vt.extend({valHooks:{option:{get:function(t){var e=vt.find.attr(t,"value");return null!=e?e:X(vt.text(t))}},select:{get:function(t){var e,i,n,r=t.options,o=t.selectedIndex,s="select-one"===t.type,a=s?null:[],u=s?o+1:r.length;for(n=o<0?u:s?o:0;n-1)&&(i=!0);return i||(t.selectedIndex=-1),o}}}}),vt.each(["radio","checkbox"],function(){vt.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=vt.inArray(vt(t).val(),e)>-1}},dt.checkOn||(vt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),dt.focusin="onfocusin"in i;var De=/^(?:focusinfocus|focusoutblur)$/,Te=function(t){t.stopPropagation()};vt.extend(vt.event,{trigger:function(t,e,n,r){var o,s,a,l,u,c,h,d,f=[n||gt],p=ut.call(t,"type")?t.type:t,g=ut.call(t,"namespace")?t.namespace.split("."):[];if(s=d=a=n=n||gt,3!==n.nodeType&&8!==n.nodeType&&!De.test(p+vt.event.triggered)&&(p.indexOf(".")>-1&&(p=(g=p.split(".")).shift(),g.sort()),u=p.indexOf(":")<0&&"on"+p,(t=t[vt.expando]?t:new vt.Event(p,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:vt.makeArray(e,[t]),h=vt.event.special[p]||{},r||!h.trigger||!1!==h.trigger.apply(n,e))){if(!r&&!h.noBubble&&!pt(n)){for(l=h.delegateType||p,De.test(l+p)||(s=s.parentNode);s;s=s.parentNode)f.push(s),a=s;a===(n.ownerDocument||gt)&&f.push(a.defaultView||a.parentWindow||i)}for(o=0;(s=f[o++])&&!t.isPropagationStopped();)d=s,t.type=o>1?l:h.bindType||p,(c=(Ft.get(s,"events")||Object.create(null))[t.type]&&Ft.get(s,"handle"))&&c.apply(s,e),(c=u&&s[u])&&c.apply&&Pt(s)&&(t.result=c.apply(s,e),!1===t.result&&t.preventDefault());return t.type=p,r||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(f.pop(),e)||!Pt(n)||u&&ft(n[p])&&!pt(n)&&((a=n[u])&&(n[u]=null),vt.event.triggered=p,t.isPropagationStopped()&&d.addEventListener(p,Te),n[p](),t.isPropagationStopped()&&d.removeEventListener(p,Te),vt.event.triggered=void 0,a&&(n[u]=a)),t.result}},simulate:function(t,e,i){var n=vt.extend(new vt.Event,i,{type:t,isSimulated:!0});vt.event.trigger(n,null,e)}}),vt.fn.extend({trigger:function(t,e){return this.each(function(){vt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return vt.event.trigger(t,e,i,!0)}}),dt.focusin||vt.each({focus:"focusin",blur:"focusout"},function(t,e){var i=function(t){vt.event.simulate(e,t.target,vt.event.fix(t))};vt.event.special[e]={setup:function(){var n=this.ownerDocument||this.document||this,r=Ft.access(n,e);r||n.addEventListener(t,i,!0),Ft.access(n,e,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,r=Ft.access(n,e)-1;r?Ft.access(n,e,r):(n.removeEventListener(t,i,!0),Ft.remove(n,e))}}});var Se=i.location,Ae={guid:Date.now()},Me=/\?/;vt.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new i.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||vt.error("Invalid XML: "+t),e};var Ee=/\[\]$/,Ie=/\r?\n/g,Oe=/^(?:submit|button|image|reset|file)$/i,Pe=/^(?:input|select|textarea|keygen)/i;vt.param=function(t,e){var i,n=[],r=function(t,e){var i=ft(e)?e():e;n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==i?"":i)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!vt.isPlainObject(t))vt.each(t,function(){r(this.name,this.value)});else for(i in t)Z(i,t[i],e,r);return n.join("&")},vt.fn.extend({serialize:function(){return vt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=vt.prop(this,"elements");return t?vt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!vt(this).is(":disabled")&&Pe.test(this.nodeName)&&!Oe.test(t)&&(this.checked||!Xt.test(t))}).map(function(t,e){var i=vt(this).val();return null==i?null:Array.isArray(i)?vt.map(i,function(t){return{name:e.name,value:t.replace(Ie,"\r\n")}}):{name:e.name,value:i.replace(Ie,"\r\n")}}).get()}});var Fe=/%20/g,$e=/#.*$/,Ne=/([?&])_=[^&]*/,Le=/^(.*?):[ \t]*([^\r\n]*)$/gm,Re=/^(?:GET|HEAD)$/,je=/^\/\//,He={},ze={},We="*/".concat("*"),Ue=gt.createElement("a");Ue.href=Se.href,vt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Se.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Se.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":We,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":vt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?tt(tt(t,vt.ajaxSettings),e):tt(vt.ajaxSettings,t)},ajaxPrefilter:Q(He),ajaxTransport:Q(ze),ajax:function(t,e){function n(t,e,n,a){var u,d,f,_,x,w=e;c||(c=!0,l&&i.clearTimeout(l),r=void 0,s=a||"",C.readyState=t>0?4:0,u=t>=200&&t<300||304===t,n&&(_=function(t,e,i){for(var n,r,o,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(r in a)if(a[r]&&a[r].test(n)){l.unshift(r);break}if(l[0]in i)o=l[0];else{for(r in i){if(!l[0]||t.converters[r+" "+l[0]]){o=r;break}s||(s=r)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),i[o]}(p,C,n)),!u&&vt.inArray("script",p.dataTypes)>-1&&(p.converters["text script"]=function(){}),_=function(t,e,i,n){var r,o,s,a,l,u={},c=t.dataTypes.slice();if(c[1])for(s in t.converters)u[s.toLowerCase()]=t.converters[s];for(o=c.shift();o;)if(t.responseFields[o]&&(i[t.responseFields[o]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=u[l+" "+o]||u["* "+o]))for(r in u)if((a=r.split(" "))[1]===o&&(s=u[l+" "+a[0]]||u["* "+a[0]])){!0===s?s=u[r]:!0!==u[r]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}(p,_,C,u),u?(p.ifModified&&((x=C.getResponseHeader("Last-Modified"))&&(vt.lastModified[o]=x),(x=C.getResponseHeader("etag"))&&(vt.etag[o]=x)),204===t||"HEAD"===p.type?w="nocontent":304===t?w="notmodified":(w=_.state,d=_.data,u=!(f=_.error))):(f=w,!t&&w||(w="error",t<0&&(t=0))),C.status=t,C.statusText=(e||w)+"",u?v.resolveWith(g,[d,w,C]):v.rejectWith(g,[C,w,f]),C.statusCode(b),b=void 0,h&&m.trigger(u?"ajaxSuccess":"ajaxError",[C,p,u?d:f]),y.fireWith(g,[C,w]),h&&(m.trigger("ajaxComplete",[C,p]),--vt.active||vt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var r,o,s,a,l,u,c,h,d,f,p=vt.ajaxSetup({},e),g=p.context||p,m=p.context&&(g.nodeType||g.jquery)?vt(g):vt.event,v=vt.Deferred(),y=vt.Callbacks("once memory"),b=p.statusCode||{},_={},x={},w="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(c){if(!a)for(a={};e=Le.exec(s);)a[e[1].toLowerCase()+" "]=(a[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=a[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?s:null},setRequestHeader:function(t,e){return null==c&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,_[t]=e),this},overrideMimeType:function(t){return null==c&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)C.always(t[C.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||w;return r&&r.abort(e),n(0,e),this}};if(v.promise(C),p.url=((t||p.url||Se.href)+"").replace(je,Se.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(St)||[""],null==p.crossDomain){u=gt.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=Ue.protocol+"//"+Ue.host!=u.protocol+"//"+u.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=vt.param(p.data,p.traditional)),J(He,p,e,C),c)return C;for(d in(h=vt.event&&p.global)&&0==vt.active++&&vt.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Re.test(p.type),o=p.url.replace($e,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Fe,"+")):(f=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(Me.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(Ne,"$1"),f=(Me.test(o)?"&":"?")+"_="+Ae.guid+++f),p.url=o+f),p.ifModified&&(vt.lastModified[o]&&C.setRequestHeader("If-Modified-Since",vt.lastModified[o]),vt.etag[o]&&C.setRequestHeader("If-None-Match",vt.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+We+"; q=0.01":""):p.accepts["*"]),p.headers)C.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(g,C,p)||c))return C.abort();if(w="abort",y.add(p.complete),C.done(p.success),C.fail(p.error),r=J(ze,p,e,C)){if(C.readyState=1,h&&m.trigger("ajaxSend",[C,p]),c)return C;p.async&&p.timeout>0&&(l=i.setTimeout(function(){C.abort("timeout")},p.timeout));try{c=!1,r.send(_,n)}catch(t){if(c)throw t;n(-1,t)}}else n(-1,"No Transport");return C},getJSON:function(t,e,i){return vt.get(t,e,i,"json")},getScript:function(t,e){return vt.get(t,void 0,e,"script")}}),vt.each(["get","post"],function(t,e){vt[e]=function(t,i,n,r){return ft(i)&&(r=r||n,n=i,i=void 0),vt.ajax(vt.extend({url:t,type:e,dataType:r,data:i,success:n},vt.isPlainObject(t)&&t))}}),vt.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),vt._evalUrl=function(t,e,i){return vt.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){vt.globalEval(t,e,i)}})},vt.fn.extend({wrapAll:function(t){var e;return this[0]&&(ft(t)&&(t=t.call(this[0])),e=vt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return ft(t)?this.each(function(e){vt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=vt(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=ft(t);return this.each(function(i){vt(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){vt(this).replaceWith(this.childNodes)}),this}}),vt.expr.pseudos.hidden=function(t){return!vt.expr.pseudos.visible(t)},vt.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},vt.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(t){}};var Be={0:200,1223:204},Ve=vt.ajaxSettings.xhr();dt.cors=!!Ve&&"withCredentials"in Ve,dt.ajax=Ve=!!Ve,vt.ajaxTransport(function(t){var e,n;if(dt.cors||Ve&&!t.crossDomain)return{send:function(r,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(s,r[s]);e=function(t){return function(){e&&(e=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Be[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),n=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&i.setTimeout(function(){e&&n()})},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),vt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),vt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return vt.globalEval(t),t}}}),vt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),vt.ajaxTransport("script",function(t){var e,i;if(t.crossDomain||t.scriptAttrs)return{send:function(n,r){e=vt("