govuk_publishing_components 18.1.1 → 18.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +11 -5
  3. data/app/views/govuk_publishing_components/components/docs/share_links.yml +10 -7
  4. data/lib/govuk_publishing_components/version.rb +1 -1
  5. data/node_modules/jquery/AUTHORS.txt +266 -0
  6. data/node_modules/jquery/LICENSE.txt +36 -0
  7. data/node_modules/jquery/README.md +65 -0
  8. data/node_modules/jquery/bower.json +14 -0
  9. data/node_modules/jquery/dist/jquery.js +11008 -0
  10. data/node_modules/jquery/dist/jquery.min.js +5 -0
  11. data/node_modules/jquery/dist/jquery.min.map +1 -0
  12. data/node_modules/jquery/external/sizzle/LICENSE.txt +36 -0
  13. data/node_modules/jquery/external/sizzle/dist/sizzle.js +2143 -0
  14. data/node_modules/jquery/external/sizzle/dist/sizzle.min.js +3 -0
  15. data/node_modules/jquery/external/sizzle/dist/sizzle.min.map +1 -0
  16. data/node_modules/jquery/package.json +157 -0
  17. data/node_modules/jquery/src/ajax.js +842 -0
  18. data/node_modules/jquery/src/ajax/jsonp.js +100 -0
  19. data/node_modules/jquery/src/ajax/load.js +83 -0
  20. data/node_modules/jquery/src/ajax/parseJSON.js +53 -0
  21. data/node_modules/jquery/src/ajax/parseXML.js +31 -0
  22. data/node_modules/jquery/src/ajax/script.js +95 -0
  23. data/node_modules/jquery/src/ajax/var/location.js +3 -0
  24. data/node_modules/jquery/src/ajax/var/nonce.js +5 -0
  25. data/node_modules/jquery/src/ajax/var/rquery.js +3 -0
  26. data/node_modules/jquery/src/ajax/xhr.js +229 -0
  27. data/node_modules/jquery/src/attributes.js +11 -0
  28. data/node_modules/jquery/src/attributes/attr.js +281 -0
  29. data/node_modules/jquery/src/attributes/classes.js +174 -0
  30. data/node_modules/jquery/src/attributes/prop.js +156 -0
  31. data/node_modules/jquery/src/attributes/support.js +70 -0
  32. data/node_modules/jquery/src/attributes/val.js +191 -0
  33. data/node_modules/jquery/src/callbacks.js +232 -0
  34. data/node_modules/jquery/src/core.js +529 -0
  35. data/node_modules/jquery/src/core/access.js +65 -0
  36. data/node_modules/jquery/src/core/init.js +140 -0
  37. data/node_modules/jquery/src/core/parseHTML.js +41 -0
  38. data/node_modules/jquery/src/core/ready.js +163 -0
  39. data/node_modules/jquery/src/core/var/rsingleTag.js +5 -0
  40. data/node_modules/jquery/src/css.js +563 -0
  41. data/node_modules/jquery/src/css/addGetHookIf.js +24 -0
  42. data/node_modules/jquery/src/css/adjustCSS.js +65 -0
  43. data/node_modules/jquery/src/css/curCSS.js +137 -0
  44. data/node_modules/jquery/src/css/defaultDisplay.js +72 -0
  45. data/node_modules/jquery/src/css/hiddenVisibleSelectors.js +42 -0
  46. data/node_modules/jquery/src/css/showHide.js +45 -0
  47. data/node_modules/jquery/src/css/support.js +184 -0
  48. data/node_modules/jquery/src/css/var/cssExpand.js +3 -0
  49. data/node_modules/jquery/src/css/var/isHidden.js +16 -0
  50. data/node_modules/jquery/src/css/var/rmargin.js +3 -0
  51. data/node_modules/jquery/src/css/var/rnumnonpx.js +5 -0
  52. data/node_modules/jquery/src/css/var/swap.js +24 -0
  53. data/node_modules/jquery/src/data.js +342 -0
  54. data/node_modules/jquery/src/data/support.js +23 -0
  55. data/node_modules/jquery/src/data/var/acceptData.js +20 -0
  56. data/node_modules/jquery/src/deferred.js +159 -0
  57. data/node_modules/jquery/src/deprecated.js +34 -0
  58. data/node_modules/jquery/src/dimensions.js +56 -0
  59. data/node_modules/jquery/src/effects.js +640 -0
  60. data/node_modules/jquery/src/effects/Tween.js +121 -0
  61. data/node_modules/jquery/src/effects/animatedSelector.js +13 -0
  62. data/node_modules/jquery/src/effects/support.js +58 -0
  63. data/node_modules/jquery/src/event.js +1134 -0
  64. data/node_modules/jquery/src/event/ajax.js +20 -0
  65. data/node_modules/jquery/src/event/alias.js +25 -0
  66. data/node_modules/jquery/src/event/support.js +28 -0
  67. data/node_modules/jquery/src/exports/amd.js +24 -0
  68. data/node_modules/jquery/src/exports/global.js +26 -0
  69. data/node_modules/jquery/src/intro.js +44 -0
  70. data/node_modules/jquery/src/jquery.js +37 -0
  71. data/node_modules/jquery/src/manipulation.js +585 -0
  72. data/node_modules/jquery/src/manipulation/_evalUrl.js +21 -0
  73. data/node_modules/jquery/src/manipulation/buildFragment.js +157 -0
  74. data/node_modules/jquery/src/manipulation/createSafeFragment.js +20 -0
  75. data/node_modules/jquery/src/manipulation/getAll.js +33 -0
  76. data/node_modules/jquery/src/manipulation/setGlobalEval.js +19 -0
  77. data/node_modules/jquery/src/manipulation/support.js +72 -0
  78. data/node_modules/jquery/src/manipulation/var/nodeNames.js +5 -0
  79. data/node_modules/jquery/src/manipulation/var/rcheckableType.js +3 -0
  80. data/node_modules/jquery/src/manipulation/var/rleadingWhitespace.js +3 -0
  81. data/node_modules/jquery/src/manipulation/var/rscriptType.js +3 -0
  82. data/node_modules/jquery/src/manipulation/var/rtagName.js +3 -0
  83. data/node_modules/jquery/src/manipulation/wrapMap.js +30 -0
  84. data/node_modules/jquery/src/offset.js +219 -0
  85. data/node_modules/jquery/src/outro.js +2 -0
  86. data/node_modules/jquery/src/queue.js +144 -0
  87. data/node_modules/jquery/src/queue/delay.js +22 -0
  88. data/node_modules/jquery/src/selector-sizzle.js +14 -0
  89. data/node_modules/jquery/src/selector.js +1 -0
  90. data/node_modules/jquery/src/serialize.js +125 -0
  91. data/node_modules/jquery/src/support.js +63 -0
  92. data/node_modules/jquery/src/traversing.js +179 -0
  93. data/node_modules/jquery/src/traversing/findFilter.js +100 -0
  94. data/node_modules/jquery/src/traversing/var/dir.js +20 -0
  95. data/node_modules/jquery/src/traversing/var/rneedsContext.js +6 -0
  96. data/node_modules/jquery/src/traversing/var/siblings.js +15 -0
  97. data/node_modules/jquery/src/var/class2type.js +5 -0
  98. data/node_modules/jquery/src/var/concat.js +5 -0
  99. data/node_modules/jquery/src/var/deletedIds.js +3 -0
  100. data/node_modules/jquery/src/var/document.js +3 -0
  101. data/node_modules/jquery/src/var/documentElement.js +5 -0
  102. data/node_modules/jquery/src/var/hasOwn.js +5 -0
  103. data/node_modules/jquery/src/var/indexOf.js +5 -0
  104. data/node_modules/jquery/src/var/pnum.js +3 -0
  105. data/node_modules/jquery/src/var/push.js +5 -0
  106. data/node_modules/jquery/src/var/rcssNum.js +7 -0
  107. data/node_modules/jquery/src/var/rnotwhite.js +3 -0
  108. data/node_modules/jquery/src/var/slice.js +5 -0
  109. data/node_modules/jquery/src/var/support.js +5 -0
  110. data/node_modules/jquery/src/var/toString.js +5 -0
  111. data/node_modules/jquery/src/wrap.js +77 -0
  112. metadata +109 -2
