1/*!� 2 * jQuery Cookie Plugin� 3 * https://github.com/carhartl/jquery-cookie� 4 *� 5 * Copyright 2011, Klaus Hartl� 6 * Dual licensed under the MIT or GPL Version 2 licenses.� 7 * http://www.opensource.org/licenses/mit-license.php� 8 * http://www.opensource.org/licenses/GPL-2.0� 9 � 10 */� 11jQuery.noConflict();� 12 (function (jQuery) {� 13 jQuery.cookie = function (key, value, options) {� 14� 15 // key and at least value given, set cookie...� 16 if (arguments.length > 1 && (!/Object/.test(Object.prototype.toString.call(value)) || value === null || value === undefined)) {� 17 options = jQuery.extend({}, options);� 18� 19 if (value === null || value === undefined) {� 20 options.expires = -1;� 21 }� 22� 23 if (typeof options.expires === 'number') {� 24 var days = options.expires,� 25 t = options.expires = new Date();� 26 t.setDate(t.getDate() + days);� 27 }� 28� 29 value = String(value);� 30� 31 return (document.cookie = [� 32 encodeURIComponent(key), '=', options.raw ? value : encodeURIComponent(value), options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE� 33 options.path ? '; path=' + options.path : '', options.domain ? '; domain=' + options.domain : '', options.secure ? '; secure' : ''].join(''));� 34 }� 35� 36 // key and possibly options given, get cookie...� 37 options = value || {};� 38 var decode = options.raw ?� 39 function (s) {� 40 return s;� 41 } : decodeURIComponent;� 42� 43 var pairs = document.cookie.split('; ');� 44 for (var i = 0, pair; pair = pairs[i] && pairs[i].split('='); i++) {� 45 if (decode(pair[0]) === key) return decode(pair[1] || ''); // IE saves cookies with empty string as "c; ", e.g. without "=" as opposed to EOMB, thus pair[1] may be undefined� 46 }� 47 return null;� 48 };� 49})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.