PageSourceSearch

https://seahawkmedia.com/wp-content/cache/min/1/wp-content/plugins…/js-cookie/js.cookie.js?ver=1789044715

js seahawkmedia.com collected 2026-10-02 03:13:32 UTC 2,639 bytes, 27 lines download raw bytes

1/*!
2 * JavaScript Cookie v2.2.1
3 * https://github.com/js-cookie/js-cookie
4 *
5 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
6 * Released under the MIT license
7 */
8;(function(factory){var registeredInModuleLoader;if(typeof define==='function'&&define.amd){define(factory);registeredInModuleLoader=!0}
9if(typeof exports==='object'){module.exports=factory();registeredInModuleLoader=!0}
10if(!registeredInModuleLoader){var OldCookies=window.Cookies;var api=window.Cookies=factory();api.noConflict=function(){window.Cookies=OldCookies;return api}}}(function(){function extend(){var i=0;var result={};for(;i<arguments.length;i++){var attributes=arguments[i];for(var key in attributes){result[key]=attributes[key]}}
11return result}
12function decode(s){return s.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}
13function init(converter){function api(){}
14function set(key,value,attributes){if(typeof document==='undefined'){return}
15attributes=extend({path:'/'},api.defaults,attributes);if(typeof attributes.expires==='number'){attributes.expires=new Date(new Date()*1+attributes.expires*864e+5)}
16attributes.expires=attributes.expires?attributes.expires.toUTCString():'';try{var result=JSON.stringify(value);if(/^[\{\[]/.test(result)){value=result}}catch(e){}
17value=converter.write?converter.write(value,key):encodeURIComponent(String(value)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent);key=encodeURIComponent(String(key)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var stringifiedAttributes='';for(var attributeName in attributes){if(!attributes[attributeName]){continue}
18stringifiedAttributes+='; '+attributeName;if(attributes[attributeName]===!0){continue}
19stringifiedAttributes+='='+attributes[attributeName].split(';')[0]}
20return(document.cookie=key+'='+value+stringifiedAttributes)}
21function get(key,json){if(typeof document==='undefined'){return}
22var jar={};var cookies=document.cookie?document.cookie.split('; '):[];var i=0;for(;i<cookies.length;i++){var parts=cookies[i].split('=');var cookie=parts.slice(1).join('=');if(!json&&cookie.charAt(0)==='"'){cookie=cookie.slice(1,-1)}
23try{var name=decode(parts[0]);cookie=(converter.read||converter)(cookie,name)||decode(cookie);if(json){try{cookie=JSON.parse(cookie)}catch(e){}}
24jar[name]=cookie;if(key===name){break}}catch(e){}}
25return key?jar[key]:jar}
26api.set=set;api.get=function(key){return get(key,!1)};api.getJSON=function(key){return get(key,!0)};api.remove=function(key,attributes){set(key,'',extend(attributes,{expires:-1}))};api.defaults={};api.withConverter=init;return api}
27return init(function(){})}))

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.