@@ -0,0 +1,3 @@
1
+ /*! Sizzle v2.2.1 | (c) jQuery Foundation, Inc. | jquery.org/license */
2
+ !function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ga(),z=ga(),A=ga(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+L+"*\\]",O=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",P=new RegExp(L+"+","g"),Q=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),R=new RegExp("^"+L+"*,"+L+"*"),S=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),T=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),U=new RegExp(O),V=new RegExp("^"+M+"$"),W={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_=/[+~]/,aa=/'|\\/g,ba=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ca=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},da=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(ea){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fa(a,b,d,e){var f,h,j,k,l,o,r,s,w=b&&b.ownerDocument,x=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==x&&9!==x&&11!==x)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==x&&(o=$.exec(a)))if(f=o[1]){if(9===x){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(w&&(j=w.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(o[2])return H.apply(d,b.getElementsByTagName(a)),d;if((f=o[3])&&c.getElementsByClassName&&b.getElementsByClassName)return H.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==x)w=b,s=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(aa,"\\$&"):b.setAttribute("id",k=u),r=g(a),h=r.length,l=V.test(k)?"#"+k:"[id='"+k+"']";while(h--)r[h]=l+" "+qa(r[h]);s=r.join(","),w=_.test(a)&&oa(b.parentNode)||b}if(s)try{return H.apply(d,w.querySelectorAll(s)),d}catch(y){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(Q,"$1"),b,d,e)}function ga(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ha(a){return a[u]=!0,a}function ia(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ja(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function ka(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function la(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function na(a){return ha(function(b){return b=+b,ha(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function oa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=fa.support={},f=fa.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fa.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ia(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ia(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Z.test(n.getElementsByClassName),c.getById=ia(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return"undefined"!=typeof b.getElementsByClassName&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=Z.test(n.querySelectorAll))&&(ia(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\r\\' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ia(function(a){var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ia(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",O)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Z.test(o.compareDocumentPosition),t=b||Z.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return ka(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?ka(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},fa.matches=function(a,b){return fa(a,null,null,b)},fa.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(T,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fa(b,n,null,[a]).length>0},fa.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fa.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fa.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fa.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fa.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fa.selectors={cacheLength:50,createPseudo:ha,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fa.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fa.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&U.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ba,ca).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fa.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(P," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fa.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ha(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ha(function(a){var b=[],c=[],d=h(a.replace(Q,"$1"));return d[u]?ha(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ha(function(a){return function(b){return fa(a,b).length>0}}),contains:ha(function(a){return a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ha(function(a){return V.test(a||"")||fa.error("unsupported lang: "+a),a=a.replace(ba,ca).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Y.test(a.nodeName)},input:function(a){return X.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:na(function(){return[0]}),last:na(function(a,b){return[b-1]}),eq:na(function(a,b,c){return[0>c?c+b:c]}),even:na(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:na(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:na(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:na(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=la(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=ma(b);function pa(){}pa.prototype=d.filters=d.pseudos,d.setFilters=new pa,g=fa.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=R.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=S.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(Q," ")}),h=h.slice(c.length));for(g in d.filter)!(e=W[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?fa.error(a):z(a,i).slice(0)};function qa(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function ra(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(j=b[u]||(b[u]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===w&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function sa(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ta(a,b,c){for(var d=0,e=b.length;e>d;d++)fa(a,b[d],c);return c}function ua(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function va(a,b,c,d,e,f){return d&&!d[u]&&(d=va(d)),e&&!e[u]&&(e=va(e,f)),ha(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ta(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ua(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ua(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ua(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function wa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ra(function(a){return a===b},h,!0),l=ra(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[ra(sa(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return va(i>1&&sa(m),i>1&&qa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(Q,"$1"),c,e>i&&wa(a.slice(i,e)),f>e&&wa(a=a.slice(e)),f>e&&qa(a))}m.push(c)}return sa(m)}function xa(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=F.call(i));u=ua(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&fa.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ha(f):f}h=fa.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xa(e,d)),f.selector=a}return f},i=fa.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ba,ca),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ba,ca),_.test(j[0].type)&&oa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qa(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&oa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ia(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ia(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ja("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ia(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ja("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ia(function(a){return null==a.getAttribute("disabled")})||ja(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),"function"==typeof define&&define.amd?define(function(){return fa}):"undefined"!=typeof module&&module.exports?module.exports=fa:a.Sizzle=fa}(window);
3
+ //# sourceMappingURL=sizzle.min.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sizzle.min.js","sources":["sizzle.js"],"names":["window","i","support","Expr","getText","isXML","tokenize","compile","select","outermostContext","sortInput","hasDuplicate","setDocument","document","docElem","documentIsHTML","rbuggyQSA","rbuggyMatches","matches","contains","expando","Date","preferredDoc","dirruns","done","classCache","createCache","tokenCache","compilerCache","sortOrder","a","b","MAX_NEGATIVE","hasOwn","hasOwnProperty","arr","pop","push_native","push","slice","indexOf","list","elem","len","length","booleans","whitespace","identifier","attributes","pseudos","rwhitespace","RegExp","rtrim","rcomma","rcombinators","rattributeQuotes","rpseudo","ridentifier","matchExpr","ID","CLASS","TAG","ATTR","PSEUDO","CHILD","bool","needsContext","rinputs","rheader","rnative","rquickExpr","rsibling","rescape","runescape","funescape","_","escaped","escapedWhitespace","high","String","fromCharCode","unloadHandler","apply","call","childNodes","nodeType","e","target","els","j","Sizzle","selector","context","results","seed","m","nid","nidselect","match","groups","newSelector","newContext","ownerDocument","exec","getElementById","id","getElementsByTagName","getElementsByClassName","qsa","test","nodeName","toLowerCase","getAttribute","replace","setAttribute","toSelector","join","testContext","parentNode","querySelectorAll","qsaError","removeAttribute","keys","cache","key","value","cacheLength","shift","markFunction","fn","assert","div","createElement","removeChild","addHandle","attrs","handler","split","attrHandle","siblingCheck","cur","diff","sourceIndex","nextSibling","createInputPseudo","type","name","createButtonPseudo","createPositionalPseudo","argument","matchIndexes","documentElement","node","hasCompare","parent","doc","defaultView","top","addEventListener","attachEvent","className","appendChild","createComment","getById","getElementsByName","find","filter","attrId","getAttributeNode","tag","tmp","innerHTML","input","matchesSelector","webkitMatchesSelector","mozMatchesSelector","oMatchesSelector","msMatchesSelector","disconnectedMatch","compareDocumentPosition","adown","bup","compare","sortDetached","aup","ap","bp","unshift","expr","elements","ret","attr","val","undefined","specified","error","msg","Error","uniqueSort","duplicates","detectDuplicates","sortStable","sort","splice","textContent","firstChild","nodeValue","selectors","createPseudo","relative",">","dir","first"," ","+","~","preFilter","excess","unquoted","nodeNameSelector","pattern","operator","check","result","what","last","simple","forward","ofType","xml","uniqueCache","outerCache","nodeIndex","start","useCache","lastChild","uniqueID","pseudo","args","setFilters","idx","matched","not","matcher","unmatched","has","text","innerText","lang","elemLang","hash","location","root","focus","activeElement","hasFocus","href","tabIndex","enabled","disabled","checked","selected","selectedIndex","empty","header","button","eq","even","odd","lt","gt","radio","checkbox","file","password","image","submit","reset","prototype","filters","parseOnly","tokens","soFar","preFilters","cached","addCombinator","combinator","base","checkNonElements","doneName","oldCache","newCache","elementMatcher","matchers","multipleContexts","contexts","condense","map","newUnmatched","mapped","setMatcher","postFilter","postFinder","postSelector","temp","preMap","postMap","preexisting","elems","matcherIn","matcherOut","matcherFromTokens","checkContext","leadingRelative","implicitRelative","matchContext","matchAnyContext","concat","matcherFromGroupMatchers","elementMatchers","setMatchers","bySet","byElement","superMatcher","outermost","matchedCount","setMatched","contextBackup","dirrunsUnique","Math","random","token","compiled","div1","defaultValue","define","amd","module","exports"],"mappings":";CAUA,SAAWA,GAEX,GAAIC,GACHC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EAGAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EAGAC,EAA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F,GAAO,SAAUC,GAG7C,MAFAA,GAAIwC,UAAY,WAChBxC,EAAI0E,WAAW3F,aAAc,QAAS,IACY,KAA3CiB,EAAI0E,WAAW7F,aAAc,YAEpCsB,GAAW,QAAS,SAAU5F,EAAMwG,EAAM7I,GACzC,MAAMA,IAAyC,UAAhCqC,EAAKoE,SAASC,cAA7B,OACQrE,EAAKoS,eAOT5M,GAAO,SAAUC,GACtB,MAAuC,OAAhCA,EAAInB,aAAa,eAExBsB,GAAWzF,EAAU,SAAUH,EAAMwG,EAAM7I,GAC1C,GAAI2L,EACJ,OAAM3L,GAAN,OACQqC,EAAMwG,MAAW,EAAOA,EAAKnC,eACjCiF,EAAMtJ,EAAK8H,iBAAkBtB,KAAW8C,EAAIE,UAC7CF,EAAInE,MACL,OAMmB,kBAAXkN,SAAyBA,OAAOC,IAC3CD,OAAO,WAAa,MAAOrP,MAEE,mBAAXuP,SAA0BA,OAAOC,QACnDD,OAAOC,QAAUxP,GAEjB1F,EAAO0F,OAASA,IAIb1F"}
@@ -0,0 +1,157 @@
1
+ {
2
+ "_args": [
3
+ [
4
+ {
5
+ "raw": "jquery@1.12.4",
6
+ "scope": null,
7
+ "escapedName": "jquery",
8
+ "name": "jquery",
9
+ "rawSpec": "1.12.4",
10
+ "spec": "1.12.4",
11
+ "type": "version"
12
+ },
13
+ "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ"
14
+ ]
15
+ ],
16
+ "_from": "jquery@1.12.4",
17
+ "_id": "jquery@1.12.4",
18
+ "_inCache": true,
19
+ "_location": "/jquery",
20
+ "_nodeVersion": "0.10.45",
21
+ "_npmOperationalInternal": {
22
+ "host": "packages-12-west.internal.npmjs.com",
23
+ "tmp": "tmp/jquery-1.12.4.tgz_1463764744844_0.4810373710934073"
24
+ },
25
+ "_npmUser": {
26
+ "name": "timmywil",
27
+ "email": "timmywillisn@gmail.com"
28
+ },
29
+ "_npmVersion": "2.15.1",
30
+ "_phantomChildren": {},
31
+ "_requested": {
32
+ "raw": "jquery@1.12.4",
33
+ "scope": null,
34
+ "escapedName": "jquery",
35
+ "name": "jquery",
36
+ "rawSpec": "1.12.4",
37
+ "spec": "1.12.4",
38
+ "type": "version"
39
+ },
40
+ "_requiredBy": [
41
+ "/"
42
+ ],
43
+ "_resolved": "https://registry.npmjs.org/jquery/-/jquery-1.12.4.tgz",
44
+ "_shasum": "01e1dfba290fe73deba77ceeacb0f9ba2fec9e0c",
45
+ "_shrinkwrap": null,
46
+ "_spec": "jquery@1.12.4",
47
+ "_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ",
48
+ "author": {
49
+ "name": "jQuery Foundation and other contributors",
50
+ "url": "https://github.com/jquery/jquery/blob/1.12-stable/AUTHORS.txt"
51
+ },
52
+ "bugs": {
53
+ "url": "https://github.com/jquery/jquery/issues"
54
+ },
55
+ "commitplease": {
56
+ "components": [
57
+ "Docs",
58
+ "Tests",
59
+ "Build",
60
+ "Release",
61
+ "Core",
62
+ "Ajax",
63
+ "Attributes",
64
+ "Callbacks",
65
+ "CSS",
66
+ "Data",
67
+ "Deferred",
68
+ "Deprecated",
69
+ "Dimensions",
70
+ "Effects",
71
+ "Event",
72
+ "Manipulation",
73
+ "Offset",
74
+ "Queue",
75
+ "Selector",
76
+ "Serialize",
77
+ "Traversing",
78
+ "Wrap"
79
+ ]
80
+ },
81
+ "dependencies": {},
82
+ "description": "JavaScript library for DOM operations",
83
+ "devDependencies": {
84
+ "commitplease": "2.0.0",
85
+ "core-js": "0.9.17",
86
+ "grunt": "0.4.5",
87
+ "grunt-babel": "5.0.1",
88
+ "grunt-cli": "0.1.13",
89
+ "grunt-compare-size": "0.4.0",
90
+ "grunt-contrib-jshint": "0.11.2",
91
+ "grunt-contrib-uglify": "0.9.2",
92
+ "grunt-contrib-watch": "0.6.1",
93
+ "grunt-git-authors": "2.0.1",
94
+ "grunt-jscs": "2.1.0",
95
+ "grunt-jsonlint": "1.0.4",
96
+ "grunt-npmcopy": "0.1.0",
97
+ "gzip-js": "0.3.2",
98
+ "jsdom": "5.6.1",
99
+ "load-grunt-tasks": "1.0.0",
100
+ "npm": "2.1.12",
101
+ "qunit-assert-step": "1.0.3",
102
+ "qunitjs": "1.17.1",
103
+ "requirejs": "2.1.17",
104
+ "sinon": "1.12.2",
105
+ "sizzle": "2.2.1",
106
+ "strip-json-comments": "1.0.3",
107
+ "testswarm": "1.1.0",
108
+ "win-spawn": "2.0.0"
109
+ },
110
+ "directories": {},
111
+ "dist": {
112
+ "shasum": "01e1dfba290fe73deba77ceeacb0f9ba2fec9e0c",
113
+ "tarball": "https://registry.npmjs.org/jquery/-/jquery-1.12.4.tgz"
114
+ },
115
+ "gitHead": "5e89585e0121e72ff47de177c5ef604f3089a53d",
116
+ "homepage": "http://jquery.com",
117
+ "keywords": [
118
+ "jquery",
119
+ "javascript",
120
+ "browser",
121
+ "library"
122
+ ],
123
+ "license": "MIT",
124
+ "main": "dist/jquery.js",
125
+ "maintainers": [
126
+ {
127
+ "name": "dmethvin",
128
+ "email": "dave.methvin@gmail.com"
129
+ },
130
+ {
131
+ "name": "scott.gonzalez",
132
+ "email": "scott.gonzalez@gmail.com"
133
+ },
134
+ {
135
+ "name": "m_gol",
136
+ "email": "m.goleb@gmail.com"
137
+ },
138
+ {
139
+ "name": "timmywil",
140
+ "email": "timmywillisn@gmail.com"
141
+ }
142
+ ],
143
+ "name": "jquery",
144
+ "optionalDependencies": {},
145
+ "readme": "ERROR: No README data found!",
146
+ "repository": {
147
+ "type": "git",
148
+ "url": "git+https://github.com/jquery/jquery.git"
149
+ },
150
+ "scripts": {
151
+ "build": "npm install && grunt",
152
+ "start": "grunt watch",
153
+ "test": "grunt && grunt test"
154
+ },
155
+ "title": "jQuery",
156
+ "version": "1.12.4"
157
+ }
@@ -0,0 +1,842 @@
1
+ define( [
2
+ "./core",
3
+ "./var/document",
4
+ "./var/rnotwhite",
5
+ "./ajax/var/location",
6
+ "./ajax/var/nonce",
7
+ "./ajax/var/rquery",
8
+
9
+ "./core/init",
10
+ "./ajax/parseJSON",
11
+ "./ajax/parseXML",
12
+ "./deferred"
13
+ ], function( jQuery, document, rnotwhite, location, nonce, rquery ) {
14
+
15
+ var
16
+ rhash = /#.*$/,
17
+ rts = /([?&])_=[^&]*/,
18
+
19
+ // IE leaves an \r character at EOL
20
+ rheaders = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg,
21
+
22
+ // #7653, #8125, #8152: local protocol detection
23
+ rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
24
+ rnoContent = /^(?:GET|HEAD)$/,
25
+ rprotocol = /^\/\//,
26
+ rurl = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,
27
+
28
+ /* Prefilters
29
+ * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)
30
+ * 2) These are called:
31
+ * - BEFORE asking for a transport
32
+ * - AFTER param serialization (s.data is a string if s.processData is true)
33
+ * 3) key is the dataType
34
+ * 4) the catchall symbol "*" can be used
35
+ * 5) execution will start with transport dataType and THEN continue down to "*" if needed
36
+ */
37
+ prefilters = {},
38
+
39
+ /* Transports bindings
40
+ * 1) key is the dataType
41
+ * 2) the catchall symbol "*" can be used
42
+ * 3) selection will start with transport dataType and THEN go to "*" if needed
43
+ */
44
+ transports = {},
45
+
46
+ // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression
47
+ allTypes = "*/".concat( "*" ),
48
+
49
+ // Document location
50
+ ajaxLocation = location.href,
51
+
52
+ // Segment location into parts
53
+ ajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || [];
54
+
55
+ // Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport
56
+ function addToPrefiltersOrTransports( structure ) {
57
+
58
+ // dataTypeExpression is optional and defaults to "*"
59
+ return function( dataTypeExpression, func ) {
60
+
61
+ if ( typeof dataTypeExpression !== "string" ) {
62
+ func = dataTypeExpression;
63
+ dataTypeExpression = "*";
64
+ }
65
+
66
+ var dataType,
67
+ i = 0,
68
+ dataTypes = dataTypeExpression.toLowerCase().match( rnotwhite ) || [];
69
+
70
+ if ( jQuery.isFunction( func ) ) {
71
+
72
+ // For each dataType in the dataTypeExpression
73
+ while ( ( dataType = dataTypes[ i++ ] ) ) {
74
+
75
+ // Prepend if requested
76
+ if ( dataType.charAt( 0 ) === "+" ) {
77
+ dataType = dataType.slice( 1 ) || "*";
78
+ ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func );
79
+
80
+ // Otherwise append
81
+ } else {
82
+ ( structure[ dataType ] = structure[ dataType ] || [] ).push( func );
83
+ }
84
+ }
85
+ }
86
+ };
87
+ }
88
+
89
+ // Base inspection function for prefilters and transports
90
+ function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {
91
+
92
+ var inspected = {},
93
+ seekingTransport = ( structure === transports );
94
+
95
+ function inspect( dataType ) {
96
+ var selected;
97
+ inspected[ dataType ] = true;
98
+ jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {
99
+ var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );
100
+ if ( typeof dataTypeOrTransport === "string" &&
101
+ !seekingTransport && !inspected[ dataTypeOrTransport ] ) {
102
+
103
+ options.dataTypes.unshift( dataTypeOrTransport );
104
+ inspect( dataTypeOrTransport );
105
+ return false;
106
+ } else if ( seekingTransport ) {
107
+ return !( selected = dataTypeOrTransport );
108
+ }
109
+ } );
110
+ return selected;
111
+ }
112
+
113
+ return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" );
114
+ }
115
+
116
+ // A special extend for ajax options
117
+ // that takes "flat" options (not to be deep extended)
118
+ // Fixes #9887
119
+ function ajaxExtend( target, src ) {
120
+ var deep, key,
121
+ flatOptions = jQuery.ajaxSettings.flatOptions || {};
122
+
123
+ for ( key in src ) {
124
+ if ( src[ key ] !== undefined ) {
125
+ ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ];
126
+ }
127
+ }
128
+ if ( deep ) {
129
+ jQuery.extend( true, target, deep );
130
+ }
131
+
132
+ return target;
133
+ }
134
+
135
+ /* Handles responses to an ajax request:
136
+ * - finds the right dataType (mediates between content-type and expected dataType)
137
+ * - returns the corresponding response
138
+ */
139
+ function ajaxHandleResponses( s, jqXHR, responses ) {
140
+ var firstDataType, ct, finalDataType, type,
141
+ contents = s.contents,
142
+ dataTypes = s.dataTypes;
143
+
144
+ // Remove auto dataType and get content-type in the process
145
+ while ( dataTypes[ 0 ] === "*" ) {
146
+ dataTypes.shift();
147
+ if ( ct === undefined ) {
148
+ ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" );
149
+ }
150
+ }
151
+
152
+ // Check if we're dealing with a known content-type
153
+ if ( ct ) {
154
+ for ( type in contents ) {
155
+ if ( contents[ type ] && contents[ type ].test( ct ) ) {
156
+ dataTypes.unshift( type );
157
+ break;
158
+ }
159
+ }
160
+ }
161
+
162
+ // Check to see if we have a response for the expected dataType
163
+ if ( dataTypes[ 0 ] in responses ) {
164
+ finalDataType = dataTypes[ 0 ];
165
+ } else {
166
+
167
+ // Try convertible dataTypes
168
+ for ( type in responses ) {
169
+ if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) {
170
+ finalDataType = type;
171
+ break;
172
+ }
173
+ if ( !firstDataType ) {
174
+ firstDataType = type;
175
+ }
176
+ }
177
+
178
+ // Or just use first one
179
+ finalDataType = finalDataType || firstDataType;
180
+ }
181
+
182
+ // If we found a dataType
183
+ // We add the dataType to the list if needed
184
+ // and return the corresponding response
185
+ if ( finalDataType ) {
186
+ if ( finalDataType !== dataTypes[ 0 ] ) {
187
+ dataTypes.unshift( finalDataType );
188
+ }
189
+ return responses[ finalDataType ];
190
+ }
191
+ }
192
+
193
+ /* Chain conversions given the request and the original response
194
+ * Also sets the responseXXX fields on the jqXHR instance
195
+ */
196
+ function ajaxConvert( s, response, jqXHR, isSuccess ) {
197
+ var conv2, current, conv, tmp, prev,
198
+ converters = {},
199
+
200
+ // Work with a copy of dataTypes in case we need to modify it for conversion
201
+ dataTypes = s.dataTypes.slice();
202
+
203
+ // Create converters map with lowercased keys
204
+ if ( dataTypes[ 1 ] ) {
205
+ for ( conv in s.converters ) {
206
+ converters[ conv.toLowerCase() ] = s.converters[ conv ];
207
+ }
208
+ }
209
+
210
+ current = dataTypes.shift();
211
+
212
+ // Convert to each sequential dataType
213
+ while ( current ) {
214
+
215
+ if ( s.responseFields[ current ] ) {
216
+ jqXHR[ s.responseFields[ current ] ] = response;
217
+ }
218
+
219
+ // Apply the dataFilter if provided
220
+ if ( !prev && isSuccess && s.dataFilter ) {
221
+ response = s.dataFilter( response, s.dataType );
222
+ }
223
+
224
+ prev = current;
225
+ current = dataTypes.shift();
226
+
227
+ if ( current ) {
228
+
229
+ // There's only work to do if current dataType is non-auto
230
+ if ( current === "*" ) {
231
+
232
+ current = prev;
233
+
234
+ // Convert response if prev dataType is non-auto and differs from current
235
+ } else if ( prev !== "*" && prev !== current ) {
236
+
237
+ // Seek a direct converter
238
+ conv = converters[ prev + " " + current ] || converters[ "* " + current ];
239
+
240
+ // If none found, seek a pair
241
+ if ( !conv ) {
242
+ for ( conv2 in converters ) {
243
+
244
+ // If conv2 outputs current
245
+ tmp = conv2.split( " " );
246
+ if ( tmp[ 1 ] === current ) {
247
+
248
+ // If prev can be converted to accepted input
249
+ conv = converters[ prev + " " + tmp[ 0 ] ] ||
250
+ converters[ "* " + tmp[ 0 ] ];
251
+ if ( conv ) {
252
+
253
+ // Condense equivalence converters
254
+ if ( conv === true ) {
255
+ conv = converters[ conv2 ];
256
+
257
+ // Otherwise, insert the intermediate dataType
258
+ } else if ( converters[ conv2 ] !== true ) {
259
+ current = tmp[ 0 ];
260
+ dataTypes.unshift( tmp[ 1 ] );
261
+ }
262
+ break;
263
+ }
264
+ }
265
+ }
266
+ }
267
+
268
+ // Apply converter (if not an equivalence)
269
+ if ( conv !== true ) {
270
+
271
+ // Unless errors are allowed to bubble, catch and return them
272
+ if ( conv && s[ "throws" ] ) { // jscs:ignore requireDotNotation
273
+ response = conv( response );
274
+ } else {
275
+ try {
276
+ response = conv( response );
277
+ } catch ( e ) {
278
+ return {
279
+ state: "parsererror",
280
+ error: conv ? e : "No conversion from " + prev + " to " + current
281
+ };
282
+ }
283
+ }
284
+ }
285
+ }
286
+ }
287
+ }
288
+
289
+ return { state: "success", data: response };
290
+ }
291
+
292
+ jQuery.extend( {
293
+
294
+ // Counter for holding the number of active queries
295
+ active: 0,
296
+
297
+ // Last-Modified header cache for next request
298
+ lastModified: {},
299
+ etag: {},
300
+
301
+ ajaxSettings: {
302
+ url: ajaxLocation,
303
+ type: "GET",
304
+ isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),
305
+ global: true,
306
+ processData: true,
307
+ async: true,
308
+ contentType: "application/x-www-form-urlencoded; charset=UTF-8",
309
+ /*
310
+ timeout: 0,
311
+ data: null,
312
+ dataType: null,
313
+ username: null,
314
+ password: null,
315
+ cache: null,
316
+ throws: false,
317
+ traditional: false,
318
+ headers: {},
319
+ */
320
+
321
+ accepts: {
322
+ "*": allTypes,
323
+ text: "text/plain",
324
+ html: "text/html",
325
+ xml: "application/xml, text/xml",
326
+ json: "application/json, text/javascript"
327
+ },
328
+
329
+ contents: {
330
+ xml: /\bxml\b/,
331
+ html: /\bhtml/,
332
+ json: /\bjson\b/
333
+ },
334
+
335
+ responseFields: {
336
+ xml: "responseXML",
337
+ text: "responseText",
338
+ json: "responseJSON"
339
+ },
340
+
341
+ // Data converters
342
+ // Keys separate source (or catchall "*") and destination types with a single space
343
+ converters: {
344
+
345
+ // Convert anything to text
346
+ "* text": String,
347
+
348
+ // Text to html (true = no transformation)
349
+ "text html": true,
350
+
351
+ // Evaluate text as a json expression
352
+ "text json": jQuery.parseJSON,
353
+
354
+ // Parse text as xml
355
+ "text xml": jQuery.parseXML
356
+ },
357
+
358
+ // For options that shouldn't be deep extended:
359
+ // you can add your own custom options here if
360
+ // and when you create one that shouldn't be
361
+ // deep extended (see ajaxExtend)
362
+ flatOptions: {
363
+ url: true,
364
+ context: true
365
+ }
366
+ },
367
+
368
+ // Creates a full fledged settings object into target
369
+ // with both ajaxSettings and settings fields.
370
+ // If target is omitted, writes into ajaxSettings.
371
+ ajaxSetup: function( target, settings ) {
372
+ return settings ?
373
+
374
+ // Building a settings object
375
+ ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :
376
+
377
+ // Extending ajaxSettings
378
+ ajaxExtend( jQuery.ajaxSettings, target );
379
+ },
380
+
381
+ ajaxPrefilter: addToPrefiltersOrTransports( prefilters ),
382
+ ajaxTransport: addToPrefiltersOrTransports( transports ),
383
+
384
+ // Main method
385
+ ajax: function( url, options ) {
386
+
387
+ // If url is an object, simulate pre-1.5 signature
388
+ if ( typeof url === "object" ) {
389
+ options = url;
390
+ url = undefined;
391
+ }
392
+
393
+ // Force options to be an object
394
+ options = options || {};
395
+
396
+ var
397
+
398
+ // Cross-domain detection vars
399
+ parts,
400
+
401
+ // Loop variable
402
+ i,
403
+
404
+ // URL without anti-cache param
405
+ cacheURL,
406
+
407
+ // Response headers as string
408
+ responseHeadersString,
409
+
410
+ // timeout handle
411
+ timeoutTimer,
412
+
413
+ // To know if global events are to be dispatched
414
+ fireGlobals,
415
+
416
+ transport,
417
+
418
+ // Response headers
419
+ responseHeaders,
420
+
421
+ // Create the final options object
422
+ s = jQuery.ajaxSetup( {}, options ),
423
+
424
+ // Callbacks context
425
+ callbackContext = s.context || s,
426
+
427
+ // Context for global events is callbackContext if it is a DOM node or jQuery collection
428
+ globalEventContext = s.context &&
429
+ ( callbackContext.nodeType || callbackContext.jquery ) ?
430
+ jQuery( callbackContext ) :
431
+ jQuery.event,
432
+
433
+ // Deferreds
434
+ deferred = jQuery.Deferred(),
435
+ completeDeferred = jQuery.Callbacks( "once memory" ),
436
+
437
+ // Status-dependent callbacks
438
+ statusCode = s.statusCode || {},
439
+
440
+ // Headers (they are sent all at once)
441
+ requestHeaders = {},
442
+ requestHeadersNames = {},
443
+
444
+ // The jqXHR state
445
+ state = 0,
446
+
447
+ // Default abort message
448
+ strAbort = "canceled",
449
+
450
+ // Fake xhr
451
+ jqXHR = {
452
+ readyState: 0,
453
+
454
+ // Builds headers hashtable if needed
455
+ getResponseHeader: function( key ) {
456
+ var match;
457
+ if ( state === 2 ) {
458
+ if ( !responseHeaders ) {
459
+ responseHeaders = {};
460
+ while ( ( match = rheaders.exec( responseHeadersString ) ) ) {
461
+ responseHeaders[ match[ 1 ].toLowerCase() ] = match[ 2 ];
462
+ }
463
+ }
464
+ match = responseHeaders[ key.toLowerCase() ];
465
+ }
466
+ return match == null ? null : match;
467
+ },
468
+
469
+ // Raw string
470
+ getAllResponseHeaders: function() {
471
+ return state === 2 ? responseHeadersString : null;
472
+ },
473
+
474
+ // Caches the header
475
+ setRequestHeader: function( name, value ) {
476
+ var lname = name.toLowerCase();
477
+ if ( !state ) {
478
+ name = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name;
479
+ requestHeaders[ name ] = value;
480
+ }
481
+ return this;
482
+ },
483
+
484
+ // Overrides response content-type header
485
+ overrideMimeType: function( type ) {
486
+ if ( !state ) {
487
+ s.mimeType = type;
488
+ }
489
+ return this;
490
+ },
491
+
492
+ // Status-dependent callbacks
493
+ statusCode: function( map ) {
494
+ var code;
495
+ if ( map ) {
496
+ if ( state < 2 ) {
497
+ for ( code in map ) {
498
+
499
+ // Lazy-add the new callback in a way that preserves old ones
500
+ statusCode[ code ] = [ statusCode[ code ], map[ code ] ];
501
+ }
502
+ } else {
503
+
504
+ // Execute the appropriate callbacks
505
+ jqXHR.always( map[ jqXHR.status ] );
506
+ }
507
+ }
508
+ return this;
509
+ },
510
+
511
+ // Cancel the request
512
+ abort: function( statusText ) {
513
+ var finalText = statusText || strAbort;
514
+ if ( transport ) {
515
+ transport.abort( finalText );
516
+ }
517
+ done( 0, finalText );
518
+ return this;
519
+ }
520
+ };
521
+
522
+ // Attach deferreds
523
+ deferred.promise( jqXHR ).complete = completeDeferred.add;
524
+ jqXHR.success = jqXHR.done;
525
+ jqXHR.error = jqXHR.fail;
526
+
527
+ // Remove hash character (#7531: and string promotion)
528
+ // Add protocol if not provided (#5866: IE7 issue with protocol-less urls)
529
+ // Handle falsy url in the settings object (#10093: consistency with old signature)
530
+ // We also use the url parameter if available
531
+ s.url = ( ( url || s.url || ajaxLocation ) + "" )
532
+ .replace( rhash, "" )
533
+ .replace( rprotocol, ajaxLocParts[ 1 ] + "//" );
534
+
535
+ // Alias method option to type as per ticket #12004
536
+ s.type = options.method || options.type || s.method || s.type;
537
+
538
+ // Extract dataTypes list
539
+ s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().match( rnotwhite ) || [ "" ];
540
+
541
+ // A cross-domain request is in order when we have a protocol:host:port mismatch
542
+ if ( s.crossDomain == null ) {
543
+ parts = rurl.exec( s.url.toLowerCase() );
544
+ s.crossDomain = !!( parts &&
545
+ ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] ||
546
+ ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? "80" : "443" ) ) !==
547
+ ( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === "http:" ? "80" : "443" ) ) )
548
+ );
549
+ }
550
+
551
+ // Convert data if not already a string
552
+ if ( s.data && s.processData && typeof s.data !== "string" ) {
553
+ s.data = jQuery.param( s.data, s.traditional );
554
+ }
555
+
556
+ // Apply prefilters
557
+ inspectPrefiltersOrTransports( prefilters, s, options, jqXHR );
558
+
559
+ // If request was aborted inside a prefilter, stop there
560
+ if ( state === 2 ) {
561
+ return jqXHR;
562
+ }
563
+
564
+ // We can fire global events as of now if asked to
565
+ // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118)
566
+ fireGlobals = jQuery.event && s.global;
567
+
568
+ // Watch for a new set of requests
569
+ if ( fireGlobals && jQuery.active++ === 0 ) {
570
+ jQuery.event.trigger( "ajaxStart" );
571
+ }
572
+
573
+ // Uppercase the type
574
+ s.type = s.type.toUpperCase();
575
+
576
+ // Determine if request has content
577
+ s.hasContent = !rnoContent.test( s.type );
578
+
579
+ // Save the URL in case we're toying with the If-Modified-Since
580
+ // and/or If-None-Match header later on
581
+ cacheURL = s.url;
582
+
583
+ // More options handling for requests with no content
584
+ if ( !s.hasContent ) {
585
+
586
+ // If data is available, append data to url
587
+ if ( s.data ) {
588
+ cacheURL = ( s.url += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data );
589
+
590
+ // #9682: remove data so that it's not used in an eventual retry
591
+ delete s.data;
592
+ }
593
+
594
+ // Add anti-cache in url if needed
595
+ if ( s.cache === false ) {
596
+ s.url = rts.test( cacheURL ) ?
597
+
598
+ // If there is already a '_' parameter, set its value
599
+ cacheURL.replace( rts, "$1_=" + nonce++ ) :
600
+
601
+ // Otherwise add one to the end
602
+ cacheURL + ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + nonce++;
603
+ }
604
+ }
605
+
606
+ // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
607
+ if ( s.ifModified ) {
608
+ if ( jQuery.lastModified[ cacheURL ] ) {
609
+ jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] );
610
+ }
611
+ if ( jQuery.etag[ cacheURL ] ) {
612
+ jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] );
613
+ }
614
+ }
615
+
616
+ // Set the correct header, if data is being sent
617
+ if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {
618
+ jqXHR.setRequestHeader( "Content-Type", s.contentType );
619
+ }
620
+
621
+ // Set the Accepts header for the server, depending on the dataType
622
+ jqXHR.setRequestHeader(
623
+ "Accept",
624
+ s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ?
625
+ s.accepts[ s.dataTypes[ 0 ] ] +
626
+ ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) :
627
+ s.accepts[ "*" ]
628
+ );
629
+
630
+ // Check for headers option
631
+ for ( i in s.headers ) {
632
+ jqXHR.setRequestHeader( i, s.headers[ i ] );
633
+ }
634
+
635
+ // Allow custom headers/mimetypes and early abort
636
+ if ( s.beforeSend &&
637
+ ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) {
638
+
639
+ // Abort if not done already and return
640
+ return jqXHR.abort();
641
+ }
642
+
643
+ // aborting is no longer a cancellation
644
+ strAbort = "abort";
645
+
646
+ // Install callbacks on deferreds
647
+ for ( i in { success: 1, error: 1, complete: 1 } ) {
648
+ jqXHR[ i ]( s[ i ] );
649
+ }
650
+
651
+ // Get transport
652
+ transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );
653
+
654
+ // If no transport, we auto-abort
655
+ if ( !transport ) {
656
+ done( -1, "No Transport" );
657
+ } else {
658
+ jqXHR.readyState = 1;
659
+
660
+ // Send global event
661
+ if ( fireGlobals ) {
662
+ globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] );
663
+ }
664
+
665
+ // If request was aborted inside ajaxSend, stop there
666
+ if ( state === 2 ) {
667
+ return jqXHR;
668
+ }
669
+
670
+ // Timeout
671
+ if ( s.async && s.timeout > 0 ) {
672
+ timeoutTimer = window.setTimeout( function() {
673
+ jqXHR.abort( "timeout" );
674
+ }, s.timeout );
675
+ }
676
+
677
+ try {
678
+ state = 1;
679
+ transport.send( requestHeaders, done );
680
+ } catch ( e ) {
681
+
682
+ // Propagate exception as error if not done
683
+ if ( state < 2 ) {
684
+ done( -1, e );
685
+
686
+ // Simply rethrow otherwise
687
+ } else {
688
+ throw e;
689
+ }
690
+ }
691
+ }
692
+
693
+ // Callback for when everything is done
694
+ function done( status, nativeStatusText, responses, headers ) {
695
+ var isSuccess, success, error, response, modified,
696
+ statusText = nativeStatusText;
697
+
698
+ // Called once
699
+ if ( state === 2 ) {
700
+ return;
701
+ }
702
+
703
+ // State is "done" now
704
+ state = 2;
705
+
706
+ // Clear timeout if it exists
707
+ if ( timeoutTimer ) {
708
+ window.clearTimeout( timeoutTimer );
709
+ }
710
+
711
+ // Dereference transport for early garbage collection
712
+ // (no matter how long the jqXHR object will be used)
713
+ transport = undefined;
714
+
715
+ // Cache response headers
716
+ responseHeadersString = headers || "";
717
+
718
+ // Set readyState
719
+ jqXHR.readyState = status > 0 ? 4 : 0;
720
+
721
+ // Determine if successful
722
+ isSuccess = status >= 200 && status < 300 || status === 304;
723
+
724
+ // Get response data
725
+ if ( responses ) {
726
+ response = ajaxHandleResponses( s, jqXHR, responses );
727
+ }
728
+
729
+ // Convert no matter what (that way responseXXX fields are always set)
730
+ response = ajaxConvert( s, response, jqXHR, isSuccess );
731
+
732
+ // If successful, handle type chaining
733
+ if ( isSuccess ) {
734
+
735
+ // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
736
+ if ( s.ifModified ) {
737
+ modified = jqXHR.getResponseHeader( "Last-Modified" );
738
+ if ( modified ) {
739
+ jQuery.lastModified[ cacheURL ] = modified;
740
+ }
741
+ modified = jqXHR.getResponseHeader( "etag" );
742
+ if ( modified ) {
743
+ jQuery.etag[ cacheURL ] = modified;
744
+ }
745
+ }
746
+
747
+ // if no content
748
+ if ( status === 204 || s.type === "HEAD" ) {
749
+ statusText = "nocontent";
750
+
751
+ // if not modified
752
+ } else if ( status === 304 ) {
753
+ statusText = "notmodified";
754
+
755
+ // If we have data, let's convert it
756
+ } else {
757
+ statusText = response.state;
758
+ success = response.data;
759
+ error = response.error;
760
+ isSuccess = !error;
761
+ }
762
+ } else {
763
+
764
+ // We extract error from statusText
765
+ // then normalize statusText and status for non-aborts
766
+ error = statusText;
767
+ if ( status || !statusText ) {
768
+ statusText = "error";
769
+ if ( status < 0 ) {
770
+ status = 0;
771
+ }
772
+ }
773
+ }
774
+
775
+ // Set data for the fake xhr object
776
+ jqXHR.status = status;
777
+ jqXHR.statusText = ( nativeStatusText || statusText ) + "";
778
+
779
+ // Success/Error
780
+ if ( isSuccess ) {
781
+ deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );
782
+ } else {
783
+ deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );
784
+ }
785
+
786
+ // Status-dependent callbacks
787
+ jqXHR.statusCode( statusCode );
788
+ statusCode = undefined;
789
+
790
+ if ( fireGlobals ) {
791
+ globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError",
792
+ [ jqXHR, s, isSuccess ? success : error ] );
793
+ }
794
+
795
+ // Complete
796
+ completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );
797
+
798
+ if ( fireGlobals ) {
799
+ globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] );
800
+
801
+ // Handle the global AJAX counter
802
+ if ( !( --jQuery.active ) ) {
803
+ jQuery.event.trigger( "ajaxStop" );
804
+ }
805
+ }
806
+ }
807
+
808
+ return jqXHR;
809
+ },
810
+
811
+ getJSON: function( url, data, callback ) {
812
+ return jQuery.get( url, data, callback, "json" );
813
+ },
814
+
815
+ getScript: function( url, callback ) {
816
+ return jQuery.get( url, undefined, callback, "script" );
817
+ }
818
+ } );
819
+
820
+ jQuery.each( [ "get", "post" ], function( i, method ) {
821
+ jQuery[ method ] = function( url, data, callback, type ) {
822
+
823
+ // shift arguments if data argument was omitted
824
+ if ( jQuery.isFunction( data ) ) {
825
+ type = type || callback;
826
+ callback = data;
827
+ data = undefined;
828
+ }
829
+
830
+ // The url can be an options object (which then must have .url)
831
+ return jQuery.ajax( jQuery.extend( {
832
+ url: url,
833
+ type: method,
834
+ dataType: type,
835
+ data: data,
836
+ success: callback
837
+ }, jQuery.isPlainObject( url ) && url ) );
838
+ };
839
+ } );
840
+
841
+ return jQuery;
842
+ } );