YUI.add("jsonp-url",function(c,t){var e=c.JSONPRequest,l=c.Object.getValue,i=function(){};c.mix(e.prototype,{_pattern:/\bcallback=(.*?)(?=&|$)/i,_template:"callback={callback}",_defaultCallback:function(t){var e,a,t=t.match(this._pattern),r=[],n=0;if(t&&(t=t[1].replace(/\[(['"])(.*?)\1\]/g,function(t,e,a){return r[n]=a,".@"+n++}).replace(/\[(\d+)\]/g,function(t,e){return r[n]=0|parseInt(e,10),".@"+n++}).replace(/^\./,""),!/[^\w\.\$@]/.test(t))){for(e=t.split("."),n=e.length-1;0<=n;--n)"@"===e[n].charAt(0)&&(e[n]=r[parseInt(e[n].substr(1),10)]);a=l(c.config.win,e)||l(c,e)||l(c,e.slice(1))}return a||i},_format:function(t,e){var a=/\{callback\}/;return a.test(t)?t.replace(a,e):(a=this._template.replace(a,e),this._pattern.test(t)?t.replace(this._pattern,a):("&"!==(e=t.slice(-1))&&"?"!==e&&(t+=-1<t.indexOf("?")?"&":"?"),t+a))}},!0)},"patched-v3.18.4",{requires:["jsonp"]});