if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
if (!__coverage__['build/yql2/yql2.js']) {
   __coverage__['build/yql2/yql2.js'] = {"path":"build/yql2/yql2.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0],"9":[0,0],"10":[0,0],"11":[0,0],"12":[0,0],"13":[0,0],"14":[0,0],"15":[0,0],"16":[0,0],"17":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":35}}},"2":{"name":"(anonymous_2)","line":24,"loc":{"start":{"line":24,"column":21},"end":{"line":24,"column":60}}},"3":{"name":"(anonymous_3)","line":108,"loc":{"start":{"line":108,"column":19},"end":{"line":108,"column":30}}},"4":{"name":"(anonymous_4)","line":117,"loc":{"start":{"line":117,"column":14},"end":{"line":117,"column":25}}},"5":{"name":"(anonymous_5)","line":121,"loc":{"start":{"line":121,"column":33},"end":{"line":121,"column":48}}},"6":{"name":"(anonymous_6)","line":189,"loc":{"start":{"line":189,"column":12},"end":{"line":189,"column":50}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":195,"column":16}},"2":{"start":{"line":24,"column":4},"end":{"line":70,"column":6}},"3":{"start":{"line":25,"column":8},"end":{"line":40,"column":10}},"4":{"start":{"line":42,"column":8},"end":{"line":44,"column":9}},"5":{"start":{"line":43,"column":12},"end":{"line":43,"column":24}},"6":{"start":{"line":45,"column":8},"end":{"line":45,"column":23}},"7":{"start":{"line":47,"column":8},"end":{"line":49,"column":9}},"8":{"start":{"line":48,"column":12},"end":{"line":48,"column":48}},"9":{"start":{"line":50,"column":8},"end":{"line":52,"column":9}},"10":{"start":{"line":51,"column":12},"end":{"line":51,"column":42}},"11":{"start":{"line":54,"column":8},"end":{"line":54,"column":29}},"12":{"start":{"line":56,"column":8},"end":{"line":59,"column":9}},"13":{"start":{"line":57,"column":12},"end":{"line":57,"column":41}},"14":{"start":{"line":58,"column":12},"end":{"line":58,"column":32}},"15":{"start":{"line":61,"column":8},"end":{"line":64,"column":9}},"16":{"start":{"line":62,"column":12},"end":{"line":62,"column":43}},"17":{"start":{"line":63,"column":12},"end":{"line":63,"column":34}},"18":{"start":{"line":66,"column":8},"end":{"line":66,"column":30}},"19":{"start":{"line":67,"column":8},"end":{"line":67,"column":26}},"20":{"start":{"line":68,"column":8},"end":{"line":68,"column":34}},"21":{"start":{"line":72,"column":4},"end":{"line":151,"column":6}},"22":{"start":{"line":109,"column":12},"end":{"line":109,"column":59}},"23":{"start":{"line":118,"column":12},"end":{"line":119,"column":14}},"24":{"start":{"line":121,"column":12},"end":{"line":123,"column":15}},"25":{"start":{"line":122,"column":16},"end":{"line":122,"column":57}},"26":{"start":{"line":125,"column":12},"end":{"line":125,"column":30}},"27":{"start":{"line":127,"column":12},"end":{"line":127,"column":100}},"28":{"start":{"line":129,"column":12},"end":{"line":129,"column":108}},"29":{"start":{"line":131,"column":12},"end":{"line":131,"column":30}},"30":{"start":{"line":132,"column":12},"end":{"line":132,"column":42}},"31":{"start":{"line":134,"column":12},"end":{"line":134,"column":56}},"32":{"start":{"line":136,"column":12},"end":{"line":138,"column":13}},"33":{"start":{"line":137,"column":16},"end":{"line":137,"column":36}},"34":{"start":{"line":140,"column":12},"end":{"line":148,"column":13}},"35":{"start":{"line":141,"column":16},"end":{"line":141,"column":46}},"36":{"start":{"line":143,"column":16},"end":{"line":143,"column":38}},"37":{"start":{"line":144,"column":16},"end":{"line":146,"column":17}},"38":{"start":{"line":145,"column":20},"end":{"line":145,"column":66}},"39":{"start":{"line":147,"column":16},"end":{"line":147,"column":35}},"40":{"start":{"line":149,"column":12},"end":{"line":149,"column":24}},"41":{"start":{"line":158,"column":4},"end":{"line":158,"column":31}},"42":{"start":{"line":164,"column":4},"end":{"line":164,"column":30}},"43":{"start":{"line":170,"column":4},"end":{"line":170,"column":69}},"44":{"start":{"line":176,"column":4},"end":{"line":176,"column":62}},"45":{"start":{"line":178,"column":4},"end":{"line":178,"column":30}},"46":{"start":{"line":189,"column":4},"end":{"line":191,"column":6}},"47":{"start":{"line":190,"column":8},"end":{"line":190,"column":68}}},"branchMap":{"1":{"line":42,"type":"if","locations":[{"start":{"line":42,"column":8},"end":{"line":42,"column":8}},{"start":{"line":42,"column":8},"end":{"line":42,"column":8}}]},"2":{"line":47,"type":"if","locations":[{"start":{"line":47,"column":8},"end":{"line":47,"column":8}},{"start":{"line":47,"column":8},"end":{"line":47,"column":8}}]},"3":{"line":50,"type":"if","locations":[{"start":{"line":50,"column":8},"end":{"line":50,"column":8}},{"start":{"line":50,"column":8},"end":{"line":50,"column":8}}]},"4":{"line":56,"type":"if","locations":[{"start":{"line":56,"column":8},"end":{"line":56,"column":8}},{"start":{"line":56,"column":8},"end":{"line":56,"column":8}}]},"5":{"line":56,"type":"binary-expr","locations":[{"start":{"line":56,"column":12},"end":{"line":56,"column":16}},{"start":{"line":56,"column":20},"end":{"line":56,"column":32}}]},"6":{"line":61,"type":"if","locations":[{"start":{"line":61,"column":8},"end":{"line":61,"column":8}},{"start":{"line":61,"column":8},"end":{"line":61,"column":8}}]},"7":{"line":61,"type":"binary-expr","locations":[{"start":{"line":61,"column":12},"end":{"line":61,"column":18}},{"start":{"line":61,"column":22},"end":{"line":61,"column":36}}]},"8":{"line":118,"type":"cond-expr","locations":[{"start":{"line":118,"column":67},"end":{"line":118,"column":83}},{"start":{"line":118,"column":86},"end":{"line":118,"column":104}}]},"9":{"line":118,"type":"binary-expr","locations":[{"start":{"line":118,"column":33},"end":{"line":118,"column":43}},{"start":{"line":118,"column":47},"end":{"line":118,"column":63}}]},"10":{"line":127,"type":"cond-expr","locations":[{"start":{"line":127,"column":54},"end":{"line":127,"column":69}},{"start":{"line":127,"column":72},"end":{"line":127,"column":93}}]},"11":{"line":127,"type":"binary-expr","locations":[{"start":{"line":127,"column":21},"end":{"line":127,"column":31}},{"start":{"line":127,"column":35},"end":{"line":127,"column":50}}]},"12":{"line":129,"type":"cond-expr","locations":[{"start":{"line":129,"column":55},"end":{"line":129,"column":69}},{"start":{"line":129,"column":72},"end":{"line":129,"column":107}}]},"13":{"line":131,"type":"binary-expr","locations":[{"start":{"line":131,"column":19},"end":{"line":131,"column":23}},{"start":{"line":131,"column":27},"end":{"line":131,"column":29}}]},"14":{"line":136,"type":"if","locations":[{"start":{"line":136,"column":12},"end":{"line":136,"column":12}},{"start":{"line":136,"column":12},"end":{"line":136,"column":12}}]},"15":{"line":140,"type":"if","locations":[{"start":{"line":140,"column":12},"end":{"line":140,"column":12}},{"start":{"line":140,"column":12},"end":{"line":140,"column":12}}]},"16":{"line":144,"type":"if","locations":[{"start":{"line":144,"column":16},"end":{"line":144,"column":16}},{"start":{"line":144,"column":16},"end":{"line":144,"column":16}}]},"17":{"line":144,"type":"binary-expr","locations":[{"start":{"line":144,"column":20},"end":{"line":144,"column":24}},{"start":{"line":144,"column":28},"end":{"line":144,"column":40}}]}},"code":["(function () { YUI.add('yql2', function (Y, NAME) {","","","/*!","ENSURE THIS STAYS AT MIN TIME","Copyright 2012 Yahoo! Inc. All rights reserved.","Licensed under the BSD License.","http://yuilibrary.com/license/","*/","","    /**","     * This class adds a sugar class to allow access to YQL (http://developer.yahoo.com/yql/).","     * @module yql","     */","    /**","     * Utility Class used under the hood my the YQL class","     * @class YQLRequest","     * @constructor","     * @param {String} sql The SQL statement to execute","     * @param {Function/Object} callback The callback to execute after the query (Falls through to JSONP).","     * @param {Object} params An object literal of extra parameters to pass along (optional).","     * @param {Object} opts An object literal of configuration options (optional): proto (http|https), base (url)","     */","    var YQLRequest = function (sql, callback, params, opts) {","        this._types = {","            esc: {","                token: '\\uE000',","                re: /\\\\[:\\[\\]\\(\\)#\\.\\'\\>+~\"]/gi","            },","","            attr: {","                token: '\\uE001',","                re: /(\\[[^\\]]*\\])/g","            },","","            pseudo: {","                token: '\\uE002',","                re: /(\\([^\\)]*\\))/g","            }","        };","","        if (!params) {","            params = {};","        }","        params.q = sql;","        //Allow format override.. JSON-P-X","        if (!params.format) {","            params.format = Y.YQLRequest.FORMAT;","        }","        if (!params.env) {","            params.env = Y.YQLRequest.ENV;","        }","","        this._context = this;","","        if (opts && opts.context) {","            this._context = opts.context;","            delete opts.context;","        }","","        if (params && params.context) {","            this._context = params.context;","            delete params.context;","        }","","        this._params = params;","        this._opts = opts;","        this._callback = callback;","","    };","","    YQLRequest.prototype = {","        /**","        * @private","        * @property _jsonp","        * @description Reference to the JSONP instance used to make the queries","        */","        _jsonp: null,","        /**","        * @private","        * @property _opts","        * @description Holder for the opts argument","        */","        _opts: null,","        /**","        * @private","        * @property _callback","        * @description Holder for the callback argument","        */","        _callback: null,","        /**","        * @private","        * @property _params","        * @description Holder for the params argument","        */","        _params: null,","        /**","        * @private","        * @property _context","        * @description The context to execute the callback in","        */","        _context: null,","        /**","        * @private","        * @method _internal","        * @description Internal Callback Handler","        */","        _internal: function() {","            this._callback.apply(this._context, arguments);","        },","        /**","        * @method send","        * @description The method that executes the YQL Request.","        * @chainable","        * @return {YQLRequest}","        */","        send: function() {","            var qs = [], url = ((this._opts && this._opts.proto) ? this._opts.proto : Y.YQLRequest.PROTO),","            o;","","            Y.each(this._params, function(v, k) {","                qs.push(k + '=' + encodeURIComponent(v));","            });","","            qs = qs.join('&');","","            url += ((this._opts && this._opts.base) ? this._opts.base : Y.YQLRequest.BASE_URL) + qs;","","            o = (!Y.Lang.isFunction(this._callback)) ? this._callback : { on: { success: this._callback } };","","            o.on = o.on || {};","            this._callback = o.on.success;","","            o.on.success = Y.bind(this._internal, this);","","            if (o.allowCache !== false) {","                o.allowCache = true;","            }","","            if (!this._jsonp) {","                this._jsonp = Y.jsonp(url, o);","            } else {","                this._jsonp.url = url;","                if (o.on && o.on.success) {","                    this._jsonp._config.on.success = o.on.success;","                }","                this._jsonp.send();","            }","            return this;","        }","    };","","    /**","    * @static","    * @property FORMAT","    * @description Default format to use: json","    */","    YQLRequest.FORMAT = 'json';","    /**","    * @static","    * @property PROTO","    * @description Default protocol to use: http","    */","    YQLRequest.PROTO = 'http';","    /**","    * @static","    * @property BASE_URL","    * @description The base URL to query: query.yahooapis.com/v1/public/yql?","    */","    YQLRequest.BASE_URL = ':/'+'/query.yahooapis.com/v1/public/yql?';","    /**","    * @static","    * @property ENV","    * @description The environment file to load: http://datatables.org/alltables.env","    */","    YQLRequest.ENV = 'http:/'+'/datatables.org/alltables.env';","","    Y.YQLRequest = YQLRequest;","","    /**","     * This class adds a sugar class to allow access to YQL (http://developer.yahoo.com/yql/).","     * @class YQL","     * @constructor","     * @param {String} sql The SQL statement to execute","     * @param {Function} callback The callback to execute after the query (optional).","     * @param {Object} params An object literal of extra parameters to pass along (optional).","     * @param {Object} opts An object literal of configuration options (optional): proto (http|https), base (url)","     */","    Y.YQL = function(sql, callback, params, opts) {","        return new Y.YQLRequest(sql, callback, params, opts).send();","    };","","","","}, '@VERSION@');","","}());"]};
}
var __cov_0F4hBckAYL_rF1mvgDwcvQ = __coverage__['build/yql2/yql2.js'];
__cov_0F4hBckAYL_rF1mvgDwcvQ.s['1']++;YUI.add('yql2',function(Y,NAME){__cov_0F4hBckAYL_rF1mvgDwcvQ.f['1']++;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['2']++;var YQLRequest=function(sql,callback,params,opts){__cov_0F4hBckAYL_rF1mvgDwcvQ.f['2']++;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['3']++;this._types={esc:{token:'\ue000',re:/\\[:\[\]\(\)#\.\'\>+~"]/gi},attr:{token:'\ue001',re:/(\[[^\]]*\])/g},pseudo:{token:'\ue002',re:/(\([^\)]*\))/g}};__cov_0F4hBckAYL_rF1mvgDwcvQ.s['4']++;if(!params){__cov_0F4hBckAYL_rF1mvgDwcvQ.b['1'][0]++;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['5']++;params={};}else{__cov_0F4hBckAYL_rF1mvgDwcvQ.b['1'][1]++;}__cov_0F4hBckAYL_rF1mvgDwcvQ.s['6']++;params.q=sql;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['7']++;if(!params.format){__cov_0F4hBckAYL_rF1mvgDwcvQ.b['2'][0]++;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['8']++;params.format=Y.YQLRequest.FORMAT;}else{__cov_0F4hBckAYL_rF1mvgDwcvQ.b['2'][1]++;}__cov_0F4hBckAYL_rF1mvgDwcvQ.s['9']++;if(!params.env){__cov_0F4hBckAYL_rF1mvgDwcvQ.b['3'][0]++;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['10']++;params.env=Y.YQLRequest.ENV;}else{__cov_0F4hBckAYL_rF1mvgDwcvQ.b['3'][1]++;}__cov_0F4hBckAYL_rF1mvgDwcvQ.s['11']++;this._context=this;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['12']++;if((__cov_0F4hBckAYL_rF1mvgDwcvQ.b['5'][0]++,opts)&&(__cov_0F4hBckAYL_rF1mvgDwcvQ.b['5'][1]++,opts.context)){__cov_0F4hBckAYL_rF1mvgDwcvQ.b['4'][0]++;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['13']++;this._context=opts.context;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['14']++;delete opts.context;}else{__cov_0F4hBckAYL_rF1mvgDwcvQ.b['4'][1]++;}__cov_0F4hBckAYL_rF1mvgDwcvQ.s['15']++;if((__cov_0F4hBckAYL_rF1mvgDwcvQ.b['7'][0]++,params)&&(__cov_0F4hBckAYL_rF1mvgDwcvQ.b['7'][1]++,params.context)){__cov_0F4hBckAYL_rF1mvgDwcvQ.b['6'][0]++;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['16']++;this._context=params.context;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['17']++;delete params.context;}else{__cov_0F4hBckAYL_rF1mvgDwcvQ.b['6'][1]++;}__cov_0F4hBckAYL_rF1mvgDwcvQ.s['18']++;this._params=params;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['19']++;this._opts=opts;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['20']++;this._callback=callback;};__cov_0F4hBckAYL_rF1mvgDwcvQ.s['21']++;YQLRequest.prototype={_jsonp:null,_opts:null,_callback:null,_params:null,_context:null,_internal:function(){__cov_0F4hBckAYL_rF1mvgDwcvQ.f['3']++;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['22']++;this._callback.apply(this._context,arguments);},send:function(){__cov_0F4hBckAYL_rF1mvgDwcvQ.f['4']++;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['23']++;var qs=[],url=(__cov_0F4hBckAYL_rF1mvgDwcvQ.b['9'][0]++,this._opts)&&(__cov_0F4hBckAYL_rF1mvgDwcvQ.b['9'][1]++,this._opts.proto)?(__cov_0F4hBckAYL_rF1mvgDwcvQ.b['8'][0]++,this._opts.proto):(__cov_0F4hBckAYL_rF1mvgDwcvQ.b['8'][1]++,Y.YQLRequest.PROTO),o;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['24']++;Y.each(this._params,function(v,k){__cov_0F4hBckAYL_rF1mvgDwcvQ.f['5']++;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['25']++;qs.push(k+'='+encodeURIComponent(v));});__cov_0F4hBckAYL_rF1mvgDwcvQ.s['26']++;qs=qs.join('&');__cov_0F4hBckAYL_rF1mvgDwcvQ.s['27']++;url+=((__cov_0F4hBckAYL_rF1mvgDwcvQ.b['11'][0]++,this._opts)&&(__cov_0F4hBckAYL_rF1mvgDwcvQ.b['11'][1]++,this._opts.base)?(__cov_0F4hBckAYL_rF1mvgDwcvQ.b['10'][0]++,this._opts.base):(__cov_0F4hBckAYL_rF1mvgDwcvQ.b['10'][1]++,Y.YQLRequest.BASE_URL))+qs;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['28']++;o=!Y.Lang.isFunction(this._callback)?(__cov_0F4hBckAYL_rF1mvgDwcvQ.b['12'][0]++,this._callback):(__cov_0F4hBckAYL_rF1mvgDwcvQ.b['12'][1]++,{on:{success:this._callback}});__cov_0F4hBckAYL_rF1mvgDwcvQ.s['29']++;o.on=(__cov_0F4hBckAYL_rF1mvgDwcvQ.b['13'][0]++,o.on)||(__cov_0F4hBckAYL_rF1mvgDwcvQ.b['13'][1]++,{});__cov_0F4hBckAYL_rF1mvgDwcvQ.s['30']++;this._callback=o.on.success;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['31']++;o.on.success=Y.bind(this._internal,this);__cov_0F4hBckAYL_rF1mvgDwcvQ.s['32']++;if(o.allowCache!==false){__cov_0F4hBckAYL_rF1mvgDwcvQ.b['14'][0]++;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['33']++;o.allowCache=true;}else{__cov_0F4hBckAYL_rF1mvgDwcvQ.b['14'][1]++;}__cov_0F4hBckAYL_rF1mvgDwcvQ.s['34']++;if(!this._jsonp){__cov_0F4hBckAYL_rF1mvgDwcvQ.b['15'][0]++;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['35']++;this._jsonp=Y.jsonp(url,o);}else{__cov_0F4hBckAYL_rF1mvgDwcvQ.b['15'][1]++;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['36']++;this._jsonp.url=url;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['37']++;if((__cov_0F4hBckAYL_rF1mvgDwcvQ.b['17'][0]++,o.on)&&(__cov_0F4hBckAYL_rF1mvgDwcvQ.b['17'][1]++,o.on.success)){__cov_0F4hBckAYL_rF1mvgDwcvQ.b['16'][0]++;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['38']++;this._jsonp._config.on.success=o.on.success;}else{__cov_0F4hBckAYL_rF1mvgDwcvQ.b['16'][1]++;}__cov_0F4hBckAYL_rF1mvgDwcvQ.s['39']++;this._jsonp.send();}__cov_0F4hBckAYL_rF1mvgDwcvQ.s['40']++;return this;}};__cov_0F4hBckAYL_rF1mvgDwcvQ.s['41']++;YQLRequest.FORMAT='json';__cov_0F4hBckAYL_rF1mvgDwcvQ.s['42']++;YQLRequest.PROTO='http';__cov_0F4hBckAYL_rF1mvgDwcvQ.s['43']++;YQLRequest.BASE_URL=':/'+'/query.yahooapis.com/v1/public/yql?';__cov_0F4hBckAYL_rF1mvgDwcvQ.s['44']++;YQLRequest.ENV='http:/'+'/datatables.org/alltables.env';__cov_0F4hBckAYL_rF1mvgDwcvQ.s['45']++;Y.YQLRequest=YQLRequest;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['46']++;Y.YQL=function(sql,callback,params,opts){__cov_0F4hBckAYL_rF1mvgDwcvQ.f['6']++;__cov_0F4hBckAYL_rF1mvgDwcvQ.s['47']++;return new Y.YQLRequest(sql,callback,params,opts).send();};},'@VERSION@');
