!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){function n(e){return r.raw?e:encodeURIComponent(e)}function o(e){return r.raw?e:decodeURIComponent(e)}function t(e,n){var o=r.raw?e:function(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(i," ")),r.json?JSON.parse(e):e}catch(e){}}(e);return"function"==typeof n?n(o):o}var i=/\+/g,r=e.cookie=function(i,c,u){if(arguments.length>1&&"function"!=typeof c){if("number"==typeof(u=e.extend({},r.defaults,u)).expires){var f=u.expires,p=u.expires=new Date;p.setMilliseconds(p.getMilliseconds()+864e5*f)}return document.cookie=[n(i),"=",function(e){return n(r.json?JSON.stringify(e):String(e))}(c),u.expires?"; expires="+u.expires.toUTCString():"",u.path?"; path="+u.path:"",u.domain?"; domain="+u.domain:"",u.secure?"; secure":""].join("")}for(var s=i?void 0:{},d=document.cookie?document.cookie.split("; "):[],a=0,l=d.length;a