YUI.add("yql",function(o,t){var s=function(t,s,n,e){(n=n||{}).q=t,n.format||(n.format=o.YQLRequest.FORMAT),n.env||(n.env=o.YQLRequest.ENV),this._context=this,e&&e.context&&(this._context=e.context,delete e.context),n&&n.context&&(this._context=n.context,delete n.context),this._params=n,this._opts=e,this._callback=s};s.prototype={_jsonp:null,_opts:null,_callback:null,_params:null,_context:null,_internal:function(){this._callback.apply(this._context,arguments)},send:function(){var t,n=[],s=this._opts&&this._opts.proto?this._opts.proto:o.YQLRequest.PROTO;return o.Object.each(this._params,function(t,s){n.push(s+"="+encodeURIComponent(t))}),n=n.join("&"),s+=(this._opts&&this._opts.base?this._opts.base:o.YQLRequest.BASE_URL)+n,(t=o.Lang.isFunction(this._callback)?{on:{success:this._callback}}:this._callback).on=t.on||{},this._callback=t.on.success,t.on.success=o.bind(this._internal,this),this._send(s,t),this},_send:function(){}},s.FORMAT="json",s.PROTO="http",s.BASE_URL="://query.yahooapis.com/v1/public/yql?",s.ENV="http://datatables.org/alltables.env",o.YQLRequest=s,o.YQL=function(t,s,n,e){return new o.YQLRequest(t,s,n,e).send()}},"patched-v3.18.7",{requires:["oop"]});