diff --git a/assets/huegasm-0fac3ef2ffb3d9e97b9f59baf1bafec3.js b/assets/huegasm-42c83b1ce98a32fb0ea9d3ef91dc4ba5.js similarity index 99% rename from assets/huegasm-0fac3ef2ffb3d9e97b9f59baf1bafec3.js rename to assets/huegasm-42c83b1ce98a32fb0ea9d3ef91dc4ba5.js index e1c82b3..266af1a 100644 --- a/assets/huegasm-0fac3ef2ffb3d9e97b9f59baf1bafec3.js +++ b/assets/huegasm-42c83b1ce98a32fb0ea9d3ef91dc4ba5.js @@ -305,4 +305,4 @@ e.default=o}),define("huegasm/svgs",["exports"],function(e){Object.definePropert entity:'', floor:'',go:'',gu10:'',gu10_perfectfit:'',hds:'',impulse:'',iris:'',lightstrip:'',motion_sensor:'',par16:'',pendant_oval:'',pendant_round:'',pendant_square:'',phoenix_ceiling:'',phoenix_ceiling_2:'',phoenix_down:'',phoenix_pendant:'',phoenix_table:'',phoenix_wall:'',recessed:'',storylight:'',table:'',tap:'',white_and_color_e27:'',white_e27:''}}}},"safari-pinned-tab":''}}),define("huegasm/templates/components/transition-group",["exports"],function(e){ Object.defineProperty(e,"__esModule",{value:!0}),e.default=Ember.HTMLBars.template({id:"qoSDoMss",block:'{"statements":[[18,"default"],[0,"\\n"]],"locals":[],"named":[],"yields":["default"],"hasPartials":false}',meta:{moduleName:"huegasm/templates/components/transition-group.hbs"}})}),define("huegasm/utils/clamp",["exports","ember-paper/utils/clamp"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("huegasm/config/environment",["ember"],function(e){try{var t="huegasm/config/environment",n=document.querySelector('meta[name="'+t+'"]').getAttribute("content"),l=JSON.parse(unescape(n)),o={default:l} -return Object.defineProperty(o,"__esModule",{value:!0}),o}catch(e){throw new Error('Could not read config from meta tag with name "'+t+'".')}}),runningTests||require("huegasm/app").default.create({name:"huegasm",version:"1.0.0+c9673bea"}) +return Object.defineProperty(o,"__esModule",{value:!0}),o}catch(e){throw new Error('Could not read config from meta tag with name "'+t+'".')}}),runningTests||require("huegasm/app").default.create({name:"huegasm",version:"1.0.0+b17f0cbd"}) diff --git a/assets/vendor-4fa337b8035a9fed7a78f81a26e3eab2.js b/assets/vendor-99f419067837b6cdbfdc95e0b20113c6.js similarity index 61% rename from assets/vendor-4fa337b8035a9fed7a78f81a26e3eab2.js rename to assets/vendor-99f419067837b6cdbfdc95e0b20113c6.js index 06a3e9f..6111bf3 100644 --- a/assets/vendor-4fa337b8035a9fed7a78f81a26e3eab2.js +++ b/assets/vendor-99f419067837b6cdbfdc95e0b20113c6.js @@ -34,7 +34,7 @@ if("throw"!==l.type){var u=l.arg,c=u.value return c instanceof a?Promise.resolve(c.arg).then(function(e){t("next",e,o,s)},function(e){t("throw",e,o,s)}):Promise.resolve(c).then(function(e){u.value=e,o(u)},s)}s(l.arg)}function r(e,n){function r(){return new Promise(function(r,i){t(e,n,r,i)})}return i=i?i.then(r,r):r()}"object"==typeof process&&process.domain&&(t=process.domain.bind(t)) var i this._invoke=r}function u(e,t,r){var i=x -return function(o,s){if(i===C)throw new Error("Generator is already running") +return function(o,s){if(i===E)throw new Error("Generator is already running") if(i===T){if("throw"===o)throw s return f()}for(;;){var a=r.delegate if(a){if("return"===o||"throw"===o&&a.iterator[o]===m){r.delegate=null @@ -45,13 +45,13 @@ continue}}if("return"===o)continue}var u=n(a.iterator[o],a.iterator,s) if("throw"===u.type){r.delegate=null,o="throw",s=u.arg continue}o="next",s=m var c=u.arg -if(!c.done)return i=E,c +if(!c.done)return i=C,c r[a.resultName]=c.value,r.next=a.nextLoc,r.delegate=null}if("next"===o)r.sent=r._sent=s else if("throw"===o){if(i===x)throw i=T,s r.dispatchException(s)&&(o="next",s=m)}else"return"===o&&r.abrupt("return",s) -i=C +i=E var u=n(e,t,r) -if("normal"===u.type){i=r.done?T:E +if("normal"===u.type){i=r.done?T:C var c={value:u.arg,done:r.done} if(u.arg!==S)return c r.delegate&&"next"===o&&(s=m)}else"throw"===u.type&&(i=T,o="throw",s=u.arg)}}}function c(e){var t={tryLoc:e[0]} @@ -64,7 +64,7 @@ return t.value=m,t.done=!0,t} return r.next=r}}return{next:f}}function f(){return{value:m,done:!0}}var m,g=Object.prototype.hasOwnProperty,v="function"==typeof Symbol?Symbol:{},y=v.iterator||"@@iterator",b=v.toStringTag||"@@toStringTag",w="object"==typeof module,_=e.regeneratorRuntime if(_)return void(w&&(module.exports=_)) _=e.regeneratorRuntime=w?module.exports:{},_.wrap=t -var x="suspendedStart",E="suspendedYield",C="executing",T="completed",S={},O=o.prototype=r.prototype +var x="suspendedStart",C="suspendedYield",E="executing",T="completed",S={},O=o.prototype=r.prototype i.prototype=O.constructor=o,o.constructor=i,o[b]=i.displayName="GeneratorFunction",_.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor return!!t&&(t===i||"GeneratorFunction"===(t.displayName||t.name))},_.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,o):(e.__proto__=o,b in e||(e[b]="GeneratorFunction")),e.prototype=Object.create(O),e},_.awrap=function(e){return new a(e)},s(l.prototype),_.async=function(e,n,r,i){var o=new l(t(e,n,r,i)) return _.isGeneratorFunction(n)?o:o.next().then(function(e){return e.done?e.value:o.next()})},s(O),O[y]=function(){return this},O[b]="Generator",O.toString=function(){return"[object Generator]"},_.keys=function(e){var t=[] @@ -94,14 +94,14 @@ return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use str function n(e,t){t=t||ne var n=t.createElement("script") n.text=e,t.head.appendChild(n).parentNode.removeChild(n)}function r(e){var t=!!e&&"length"in e&&e.length,n=fe.type(e) -return"function"!==n&&!fe.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function i(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function o(e,t,n){return fe.isFunction(t)?fe.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?fe.grep(e,function(e){return e===t!==n}):"string"!=typeof t?fe.grep(e,function(e){return ae.call(t,e)>-1!==n}):Ce.test(t)?fe.filter(t,e,n):(t=fe.filter(t,e),fe.grep(e,function(e){return ae.call(t,e)>-1!==n&&1===e.nodeType}))}function s(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function a(e){var t={} -return fe.each(e.match(ke)||[],function(e,n){t[n]=!0}),t}function l(e){return e}function u(e){throw e}function c(e,t,n,r){var i -try{e&&fe.isFunction(i=e.promise)?i.call(e).done(t).fail(n):e&&fe.isFunction(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function p(){ne.removeEventListener("DOMContentLoaded",p),e.removeEventListener("load",p),fe.ready()}function d(){this.expando=fe.expando+d.uid++}function h(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Le.test(e)?JSON.parse(e):e)}function f(e,t,n){var r -if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(je,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=h(n)}catch(e){}De.set(e,t,n)}else n=void 0 +return"function"!==n&&!fe.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function i(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function o(e,t,n){return fe.isFunction(t)?fe.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?fe.grep(e,function(e){return e===t!==n}):"string"!=typeof t?fe.grep(e,function(e){return ae.call(t,e)>-1!==n}):Ee.test(t)?fe.filter(t,e,n):(t=fe.filter(t,e),fe.grep(e,function(e){return ae.call(t,e)>-1!==n&&1===e.nodeType}))}function s(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function a(e){var t={} +return fe.each(e.match(Pe)||[],function(e,n){t[n]=!0}),t}function l(e){return e}function u(e){throw e}function c(e,t,n,r){var i +try{e&&fe.isFunction(i=e.promise)?i.call(e).done(t).fail(n):e&&fe.isFunction(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function p(){ne.removeEventListener("DOMContentLoaded",p),e.removeEventListener("load",p),fe.ready()}function d(){this.expando=fe.expando+d.uid++}function h(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:De.test(e)?JSON.parse(e):e)}function f(e,t,n){var r +if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Le,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=h(n)}catch(e){}je.set(e,t,n)}else n=void 0 return n}function m(e,t,n,r){var i,o=1,s=20,a=r?function(){return r.cur()}:function(){return fe.css(e,t,"")},l=a(),u=n&&n[3]||(fe.cssNumber[t]?"":"px"),c=(fe.cssNumber[t]||"px"!==u&&+l)&&Be.exec(fe.css(e,t)) if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1 -do{o=o||".5",c/=o,fe.style(e,t,c+u)}while(o!==(o=a()/l)&&1!==o&&--s)}return n&&(c=+c||+l||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=i)),i}function g(e){var t,n=e.ownerDocument,r=e.nodeName,i=ze[r] -return i||(t=n.body.appendChild(n.createElement(r)),i=fe.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),ze[r]=i,i)}function v(e,t){for(var n,r,i=[],o=0,s=e.length;o-1)i&&i.push(o) else if(u=fe.contains(o.ownerDocument,o),s=y(p.appendChild(o),"script"),u&&b(s),n)for(c=0;o=s[c++];)Ke.test(o.type||"")&&n.push(o) -return p}function _(){return!0}function x(){return!1}function E(){try{return ne.activeElement}catch(e){}}function C(e,t,n,r,i,o){var s,a +return p}function _(){return!0}function x(){return!1}function C(){try{return ne.activeElement}catch(e){}}function E(e,t,n,r,i,o){var s,a if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0) -for(a in t)C(e,a,n,r,t[a],o) +for(a in t)E(e,a,n,r,t[a],o) return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=x else if(!i)return e return 1===o&&(s=i,i=function(e){return fe().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=fe.guid++)),e.each(function(){fe.event.add(this,t,i,r,n)})}function T(e,t){return i(e,"table")&&i(11!==t.nodeType?t:t.firstChild,"tr")?fe(">tbody",e)[0]||e:e}function S(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function O(e){var t=nt.exec(e.type) return t?e.type=t[1]:e.removeAttribute("type"),e}function A(e,t){var n,r,i,o,s,a,l,u if(1===t.nodeType){if(Me.hasData(e)&&(o=Me.access(e),s=Me.set(t,o),u=o.events)){delete s.handle,s.events={} -for(i in u)for(n=0,r=u[i].length;n1&&"string"==typeof f&&!he.checkClone&&tt.test(f))return e.each(function(n){var o=e.eq(n) -m&&(t[0]=f.call(this,n,o.html())),P(o,t,r,i)}) +m&&(t[0]=f.call(this,n,o.html())),k(o,t,r,i)}) if(d&&(o=w(t,e[0].ownerDocument,!1,e,i),s=o.firstChild,1===o.childNodes.length&&(o=s),s||i)){for(a=fe.map(y(o,"script"),S),l=a.length;p_.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[] return e}function r(e){return e[F]=!0,e}function i(e){var t=N.createElement("fieldset") try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)_.attrHandle[n[r]]=t}function s(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex if(r)return r if(n)for(;n=n.nextSibling;)if(n===t)return-1 return e?1:-1}function a(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&xe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function l(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}function u(e){return e&&void 0!==e.getElementsByTagName&&e}function c(){}function p(e){for(var t=0,n=e.length,r="";t-1&&(r[u]=!(s[u]=p))}}else b=m(b===s?b.splice(g,b.length):b),o?o(null,s,b,l):Q.apply(s,b)})}function v(e){for(var t,n,r,i=e.length,o=_.relative[e[0].type],s=o||_.relative[" "],a=o?1:0,l=d(function(e){return e===t},s,!0),u=d(function(e){return J(t,e)>-1},s,!0),c=[function(e,n,r){var i=!o&&(r||n!==O)||((t=n).nodeType?l(e,n,r):u(e,n,r)) return t=null,i}];a1&&h(c),a>1&&p(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(oe,"$1"),n,a0,o=e.length>0,s=function(r,s,a,l,u){var c,p,d,h=0,f="0",g=r&&[],v=[],y=O,b=r||o&&_.find.TAG("*",u),w=H+=null==y?1:Math.random()||.1,x=b.length -for(u&&(O=s===N||s||u);f!==x&&null!=(c=b[f]);f++){if(o&&c){for(p=0,s||c.ownerDocument===N||(P(c),a=!R);d=e[p++];)if(d(c,s||N,a)){l.push(c) +for(u&&(O=s===N||s||u);f!==x&&null!=(c=b[f]);f++){if(o&&c){for(p=0,s||c.ownerDocument===N||(k(c),a=!I);d=e[p++];)if(d(c,s||N,a)){l.push(c) break}u&&(H=w)}i&&((c=!d&&c)&&h--,r&&g.push(c))}if(h+=f,i&&f!==h){for(p=0;d=n[p++];)d(g,v,s,a) if(r){if(h>0)for(;f--;)g[f]||v[f]||(v[f]=Y.call(l)) v=m(v)}Q.apply(l,v),u&&!r&&v.length>0&&h+n.length>1&&t.uniqueSort(l)}return u&&(H=w,O=y),g} -return i?r(s):s}var b,w,_,x,E,C,T,S,O,A,k,P,N,I,R,M,D,L,j,F="sizzle"+1*new Date,B=e.document,H=0,U=0,q=n(),z=n(),V=n(),W=function(e,t){return e===t&&(k=!0),0},K={}.hasOwnProperty,G=[],Y=G.pop,$=G.push,Q=G.push,X=G.slice,J=function(e,t){for(var n=0,r=e.length;n+~]|"+ee+")"+ee+"*"),le=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),ue=new RegExp(re),ce=new RegExp("^"+te+"$"),pe={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},de=/^(?:input|select|textarea|button)$/i,he=/^h\d$/i,fe=/^[^{]+\{\s*\[native \w/,me=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ge=/[+~]/,ve=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),ye=function(e,t,n){var r="0x"+t-65536 -return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},be=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,we=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},_e=function(){P()},xe=d(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"}) -try{Q.apply(G=X.call(B.childNodes),B.childNodes),G[B.childNodes.length].nodeType}catch(e){Q={apply:G.length?function(e,t){$.apply(e,X.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}w=t.support={},E=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement -return!!t&&"HTML"!==t.nodeName},P=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:B -return r!==N&&9===r.nodeType&&r.documentElement?(N=r,I=N.documentElement,R=!E(N),B!==N&&(n=N.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",_e,!1):n.attachEvent&&n.attachEvent("onunload",_e)),w.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=i(function(e){return e.appendChild(N.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=fe.test(N.getElementsByClassName),w.getById=i(function(e){return I.appendChild(e).id=F,!N.getElementsByName||!N.getElementsByName(F).length}),w.getById?(_.filter.ID=function(e){var t=e.replace(ve,ye) -return function(e){return e.getAttribute("id")===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&R){var n=t.getElementById(e) +return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},be=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,we=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},_e=function(){k()},xe=d(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"}) +try{Q.apply(G=X.call(B.childNodes),B.childNodes),G[B.childNodes.length].nodeType}catch(e){Q={apply:G.length?function(e,t){$.apply(e,X.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}w=t.support={},C=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement +return!!t&&"HTML"!==t.nodeName},k=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:B +return r!==N&&9===r.nodeType&&r.documentElement?(N=r,R=N.documentElement,I=!C(N),B!==N&&(n=N.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",_e,!1):n.attachEvent&&n.attachEvent("onunload",_e)),w.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=i(function(e){return e.appendChild(N.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=fe.test(N.getElementsByClassName),w.getById=i(function(e){return R.appendChild(e).id=F,!N.getElementsByName||!N.getElementsByName(F).length}),w.getById?(_.filter.ID=function(e){var t=e.replace(ve,ye) +return function(e){return e.getAttribute("id")===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&I){var n=t.getElementById(e) return n?[n]:[]}}):(_.filter.ID=function(e){var t=e.replace(ve,ye) return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id") -return n&&n.value===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&R){var n,r,i,o=t.getElementById(e) +return n&&n.value===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&I){var n,r,i,o=t.getElementById(e) if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o] for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),_.find.TAG=w.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e) if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n) -return r}return o},_.find.CLASS=w.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&R)return t.getElementsByClassName(e)},D=[],M=[],(w.qsa=fe.test(N.querySelectorAll))&&(i(function(e){I.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&M.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||M.push("\\["+ee+"*(?:value|"+Z+")"),e.querySelectorAll("[id~="+F+"-]").length||M.push("~="),e.querySelectorAll(":checked").length||M.push(":checked"),e.querySelectorAll("a#"+F+"+*").length||M.push(".#.+[+~]")}),i(function(e){e.innerHTML="" +return r}return o},_.find.CLASS=w.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&I)return t.getElementsByClassName(e)},j=[],M=[],(w.qsa=fe.test(N.querySelectorAll))&&(i(function(e){R.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&M.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||M.push("\\["+ee+"*(?:value|"+Z+")"),e.querySelectorAll("[id~="+F+"-]").length||M.push("~="),e.querySelectorAll(":checked").length||M.push(":checked"),e.querySelectorAll("a#"+F+"+*").length||M.push(".#.+[+~]")}),i(function(e){e.innerHTML="" var t=N.createElement("input") -t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&M.push("name"+ee+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&M.push(":enabled",":disabled"),I.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&M.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),M.push(",.*:")})),(w.matchesSelector=fe.test(L=I.matches||I.webkitMatchesSelector||I.mozMatchesSelector||I.oMatchesSelector||I.msMatchesSelector))&&i(function(e){w.disconnectedMatch=L.call(e,"*"),L.call(e,"[s!='']:x"),D.push("!=",re)}),M=M.length&&new RegExp(M.join("|")),D=D.length&&new RegExp(D.join("|")),t=fe.test(I.compareDocumentPosition),j=t||fe.test(I.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode +t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&M.push("name"+ee+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&M.push(":enabled",":disabled"),R.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&M.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),M.push(",.*:")})),(w.matchesSelector=fe.test(D=R.matches||R.webkitMatchesSelector||R.mozMatchesSelector||R.oMatchesSelector||R.msMatchesSelector))&&i(function(e){w.disconnectedMatch=D.call(e,"*"),D.call(e,"[s!='']:x"),j.push("!=",re)}),M=M.length&&new RegExp(M.join("|")),j=j.length&&new RegExp(j.join("|")),t=fe.test(R.compareDocumentPosition),L=t||fe.test(R.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0 -return!1},W=t?function(e,t){if(e===t)return k=!0,0 +return!1},W=t?function(e,t){if(e===t)return P=!0,0 var n=!e.compareDocumentPosition-!t.compareDocumentPosition -return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===N||e.ownerDocument===B&&j(B,e)?-1:t===N||t.ownerDocument===B&&j(B,t)?1:A?J(A,e)-J(A,t):0:4&n?-1:1)}:function(e,t){if(e===t)return k=!0,0 +return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===N||e.ownerDocument===B&&L(B,e)?-1:t===N||t.ownerDocument===B&&L(B,t)?1:A?J(A,e)-J(A,t):0:4&n?-1:1)}:function(e,t){if(e===t)return P=!0,0 var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],l=[t] if(!i||!o)return e===N?-1:t===N?1:i?-1:o?1:A?J(A,e)-J(A,t):0 if(i===o)return s(e,t) for(n=e;n=n.parentNode;)a.unshift(n) for(n=t;n=n.parentNode;)l.unshift(n) for(;a[r]===l[r];)r++ -return r?s(a[r],l[r]):a[r]===B?-1:l[r]===B?1:0},N):N},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==N&&P(e),n=n.replace(le,"='$1']"),w.matchesSelector&&R&&!V[n+" "]&&(!D||!D.test(n))&&(!M||!M.test(n)))try{var r=L.call(e,n) -if(r||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,N,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==N&&P(e),j(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==N&&P(e) -var n=_.attrHandle[t.toLowerCase()],r=n&&K.call(_.attrHandle,t.toLowerCase())?n(e,t,!R):void 0 -return void 0!==r?r:w.attributes||!R?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(be,we)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0 -if(k=!w.detectDuplicates,A=!w.sortStable&&e.slice(0),e.sort(W),k){for(;t=e[i++];)t===e[i]&&(r=n.push(i)) +return r?s(a[r],l[r]):a[r]===B?-1:l[r]===B?1:0},N):N},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==N&&k(e),n=n.replace(le,"='$1']"),w.matchesSelector&&I&&!V[n+" "]&&(!j||!j.test(n))&&(!M||!M.test(n)))try{var r=D.call(e,n) +if(r||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,N,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==N&&k(e),L(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==N&&k(e) +var n=_.attrHandle[t.toLowerCase()],r=n&&K.call(_.attrHandle,t.toLowerCase())?n(e,t,!I):void 0 +return void 0!==r?r:w.attributes||!I?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(be,we)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0 +if(P=!w.detectDuplicates,A=!w.sortStable&&e.slice(0),e.sort(W),P){for(;t=e[i++];)t===e[i]&&(r=n.push(i)) for(;r--;)e.splice(n[r],1)}return A=null,e},x=t.getText=function(e){var t,n="",r=0,i=e.nodeType if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent for(e=e.firstChild;e;e=e.nextSibling)n+=x(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=x(t) return n},_=t.selectors={cacheLength:50,createPseudo:r,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ve,ye),e[3]=(e[3]||e[4]||e[5]||"").replace(ve,ye),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2] -return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ue.test(n)&&(t=C(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ve,ye).toLowerCase() +return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ue.test(n)&&(t=E(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ve,ye).toLowerCase() return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=q[e+" "] return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&q(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e) return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ie," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t @@ -261,9 +261,9 @@ f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[s?g.firstChild:g.lastChild],s&& break}}else if(y&&(d=t,p=d[F]||(d[F]={}),c=p[d.uniqueID]||(p[d.uniqueID]={}),u=c[e]||[],h=u[0]===H&&u[1],b=h),!1===b)for(;(d=++h&&d&&d[m]||(b=h=0)||f.pop())&&((a?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++b||(y&&(p=d[F]||(d[F]={}),c=p[d.uniqueID]||(p[d.uniqueID]={}),c[e]=[H,b]),d!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,n){var i,o=_.pseudos[e]||_.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e) return o[F]?o(n):o.length>1?(i=[e,e,"",n],_.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),s=i.length;s--;)r=J(e,i[s]),e[r]=!(t[r]=i[s])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=T(e.replace(oe,"$1")) return i[F]?r(function(e,t,n,r){for(var o,s=i(e,null,r,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ve,ye),function(t){return(t.textContent||t.innerText||x(t)).indexOf(e)>-1}}),lang:r(function(e){return ce.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ve,ye).toLowerCase(),function(t){var n -do{if(n=R?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType) +do{if(n=I?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType) return!1}}),target:function(t){var n=e.location&&e.location.hash -return n&&n.slice(1)===t.id},root:function(e){return e===I},focus:function(e){return e===N.activeElement&&(!N.hasFocus||N.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:a(!1),disabled:a(!0),checked:function(e){var t=e.nodeName.toLowerCase() +return n&&n.slice(1)===t.id},root:function(e){return e===R},focus:function(e){return e===N.activeElement&&(!N.hasFocus||N.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:a(!1),disabled:a(!0),checked:function(e){var t=e.nodeName.toLowerCase() return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1 return!0},parent:function(e){return!_.pseudos.empty(e)},header:function(e){return he.test(e.nodeName)},input:function(e){return de.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase() return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t @@ -275,21 +275,21 @@ return e})}},_.pseudos.nth=_.pseudos.eq for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[b]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(b) for(b in{submit:!0,reset:!0})_.pseudos[b]=function(e){return function(t){var n=t.nodeName.toLowerCase() return("input"===n||"button"===n)&&t.type===e}}(b) -return c.prototype=_.filters=_.pseudos,_.setFilters=new c,C=t.tokenize=function(e,n){var r,i,o,s,a,l,u,c=z[e+" "] +return c.prototype=_.filters=_.pseudos,_.setFilters=new c,E=t.tokenize=function(e,n){var r,i,o,s,a,l,u,c=U[e+" "] if(c)return n?0:c.slice(0) for(a=e,l=[],u=_.preFilter;a;){r&&!(i=se.exec(a))||(i&&(a=a.slice(i[0].length)||a),l.push(o=[])),r=!1,(i=ae.exec(a))&&(r=i.shift(),o.push({value:r,type:i[0].replace(oe," ")}),a=a.slice(r.length)) for(s in _.filter)!(i=pe[s].exec(a))||u[s]&&!(i=u[s](i))||(r=i.shift(),o.push({value:r,type:s,matches:i}),a=a.slice(r.length)) -if(!r)break}return n?a.length:a?t.error(e):z(e,l).slice(0)},T=t.compile=function(e,t){var n,r=[],i=[],o=V[e+" "] -if(!o){for(t||(t=C(e)),n=t.length;n--;)o=v(t[n]),o[F]?r.push(o):i.push(o) -o=V(e,y(i,r)),o.selector=e}return o},S=t.select=function(e,t,n,r){var i,o,s,a,l,c="function"==typeof e&&e,d=!r&&C(e=c.selector||e) -if(n=n||[],1===d.length){if(o=d[0]=d[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&9===t.nodeType&&R&&_.relative[o[1].type]){if(!(t=(_.find.ID(s.matches[0].replace(ve,ye),t)||[])[0]))return n +if(!r)break}return n?a.length:a?t.error(e):U(e,l).slice(0)},T=t.compile=function(e,t){var n,r=[],i=[],o=V[e+" "] +if(!o){for(t||(t=E(e)),n=t.length;n--;)o=v(t[n]),o[F]?r.push(o):i.push(o) +o=V(e,y(i,r)),o.selector=e}return o},S=t.select=function(e,t,n,r){var i,o,s,a,l,c="function"==typeof e&&e,d=!r&&E(e=c.selector||e) +if(n=n||[],1===d.length){if(o=d[0]=d[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&9===t.nodeType&&I&&_.relative[o[1].type]){if(!(t=(_.find.ID(s.matches[0].replace(ve,ye),t)||[])[0]))return n c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=pe.needsContext.test(e)?0:o.length;i--&&(s=o[i],!_.relative[a=s.type]);)if((l=_.find[a])&&(r=l(s.matches[0].replace(ve,ye),ge.test(o[0].type)&&u(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&p(o)))return Q.apply(n,r),n -break}}return(c||T(e,d))(r,t,!R,n,!t||ge.test(e)&&u(t.parentNode)||t),n},w.sortStable=F.split("").sort(W).join("")===F,w.detectDuplicates=!!k,P(),w.sortDetached=i(function(e){return 1&e.compareDocumentPosition(N.createElement("fieldset"))}),i(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&i(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(Z,function(e,t,n){var r +break}}return(c||T(e,d))(r,t,!I,n,!t||ge.test(e)&&u(t.parentNode)||t),n},w.sortStable=F.split("").sort(W).join("")===F,w.detectDuplicates=!!P,k(),w.sortDetached=i(function(e){return 1&e.compareDocumentPosition(N.createElement("fieldset"))}),i(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&i(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(Z,function(e,t,n){var r if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e) fe.find=be,fe.expr=be.selectors,fe.expr[":"]=fe.expr.pseudos,fe.uniqueSort=fe.unique=be.uniqueSort,fe.text=be.getText,fe.isXMLDoc=be.isXML,fe.contains=be.contains,fe.escapeSelector=be.escape var we=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&fe(e).is(n))break r.push(e)}return r},_e=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e) -return n},xe=fe.expr.match.needsContext,Ee=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,Ce=/^.[^:#\[\.,]*$/ +return n},xe=fe.expr.match.needsContext,Ce=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,Ee=/^.[^:#\[\.,]*$/ fe.filter=function(e,t,n){var r=t[0] return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?fe.find.matchesSelector(r,e)?[r]:[]:fe.find.matches(e,fe.grep(t,function(e){return 1===e.nodeType}))},fe.fn.extend({find:function(e){var t,n,r=this.length,i=this if("string"!=typeof e)return this.pushStack(fe(e).filter(function(){for(t=0;t1?fe.uniqueSort(n):n},filter:function(e){return this.pushStack(o(this,e var Te,Se=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(fe.fn.init=function(e,t,n){var r,i if(!e)return this if(n=n||Te,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Se.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e) -if(r[1]){if(t=t instanceof fe?t[0]:t,fe.merge(this,fe.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:ne,!0)),Ee.test(r[1])&&fe.isPlainObject(t))for(r in t)fe.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]) +if(r[1]){if(t=t instanceof fe?t[0]:t,fe.merge(this,fe.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:ne,!0)),Ce.test(r[1])&&fe.isPlainObject(t))for(r in t)fe.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]) return this}return i=ne.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):fe.isFunction(e)?void 0!==n.ready?n.ready(e):e(fe):fe.makeArray(e,this)}).prototype=fe.fn,Te=fe(ne) var Oe=/^(?:parents|prev(?:Until|All))/,Ae={children:!0,contents:!0,next:!0,prev:!0} fe.fn.extend({has:function(e){var t=fe(e,this),n=t.length @@ -307,7 +307,7 @@ if(!xe.test(e))for(;r1?fe.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?ae.call(fe(e),this[0]):ae.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(fe.uniqueSort(fe.merge(this.get(),fe(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),fe.each({parent:function(e){var t=e.parentNode return t&&11!==t.nodeType?t:null},parents:function(e){return we(e,"parentNode")},parentsUntil:function(e,t,n){return we(e,"parentNode",n)},next:function(e){return s(e,"nextSibling")},prev:function(e){return s(e,"previousSibling")},nextAll:function(e){return we(e,"nextSibling")},prevAll:function(e){return we(e,"previousSibling")},nextUntil:function(e,t,n){return we(e,"nextSibling",n)},prevUntil:function(e,t,n){return we(e,"previousSibling",n)},siblings:function(e){return _e((e.parentNode||{}).firstChild,e)},children:function(e){return _e(e.firstChild)},contents:function(e){return i(e,"iframe")?e.contentDocument:(i(e,"template")&&(e=e.content||e),fe.merge([],e.childNodes))}},function(e,t){fe.fn[e]=function(n,r){var i=fe.map(this,t,n) return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=fe.filter(r,i)),this.length>1&&(Ae[e]||fe.uniqueSort(i),Oe.test(e)&&i.reverse()),this.pushStack(i)}}) -var ke=/[^\x20\t\r\n\f]+/g +var Pe=/[^\x20\t\r\n\f]+/g fe.Callbacks=function(e){e="string"==typeof e?a(e):fe.extend({},e) var t,n,r,i,o=[],s=[],l=-1,u=function(){for(i=i||e.once,r=t=!0;s.length;l=-1)for(n=s.shift();++l-1;)o.splice(n,1),n<=l&&l--}),this},has:function(e){return e?fe.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=s=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}} @@ -324,28 +324,28 @@ i[t[1]]=s.add,a&&s.add(function(){r=a},n[3-e][2].disable,n[0][2].lock),s.add(t[3 if(t<=1&&(c(e,o.done(s(n)).resolve,o.reject,!t),"pending"===o.state()||fe.isFunction(i[n]&&i[n].then)))return o.then() for(;n--;)c(i[n],s(n),o.reject) return o.promise()}}) -var Pe=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/ -fe.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Pe.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},fe.readyException=function(t){e.setTimeout(function(){throw t})} +var ke=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/ +fe.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&ke.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},fe.readyException=function(t){e.setTimeout(function(){throw t})} var Ne=fe.Deferred() fe.fn.ready=function(e){return Ne.then(e).catch(function(e){fe.readyException(e)}),this},fe.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--fe.readyWait:fe.isReady)||(fe.isReady=!0,!0!==e&&--fe.readyWait>0||Ne.resolveWith(ne,[fe]))}}),fe.ready.then=Ne.then,"complete"===ne.readyState||"loading"!==ne.readyState&&!ne.documentElement.doScroll?e.setTimeout(fe.ready):(ne.addEventListener("DOMContentLoaded",p),e.addEventListener("load",p)) -var Ie=function(e,t,n,r,i,o,s){var a=0,l=e.length,u=null==n +var Re=function(e,t,n,r,i,o,s){var a=0,l=e.length,u=null==n if("object"===fe.type(n)){i=!0 -for(a in n)Ie(e,t,a,n[a],!0,o,s)}else if(void 0!==r&&(i=!0,fe.isFunction(r)||(s=!0),u&&(s?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(fe(e),n)})),t))for(;a1,null,!0)},removeData:function(e){return this.each(function(){De.remove(this,e)})}}),fe.extend({queue:function(e,t,n){var r +var Me=new d,je=new d,De=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Le=/[A-Z]/g +fe.extend({hasData:function(e){return je.hasData(e)||Me.hasData(e)},data:function(e,t,n){return je.access(e,t,n)},removeData:function(e,t){je.remove(e,t)},_data:function(e,t,n){return Me.access(e,t,n)},_removeData:function(e,t){Me.remove(e,t)}}),fe.fn.extend({data:function(e,t){var n,r,i,o=this[0],s=o&&o.attributes +if(void 0===e){if(this.length&&(i=je.get(o),1===o.nodeType&&!Me.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(r=s[n].name,0===r.indexOf("data-")&&(r=fe.camelCase(r.slice(5)),f(o,r,i[r]))) +Me.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){je.set(this,e)}):Re(this,function(t){var n +if(o&&void 0===t){if(void 0!==(n=je.get(o,e)))return n +if(void 0!==(n=f(o,e)))return n}else this.each(function(){je.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){je.remove(this,e)})}}),fe.extend({queue:function(e,t,n){var r if(e)return t=(t||"fx")+"queue",r=Me.get(e,t),n&&(!r||Array.isArray(n)?r=Me.access(e,t,fe.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx" var n=fe.queue(e,t),r=n.length,i=n.shift(),o=fe._queueHooks(e,t),s=function(){fe.dequeue(e,t)} "inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,s,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks" @@ -354,50 +354,50 @@ return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]+)/i,Ke=/^$|\/(?:java|ecma)script/i,Ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]} Ge.optgroup=Ge.option,Ge.tbody=Ge.tfoot=Ge.colgroup=Ge.caption=Ge.thead,Ge.th=Ge.td var Ye=/<|&#?\w+;/;(function(){var e=ne.createDocumentFragment(),t=e.appendChild(ne.createElement("div")),n=ne.createElement("input") n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),he.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="",he.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue})() var $e=ne.documentElement,Qe=/^key/,Xe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Je=/^([^.]*)(?:\.(.+)|)/ fe.event={global:{},add:function(e,t,n,r,i){var o,s,a,l,u,c,p,d,h,f,m,g=Me.get(e) -if(g)for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&fe.find.matchesSelector($e,i),n.guid||(n.guid=fe.guid++),(l=g.events)||(l=g.events={}),(s=g.handle)||(s=g.handle=function(t){return void 0!==fe&&fe.event.triggered!==t.type?fe.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(ke)||[""],u=t.length;u--;)a=Je.exec(t[u])||[],h=m=a[1],f=(a[2]||"").split(".").sort(),h&&(p=fe.event.special[h]||{},h=(i?p.delegateType:p.bindType)||h,p=fe.event.special[h]||{},c=fe.extend({type:h,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&fe.expr.match.needsContext.test(i),namespace:f.join(".")},o),(d=l[h])||(d=l[h]=[],d.delegateCount=0,p.setup&&!1!==p.setup.call(e,r,f,s)||e.addEventListener&&e.addEventListener(h,s)),p.add&&(p.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),fe.event.global[h]=!0)},remove:function(e,t,n,r,i){var o,s,a,l,u,c,p,d,h,f,m,g=Me.hasData(e)&&Me.get(e) -if(g&&(l=g.events)){for(t=(t||"").match(ke)||[""],u=t.length;u--;)if(a=Je.exec(t[u])||[],h=m=a[1],f=(a[2]||"").split(".").sort(),h){for(p=fe.event.special[h]||{},h=(r?p.delegateType:p.bindType)||h,d=l[h]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=d.length;o--;)c=d[o],!i&&m!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,p.remove&&p.remove.call(e,c)) +if(g)for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&fe.find.matchesSelector($e,i),n.guid||(n.guid=fe.guid++),(l=g.events)||(l=g.events={}),(s=g.handle)||(s=g.handle=function(t){return void 0!==fe&&fe.event.triggered!==t.type?fe.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Pe)||[""],u=t.length;u--;)a=Je.exec(t[u])||[],h=m=a[1],f=(a[2]||"").split(".").sort(),h&&(p=fe.event.special[h]||{},h=(i?p.delegateType:p.bindType)||h,p=fe.event.special[h]||{},c=fe.extend({type:h,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&fe.expr.match.needsContext.test(i),namespace:f.join(".")},o),(d=l[h])||(d=l[h]=[],d.delegateCount=0,p.setup&&!1!==p.setup.call(e,r,f,s)||e.addEventListener&&e.addEventListener(h,s)),p.add&&(p.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),fe.event.global[h]=!0)},remove:function(e,t,n,r,i){var o,s,a,l,u,c,p,d,h,f,m,g=Me.hasData(e)&&Me.get(e) +if(g&&(l=g.events)){for(t=(t||"").match(Pe)||[""],u=t.length;u--;)if(a=Je.exec(t[u])||[],h=m=a[1],f=(a[2]||"").split(".").sort(),h){for(p=fe.event.special[h]||{},h=(r?p.delegateType:p.bindType)||h,d=l[h]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=d.length;o--;)c=d[o],!i&&m!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,p.remove&&p.remove.call(e,c)) s&&!d.length&&(p.teardown&&!1!==p.teardown.call(e,f,g.handle)||fe.removeEvent(e,h,g.handle),delete l[h])}else for(h in l)fe.event.remove(e,h+t[u],n,r,!0) fe.isEmptyObject(l)&&Me.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,s,a=fe.event.fix(e),l=new Array(arguments.length),u=(Me.get(this,"events")||{})[a.type]||[],c=fe.event.special[a.type]||{} for(l[0]=a,t=1;t=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(o=[],s={},n=0;n-1:fe.find(i,this,null,[u]).length),s[i]&&o.push(r) -o.length&&a.push({elem:u,handlers:o})}return u=this,l\x20\t\r\n\f]*)[^>]*)\/>/gi,et=/\s*$/g fe.extend({htmlPrefilter:function(e){return e.replace(Ze,"<$1>")},clone:function(e,t,n){var r,i,o,s,a=e.cloneNode(!0),l=fe.contains(e.ownerDocument,e) -if(!(he.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||fe.isXMLDoc(e)))for(s=y(a),o=y(e),r=0,i=o.length;r0&&b(s,!l&&y(e,"script")),a},cleanData:function(e){for(var t,n,r,i=fe.event.special,o=0;void 0!==(n=e[o]);o++)if(Re(n)){if(t=n[Me.expando]){if(t.events)for(r in t.events)i[r]?fe.event.remove(n,r):fe.removeEvent(n,r,t.handle) -n[Me.expando]=void 0}n[De.expando]&&(n[De.expando]=void 0)}}}),fe.fn.extend({detach:function(e){return N(this,e,!0)},remove:function(e){return N(this,e)},text:function(e){return Ie(this,function(e){return void 0===e?fe.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return P(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){T(this,e).appendChild(e)}})},prepend:function(){return P(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=T(this,e) -t.insertBefore(e,t.firstChild)}})},before:function(){return P(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return P(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(fe.cleanData(y(e,!1)),e.textContent="") -return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return fe.clone(this,e,t)})},html:function(e){return Ie(this,function(e){var t=this[0]||{},n=0,r=this.length +return s=y(a,"script"),s.length>0&&b(s,!l&&y(e,"script")),a},cleanData:function(e){for(var t,n,r,i=fe.event.special,o=0;void 0!==(n=e[o]);o++)if(Ie(n)){if(t=n[Me.expando]){if(t.events)for(r in t.events)i[r]?fe.event.remove(n,r):fe.removeEvent(n,r,t.handle) +n[Me.expando]=void 0}n[je.expando]&&(n[je.expando]=void 0)}}}),fe.fn.extend({detach:function(e){return N(this,e,!0)},remove:function(e){return N(this,e)},text:function(e){return Re(this,function(e){return void 0===e?fe.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return k(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){T(this,e).appendChild(e)}})},prepend:function(){return k(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=T(this,e) +t.insertBefore(e,t.firstChild)}})},before:function(){return k(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return k(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(fe.cleanData(y(e,!1)),e.textContent="") +return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return fe.clone(this,e,t)})},html:function(e){return Re(this,function(e){var t=this[0]||{},n=0,r=this.length if(void 0===e&&1===t.nodeType)return t.innerHTML if("string"==typeof e&&!et.test(e)&&!Ge[(We.exec(e)||["",""])[1].toLowerCase()]){e=fe.htmlPrefilter(e) try{for(;n1)}}),fe.Tween=B,B.prototype={constructor:B,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||fe.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(fe.cssNumber[n]?"":"px")},cur:function(){var e=B.propHooks[this.prop] return e&&e.get?e.get(this):B.propHooks._default.get(this)},run:function(e){var t,n=B.propHooks[this.prop] @@ -420,9 +420,9 @@ return this.options.duration?this.pos=t=fe.easing[this.easing](e,this.options.du return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=fe.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){fe.fx.step[e.prop]?fe.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[fe.cssProps[e.prop]]&&!fe.cssHooks[e.prop]?e.elem[e.prop]=e.now:fe.style(e.elem,e.prop,e.now+e.unit)}}},B.propHooks.scrollTop=B.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},fe.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},fe.fx=B.prototype.init,fe.fx.step={} var ht,ft,mt=/^(?:toggle|show|hide)$/,gt=/queueHooks$/ fe.Animation=fe.extend(K,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t) -return m(n.elem,e,Be.exec(t),n),n}]},tweener:function(e,t){fe.isFunction(e)?(t=e,e=["*"]):e=e.match(ke) +return m(n.elem,e,Be.exec(t),n),n}]},tweener:function(e,t){fe.isFunction(e)?(t=e,e=["*"]):e=e.match(Pe) for(var n,r=0,i=e.length;r1)},removeAttr:function(e){return this.each(function(){fe.removeAttr(this,e)})}}),fe.extend({attr:function(e,t,n){var r,i,o=e.nodeType +fe.fn.extend({attr:function(e,t){return Re(this,fe.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){fe.removeAttr(this,e)})}}),fe.extend({attr:function(e,t,n){var r,i,o=e.nodeType if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?fe.prop(e,t,n):(1===o&&fe.isXMLDoc(e)||(i=fe.attrHooks[t.toLowerCase()]||(fe.expr.match.bool.test(t)?vt:void 0)),void 0!==n?null===n?void fe.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=fe.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!he.radioValue&&"radio"===t&&i(e,"input")){var n=e.value -return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(ke) +return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Pe) if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),vt={set:function(e,t,n){return!1===t?fe.removeAttr(e,n):e.setAttribute(n,n),n}},fe.each(fe.expr.match.bool.source.match(/\w+/g),function(e,t){var n=yt[t]||fe.find.attr yt[t]=function(e,t,r){var i,o,s=t.toLowerCase() return r||(o=yt[s],yt[s]=i,i=null!=n(e,t,r)?s:null,yt[s]=o),i}}) var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i -fe.fn.extend({prop:function(e,t){return Ie(this,fe.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[fe.propFix[e]||e]})}}),fe.extend({prop:function(e,t,n){var r,i,o=e.nodeType +fe.fn.extend({prop:function(e,t){return Re(this,fe.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[fe.propFix[e]||e]})}}),fe.extend({prop:function(e,t,n){var r,i,o=e.nodeType if(3!==o&&8!==o&&2!==o)return 1===o&&fe.isXMLDoc(e)||(t=fe.propFix[t]||t,i=fe.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=fe.find.attr(e,"tabindex") return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),he.optSelected||(fe.propHooks.selected={get:function(e){var t=e.parentNode return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),fe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){fe.propFix[this.toLowerCase()]=this}),fe.fn.extend({addClass:function(e){var t,n,r,i,o,s,a,l=0 if(fe.isFunction(e))return this.each(function(t){fe(this).addClass(e.call(this,t,Y(this)))}) -if("string"==typeof e&&e)for(t=e.match(ke)||[];n=this[l++];)if(i=Y(n),r=1===n.nodeType&&" "+G(i)+" "){for(s=0;o=t[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ") +if("string"==typeof e&&e)for(t=e.match(Pe)||[];n=this[l++];)if(i=Y(n),r=1===n.nodeType&&" "+G(i)+" "){for(s=0;o=t[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ") a=G(r),i!==a&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,r,i,o,s,a,l=0 if(fe.isFunction(e))return this.each(function(t){fe(this).removeClass(e.call(this,t,Y(this)))}) if(!arguments.length)return this.attr("class","") -if("string"==typeof e&&e)for(t=e.match(ke)||[];n=this[l++];)if(i=Y(n),r=1===n.nodeType&&" "+G(i)+" "){for(s=0;o=t[s++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ") +if("string"==typeof e&&e)for(t=e.match(Pe)||[];n=this[l++];)if(i=Y(n),r=1===n.nodeType&&" "+G(i)+" "){for(s=0;o=t[s++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ") a=G(r),i!==a&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):fe.isFunction(e)?this.each(function(n){fe(this).toggleClass(e.call(this,n,Y(this),t),t)}):this.each(function(){var t,r,i,o -if("string"===n)for(r=0,i=fe(this),o=e.match(ke)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t) +if("string"===n)for(r=0,i=fe(this),o=e.match(Pe)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t) else void 0!==e&&"boolean"!==n||(t=Y(this),t&&Me.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Me.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0 for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+G(Y(n))+" ").indexOf(t)>-1)return!0 return!1}}) @@ -475,409 +475,381 @@ return n||(e.selectedIndex=-1),o}}}}),fe.each(["radio","checkbox"],function(){fe var xt=/^(?:focusinfocus|focusoutblur)$/ fe.extend(fe.event,{trigger:function(t,n,r,i){var o,s,a,l,u,c,p,d=[r||ne],h=ce.call(t,"type")?t.type:t,f=ce.call(t,"namespace")?t.namespace.split("."):[] if(s=a=r=r||ne,3!==r.nodeType&&8!==r.nodeType&&!xt.test(h+fe.event.triggered)&&(h.indexOf(".")>-1&&(f=h.split("."),h=f.shift(),f.sort()),u=h.indexOf(":")<0&&"on"+h,t=t[fe.expando]?t:new fe.Event(h,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=f.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:fe.makeArray(n,[t]),p=fe.event.special[h]||{},i||!p.trigger||!1!==p.trigger.apply(r,n))){if(!i&&!p.noBubble&&!fe.isWindow(r)){for(l=p.delegateType||h,xt.test(l+h)||(s=s.parentNode);s;s=s.parentNode)d.push(s),a=s -a===(r.ownerDocument||ne)&&d.push(a.defaultView||a.parentWindow||e)}for(o=0;(s=d[o++])&&!t.isPropagationStopped();)t.type=o>1?l:p.bindType||h,c=(Me.get(s,"events")||{})[t.type]&&Me.get(s,"handle"),c&&c.apply(s,n),(c=u&&s[u])&&c.apply&&Re(s)&&(t.result=c.apply(s,n),!1===t.result&&t.preventDefault()) -return t.type=h,i||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(d.pop(),n)||!Re(r)||u&&fe.isFunction(r[h])&&!fe.isWindow(r)&&(a=r[u],a&&(r[u]=null),fe.event.triggered=h,r[h](),fe.event.triggered=void 0,a&&(r[u]=a)),t.result}},simulate:function(e,t,n){var r=fe.extend(new fe.Event,n,{type:e,isSimulated:!0}) +a===(r.ownerDocument||ne)&&d.push(a.defaultView||a.parentWindow||e)}for(o=0;(s=d[o++])&&!t.isPropagationStopped();)t.type=o>1?l:p.bindType||h,c=(Me.get(s,"events")||{})[t.type]&&Me.get(s,"handle"),c&&c.apply(s,n),(c=u&&s[u])&&c.apply&&Ie(s)&&(t.result=c.apply(s,n),!1===t.result&&t.preventDefault()) +return t.type=h,i||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(d.pop(),n)||!Ie(r)||u&&fe.isFunction(r[h])&&!fe.isWindow(r)&&(a=r[u],a&&(r[u]=null),fe.event.triggered=h,r[h](),fe.event.triggered=void 0,a&&(r[u]=a)),t.result}},simulate:function(e,t,n){var r=fe.extend(new fe.Event,n,{type:e,isSimulated:!0}) fe.event.trigger(r,null,t)}}),fe.fn.extend({trigger:function(e,t){return this.each(function(){fe.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0] if(n)return fe.event.trigger(e,t,n,!0)}}),fe.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){fe.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),fe.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),he.focusin="onfocusin"in e,he.focusin||fe.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){fe.event.simulate(t,e.target,fe.event.fix(e))} fe.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=Me.access(r,t) i||r.addEventListener(e,n,!0),Me.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Me.access(r,t)-1 i?Me.access(r,t,i):(r.removeEventListener(e,n,!0),Me.remove(r,t))}}}) -var Et=e.location,Ct=fe.now(),Tt=/\?/ +var Ct=e.location,Et=fe.now(),Tt=/\?/ fe.parseXML=function(t){var n if(!t||"string"!=typeof t)return null try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||fe.error("Invalid XML: "+t),n} -var St=/\[\]$/,Ot=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,kt=/^(?:input|select|textarea|keygen)/i +var St=/\[\]$/,Ot=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Pt=/^(?:input|select|textarea|keygen)/i fe.param=function(e,t){var n,r=[],i=function(e,t){var n=fe.isFunction(t)?t():t r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)} if(Array.isArray(e)||e.jquery&&!fe.isPlainObject(e))fe.each(e,function(){i(this.name,this.value)}) else for(n in e)$(n,e[n],t,i) return r.join("&")},fe.fn.extend({serialize:function(){return fe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=fe.prop(this,"elements") return e?fe.makeArray(e):this}).filter(function(){var e=this.type -return this.name&&!fe(this).is(":disabled")&&kt.test(this.nodeName)&&!At.test(e)&&(this.checked||!Ve.test(e))}).map(function(e,t){var n=fe(this).val() +return this.name&&!fe(this).is(":disabled")&&Pt.test(this.nodeName)&&!At.test(e)&&(this.checked||!Ve.test(e))}).map(function(e,t){var n=fe(this).val() return null==n?null:Array.isArray(n)?fe.map(n,function(e){return{name:t.name,value:e.replace(Ot,"\r\n")}}):{name:t.name,value:n.replace(Ot,"\r\n")}}).get()}}) -var Pt=/%20/g,Nt=/#.*$/,It=/([?&])_=[^&]*/,Rt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Mt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Dt=/^(?:GET|HEAD)$/,Lt=/^\/\//,jt={},Ft={},Bt="*/".concat("*"),Ht=ne.createElement("a") -Ht.href=Et.href,fe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:Mt.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bt,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":fe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?J(J(e,fe.ajaxSettings),t):J(fe.ajaxSettings,e)},ajaxPrefilter:Q(jt),ajaxTransport:Q(Ft),ajax:function(t,n){function r(t,n,r,a){var u,d,h,w,_,x=n -c||(c=!0,l&&e.clearTimeout(l),i=void 0,s=a||"",E.readyState=t>0?4:0,u=t>=200&&t<300||304===t,r&&(w=Z(f,E,r)),w=ee(f,w,E,u),u?(f.ifModified&&(_=E.getResponseHeader("Last-Modified"),_&&(fe.lastModified[o]=_),(_=E.getResponseHeader("etag"))&&(fe.etag[o]=_)),204===t||"HEAD"===f.type?x="nocontent":304===t?x="notmodified":(x=w.state,d=w.data,h=w.error,u=!h)):(h=x,!t&&x||(x="error",t<0&&(t=0))),E.status=t,E.statusText=(n||x)+"",u?v.resolveWith(m,[d,x,E]):v.rejectWith(m,[E,x,h]),E.statusCode(b),b=void 0,p&&g.trigger(u?"ajaxSuccess":"ajaxError",[E,f,u?d:h]),y.fireWith(m,[E,x]),p&&(g.trigger("ajaxComplete",[E,f]),--fe.active||fe.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{} -var i,o,s,a,l,u,c,p,d,h,f=fe.ajaxSetup({},n),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?fe(m):fe.event,v=fe.Deferred(),y=fe.Callbacks("once memory"),b=f.statusCode||{},w={},_={},x="canceled",E={readyState:0,getResponseHeader:function(e){var t -if(c){if(!a)for(a={};t=Rt.exec(s);)a[t[1].toLowerCase()]=t[2] +var kt=/%20/g,Nt=/#.*$/,Rt=/([?&])_=[^&]*/,It=/^(.*?):[ \t]*([^\r\n]*)$/gm,Mt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,jt=/^(?:GET|HEAD)$/,Dt=/^\/\//,Lt={},Ft={},Bt="*/".concat("*"),Ht=ne.createElement("a") +Ht.href=Ct.href,fe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:Mt.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bt,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":fe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?J(J(e,fe.ajaxSettings),t):J(fe.ajaxSettings,e)},ajaxPrefilter:Q(Lt),ajaxTransport:Q(Ft),ajax:function(t,n){function r(t,n,r,a){var u,d,h,w,_,x=n +c||(c=!0,l&&e.clearTimeout(l),i=void 0,s=a||"",C.readyState=t>0?4:0,u=t>=200&&t<300||304===t,r&&(w=Z(f,C,r)),w=ee(f,w,C,u),u?(f.ifModified&&(_=C.getResponseHeader("Last-Modified"),_&&(fe.lastModified[o]=_),(_=C.getResponseHeader("etag"))&&(fe.etag[o]=_)),204===t||"HEAD"===f.type?x="nocontent":304===t?x="notmodified":(x=w.state,d=w.data,h=w.error,u=!h)):(h=x,!t&&x||(x="error",t<0&&(t=0))),C.status=t,C.statusText=(n||x)+"",u?v.resolveWith(m,[d,x,C]):v.rejectWith(m,[C,x,h]),C.statusCode(b),b=void 0,p&&g.trigger(u?"ajaxSuccess":"ajaxError",[C,f,u?d:h]),y.fireWith(m,[C,x]),p&&(g.trigger("ajaxComplete",[C,f]),--fe.active||fe.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{} +var i,o,s,a,l,u,c,p,d,h,f=fe.ajaxSetup({},n),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?fe(m):fe.event,v=fe.Deferred(),y=fe.Callbacks("once memory"),b=f.statusCode||{},w={},_={},x="canceled",C={readyState:0,getResponseHeader:function(e){var t +if(c){if(!a)for(a={};t=It.exec(s);)a[t[1].toLowerCase()]=t[2] t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?s:null},setRequestHeader:function(e,t){return null==c&&(e=_[e.toLowerCase()]=_[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(f.mimeType=e),this},statusCode:function(e){var t -if(e)if(c)E.always(e[E.status]) +if(e)if(c)C.always(e[C.status]) else for(t in e)b[t]=[b[t],e[t]] return this},abort:function(e){var t=e||x return i&&i.abort(t),r(0,t),this}} -if(v.promise(E),f.url=((t||f.url||Et.href)+"").replace(Lt,Et.protocol+"//"),f.type=n.method||n.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(ke)||[""],null==f.crossDomain){u=ne.createElement("a") -try{u.href=f.url,u.href=u.href,f.crossDomain=Ht.protocol+"//"+Ht.host!=u.protocol+"//"+u.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=fe.param(f.data,f.traditional)),X(jt,f,n,E),c)return E -p=fe.event&&f.global,p&&0==fe.active++&&fe.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Dt.test(f.type),o=f.url.replace(Nt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Pt,"+")):(h=f.url.slice(o.length),f.data&&(o+=(Tt.test(o)?"&":"?")+f.data,delete f.data),!1===f.cache&&(o=o.replace(It,"$1"),h=(Tt.test(o)?"&":"?")+"_="+Ct+++h),f.url=o+h),f.ifModified&&(fe.lastModified[o]&&E.setRequestHeader("If-Modified-Since",fe.lastModified[o]),fe.etag[o]&&E.setRequestHeader("If-None-Match",fe.etag[o])),(f.data&&f.hasContent&&!1!==f.contentType||n.contentType)&&E.setRequestHeader("Content-Type",f.contentType),E.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Bt+"; q=0.01":""):f.accepts["*"]) -for(d in f.headers)E.setRequestHeader(d,f.headers[d]) -if(f.beforeSend&&(!1===f.beforeSend.call(m,E,f)||c))return E.abort() -if(x="abort",y.add(f.complete),E.done(f.success),E.fail(f.error),i=X(Ft,f,n,E)){if(E.readyState=1,p&&g.trigger("ajaxSend",[E,f]),c)return E -f.async&&f.timeout>0&&(l=e.setTimeout(function(){E.abort("timeout")},f.timeout)) +if(v.promise(C),f.url=((t||f.url||Ct.href)+"").replace(Dt,Ct.protocol+"//"),f.type=n.method||n.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(Pe)||[""],null==f.crossDomain){u=ne.createElement("a") +try{u.href=f.url,u.href=u.href,f.crossDomain=Ht.protocol+"//"+Ht.host!=u.protocol+"//"+u.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=fe.param(f.data,f.traditional)),X(Lt,f,n,C),c)return C +p=fe.event&&f.global,p&&0==fe.active++&&fe.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!jt.test(f.type),o=f.url.replace(Nt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(kt,"+")):(h=f.url.slice(o.length),f.data&&(o+=(Tt.test(o)?"&":"?")+f.data,delete f.data),!1===f.cache&&(o=o.replace(Rt,"$1"),h=(Tt.test(o)?"&":"?")+"_="+Et+++h),f.url=o+h),f.ifModified&&(fe.lastModified[o]&&C.setRequestHeader("If-Modified-Since",fe.lastModified[o]),fe.etag[o]&&C.setRequestHeader("If-None-Match",fe.etag[o])),(f.data&&f.hasContent&&!1!==f.contentType||n.contentType)&&C.setRequestHeader("Content-Type",f.contentType),C.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Bt+"; q=0.01":""):f.accepts["*"]) +for(d in f.headers)C.setRequestHeader(d,f.headers[d]) +if(f.beforeSend&&(!1===f.beforeSend.call(m,C,f)||c))return C.abort() +if(x="abort",y.add(f.complete),C.done(f.success),C.fail(f.error),i=X(Ft,f,n,C)){if(C.readyState=1,p&&g.trigger("ajaxSend",[C,f]),c)return C +f.async&&f.timeout>0&&(l=e.setTimeout(function(){C.abort("timeout")},f.timeout)) try{c=!1,i.send(w,r)}catch(e){if(c)throw e r(-1,e)}}else r(-1,"No Transport") -return E},getJSON:function(e,t,n){return fe.get(e,t,n,"json")},getScript:function(e,t){return fe.get(e,void 0,t,"script")}}),fe.each(["get","post"],function(e,t){fe[t]=function(e,n,r,i){return fe.isFunction(n)&&(i=i||r,r=n,n=void 0),fe.ajax(fe.extend({url:e,type:t,dataType:i,data:n,success:r},fe.isPlainObject(e)&&e))}}),fe._evalUrl=function(e){return fe.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},fe.fn.extend({wrapAll:function(e){var t +return C},getJSON:function(e,t,n){return fe.get(e,t,n,"json")},getScript:function(e,t){return fe.get(e,void 0,t,"script")}}),fe.each(["get","post"],function(e,t){fe[t]=function(e,n,r,i){return fe.isFunction(n)&&(i=i||r,r=n,n=void 0),fe.ajax(fe.extend({url:e,type:t,dataType:i,data:n,success:r},fe.isPlainObject(e)&&e))}}),fe._evalUrl=function(e){return fe.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},fe.fn.extend({wrapAll:function(e){var t return this[0]&&(fe.isFunction(e)&&(e=e.call(this[0])),t=fe(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild return e}).append(this)),this},wrapInner:function(e){return fe.isFunction(e)?this.each(function(t){fe(this).wrapInner(e.call(this,t))}):this.each(function(){var t=fe(this),n=t.contents() n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=fe.isFunction(e) return this.each(function(n){fe(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){fe(this).replaceWith(this.childNodes)}),this}}),fe.expr.pseudos.hidden=function(e){return!fe.expr.pseudos.visible(e)},fe.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},fe.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}} -var Ut={0:200,1223:204},qt=fe.ajaxSettings.xhr() +var zt={0:200,1223:204},qt=fe.ajaxSettings.xhr() he.cors=!!qt&&"withCredentials"in qt,he.ajax=qt=!!qt,fe.ajaxTransport(function(t){var n,r if(he.cors||qt&&!t.crossDomain)return{send:function(i,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] t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest") for(s in i)a.setRequestHeader(s,i[s]) -n=function(e){return function(){n&&(n=r=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Ut[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),r=a.onerror=n("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort") +n=function(e){return function(){n&&(n=r=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(zt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),r=a.onerror=n("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort") try{a.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),fe.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),fe.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return fe.globalEval(e),e}}}),fe.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),fe.ajaxTransport("script",function(e){if(e.crossDomain){var t,n return{send:function(r,i){t=fe(" - + +