module.exports=(()=>{"use strict";vare={583:(e,r)=>{r.parse=parse;r.serialize=serialize;vari=decodeURIComponent;vart=encodeURIComponent;vara=/; */;varn=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;functionparse(e,r){if(typeofe!=="string"){thrownewTypeError("argument str must be a string")}vart={};varn=r||{};varo=e.split(a);vars=n.decode||i;for(varp=0;p<o.length;p++){varf=o[p];varu=f.indexOf("=");if(u<0){continue}varc=f.substr(0,u).trim();varv=f.substr(++u,f.length).trim();if('"'==v[0]){v=v.slice(1,-1)}if(undefined==t[c]){t[c]=tryDecode(v,s)}}returnt}functionserialize(e,r,i){vara=i||{};varo=a.encode||t;if(typeofo!=="function"){thrownewTypeError("option encode is invalid")}if(!n.test(e)){thrownewTypeError("argument name is invalid")}vars=o(r);if(s&&!n.test(s)){thrownewTypeError("argument val is invalid")}varp=e+"="+s;if(null!=a.maxAge){varf=a.maxAge-0;if(isNaN(f)||!isFinite(f)){thrownewTypeError("option maxAge is invalid")}p+="; Max-Age="+Math.floor(f)}if(a.domain){if(!n.test(a.domain)){thrownewTypeError("option domain is invalid")}p+="; Domain="+a.domain}if(a.path){if(!n.test(a.path)){thrownewTypeError("option path is invalid")}p+="; Path="+a.path}if(a.expires){if(typeofa.expires.toUTCString!=="function"){thrownewTypeError("option expires is invalid")}p+="; Expires="+a.expires.toUTCString()}if(a.httpOnly){p+="; HttpOnly"}if(a.secure){p+="; Secure"}if(a.sameSite){varu=typeofa.sameSite==="string"?a.sameSite.toLowerCase():a.sameSite;switch(u){casetrue:p+="; SameSite=Strict";break;case"lax":p+="; SameSite=Lax";break;case"strict":p+="; SameSite=Strict";break;case"none":p+="; SameSite=None";break;default:thrownewTypeError("option sameSite is invalid")}}returnp}functiontryDecode(e,r){try{returnr(e)}catch(r){returne}}}};varr={};function__nccwpck_require__(i){if(r[i]){returnr[i].exports}vart=r[i]={exports:{}};vara=true;try{e[i](t,t.exports,__nccwpck_require__);a=false}finally{if(a)deleter[i]}returnt.exports}__nccwpck_require__.ab=__dirname+"/";return__nccwpck_require__(583)})();