text: !function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{var g;g="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,g.auditRunner=f()}}(function(){var define;return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(require,module,exports){(function(global,__dirname){"use strict";global.__base=__dirname+"/";var auditRunner=require("./lib/audit/auditInitializer");module.exports=auditRunner}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},"/")},{"./lib/audit/auditInitializer":2}],2:[function(require,module,exports){"use strict";var _initializer,_delegatedValidator,_initiateAudit,_preProcessRulesConfig,$=require("jquery"),_=require("lodash/core"),rulesExecutor=require("../rulesProcessor/rulesExecutor"),auditRulesCreator=require("../rulesProcessor/auditRulesCreator"),auditRunner=require("./auditRunner"),auditRunnerHelper=require("./auditRunnerHelper");!function(auditRulesCreator,rulesExecutor){rulesExecutor.forEach(function(element){auditRulesCreator.addAuditRule(element)})}(auditRulesCreator,rulesExecutor);var _resultObj={},_selectorObjs={},_selectorRules={},_hasCompliance=!1,_mustRunGlobalRules=!1,_rulesConfig={},_auditConfig={};module.exports=function(selector,rulesConfig,auditConfig){return _initializer(rulesConfig,auditConfig),_delegatedValidator(selector),_resultObj},_initializer=function(rulesConfig,auditConfig){_resultObj={},_selectorObjs={},_selectorRules={},_hasCompliance=!1,_rulesConfig=rulesConfig,_auditConfig=auditConfig,_mustRunGlobalRules=!1},_delegatedValidator=function(selector){if(_.isEmpty(selector)&&_.isUndefined(selector)&&(selector="html"),_.isObject(selector)){if(!auditRunnerHelper.isNode(selector)||!auditRunnerHelper.isElement(selector))throw new Error("Not a valid DOM Object - Node or Element or HTMLElement");_initiateAudit($(selector))}if(_.isString(selector)){if(0===$(selector).length)throw new Error("Not a valid selector. Or no matching DOM Elements!");_initiateAudit($(selector))}},_initiateAudit=function(selector){if(!_.isEmpty(_rulesConfig)&&!_.isUndefined(_rulesConfig)){if(!_.isObject(_rulesConfig))throw new Error("Configuration options passed is not a valid object");_preProcessRulesConfig()}!_.isUndefined(_auditConfig)&&_.isObject(_auditConfig)&&(_.has(_auditConfig,"compliance")&&_.isString(_auditConfig.compliance)&&(_hasCompliance=!0),_.has(_auditConfig,"executeGlobalRules")&&_.isBoolean(_auditConfig.executeGlobalRules)&&(_mustRunGlobalRules=_auditConfig.executeGlobalRules)),_resultObj=auditRunner({selector:selector,_hasCompliance:_hasCompliance,_mustRunGlobalRules:_mustRunGlobalRules,_rulesConfig:_rulesConfig,_auditConfig:_auditConfig,_selectorObjs:_selectorObjs,_selectorRules:_selectorRules})},_preProcessRulesConfig=function(){var _obj,_ct,_rand;for(var currentSelector in _rulesConfig)if(_rulesConfig.hasOwnProperty(currentSelector)&&(_obj=$(currentSelector).get(),_obj.length>0))for(_ct=0;_ct<_obj.length;_ct++)_rand=auditRunnerHelper.UIDGenerator(10,"0123456789abcdefghijkLMNOPQRSTUVWXYZ"),_selectorObjs[_obj[_ct].toString()+_rand]=_obj[_ct],_selectorRules[_obj[_ct].toString()+_rand]=_rulesConfig[currentSelector]}},{"../rulesProcessor/auditRulesCreator":47,"../rulesProcessor/rulesExecutor":48,"./auditRunner":3,"./auditRunnerHelper":4,jquery:51,"lodash/core":52}],3:[function(require,module,exports){"use strict";var _executeGlobalRuleAudits,_conductAudit,_processHTMLObj,_isSkipRule,_populateErrors,$=require("jquery"),_=require("lodash/core"),auditRunnerHelper=require("./auditRunnerHelper"),auditRulesCreator=require("../rulesProcessor/auditRulesCreator"),ruleTagNameMapper=require("../mapper/ruleTagNameMapper"),ruleHandlerMapper=require("../mapper/ruleHandlerMapper"),injector=require("../utils/injectDeps"),_resultObj={},_selectorObjs={},_selectorRules={},_hasCompliance=!1,_mustRunGlobalRules=!1,_rulesConfig={},_auditConfig={};module.exports=function(auditObj){return _selectorObjs=auditObj._selectorObjs,_selectorRules=auditObj._selectorRules,_hasCompliance=auditObj._hasCompliance,_mustRunGlobalRules=auditObj._mustRunGlobalRules,_rulesConfig=auditObj._rulesConfig,_auditConfig=auditObj._auditConfig,_resultObj={},_mustRunGlobalRules&&_executeGlobalRuleAudits(),_conductAudit(auditObj.selector),_resultObj},_executeGlobalRuleAudits=function(){var _globalRules,_handler,_result;_globalRules=_hasCompliance?auditRulesCreator.getAllGlobalRulesByCompliance(_auditConfig.compliance):auditRulesCreator.getAllGlobalRules(),_.isEmpty(_globalRules)||(injector.register("elem",void 0),_.forEach(_globalRules,function(value,key){_handler=value.handler,_result=injector.process(_handler),_result.RESULT||_populateErrors(auditRulesCreator.getRuleObj(key),null,_result)}))},_conductAudit=auditRunnerHelper.tailCallOptimizer(function _conductAudit(selectorArr){for(var _count=0;_count<selectorArr.length;)_processHTMLObj(selectorArr[_count]),selectorArr[_count].children.length>0&&_conductAudit(selectorArr[_count].children),_count++}),_processHTMLObj=function(elem){var _rulesArr,_fn,_result,_ruleObj;_rulesArr=ruleTagNameMapper.getTagHandlers(elem.tagName),_.isEmpty(_rulesArr)||_.isUndefined(_rulesArr)||(injector.register("elem",elem),$.each(_rulesArr,function(index,value){_ruleObj=auditRulesCreator.getRuleObj(value),!_isSkipRule(value,elem)&&auditRunnerHelper.isCompliant(_hasCompliance,_ruleObj,_auditConfig)&&(_fn=ruleHandlerMapper.getHandler(value),_result=injector.process(_fn),_result.RESULT||_populateErrors(_ruleObj,elem,_result))}))},_isSkipRule=function(rule,elem){var _ruleList,_ct,_isSkip=!1;for(var _obj in _selectorObjs)if($(elem).is(_selectorObjs[_obj])){for(_ruleList=_selectorRules[_obj],_ct=0;_ct<_ruleList.length;_ct++)if(_ruleList[_ct]===rule||"*"===_ruleList[_ct]){_isSkip=!0;break}break}return _isSkip},_populateErrors=function(ruleInfoObj,element,errorObj){var _key=_.isEmpty(element)?ruleInfoObj.ruleID:_.isEmpty(element.id)?element.tagName:element.id;_resultObj[_key]=_resultObj[_key]||[],_resultObj[_key].push({result:errorObj.RESULT,severityEnum:errorObj.TYPE,description:ruleInfoObj.description,errMsg:errorObj.MSG,ruleID:ruleInfoObj.ruleID,isGlobal:ruleInfoObj.isGlobal,compliance:ruleInfoObj.compliance,attr:_.isEmpty(element)?null:element.attributes})}},{"../mapper/ruleHandlerMapper":10,"../mapper/ruleTagNameMapper":11,"../rulesProcessor/auditRulesCreator":47,"../utils/injectDeps":50,"./auditRunnerHelper":4,jquery:51,"lodash/core":52}],4:[function(require,module,exports){"use strict";module.exports={isCompliant:function(_hasCompliance,ruleObj,_auditConfig){var _isCompliant=!1;return _isCompliant=_hasCompliance?ruleObj.compliance===_auditConfig.compliance:!0},isNode:function(o){return"object"==typeof Node?o instanceof Node:o&&"object"==typeof o&&"number"==typeof o.nodeType&&"string"==typeof o.nodeName},isElement:function(o){return"object"==typeof HTMLElement?o instanceof HTMLElement:o&&"object"==typeof o&&null!==o&&1===o.nodeType&&"string"==typeof o.nodeName},UIDGenerator:function(length,chars){for(var result="",i=length;i>0;--i)result+=chars[Math.round(Math.random()*(chars.length-1))];return result},tailCallOptimizer:function(func){var result,active=!1,accumulated=[];return function(){if(accumulated.push(arguments),!active){for(active=!0;accumulated.length;)result=func.apply(this,accumulated.shift());return active=!1,result}}}}},{}],5:[function(require,module,exports){function _addAllParentRolesToSet(a,b){if(a.parent)for(var c=a.parent,d=0;d<c.length;d++){var e=c[d];b[e]=!0,_addAllParentRolesToSet(enums.ariaRolesEnum[e],b)}}function _addAllPropertiesToSet(a,b,c){var d=a[b];if(d)for(var e=0;e<d.length;e++)c[d[e]]=!0;if(a.parent)for(a=a.parent,d=0;d<a.length;d++)_addAllPropertiesToSet(enums.ariaRolesEnum[a[d]],b,c)}var enums=require("../enums/enums");for(var roleName in enums.ariaRolesEnum){var role=enums.ariaRolesEnum[roleName],propertiesSet={},requiredPropertiesSet={},parentRolesSet={};_addAllPropertiesToSet(role,"properties",propertiesSet),role.propertiesSet=propertiesSet,_addAllPropertiesToSet(role,"requiredProperties",requiredPropertiesSet),role.requiredPropertiesSet=requiredPropertiesSet,_addAllParentRolesToSet(role,parentRolesSet),role.allParentRolesSet=parentRolesSet,"widget"in parentRolesSet&&(enums.widgetRolesEnum[roleName]=role)}for(var a in enums.ariaPropertiesEnum){var b=enums.ariaPropertiesEnum[a];if(b.values){for(var c={},d=0;d<b.values.length;d++)c[b.values[d]]=!0;b.valuesSet=c}}enums.globalPropertiesEnum=enums.ariaRolesEnum.roletype.propertiesSet,module.exports={getTextFromHostLanguageAttributes:function(a,b,c,d){if(this.matchSelector(a,"img")&&a.hasAttribute("alt")){var e={type:"string",valid:!0};e.text=a.getAttribute("alt"),c?e.unused=!0:c=e.text,b.alt=e}if(this.matchSelector(a,'input:not([type="hidden"]):not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), video:not([disabled])')&&!d){if(a.hasAttribute("id")){d=document.querySelectorAll('label[for="'+a.id+'"]');for(var e={},f=[],g=[],h=0;h<d.length;h++){var k={type:"element"},m=d[h],l=this.findTextAlternatives(m,{},!0);l&&0<l.trim().length&&(k.text=l.trim(),g.push(l.trim())),k.element=m,f.push(k)}0<f.length&&(f[f.length-1].last=!0,e.values=f,e.text=g.join(" "),e.lastWord=this.getLastWord(e.text),c?e.unused=!0:c=e.text,b.labelFor=e)}for(d=this.parentElement(a),e={};d;){if("label"==d.tagName.toLowerCase()&&(f=d,f.control==a)){e.type="element",e.text=this.findTextAlternatives(f,{},!0),e.lastWord=this.getLastWord(e.text),e.element=f;break}d=this.parentElement(d)}e.text&&(c?e.unused=!0:c=e.text,b.labelWrapped=e),this.matchSelector(a,'input[type="image"]')&&a.hasAttribute("alt")&&(e={type:"string",valid:!0},e.text=a.getAttribute("alt"),c?e.unused=!0:c=e.text,b.alt=e),Object.keys(b).length||(b.noLabel=!0)}return c},asElement:function(a){switch(a.nodeType){case Node.COMMENT_NODE:break;case Node.ELEMENT_NODE:if("script"==a.localName||"template"==a.localName)break;return a;case Node.DOCUMENT_FRAGMENT_NODE:return a.host;case Node.TEXT_NODE:return this.parentElement(a);default:console.warn("Unhandled node type: ",a.nodeType)}return null},shadowHost:function(a){return"host"in a?a.host:null},composedParentNode:function(a){if(!a)return null;if(a.nodeType===Node.DOCUMENT_FRAGMENT_NODE)return this.shadowHost(a);var b=a.parentNode;return b?b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?this.shadowHost(b):b.shadowRoot?(a=a.getDestinationInsertionPoints(),0<a.length?this.composedParentNode(a[a.length-1]):null):b:null},parentElement:function(a){if(!a)return null;if(a=this.composedParentNode(a),!a)return null;switch(a.nodeType){case Node.ELEMENT_NODE:return a;default:return this.parentElement(a)}},isElementHidden:function(a){if(!(a instanceof a.ownerDocument.defaultView.HTMLElement))return!1;if(a.hasAttribute("chromevoxignoreariahidden"))var b=!0;var c=window.getComputedStyle(a,null);return"none"==c.display||"hidden"==c.visibility?!0:a.hasAttribute("aria-hidden")&&"true"==a.getAttribute("aria-hidden").toLowerCase()?!b:!1},isElementOrAncestorHidden:function(a){return this.isElementHidden(a)?!0:this.parentElement(a)?this.isElementOrAncestorHidden(this.parentElement(a)):!1},getLastWord:function(a){if(!a)return null;var b=a.lastIndexOf(" ")+1,c=a.length-10;return a.substring(b>c?b:c)},elementIsHtmlControl:function(a){var b=a.ownerDocument.defaultView;return a instanceof b.HTMLButtonElement||a instanceof b.HTMLInputElement||a instanceof b.HTMLSelectElement||a instanceof b.HTMLTextAreaElement},getTextFromAriaLabelledby:function(a,b){var c=null;if(!a.hasAttribute("aria-labelledby"))return c;for(var d=a.getAttribute("aria-labelledby").split(/\s+/),e={valid:!0},f=[],g=[],h=0;h<d.length;h++){var k={type:"element"},m=d[h];k.value=m;var l=document.getElementById(m);l?(k.valid=!0,k.text=this.findTextAlternatives(l,{},!0,!0),k.lastWord=this.getLastWord(k.text),f.push(k.text),k.element=l):(k.valid=!1,e.valid=!1,k.errorMessage={messageKey:"noElementWithId",args:[m]}),g.push(k)}return 0<g.length&&(g[g.length-1].last=!0,e.values=g,e.text=f.join(" "),e.lastWord=this.getLastWord(e.text),c=e.text,b.ariaLabelledby=e),c},elementIsAriaWidget:function(a){return!!(a.hasAttribute("role")&&(a=a.getAttribute("role"))&&(a=enums.ariaRolesEnum[a])&&"widget"in a.allParentRolesSet)},findTextAlternatives:function(a,b,c,d){var e=c||!1;if(c=this.asElement(a),!c||!d&&this.isElementOrAncestorHidden(c))return null;if(a.nodeType==Node.TEXT_NODE)return c={type:"text"},c.text=a.textContent,c.lastWord=this.getLastWord(c.text),b.content=c,a.textContent;if(a=null,e||(a=this.getTextFromAriaLabelledby(c,b)),c.hasAttribute("aria-label")){var f={type:"text"};f.text=c.getAttribute("aria-label"),f.lastWord=this.getLastWord(f.text),a?f.unused=!0:e&&this.elementIsHtmlControl(c)||(a=f.text),b.ariaLabel=f}if(c.hasAttribute("role")&&"presentation"==c.getAttribute("role")||(a=this.getTextFromHostLanguageAttributes(c,b,a,e)),e&&this.elementIsHtmlControl(c)){if(f=c.ownerDocument.defaultView,c instanceof f.HTMLInputElement){var g=c;"text"==g.type&&g.value&&0<g.value.length&&(b.controlValue={text:g.value}),"range"==g.type&&(b.controlValue={text:g.value})}c instanceof f.HTMLSelectElement&&(b.controlValue={text:c.value}),b.controlValue&&(f=b.controlValue,a?f.unused=!0:a=f.text)}if(e&&this.elementIsAriaWidget(c)){if(e=c.getAttribute("role"),"textbox"==e&&c.textContent&&0<c.textContent.length&&(b.controlValue={text:c.textContent}),"slider"!=e&&"spinbutton"!=e||(c.hasAttribute("aria-valuetext")?b.controlValue={text:c.getAttribute("aria-valuetext")}:c.hasAttribute("aria-valuenow")&&(b.controlValue={value:c.getAttribute("aria-valuenow"),text:""+c.getAttribute("aria-valuenow")})),"menu"==e){for(var h=c.querySelectorAll("[role=menuitemcheckbox], [role=menuitemradio]"),f=[],g=0;g<h.length;g++)"true"==h[g].getAttribute("aria-checked")&&f.push(h[g]);if(0<f.length){for(h="",g=0;g<f.length;g++)h+=this.findTextAlternatives(f[g],{},!0),g<f.length-1&&(h+=", ");b.controlValue={text:h}}}"combobox"!=e&&"select"!=e||(b.controlValue={text:"TODO"}),b.controlValue&&(f=b.controlValue,a?f.unused=!0:a=f.text)}return f=!0,c.hasAttribute("role")&&(e=c.getAttribute("role"),(e=enums.ariaRolesEnum[e])&&(!e.namefrom||0>e.namefrom.indexOf("contents"))&&(f=!1)),(d=this.getTextFromDescendantContent(c,d))&&f&&(e={type:"text"},e.text=d,e.lastWord=this.getLastWord(e.text),a?e.unused=!0:a=d,b.content=e),c.hasAttribute("title")&&(d={type:"string",valid:!0},d.text=c.getAttribute("title"),d.lastWord=this.getLastWord(d.lastWord),a?d.unused=!0:a=d.text,b.title=d),0==Object.keys(b).length&&null==a?null:a},getTextFromDescendantContent:function(a,b){for(var c=a.childNodes,d=[],e=0;e<c.length;e++){var f=this.findTextAlternatives(c[e],{},!0,b);f&&d.push(f.trim())}if(d.length){for(c="",e=0;e<d.length;e++)c=[c,d[e]].join(" ").trim();return c}return null},isValidIDRefValue:function(a,b){return 0==a.length?{valid:!0,idref:a}:b.ownerDocument.getElementById(a)?{valid:!0,idref:a}:{valid:!1,idref:a,reason:'No element with ID "'+a+'"'}},checkForAria:function(el){if(!el)return null;var tagName=el.tagName;if(!tagName)return null;if(tagName=tagName.toUpperCase(),tagName=enums.TagAndSemanticInfoEnum[tagName],!tagName||!tagName.length)return null;for(var _res=null,_count=0;_count<tagName.length;_count++){var _obj=tagName[_count];if(_obj.selector){if(this.matchSelector(el,_obj.selector))return _obj}else _res=_obj}return _res},getAriaPropertyValue:function(a,b,c){var d=a.replace(/^aria-/,""),e=enums.ariaPropertiesEnum[d],d={name:a,rawValue:b};if(!e)return d.valid=!1,d.reason='"'+a+'" is not a valid ARIA property',d;if(e=e.valueType,!e)return d.valid=!1,d.reason='"'+a+'" is not a valid ARIA property',d;switch(e){case"idref":a=this.isValidIDRefValue(b,c),d.valid=a.valid,d.reason=a.reason,d.idref=a.idref;case"idref_list":for(a=b.split(/\s+/),d.valid=!0,b=0;b<a.length;b++)e=this.isValidIDRefValue(a[b],c),e.valid||(d.valid=!1),d.values?d.values.push(e):d.values=[e];return d;case"integer":return c=this.isValidNumber(b),c.valid?(Math.floor(c.value)!==c.value?(d.valid=!1,d.reason=""+b+" is not a whole integer"):(d.valid=!0,d.value=c.value),d):(d.valid=!1,d.reason=c.reason,d);case"decimal":case"number":return c=this.isValidNumber(b),d.valid=c.valid,c.valid?(d.value=c.value,d):(d.reason=c.reason,d);case"string":return d.valid=!0,d.value=b,d;case"token":return c=this.isValidTokenValue(a,b.toLowerCase()),c.valid?(d.valid=!0,d.value=c.value):(d.valid=!1,d.value=b,d.reason=c.reason),d;case"token_list":for(e=b.split(/\s+/),d.valid=!0,b=0;b<e.length;b++)c=this.isValidTokenValue(a,e[b].toLowerCase()),c.valid||(d.valid=!1,d.reason?(d.reason=[d.reason],d.reason.push(c.reason)):(d.reason=c.reason,d.possibleValues=c.possibleValues)),d.values?d.values.push(c.value):d.values=[c.value];return d;case"tristate":return c=this.isPossibleValue(b.toLowerCase(),enums.mixedValuesEnum,a),c.valid?(d.valid=!0,d.value=c.value):(d.valid=!1,d.value=b,d.reason=c.reason),d;case"boolean":return c=this.isValidBoolean(b),c.valid?(d.valid=!0,d.value=c.value):(d.valid=!1,d.value=b,d.reason=c.reason),d}return d.valid=!1,d.reason="Not a valid ARIA property",d},isValidTokenValue:function(a,b){var c=a.replace(/^aria-/,"");return this.isPossibleValue(b,enums.ariaPropertiesEnum[c].valuesSet,a)},isPossibleValue:function(a,b,c){return b[a]?{valid:!0,value:a}:{valid:!1,value:a,reason:'"'+a+'" is not a valid value for '+c,possibleValues:Object.keys(b)}},isValidBoolean:function(a){try{var b=JSON.parse(a)}catch(c){b=""}return"boolean"!=typeof b?{valid:!1,value:a,reason:'"'+a+'" is not a true/false value'}:{valid:!0,value:b}},getImplicitRole:function(b){return(b=this.checkForAria(b))?b.role:""},getRoles:function(a,b){if(!a||a.nodeType!==Node.ELEMENT_NODE||!a.hasAttribute("role")&&!b)return null;var c=a.getAttribute("role");if(!c&&b&&(c=this.getImplicitRole(a)),!c)return null;for(var c=c.split(" "),d={roles:[],valid:!1},e=0;e<c.length;e++){var f=c[e],g=enums.ariaRolesEnum[f],f={name:f};g&&!g["abstract"]?(f.details=g,d.applied||(d.applied=f),f.valid=d.valid=!0):f.valid=!1,d.roles.push(f)}return d},values:function(a){var c,b=[];for(c in a)a.hasOwnProperty(c)&&"function"!=typeof a[c]&&b.push(a[c]);return b},getAriaProperties:function(a){var d,b={},c=this.getGlobalAriaProperties(a);for(d in enums.ariaPropertiesEnum){var e="aria-"+d;if(a.hasAttribute(e)){var f=a.getAttribute(e);c[e]=this.getAriaPropertyValue(e,f,a)}}if(0<Object.keys(c).length&&(b.properties=this.values(c)),f=this.getRoles(a),!f)return Object.keys(b).length?b:null;if(b.roles=f,!f.valid||!f.roles)return b;for(var e=f.roles,g=0;g<e.length;g++){var h=e[g];if(h.details&&h.details.propertiesSet)for(d in h.details.propertiesSet)d in c||(a.hasAttribute(d)?(f=a.getAttribute(d),c[d]=this.getAriaPropertyValue(d,f,a),"values"in c[d]&&(f=c[d].values,f[f.length-1].isLast=!0)):h.details.requiredPropertiesSet[d]&&(c[d]={name:d,valid:!1,reason:"Required property not set"}))}return 0<Object.keys(c).length&&(b.properties=this.values(c)),0<Object.keys(b).length?b:null},getGlobalAriaProperties:function(a){var c,b={};for(c in enums.globalPropertiesEnum)if(a.hasAttribute(c)){var d=a.getAttribute(c);b[c]=this.getAriaPropertyValue(c,d,a)}return b},matchSelector:function(a,b){return a.matches?a.matches(b):a.webkitMatchesSelector?a.webkitMatchesSelector(b):a.mozMatchesSelector?a.mozMatchesSelector(b):a.msMatchesSelector?a.msMatchesSelector(b):!1},isValidNumber:function(a){var b={valid:!1,value:a,reason:'"'+a+'" is not a number'};return a?/^0x/i.test(a)?(b.reason='"'+a+'" is not a decimal number',b):(a*=1,isFinite(a)?{valid:!0,value:a}:b):b}}},{"../enums/enums":9}],6:[function(require,module,exports){"use strict";var _validArriaAttributesArr=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-controls","aria-describedby","aria-disabled","aria-dropeffect","aria-expanded","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"];module.exports=_validArriaAttributesArr},{}],7:[function(require,module,exports){"use strict";var _tagNamesArr=["A","ABBR","ACRONYM","ADDRESS","APPLET","AREA","B","BASEFONT","BDO","BGSOUND","BIG","BLOCKQUOTE","BLINK","BODY","BR","BUTTON","CAPTION","CENTER","CITE","CODE","COL","COLGROUP","DD","DFN","DEL","DIR","DIV","DL","DT","EMBED","EM","FIELDSET","FONT","FORM","FRAME","FRAMESET","H1","H2","H3","H4","H5","H6","HEAD","HR","HTML","IMG","IFRAME","INPUT","INS","ISINDEX","I","KBD","LABEL","LEGEND","LI","LINK","MARQUEE","MENU","META","NOFRAME","NOSCRIPT","OPTGROUP","OPTION","OL","P","Q","PRE","S","SAMP","SCRIPT","SELECT","SMALL","SPAN","STRIKE","STRONG","STYLE","SUB","SUP","TABLE","TD","TR","THEAD","TH","TBODY","TFOOT","TEXTAREA","TITLE","TT","UL","U","VAR"];module.exports=_tagNamesArr},{}],8:[function(require,module,exports){"use strict";var _validRoleArr=["alert","alertdialog","application","article","banner","button","checkbox","columnheader","combobox","command","complementary","composite","contentinfo","definition","dialog","directory","document","form","grid","gridcell","group","heading","img","input","landmark","link","list","listbox","listitem","log","main","marquee","math","menu","menubar","menuitem","menuitemcheckbox","menuitemradio","navigation","note","option","presentation","progressbar","radio","radiogroup","range","region","roletype","row","rowgroup","rowheader","search","section","sectionhead","select","separator","scrollbar","slider","spinbutton","status","structure","tab","tablist","tabpanel","textbox","timer","toolbar","tooltip","tree","treegrid","treeitem","widget","window"];module.exports=_validRoleArr},{}],9:[function(require,module,exports){"use strict";var enumCreator=require("../utils/enumCreator"),_enums={};_enums.widgetRolesEnum=enumCreator({}),_enums.severityEnum=enumCreator({INFO:"info",WARN:"warning",ERROR:"error"}),_enums.mixedValuesEnum=enumCreator({"true":!0,"false":!0,mixed:!0}),_enums.ariaRolesEnum=enumCreator({alert:{namefrom:["author"],parent:["region"]},alertdialog:{namefrom:["author"],namerequired:!0,parent:["alert","dialog"]},application:{namefrom:["author"],namerequired:!0,parent:["landmark"]},article:{namefrom:["author"],parent:["document","region"]},banner:{namefrom:["author"],parent:["landmark"]},button:{childpresentational:!0,namefrom:["contents","author"],namerequired:!0,parent:["command"],properties:["aria-expanded","aria-pressed"]},checkbox:{namefrom:["contents","author"],namerequired:!0,parent:["input"],requiredProperties:["aria-checked"],properties:["aria-checked"]},columnheader:{namefrom:["contents","author"],namerequired:!0,parent:["gridcell","sectionhead","widget"],properties:["aria-sort"],scope:["row"]},combobox:{mustcontain:["listbox","textbox"],namefrom:["author"],namerequired:!0,parent:["select"],requiredProperties:["aria-expanded"],properties:["aria-expanded","aria-autocomplete","aria-required"]},command:{"abstract":!0,namefrom:["author"],parent:["widget"]},complementary:{namefrom:["author"],parent:["landmark"]},composite:{"abstract":!0,childpresentational:!1,namefrom:["author"],parent:["widget"],properties:["aria-activedescendant"]},contentinfo:{namefrom:["author"],parent:["landmark"]},definition:{namefrom:["author"],parent:["section"]},dialog:{namefrom:["author"],namerequired:!0,parent:["window"]},directory:{namefrom:["contents","author"],parent:["list"]},document:{namefrom:[" author"],namerequired:!0,parent:["structure"],properties:["aria-expanded"]},form:{namefrom:["author"],parent:["landmark"]},grid:{mustcontain:["row","rowgroup"],namefrom:["author"],namerequired:!0,parent:["composite","region"],properties:["aria-level","aria-multiselectable","aria-readonly"]},gridcell:{namefrom:["contents","author"],namerequired:!0,parent:["section","widget"],properties:["aria-readonly","aria-required","aria-selected"],scope:["row"]},group:{namefrom:[" author"],parent:["section"],properties:["aria-activedescendant"]},heading:{namerequired:!0,parent:["sectionhead"],properties:["aria-level"]},img:{childpresentational:!0,namefrom:["author"],namerequired:!0,parent:["section"]},input:{"abstract":!0,namefrom:["author"],parent:["widget"]},landmark:{"abstract":!0,namefrom:["contents","author"],namerequired:!1,parent:["region"]},link:{namefrom:["contents","author"],namerequired:!0,parent:["command"],properties:["aria-expanded"]},list:{mustcontain:["group","listitem"],namefrom:["author"],parent:["region"]},listbox:{mustcontain:["option"],namefrom:["author"],namerequired:!0,parent:["list","select"],properties:["aria-multiselectable","aria-required"]},listitem:{namefrom:["contents","author"],namerequired:!0,parent:["section"],properties:["aria-level","aria-posinset","aria-setsize"],scope:["list"]},log:{namefrom:[" author"],namerequired:!0,parent:["region"]},main:{namefrom:["author"],parent:["landmark"]},marquee:{namerequired:!0,parent:["section"]},math:{childpresentational:!0,namefrom:["author"],parent:["section"]},menu:{mustcontain:["group","menuitemradio","menuitem","menuitemcheckbox"],namefrom:["author"],namerequired:!0,parent:["list","select"]},menubar:{namefrom:["author"],parent:["menu"]},menuitem:{namefrom:["contents","author"],namerequired:!0,parent:["command"],scope:["menu","menubar"]},menuitemcheckbox:{namefrom:["contents","author"],namerequired:!0,parent:["checkbox","menuitem"],scope:["menu","menubar"]},menuitemradio:{namefrom:["contents","author"],namerequired:!0,parent:["menuitemcheckbox","radio"],scope:["menu","menubar"]},navigation:{namefrom:["author"],parent:["landmark"]},note:{namefrom:["author"],parent:["section"]},option:{namefrom:["contents","author"],namerequired:!0,parent:["input"],properties:["aria-checked","aria-posinset","aria-selected","aria-setsize"]},presentation:{parent:["structure"]},progressbar:{childpresentational:!0,namefrom:["author"],namerequired:!0,parent:["range"]},radio:{namefrom:["contents","author"],namerequired:!0,parent:["checkbox","option"]},radiogroup:{mustcontain:["radio"],namefrom:["author"],namerequired:!0,parent:["select"],properties:["aria-required"]},range:{"abstract":!0,namefrom:["author"],parent:["widget"],properties:["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"]},region:{namefrom:[" author"],parent:["section"]},roletype:{"abstract":!0,properties:"aria-atomic aria-busy aria-controls aria-describedby aria-disabled aria-dropeffect aria-flowto aria-grabbed aria-haspopup aria-hidden aria-invalid aria-label aria-labelledby aria-live aria-owns aria-relevant".split(" ")},row:{mustcontain:["columnheader","gridcell","rowheader"],namefrom:["contents","author"],parent:["group","widget"],properties:["aria-level","aria-selected"],scope:["grid","rowgroup","treegrid"]},rowgroup:{mustcontain:["row"],namefrom:["contents","author"],parent:["group"],scope:["grid"]},rowheader:{namefrom:["contents","author"],namerequired:!0,parent:["gridcell","sectionhead","widget"],properties:["aria-sort"],scope:["row"]},search:{namefrom:["author"],parent:["landmark"]},section:{"abstract":!0,namefrom:["contents","author"],parent:["structure"],properties:["aria-expanded"]},sectionhead:{"abstract":!0,namefrom:["contents","author"],parent:["structure"],properties:["aria-expanded"]},select:{"abstract":!0,namefrom:["author"],parent:["composite","group","input"]},separator:{childpresentational:!0,namefrom:["author"],parent:["structure"],properties:["aria-expanded","aria-orientation"]},scrollbar:{childpresentational:!0,namefrom:["author"],namerequired:!1,parent:["input","range"],requiredProperties:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuenow"],properties:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuenow"]},slider:{childpresentational:!0,namefrom:["author"],namerequired:!0,parent:["input","range"],requiredProperties:["aria-valuemax","aria-valuemin","aria-valuenow"],properties:["aria-valuemax","aria-valuemin","aria-valuenow","aria-orientation"]},spinbutton:{namefrom:["author"],namerequired:!0,parent:["input","range"],requiredProperties:["aria-valuemax","aria-valuemin","aria-valuenow"],properties:["aria-valuemax","aria-valuemin","aria-valuenow","aria-required"]},status:{parent:["region"]},structure:{"abstract":!0,parent:["roletype"]},tab:{namefrom:["contents","author"],parent:["sectionhead","widget"],properties:["aria-selected"],scope:["tablist"]},tablist:{mustcontain:["tab"],namefrom:["author"],parent:["composite","directory"],properties:["aria-level"]},tabpanel:{namefrom:["author"],namerequired:!0,parent:["region"]},textbox:{namefrom:["author"],namerequired:!0,parent:["input"],properties:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required"]},timer:{namefrom:["author"],namerequired:!0,parent:["status"]},toolbar:{namefrom:["author"],parent:["group"]},tooltip:{namerequired:!0,parent:["section"]},tree:{mustcontain:["group","treeitem"],namefrom:["author"],namerequired:!0,parent:["select"],properties:["aria-multiselectable","aria-required"]},treegrid:{mustcontain:["row"],namefrom:["author"],namerequired:!0,parent:["grid","tree"]},treeitem:{namefrom:["contents","author"],namerequired:!0,parent:["listitem","option"],scope:["group","tree"]},widget:{"abstract":!0,parent:["roletype"]},window:{"abstract":!0,namefrom:[" author"],parent:["roletype"],properties:["aria-expanded"]}}),_enums.ariaPropertiesEnum=enumCreator({activedescendant:{type:"property",valueType:"idref"},atomic:{defaultValue:"false",type:"property",valueType:"boolean"},autocomplete:{defaultValue:"none",type:"property",valueType:"token",values:["inline","list","both","none"]},busy:{defaultValue:"false",type:"state",valueType:"boolean"},checked:{defaultValue:"undefined",type:"state",valueType:"token",values:["true","false","mixed","undefined"]},controls:{type:"property",valueType:"idref_list"},describedby:{type:"property",valueType:"idref_list"},disabled:{defaultValue:"false",type:"state",valueType:"boolean"},dropeffect:{defaultValue:"none",type:"property",valueType:"token_list",values:"copy move link execute popup none".split(" ")},expanded:{defaultValue:"undefined",type:"state",valueType:"token",values:["true","false","undefined"]},flowto:{type:"property",valueType:"idref_list"},grabbed:{defaultValue:"undefined",type:"state",valueType:"token",values:["true","false","undefined"]},haspopup:{defaultValue:"false",type:"property",valueType:"boolean"},hidden:{defaultValue:"false",type:"state",valueType:"boolean"},invalid:{defaultValue:"false",type:"state",valueType:"token",values:["grammar","false","spelling","true"]},label:{type:"property",valueType:"string"},labelledby:{type:"property",valueType:"idref_list"},level:{type:"property",valueType:"integer"},live:{defaultValue:"off",type:"property",valueType:"token",values:["off","polite","assertive"]},multiline:{defaultValue:"false",type:"property",valueType:"boolean"},multiselectable:{defaultValue:"false",type:"property",valueType:"boolean"},orientation:{defaultValue:"vertical",type:"property",valueType:"token",values:["horizontal","vertical"]},owns:{type:"property",valueType:"idref_list"},posinset:{type:"property",valueType:"integer"},pressed:{defaultValue:"undefined",type:"state",valueType:"token",values:["true","false","mixed","undefined"]},readonly:{defaultValue:"false",type:"property",valueType:"boolean"
  },relevant:{defaultValue:"additions text",type:"property",valueType:"token_list",values:["additions","removals","text","all"]},required:{defaultValue:"false",type:"property",valueType:"boolean"},selected:{defaultValue:"undefined",type:"state",valueType:"token",values:["true","false","undefined"]},setsize:{type:"property",valueType:"integer"},sort:{defaultValue:"none",type:"property",valueType:"token",values:["ascending","descending","none","other"]},valuemax:{type:"property",valueType:"decimal"},valuemin:{type:"property",valueType:"decimal"},valuenow:{type:"property",valueType:"decimal"},valuetext:{type:"property",valueType:"string"}}),_enums.InlineElementsEnum=enumCreator({TT:!0,I:!0,B:!0,BIG:!0,SMALL:!0,EM:!0,STRONG:!0,DFN:!0,CODE:!0,SAMP:!0,KBD:!0,VAR:!0,CITE:!0,ABBR:!0,ACRONYM:!0,A:!0,IMG:!0,OBJECT:!0,BR:!0,SCRIPT:!0,MAP:!0,Q:!0,SUB:!0,SUP:!0,SPAN:!0,BDO:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0,LABEL:!0,BUTTON:!0}),_enums.TagAndSemanticInfoEnum=enumCreator({A:[{role:"link",allowed:"button checkbox menuitem menuitemcheckbox menuitemradio tab treeitem".split(" "),selector:"a[href]"}],ADDRESS:[{role:"",allowed:["contentinfo","presentation"]}],AREA:[{role:"link",selector:"area[href]"}],ARTICLE:[{role:"article",allowed:["presentation","article","document","application","main"]}],ASIDE:[{role:"complementary",allowed:["note","complementary","search","presentation"]}],AUDIO:[{role:"",allowed:["application","presentation"]}],BASE:[{role:"",reserved:!0}],BODY:[{role:"document",allowed:["presentation"]}],BUTTON:[{role:"button",allowed:["link","menuitem","menuitemcheckbox","menuitemradio","radio"],selector:'button:not([aria-pressed]):not([type="menu"])'},{role:"button",allowed:["button"],selector:"button[aria-pressed]"},{role:"button",attributes:{"aria-haspopup":!0},allowed:["link","menuitem","menuitemcheckbox","menuitemradio","radio"],selector:'button[type="menu"]'}],CAPTION:[{role:"",allowed:["presentation"]}],COL:[{role:"",reserved:!0}],COLGROUP:[{role:"",reserved:!0}],DATALIST:[{role:"listbox",attributes:{"aria-multiselectable":!1},allowed:["presentation"]}],DEL:[{role:"",allowed:["*"]}],DD:[{role:"",allowed:["presentation"]}],DT:[{role:"",allowed:["presentation"]}],DETAILS:[{role:"group",allowed:["group","presentation"]}],DIALOG:[{role:"dialog",allowed:"dialog alert alertdialog application log marquee status".split(" "),selector:"dialog[open]"},{role:"dialog",attributes:{"aria-hidden":!0},allowed:"dialog alert alertdialog application log marquee status".split(" "),selector:"dialog:not([open])"}],DIV:[{role:"",allowed:["*"]}],DL:[{role:"list",allowed:["presentation"]}],EMBED:[{role:"",allowed:["application","document","img","presentation"]}],FIGURE:[{role:"",allowed:["*"]}],FOOTER:[{role:"",allowed:["contentinfo","presentation"]}],FORM:[{role:"form",allowed:["presentation"]}],P:[{role:"",allowed:["*"]}],PRE:[{role:"",allowed:["*"]}],BLOCKQUOTE:[{role:"",allowed:["*"]}],H1:[{role:"heading"}],H2:[{role:"heading"}],H3:[{role:"heading"}],H4:[{role:"heading"}],H5:[{role:"heading"}],H6:[{role:"heading"}],HEAD:[{role:"",reserved:!0}],HEADER:[{role:"",allowed:["banner","presentation"]}],HR:[{role:"separator",allowed:["presentation"]}],HTML:[{role:"",reserved:!0}],IFRAME:[{role:"",allowed:["application","document","img","presentation"],selector:"iframe:not([seamless])"},{role:"",allowed:["application","document","img","presentation","group"],selector:"iframe[seamless]"}],IMG:[{role:"presentation",reserved:!0,selector:'img[alt=""]'},{role:"img",allowed:["*"],selector:'img[alt]:not([alt=""])'}],INPUT:[{role:"button",allowed:["link","menuitem","menuitemcheckbox","menuitemradio","radio"],selector:'input[type="button"]:not([aria-pressed])'},{role:"button",allowed:["button"],selector:'input[type="button"][aria-pressed]'},{role:"checkbox",allowed:["checkbox"],selector:'input[type="checkbox"]'},{role:"",selector:'input[type="color"]'},{role:"",selector:'input[type="date"]'},{role:"",selector:'input[type="datetime"]'},{role:"textbox",selector:'input[type="email"]:not([list])'},{role:"",selector:'input[type="file"]'},{role:"",reserved:!0,selector:'input[type="hidden"]'},{role:"button",allowed:["button"],selector:'input[type="image"][aria-pressed]'},{role:"button",allowed:["link","menuitem","menuitemcheckbox","menuitemradio","radio"],selector:'input[type="image"]:not([aria-pressed])'},{role:"",selector:'input[type="month"]'},{role:"",selector:'input[type="number"]'},{role:"textbox",selector:'input[type="password"]'},{role:"radio",allowed:["menuitemradio"],selector:'input[type="radio"]'},{role:"slider",selector:'input[type="range"]'},{role:"button",selector:'input[type="reset"]'},{role:"combobox",selector:'input[type="search"][list]'},{role:"textbox",selector:'input[type="search"]:not([list])'},{role:"button",selector:'input[type="submit"]'},{role:"combobox",selector:'input[type="tel"][list]'},{role:"textbox",selector:'input[type="tel"]:not([list])'},{role:"combobox",selector:'input[type="text"][list]'},{role:"textbox",selector:'input[type="text"]:not([list])'},{role:"textbox",selector:"input:not([type])"},{role:"",selector:'input[type="time"]'},{role:"combobox",selector:'input[type="url"][list]'},{role:"textbox",selector:'input[type="url"]:not([list])'},{role:"",selector:'input[type="week"]'}],INS:[{role:"",allowed:["*"]}],KEYGEN:[{role:""}],LABEL:[{role:"",allowed:["presentation"]}],LI:[{role:"listitem",allowed:"menuitem menuitemcheckbox menuitemradio option tab treeitem presentation".split(" "),selector:'ol:not([role="presentation"])>li, ul:not([role="presentation"])>li'},{role:"listitem",allowed:"listitem menuitem menuitemcheckbox menuitemradio option tab treeitem presentation".split(" "),selector:'ol[role="presentation"]>li, ul[role="presentation"]>li'}],LINK:[{role:"link",reserved:!0,selector:"link[href]"}],MAIN:[{role:"",allowed:["main","presentation"]}],MAP:[{role:"",reserved:!0}],MATH:[{role:"",allowed:["presentation"]}],MENU:[{role:"toolbar",selector:'menu[type="toolbar"]'}],MENUITEM:[{role:"menuitem",selector:'menuitem[type="command"]'},{role:"menuitemcheckbox",selector:'menuitem[type="checkbox"]'},{role:"menuitemradio",selector:'menuitem[type="radio"]'}],META:[{role:"",reserved:!0}],METER:[{role:"progressbar",allowed:["presentation"]}],NAV:[{role:"navigation",allowed:["navigation","presentation"]}],NOSCRIPT:[{role:"",reserved:!0}],OBJECT:[{role:"",allowed:["application","document","img","presentation"]}],OL:[{role:"list",allowed:"directory group listbox menu menubar tablist toolbar tree presentation".split(" ")}],OPTGROUP:[{role:"",allowed:["presentation"]}],OPTION:[{role:"option"}],OUTPUT:[{role:"status",allowed:["*"]}],PARAM:[{role:"",reserved:!0}],PICTURE:[{role:"",reserved:!0}],PROGRESS:[{role:"progressbar",allowed:["presentation"]}],SCRIPT:[{role:"",reserved:!0}],SECTION:[{role:"region",allowed:"alert alertdialog application contentinfo dialog document log marquee search status presentation".split(" ")}],SELECT:[{role:"listbox"}],SOURCE:[{role:"",reserved:!0}],SPAN:[{role:"",allowed:["*"]}],STYLE:[{role:"",reserved:!0}],SVG:[{role:"",allowed:["application","document","img","presentation"]}],SUMMARY:[{role:"",allowed:["presentation"]}],TABLE:[{role:"",allowed:["*"]}],TEMPLATE:[{role:"",reserved:!0}],TEXTAREA:[{role:"textbox"}],TBODY:[{role:"rowgroup",allowed:["*"]}],THEAD:[{role:"rowgroup",allowed:["*"]}],TFOOT:[{role:"rowgroup",allowed:["*"]}],TITLE:[{role:"",reserved:!0}],TD:[{role:"",allowed:["*"]}],TH:[{role:"",allowed:["*"]}],TR:[{role:"",allowed:["*"]}],TRACK:[{role:"",reserved:!0}],UL:[{role:"list",allowed:"directory group listbox menu menubar tablist toolbar tree presentation".split(" ")}],VIDEO:[{role:"",allowed:["application","presentation"]}]}),module.exports=_enums},{"../utils/enumCreator":49}],10:[function(require,module,exports){"use strict";function _addHandlerForRule(_rule,_handlerFn){_ruleHandlersList[_rule]=_handlerFn}function _getRuleHandlersList(){return _ruleHandlersList}function _getHandler(_rule){return _ruleHandlersList[_rule]}var _ruleHandlersList={};module.exports={addRuleHandler:_addHandlerForRule,getRuleHandlersList:_getRuleHandlersList,getHandler:_getHandler}},{}],11:[function(require,module,exports){"use strict";function _addRuleToTag(_tag,_rule){var _rulesArr;_ruleTagHandlers[_tag]=_ruleTagHandlers[_tag]||[],_rulesArr=_ruleTagHandlers[_tag],_rulesArr.push(_rule)}function _getRuleTagHandlers(){return _ruleTagHandlers}function _getTagHandlers(_tag){return _ruleTagHandlers[_tag]}var _ruleTagHandlers={};module.exports={addRuleToTag:_addRuleToTag,getRuleTagHandlers:_getRuleTagHandlers,getTagHandlers:_getTagHandlers}},{}],12:[function(require,module,exports){"use strict";function _ruleExector(elem){var _severityEnum=enums.severityEnum;return"IMG"===elem.tagName||"INPUT"===elem.tagName&&"image"===$(elem).attr("type")?elem.hasAttribute("alt")?_.isEmpty(elem.getAttribute("alt"))?{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! This image has an empty alt attribute."}:{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"Passed!"}:elem.hasAttribute("role")&&!_.isEmpty(elem.getAttribute("role"))&&"presentation"===elem.getAttribute("role")?{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"Passed! This image is used for presentation purposes!"}:{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! This element is not a11y compliant as it neither has a valid alt / role attribute"}:{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"Passed!"}}var $=require("jquery"),_=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"imageWithoutAltText",description:"Images should have an alt attribute, unless they have an ARIA role of presentation",ruleID:"AX_01",tagName:["IMG","INPUT"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,jquery:51,"lodash/core":52}],13:[function(require,module,exports){"use strict";function _ruleExector(elem){var _severityEnum=enums.severityEnum;return elem.hasAttribute("tabindex")&&parseInt($(elem).attr("tabindex"))>0?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! Detected positive values for tabindex"}:{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"Passed!"}}var $=require("jquery"),enums=require("../enums/enums");module.exports={name:"avoidPositiveTabIndex",description:"Avoid positive values for Tab index",ruleID:"AX_02",tagName:["IMG","A","DIV","SPAN","INPUT","SELECT","BUTTON"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,jquery:51}],14:[function(require,module,exports){"use strict";function _ruleExector(elem){var _ct,_flag,_severityEnum=enums.severityEnum,_data=[],_isValid=!1,_invalidAriaAttrArr=[],_ariaArr=ariaAttributesArray;for([].forEach.call(elem.attributes,function(attr){/^aria-/.test(attr.name)&&_data.push(attr.name)}),_ct=0;_ct<_data.length;_ct++){for(_flag=_ariaArr.length,_isValid=!1;_flag--;)if(_ariaArr[_flag]===_data[_ct]){_isValid=!0;break}_isValid||_invalidAriaAttrArr.push(_data[_ct])}return _invalidAriaAttrArr.length>0?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! Invalid ARIA-* attributes exists on this element"}:{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"Passed!"}}var enums=require("../enums/enums"),ariaAttributesArray=require("../constants/ariaAttributesArray");module.exports={name:"invalidAriaAttribute",description:"The element has an invalid ARIA attribute",ruleID:"AX_03",tagName:["*"],handler:_ruleExector,isGlobal:!1}},{"../constants/ariaAttributesArray":6,"../enums/enums":9}],15:[function(require,module,exports){"use strict";function _ruleExector(elem){var _id,_severityEnum=enums.severityEnum;if(_id=$(elem).attr("id"),_id=$.trim(_id),!_.isEmpty(_id)&&""!==_id){var ids=$('[id="'+_id+'"]');return ids.length>1&&ids[0]===elem?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! The Id "+_id+" is used in more than one element"}:{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"Passed!"}}return{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! But No ID is set for this element"}}var $=require("jquery"),_=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"isIdUnique",description:"Check if element ID is unique",ruleID:"AX_04",tagName:["*"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,jquery:51,"lodash/core":52}],16:[function(require,module,exports){"use strict";function _ruleExector(elem){var _id,_objArr,_severityEnum=enums.severityEnum;return _id=$(elem).attr("id"),_id=$.trim(_id),_.isEmpty(_id)||""===_id?{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! But No ID is set for this element"}:(_objArr=$("[aria-owns="+_id+"]").get(),_objArr.length<=1?{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"Passed!"}:{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! The Id "+_id+" is a part of the aria-owns attribute of more than one element"})}var $=require("jquery"),_=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"isIdInAria_OwnsUnique",description:"An element's ID must not be present in more that one aria-owns attribute at any time",ruleID:"AX_05",tagName:["IMG","A","DIV","SPAN","INPUT","SELECT","BUTTON"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,jquery:51,"lodash/core":52}],17:[function(require,module,exports){"use strict";function _ruleExector(elem){var _id,_objArr,_severityEnum=enums.severityEnum;return _id=$(elem).attr("idref"),_id=$.trim(_id),_.isEmpty(_id)||""===_id?{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! But No IDREF is set for this element"}:(_objArr=$("[id="+_id+"]").get(),_objArr.length<=1?{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"Passed!"}:{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! The Id "+_id+" referred in this elements IDREF attribute is not unique"})}var $=require("jquery"),_=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"isIdInIdRefUnique",description:"Any ID referred to via an IDREF must be unique in the DOM",ruleID:"AX_06",tagName:["*"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,jquery:51,"lodash/core":52}],18:[function(require,module,exports){"use strict";function _ruleExector(){var _severityEnum=enums.severityEnum,_title=$("title");return 1!==_title.length||_.isEmpty(_title.html())?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! The page doesn't have a title tag that describes the topic or purpose, or it is empty"}:_title.html().length>15&&_title.html().length<55?{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"Passed! Title exists for this element"}:{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! But the length of the title is either too short or very long"}}var $=require("jquery"),_=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"hasTitle",description:"The webpage should have a title that describes topic or purpose",ruleID:"AX_07",tagName:[],handler:_ruleExector,isGlobal:!0}},{"../enums/enums":9,jquery:51,"lodash/core":52}],19:[function(require,module,exports){"use strict";function _ruleExector(elem){var _severityEnum=enums.severityEnum;return!elem.hasAttribute("summary")||_.isEmpty($(elem).attr("summary"))?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! The summary attribute is empty or doesn't exist"}:{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"Passed! The table has a summary attribute"}}var $=require("jquery"),_=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"hasSummary",description:"Provide summaries for tables",ruleID:"AX_08",tagName:["TABLE"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,jquery:51,"lodash/core":52}],20:[function(require,module,exports){"use strict";function _ruleExector(elem){var _severityEnum=enums.severityEnum;return elem.hasAttribute("abbr")&&!_.isEmpty($(elem).attr("abbr"))||$(elem).find("abbr").length>0?{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"Passed! The table header has an abbr attribute / ABBR tag"}:{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! The abbr attribute is empty or doesn't exist for the table header. Alternatively, No ABBR tag also is present"}}var $=require("jquery"),_=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"hasAbbr",description:"Provide abbreviations for header labels",ruleID:"AX_09",tagName:["TH"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,jquery:51,"lodash/core":52}],21:[function(require,module,exports){"use strict";function _ruleExector(elem){var _caption,_severityEnum=enums.severityEnum;return _caption=$(elem).find("caption"),1===_caption.length?_.isEmpty(_caption[0].innerHTML)?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! The CAPTION tag is empty for the table"}:{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"Passed! The table has a CAPTION"}:{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! The CAPTION tag doesn't exist for the table or there is more than one"}}var $=require("jquery"),_=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"hasCaption",description:"Provide a caption via the CAPTION element. A table CAPTION describes the table in one to three sentences",ruleID:"AX_10",tagName:["TABLE"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,jquery:51,"lodash/core":52}],22:[function(require,module,exports){"use strict";function _ruleExector(elem){var _role,_flag,_severityEnum=enums.severityEnum,_validRoleArr=[],_isValid=!1;if(_validRoleArr=validRoleArr,elem.hasAttribute("role")){if(_role=$(elem).attr("role"),_.isEmpty(_role))return{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! Empty ROLE atribute detected"};for(_flag=_validRoleArr.length;_flag--;)if(_validRoleArr[_flag]===_role){_isValid=!0;break}return _isValid?{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"Passed! ROLE is valid"}:{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! ROLE is invalid"}}return{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! No ROLE attribute detected"}}var $=require("jquery"),_=require("lodash/core"),enums=require("../enums/enums"),validRoleArr=require("../constants/validAriaRolesArr");module.exports={name:"hasValidAriaRole",description:"Elements with ARIA roles must use a valid, non-abstract ARIA role.",ruleID:"AX_11",tagName:["*"],handler:_ruleExector,isGlobal:!1}},{"../constants/validAriaRolesArr":8,"../enums/enums":9,jquery:51,"lodash/core":52}],23:[function(require,module,exports){"use strict";function _ruleExector(){var _severityEnum=enums.severityEnum,_html=$("html");return void 0===typeof _html.attr("lang")||_.isEmpty(_html.attr("lang"))?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! The document has no LANG attribute / EMPTY LANG attribute"}:{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! The document has a LANG attribute. Please check if its valid"}}var $=require("jquery"),_=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"hasLangAttribute",description:"The web page should have the content's human language indicated in the markup. Identify the primary natural language of the document",ruleID:"AX_12",tagName:[],handler:_ruleExector,isGlobal:!0}},{"../enums/enums":9,jquery:51,"lodash/core":52}],24:[function(require,module,exports){"use strict";function _ruleExector(){var _severityEnum=enums.severityEnum;return 1===$("[role='main']").length&&1===$("main").length&&$("[role='main']")[0]===$("main")[0]?{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"Passed! The document has a main element"}:{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! The document either has NO main element or more than one main element"}}var $=require("jquery"),enums=require("../enums/enums");module.exports={name:"hasMoreThanOneRoleMain",description:"There should be only one main element for a web page document",ruleID:"AX_13",tagName:[],handler:_ruleExector,isGlobal:!0}},{"../enums/enums":9,jquery:51}],25:[function(require,module,exports){"use strict";function _ruleExector(elem){var _severityEnum=enums.severityEnum;return elem.hasAttribute("title")&&!_.isEmpty("title")?{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! Title attribute present. Please check if its Meaningful"}:{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! The element doesn't have a title attribute to indicate expansion of abbreviation or acronym or a tooltip"}}var _=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"hasTitleAttribute",description:"Presence of Title attribute for ABBR, ACRONYM, IFRAME and A. Specify the expansion of each abbreviation or acronym in a document where it first occurs",ruleID:"AX_14",tagName:["ABBR","A","ACRONYM","IFRAME","OBJECT","MAP","APPLET"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,"lodash/core":52}],26:[function(require,module,exports){"use strict";function _canTakeAriaAttributes(elem){return(elem=axsUtils.checkForAria(elem))?!elem.reserved:!0}function _ruleExector(elem){var _severityEnum=enums.severityEnum;return _canTakeAriaAttributes(elem)?{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"PASSED! This is not a reserved element"}:null!==axsUtils.getAriaProperties(elem)?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"FAILED! ARIA-* attribute detected on this reserved element"}:{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"PASSED! This is a reserved element but there are no aria-* attributes detected"}}var enums=require("../enums/enums"),axsUtils=require("../axs/axsUtils");module.exports={name:"isAriaOnReservedElement",description:"This element does not support ARIA roles, states and properties",ruleID:"AX_15",tagName:["*"],handler:_ruleExector,isGlobal:!1}},{"../axs/axsUtils":5,"../enums/enums":9}],27:[function(require,module,exports){"use strict";function _ruleExector(){var _severityEnum=enums.severityEnum,font=document.getElementsByTagName("FONT").length,basefont=document.getElementsByTagName("BASEFONT").length,applet=document.getElementsByTagName("APPLET").length,center=document.getElementsByTagName("CENTER").length,dir=document.getElementsByTagName("DIR").length,isindex=document.getElementsByTagName("ISINDEX").length,menu=document.getElementsByTagName("MENU").length,s=document.getElementsByTagName("S").length,strike=document.getElementsByTagName("STRIKE").length,underline=document.getElementsByTagName("U").length,hasDeprecatedElems=font>0||basefont>0||applet>0||center>0||dir>0||isindex>0||menu>0||s>0||strike>0||underline>0;return hasDeprecatedElems?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! There are Deprecated elements being used which are not part of W3C technologies"}:{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"Passed! There are NO Deprecated elements being used"}}var enums=require("../enums/enums");module.exports={name:"isDeprecatedElement",description:"Avoid Deprecated features of W3C technologies",ruleID:"AX_16",tagName:[],handler:_ruleExector,isGlobal:!0}},{"../enums/enums":9}],28:[function(require,module,exports){"use strict";function _ruleExector(elem){var _severityEnum=enums.severityEnum;return elem.hasAttribute("style")?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! There are inline styles defined for this element"}:{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"Passed! No inline styles defined"}}var enums=require("../enums/enums");module.exports={name:"hasInlineStyles",description:"Avoid using the style attribute and defining styles inline and move them to stylesheets instead",ruleID:"AX_17",tagName:["*"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9}],29:[function(require,module,exports){"use strict";function _ruleExector(elem){var _severityEnum=enums.severityEnum;return elem.hasAttribute("placeholder")&&!_.isEmpty($(elem).attr("placeholder"))?{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"Passed! Placeholder attributes are properly defined"}:_.isEmpty(elem.value)&&_.isEmpty(elem.textContent)?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! Neither DEFAULT value nor a placeholder is specified for this form control "+elem.tagName}:{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! Default values are properly defined, but mention it in placeholders"}}var $=require("jquery"),_=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"hasDefaultPlaceholderTexts",description:"Until user agents handle empty controls correctly, include default placeholding characters in edit boxes and text areas",ruleID:"AX_18",tagName:["INPUT","SELECT","TEXTAREA"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,jquery:51,"lodash/core":52}],30:[function(require,module,exports){"use strict";function _ruleExector(elem){var _labelObj,_severityEnum=enums.severityEnum,_id=$(elem).attr("id");return elem.hasAttribute("id")&&!_.isEmpty(_id)?(_labelObj=$("label[for="+_id+"]"),1!==_labelObj.length||_.isEmpty(_labelObj.html())?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! No Label or more than one label element defined for element of id ="+_id}:{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"PASSED!"}):{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! No ID attribute is defined & therefore cannot be associated explicitly with label controlds"}}var $=require("jquery"),_=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"hasLabels",description:"Associate labels explicitly with their controls",ruleID:"AX_19",tagName:["INPUT","SELECT","TEXTAREA","DATALIST","METER","KEYGEN","OUTPUT"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,jquery:51,"lodash/core":52}],31:[function(require,module,exports){"use strict";function _ruleExector(elem){var _severityEnum=enums.severityEnum,_attr=$(elem).attr("http-equiv");return elem.hasAttribute("http-equiv")&&!_.isEmpty(_attr)&&"refresh"===_attr?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! This page has auto-refresh capabilities enabled"}:{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"Passed! No auto-refresh detected"}}var $=require("jquery"),_=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"hasAutoRefresh",description:"Until user agents provide the ability to stop the refresh, do not create periodically auto-refreshing / auto re-direct pages",ruleID:"AX_20",tagName:["META"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,jquery:51,"lodash/core":52}],32:[function(require,module,exports){"use strict";function _ruleExector(elem){var _severityEnum=enums.severityEnum,_attr=$(elem).attr("target");return elem.hasAttribute("target")&&!_.isEmpty(_attr)&&"_blank"===_attr?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! This element can potentially open pop ups that opens in a new window or tab"}:{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"Passed! No potential external pop up windows detected"}}var $=require("jquery"),_=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"isOpeningInNewTabOrPopUp",description:"Until user agents allow users to turn off spawned windows, do not cause pop-ups or other windows to appear and do not change the current window without informing the user.",ruleID:"AX_21",tagName:["A","IFRAME"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,jquery:51,"lodash/core":52}],33:[function(require,module,exports){"use strict";function _ruleExector(){var _severityEnum=enums.severityEnum;return $("NOSCRIPT").length>0?{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! Ensure that pages are usable when scripts, applets, or other programmatic objects are turned off or not supported. If this is not possible, provide equivalent information on an alternative accessible page"}:{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! NOSCRIPT tag is not present. Page would not be usable when scripts are turned off or not supported. If this is not possible, provide equivalent information on an alternative accessible page"}}var $=require("jquery"),enums=require("../enums/enums");module.exports={name:"hasNoScriptTag",description:"Ensure that pages are usable when scripts, applets, or other programmatic objects are turned off or not supported. If this is not possible, provide equivalent information on an alternative accessible page",ruleID:"AX_22",tagName:[],handler:_ruleExector,isGlobal:!0}},{"../enums/enums":9,jquery:51}],34:[function(require,module,exports){"use strict";function _ruleExector(elem){var _severityEnum=enums.severityEnum;return elem.hasAttribute("accesskey")&&!_.isEmpty("accesskey")?{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! Keyboard shortcut via accesskey is provided for this form control. Ensure that the accesskey is not repeated for multiple controls"}:{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! To ensure accessibility, provide shortcut via accesskey to this form control"}}var _=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"hasAccessKeyEnabled",description:"Provide keyboard shortcuts to important links (including those in client-side image maps), form controls, and groups of form controls",ruleID:"AX_23",tagName:["A","AREA","BUTTON","INPUT","TEXTAREA","LABEL","LEGEND","SELECT"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,"lodash/core":52}],35:[function(require,module,exports){"use strict";function _ruleExector(){var _innerHTML,_innerTags,_prevAll,_severityEnum=enums.severityEnum;return 1!==$("h1").length||_.isEmpty($("h1").html())?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! There is either more than one / empty / no header element defining the context & purpose of the page"}:(_innerHTML=$("h1").html(),_innerTags=$("h1").find("p, span, div, b, i, u, a, section, article, aside, ul, li, ol, h2, h3, h4, h5, h6"),_prevAll=$("h1").prevAll().filter("h2, h3, h4, h5, h6"),_innerHTML.length>15&&_innerHTML.length<100?0===_innerTags.length&&0===_prevAll.length?{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! Please check if the header tag is valid with the content being : "+_innerHTML}:{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! Header tag is present but either has other HTML tag markup within it or has other header tags defined out of order before it"}:{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"Failed! Header tag is present but the text length is either too short (lt 15) or too long(gt 100)"})}var $=require("jquery"),_=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"hasHeaderElementDefined",description:"Check if there is atleast one header section / element for the page content that defines its purpose & context",ruleID:"AX_24",tagName:[],handler:_ruleExector,isGlobal:!0}},{"../enums/enums":9,jquery:51,"lodash/core":52}],36:[function(require,module,exports){"use strict";function _ruleExector(elem){var _tagName,_txt,_severityEnum=enums.severityEnum;return elem.hasAttribute("role")&&"main"===elem.getAttribute("role")?(_tagName=elem.tagName.toUpperCase(),enums.InlineElementsEnum[_tagName]?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"FAILED! Main role is defined for an insignificant element"}:(_txt=axsUtils.getTextFromDescendantContent(elem),!_txt||50>_txt.length?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"FAILED! Role=main is on an invalid element"}:{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"PASSED! Role=main is on a valid element"})):{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"PASSED! Role=main doesnt exists"}}var enums=require("../enums/enums"),axsUtils=require("../axs/axsUtils");module.exports={name:"isRoleMainOnSignificantElement",description:"role=main must be present on significant elements only",ruleID:"AX_25",tagName:["*"],handler:_ruleExector,isGlobal:!1}},{"../axs/axsUtils":5,"../enums/enums":9}],37:[function(require,module,exports){"use strict";function _checkIfIsEmpty(obj){return _.isEmpty(obj)}function _ruleExector(){var _severityEnum=enums.severityEnum,_description=$("meta[name='description']"),_author=$("meta[name='author']"),_keywords=$("meta[name='keywords']"),_copyright=$("meta[name='copyright']"),_hasCharset=$("meta[charset]");return 1!==_author.length||_checkIfIsEmpty(_author.attr("content"))||1!==_description.length||_checkIfIsEmpty(_description.attr("content"))||1!==_keywords.length||_checkIfIsEmpty(_keywords.attr("content"))||1!==_copyright.length||_checkIfIsEmpty(_copyright.attr("content"))||1!==_hasCharset.length||_checkIfIsEmpty(_hasCharset.attr("charset"))?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"FAILED! Some or all of Required META tags such as 'keywords', 'description', 'copyright', 'author', 'charset' are missing for this page"}:{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"PASSED! Required META tags exists"}}var $=require("jquery"),_=require("lodash/core"),enums=require("../enums/enums");
  module.exports={name:"hasRequiredMetaAttributes",description:"Check if there is a meta tag with charset, keywords, description, author, copyright attributes defined",ruleID:"AX_26",tagName:[],handler:_ruleExector,isGlobal:!0}},{"../enums/enums":9,jquery:51,"lodash/core":52}],38:[function(require,module,exports){"use strict";function _ruleExector(){var _skipToMainContentLink,_severityEnum=enums.severityEnum,_mainElem=$("main"),_mainRole=$("[role='main']"),_mainID=_mainElem.attr("id")||_mainRole.attr("id");return _.isEmpty(_mainID)||_.isEmpty($("#"+_mainID).html())?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"FAILED! A proper main section defined either by the MAIN tag or role=main doesn't exist or is empty"}:(_skipToMainContentLink=$("a[href='#"+_mainID+"']"),_.isEmpty(_skipToMainContentLink)||_.isEmpty(_skipToMainContentLink.html())?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"FAILED! Link to skip to main content doesn't exist or is empty"}:{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"PASSED! Valid Link to skip to the main content section exists"})}var $=require("jquery"),_=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"hasLinkToSkipToMainContent",description:"Check if there is a link that helps skip irrelevant information and land the user at the main content",ruleID:"AX_27",tagName:[],handler:_ruleExector,isGlobal:!0}},{"../enums/enums":9,jquery:51,"lodash/core":52}],39:[function(require,module,exports){"use strict";function _ruleExector(elem){var _severityEnum=enums.severityEnum;return _.isEmpty($(elem).html())?{TYPE:_severityEnum.INFO,RESULT:!0,MSG:"PASSED!"}:{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! A PRE tag is present. Check the contents to ensure it doesn't have pre-formatted TABLE based layouts"}}var $=require("jquery"),_=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"isPreElementUsed",description:"Check if PRE elements are used. Ensure that there are no TABLE based layouts in it",ruleID:"AX_28",tagName:["PRE"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,jquery:51,"lodash/core":52}],40:[function(require,module,exports){"use strict";function _ruleExector(elem){var _severityEnum=enums.severityEnum;return"B"===elem.tagName?{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! A B tag is used. They are used to create a visual presentation effect and cannot indicate structure emphasis or speech inflection. Use the STRONG tag instead"}:"I"===elem.tagName?{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! An I tag is present. They are used to create a visual presentation effect. Render it via CSS"}:void 0}var enums=require("../enums/enums");module.exports={name:"isBorIElementUsed",description:"Don't use the <B> and <I> tags. They are used to create a visual presentation effect",ruleID:"AX_29",tagName:["B","I"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9}],41:[function(require,module,exports){"use strict";function _ruleExector(elem){var _severityEnum=enums.severityEnum;return""!==$.trim(elem.innerHTML)?{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! An OBJECT tag is used. Inner Text equivalent content is provided. Please check its validity"}:{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"ERROR! Provide a text equivalent for this non-text element OBJECT"}}var $=require("jquery"),enums=require("../enums/enums");module.exports={name:"hasTextEquivalent",description:"Provide text equivalent for every non-text element like OBJECT",ruleID:"AX_30",tagName:["OBJECT"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,jquery:51}],42:[function(require,module,exports){"use strict";function _ruleExector(elem){var _url,_severityEnum=enums.severityEnum,_hasImg=!1;return _.isEmpty(elem.getAttribute("src"))?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"ERROR! The SRC attribute of the iFrame is Empty. Remove unused frames"}:(_url=document.createElement("a"),_url.href=elem.getAttribute("src"),["pathname"].forEach(function(k){_hasImg=-1!==_url[k].indexOf("jpg")||-1!==_url[k].indexOf("jpeg")||-1!==_url[k].indexOf("gif")||-1!==_url[k].indexOf("png")}),_hasImg?{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"ERROR! Do not provide an image URL as the SRC attribute of the iFrame"}:{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! There are no images used as URL's for this iFrame"})}var _=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"hasImgInSrcOfUrl",description:"Ensure that equivalents for dynamic content are updated when the dynamic content changes. As the contents of a frame changes, so must change any description. This is not possible if an IMG is inserted directly into a frame. Thus, content developers should always make the source ('src') of a frame an HTML file",ruleID:"AX_31",tagName:["IFRAME"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,"lodash/core":52}],43:[function(require,module,exports){"use strict";function _ruleExector(elem){var _fieldset,_severityEnum=enums.severityEnum,$elem=$(elem);return _fieldset=$elem.closest("fieldset").first(),_fieldset.has($elem).length?{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! Fieldset is present around this form element to group it semantically. Validate it manually."}:{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"FAILED! There is no FIELDSET used to group form controls into semantic units"}}var $=require("jquery"),enums=require("../enums/enums");module.exports={name:"isFormElementInsideFieldSet",description:"Use FIELDSET to group form controls into semantic units and describe the group with the LEGEND element.",ruleID:"AX_32",tagName:["BUTTON","SELECT","INPUT","TEXTAREA","KEYGEN","DATALIST","OUTPUT"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,jquery:51}],44:[function(require,module,exports){"use strict";function _ruleExector(elem){var _severityEnum=enums.severityEnum,$elem=$(elem);return $elem.has("legend").length?{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! LEGEND is present inside this FIELDSET to describe it. Check its description"}:{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"FAILED! There is no LEGEND used to Describe this FIELDSET group"}}var $=require("jquery"),enums=require("../enums/enums");module.exports={name:"isFieldsetContainsLegend",description:"Describe the FIELDSET group with the LEGEND element.",ruleID:"AX_33",tagName:["FIELDSET"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,jquery:51}],45:[function(require,module,exports){"use strict";function _ruleExector(){var _node,_htmlDocType,_severityEnum=enums.severityEnum;return _node=document.doctype,_.isUndefined(_node)||_.isNull(_node)||(_htmlDocType="<!DOCTYPE "+_node.name+(_node.publicId?' PUBLIC "'+_node.publicId+'"':"")+(!_node.publicId&&_node.systemId?" SYSTEM":"")+(_node.systemId?' "'+_node.systemId+'"':"")+">"),!_.isEmpty(_htmlDocType)&&_.isNull(_node.previousSibling)?{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! A Doctype is present as :"+_htmlDocType}:{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"FAILED! No valid DocType is present (or) the Doctype is not the first element of the page"}}var _=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"hasDoctype",description:"Check for presence of a DOCTYPE",ruleID:"AX_34",tagName:[],handler:_ruleExector,isGlobal:!0}},{"../enums/enums":9,"lodash/core":52}],46:[function(require,module,exports){"use strict";function _ruleExector(elem){var _th,_severityEnum=enums.severityEnum;return elem.hasAttribute("headers")&&!_.isEmpty(elem.getAttribute("headers"))?(_th=$("#"+elem.getAttribute("headers")),_th.length>0&&"TH"===_th.prop("tagName")?{TYPE:_severityEnum.WARN,RESULT:!0,MSG:"WARNING! There is a TH corresponding to this. But validate if the content makes sense"}:{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"FAILED! There is no corresponding header TH associated with this element's headers attribute"}):{TYPE:_severityEnum.ERROR,RESULT:!1,MSG:"FAILED! The TD element is not associated with a corresponding table header defined by TH. If this table is used for layout, structure or presentation purposes other than tablulating data. Avoid it."}}var $=require("jquery"),_=require("lodash/core"),enums=require("../enums/enums");module.exports={name:"hasHeadersAttribute",description:"Table TD tags are to be associated to corresponding TH header tags of the table via the headers attribute",ruleID:"AX_35",tagName:["TD"],handler:_ruleExector,isGlobal:!1}},{"../enums/enums":9,jquery:51,"lodash/core":52}],47:[function(require,module,exports){"use strict";function _createRule(_obj){var _tagNamesArr;_auditRules[_obj.ruleID]=_obj,_tagNamesArr=_obj.tagName,1===_tagNamesArr.length&&"*"===_tagNamesArr[0]&&(_tagNamesArr=tagNamesArr),_tagNamesArr.forEach(function(element){ruleTagNameMapper.addRuleToTag(element,_obj.ruleID)}),ruleHandlerMapper.addRuleHandler(_obj.ruleID,_obj.handler)}function _getAuditRules(){return _auditRules}function _getAllGlobalRules(){var _globalRules={};return _.forEach(_auditRules,function(value,key){value.isGlobal&&(_globalRules[key]=value)}),_globalRules}function _getRule(_key){return _auditRules[_key]}function _getAllGlobalRulesByCompliance(compliance){var _rulesMap={};return _.forEach(_auditRules,function(value,key){value.compliance===compliance&&value.isGlobal&&(_rulesMap[key]=value)}),_rulesMap}var ruleTagNameMapper=require("../mapper/ruleTagNameMapper"),ruleHandlerMapper=require("../mapper/ruleHandlerMapper"),_=require("lodash/core"),tagNamesArr=require("../constants/tagNamesArray"),_auditRules={};module.exports={addAuditRule:_createRule,getAuditRulesList:_getAuditRules,getRuleObj:_getRule,getAllGlobalRules:_getAllGlobalRules,getAllGlobalRulesByCompliance:_getAllGlobalRulesByCompliance}},{"../constants/tagNamesArray":7,"../mapper/ruleHandlerMapper":10,"../mapper/ruleTagNameMapper":11,"lodash/core":52}],48:[function(require,module,exports){"use strict";function _fetchRules(element){_rulesArr.push(require(__base+element))}var _objHashMap,_prop,glob,_ruleList,_rulesArr=[];!function(){try{_objHashMap={AX_01:require("../rulesImpl/AX_01.js"),AX_02:require("../rulesImpl/AX_02.js"),AX_03:require("../rulesImpl/AX_03.js"),AX_04:require("../rulesImpl/AX_04.js"),AX_05:require("../rulesImpl/AX_05.js"),AX_06:require("../rulesImpl/AX_06.js"),AX_07:require("../rulesImpl/AX_07.js"),AX_08:require("../rulesImpl/AX_08.js"),AX_09:require("../rulesImpl/AX_09.js"),AX_10:require("../rulesImpl/AX_10.js"),AX_11:require("../rulesImpl/AX_11.js"),AX_12:require("../rulesImpl/AX_12.js"),AX_13:require("../rulesImpl/AX_13.js"),AX_14:require("../rulesImpl/AX_14.js"),AX_15:require("../rulesImpl/AX_15.js"),AX_16:require("../rulesImpl/AX_16.js"),AX_17:require("../rulesImpl/AX_17.js"),AX_18:require("../rulesImpl/AX_18.js"),AX_19:require("../rulesImpl/AX_19.js"),AX_20:require("../rulesImpl/AX_20.js"),AX_21:require("../rulesImpl/AX_21.js"),AX_22:require("../rulesImpl/AX_22.js"),AX_23:require("../rulesImpl/AX_23.js"),AX_24:require("../rulesImpl/AX_24.js"),AX_25:require("../rulesImpl/AX_25.js"),AX_26:require("../rulesImpl/AX_26.js"),AX_27:require("../rulesImpl/AX_27.js"),AX_28:require("../rulesImpl/AX_28.js"),AX_29:require("../rulesImpl/AX_29.js"),AX_30:require("../rulesImpl/AX_30.js"),AX_31:require("../rulesImpl/AX_31.js"),AX_32:require("../rulesImpl/AX_32.js"),AX_33:require("../rulesImpl/AX_33.js"),AX_34:require("../rulesImpl/AX_34.js"),AX_35:require("../rulesImpl/AX_35.js")};for(_prop in _objHashMap)_objHashMap.hasOwnProperty(_prop)&&_rulesArr.push(_objHashMap[_prop])}catch(e){glob=require("glob")||{},_ruleList=glob.sync("lib/rulesImpl/*.js",{}),_ruleList.forEach(_fetchRules)}}(),module.exports=_rulesArr||[]},{"../rulesImpl/AX_01.js":12,"../rulesImpl/AX_02.js":13,"../rulesImpl/AX_03.js":14,"../rulesImpl/AX_04.js":15,"../rulesImpl/AX_05.js":16,"../rulesImpl/AX_06.js":17,"../rulesImpl/AX_07.js":18,"../rulesImpl/AX_08.js":19,"../rulesImpl/AX_09.js":20,"../rulesImpl/AX_10.js":21,"../rulesImpl/AX_11.js":22,"../rulesImpl/AX_12.js":23,"../rulesImpl/AX_13.js":24,"../rulesImpl/AX_14.js":25,"../rulesImpl/AX_15.js":26,"../rulesImpl/AX_16.js":27,"../rulesImpl/AX_17.js":28,"../rulesImpl/AX_18.js":29,"../rulesImpl/AX_19.js":30,"../rulesImpl/AX_20.js":31,"../rulesImpl/AX_21.js":32,"../rulesImpl/AX_22.js":33,"../rulesImpl/AX_23.js":34,"../rulesImpl/AX_24.js":35,"../rulesImpl/AX_25.js":36,"../rulesImpl/AX_26.js":37,"../rulesImpl/AX_27.js":38,"../rulesImpl/AX_28.js":39,"../rulesImpl/AX_29.js":40,"../rulesImpl/AX_30.js":41,"../rulesImpl/AX_31.js":42,"../rulesImpl/AX_32.js":43,"../rulesImpl/AX_33.js":44,"../rulesImpl/AX_34.js":45,"../rulesImpl/AX_35.js":46,glob:void 0}],49:[function(require,module,exports){"use strict";function EnumGen(obj){var _obj={};if(1!==arguments.length||null===obj||"object"!=typeof obj)throw new Error("Mention a proper enum configuration !");return Object.keys(obj).forEach(function(name){_obj[name]=obj[name]},_obj),Object.freeze(_obj),_obj}EnumGen.prototype=Object.create(null),Object.freeze(EnumGen.prototype),module.exports=EnumGen},{}],50:[function(require,module,exports){"use strict";module.exports={dependencies:{},process:function(target){var FN_ARGS=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,text=target.toString(),args=text.match(FN_ARGS)[1].split(",");return target.apply(target,this.getDependencies(args))},getDependencies:function(arr){var _this=this;return arr.map(function(value){return _this.dependencies[value]})},register:function(name,dependency){this.dependencies[name]=dependency}}},{}],51:[function(require,module,exports){!function(global,factory){"object"==typeof module&&"object"==typeof module.exports?module.exports=global.document?factory(global,!0):function(w){if(!w.document)throw new Error("jQuery requires a window with a document");return factory(w)}:factory(global)}("undefined"!=typeof window?window:this,function(window,noGlobal){function isArrayLike(obj){var length=!!obj&&"length"in obj&&obj.length,type=jQuery.type(obj);return"function"===type||jQuery.isWindow(obj)?!1:"array"===type||0===length||"number"==typeof length&&length>0&&length-1 in obj}function winnow(elements,qualifier,not){if(jQuery.isFunction(qualifier))return jQuery.grep(elements,function(elem,i){return!!qualifier.call(elem,i,elem)!==not});if(qualifier.nodeType)return jQuery.grep(elements,function(elem){return elem===qualifier!==not});if("string"==typeof qualifier){if(risSimple.test(qualifier))return jQuery.filter(qualifier,elements,not);qualifier=jQuery.filter(qualifier,elements)}return jQuery.grep(elements,function(elem){return indexOf.call(qualifier,elem)>-1!==not})}function sibling(cur,dir){for(;(cur=cur[dir])&&1!==cur.nodeType;);return cur}function createOptions(options){var object={};return jQuery.each(options.match(rnotwhite)||[],function(_,flag){object[flag]=!0}),object}function completed(){document.removeEventListener("DOMContentLoaded",completed),window.removeEventListener("load",completed),jQuery.ready()}function Data(){this.expando=jQuery.expando+Data.uid++}function dataAttr(elem,key,data){var name;if(void 0===data&&1===elem.nodeType)if(name="data-"+key.replace(rmultiDash,"-$&").toLowerCase(),data=elem.getAttribute(name),"string"==typeof data){try{data="true"===data?!0:"false"===data?!1:"null"===data?null:+data+""===data?+data:rbrace.test(data)?jQuery.parseJSON(data):data}catch(e){}dataUser.set(elem,key,data)}else data=void 0;return data}function adjustCSS(elem,prop,valueParts,tween){var adjusted,scale=1,maxIterations=20,currentValue=tween?function(){return tween.cur()}:function(){return jQuery.css(elem,prop,"")},initial=currentValue(),unit=valueParts&&valueParts[3]||(jQuery.cssNumber[prop]?"":"px"),initialInUnit=(jQuery.cssNumber[prop]||"px"!==unit&&+initial)&&rcssNum.exec(jQuery.css(elem,prop));if(initialInUnit&&initialInUnit[3]!==unit){unit=unit||initialInUnit[3],valueParts=valueParts||[],initialInUnit=+initial||1;do scale=scale||".5",initialInUnit/=scale,jQuery.style(elem,prop,initialInUnit+unit);while(scale!==(scale=currentValue()/initial)&&1!==scale&&--maxIterations)}return valueParts&&(initialInUnit=+initialInUnit||+initial||0,adjusted=valueParts[1]?initialInUnit+(valueParts[1]+1)*valueParts[2]:+valueParts[2],tween&&(tween.unit=unit,tween.start=initialInUnit,tween.end=adjusted)),adjusted}function getAll(context,tag){var ret="undefined"!=typeof context.getElementsByTagName?context.getElementsByTagName(tag||"*"):"undefined"!=typeof context.querySelectorAll?context.querySelectorAll(tag||"*"):[];return void 0===tag||tag&&jQuery.nodeName(context,tag)?jQuery.merge([context],ret):ret}function setGlobalEval(elems,refElements){for(var i=0,l=elems.length;l>i;i++)dataPriv.set(elems[i],"globalEval",!refElements||dataPriv.get(refElements[i],"globalEval"))}function buildFragment(elems,context,scripts,selection,ignored){for(var elem,tmp,tag,wrap,contains,j,fragment=context.createDocumentFragment(),nodes=[],i=0,l=elems.length;l>i;i++)if(elem=elems[i],elem||0===elem)if("object"===jQuery.type(elem))jQuery.merge(nodes,elem.nodeType?[elem]:elem);else if(rhtml.test(elem)){for(tmp=tmp||fragment.appendChild(context.createElement("div")),tag=(rtagName.exec(elem)||["",""])[1].toLowerCase(),wrap=wrapMap[tag]||wrapMap._default,tmp.innerHTML=wrap[1]+jQuery.htmlPrefilter(elem)+wrap[2],j=wrap[0];j--;)tmp=tmp.lastChild;jQuery.merge(nodes,tmp.childNodes),tmp=fragment.firstChild,tmp.textContent=""}else nodes.push(context.createTextNode(elem));for(fragment.textContent="",i=0;elem=nodes[i++];)if(selection&&jQuery.inArray(elem,selection)>-1)ignored&&ignored.push(elem);else if(contains=jQuery.contains(elem.ownerDocument,elem),tmp=getAll(fragment.appendChild(elem),"script"),contains&&setGlobalEval(tmp),scripts)for(j=0;elem=tmp[j++];)rscriptType.test(elem.type||"")&&scripts.push(elem);return fragment}function returnTrue(){return!0}function returnFalse(){return!1}function safeActiveElement(){try{return document.activeElement}catch(err){}}function on(elem,types,selector,data,fn,one){var origFn,type;if("object"==typeof types){"string"!=typeof selector&&(data=data||selector,selector=void 0);for(type in types)on(elem,type,selector,data,types[type],one);return elem}if(null==data&&null==fn?(fn=selector,data=selector=void 0):null==fn&&("string"==typeof selector?(fn=data,data=void 0):(fn=data,data=selector,selector=void 0)),fn===!1)fn=returnFalse;else if(!fn)return this;return 1===one&&(origFn=fn,fn=function(event){return jQuery().off(event),origFn.apply(this,arguments)},fn.guid=origFn.guid||(origFn.guid=jQuery.guid++)),elem.each(function(){jQuery.event.add(this,types,fn,data,selector)})}function manipulationTarget(elem,content){return jQuery.nodeName(elem,"table")&&jQuery.nodeName(11!==content.nodeType?content:content.firstChild,"tr")?elem.getElementsByTagName("tbody")[0]||elem:elem}function disableScript(elem){return elem.type=(null!==elem.getAttribute("type"))+"/"+elem.type,elem}function restoreScript(elem){var match=rscriptTypeMasked.exec(elem.type);return match?elem.type=match[1]:elem.removeAttribute("type"),elem}function cloneCopyEvent(src,dest){var i,l,type,pdataOld,pdataCur,udataOld,udataCur,events;if(1===dest.nodeType){if(dataPriv.hasData(src)&&(pdataOld=dataPriv.access(src),pdataCur=dataPriv.set(dest,pdataOld),events=pdataOld.events)){delete pdataCur.handle,pdataCur.events={};for(type in events)for(i=0,l=events[type].length;l>i;i++)jQuery.event.add(dest,type,events[type][i])}dataUser.hasData(src)&&(udataOld=dataUser.access(src),udataCur=jQuery.extend({},udataOld),dataUser.set(dest,udataCur))}}function fixInput(src,dest){var nodeName=dest.nodeName.toLowerCase();"input"===nodeName&&rcheckableType.test(src.type)?dest.checked=src.checked:"input"!==nodeName&&"textarea"!==nodeName||(dest.defaultValue=src.defaultValue)}function domManip(collection,args,callback,ignored){args=concat.apply([],args);var fragment,first,scripts,hasScripts,node,doc,i=0,l=collection.length,iNoClone=l-1,value=args[0],isFunction=jQuery.isFunction(value);if(isFunction||l>1&&"string"==typeof value&&!support.checkClone&&rchecked.test(value))return collection.each(function(index){var self=collection.eq(index);isFunction&&(args[0]=value.call(this,index,self.html())),domManip(self,args,callback,ignored)});if(l&&(fragment=buildFragment(args,collection[0].ownerDocument,!1,collection,ignored),first=fragment.firstChild,1===fragment.childNodes.length&&(fragment=first),first||ignored)){for(scripts=jQuery.map(getAll(fragment,"script"),disableScript),hasScripts=scripts.length;l>i;i++)node=fragment,i!==iNoClone&&(node=jQuery.clone(node,!0,!0),hasScripts&&jQuery.merge(scripts,getAll(node,"script"))),callback.call(collection[i],node,i);if(hasScripts)for(doc=scripts[scripts.length-1].ownerDocument,jQuery.map(scripts,restoreScript),i=0;hasScripts>i;i++)node=scripts[i],rscriptType.test(node.type||"")&&!dataPriv.access(node,"globalEval")&&jQuery.contains(doc,node)&&(node.src?jQuery._evalUrl&&jQuery._evalUrl(node.src):jQuery.globalEval(node.textContent.replace(rcleanScript,"")))}return collection}function remove(elem,selector,keepData){for(var node,nodes=selector?jQuery.filter(selector,elem):elem,i=0;null!=(node=nodes[i]);i++)keepData||1!==node.nodeType||jQuery.cleanData(getAll(node)),node.parentNode&&(keepData&&jQuery.contains(node.ownerDocument,node)&&setGlobalEval(getAll(node,"script")),node.parentNode.removeChild(node));return elem}function actualDisplay(name,doc){var elem=jQuery(doc.createElement(name)).appendTo(doc.body),display=jQuery.css(elem[0],"display");return elem.detach(),display}function defaultDisplay(nodeName){var doc=document,display=elemdisplay[nodeName];return display||(display=actualDisplay(nodeName,doc),"none"!==display&&display||(iframe=(iframe||jQuery("<iframe frameborder='0' width='0' height='0'/>")).appendTo(doc.documentElement),doc=iframe[0].contentDocument,doc.write(),doc.close(),display=actualDisplay(nodeName,doc),iframe.detach()),elemdisplay[nodeName]=display),display}function curCSS(elem,name,computed){var width,minWidth,maxWidth,ret,style=elem.style;return computed=computed||getStyles(elem),computed&&(ret=computed.getPropertyValue(name)||computed[name],""!==ret||jQuery.contains(elem.ownerDocument,elem)||(ret=jQuery.style(elem,name)),!support.pixelMarginRight()&&rnumnonpx.test(ret)&&rmargin.test(name)&&(width=style.width,minWidth=style.minWidth,maxWidth=style.maxWidth,style.minWidth=style.maxWidth=style.width=ret,ret=computed.width,style.width=width,style.minWidth=minWidth,style.maxWidth=maxWidth)),void 0!==ret?ret+"":ret}function addGetHookIf(conditionFn,hookFn){return{get:function(){return conditionFn()?void delete this.get:(this.get=hookFn).apply(this,arguments)}}}function vendorPropName(name){if(name in emptyStyle)return name;for(var capName=name[0].toUpperCase()+name.slice(1),i=cssPrefixes.length;i--;)if(name=cssPrefixes[i]+capName,name in emptyStyle)return name}function setPositiveNumber(elem,value,subtract){var matches=rcssNum.exec(value);return matches?Math.max(0,matches[2]-(subtract||0))+(matches[3]||"px"):value}function augmentWidthOrHeight(elem,name,extra,isBorderBox,styles){for(var i=extra===(isBorderBox?"border":"content")?4:"width"===name?1:0,val=0;4>i;i+=2)"margin"===extra&&(val+=jQuery.css(elem,extra+cssExpand[i],!0,styles)),isBorderBox?("content"===extra&&(val-=jQuery.css(elem,"padding"+cssExpand[i],!0,styles)),"margin"!==extra&&(val-=jQuery.css(elem,"border"+cssExpand[i]+"Width",!0,styles))):(val+=jQuery.css(elem,"padding"+cssExpand[i],!0,styles),"padding"!==extra&&(val+=jQuery.css(elem,"border"+cssExpand[i]+"Width",!0,styles)));return val}function getWidthOrHeight(elem,name,extra){var valueIsBorderBox=!0,val="width"===name?elem.offsetWidth:elem.offsetHeight,styles=getStyles(elem),isBorderBox="border-box"===jQuery.css(elem,"boxSizing",!1,styles);if(document.msFullscreenElement&&window.top!==window&&elem.getClientRects().length&&(val=Math.round(100*elem.getBoundingClientRect()[name])),0>=val||null==val){if(val=curCSS(elem,name,styles),(0>val||null==val)&&(val=elem.style[name]),rnumnonpx.test(val))return val;valueIsBorderBox=isBorderBox&&(support.boxSizingReliable()||val===elem.style[name]),val=parseFloat(val)||0}return val+augmentWidthOrHeight(elem,name,extra||(isBorderBox?"border":"content"),valueIsBorderBox,styles)+"px"}function showHide(elements,show){for(var display,elem,hidden,values=[],index=0,length=elements.length;length>index;index++)elem=elements[index],elem.style&&(values[index]=dataPriv.get(elem,"olddisplay"),display=elem.style.display,show?(values[index]||"none"!==display||(elem.style.display=""),""===elem.style.display&&isHidden(elem)&&(values[index]=dataPriv.access(elem,"olddisplay",defaultDisplay(elem.nodeName)))):(hidden=isHidden(elem),"none"===display&&hidden||dataPriv.set(elem,"olddisplay",hidden?display:jQuery.css(elem,"display"))));for(index=0;length>index;index++)elem=elements[index],elem.style&&(show&&"none"!==elem.style.display&&""!==elem.style.display||(elem.style.display=show?values[index]||"":"none"));return elements}function Tween(elem,options,prop,end,easing){return new Tween.prototype.init(elem,options,prop,end,easing)}function createFxNow(){return window.setTimeout(function(){fxNow=void 0}),fxNow=jQuery.now()}function genFx(type,includeWidth){var which,i=0,attrs={height:type};for(includeWidth=includeWidth?1:0;4>i;i+=2-includeWidth)which=cssExpand[i],attrs["margin"+which]=attrs["padding"+which]=type;return includeWidth&&(attrs.opacity=attrs.width=type),attrs}function createTween(value,prop,animation){for(var tween,collection=(Animation.tweeners[prop]||[]).concat(Animation.tweeners["*"]),index=0,length=collection.length;length>index;index++)if(tween=collection[index].call(animation,prop,value))return tween}function defaultPrefilter(elem,props,opts){var prop,value,toggle,tween,hooks,oldfire,display,checkDisplay,anim=this,orig={},style=elem.style,hidden=elem.nodeType&&isHidden(elem),dataShow=dataPriv.get(elem,"fxshow");opts.queue||(hooks=jQuery._queueHooks(elem,"fx"),null==hooks.unqueued&&(hooks.unqueued=0,oldfire=hooks.empty.fire,hooks.empty.fire=function(){hooks.unqueued||oldfire()}),hooks.unqueued++,anim.always(function(){anim.always(function(){hooks.unqueued--,jQuery.queue(elem,"fx").length||hooks.empty.fire()})})),1===elem.nodeType&&("height"in props||"width"in props)&&(opts.overflow=[style.overflow,style.overflowX,style.overflowY],display=jQuery.css(elem,"display"),checkDisplay="none"===display?dataPriv.get(elem,"olddisplay")||defaultDisplay(elem.nodeName):display,"inline"===checkDisplay&&"none"===jQuery.css(elem,"float")&&(style.display="inline-block")),opts.overflow&&(style.overflow="hidden",anim.always(function(){style.overflow=opts.overflow[0],style.overflowX=opts.overflow[1],style.overflowY=opts.overflow[2]}));for(prop in props)if(value=props[prop],rfxtypes.exec(value)){if(delete props[prop],toggle=toggle||"toggle"===value,value===(hidden?"hide":"show")){if("show"!==value||!dataShow||void 0===dataShow[prop])continue;hidden=!0}orig[prop]=dataShow&&dataShow[prop]||jQuery.style(elem,prop)}else display=void 0;if(jQuery.isEmptyObject(orig))"inline"===("none"===display?defaultDisplay(elem.nodeName):display)&&(style.display=display);else{dataShow?"hidden"in dataShow&&(hidden=dataShow.hidden):dataShow=dataPriv.access(elem,"fxshow",{}),toggle&&(dataShow.hidden=!hidden),hidden?jQuery(elem).show():anim.done(function(){jQuery(elem).hide()}),anim.done(function(){var prop;dataPriv.remove(elem,"fxshow");for(prop in orig)jQuery.style(elem,prop,orig[prop])});for(prop in orig)tween=createTween(hidden?dataShow[prop]:0,prop,anim),prop in dataShow||(dataShow[prop]=tween.start,hidden&&(tween.end=tween.start,tween.start="width"===prop||"height"===prop?1:0))}}function propFilter(props,specialEasing){var index,name,easing,value,hooks;for(index in props)if(name=jQuery.camelCase(index),easing=specialEasing[name],value=props[index],jQuery.isArray(value)&&(easing=value[1],value=props[index]=value[0]),index!==name&&(props[name]=value,delete props[index]),hooks=jQuery.cssHooks[name],hooks&&"expand"in hooks){value=hooks.expand(value),delete props[name];for(index in value)index in props||(props[index]=value[index],specialEasing[index]=easing)}else specialEasing[name]=easing}function Animation(elem,properties,options){var result,stopped,index=0,length=Animation.prefilters.length,deferred=jQuery.Deferred().always(function(){delete tick.elem}),tick=function(){if(stopped)return!1;for(var currentTime=fxNow||createFxNow(),remaining=Math.max(0,animation.startTime+animation.duration-currentTime),temp=remaining/animation.duration||0,percent=1-temp,index=0,length=animation.tweens.length;length>index;index++)animation.tweens[index].run(percent);return deferred.notifyWith(elem,[animation,percent,remaining]),1>percent&&length?remaining:(deferred.resolveWith(elem,[animation]),!1)},animation=deferred.promise({elem:elem,props:jQuery.extend({},properties),opts:jQuery.extend(!0,{specialEasing:{},easing:jQuery.easing._default},options),originalProperties:properties,originalOptions:options,startTime:fxNow||createFxNow(),duration:options.duration,tweens:[],createTween:function(prop,end){var tween=jQuery.Tween(elem,animation.opts,prop,end,animation.opts.specialEasing[prop]||animation.opts.easing);return animation.tweens.push(tween),tween},stop:function(gotoEnd){var index=0,length=gotoEnd?animation.tweens.length:0;if(stopped)return this;for(stopped=!0;length>index;index++)animation.tweens[index].run(1);return gotoEnd?(deferred.notifyWith(elem,[animation,1,0]),deferred.resolveWith(elem,[animation,gotoEnd])):deferred.rejectWith(elem,[animation,gotoEnd]),this}}),props=animation.props;for(propFilter(props,animation.opts.specialEasing);length>index;index++)if(result=Animation.prefilters[index].call(animation,elem,props,animation.opts))return jQuery.isFunction(result.stop)&&(jQuery._queueHooks(animation.elem,animation.opts.queue).stop=jQuery.proxy(result.stop,result)),result;return jQuery.map(props,createTween,animation),jQuery.isFunction(animation.opts.start)&&animation.opts.start.call(elem,animation),jQuery.fx.timer(jQuery.extend(tick,{elem:elem,anim:animation,queue:animation.opts.queue})),animation.progress(animation.opts.progress).done(animation.opts.done,animation.opts.complete).fail(animation.opts.fail).always(animation.opts.always)}function getClass(elem){return elem.getAttribute&&elem.getAttribute("class")||""}function addToPrefiltersOrTransports(structure){return function(dataTypeExpression,func){"string"!=typeof dataTypeExpression&&(func=dataTypeExpression,dataTypeExpression="*");var dataType,i=0,dataTypes=dataTypeExpression.toLowerCase().match(rnotwhite)||[];if(jQuery.isFunction(func))for(;dataType=dataTypes[i++];)"+"===dataType[0]?(dataType=dataType.slice(1)||"*",(structure[dataType]=structure[dataType]||[]).unshift(func)):(structure[dataType]=structure[dataType]||[]).push(func)}}function inspectPrefiltersOrTransports(structure,options,originalOptions,jqXHR){function inspect(dataType){var selected;return inspected[dataType]=!0,jQuery.each(structure[dataType]||[],function(_,prefilterOrFactory){var dataTypeOrTransport=prefilterOrFactory(options,originalOptions,jqXHR);return"string"!=typeof dataTypeOrTransport||seekingTransport||inspected[dataTypeOrTransport]?seekingTransport?!(selected=dataTypeOrTransport):void 0:(options.dataTypes.unshift(dataTypeOrTransport),inspect(dataTypeOrTransport),!1)}),selected}var inspected={},seekingTransport=structure===transports;return inspect(options.dataTypes[0])||!inspected["*"]&&inspect("*")}function ajaxExtend(target,src){var key,deep,flatOptions=jQuery.ajaxSettings.flatOptions||{};for(key in src)void 0!==src[key]&&((flatOptions[key]?target:deep||(deep={}))[key]=src[key]);return deep&&jQuery.extend(!0,target,deep),target}function ajaxHandleResponses(s,jqXHR,responses){for(var ct,type,finalDataType,firstDataType,contents=s.contents,dataTypes=s.dataTypes;"*"===dataTypes[0];)dataTypes.shift(),void 0===ct&&(ct=s.mimeType||jqXHR.getResponseHeader("Content-Type"));if(ct)for(type in contents)if(contents[type]&&contents[type].test(ct)){dataTypes.unshift(type);break}if(dataTypes[0]in responses)finalDataType=dataTypes[0];else{for(type in responses){if(!dataTypes[0]||s.converters[type+" "+dataTypes[0]]){
  finalDataType=type;break}firstDataType||(firstDataType=type)}finalDataType=finalDataType||firstDataType}return finalDataType?(finalDataType!==dataTypes[0]&&dataTypes.unshift(finalDataType),responses[finalDataType]):void 0}function ajaxConvert(s,response,jqXHR,isSuccess){var conv2,current,conv,tmp,prev,converters={},dataTypes=s.dataTypes.slice();if(dataTypes[1])for(conv in s.converters)converters[conv.toLowerCase()]=s.converters[conv];for(current=dataTypes.shift();current;)if(s.responseFields[current]&&(jqXHR[s.responseFields[current]]=response),!prev&&isSuccess&&s.dataFilter&&(response=s.dataFilter(response,s.dataType)),prev=current,current=dataTypes.shift())if("*"===current)current=prev;else if("*"!==prev&&prev!==current){if(conv=converters[prev+" "+current]||converters["* "+current],!conv)for(conv2 in converters)if(tmp=conv2.split(" "),tmp[1]===current&&(conv=converters[prev+" "+tmp[0]]||converters["* "+tmp[0]])){conv===!0?conv=converters[conv2]:converters[conv2]!==!0&&(current=tmp[0],dataTypes.unshift(tmp[1]));break}if(conv!==!0)if(conv&&s["throws"])response=conv(response);else try{response=conv(response)}catch(e){return{state:"parsererror",error:conv?e:"No conversion from "+prev+" to "+current}}}return{state:"success",data:response}}function buildParams(prefix,obj,traditional,add){var name;if(jQuery.isArray(obj))jQuery.each(obj,function(i,v){traditional||rbracket.test(prefix)?add(prefix,v):buildParams(prefix+"["+("object"==typeof v&&null!=v?i:"")+"]",v,traditional,add)});else if(traditional||"object"!==jQuery.type(obj))add(prefix,obj);else for(name in obj)buildParams(prefix+"["+name+"]",obj[name],traditional,add)}function getWindow(elem){return jQuery.isWindow(elem)?elem:9===elem.nodeType&&elem.defaultView}var arr=[],document=window.document,slice=arr.slice,concat=arr.concat,push=arr.push,indexOf=arr.indexOf,class2type={},toString=class2type.toString,hasOwn=class2type.hasOwnProperty,support={},version="2.2.0",jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},rtrim=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,rmsPrefix=/^-ms-/,rdashAlpha=/-([\da-z])/gi,fcamelCase=function(all,letter){return letter.toUpperCase()};jQuery.fn=jQuery.prototype={jquery:version,constructor:jQuery,selector:"",length:0,toArray:function(){return slice.call(this)},get:function(num){return null!=num?0>num?this[num+this.length]:this[num]:slice.call(this)},pushStack:function(elems){var ret=jQuery.merge(this.constructor(),elems);return ret.prevObject=this,ret.context=this.context,ret},each:function(callback){return jQuery.each(this,callback)},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem)}))},slice:function(){return this.pushStack(slice.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(i){var len=this.length,j=+i+(0>i?len:0);return this.pushStack(j>=0&&len>j?[this[j]]:[])},end:function(){return this.prevObject||this.constructor()},push:push,sort:arr.sort,splice:arr.splice},jQuery.extend=jQuery.fn.extend=function(){var options,name,src,copy,copyIsArray,clone,target=arguments[0]||{},i=1,length=arguments.length,deep=!1;for("boolean"==typeof target&&(deep=target,target=arguments[i]||{},i++),"object"==typeof target||jQuery.isFunction(target)||(target={}),i===length&&(target=this,i--);length>i;i++)if(null!=(options=arguments[i]))for(name in options)src=target[name],copy=options[name],target!==copy&&(deep&&copy&&(jQuery.isPlainObject(copy)||(copyIsArray=jQuery.isArray(copy)))?(copyIsArray?(copyIsArray=!1,clone=src&&jQuery.isArray(src)?src:[]):clone=src&&jQuery.isPlainObject(src)?src:{},target[name]=jQuery.extend(deep,clone,copy)):void 0!==copy&&(target[name]=copy));return target},jQuery.extend({expando:"jQuery"+(version+Math.random()).replace(/\D/g,""),isReady:!0,error:function(msg){throw new Error(msg)},noop:function(){},isFunction:function(obj){return"function"===jQuery.type(obj)},isArray:Array.isArray,isWindow:function(obj){return null!=obj&&obj===obj.window},isNumeric:function(obj){var realStringObj=obj&&obj.toString();return!jQuery.isArray(obj)&&realStringObj-parseFloat(realStringObj)+1>=0},isPlainObject:function(obj){return"object"!==jQuery.type(obj)||obj.nodeType||jQuery.isWindow(obj)?!1:!obj.constructor||hasOwn.call(obj.constructor.prototype,"isPrototypeOf")},isEmptyObject:function(obj){var name;for(name in obj)return!1;return!0},type:function(obj){return null==obj?obj+"":"object"==typeof obj||"function"==typeof obj?class2type[toString.call(obj)]||"object":typeof obj},globalEval:function(code){var script,indirect=eval;code=jQuery.trim(code),code&&(1===code.indexOf("use strict")?(script=document.createElement("script"),script.text=code,document.head.appendChild(script).parentNode.removeChild(script)):indirect(code))},camelCase:function(string){return string.replace(rmsPrefix,"ms-").replace(rdashAlpha,fcamelCase)},nodeName:function(elem,name){return elem.nodeName&&elem.nodeName.toLowerCase()===name.toLowerCase()},each:function(obj,callback){var length,i=0;if(isArrayLike(obj))for(length=obj.length;length>i&&callback.call(obj[i],i,obj[i])!==!1;i++);else for(i in obj)if(callback.call(obj[i],i,obj[i])===!1)break;return obj},trim:function(text){return null==text?"":(text+"").replace(rtrim,"")},makeArray:function(arr,results){var ret=results||[];return null!=arr&&(isArrayLike(Object(arr))?jQuery.merge(ret,"string"==typeof arr?[arr]:arr):push.call(ret,arr)),ret},inArray:function(elem,arr,i){return null==arr?-1:indexOf.call(arr,elem,i)},merge:function(first,second){for(var len=+second.length,j=0,i=first.length;len>j;j++)first[i++]=second[j];return first.length=i,first},grep:function(elems,callback,invert){for(var callbackInverse,matches=[],i=0,length=elems.length,callbackExpect=!invert;length>i;i++)callbackInverse=!callback(elems[i],i),callbackInverse!==callbackExpect&&matches.push(elems[i]);return matches},map:function(elems,callback,arg){var length,value,i=0,ret=[];if(isArrayLike(elems))for(length=elems.length;length>i;i++)value=callback(elems[i],i,arg),null!=value&&ret.push(value);else for(i in elems)value=callback(elems[i],i,arg),null!=value&&ret.push(value);return concat.apply([],ret)},guid:1,proxy:function(fn,context){var tmp,args,proxy;return"string"==typeof context&&(tmp=fn[context],context=fn,fn=tmp),jQuery.isFunction(fn)?(args=slice.call(arguments,2),proxy=function(){return fn.apply(context||this,args.concat(slice.call(arguments)))},proxy.guid=fn.guid=fn.guid||jQuery.guid++,proxy):void 0},now:Date.now,support:support}),"function"==typeof Symbol&&(jQuery.fn[Symbol.iterator]=arr[Symbol.iterator]),jQuery.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(i,name){class2type["[object "+name+"]"]=name.toLowerCase()});var Sizzle=function(window){function Sizzle(selector,context,results,seed){var m,i,elem,nid,nidselect,match,groups,newSelector,newContext=context&&context.ownerDocument,nodeType=context?context.nodeType:9;if(results=results||[],"string"!=typeof selector||!selector||1!==nodeType&&9!==nodeType&&11!==nodeType)return results;if(!seed&&((context?context.ownerDocument||context:preferredDoc)!==document&&setDocument(context),context=context||document,documentIsHTML)){if(11!==nodeType&&(match=rquickExpr.exec(selector)))if(m=match[1]){if(9===nodeType){if(!(elem=context.getElementById(m)))return results;if(elem.id===m)return results.push(elem),results}else if(newContext&&(elem=newContext.getElementById(m))&&contains(context,elem)&&elem.id===m)return results.push(elem),results}else{if(match[2])return push.apply(results,context.getElementsByTagName(selector)),results;if((m=match[3])&&support.getElementsByClassName&&context.getElementsByClassName)return push.apply(results,context.getElementsByClassName(m)),results}if(support.qsa&&!compilerCache[selector+" "]&&(!rbuggyQSA||!rbuggyQSA.test(selector))){if(1!==nodeType)newContext=context,newSelector=selector;else if("object"!==context.nodeName.toLowerCase()){for((nid=context.getAttribute("id"))?nid=nid.replace(rescape,"\\$&"):context.setAttribute("id",nid=expando),groups=tokenize(selector),i=groups.length,nidselect=ridentifier.test(nid)?"#"+nid:"[id='"+nid+"']";i--;)groups[i]=nidselect+" "+toSelector(groups[i]);newSelector=groups.join(","),newContext=rsibling.test(selector)&&testContext(context.parentNode)||context}if(newSelector)try{return push.apply(results,newContext.querySelectorAll(newSelector)),results}catch(qsaError){}finally{nid===expando&&context.removeAttribute("id")}}}return select(selector.replace(rtrim,"$1"),context,results,seed)}function createCache(){function cache(key,value){return keys.push(key+" ")>Expr.cacheLength&&delete cache[keys.shift()],cache[key+" "]=value}var keys=[];return cache}function markFunction(fn){return fn[expando]=!0,fn}function assert(fn){var div=document.createElement("div");try{return!!fn(div)}catch(e){return!1}finally{div.parentNode&&div.parentNode.removeChild(div),div=null}}function addHandle(attrs,handler){for(var arr=attrs.split("|"),i=arr.length;i--;)Expr.attrHandle[arr[i]]=handler}function siblingCheck(a,b){var cur=b&&a,diff=cur&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||MAX_NEGATIVE)-(~a.sourceIndex||MAX_NEGATIVE);if(diff)return diff;if(cur)for(;cur=cur.nextSibling;)if(cur===b)return-1;return a?1:-1}function createInputPseudo(type){return function(elem){var name=elem.nodeName.toLowerCase();return"input"===name&&elem.type===type}}function createButtonPseudo(type){return function(elem){var name=elem.nodeName.toLowerCase();return("input"===name||"button"===name)&&elem.type===type}}function createPositionalPseudo(fn){return markFunction(function(argument){return argument=+argument,markFunction(function(seed,matches){for(var j,matchIndexes=fn([],seed.length,argument),i=matchIndexes.length;i--;)seed[j=matchIndexes[i]]&&(seed[j]=!(matches[j]=seed[j]))})})}function testContext(context){return context&&"undefined"!=typeof context.getElementsByTagName&&context}function setFilters(){}function toSelector(tokens){for(var i=0,len=tokens.length,selector="";len>i;i++)selector+=tokens[i].value;return selector}function addCombinator(matcher,combinator,base){var dir=combinator.dir,checkNonElements=base&&"parentNode"===dir,doneName=done++;return combinator.first?function(elem,context,xml){for(;elem=elem[dir];)if(1===elem.nodeType||checkNonElements)return matcher(elem,context,xml)}:function(elem,context,xml){var oldCache,uniqueCache,outerCache,newCache=[dirruns,doneName];if(xml){for(;elem=elem[dir];)if((1===elem.nodeType||checkNonElements)&&matcher(elem,context,xml))return!0}else for(;elem=elem[dir];)if(1===elem.nodeType||checkNonElements){if(outerCache=elem[expando]||(elem[expando]={}),uniqueCache=outerCache[elem.uniqueID]||(outerCache[elem.uniqueID]={}),(oldCache=uniqueCache[dir])&&oldCache[0]===dirruns&&oldCache[1]===doneName)return newCache[2]=oldCache[2];if(uniqueCache[dir]=newCache,newCache[2]=matcher(elem,context,xml))return!0}}}function elementMatcher(matchers){return matchers.length>1?function(elem,context,xml){for(var i=matchers.length;i--;)if(!matchers[i](elem,context,xml))return!1;return!0}:matchers[0]}function multipleContexts(selector,contexts,results){for(var i=0,len=contexts.length;len>i;i++)Sizzle(selector,contexts[i],results);return results}function condense(unmatched,map,filter,context,xml){for(var elem,newUnmatched=[],i=0,len=unmatched.length,mapped=null!=map;len>i;i++)(elem=unmatched[i])&&(filter&&!filter(elem,context,xml)||(newUnmatched.push(elem),mapped&&map.push(i)));return newUnmatched}function setMatcher(preFilter,selector,matcher,postFilter,postFinder,postSelector){return postFilter&&!postFilter[expando]&&(postFilter=setMatcher(postFilter)),postFinder&&!postFinder[expando]&&(postFinder=setMatcher(postFinder,postSelector)),markFunction(function(seed,results,context,xml){var temp,i,elem,preMap=[],postMap=[],preexisting=results.length,elems=seed||multipleContexts(selector||"*",context.nodeType?[context]:context,[]),matcherIn=!preFilter||!seed&&selector?elems:condense(elems,preMap,preFilter,context,xml),matcherOut=matcher?postFinder||(seed?preFilter:preexisting||postFilter)?[]:results:matcherIn;if(matcher&&matcher(matcherIn,matcherOut,context,xml),postFilter)for(temp=condense(matcherOut,postMap),postFilter(temp,[],context,xml),i=temp.length;i--;)(elem=temp[i])&&(matcherOut[postMap[i]]=!(matcherIn[postMap[i]]=elem));if(seed){if(postFinder||preFilter){if(postFinder){for(temp=[],i=matcherOut.length;i--;)(elem=matcherOut[i])&&temp.push(matcherIn[i]=elem);postFinder(null,matcherOut=[],temp,xml)}for(i=matcherOut.length;i--;)(elem=matcherOut[i])&&(temp=postFinder?indexOf(seed,elem):preMap[i])>-1&&(seed[temp]=!(results[temp]=elem))}}else matcherOut=condense(matcherOut===results?matcherOut.splice(preexisting,matcherOut.length):matcherOut),postFinder?postFinder(null,results,matcherOut,xml):push.apply(results,matcherOut)})}function matcherFromTokens(tokens){for(var checkContext,matcher,j,len=tokens.length,leadingRelative=Expr.relative[tokens[0].type],implicitRelative=leadingRelative||Expr.relative[" "],i=leadingRelative?1:0,matchContext=addCombinator(function(elem){return elem===checkContext},implicitRelative,!0),matchAnyContext=addCombinator(function(elem){return indexOf(checkContext,elem)>-1},implicitRelative,!0),matchers=[function(elem,context,xml){var ret=!leadingRelative&&(xml||context!==outermostContext)||((checkContext=context).nodeType?matchContext(elem,context,xml):matchAnyContext(elem,context,xml));return checkContext=null,ret}];len>i;i++)if(matcher=Expr.relative[tokens[i].type])matchers=[addCombinator(elementMatcher(matchers),matcher)];else{if(matcher=Expr.filter[tokens[i].type].apply(null,tokens[i].matches),matcher[expando]){for(j=++i;len>j&&!Expr.relative[tokens[j].type];j++);return setMatcher(i>1&&elementMatcher(matchers),i>1&&toSelector(tokens.slice(0,i-1).concat({value:" "===tokens[i-2].type?"*":""})).replace(rtrim,"$1"),matcher,j>i&&matcherFromTokens(tokens.slice(i,j)),len>j&&matcherFromTokens(tokens=tokens.slice(j)),len>j&&toSelector(tokens))}matchers.push(matcher)}return elementMatcher(matchers)}function matcherFromGroupMatchers(elementMatchers,setMatchers){var bySet=setMatchers.length>0,byElement=elementMatchers.length>0,superMatcher=function(seed,context,xml,results,outermost){var elem,j,matcher,matchedCount=0,i="0",unmatched=seed&&[],setMatched=[],contextBackup=outermostContext,elems=seed||byElement&&Expr.find.TAG("*",outermost),dirrunsUnique=dirruns+=null==contextBackup?1:Math.random()||.1,len=elems.length;for(outermost&&(outermostContext=context===document||context||outermost);i!==len&&null!=(elem=elems[i]);i++){if(byElement&&elem){for(j=0,context||elem.ownerDocument===document||(setDocument(elem),xml=!documentIsHTML);matcher=elementMatchers[j++];)if(matcher(elem,context||document,xml)){results.push(elem);break}outermost&&(dirruns=dirrunsUnique)}bySet&&((elem=!matcher&&elem)&&matchedCount--,seed&&unmatched.push(elem))}if(matchedCount+=i,bySet&&i!==matchedCount){for(j=0;matcher=setMatchers[j++];)matcher(unmatched,setMatched,context,xml);if(seed){if(matchedCount>0)for(;i--;)unmatched[i]||setMatched[i]||(setMatched[i]=pop.call(results));setMatched=condense(setMatched)}push.apply(results,setMatched),outermost&&!seed&&setMatched.length>0&&matchedCount+setMatchers.length>1&&Sizzle.uniqueSort(results)}return outermost&&(dirruns=dirrunsUnique,outermostContext=contextBackup),unmatched};return bySet?markFunction(superMatcher):superMatcher}var i,support,Expr,getText,isXML,tokenize,compile,select,outermostContext,sortInput,hasDuplicate,setDocument,document,docElem,documentIsHTML,rbuggyQSA,rbuggyMatches,matches,contains,expando="sizzle"+1*new Date,preferredDoc=window.document,dirruns=0,done=0,classCache=createCache(),tokenCache=createCache(),compilerCache=createCache(),sortOrder=function(a,b){return a===b&&(hasDuplicate=!0),0},MAX_NEGATIVE=1<<31,hasOwn={}.hasOwnProperty,arr=[],pop=arr.pop,push_native=arr.push,push=arr.push,slice=arr.slice,indexOf=function(list,elem){for(var i=0,len=list.length;len>i;i++)if(list[i]===elem)return i;return-1},booleans="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",whitespace="[\\x20\\t\\r\\n\\f]",identifier="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",attributes="\\["+whitespace+"*("+identifier+")(?:"+whitespace+"*([*^$|!~]?=)"+whitespace+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+identifier+"))|)"+whitespace+"*\\]",pseudos=":("+identifier+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+attributes+")*)|.*)\\)|)",rwhitespace=new RegExp(whitespace+"+","g"),rtrim=new RegExp("^"+whitespace+"+|((?:^|[^\\\\])(?:\\\\.)*)"+whitespace+"+$","g"),rcomma=new RegExp("^"+whitespace+"*,"+whitespace+"*"),rcombinators=new RegExp("^"+whitespace+"*([>+~]|"+whitespace+")"+whitespace+"*"),rattributeQuotes=new RegExp("="+whitespace+"*([^\\]'\"]*?)"+whitespace+"*\\]","g"),rpseudo=new RegExp(pseudos),ridentifier=new RegExp("^"+identifier+"$"),matchExpr={ID:new RegExp("^#("+identifier+")"),CLASS:new RegExp("^\\.("+identifier+")"),TAG:new RegExp("^("+identifier+"|[*])"),ATTR:new RegExp("^"+attributes),PSEUDO:new RegExp("^"+pseudos),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+whitespace+"*(even|odd|(([+-]|)(\\d*)n|)"+whitespace+"*(?:([+-]|)"+whitespace+"*(\\d+)|))"+whitespace+"*\\)|)","i"),bool:new RegExp("^(?:"+booleans+")$","i"),needsContext:new RegExp("^"+whitespace+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+whitespace+"*((?:-\\d)?\\d*)"+whitespace+"*\\)|)(?=[^-]|$)","i")},rinputs=/^(?:input|select|textarea|button)$/i,rheader=/^h\d$/i,rnative=/^[^{]+\{\s*\[native \w/,rquickExpr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,rsibling=/[+~]/,rescape=/'|\\/g,runescape=new RegExp("\\\\([\\da-f]{1,6}"+whitespace+"?|("+whitespace+")|.)","ig"),funescape=function(_,escaped,escapedWhitespace){var high="0x"+escaped-65536;return high!==high||escapedWhitespace?escaped:0>high?String.fromCharCode(high+65536):String.fromCharCode(high>>10|55296,1023&high|56320)},unloadHandler=function(){setDocument()};try{push.apply(arr=slice.call(preferredDoc.childNodes),preferredDoc.childNodes),arr[preferredDoc.childNodes.length].nodeType}catch(e){push={apply:arr.length?function(target,els){push_native.apply(target,slice.call(els))}:function(target,els){for(var j=target.length,i=0;target[j++]=els[i++];);target.length=j-1}}}support=Sizzle.support={},isXML=Sizzle.isXML=function(elem){var documentElement=elem&&(elem.ownerDocument||elem).documentElement;return documentElement?"HTML"!==documentElement.nodeName:!1},setDocument=Sizzle.setDocument=function(node){var hasCompare,parent,doc=node?node.ownerDocument||node:preferredDoc;return doc!==document&&9===doc.nodeType&&doc.documentElement?(document=doc,docElem=document.documentElement,documentIsHTML=!isXML(document),(parent=document.defaultView)&&parent.top!==parent&&(parent.addEventListener?parent.addEventListener("unload",unloadHandler,!1):parent.attachEvent&&parent.attachEvent("onunload",unloadHandler)),support.attributes=assert(function(div){return div.className="i",!div.getAttribute("className")}),support.getElementsByTagName=assert(function(div){return div.appendChild(document.createComment("")),!div.getElementsByTagName("*").length}),support.getElementsByClassName=rnative.test(document.getElementsByClassName),support.getById=assert(function(div){return docElem.appendChild(div).id=expando,!document.getElementsByName||!document.getElementsByName(expando).length}),support.getById?(Expr.find.ID=function(id,context){if("undefined"!=typeof context.getElementById&&documentIsHTML){var m=context.getElementById(id);return m?[m]:[]}},Expr.filter.ID=function(id){var attrId=id.replace(runescape,funescape);return function(elem){return elem.getAttribute("id")===attrId}}):(delete Expr.find.ID,Expr.filter.ID=function(id){var attrId=id.replace(runescape,funescape);return function(elem){var node="undefined"!=typeof elem.getAttributeNode&&elem.getAttributeNode("id");return node&&node.value===attrId}}),Expr.find.TAG=support.getElementsByTagName?function(tag,context){return"undefined"!=typeof context.getElementsByTagName?context.getElementsByTagName(tag):support.qsa?context.querySelectorAll(tag):void 0}:function(tag,context){var elem,tmp=[],i=0,results=context.getElementsByTagName(tag);if("*"===tag){for(;elem=results[i++];)1===elem.nodeType&&tmp.push(elem);return tmp}return results},Expr.find.CLASS=support.getElementsByClassName&&function(className,context){return"undefined"!=typeof context.getElementsByClassName&&documentIsHTML?context.getElementsByClassName(className):void 0},rbuggyMatches=[],rbuggyQSA=[],(support.qsa=rnative.test(document.querySelectorAll))&&(assert(function(div){docElem.appendChild(div).innerHTML="<a id='"+expando+"'></a><select id='"+expando+"-\r\\' msallowcapture=''><option selected=''></option></select>",div.querySelectorAll("[msallowcapture^='']").length&&rbuggyQSA.push("[*^$]="+whitespace+"*(?:''|\"\")"),div.querySelectorAll("[selected]").length||rbuggyQSA.push("\\["+whitespace+"*(?:value|"+booleans+")"),div.querySelectorAll("[id~="+expando+"-]").length||rbuggyQSA.push("~="),div.querySelectorAll(":checked").length||rbuggyQSA.push(":checked"),div.querySelectorAll("a#"+expando+"+*").length||rbuggyQSA.push(".#.+[+~]")}),assert(function(div){var input=document.createElement("input");input.setAttribute("type","hidden"),div.appendChild(input).setAttribute("name","D"),div.querySelectorAll("[name=d]").length&&rbuggyQSA.push("name"+whitespace+"*[*^$|!~]?="),div.querySelectorAll(":enabled").length||rbuggyQSA.push(":enabled",":disabled"),div.querySelectorAll("*,:x"),rbuggyQSA.push(",.*:")})),(support.matchesSelector=rnative.test(matches=docElem.matches||docElem.webkitMatchesSelector||docElem.mozMatchesSelector||docElem.oMatchesSelector||docElem.msMatchesSelector))&&assert(function(div){support.disconnectedMatch=matches.call(div,"div"),matches.call(div,"[s!='']:x"),rbuggyMatches.push("!=",pseudos)}),rbuggyQSA=rbuggyQSA.length&&new RegExp(rbuggyQSA.join("|")),rbuggyMatches=rbuggyMatches.length&&new RegExp(rbuggyMatches.join("|")),hasCompare=rnative.test(docElem.compareDocumentPosition),contains=hasCompare||rnative.test(docElem.contains)?function(a,b){var adown=9===a.nodeType?a.documentElement:a,bup=b&&b.parentNode;return a===bup||!(!bup||1!==bup.nodeType||!(adown.contains?adown.contains(bup):a.compareDocumentPosition&&16&a.compareDocumentPosition(bup)))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1},sortOrder=hasCompare?function(a,b){if(a===b)return hasDuplicate=!0,0;var compare=!a.compareDocumentPosition-!b.compareDocumentPosition;return compare?compare:(compare=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&compare||!support.sortDetached&&b.compareDocumentPosition(a)===compare?a===document||a.ownerDocument===preferredDoc&&contains(preferredDoc,a)?-1:b===document||b.ownerDocument===preferredDoc&&contains(preferredDoc,b)?1:sortInput?indexOf(sortInput,a)-indexOf(sortInput,b):0:4&compare?-1:1)}:function(a,b){if(a===b)return hasDuplicate=!0,0;var cur,i=0,aup=a.parentNode,bup=b.parentNode,ap=[a],bp=[b];if(!aup||!bup)return a===document?-1:b===document?1:aup?-1:bup?1:sortInput?indexOf(sortInput,a)-indexOf(sortInput,b):0;if(aup===bup)return siblingCheck(a,b);for(cur=a;cur=cur.parentNode;)ap.unshift(cur);for(cur=b;cur=cur.parentNode;)bp.unshift(cur);for(;ap[i]===bp[i];)i++;return i?siblingCheck(ap[i],bp[i]):ap[i]===preferredDoc?-1:bp[i]===preferredDoc?1:0},document):document},Sizzle.matches=function(expr,elements){return Sizzle(expr,null,null,elements)},Sizzle.matchesSelector=function(elem,expr){if((elem.ownerDocument||elem)!==document&&setDocument(elem),expr=expr.replace(rattributeQuotes,"='$1']"),support.matchesSelector&&documentIsHTML&&!compilerCache[expr+" "]&&(!rbuggyMatches||!rbuggyMatches.test(expr))&&(!rbuggyQSA||!rbuggyQSA.test(expr)))try{var ret=matches.call(elem,expr);if(ret||support.disconnectedMatch||elem.document&&11!==elem.document.nodeType)return ret}catch(e){}return Sizzle(expr,document,null,[elem]).length>0},Sizzle.contains=function(context,elem){return(context.ownerDocument||context)!==document&&setDocument(context),contains(context,elem)},Sizzle.attr=function(elem,name){(elem.ownerDocument||elem)!==document&&setDocument(elem);var fn=Expr.attrHandle[name.toLowerCase()],val=fn&&hasOwn.call(Expr.attrHandle,name.toLowerCase())?fn(elem,name,!documentIsHTML):void 0;return void 0!==val?val:support.attributes||!documentIsHTML?elem.getAttribute(name):(val=elem.getAttributeNode(name))&&val.specified?val.value:null},Sizzle.error=function(msg){throw new Error("Syntax error, unrecognized expression: "+msg)},Sizzle.uniqueSort=function(results){var elem,duplicates=[],j=0,i=0;if(hasDuplicate=!support.detectDuplicates,sortInput=!support.sortStable&&results.slice(0),results.sort(sortOrder),hasDuplicate){for(;elem=results[i++];)elem===results[i]&&(j=duplicates.push(i));for(;j--;)results.splice(duplicates[j],1)}return sortInput=null,results},getText=Sizzle.getText=function(elem){var node,ret="",i=0,nodeType=elem.nodeType;if(nodeType){if(1===nodeType||9===nodeType||11===nodeType){if("string"==typeof elem.textContent)return elem.textContent;for(elem=elem.firstChild;elem;elem=elem.nextSibling)ret+=getText(elem)}else if(3===nodeType||4===nodeType)return elem.nodeValue}else for(;node=elem[i++];)ret+=getText(node);return ret},Expr=Sizzle.selectors={cacheLength:50,createPseudo:markFunction,match:matchExpr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(match){return match[1]=match[1].replace(runescape,funescape),match[3]=(match[3]||match[4]||match[5]||"").replace(runescape,funescape),"~="===match[2]&&(match[3]=" "+match[3]+" "),match.slice(0,4)},CHILD:function(match){return match[1]=match[1].toLowerCase(),"nth"===match[1].slice(0,3)?(match[3]||Sizzle.error(match[0]),match[4]=+(match[4]?match[5]+(match[6]||1):2*("even"===match[3]||"odd"===match[3])),match[5]=+(match[7]+match[8]||"odd"===match[3])):match[3]&&Sizzle.error(match[0]),match},PSEUDO:function(match){var excess,unquoted=!match[6]&&match[2];return matchExpr.CHILD.test(match[0])?null:(match[3]?match[2]=match[4]||match[5]||"":unquoted&&rpseudo.test(unquoted)&&(excess=tokenize(unquoted,!0))&&(excess=unquoted.indexOf(")",unquoted.length-excess)-unquoted.length)&&(match[0]=match[0].slice(0,excess),match[2]=unquoted.slice(0,excess)),match.slice(0,3))}},filter:{TAG:function(nodeNameSelector){var nodeName=nodeNameSelector.replace(runescape,funescape).toLowerCase();return"*"===nodeNameSelector?function(){return!0}:function(elem){return elem.nodeName&&elem.nodeName.toLowerCase()===nodeName}},CLASS:function(className){var pattern=classCache[className+" "];return pattern||(pattern=new RegExp("(^|"+whitespace+")"+className+"("+whitespace+"|$)"))&&classCache(className,function(elem){return pattern.test("string"==typeof elem.className&&elem.className||"undefined"!=typeof elem.getAttribute&&elem.getAttribute("class")||"")})},ATTR:function(name,operator,check){return function(elem){var result=Sizzle.attr(elem,name);return null==result?"!="===operator:operator?(result+="","="===operator?result===check:"!="===operator?result!==check:"^="===operator?check&&0===result.indexOf(check):"*="===operator?check&&result.indexOf(check)>-1:"$="===operator?check&&result.slice(-check.length)===check:"~="===operator?(" "+result.replace(rwhitespace," ")+" ").indexOf(check)>-1:"|="===operator?result===check||result.slice(0,check.length+1)===check+"-":!1):!0}},CHILD:function(type,what,argument,first,last){var simple="nth"!==type.slice(0,3),forward="last"!==type.slice(-4),ofType="of-type"===what;return 1===first&&0===last?function(elem){return!!elem.parentNode}:function(elem,context,xml){var cache,uniqueCache,outerCache,node,nodeIndex,start,dir=simple!==forward?"nextSibling":"previousSibling",parent=elem.parentNode,name=ofType&&elem.nodeName.toLowerCase(),useCache=!xml&&!ofType,diff=!1;if(parent){if(simple){for(;dir;){for(node=elem;node=node[dir];)if(ofType?node.nodeName.toLowerCase()===name:1===node.nodeType)return!1;start=dir="only"===type&&!start&&"nextSibling"}return!0}if(start=[forward?parent.firstChild:parent.lastChild],forward&&useCache){for(node=parent,outerCache=node[expando]||(node[expando]={}),uniqueCache=outerCache[node.uniqueID]||(outerCache[node.uniqueID]={}),cache=uniqueCache[type]||[],nodeIndex=cache[0]===dirruns&&cache[1],diff=nodeIndex&&cache[2],node=nodeIndex&&parent.childNodes[nodeIndex];node=++nodeIndex&&node&&node[dir]||(diff=nodeIndex=0)||start.pop();)if(1===node.nodeType&&++diff&&node===elem){uniqueCache[type]=[dirruns,nodeIndex,diff];break}}else if(useCache&&(node=elem,outerCache=node[expando]||(node[expando]={}),uniqueCache=outerCache[node.uniqueID]||(outerCache[node.uniqueID]={}),cache=uniqueCache[type]||[],nodeIndex=cache[0]===dirruns&&cache[1],diff=nodeIndex),diff===!1)for(;(node=++nodeIndex&&node&&node[dir]||(diff=nodeIndex=0)||start.pop())&&((ofType?node.nodeName.toLowerCase()!==name:1!==node.nodeType)||!++diff||(useCache&&(outerCache=node[expando]||(node[expando]={}),uniqueCache=outerCache[node.uniqueID]||(outerCache[node.uniqueID]={}),uniqueCache[type]=[dirruns,diff]),node!==elem)););return diff-=last,diff===first||diff%first===0&&diff/first>=0}}},PSEUDO:function(pseudo,argument){var args,fn=Expr.pseudos[pseudo]||Expr.setFilters[pseudo.toLowerCase()]||Sizzle.error("unsupported pseudo: "+pseudo);return fn[expando]?fn(argument):fn.length>1?(args=[pseudo,pseudo,"",argument],Expr.setFilters.hasOwnProperty(pseudo.toLowerCase())?markFunction(function(seed,matches){for(var idx,matched=fn(seed,argument),i=matched.length;i--;)idx=indexOf(seed,matched[i]),seed[idx]=!(matches[idx]=matched[i])}):function(elem){return fn(elem,0,args)}):fn}},pseudos:{not:markFunction(function(selector){var input=[],results=[],matcher=compile(selector.replace(rtrim,"$1"));return matcher[expando]?markFunction(function(seed,matches,context,xml){for(var elem,unmatched=matcher(seed,null,xml,[]),i=seed.length;i--;)(elem=unmatched[i])&&(seed[i]=!(matches[i]=elem))}):function(elem,context,xml){return input[0]=elem,matcher(input,null,xml,results),input[0]=null,!results.pop()}}),has:markFunction(function(selector){return function(elem){return Sizzle(selector,elem).length>0}}),contains:markFunction(function(text){return text=text.replace(runescape,funescape),function(elem){return(elem.textContent||elem.innerText||getText(elem)).indexOf(text)>-1}}),lang:markFunction(function(lang){return ridentifier.test(lang||"")||Sizzle.error("unsupported lang: "+lang),lang=lang.replace(runescape,funescape).toLowerCase(),function(elem){var elemLang;do if(elemLang=documentIsHTML?elem.lang:elem.getAttribute("xml:lang")||elem.getAttribute("lang"))return elemLang=elemLang.toLowerCase(),elemLang===lang||0===elemLang.indexOf(lang+"-");while((elem=elem.parentNode)&&1===elem.nodeType);return!1}}),target:function(elem){var hash=window.location&&window.location.hash;return hash&&hash.slice(1)===elem.id},root:function(elem){return elem===docElem},focus:function(elem){return elem===document.activeElement&&(!document.hasFocus||document.hasFocus())&&!!(elem.type||elem.href||~elem.tabIndex)},enabled:function(elem){return elem.disabled===!1},disabled:function(elem){return elem.disabled===!0},checked:function(elem){var nodeName=elem.nodeName.toLowerCase();return"input"===nodeName&&!!elem.checked||"option"===nodeName&&!!elem.selected},selected:function(elem){return elem.parentNode&&elem.parentNode.selectedIndex,elem.selected===!0},empty:function(elem){for(elem=elem.firstChild;elem;elem=elem.nextSibling)if(elem.nodeType<6)return!1;return!0},parent:function(elem){return!Expr.pseudos.empty(elem)},header:function(elem){return rheader.test(elem.nodeName)},input:function(elem){return rinputs.test(elem.nodeName)},button:function(elem){
  var name=elem.nodeName.toLowerCase();return"input"===name&&"button"===elem.type||"button"===name},text:function(elem){var attr;return"input"===elem.nodeName.toLowerCase()&&"text"===elem.type&&(null==(attr=elem.getAttribute("type"))||"text"===attr.toLowerCase())},first:createPositionalPseudo(function(){return[0]}),last:createPositionalPseudo(function(matchIndexes,length){return[length-1]}),eq:createPositionalPseudo(function(matchIndexes,length,argument){return[0>argument?argument+length:argument]}),even:createPositionalPseudo(function(matchIndexes,length){for(var i=0;length>i;i+=2)matchIndexes.push(i);return matchIndexes}),odd:createPositionalPseudo(function(matchIndexes,length){for(var i=1;length>i;i+=2)matchIndexes.push(i);return matchIndexes}),lt:createPositionalPseudo(function(matchIndexes,length,argument){for(var i=0>argument?argument+length:argument;--i>=0;)matchIndexes.push(i);return matchIndexes}),gt:createPositionalPseudo(function(matchIndexes,length,argument){for(var i=0>argument?argument+length:argument;++i<length;)matchIndexes.push(i);return matchIndexes})}},Expr.pseudos.nth=Expr.pseudos.eq;for(i in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})Expr.pseudos[i]=createInputPseudo(i);for(i in{submit:!0,reset:!0})Expr.pseudos[i]=createButtonPseudo(i);return setFilters.prototype=Expr.filters=Expr.pseudos,Expr.setFilters=new setFilters,tokenize=Sizzle.tokenize=function(selector,parseOnly){var matched,match,tokens,type,soFar,groups,preFilters,cached=tokenCache[selector+" "];if(cached)return parseOnly?0:cached.slice(0);for(soFar=selector,groups=[],preFilters=Expr.preFilter;soFar;){matched&&!(match=rcomma.exec(soFar))||(match&&(soFar=soFar.slice(match[0].length)||soFar),groups.push(tokens=[])),matched=!1,(match=rcombinators.exec(soFar))&&(matched=match.shift(),tokens.push({value:matched,type:match[0].replace(rtrim," ")}),soFar=soFar.slice(matched.length));for(type in Expr.filter)!(match=matchExpr[type].exec(soFar))||preFilters[type]&&!(match=preFilters[type](match))||(matched=match.shift(),tokens.push({value:matched,type:type,matches:match}),soFar=soFar.slice(matched.length));if(!matched)break}return parseOnly?soFar.length:soFar?Sizzle.error(selector):tokenCache(selector,groups).slice(0)},compile=Sizzle.compile=function(selector,match){var i,setMatchers=[],elementMatchers=[],cached=compilerCache[selector+" "];if(!cached){for(match||(match=tokenize(selector)),i=match.length;i--;)cached=matcherFromTokens(match[i]),cached[expando]?setMatchers.push(cached):elementMatchers.push(cached);cached=compilerCache(selector,matcherFromGroupMatchers(elementMatchers,setMatchers)),cached.selector=selector}return cached},select=Sizzle.select=function(selector,context,results,seed){var i,tokens,token,type,find,compiled="function"==typeof selector&&selector,match=!seed&&tokenize(selector=compiled.selector||selector);if(results=results||[],1===match.length){if(tokens=match[0]=match[0].slice(0),tokens.length>2&&"ID"===(token=tokens[0]).type&&support.getById&&9===context.nodeType&&documentIsHTML&&Expr.relative[tokens[1].type]){if(context=(Expr.find.ID(token.matches[0].replace(runescape,funescape),context)||[])[0],!context)return results;compiled&&(context=context.parentNode),selector=selector.slice(tokens.shift().value.length)}for(i=matchExpr.needsContext.test(selector)?0:tokens.length;i--&&(token=tokens[i],!Expr.relative[type=token.type]);)if((find=Expr.find[type])&&(seed=find(token.matches[0].replace(runescape,funescape),rsibling.test(tokens[0].type)&&testContext(context.parentNode)||context))){if(tokens.splice(i,1),selector=seed.length&&toSelector(tokens),!selector)return push.apply(results,seed),results;break}}return(compiled||compile(selector,match))(seed,context,!documentIsHTML,results,!context||rsibling.test(selector)&&testContext(context.parentNode)||context),results},support.sortStable=expando.split("").sort(sortOrder).join("")===expando,support.detectDuplicates=!!hasDuplicate,setDocument(),support.sortDetached=assert(function(div1){return 1&div1.compareDocumentPosition(document.createElement("div"))}),assert(function(div){return div.innerHTML="<a href='#'></a>","#"===div.firstChild.getAttribute("href")})||addHandle("type|href|height|width",function(elem,name,isXML){return isXML?void 0:elem.getAttribute(name,"type"===name.toLowerCase()?1:2)}),support.attributes&&assert(function(div){return div.innerHTML="<input/>",div.firstChild.setAttribute("value",""),""===div.firstChild.getAttribute("value")})||addHandle("value",function(elem,name,isXML){return isXML||"input"!==elem.nodeName.toLowerCase()?void 0:elem.defaultValue}),assert(function(div){return null==div.getAttribute("disabled")})||addHandle(booleans,function(elem,name,isXML){var val;return isXML?void 0:elem[name]===!0?name.toLowerCase():(val=elem.getAttributeNode(name))&&val.specified?val.value:null}),Sizzle}(window);jQuery.find=Sizzle,jQuery.expr=Sizzle.selectors,jQuery.expr[":"]=jQuery.expr.pseudos,jQuery.uniqueSort=jQuery.unique=Sizzle.uniqueSort,jQuery.text=Sizzle.getText,jQuery.isXMLDoc=Sizzle.isXML,jQuery.contains=Sizzle.contains;var dir=function(elem,dir,until){for(var matched=[],truncate=void 0!==until;(elem=elem[dir])&&9!==elem.nodeType;)if(1===elem.nodeType){if(truncate&&jQuery(elem).is(until))break;matched.push(elem)}return matched},siblings=function(n,elem){for(var matched=[];n;n=n.nextSibling)1===n.nodeType&&n!==elem&&matched.push(n);return matched},rneedsContext=jQuery.expr.match.needsContext,rsingleTag=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,risSimple=/^.[^:#\[\.,]*$/;jQuery.filter=function(expr,elems,not){var elem=elems[0];return not&&(expr=":not("+expr+")"),1===elems.length&&1===elem.nodeType?jQuery.find.matchesSelector(elem,expr)?[elem]:[]:jQuery.find.matches(expr,jQuery.grep(elems,function(elem){return 1===elem.nodeType}))},jQuery.fn.extend({find:function(selector){var i,len=this.length,ret=[],self=this;if("string"!=typeof selector)return this.pushStack(jQuery(selector).filter(function(){for(i=0;len>i;i++)if(jQuery.contains(self[i],this))return!0}));for(i=0;len>i;i++)jQuery.find(selector,self[i],ret);return ret=this.pushStack(len>1?jQuery.unique(ret):ret),ret.selector=this.selector?this.selector+" "+selector:selector,ret},filter:function(selector){return this.pushStack(winnow(this,selector||[],!1))},not:function(selector){return this.pushStack(winnow(this,selector||[],!0))},is:function(selector){return!!winnow(this,"string"==typeof selector&&rneedsContext.test(selector)?jQuery(selector):selector||[],!1).length}});var rootjQuery,rquickExpr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,init=jQuery.fn.init=function(selector,context,root){var match,elem;if(!selector)return this;if(root=root||rootjQuery,"string"==typeof selector){if(match="<"===selector[0]&&">"===selector[selector.length-1]&&selector.length>=3?[null,selector,null]:rquickExpr.exec(selector),!match||!match[1]&&context)return!context||context.jquery?(context||root).find(selector):this.constructor(context).find(selector);if(match[1]){if(context=context instanceof jQuery?context[0]:context,jQuery.merge(this,jQuery.parseHTML(match[1],context&&context.nodeType?context.ownerDocument||context:document,!0)),rsingleTag.test(match[1])&&jQuery.isPlainObject(context))for(match in context)jQuery.isFunction(this[match])?this[match](context[match]):this.attr(match,context[match]);return this}return elem=document.getElementById(match[2]),elem&&elem.parentNode&&(this.length=1,this[0]=elem),this.context=document,this.selector=selector,this}return selector.nodeType?(this.context=this[0]=selector,this.length=1,this):jQuery.isFunction(selector)?void 0!==root.ready?root.ready(selector):selector(jQuery):(void 0!==selector.selector&&(this.selector=selector.selector,this.context=selector.context),jQuery.makeArray(selector,this))};init.prototype=jQuery.fn,rootjQuery=jQuery(document);var rparentsprev=/^(?:parents|prev(?:Until|All))/,guaranteedUnique={children:!0,contents:!0,next:!0,prev:!0};jQuery.fn.extend({has:function(target){var targets=jQuery(target,this),l=targets.length;return this.filter(function(){for(var i=0;l>i;i++)if(jQuery.contains(this,targets[i]))return!0})},closest:function(selectors,context){for(var cur,i=0,l=this.length,matched=[],pos=rneedsContext.test(selectors)||"string"!=typeof selectors?jQuery(selectors,context||this.context):0;l>i;i++)for(cur=this[i];cur&&cur!==context;cur=cur.parentNode)if(cur.nodeType<11&&(pos?pos.index(cur)>-1:1===cur.nodeType&&jQuery.find.matchesSelector(cur,selectors))){matched.push(cur);break}return this.pushStack(matched.length>1?jQuery.uniqueSort(matched):matched)},index:function(elem){return elem?"string"==typeof elem?indexOf.call(jQuery(elem),this[0]):indexOf.call(this,elem.jquery?elem[0]:elem):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(selector,context){return this.pushStack(jQuery.uniqueSort(jQuery.merge(this.get(),jQuery(selector,context))))},addBack:function(selector){return this.add(null==selector?this.prevObject:this.prevObject.filter(selector))}}),jQuery.each({parent:function(elem){var parent=elem.parentNode;return parent&&11!==parent.nodeType?parent:null},parents:function(elem){return dir(elem,"parentNode")},parentsUntil:function(elem,i,until){return dir(elem,"parentNode",until)},next:function(elem){return sibling(elem,"nextSibling")},prev:function(elem){return sibling(elem,"previousSibling")},nextAll:function(elem){return dir(elem,"nextSibling")},prevAll:function(elem){return dir(elem,"previousSibling")},nextUntil:function(elem,i,until){return dir(elem,"nextSibling",until)},prevUntil:function(elem,i,until){return dir(elem,"previousSibling",until)},siblings:function(elem){return siblings((elem.parentNode||{}).firstChild,elem)},children:function(elem){return siblings(elem.firstChild)},contents:function(elem){return elem.contentDocument||jQuery.merge([],elem.childNodes)}},function(name,fn){jQuery.fn[name]=function(until,selector){var matched=jQuery.map(this,fn,until);return"Until"!==name.slice(-5)&&(selector=until),selector&&"string"==typeof selector&&(matched=jQuery.filter(selector,matched)),this.length>1&&(guaranteedUnique[name]||jQuery.uniqueSort(matched),rparentsprev.test(name)&&matched.reverse()),this.pushStack(matched)}});var rnotwhite=/\S+/g;jQuery.Callbacks=function(options){options="string"==typeof options?createOptions(options):jQuery.extend({},options);var firing,memory,fired,locked,list=[],queue=[],firingIndex=-1,fire=function(){for(locked=options.once,fired=firing=!0;queue.length;firingIndex=-1)for(memory=queue.shift();++firingIndex<list.length;)list[firingIndex].apply(memory[0],memory[1])===!1&&options.stopOnFalse&&(firingIndex=list.length,memory=!1);options.memory||(memory=!1),firing=!1,locked&&(list=memory?[]:"")},self={add:function(){return list&&(memory&&!firing&&(firingIndex=list.length-1,queue.push(memory)),function add(args){jQuery.each(args,function(_,arg){jQuery.isFunction(arg)?options.unique&&self.has(arg)||list.push(arg):arg&&arg.length&&"string"!==jQuery.type(arg)&&add(arg)})}(arguments),memory&&!firing&&fire()),this},remove:function(){return jQuery.each(arguments,function(_,arg){for(var index;(index=jQuery.inArray(arg,list,index))>-1;)list.splice(index,1),firingIndex>=index&&firingIndex--}),this},has:function(fn){return fn?jQuery.inArray(fn,list)>-1:list.length>0},empty:function(){return list&&(list=[]),this},disable:function(){return locked=queue=[],list=memory="",this},disabled:function(){return!list},lock:function(){return locked=queue=[],memory||(list=memory=""),this},locked:function(){return!!locked},fireWith:function(context,args){return locked||(args=args||[],args=[context,args.slice?args.slice():args],queue.push(args),firing||fire()),this},fire:function(){return self.fireWith(this,arguments),this},fired:function(){return!!fired}};return self},jQuery.extend({Deferred:function(func){var tuples=[["resolve","done",jQuery.Callbacks("once memory"),"resolved"],["reject","fail",jQuery.Callbacks("once memory"),"rejected"],["notify","progress",jQuery.Callbacks("memory")]],state="pending",promise={state:function(){return state},always:function(){return deferred.done(arguments).fail(arguments),this},then:function(){var fns=arguments;return jQuery.Deferred(function(newDefer){jQuery.each(tuples,function(i,tuple){var fn=jQuery.isFunction(fns[i])&&fns[i];deferred[tuple[1]](function(){var returned=fn&&fn.apply(this,arguments);returned&&jQuery.isFunction(returned.promise)?returned.promise().progress(newDefer.notify).done(newDefer.resolve).fail(newDefer.reject):newDefer[tuple[0]+"With"](this===promise?newDefer.promise():this,fn?[returned]:arguments)})}),fns=null}).promise()},promise:function(obj){return null!=obj?jQuery.extend(obj,promise):promise}},deferred={};return promise.pipe=promise.then,jQuery.each(tuples,function(i,tuple){var list=tuple[2],stateString=tuple[3];promise[tuple[1]]=list.add,stateString&&list.add(function(){state=stateString},tuples[1^i][2].disable,tuples[2][2].lock),deferred[tuple[0]]=function(){return deferred[tuple[0]+"With"](this===deferred?promise:this,arguments),this},deferred[tuple[0]+"With"]=list.fireWith}),promise.promise(deferred),func&&func.call(deferred,deferred),deferred},when:function(subordinate){var progressValues,progressContexts,resolveContexts,i=0,resolveValues=slice.call(arguments),length=resolveValues.length,remaining=1!==length||subordinate&&jQuery.isFunction(subordinate.promise)?length:0,deferred=1===remaining?subordinate:jQuery.Deferred(),updateFunc=function(i,contexts,values){return function(value){contexts[i]=this,values[i]=arguments.length>1?slice.call(arguments):value,values===progressValues?deferred.notifyWith(contexts,values):--remaining||deferred.resolveWith(contexts,values)}};if(length>1)for(progressValues=new Array(length),progressContexts=new Array(length),resolveContexts=new Array(length);length>i;i++)resolveValues[i]&&jQuery.isFunction(resolveValues[i].promise)?resolveValues[i].promise().progress(updateFunc(i,progressContexts,progressValues)).done(updateFunc(i,resolveContexts,resolveValues)).fail(deferred.reject):--remaining;return remaining||deferred.resolveWith(resolveContexts,resolveValues),deferred.promise()}});var readyList;jQuery.fn.ready=function(fn){return jQuery.ready.promise().done(fn),this},jQuery.extend({isReady:!1,readyWait:1,holdReady:function(hold){hold?jQuery.readyWait++:jQuery.ready(!0)},ready:function(wait){(wait===!0?--jQuery.readyWait:jQuery.isReady)||(jQuery.isReady=!0,wait!==!0&&--jQuery.readyWait>0||(readyList.resolveWith(document,[jQuery]),jQuery.fn.triggerHandler&&(jQuery(document).triggerHandler("ready"),jQuery(document).off("ready"))))}}),jQuery.ready.promise=function(obj){return readyList||(readyList=jQuery.Deferred(),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(jQuery.ready):(document.addEventListener("DOMContentLoaded",completed),window.addEventListener("load",completed))),readyList.promise(obj)},jQuery.ready.promise();var access=function(elems,fn,key,value,chainable,emptyGet,raw){var i=0,len=elems.length,bulk=null==key;if("object"===jQuery.type(key)){chainable=!0;for(i in key)access(elems,fn,i,key[i],!0,emptyGet,raw)}else if(void 0!==value&&(chainable=!0,jQuery.isFunction(value)||(raw=!0),bulk&&(raw?(fn.call(elems,value),fn=null):(bulk=fn,fn=function(elem,key,value){return bulk.call(jQuery(elem),value)})),fn))for(;len>i;i++)fn(elems[i],key,raw?value:value.call(elems[i],i,fn(elems[i],key)));return chainable?elems:bulk?fn.call(elems):len?fn(elems[0],key):emptyGet},acceptData=function(owner){return 1===owner.nodeType||9===owner.nodeType||!+owner.nodeType};Data.uid=1,Data.prototype={register:function(owner,initial){var value=initial||{};return owner.nodeType?owner[this.expando]=value:Object.defineProperty(owner,this.expando,{value:value,writable:!0,configurable:!0}),owner[this.expando]},cache:function(owner){if(!acceptData(owner))return{};var value=owner[this.expando];return value||(value={},acceptData(owner)&&(owner.nodeType?owner[this.expando]=value:Object.defineProperty(owner,this.expando,{value:value,configurable:!0}))),value},set:function(owner,data,value){var prop,cache=this.cache(owner);if("string"==typeof data)cache[data]=value;else for(prop in data)cache[prop]=data[prop];return cache},get:function(owner,key){return void 0===key?this.cache(owner):owner[this.expando]&&owner[this.expando][key]},access:function(owner,key,value){var stored;return void 0===key||key&&"string"==typeof key&&void 0===value?(stored=this.get(owner,key),void 0!==stored?stored:this.get(owner,jQuery.camelCase(key))):(this.set(owner,key,value),void 0!==value?value:key)},remove:function(owner,key){var i,name,camel,cache=owner[this.expando];if(void 0!==cache){if(void 0===key)this.register(owner);else{jQuery.isArray(key)?name=key.concat(key.map(jQuery.camelCase)):(camel=jQuery.camelCase(key),key in cache?name=[key,camel]:(name=camel,name=name in cache?[name]:name.match(rnotwhite)||[])),i=name.length;for(;i--;)delete cache[name[i]]}(void 0===key||jQuery.isEmptyObject(cache))&&(owner.nodeType?owner[this.expando]=void 0:delete owner[this.expando])}},hasData:function(owner){var cache=owner[this.expando];return void 0!==cache&&!jQuery.isEmptyObject(cache)}};var dataPriv=new Data,dataUser=new Data,rbrace=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,rmultiDash=/[A-Z]/g;jQuery.extend({hasData:function(elem){return dataUser.hasData(elem)||dataPriv.hasData(elem)},data:function(elem,name,data){return dataUser.access(elem,name,data)},removeData:function(elem,name){dataUser.remove(elem,name)},_data:function(elem,name,data){return dataPriv.access(elem,name,data)},_removeData:function(elem,name){dataPriv.remove(elem,name)}}),jQuery.fn.extend({data:function(key,value){var i,name,data,elem=this[0],attrs=elem&&elem.attributes;if(void 0===key){if(this.length&&(data=dataUser.get(elem),1===elem.nodeType&&!dataPriv.get(elem,"hasDataAttrs"))){for(i=attrs.length;i--;)attrs[i]&&(name=attrs[i].name,0===name.indexOf("data-")&&(name=jQuery.camelCase(name.slice(5)),dataAttr(elem,name,data[name])));dataPriv.set(elem,"hasDataAttrs",!0)}return data}return"object"==typeof key?this.each(function(){dataUser.set(this,key)}):access(this,function(value){var data,camelKey;if(elem&&void 0===value){if(data=dataUser.get(elem,key)||dataUser.get(elem,key.replace(rmultiDash,"-$&").toLowerCase()),void 0!==data)return data;if(camelKey=jQuery.camelCase(key),data=dataUser.get(elem,camelKey),void 0!==data)return data;if(data=dataAttr(elem,camelKey,void 0),void 0!==data)return data}else camelKey=jQuery.camelCase(key),this.each(function(){var data=dataUser.get(this,camelKey);dataUser.set(this,camelKey,value),key.indexOf("-")>-1&&void 0!==data&&dataUser.set(this,key,value)})},null,value,arguments.length>1,null,!0)},removeData:function(key){return this.each(function(){dataUser.remove(this,key)})}}),jQuery.extend({queue:function(elem,type,data){var queue;return elem?(type=(type||"fx")+"queue",queue=dataPriv.get(elem,type),data&&(!queue||jQuery.isArray(data)?queue=dataPriv.access(elem,type,jQuery.makeArray(data)):queue.push(data)),queue||[]):void 0},dequeue:function(elem,type){type=type||"fx";var queue=jQuery.queue(elem,type),startLength=queue.length,fn=queue.shift(),hooks=jQuery._queueHooks(elem,type),next=function(){jQuery.dequeue(elem,type)};"inprogress"===fn&&(fn=queue.shift(),startLength--),fn&&("fx"===type&&queue.unshift("inprogress"),delete hooks.stop,fn.call(elem,next,hooks)),!startLength&&hooks&&hooks.empty.fire()},_queueHooks:function(elem,type){var key=type+"queueHooks";return dataPriv.get(elem,key)||dataPriv.access(elem,key,{empty:jQuery.Callbacks("once memory").add(function(){dataPriv.remove(elem,[type+"queue",key])})})}}),jQuery.fn.extend({queue:function(type,data){var setter=2;return"string"!=typeof type&&(data=type,type="fx",setter--),arguments.length<setter?jQuery.queue(this[0],type):void 0===data?this:this.each(function(){var queue=jQuery.queue(this,type,data);jQuery._queueHooks(this,type),"fx"===type&&"inprogress"!==queue[0]&&jQuery.dequeue(this,type)})},dequeue:function(type){return this.each(function(){jQuery.dequeue(this,type)})},clearQueue:function(type){return this.queue(type||"fx",[])},promise:function(type,obj){var tmp,count=1,defer=jQuery.Deferred(),elements=this,i=this.length,resolve=function(){--count||defer.resolveWith(elements,[elements])};for("string"!=typeof type&&(obj=type,type=void 0),type=type||"fx";i--;)tmp=dataPriv.get(elements[i],type+"queueHooks"),tmp&&tmp.empty&&(count++,tmp.empty.add(resolve));return resolve(),defer.promise(obj)}});var pnum=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,rcssNum=new RegExp("^(?:([+-])=|)("+pnum+")([a-z%]*)$","i"),cssExpand=["Top","Right","Bottom","Left"],isHidden=function(elem,el){return elem=el||elem,"none"===jQuery.css(elem,"display")||!jQuery.contains(elem.ownerDocument,elem)},rcheckableType=/^(?:checkbox|radio)$/i,rtagName=/<([\w:-]+)/,rscriptType=/^$|\/(?:java|ecma)script/i,wrapMap={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};wrapMap.optgroup=wrapMap.option,wrapMap.tbody=wrapMap.tfoot=wrapMap.colgroup=wrapMap.caption=wrapMap.thead,wrapMap.th=wrapMap.td;var rhtml=/<|&#?\w+;/;!function(){var fragment=document.createDocumentFragment(),div=fragment.appendChild(document.createElement("div")),input=document.createElement("input");input.setAttribute("type","radio"),input.setAttribute("checked","checked"),input.setAttribute("name","t"),div.appendChild(input),support.checkClone=div.cloneNode(!0).cloneNode(!0).lastChild.checked,div.innerHTML="<textarea>x</textarea>",support.noCloneChecked=!!div.cloneNode(!0).lastChild.defaultValue}();var rkeyEvent=/^key/,rmouseEvent=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,rtypenamespace=/^([^.]*)(?:\.(.+)|)/;jQuery.event={global:{},add:function(elem,types,handler,data,selector){var handleObjIn,eventHandle,tmp,events,t,handleObj,special,handlers,type,namespaces,origType,elemData=dataPriv.get(elem);if(elemData)for(handler.handler&&(handleObjIn=handler,handler=handleObjIn.handler,selector=handleObjIn.selector),handler.guid||(handler.guid=jQuery.guid++),(events=elemData.events)||(events=elemData.events={}),(eventHandle=elemData.handle)||(eventHandle=elemData.handle=function(e){return"undefined"!=typeof jQuery&&jQuery.event.triggered!==e.type?jQuery.event.dispatch.apply(elem,arguments):void 0}),types=(types||"").match(rnotwhite)||[""],t=types.length;t--;)tmp=rtypenamespace.exec(types[t])||[],type=origType=tmp[1],namespaces=(tmp[2]||"").split(".").sort(),type&&(special=jQuery.event.special[type]||{},type=(selector?special.delegateType:special.bindType)||type,special=jQuery.event.special[type]||{},handleObj=jQuery.extend({type:type,origType:origType,data:data,handler:handler,guid:handler.guid,selector:selector,needsContext:selector&&jQuery.expr.match.needsContext.test(selector),namespace:namespaces.join(".")},handleObjIn),(handlers=events[type])||(handlers=events[type]=[],handlers.delegateCount=0,special.setup&&special.setup.call(elem,data,namespaces,eventHandle)!==!1||elem.addEventListener&&elem.addEventListener(type,eventHandle)),special.add&&(special.add.call(elem,handleObj),handleObj.handler.guid||(handleObj.handler.guid=handler.guid)),selector?handlers.splice(handlers.delegateCount++,0,handleObj):handlers.push(handleObj),jQuery.event.global[type]=!0)},remove:function(elem,types,handler,selector,mappedTypes){var j,origCount,tmp,events,t,handleObj,special,handlers,type,namespaces,origType,elemData=dataPriv.hasData(elem)&&dataPriv.get(elem);if(elemData&&(events=elemData.events)){for(types=(types||"").match(rnotwhite)||[""],t=types.length;t--;)if(tmp=rtypenamespace.exec(types[t])||[],type=origType=tmp[1],namespaces=(tmp[2]||"").split(".").sort(),type){for(special=jQuery.event.special[type]||{},type=(selector?special.delegateType:special.bindType)||type,handlers=events[type]||[],tmp=tmp[2]&&new RegExp("(^|\\.)"+namespaces.join("\\.(?:.*\\.|)")+"(\\.|$)"),origCount=j=handlers.length;j--;)handleObj=handlers[j],!mappedTypes&&origType!==handleObj.origType||handler&&handler.guid!==handleObj.guid||tmp&&!tmp.test(handleObj.namespace)||selector&&selector!==handleObj.selector&&("**"!==selector||!handleObj.selector)||(handlers.splice(j,1),handleObj.selector&&handlers.delegateCount--,special.remove&&special.remove.call(elem,handleObj));origCount&&!handlers.length&&(special.teardown&&special.teardown.call(elem,namespaces,elemData.handle)!==!1||jQuery.removeEvent(elem,type,elemData.handle),delete events[type])}else for(type in events)jQuery.event.remove(elem,type+types[t],handler,selector,!0);jQuery.isEmptyObject(events)&&dataPriv.remove(elem,"handle events")}},dispatch:function(event){event=jQuery.event.fix(event);var i,j,ret,matched,handleObj,handlerQueue=[],args=slice.call(arguments),handlers=(dataPriv.get(this,"events")||{})[event.type]||[],special=jQuery.event.special[event.type]||{};if(args[0]=event,event.delegateTarget=this,!special.preDispatch||special.preDispatch.call(this,event)!==!1){for(handlerQueue=jQuery.event.handlers.call(this,event,handlers),i=0;(matched=handlerQueue[i++])&&!event.isPropagationStopped();)for(event.currentTarget=matched.elem,j=0;(handleObj=matched.handlers[j++])&&!event.isImmediatePropagationStopped();)event.rnamespace&&!event.rnamespace.test(handleObj.namespace)||(event.handleObj=handleObj,event.data=handleObj.data,ret=((jQuery.event.special[handleObj.origType]||{}).handle||handleObj.handler).apply(matched.elem,args),void 0!==ret&&(event.result=ret)===!1&&(event.preventDefault(),event.stopPropagation()));return special.postDispatch&&special.postDispatch.call(this,event),event.result}},handlers:function(event,handlers){var i,matches,sel,handleObj,handlerQueue=[],delegateCount=handlers.delegateCount,cur=event.target;if(delegateCount&&cur.nodeType&&("click"!==event.type||isNaN(event.button)||event.button<1))for(;cur!==this;cur=cur.parentNode||this)if(1===cur.nodeType&&(cur.disabled!==!0||"click"!==event.type)){for(matches=[],i=0;delegateCount>i;i++)handleObj=handlers[i],sel=handleObj.selector+" ",void 0===matches[sel]&&(matches[sel]=handleObj.needsContext?jQuery(sel,this).index(cur)>-1:jQuery.find(sel,this,null,[cur]).length),matches[sel]&&matches.push(handleObj);matches.length&&handlerQueue.push({elem:cur,handlers:matches})}return delegateCount<handlers.length&&handlerQueue.push({elem:this,handlers:handlers.slice(delegateCount)}),handlerQueue},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(event,original){return null==event.which&&(event.which=null!=original.charCode?original.charCode:original.keyCode),event}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(event,original){var eventDoc,doc,body,button=original.button;return null==event.pageX&&null!=original.clientX&&(eventDoc=event.target.ownerDocument||document,doc=eventDoc.documentElement,body=eventDoc.body,event.pageX=original.clientX+(doc&&doc.scrollLeft||body&&body.scrollLeft||0)-(doc&&doc.clientLeft||body&&body.clientLeft||0),event.pageY=original.clientY+(doc&&doc.scrollTop||body&&body.scrollTop||0)-(doc&&doc.clientTop||body&&body.clientTop||0)),event.which||void 0===button||(event.which=1&button?1:2&button?3:4&button?2:0),event}},fix:function(event){if(event[jQuery.expando])return event;var i,prop,copy,type=event.type,originalEvent=event,fixHook=this.fixHooks[type];for(fixHook||(this.fixHooks[type]=fixHook=rmouseEvent.test(type)?this.mouseHooks:rkeyEvent.test(type)?this.keyHooks:{}),copy=fixHook.props?this.props.concat(fixHook.props):this.props,event=new jQuery.Event(originalEvent),i=copy.length;i--;)prop=copy[i],event[prop]=originalEvent[prop];return event.target||(event.target=document),3===event.target.nodeType&&(event.target=event.target.parentNode),fixHook.filter?fixHook.filter(event,originalEvent):event},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==safeActiveElement()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===safeActiveElement()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&jQuery.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(event){return jQuery.nodeName(event.target,"a")}},beforeunload:{postDispatch:function(event){void 0!==event.result&&event.originalEvent&&(event.originalEvent.returnValue=event.result)}}}},jQuery.removeEvent=function(elem,type,handle){elem.removeEventListener&&elem.removeEventListener(type,handle)},jQuery.Event=function(src,props){return this instanceof jQuery.Event?(src&&src.type?(this.originalEvent=src,this.type=src.type,this.isDefaultPrevented=src.defaultPrevented||void 0===src.defaultPrevented&&src.returnValue===!1?returnTrue:returnFalse):this.type=src,props&&jQuery.extend(this,props),this.timeStamp=src&&src.timeStamp||jQuery.now(),void(this[jQuery.expando]=!0)):new jQuery.Event(src,props)},jQuery.Event.prototype={constructor:jQuery.Event,isDefaultPrevented:returnFalse,isPropagationStopped:returnFalse,isImmediatePropagationStopped:returnFalse,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=returnTrue,e&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=returnTrue,e&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=returnTrue,e&&e.stopImmediatePropagation(),this.stopPropagation()}},jQuery.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(orig,fix){jQuery.event.special[orig]={delegateType:fix,bindType:fix,handle:function(event){var ret,target=this,related=event.relatedTarget,handleObj=event.handleObj;return related&&(related===target||jQuery.contains(target,related))||(event.type=handleObj.origType,ret=handleObj.handler.apply(this,arguments),event.type=fix),ret}}}),jQuery.fn.extend({on:function(types,selector,data,fn){return on(this,types,selector,data,fn)},one:function(types,selector,data,fn){return on(this,types,selector,data,fn,1)},off:function(types,selector,fn){var handleObj,type;if(types&&types.preventDefault&&types.handleObj)return handleObj=types.handleObj,jQuery(types.delegateTarget).off(handleObj.namespace?handleObj.origType+"."+handleObj.namespace:handleObj.origType,handleObj.selector,handleObj.handler),this;if("object"==typeof types){for(type in types)this.off(type,selector,types[type]);return this}return selector!==!1&&"function"!=typeof selector||(fn=selector,selector=void 0),fn===!1&&(fn=returnFalse),this.each(function(){jQuery.event.remove(this,types,fn,selector)})}});var rxhtmlTag=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,rnoInnerhtml=/<script|<style|<link/i,rchecked=/checked\s*(?:[^=]|=\s*.checked.)/i,rscriptTypeMasked=/^true\/(.*)/,rcleanScript=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;jQuery.extend({htmlPrefilter:function(html){return html.replace(rxhtmlTag,"<$1></$2>")},clone:function(elem,dataAndEvents,deepDataAndEvents){var i,l,srcElements,destElements,clone=elem.cloneNode(!0),inPage=jQuery.contains(elem.ownerDocument,elem);if(!(support.noCloneChecked||1!==elem.nodeType&&11!==elem.nodeType||jQuery.isXMLDoc(elem)))for(destElements=getAll(clone),srcElements=getAll(elem),i=0,l=srcElements.length;l>i;i++)fixInput(srcElements[i],destElements[i]);if(dataAndEvents)if(deepDataAndEvents)for(srcElements=srcElements||getAll(elem),destElements=destElements||getAll(clone),i=0,l=srcElements.length;l>i;i++)cloneCopyEvent(srcElements[i],destElements[i]);else cloneCopyEvent(elem,clone);return destElements=getAll(clone,"script"),destElements.length>0&&setGlobalEval(destElements,!inPage&&getAll(elem,"script")),
  clone},cleanData:function(elems){for(var data,elem,type,special=jQuery.event.special,i=0;void 0!==(elem=elems[i]);i++)if(acceptData(elem)){if(data=elem[dataPriv.expando]){if(data.events)for(type in data.events)special[type]?jQuery.event.remove(elem,type):jQuery.removeEvent(elem,type,data.handle);elem[dataPriv.expando]=void 0}elem[dataUser.expando]&&(elem[dataUser.expando]=void 0)}}}),jQuery.fn.extend({domManip:domManip,detach:function(selector){return remove(this,selector,!0)},remove:function(selector){return remove(this,selector)},text:function(value){return access(this,function(value){return void 0===value?jQuery.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=value)})},null,value,arguments.length)},append:function(){return domManip(this,arguments,function(elem){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var target=manipulationTarget(this,elem);target.appendChild(elem)}})},prepend:function(){return domManip(this,arguments,function(elem){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var target=manipulationTarget(this,elem);target.insertBefore(elem,target.firstChild)}})},before:function(){return domManip(this,arguments,function(elem){this.parentNode&&this.parentNode.insertBefore(elem,this)})},after:function(){return domManip(this,arguments,function(elem){this.parentNode&&this.parentNode.insertBefore(elem,this.nextSibling)})},empty:function(){for(var elem,i=0;null!=(elem=this[i]);i++)1===elem.nodeType&&(jQuery.cleanData(getAll(elem,!1)),elem.textContent="");return this},clone:function(dataAndEvents,deepDataAndEvents){return dataAndEvents=null==dataAndEvents?!1:dataAndEvents,deepDataAndEvents=null==deepDataAndEvents?dataAndEvents:deepDataAndEvents,this.map(function(){return jQuery.clone(this,dataAndEvents,deepDataAndEvents)})},html:function(value){return access(this,function(value){var elem=this[0]||{},i=0,l=this.length;if(void 0===value&&1===elem.nodeType)return elem.innerHTML;if("string"==typeof value&&!rnoInnerhtml.test(value)&&!wrapMap[(rtagName.exec(value)||["",""])[1].toLowerCase()]){value=jQuery.htmlPrefilter(value);try{for(;l>i;i++)elem=this[i]||{},1===elem.nodeType&&(jQuery.cleanData(getAll(elem,!1)),elem.innerHTML=value);elem=0}catch(e){}}elem&&this.empty().append(value)},null,value,arguments.length)},replaceWith:function(){var ignored=[];return domManip(this,arguments,function(elem){var parent=this.parentNode;jQuery.inArray(this,ignored)<0&&(jQuery.cleanData(getAll(this)),parent&&parent.replaceChild(elem,this))},ignored)}}),jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(name,original){jQuery.fn[name]=function(selector){for(var elems,ret=[],insert=jQuery(selector),last=insert.length-1,i=0;last>=i;i++)elems=i===last?this:this.clone(!0),jQuery(insert[i])[original](elems),push.apply(ret,elems.get());return this.pushStack(ret)}});var iframe,elemdisplay={HTML:"block",BODY:"block"},rmargin=/^margin/,rnumnonpx=new RegExp("^("+pnum+")(?!px)[a-z%]+$","i"),getStyles=function(elem){var view=elem.ownerDocument.defaultView;return view.opener||(view=window),view.getComputedStyle(elem)},swap=function(elem,options,callback,args){var ret,name,old={};for(name in options)old[name]=elem.style[name],elem.style[name]=options[name];ret=callback.apply(elem,args||[]);for(name in options)elem.style[name]=old[name];return ret},documentElement=document.documentElement;!function(){function computeStyleTests(){div.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",div.innerHTML="",documentElement.appendChild(container);var divStyle=window.getComputedStyle(div);pixelPositionVal="1%"!==divStyle.top,reliableMarginLeftVal="2px"===divStyle.marginLeft,boxSizingReliableVal="4px"===divStyle.width,div.style.marginRight="50%",pixelMarginRightVal="4px"===divStyle.marginRight,documentElement.removeChild(container)}var pixelPositionVal,boxSizingReliableVal,pixelMarginRightVal,reliableMarginLeftVal,container=document.createElement("div"),div=document.createElement("div");div.style&&(div.style.backgroundClip="content-box",div.cloneNode(!0).style.backgroundClip="",support.clearCloneStyle="content-box"===div.style.backgroundClip,container.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",container.appendChild(div),jQuery.extend(support,{pixelPosition:function(){return computeStyleTests(),pixelPositionVal},boxSizingReliable:function(){return null==boxSizingReliableVal&&computeStyleTests(),boxSizingReliableVal},pixelMarginRight:function(){return null==boxSizingReliableVal&&computeStyleTests(),pixelMarginRightVal},reliableMarginLeft:function(){return null==boxSizingReliableVal&&computeStyleTests(),reliableMarginLeftVal},reliableMarginRight:function(){var ret,marginDiv=div.appendChild(document.createElement("div"));return marginDiv.style.cssText=div.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",marginDiv.style.marginRight=marginDiv.style.width="0",div.style.width="1px",documentElement.appendChild(container),ret=!parseFloat(window.getComputedStyle(marginDiv).marginRight),documentElement.removeChild(container),div.removeChild(marginDiv),ret}}))}();var rdisplayswap=/^(none|table(?!-c[ea]).+)/,cssShow={position:"absolute",visibility:"hidden",display:"block"},cssNormalTransform={letterSpacing:"0",fontWeight:"400"},cssPrefixes=["Webkit","O","Moz","ms"],emptyStyle=document.createElement("div").style;jQuery.extend({cssHooks:{opacity:{get:function(elem,computed){if(computed){var ret=curCSS(elem,"opacity");return""===ret?"1":ret}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(elem,name,value,extra){if(elem&&3!==elem.nodeType&&8!==elem.nodeType&&elem.style){var ret,type,hooks,origName=jQuery.camelCase(name),style=elem.style;return name=jQuery.cssProps[origName]||(jQuery.cssProps[origName]=vendorPropName(origName)||origName),hooks=jQuery.cssHooks[name]||jQuery.cssHooks[origName],void 0===value?hooks&&"get"in hooks&&void 0!==(ret=hooks.get(elem,!1,extra))?ret:style[name]:(type=typeof value,"string"===type&&(ret=rcssNum.exec(value))&&ret[1]&&(value=adjustCSS(elem,name,ret),type="number"),null!=value&&value===value&&("number"===type&&(value+=ret&&ret[3]||(jQuery.cssNumber[origName]?"":"px")),support.clearCloneStyle||""!==value||0!==name.indexOf("background")||(style[name]="inherit"),hooks&&"set"in hooks&&void 0===(value=hooks.set(elem,value,extra))||(style[name]=value)),void 0)}},css:function(elem,name,extra,styles){var val,num,hooks,origName=jQuery.camelCase(name);return name=jQuery.cssProps[origName]||(jQuery.cssProps[origName]=vendorPropName(origName)||origName),hooks=jQuery.cssHooks[name]||jQuery.cssHooks[origName],hooks&&"get"in hooks&&(val=hooks.get(elem,!0,extra)),void 0===val&&(val=curCSS(elem,name,styles)),"normal"===val&&name in cssNormalTransform&&(val=cssNormalTransform[name]),""===extra||extra?(num=parseFloat(val),extra===!0||isFinite(num)?num||0:val):val}}),jQuery.each(["height","width"],function(i,name){jQuery.cssHooks[name]={get:function(elem,computed,extra){return computed?rdisplayswap.test(jQuery.css(elem,"display"))&&0===elem.offsetWidth?swap(elem,cssShow,function(){return getWidthOrHeight(elem,name,extra)}):getWidthOrHeight(elem,name,extra):void 0},set:function(elem,value,extra){var matches,styles=extra&&getStyles(elem),subtract=extra&&augmentWidthOrHeight(elem,name,extra,"border-box"===jQuery.css(elem,"boxSizing",!1,styles),styles);return subtract&&(matches=rcssNum.exec(value))&&"px"!==(matches[3]||"px")&&(elem.style[name]=value,value=jQuery.css(elem,name)),setPositiveNumber(elem,value,subtract)}}}),jQuery.cssHooks.marginLeft=addGetHookIf(support.reliableMarginLeft,function(elem,computed){return computed?(parseFloat(curCSS(elem,"marginLeft"))||elem.getBoundingClientRect().left-swap(elem,{marginLeft:0},function(){return elem.getBoundingClientRect().left}))+"px":void 0}),jQuery.cssHooks.marginRight=addGetHookIf(support.reliableMarginRight,function(elem,computed){return computed?swap(elem,{display:"inline-block"},curCSS,[elem,"marginRight"]):void 0}),jQuery.each({margin:"",padding:"",border:"Width"},function(prefix,suffix){jQuery.cssHooks[prefix+suffix]={expand:function(value){for(var i=0,expanded={},parts="string"==typeof value?value.split(" "):[value];4>i;i++)expanded[prefix+cssExpand[i]+suffix]=parts[i]||parts[i-2]||parts[0];return expanded}},rmargin.test(prefix)||(jQuery.cssHooks[prefix+suffix].set=setPositiveNumber)}),jQuery.fn.extend({css:function(name,value){return access(this,function(elem,name,value){var styles,len,map={},i=0;if(jQuery.isArray(name)){for(styles=getStyles(elem),len=name.length;len>i;i++)map[name[i]]=jQuery.css(elem,name[i],!1,styles);return map}return void 0!==value?jQuery.style(elem,name,value):jQuery.css(elem,name)},name,value,arguments.length>1)},show:function(){return showHide(this,!0)},hide:function(){return showHide(this)},toggle:function(state){return"boolean"==typeof state?state?this.show():this.hide():this.each(function(){isHidden(this)?jQuery(this).show():jQuery(this).hide()})}}),jQuery.Tween=Tween,Tween.prototype={constructor:Tween,init:function(elem,options,prop,end,easing,unit){this.elem=elem,this.prop=prop,this.easing=easing||jQuery.easing._default,this.options=options,this.start=this.now=this.cur(),this.end=end,this.unit=unit||(jQuery.cssNumber[prop]?"":"px")},cur:function(){var hooks=Tween.propHooks[this.prop];return hooks&&hooks.get?hooks.get(this):Tween.propHooks._default.get(this)},run:function(percent){var eased,hooks=Tween.propHooks[this.prop];return this.options.duration?this.pos=eased=jQuery.easing[this.easing](percent,this.options.duration*percent,0,1,this.options.duration):this.pos=eased=percent,this.now=(this.end-this.start)*eased+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),hooks&&hooks.set?hooks.set(this):Tween.propHooks._default.set(this),this}},Tween.prototype.init.prototype=Tween.prototype,Tween.propHooks={_default:{get:function(tween){var result;return 1!==tween.elem.nodeType||null!=tween.elem[tween.prop]&&null==tween.elem.style[tween.prop]?tween.elem[tween.prop]:(result=jQuery.css(tween.elem,tween.prop,""),result&&"auto"!==result?result:0)},set:function(tween){jQuery.fx.step[tween.prop]?jQuery.fx.step[tween.prop](tween):1!==tween.elem.nodeType||null==tween.elem.style[jQuery.cssProps[tween.prop]]&&!jQuery.cssHooks[tween.prop]?tween.elem[tween.prop]=tween.now:jQuery.style(tween.elem,tween.prop,tween.now+tween.unit)}}},Tween.propHooks.scrollTop=Tween.propHooks.scrollLeft={set:function(tween){tween.elem.nodeType&&tween.elem.parentNode&&(tween.elem[tween.prop]=tween.now)}},jQuery.easing={linear:function(p){return p},swing:function(p){return.5-Math.cos(p*Math.PI)/2},_default:"swing"},jQuery.fx=Tween.prototype.init,jQuery.fx.step={};var fxNow,timerId,rfxtypes=/^(?:toggle|show|hide)$/,rrun=/queueHooks$/;jQuery.Animation=jQuery.extend(Animation,{tweeners:{"*":[function(prop,value){var tween=this.createTween(prop,value);return adjustCSS(tween.elem,prop,rcssNum.exec(value),tween),tween}]},tweener:function(props,callback){jQuery.isFunction(props)?(callback=props,props=["*"]):props=props.match(rnotwhite);for(var prop,index=0,length=props.length;length>index;index++)prop=props[index],Animation.tweeners[prop]=Animation.tweeners[prop]||[],Animation.tweeners[prop].unshift(callback)},prefilters:[defaultPrefilter],prefilter:function(callback,prepend){prepend?Animation.prefilters.unshift(callback):Animation.prefilters.push(callback)}}),jQuery.speed=function(speed,easing,fn){var opt=speed&&"object"==typeof speed?jQuery.extend({},speed):{complete:fn||!fn&&easing||jQuery.isFunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&!jQuery.isFunction(easing)&&easing};return opt.duration=jQuery.fx.off?0:"number"==typeof opt.duration?opt.duration:opt.duration in jQuery.fx.speeds?jQuery.fx.speeds[opt.duration]:jQuery.fx.speeds._default,null!=opt.queue&&opt.queue!==!0||(opt.queue="fx"),opt.old=opt.complete,opt.complete=function(){jQuery.isFunction(opt.old)&&opt.old.call(this),opt.queue&&jQuery.dequeue(this,opt.queue)},opt},jQuery.fn.extend({fadeTo:function(speed,to,easing,callback){return this.filter(isHidden).css("opacity",0).show().end().animate({opacity:to},speed,easing,callback)},animate:function(prop,speed,easing,callback){var empty=jQuery.isEmptyObject(prop),optall=jQuery.speed(speed,easing,callback),doAnimation=function(){var anim=Animation(this,jQuery.extend({},prop),optall);(empty||dataPriv.get(this,"finish"))&&anim.stop(!0)};return doAnimation.finish=doAnimation,empty||optall.queue===!1?this.each(doAnimation):this.queue(optall.queue,doAnimation)},stop:function(type,clearQueue,gotoEnd){var stopQueue=function(hooks){var stop=hooks.stop;delete hooks.stop,stop(gotoEnd)};return"string"!=typeof type&&(gotoEnd=clearQueue,clearQueue=type,type=void 0),clearQueue&&type!==!1&&this.queue(type||"fx",[]),this.each(function(){var dequeue=!0,index=null!=type&&type+"queueHooks",timers=jQuery.timers,data=dataPriv.get(this);if(index)data[index]&&data[index].stop&&stopQueue(data[index]);else for(index in data)data[index]&&data[index].stop&&rrun.test(index)&&stopQueue(data[index]);for(index=timers.length;index--;)timers[index].elem!==this||null!=type&&timers[index].queue!==type||(timers[index].anim.stop(gotoEnd),dequeue=!1,timers.splice(index,1));!dequeue&&gotoEnd||jQuery.dequeue(this,type)})},finish:function(type){return type!==!1&&(type=type||"fx"),this.each(function(){var index,data=dataPriv.get(this),queue=data[type+"queue"],hooks=data[type+"queueHooks"],timers=jQuery.timers,length=queue?queue.length:0;for(data.finish=!0,jQuery.queue(this,type,[]),hooks&&hooks.stop&&hooks.stop.call(this,!0),index=timers.length;index--;)timers[index].elem===this&&timers[index].queue===type&&(timers[index].anim.stop(!0),timers.splice(index,1));for(index=0;length>index;index++)queue[index]&&queue[index].finish&&queue[index].finish.call(this);delete data.finish})}}),jQuery.each(["toggle","show","hide"],function(i,name){var cssFn=jQuery.fn[name];jQuery.fn[name]=function(speed,easing,callback){return null==speed||"boolean"==typeof speed?cssFn.apply(this,arguments):this.animate(genFx(name,!0),speed,easing,callback)}}),jQuery.each({slideDown:genFx("show"),slideUp:genFx("hide"),slideToggle:genFx("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(name,props){jQuery.fn[name]=function(speed,easing,callback){return this.animate(props,speed,easing,callback)}}),jQuery.timers=[],jQuery.fx.tick=function(){var timer,i=0,timers=jQuery.timers;for(fxNow=jQuery.now();i<timers.length;i++)timer=timers[i],timer()||timers[i]!==timer||timers.splice(i--,1);timers.length||jQuery.fx.stop(),fxNow=void 0},jQuery.fx.timer=function(timer){jQuery.timers.push(timer),timer()?jQuery.fx.start():jQuery.timers.pop()},jQuery.fx.interval=13,jQuery.fx.start=function(){timerId||(timerId=window.setInterval(jQuery.fx.tick,jQuery.fx.interval))},jQuery.fx.stop=function(){window.clearInterval(timerId),timerId=null},jQuery.fx.speeds={slow:600,fast:200,_default:400},jQuery.fn.delay=function(time,type){return time=jQuery.fx?jQuery.fx.speeds[time]||time:time,type=type||"fx",this.queue(type,function(next,hooks){var timeout=window.setTimeout(next,time);hooks.stop=function(){window.clearTimeout(timeout)}})},function(){var input=document.createElement("input"),select=document.createElement("select"),opt=select.appendChild(document.createElement("option"));input.type="checkbox",support.checkOn=""!==input.value,support.optSelected=opt.selected,select.disabled=!0,support.optDisabled=!opt.disabled,input=document.createElement("input"),input.value="t",input.type="radio",support.radioValue="t"===input.value}();var boolHook,attrHandle=jQuery.expr.attrHandle;jQuery.fn.extend({attr:function(name,value){return access(this,jQuery.attr,name,value,arguments.length>1)},removeAttr:function(name){return this.each(function(){jQuery.removeAttr(this,name)})}}),jQuery.extend({attr:function(elem,name,value){var ret,hooks,nType=elem.nodeType;if(3!==nType&&8!==nType&&2!==nType)return"undefined"==typeof elem.getAttribute?jQuery.prop(elem,name,value):(1===nType&&jQuery.isXMLDoc(elem)||(name=name.toLowerCase(),hooks=jQuery.attrHooks[name]||(jQuery.expr.match.bool.test(name)?boolHook:void 0)),void 0!==value?null===value?void jQuery.removeAttr(elem,name):hooks&&"set"in hooks&&void 0!==(ret=hooks.set(elem,value,name))?ret:(elem.setAttribute(name,value+""),value):hooks&&"get"in hooks&&null!==(ret=hooks.get(elem,name))?ret:(ret=jQuery.find.attr(elem,name),null==ret?void 0:ret))},attrHooks:{type:{set:function(elem,value){if(!support.radioValue&&"radio"===value&&jQuery.nodeName(elem,"input")){var val=elem.value;return elem.setAttribute("type",value),val&&(elem.value=val),value}}}},removeAttr:function(elem,value){var name,propName,i=0,attrNames=value&&value.match(rnotwhite);if(attrNames&&1===elem.nodeType)for(;name=attrNames[i++];)propName=jQuery.propFix[name]||name,jQuery.expr.match.bool.test(name)&&(elem[propName]=!1),elem.removeAttribute(name)}}),boolHook={set:function(elem,value,name){return value===!1?jQuery.removeAttr(elem,name):elem.setAttribute(name,name),name}},jQuery.each(jQuery.expr.match.bool.source.match(/\w+/g),function(i,name){var getter=attrHandle[name]||jQuery.find.attr;attrHandle[name]=function(elem,name,isXML){var ret,handle;return isXML||(handle=attrHandle[name],attrHandle[name]=ret,ret=null!=getter(elem,name,isXML)?name.toLowerCase():null,attrHandle[name]=handle),ret}});var rfocusable=/^(?:input|select|textarea|button)$/i,rclickable=/^(?:a|area)$/i;jQuery.fn.extend({prop:function(name,value){return access(this,jQuery.prop,name,value,arguments.length>1)},removeProp:function(name){return this.each(function(){delete this[jQuery.propFix[name]||name]})}}),jQuery.extend({prop:function(elem,name,value){var ret,hooks,nType=elem.nodeType;if(3!==nType&&8!==nType&&2!==nType)return 1===nType&&jQuery.isXMLDoc(elem)||(name=jQuery.propFix[name]||name,hooks=jQuery.propHooks[name]),void 0!==value?hooks&&"set"in hooks&&void 0!==(ret=hooks.set(elem,value,name))?ret:elem[name]=value:hooks&&"get"in hooks&&null!==(ret=hooks.get(elem,name))?ret:elem[name]},propHooks:{tabIndex:{get:function(elem){var tabindex=jQuery.find.attr(elem,"tabindex");return tabindex?parseInt(tabindex,10):rfocusable.test(elem.nodeName)||rclickable.test(elem.nodeName)&&elem.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),support.optSelected||(jQuery.propHooks.selected={get:function(elem){var parent=elem.parentNode;return parent&&parent.parentNode&&parent.parentNode.selectedIndex,null}}),jQuery.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){jQuery.propFix[this.toLowerCase()]=this});var rclass=/[\t\r\n\f]/g;jQuery.fn.extend({addClass:function(value){var classes,elem,cur,curValue,clazz,j,finalValue,i=0;if(jQuery.isFunction(value))return this.each(function(j){jQuery(this).addClass(value.call(this,j,getClass(this)))});if("string"==typeof value&&value)for(classes=value.match(rnotwhite)||[];elem=this[i++];)if(curValue=getClass(elem),cur=1===elem.nodeType&&(" "+curValue+" ").replace(rclass," ")){for(j=0;clazz=classes[j++];)cur.indexOf(" "+clazz+" ")<0&&(cur+=clazz+" ");finalValue=jQuery.trim(cur),curValue!==finalValue&&elem.setAttribute("class",finalValue)}return this},removeClass:function(value){var classes,elem,cur,curValue,clazz,j,finalValue,i=0;if(jQuery.isFunction(value))return this.each(function(j){jQuery(this).removeClass(value.call(this,j,getClass(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof value&&value)for(classes=value.match(rnotwhite)||[];elem=this[i++];)if(curValue=getClass(elem),cur=1===elem.nodeType&&(" "+curValue+" ").replace(rclass," ")){for(j=0;clazz=classes[j++];)for(;cur.indexOf(" "+clazz+" ")>-1;)cur=cur.replace(" "+clazz+" "," ");finalValue=jQuery.trim(cur),curValue!==finalValue&&elem.setAttribute("class",finalValue)}return this},toggleClass:function(value,stateVal){var type=typeof value;return"boolean"==typeof stateVal&&"string"===type?stateVal?this.addClass(value):this.removeClass(value):jQuery.isFunction(value)?this.each(function(i){jQuery(this).toggleClass(value.call(this,i,getClass(this),stateVal),stateVal)}):this.each(function(){var className,i,self,classNames;if("string"===type)for(i=0,self=jQuery(this),classNames=value.match(rnotwhite)||[];className=classNames[i++];)self.hasClass(className)?self.removeClass(className):self.addClass(className);else void 0!==value&&"boolean"!==type||(className=getClass(this),className&&dataPriv.set(this,"__className__",className),this.setAttribute&&this.setAttribute("class",className||value===!1?"":dataPriv.get(this,"__className__")||""))})},hasClass:function(selector){var className,elem,i=0;for(className=" "+selector+" ";elem=this[i++];)if(1===elem.nodeType&&(" "+getClass(elem)+" ").replace(rclass," ").indexOf(className)>-1)return!0;return!1}});var rreturn=/\r/g;jQuery.fn.extend({val:function(value){var hooks,ret,isFunction,elem=this[0];{if(arguments.length)return isFunction=jQuery.isFunction(value),this.each(function(i){var val;1===this.nodeType&&(val=isFunction?value.call(this,i,jQuery(this).val()):value,null==val?val="":"number"==typeof val?val+="":jQuery.isArray(val)&&(val=jQuery.map(val,function(value){return null==value?"":value+""})),hooks=jQuery.valHooks[this.type]||jQuery.valHooks[this.nodeName.toLowerCase()],hooks&&"set"in hooks&&void 0!==hooks.set(this,val,"value")||(this.value=val))});if(elem)return hooks=jQuery.valHooks[elem.type]||jQuery.valHooks[elem.nodeName.toLowerCase()],hooks&&"get"in hooks&&void 0!==(ret=hooks.get(elem,"value"))?ret:(ret=elem.value,"string"==typeof ret?ret.replace(rreturn,""):null==ret?"":ret)}}}),jQuery.extend({valHooks:{option:{get:function(elem){return jQuery.trim(elem.value)}},select:{get:function(elem){for(var value,option,options=elem.options,index=elem.selectedIndex,one="select-one"===elem.type||0>index,values=one?null:[],max=one?index+1:options.length,i=0>index?max:one?index:0;max>i;i++)if(option=options[i],(option.selected||i===index)&&(support.optDisabled?!option.disabled:null===option.getAttribute("disabled"))&&(!option.parentNode.disabled||!jQuery.nodeName(option.parentNode,"optgroup"))){if(value=jQuery(option).val(),one)return value;values.push(value)}return values},set:function(elem,value){for(var optionSet,option,options=elem.options,values=jQuery.makeArray(value),i=options.length;i--;)option=options[i],(option.selected=jQuery.inArray(jQuery.valHooks.option.get(option),values)>-1)&&(optionSet=!0);return optionSet||(elem.selectedIndex=-1),values}}}}),jQuery.each(["radio","checkbox"],function(){jQuery.valHooks[this]={set:function(elem,value){return jQuery.isArray(value)?elem.checked=jQuery.inArray(jQuery(elem).val(),value)>-1:void 0}},support.checkOn||(jQuery.valHooks[this].get=function(elem){return null===elem.getAttribute("value")?"on":elem.value})});var rfocusMorph=/^(?:focusinfocus|focusoutblur)$/;jQuery.extend(jQuery.event,{trigger:function(event,data,elem,onlyHandlers){var i,cur,tmp,bubbleType,ontype,handle,special,eventPath=[elem||document],type=hasOwn.call(event,"type")?event.type:event,namespaces=hasOwn.call(event,"namespace")?event.namespace.split("."):[];if(cur=tmp=elem=elem||document,3!==elem.nodeType&&8!==elem.nodeType&&!rfocusMorph.test(type+jQuery.event.triggered)&&(type.indexOf(".")>-1&&(namespaces=type.split("."),type=namespaces.shift(),namespaces.sort()),ontype=type.indexOf(":")<0&&"on"+type,event=event[jQuery.expando]?event:new jQuery.Event(type,"object"==typeof event&&event),event.isTrigger=onlyHandlers?2:3,event.namespace=namespaces.join("."),event.rnamespace=event.namespace?new RegExp("(^|\\.)"+namespaces.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,event.result=void 0,event.target||(event.target=elem),data=null==data?[event]:jQuery.makeArray(data,[event]),special=jQuery.event.special[type]||{},onlyHandlers||!special.trigger||special.trigger.apply(elem,data)!==!1)){if(!onlyHandlers&&!special.noBubble&&!jQuery.isWindow(elem)){for(bubbleType=special.delegateType||type,rfocusMorph.test(bubbleType+type)||(cur=cur.parentNode);cur;cur=cur.parentNode)eventPath.push(cur),tmp=cur;tmp===(elem.ownerDocument||document)&&eventPath.push(tmp.defaultView||tmp.parentWindow||window)}for(i=0;(cur=eventPath[i++])&&!event.isPropagationStopped();)event.type=i>1?bubbleType:special.bindType||type,handle=(dataPriv.get(cur,"events")||{})[event.type]&&dataPriv.get(cur,"handle"),handle&&handle.apply(cur,data),handle=ontype&&cur[ontype],handle&&handle.apply&&acceptData(cur)&&(event.result=handle.apply(cur,data),event.result===!1&&event.preventDefault());return event.type=type,onlyHandlers||event.isDefaultPrevented()||special._default&&special._default.apply(eventPath.pop(),data)!==!1||!acceptData(elem)||ontype&&jQuery.isFunction(elem[type])&&!jQuery.isWindow(elem)&&(tmp=elem[ontype],tmp&&(elem[ontype]=null),jQuery.event.triggered=type,elem[type](),jQuery.event.triggered=void 0,tmp&&(elem[ontype]=tmp)),event.result}},simulate:function(type,elem,event){var e=jQuery.extend(new jQuery.Event,event,{type:type,isSimulated:!0});jQuery.event.trigger(e,null,elem),e.isDefaultPrevented()&&event.preventDefault()}}),jQuery.fn.extend({trigger:function(type,data){return this.each(function(){jQuery.event.trigger(type,data,this)})},triggerHandler:function(type,data){var elem=this[0];return elem?jQuery.event.trigger(type,data,elem,!0):void 0}}),jQuery.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(i,name){jQuery.fn[name]=function(data,fn){return arguments.length>0?this.on(name,null,data,fn):this.trigger(name)}}),jQuery.fn.extend({hover:function(fnOver,fnOut){return this.mouseenter(fnOver).mouseleave(fnOut||fnOver)}}),support.focusin="onfocusin"in window,support.focusin||jQuery.each({focus:"focusin",blur:"focusout"},function(orig,fix){var handler=function(event){jQuery.event.simulate(fix,event.target,jQuery.event.fix(event))};jQuery.event.special[fix]={setup:function(){var doc=this.ownerDocument||this,attaches=dataPriv.access(doc,fix);attaches||doc.addEventListener(orig,handler,!0),dataPriv.access(doc,fix,(attaches||0)+1)},teardown:function(){var doc=this.ownerDocument||this,attaches=dataPriv.access(doc,fix)-1;attaches?dataPriv.access(doc,fix,attaches):(doc.removeEventListener(orig,handler,!0),dataPriv.remove(doc,fix))}}});var location=window.location,nonce=jQuery.now(),rquery=/\?/;jQuery.parseJSON=function(data){return JSON.parse(data+"")},jQuery.parseXML=function(data){var xml;if(!data||"string"!=typeof data)return null;try{xml=(new window.DOMParser).parseFromString(data,"text/xml")}catch(e){xml=void 0}return xml&&!xml.getElementsByTagName("parsererror").length||jQuery.error("Invalid XML: "+data),xml};var rhash=/#.*$/,rts=/([?&])_=[^&]*/,rheaders=/^(.*?):[ \t]*([^\r\n]*)$/gm,rlocalProtocol=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,rnoContent=/^(?:GET|HEAD)$/,rprotocol=/^\/\//,prefilters={},transports={},allTypes="*/".concat("*"),originAnchor=document.createElement("a");originAnchor.href=location.href,jQuery.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:location.href,type:"GET",isLocal:rlocalProtocol.test(location.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":allTypes,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":jQuery.parseJSON,"text xml":jQuery.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(target,settings){return settings?ajaxExtend(ajaxExtend(target,jQuery.ajaxSettings),settings):ajaxExtend(jQuery.ajaxSettings,target)},ajaxPrefilter:addToPrefiltersOrTransports(prefilters),ajaxTransport:addToPrefiltersOrTransports(transports),ajax:function(url,options){function done(status,nativeStatusText,responses,headers){var isSuccess,success,error,response,modified,statusText=nativeStatusText;2!==state&&(state=2,timeoutTimer&&window.clearTimeout(timeoutTimer),transport=void 0,responseHeadersString=headers||"",jqXHR.readyState=status>0?4:0,isSuccess=status>=200&&300>status||304===status,responses&&(response=ajaxHandleResponses(s,jqXHR,responses)),response=ajaxConvert(s,response,jqXHR,isSuccess),isSuccess?(s.ifModified&&(modified=jqXHR.getResponseHeader("Last-Modified"),modified&&(jQuery.lastModified[cacheURL]=modified),modified=jqXHR.getResponseHeader("etag"),modified&&(jQuery.etag[cacheURL]=modified)),204===status||"HEAD"===s.type?statusText="nocontent":304===status?statusText="notmodified":(statusText=response.state,success=response.data,error=response.error,isSuccess=!error)):(error=statusText,!status&&statusText||(statusText="error",0>status&&(status=0))),jqXHR.status=status,jqXHR.statusText=(nativeStatusText||statusText)+"",isSuccess?deferred.resolveWith(callbackContext,[success,statusText,jqXHR]):deferred.rejectWith(callbackContext,[jqXHR,statusText,error]),jqXHR.statusCode(statusCode),statusCode=void 0,fireGlobals&&globalEventContext.trigger(isSuccess?"ajaxSuccess":"ajaxError",[jqXHR,s,isSuccess?success:error]),completeDeferred.fireWith(callbackContext,[jqXHR,statusText]),fireGlobals&&(globalEventContext.trigger("ajaxComplete",[jqXHR,s]),--jQuery.active||jQuery.event.trigger("ajaxStop")))}"object"==typeof url&&(options=url,url=void 0),options=options||{};var transport,cacheURL,responseHeadersString,responseHeaders,timeoutTimer,urlAnchor,fireGlobals,i,s=jQuery.ajaxSetup({},options),callbackContext=s.context||s,globalEventContext=s.context&&(callbackContext.nodeType||callbackContext.jquery)?jQuery(callbackContext):jQuery.event,deferred=jQuery.Deferred(),completeDeferred=jQuery.Callbacks("once memory"),statusCode=s.statusCode||{},requestHeaders={},requestHeadersNames={},state=0,strAbort="canceled",jqXHR={readyState:0,getResponseHeader:function(key){var match;if(2===state){if(!responseHeaders)for(responseHeaders={};match=rheaders.exec(responseHeadersString);)responseHeaders[match[1].toLowerCase()]=match[2];match=responseHeaders[key.toLowerCase()]}return null==match?null:match},getAllResponseHeaders:function(){return 2===state?responseHeadersString:null},setRequestHeader:function(name,value){var lname=name.toLowerCase();return state||(name=requestHeadersNames[lname]=requestHeadersNames[lname]||name,requestHeaders[name]=value),this},overrideMimeType:function(type){return state||(s.mimeType=type),this},statusCode:function(map){var code;if(map)if(2>state)for(code in map)statusCode[code]=[statusCode[code],map[code]];else jqXHR.always(map[jqXHR.status]);return this},abort:function(statusText){var finalText=statusText||strAbort;return transport&&transport.abort(finalText),done(0,finalText),this}};if(deferred.promise(jqXHR).complete=completeDeferred.add,jqXHR.success=jqXHR.done,jqXHR.error=jqXHR.fail,s.url=((url||s.url||location.href)+"").replace(rhash,"").replace(rprotocol,location.protocol+"//"),s.type=options.method||options.type||s.method||s.type,s.dataTypes=jQuery.trim(s.dataType||"*").toLowerCase().match(rnotwhite)||[""],null==s.crossDomain){urlAnchor=document.createElement("a");try{urlAnchor.href=s.url,urlAnchor.href=urlAnchor.href,s.crossDomain=originAnchor.protocol+"//"+originAnchor.host!=urlAnchor.protocol+"//"+urlAnchor.host;
  }catch(e){s.crossDomain=!0}}if(s.data&&s.processData&&"string"!=typeof s.data&&(s.data=jQuery.param(s.data,s.traditional)),inspectPrefiltersOrTransports(prefilters,s,options,jqXHR),2===state)return jqXHR;fireGlobals=jQuery.event&&s.global,fireGlobals&&0===jQuery.active++&&jQuery.event.trigger("ajaxStart"),s.type=s.type.toUpperCase(),s.hasContent=!rnoContent.test(s.type),cacheURL=s.url,s.hasContent||(s.data&&(cacheURL=s.url+=(rquery.test(cacheURL)?"&":"?")+s.data,delete s.data),s.cache===!1&&(s.url=rts.test(cacheURL)?cacheURL.replace(rts,"$1_="+nonce++):cacheURL+(rquery.test(cacheURL)?"&":"?")+"_="+nonce++)),s.ifModified&&(jQuery.lastModified[cacheURL]&&jqXHR.setRequestHeader("If-Modified-Since",jQuery.lastModified[cacheURL]),jQuery.etag[cacheURL]&&jqXHR.setRequestHeader("If-None-Match",jQuery.etag[cacheURL])),(s.data&&s.hasContent&&s.contentType!==!1||options.contentType)&&jqXHR.setRequestHeader("Content-Type",s.contentType),jqXHR.setRequestHeader("Accept",s.dataTypes[0]&&s.accepts[s.dataTypes[0]]?s.accepts[s.dataTypes[0]]+("*"!==s.dataTypes[0]?", "+allTypes+"; q=0.01":""):s.accepts["*"]);for(i in s.headers)jqXHR.setRequestHeader(i,s.headers[i]);if(s.beforeSend&&(s.beforeSend.call(callbackContext,jqXHR,s)===!1||2===state))return jqXHR.abort();strAbort="abort";for(i in{success:1,error:1,complete:1})jqXHR[i](s[i]);if(transport=inspectPrefiltersOrTransports(transports,s,options,jqXHR)){if(jqXHR.readyState=1,fireGlobals&&globalEventContext.trigger("ajaxSend",[jqXHR,s]),2===state)return jqXHR;s.async&&s.timeout>0&&(timeoutTimer=window.setTimeout(function(){jqXHR.abort("timeout")},s.timeout));try{state=1,transport.send(requestHeaders,done)}catch(e){if(!(2>state))throw e;done(-1,e)}}else done(-1,"No Transport");return jqXHR},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json")},getScript:function(url,callback){return jQuery.get(url,void 0,callback,"script")}}),jQuery.each(["get","post"],function(i,method){jQuery[method]=function(url,data,callback,type){return jQuery.isFunction(data)&&(type=type||callback,callback=data,data=void 0),jQuery.ajax(jQuery.extend({url:url,type:method,dataType:type,data:data,success:callback},jQuery.isPlainObject(url)&&url))}}),jQuery._evalUrl=function(url){return jQuery.ajax({url:url,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},jQuery.fn.extend({wrapAll:function(html){var wrap;return jQuery.isFunction(html)?this.each(function(i){jQuery(this).wrapAll(html.call(this,i))}):(this[0]&&(wrap=jQuery(html,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&wrap.insertBefore(this[0]),wrap.map(function(){for(var elem=this;elem.firstElementChild;)elem=elem.firstElementChild;return elem}).append(this)),this)},wrapInner:function(html){return jQuery.isFunction(html)?this.each(function(i){jQuery(this).wrapInner(html.call(this,i))}):this.each(function(){var self=jQuery(this),contents=self.contents();contents.length?contents.wrapAll(html):self.append(html)})},wrap:function(html){var isFunction=jQuery.isFunction(html);return this.each(function(i){jQuery(this).wrapAll(isFunction?html.call(this,i):html)})},unwrap:function(){return this.parent().each(function(){jQuery.nodeName(this,"body")||jQuery(this).replaceWith(this.childNodes)}).end()}}),jQuery.expr.filters.hidden=function(elem){return!jQuery.expr.filters.visible(elem)},jQuery.expr.filters.visible=function(elem){return elem.offsetWidth>0||elem.offsetHeight>0||elem.getClientRects().length>0};var r20=/%20/g,rbracket=/\[\]$/,rCRLF=/\r?\n/g,rsubmitterTypes=/^(?:submit|button|image|reset|file)$/i,rsubmittable=/^(?:input|select|textarea|keygen)/i;jQuery.param=function(a,traditional){var prefix,s=[],add=function(key,value){value=jQuery.isFunction(value)?value():null==value?"":value,s[s.length]=encodeURIComponent(key)+"="+encodeURIComponent(value)};if(void 0===traditional&&(traditional=jQuery.ajaxSettings&&jQuery.ajaxSettings.traditional),jQuery.isArray(a)||a.jquery&&!jQuery.isPlainObject(a))jQuery.each(a,function(){add(this.name,this.value)});else for(prefix in a)buildParams(prefix,a[prefix],traditional,add);return s.join("&").replace(r20,"+")},jQuery.fn.extend({serialize:function(){return jQuery.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var elements=jQuery.prop(this,"elements");return elements?jQuery.makeArray(elements):this}).filter(function(){var type=this.type;return this.name&&!jQuery(this).is(":disabled")&&rsubmittable.test(this.nodeName)&&!rsubmitterTypes.test(type)&&(this.checked||!rcheckableType.test(type))}).map(function(i,elem){var val=jQuery(this).val();return null==val?null:jQuery.isArray(val)?jQuery.map(val,function(val){return{name:elem.name,value:val.replace(rCRLF,"\r\n")}}):{name:elem.name,value:val.replace(rCRLF,"\r\n")}}).get()}}),jQuery.ajaxSettings.xhr=function(){try{return new window.XMLHttpRequest}catch(e){}};var xhrSuccessStatus={0:200,1223:204},xhrSupported=jQuery.ajaxSettings.xhr();support.cors=!!xhrSupported&&"withCredentials"in xhrSupported,support.ajax=xhrSupported=!!xhrSupported,jQuery.ajaxTransport(function(options){var callback,errorCallback;return support.cors||xhrSupported&&!options.crossDomain?{send:function(headers,complete){var i,xhr=options.xhr();if(xhr.open(options.type,options.url,options.async,options.username,options.password),options.xhrFields)for(i in options.xhrFields)xhr[i]=options.xhrFields[i];options.mimeType&&xhr.overrideMimeType&&xhr.overrideMimeType(options.mimeType),options.crossDomain||headers["X-Requested-With"]||(headers["X-Requested-With"]="XMLHttpRequest");for(i in headers)xhr.setRequestHeader(i,headers[i]);callback=function(type){return function(){callback&&(callback=errorCallback=xhr.onload=xhr.onerror=xhr.onabort=xhr.onreadystatechange=null,"abort"===type?xhr.abort():"error"===type?"number"!=typeof xhr.status?complete(0,"error"):complete(xhr.status,xhr.statusText):complete(xhrSuccessStatus[xhr.status]||xhr.status,xhr.statusText,"text"!==(xhr.responseType||"text")||"string"!=typeof xhr.responseText?{binary:xhr.response}:{text:xhr.responseText},xhr.getAllResponseHeaders()))}},xhr.onload=callback(),errorCallback=xhr.onerror=callback("error"),void 0!==xhr.onabort?xhr.onabort=errorCallback:xhr.onreadystatechange=function(){4===xhr.readyState&&window.setTimeout(function(){callback&&errorCallback()})},callback=callback("abort");try{xhr.send(options.hasContent&&options.data||null)}catch(e){if(callback)throw e}},abort:function(){callback&&callback()}}:void 0}),jQuery.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(text){return jQuery.globalEval(text),text}}}),jQuery.ajaxPrefilter("script",function(s){void 0===s.cache&&(s.cache=!1),s.crossDomain&&(s.type="GET")}),jQuery.ajaxTransport("script",function(s){if(s.crossDomain){var script,callback;return{send:function(_,complete){script=jQuery("<script>").prop({charset:s.scriptCharset,src:s.url}).on("load error",callback=function(evt){script.remove(),callback=null,evt&&complete("error"===evt.type?404:200,evt.type)}),document.head.appendChild(script[0])},abort:function(){callback&&callback()}}}});var oldCallbacks=[],rjsonp=/(=)\?(?=&|$)|\?\?/;jQuery.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var callback=oldCallbacks.pop()||jQuery.expando+"_"+nonce++;return this[callback]=!0,callback}}),jQuery.ajaxPrefilter("json jsonp",function(s,originalSettings,jqXHR){var callbackName,overwritten,responseContainer,jsonProp=s.jsonp!==!1&&(rjsonp.test(s.url)?"url":"string"==typeof s.data&&0===(s.contentType||"").indexOf("application/x-www-form-urlencoded")&&rjsonp.test(s.data)&&"data");return jsonProp||"jsonp"===s.dataTypes[0]?(callbackName=s.jsonpCallback=jQuery.isFunction(s.jsonpCallback)?s.jsonpCallback():s.jsonpCallback,jsonProp?s[jsonProp]=s[jsonProp].replace(rjsonp,"$1"+callbackName):s.jsonp!==!1&&(s.url+=(rquery.test(s.url)?"&":"?")+s.jsonp+"="+callbackName),s.converters["script json"]=function(){return responseContainer||jQuery.error(callbackName+" was not called"),responseContainer[0]},s.dataTypes[0]="json",overwritten=window[callbackName],window[callbackName]=function(){responseContainer=arguments},jqXHR.always(function(){void 0===overwritten?jQuery(window).removeProp(callbackName):window[callbackName]=overwritten,s[callbackName]&&(s.jsonpCallback=originalSettings.jsonpCallback,oldCallbacks.push(callbackName)),responseContainer&&jQuery.isFunction(overwritten)&&overwritten(responseContainer[0]),responseContainer=overwritten=void 0}),"script"):void 0}),support.createHTMLDocument=function(){var body=document.implementation.createHTMLDocument("").body;return body.innerHTML="<form></form><form></form>",2===body.childNodes.length}(),jQuery.parseHTML=function(data,context,keepScripts){if(!data||"string"!=typeof data)return null;"boolean"==typeof context&&(keepScripts=context,context=!1),context=context||(support.createHTMLDocument?document.implementation.createHTMLDocument(""):document);var parsed=rsingleTag.exec(data),scripts=!keepScripts&&[];return parsed?[context.createElement(parsed[1])]:(parsed=buildFragment([data],context,scripts),scripts&&scripts.length&&jQuery(scripts).remove(),jQuery.merge([],parsed.childNodes))};var _load=jQuery.fn.load;jQuery.fn.load=function(url,params,callback){if("string"!=typeof url&&_load)return _load.apply(this,arguments);var selector,type,response,self=this,off=url.indexOf(" ");return off>-1&&(selector=jQuery.trim(url.slice(off)),url=url.slice(0,off)),jQuery.isFunction(params)?(callback=params,params=void 0):params&&"object"==typeof params&&(type="POST"),self.length>0&&jQuery.ajax({url:url,type:type||"GET",dataType:"html",data:params}).done(function(responseText){response=arguments,self.html(selector?jQuery("<div>").append(jQuery.parseHTML(responseText)).find(selector):responseText)}).always(callback&&function(jqXHR,status){self.each(function(){callback.apply(self,response||[jqXHR.responseText,status,jqXHR])})}),this},jQuery.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(i,type){jQuery.fn[type]=function(fn){return this.on(type,fn)}}),jQuery.expr.filters.animated=function(elem){return jQuery.grep(jQuery.timers,function(fn){return elem===fn.elem}).length},jQuery.offset={setOffset:function(elem,options,i){var curPosition,curLeft,curCSSTop,curTop,curOffset,curCSSLeft,calculatePosition,position=jQuery.css(elem,"position"),curElem=jQuery(elem),props={};"static"===position&&(elem.style.position="relative"),curOffset=curElem.offset(),curCSSTop=jQuery.css(elem,"top"),curCSSLeft=jQuery.css(elem,"left"),calculatePosition=("absolute"===position||"fixed"===position)&&(curCSSTop+curCSSLeft).indexOf("auto")>-1,calculatePosition?(curPosition=curElem.position(),curTop=curPosition.top,curLeft=curPosition.left):(curTop=parseFloat(curCSSTop)||0,curLeft=parseFloat(curCSSLeft)||0),jQuery.isFunction(options)&&(options=options.call(elem,i,jQuery.extend({},curOffset))),null!=options.top&&(props.top=options.top-curOffset.top+curTop),null!=options.left&&(props.left=options.left-curOffset.left+curLeft),"using"in options?options.using.call(elem,props):curElem.css(props)}},jQuery.fn.extend({offset:function(options){if(arguments.length)return void 0===options?this:this.each(function(i){jQuery.offset.setOffset(this,options,i)});var docElem,win,elem=this[0],box={top:0,left:0},doc=elem&&elem.ownerDocument;if(doc)return docElem=doc.documentElement,jQuery.contains(docElem,elem)?(box=elem.getBoundingClientRect(),win=getWindow(doc),{top:box.top+win.pageYOffset-docElem.clientTop,left:box.left+win.pageXOffset-docElem.clientLeft}):box},position:function(){if(this[0]){var offsetParent,offset,elem=this[0],parentOffset={top:0,left:0};return"fixed"===jQuery.css(elem,"position")?offset=elem.getBoundingClientRect():(offsetParent=this.offsetParent(),offset=this.offset(),jQuery.nodeName(offsetParent[0],"html")||(parentOffset=offsetParent.offset()),parentOffset.top+=jQuery.css(offsetParent[0],"borderTopWidth",!0)-offsetParent.scrollTop(),parentOffset.left+=jQuery.css(offsetParent[0],"borderLeftWidth",!0)-offsetParent.scrollLeft()),{top:offset.top-parentOffset.top-jQuery.css(elem,"marginTop",!0),left:offset.left-parentOffset.left-jQuery.css(elem,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var offsetParent=this.offsetParent;offsetParent&&"static"===jQuery.css(offsetParent,"position");)offsetParent=offsetParent.offsetParent;return offsetParent||documentElement})}}),jQuery.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(method,prop){var top="pageYOffset"===prop;jQuery.fn[method]=function(val){return access(this,function(elem,method,val){var win=getWindow(elem);return void 0===val?win?win[prop]:elem[method]:void(win?win.scrollTo(top?win.pageXOffset:val,top?val:win.pageYOffset):elem[method]=val)},method,val,arguments.length)}}),jQuery.each(["top","left"],function(i,prop){jQuery.cssHooks[prop]=addGetHookIf(support.pixelPosition,function(elem,computed){return computed?(computed=curCSS(elem,prop),rnumnonpx.test(computed)?jQuery(elem).position()[prop]+"px":computed):void 0})}),jQuery.each({Height:"height",Width:"width"},function(name,type){jQuery.each({padding:"inner"+name,content:type,"":"outer"+name},function(defaultExtra,funcName){jQuery.fn[funcName]=function(margin,value){var chainable=arguments.length&&(defaultExtra||"boolean"!=typeof margin),extra=defaultExtra||(margin===!0||value===!0?"margin":"border");return access(this,function(elem,type,value){var doc;return jQuery.isWindow(elem)?elem.document.documentElement["client"+name]:9===elem.nodeType?(doc=elem.documentElement,Math.max(elem.body["scroll"+name],doc["scroll"+name],elem.body["offset"+name],doc["offset"+name],doc["client"+name])):void 0===value?jQuery.css(elem,type,extra):jQuery.style(elem,type,value,extra)},type,chainable?margin:void 0,chainable,null)}})}),jQuery.fn.extend({bind:function(types,data,fn){return this.on(types,null,data,fn)},unbind:function(types,fn){return this.off(types,null,fn)},delegate:function(selector,types,data,fn){return this.on(types,selector,data,fn)},undelegate:function(selector,types,fn){return 1===arguments.length?this.off(selector,"**"):this.off(types,selector||"**",fn)},size:function(){return this.length}}),jQuery.fn.andSelf=jQuery.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return jQuery});var _jQuery=window.jQuery,_$=window.$;return jQuery.noConflict=function(deep){return window.$===jQuery&&(window.$=_$),deep&&window.jQuery===jQuery&&(window.jQuery=_jQuery),jQuery},noGlobal||(window.jQuery=window.$=jQuery),jQuery})},{}],52:[function(require,module,exports){(function(global){(function(){function arrayConcat(array,other){return arrayPush(copyArray(array),values)}function arrayPush(array,values){for(var index=-1,length=values.length,offset=array.length;++index<length;)array[offset+index]=values[index];return array}function baseExtremum(array,iteratee,comparator){for(var index=-1,length=array.length;++index<length;){var value=array[index],current=iteratee(value);if(null!=current&&(computed===undefined?current===current:comparator(current,computed)))var computed=current,result=value}return result}function baseFind(collection,predicate,eachFunc,retKey){var result;return eachFunc(collection,function(value,key,collection){return predicate(value,key,collection)?(result=retKey?key:value,!1):void 0}),result}function baseReduce(collection,iteratee,accumulator,initAccum,eachFunc){return eachFunc(collection,function(value,index,collection){accumulator=initAccum?(initAccum=!1,value):iteratee(accumulator,value,index,collection)}),accumulator}function baseTimes(n,iteratee){for(var index=-1,result=Array(n);++index<n;)result[index]=iteratee(index);return result}function baseValues(object,props){return baseMap(props,function(key){return object[key]})}function checkGlobal(value){return value&&value.Object===Object?value:null}function compareAscending(value,other){if(value!==other){var valIsNull=null===value,valIsUndef=value===undefined,valIsReflexive=value===value,othIsNull=null===other,othIsUndef=other===undefined,othIsReflexive=other===other;if(value>other&&!othIsNull||!valIsReflexive||valIsNull&&!othIsUndef&&othIsReflexive||valIsUndef&&othIsReflexive)return 1;if(other>value&&!valIsNull||!othIsReflexive||othIsNull&&!valIsUndef&&valIsReflexive||othIsUndef&&valIsReflexive)return-1}return 0}function escapeHtmlChar(chr){return htmlEscapes[chr]}function isHostObject(value){var result=!1;if(null!=value&&"function"!=typeof value.toString)try{result=!!(value+"")}catch(e){}return result}function isIndex(value,length){return value="number"==typeof value||reIsUint.test(value)?+value:-1,length=null==length?MAX_SAFE_INTEGER:length,value>-1&&value%1==0&&length>value}function iteratorToArray(iterator){for(var data,result=[];!(data=iterator.next()).done;)result.push(data.value);return result}function lodash(value){if(isObjectLike(value)&&!isArray(value)){if(value instanceof LodashWrapper)return value;if(hasOwnProperty.call(value,"__wrapped__"))return wrapperClone(value)}return new LodashWrapper(value)}function LodashWrapper(value,chainAll){this.__wrapped__=value,this.__actions__=[],this.__chain__=!!chainAll}function assignInDefaults(objValue,srcValue,key,object){return objValue===undefined||eq(objValue,objectProto[key])&&!hasOwnProperty.call(object,key)?srcValue:objValue}function assignValue(object,key,value){var objValue=object[key];eq(objValue,value)&&(!eq(objValue,objectProto[key])||hasOwnProperty.call(object,key))&&(value!==undefined||key in object)||(object[key]=value)}function baseDelay(func,wait,args){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return setTimeout(function(){func.apply(undefined,args)},wait)}function baseEvery(collection,predicate){var result=!0;return baseEach(collection,function(value,index,collection){return result=!!predicate(value,index,collection)}),result}function baseFilter(collection,predicate){var result=[];return baseEach(collection,function(value,index,collection){predicate(value,index,collection)&&result.push(value)}),result}function baseFlatten(array,isDeep,isStrict,result){result||(result=[]);for(var index=-1,length=array.length;++index<length;){var value=array[index];isArrayLikeObject(value)&&(isStrict||isArray(value)||isArguments(value))?isDeep?baseFlatten(value,isDeep,isStrict,result):arrayPush(result,value):isStrict||(result[result.length]=value)}return result}function baseForOwn(object,iteratee){return object&&baseFor(object,iteratee,keys)}function baseFunctions(object,props){return baseFilter(props,function(key){return isFunction(object[key])})}function baseIsEqual(value,other,customizer,bitmask,stack){return value===other?!0:null==value||null==other||!isObject(value)&&!isObjectLike(other)?value!==value&&other!==other:baseIsEqualDeep(value,other,baseIsEqual,customizer,bitmask,stack)}function baseIsEqualDeep(object,other,equalFunc,customizer,bitmask,stack){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=arrayTag,othTag=arrayTag;objIsArr||(objTag=objectToString.call(object),objTag==argsTag&&(objTag=objectTag)),othIsArr||(othTag=objectToString.call(other),othTag==argsTag&&(othTag=objectTag));var objIsObj=objTag==objectTag&&!isHostObject(object),othIsObj=othTag==objectTag&&!isHostObject(other),isSameTag=objTag==othTag;if(isSameTag&&!objIsArr&&!objIsObj)return equalByTag(object,other,objTag,equalFunc,customizer,bitmask);var isPartial=bitmask&PARTIAL_COMPARE_FLAG;if(!isPartial){var objIsWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(objIsWrapped||othIsWrapped)return equalFunc(objIsWrapped?object.value():object,othIsWrapped?other.value():other,customizer,bitmask,stack)}if(!isSameTag)return!1;stack||(stack=[]);var stacked=find(stack,function(entry){return entry[0]===object});if(stacked&&stacked[1])return stacked[1]==other;stack.push([object,other]);var result=(objIsArr?equalArrays:equalObjects)(object,other,equalFunc,customizer,bitmask,stack);return stack.pop(),result}function baseIteratee(func){var type=typeof func;return"function"==type?func:null==func?identity:("object"==type?baseMatches:baseProperty)(func)}function baseKeys(object){return nativeKeys(Object(object))}function baseKeysIn(object){object=null==object?object:Object(object);var result=[];for(var key in object)result.push(key);return result}function baseMap(collection,iteratee){var index=-1,result=isArrayLike(collection)?Array(collection.length):[];return baseEach(collection,function(value,key,collection){result[++index]=iteratee(value,key,collection)}),result}function baseMatches(source){var props=keys(source);return function(object){var length=props.length;if(null==object)return!length;for(object=Object(object);length--;){var key=props[length];if(!(key in object&&baseIsEqual(source[key],object[key],undefined,UNORDERED_COMPARE_FLAG|PARTIAL_COMPARE_FLAG)))return!1}return!0}}function basePick(object,props){return object=Object(object),reduce(props,function(result,key){return key in object&&(result[key]=object[key]),result},{})}function baseProperty(key){return function(object){return null==object?undefined:object[key]}}function baseSlice(array,start,end){var index=-1,length=array.length;0>start&&(start=-start>length?0:length+start),end=end>length?length:end,0>end&&(end+=length),length=start>end?0:end-start>>>0,start>>>=0;for(var result=Array(length);++index<length;)result[index]=array[index+start];return result}function copyArray(source){return baseSlice(source,0,source.length)}function baseSome(collection,predicate){var result;return baseEach(collection,function(value,index,collection){return result=predicate(value,index,collection),!result}),!!result}function baseWrapperValue(value,actions){var result=value;return reduce(actions,function(result,action){return action.func.apply(action.thisArg,arrayPush([result],action.args))},result)}function copyObjectWith(source,props,object,customizer){object||(object={});for(var index=-1,length=props.length;++index<length;){var key=props[index],newValue=customizer?customizer(object[key],source[key],key,object,source):source[key];assignValue(object,key,newValue)}return object}function createAssigner(assigner){return rest(function(object,sources){var index=-1,length=sources.length,customizer=length>1?sources[length-1]:undefined;for(customizer="function"==typeof customizer?(length--,customizer):undefined,object=Object(object);++index<length;){var source=sources[index];source&&assigner(object,source,index,customizer)}return object})}function createBaseEach(eachFunc,fromRight){return function(collection,iteratee){if(null==collection)return collection;if(!isArrayLike(collection))return eachFunc(collection,iteratee);for(var length=collection.length,index=fromRight?length:-1,iterable=Object(collection);(fromRight?index--:++index<length)&&iteratee(iterable[index],index,iterable)!==!1;);return collection}}function createBaseFor(fromRight){return function(object,iteratee,keysFunc){for(var index=-1,iterable=Object(object),props=keysFunc(object),length=props.length;length--;){var key=props[fromRight?length:++index];if(iteratee(iterable[key],key,iterable)===!1)break}return object}}function createCtorWrapper(Ctor){return function(){var args=arguments,thisBinding=baseCreate(Ctor.prototype),result=Ctor.apply(thisBinding,args);return isObject(result)?result:thisBinding}}function createPartialWrapper(func,bitmask,thisArg,partials){function wrapper(){for(var argsIndex=-1,argsLength=arguments.length,leftIndex=-1,leftLength=partials.length,args=Array(leftLength+argsLength),fn=this&&this!==root&&this instanceof wrapper?Ctor:func;++leftIndex<leftLength;)args[leftIndex]=partials[leftIndex];for(;argsLength--;)args[leftIndex++]=arguments[++argsIndex];return fn.apply(isBind?thisArg:this,args)}if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);var isBind=bitmask&BIND_FLAG,Ctor=createCtorWrapper(func);return wrapper}function equalArrays(array,other,equalFunc,customizer,bitmask,stack){var index=-1,isPartial=bitmask&PARTIAL_COMPARE_FLAG,isUnordered=bitmask&UNORDERED_COMPARE_FLAG,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return!1;for(var result=!0;++index<arrLength;){var compared,arrValue=array[index],othValue=other[index];if(compared!==undefined){if(compared)continue;result=!1;break}if(isUnordered){if(!baseSome(other,function(othValue){return arrValue===othValue||equalFunc(arrValue,othValue,customizer,bitmask,stack)})){result=!1;break}}else if(arrValue!==othValue&&!equalFunc(arrValue,othValue,customizer,bitmask,stack)){result=!1;break}}return result}function equalByTag(object,other,tag,equalFunc,customizer,bitmask){switch(tag){case boolTag:case dateTag:return+object==+other;case errorTag:return object.name==other.name&&object.message==other.message;case numberTag:return object!=+object?other!=+other:object==+other;case regexpTag:case stringTag:return object==other+""}return!1}function equalObjects(object,other,equalFunc,customizer,bitmask,stack){var isPartial=bitmask&PARTIAL_COMPARE_FLAG,objProps=keys(object),objLength=objProps.length,othProps=keys(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return!1}for(var result=!0,skipCtor=isPartial;++index<objLength;){key=objProps[index];var compared,objValue=object[key],othValue=other[key];if(!(compared===undefined?objValue===othValue||equalFunc(objValue,othValue,customizer,bitmask,stack):compared)){result=!1;break}skipCtor||(skipCtor="constructor"==key)}if(result&&!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!("function"==typeof objCtor&&objCtor instanceof objCtor&&"function"==typeof othCtor&&othCtor instanceof othCtor)&&(result=!1)}return result}function indexKeys(object){var length=object?object.length:undefined;return isLength(length)&&(isArray(object)||isString(object)||isArguments(object))?baseTimes(length,String):null}function isPrototype(value){var Ctor=value&&value.constructor,proto="function"==typeof Ctor&&Ctor.prototype||objectProto;return value===proto}function toFunction(value){return"function"==typeof value?value:identity}function wrapperClone(wrapper){var result=new LodashWrapper(wrapper.__wrapped__,wrapper.__chain__);return result.__actions__=copyArray(wrapper.__actions__),result}function compact(array){return baseFilter(array,Boolean)}function flatten(array){var length=array?array.length:0;return length?baseFlatten(array):[]}function flattenDeep(array){var length=array?array.length:0;return length?baseFlatten(array,!0):[]}function head(array){return array?array[0]:undefined}function indexOf(array,value,fromIndex){var length=array?array.length:0;fromIndex="number"==typeof fromIndex?0>fromIndex?nativeMax(length+fromIndex,0):fromIndex:0;for(var index=(fromIndex||0)-1,isReflexive=value===value;++index<length;){var other=array[index];if(isReflexive?other===value:other!==other)return index}return-1}function last(array){var length=array?array.length:0;return length?array[length-1]:undefined}function slice(array,start,end){var length=array?array.length:0;return start=null==start?0:+start,end=end===undefined?length:+end,length?baseSlice(array,start,end):[]}function chain(value){var result=lodash(value);return result.__chain__=!0,result}function tap(value,interceptor){return interceptor(value),value}function thru(value,interceptor){return interceptor(value)}function wrapperValue(){return baseWrapperValue(this.__wrapped__,this.__actions__)}function every(collection,predicate,guard){return predicate=guard?undefined:predicate,baseEvery(collection,baseIteratee(predicate))}function filter(collection,predicate){return baseFilter(collection,baseIteratee(predicate))}function find(collection,predicate){return baseFind(collection,baseIteratee(predicate),baseEach)}function forEach(collection,iteratee){return baseEach(collection,toFunction(iteratee))}function map(collection,iteratee){return baseMap(collection,baseIteratee(iteratee))}function reduce(collection,iteratee,accumulator){return baseReduce(collection,baseIteratee(iteratee),accumulator,arguments.length<3,baseEach)}function size(collection){return null==collection?0:(collection=isArrayLike(collection)?collection:keys(collection),collection.length)}function some(collection,predicate,guard){return predicate=guard?undefined:predicate,baseSome(collection,baseIteratee(predicate))}function sortBy(collection,iteratee){var index=0;return iteratee=baseIteratee(iteratee),baseMap(baseMap(collection,function(value,key,collection){return{value:value,index:index++,criteria:iteratee(value,key,collection)}}).sort(function(object,other){return compareAscending(object.criteria,other.criteria)||object.index-other.index}),baseProperty("value"))}function before(n,func){var result;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return n=toInteger(n),function(){return--n>0&&(result=func.apply(this,arguments)),1>=n&&(func=undefined),result}}function negate(predicate){if("function"!=typeof predicate)throw new TypeError(FUNC_ERROR_TEXT);return function(){return!predicate.apply(this,arguments)}}function once(func){return before(2,func)}function rest(func,start){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return start=nativeMax(start===undefined?func.length-1:toInteger(start),0),function(){for(var args=arguments,index=-1,length=nativeMax(args.length-start,0),array=Array(length);++index<length;)array[index]=args[start+index];var otherArgs=Array(start+1);for(index=-1;++index<start;)otherArgs[index]=args[index];return otherArgs[start]=array,func.apply(this,otherArgs)}}function clone(value){return isObject(value)?isArray(value)?copyArray(value):copyObject(value,keys(value)):value}function eq(value,other){return value===other||value!==value&&other!==other}function gt(value,other){return value>other}function isArguments(value){return isArrayLikeObject(value)&&hasOwnProperty.call(value,"callee")&&(!propertyIsEnumerable.call(value,"callee")||objectToString.call(value)==argsTag)}function isArrayLike(value){return null!=value&&!("function"==typeof value&&isFunction(value))&&isLength(getLength(value))}function isArrayLikeObject(value){return isObjectLike(value)&&isArrayLike(value)}function isBoolean(value){return value===!0||value===!1||isObjectLike(value)&&objectToString.call(value)==boolTag}function isDate(value){return isObjectLike(value)&&objectToString.call(value)==dateTag}function isEmpty(value){if(isArrayLike(value)&&(isArray(value)||isString(value)||isFunction(value.splice)||isArguments(value)))return!value.length;for(var key in value)if(hasOwnProperty.call(value,key))return!1;return!0}function isEqual(value,other){return baseIsEqual(value,other)}function isFinite(value){return"number"==typeof value&&nativeIsFinite(value)}function isFunction(value){var tag=isObject(value)?objectToString.call(value):"";return tag==funcTag||tag==genTag}function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&MAX_SAFE_INTEGER>=value}function isObject(value){var type=typeof value;return!!value&&("object"==type||"function"==type)}function isObjectLike(value){return!!value&&"object"==typeof value}function isNaN(value){return isNumber(value)&&value!=+value}function isNull(value){return null===value}function isNumber(value){return"number"==typeof value||isObjectLike(value)&&objectToString.call(value)==numberTag}function isRegExp(value){return isObject(value)&&objectToString.call(value)==regexpTag}function isString(value){return"string"==typeof value||!isArray(value)&&isObjectLike(value)&&objectToString.call(value)==stringTag}function isUndefined(value){return value===undefined}function lt(value,other){return other>value}function toArray(value){
  return isArrayLike(value)?value.length?copyArray(value):[]:values(value)}function toString(value){return"string"==typeof value?value:null==value?"":value+""}function create(prototype,properties){var result=baseCreate(prototype);return properties?assign(result,properties):result}function has(object,path){return null!=object&&hasOwnProperty.call(object,path)}function keys(object){var isProto=isPrototype(object);if(!isProto&&!isArrayLike(object))return baseKeys(object);var indexes=indexKeys(object),skipIndexes=!!indexes,result=indexes||[],length=result.length;for(var key in object)!hasOwnProperty.call(object,key)||skipIndexes&&("length"==key||isIndex(key,length))||isProto&&"constructor"==key||result.push(key);return result}function keysIn(object){for(var index=-1,isProto=isPrototype(object),props=baseKeysIn(object),propsLength=props.length,indexes=indexKeys(object),skipIndexes=!!indexes,result=indexes||[],length=result.length;++index<propsLength;){var key=props[index];skipIndexes&&("length"==key||isIndex(key,length))||"constructor"==key&&(isProto||!hasOwnProperty.call(object,key))||result.push(key)}return result}function result(object,path,defaultValue){var value=null==object?undefined:object[path];return value===undefined&&(value=defaultValue),isFunction(value)?value.call(object):value}function values(object){return object?baseValues(object,keys(object)):[]}function escape(string){return string=toString(string),string&&reHasUnescapedHtml.test(string)?string.replace(reUnescapedHtml,escapeHtmlChar):string}function identity(value){return value}function matches(source){return baseMatches(assign({},source))}function mixin(object,source,options){var props=keys(source),methodNames=baseFunctions(source,props);null!=options||isObject(source)&&(methodNames.length||!props.length)||(options=source,source=object,object=this,methodNames=baseFunctions(source,keys(source)));var chain=isObject(options)&&"chain"in options?options.chain:!0,isFunc=isFunction(object);return baseEach(methodNames,function(methodName){var func=source[methodName];object[methodName]=func,isFunc&&(object.prototype[methodName]=function(){var chainAll=this.__chain__;if(chain||chainAll){var result=object(this.__wrapped__),actions=result.__actions__=copyArray(this.__actions__);return actions.push({func:func,args:arguments,thisArg:object}),result.__chain__=chainAll,result}return func.apply(object,arrayPush([this.value()],arguments))})}),object}function noConflict(){return root._===this&&(root._=oldDash),this}function noop(){}function uniqueId(prefix){var id=++idCounter;return toString(prefix)+id}function max(array){return array&&array.length?baseExtremum(array,identity,gt):undefined}function min(array){return array&&array.length?baseExtremum(array,identity,lt):undefined}var undefined,VERSION="4.3.0",BIND_FLAG=1,PARTIAL_FLAG=32,UNORDERED_COMPARE_FLAG=1,PARTIAL_COMPARE_FLAG=2,FUNC_ERROR_TEXT="Expected a function",MAX_SAFE_INTEGER=9007199254740991,argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",stringTag="[object String]",reUnescapedHtml=/[&<>"'`]/g,reHasUnescapedHtml=RegExp(reUnescapedHtml.source),reIsUint=/^(?:0|[1-9]\d*)$/,htmlEscapes={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},objectTypes={"function":!0,object:!0},freeExports=objectTypes[typeof exports]&&exports&&!exports.nodeType?exports:null,freeModule=objectTypes[typeof module]&&module&&!module.nodeType?module:null,freeGlobal=checkGlobal(freeExports&&freeModule&&"object"==typeof global&&global),freeSelf=checkGlobal(objectTypes[typeof self]&&self),freeWindow=checkGlobal(objectTypes[typeof window]&&window),moduleExports=freeModule&&freeModule.exports===freeExports?freeExports:null,thisGlobal=checkGlobal(objectTypes[typeof this]&&this),root=freeGlobal||freeWindow!==(thisGlobal&&thisGlobal.window)&&freeWindow||freeSelf||thisGlobal||Function("return this")(),arrayProto=Array.prototype,objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,idCounter=0,objectToString=objectProto.toString,oldDash=root._,Reflect=root.Reflect,enumerate=(root.Symbol,root.Uint8Array,Reflect?Reflect.enumerate:undefined),propertyIsEnumerable=objectProto.propertyIsEnumerable,nativeIsFinite=root.isFinite,nativeKeys=Object.keys,nativeMax=Math.max,baseCreate=function(){function object(){}return function(prototype){if(isObject(prototype)){object.prototype=prototype;var result=new object;object.prototype=undefined}return result||{}}}(),baseEach=createBaseEach(baseForOwn),baseFor=createBaseFor();enumerate&&!propertyIsEnumerable.call({valueOf:1},"valueOf")&&(baseKeysIn=function(object){return iteratorToArray(enumerate(object))});var copyObject=copyObjectWith,getLength=baseProperty("length"),concat=rest(function(array,values){return isArray(array)||(array=null==array?[]:[Object(array)]),values=baseFlatten(values),arrayConcat(array,values)}),bind=rest(function(func,thisArg,partials){return createPartialWrapper(func,BIND_FLAG|PARTIAL_FLAG,thisArg,partials)}),defer=rest(function(func,args){return baseDelay(func,1,args)}),delay=rest(function(func,wait,args){return baseDelay(func,toNumber(wait)||0,args)}),isArray=Array.isArray,toInteger=Number,toNumber=Number,assign=createAssigner(function(object,source){copyObject(source,keys(source),object)}),assignIn=createAssigner(function(object,source){copyObject(source,keysIn(source),object)}),assignInWith=createAssigner(function(object,source,srcIndex,customizer){copyObjectWith(source,keysIn(source),object,customizer)}),defaults=rest(function(args){return args.push(undefined,assignInDefaults),assignInWith.apply(undefined,args)}),pick=rest(function(object,props){return null==object?{}:basePick(object,baseFlatten(props))}),iteratee=baseIteratee;LodashWrapper.prototype=baseCreate(lodash.prototype),LodashWrapper.prototype.constructor=LodashWrapper,lodash.assignIn=assignIn,lodash.before=before,lodash.bind=bind,lodash.chain=chain,lodash.compact=compact,lodash.concat=concat,lodash.create=create,lodash.defaults=defaults,lodash.defer=defer,lodash.delay=delay,lodash.filter=filter,lodash.flatten=flatten,lodash.flattenDeep=flattenDeep,lodash.iteratee=iteratee,lodash.keys=keys,lodash.map=map,lodash.matches=matches,lodash.mixin=mixin,lodash.negate=negate,lodash.once=once,lodash.pick=pick,lodash.slice=slice,lodash.sortBy=sortBy,lodash.tap=tap,lodash.thru=thru,lodash.toArray=toArray,lodash.values=values,lodash.extend=assignIn,mixin(lodash,lodash),lodash.clone=clone,lodash.escape=escape,lodash.every=every,lodash.find=find,lodash.forEach=forEach,lodash.has=has,lodash.head=head,lodash.identity=identity,lodash.indexOf=indexOf,lodash.isArguments=isArguments,lodash.isArray=isArray,lodash.isBoolean=isBoolean,lodash.isDate=isDate,lodash.isEmpty=isEmpty,lodash.isEqual=isEqual,lodash.isFinite=isFinite,lodash.isFunction=isFunction,lodash.isNaN=isNaN,lodash.isNull=isNull,lodash.isNumber=isNumber,lodash.isObject=isObject,lodash.isRegExp=isRegExp,lodash.isString=isString,lodash.isUndefined=isUndefined,lodash.last=last,lodash.max=max,lodash.min=min,lodash.noConflict=noConflict,lodash.noop=noop,lodash.reduce=reduce,lodash.result=result,lodash.size=size,lodash.some=some,lodash.uniqueId=uniqueId,lodash.each=forEach,lodash.first=head,mixin(lodash,function(){var source={};return baseForOwn(lodash,function(func,methodName){hasOwnProperty.call(lodash.prototype,methodName)||(source[methodName]=func)}),source}(),{chain:!1}),lodash.VERSION=VERSION,baseEach(["pop","join","replace","reverse","split","push","shift","sort","splice","unshift"],function(methodName){var func=(/^(?:replace|split)$/.test(methodName)?String.prototype:arrayProto)[methodName],chainName=/^(?:push|sort|unshift)$/.test(methodName)?"tap":"thru",retUnwrapped=/^(?:pop|join|replace|shift)$/.test(methodName);lodash.prototype[methodName]=function(){var args=arguments;return retUnwrapped&&!this.__chain__?func.apply(this.value(),args):this[chainName](function(value){return func.apply(value,args)})}}),lodash.prototype.toJSON=lodash.prototype.valueOf=lodash.prototype.value=wrapperValue,(freeWindow||freeSelf||{})._=lodash,"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return lodash}):freeExports&&freeModule?(moduleExports&&((freeModule.exports=lodash)._=lodash),freeExports._=lodash):root._=lodash}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)});
  