System.register(["./p-d3ef0b9c.system.js","./p-fe1f76a3.system.js"],(function(e){"use strict";var t,r,n,o;return{setters:[function(e){t=e.S;r=e.a},function(e){n=e.c;o=e.a}],execute:function(){var i=n((function(e,t){(function(t,r){e.exports=r()})(o,(function(){function e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r){e[n]=r[n]}}return e}var t={read:function(e){if(e[0]==='"'){e=e.slice(1,-1)}return e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function r(t,n){function o(r,o,i){if(typeof document==="undefined"){return}i=e({},n,i);if(typeof i.expires==="number"){i.expires=new Date(Date.now()+i.expires*864e5)}if(i.expires){i.expires=i.expires.toUTCString()}r=encodeURIComponent(r).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var u in i){if(!i[u]){continue}c+="; "+u;if(i[u]===true){continue}c+="="+i[u].split(";")[0]}return document.cookie=r+"="+t.write(o,r)+c}function i(e){if(typeof document==="undefined"||arguments.length&&!e){return}var r=document.cookie?document.cookie.split("; "):[];var n={};for(var o=0;o<r.length;o++){var i=r[o].split("=");var c=i.slice(1).join("=");try{var u=decodeURIComponent(i[0]);n[u]=t.read(c,u);if(e===u){break}}catch(e){}}return e?n[e]:n}return Object.create({set:o,get:i,remove:function(t,r){o(t,"",e({},r,{expires:-1}))},withAttributes:function(t){return r(this.converter,e({},this.attributes,t))},withConverter:function(t){return r(e({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}var n=r(t,{path:"/"});return n}))}));var c=function(){function e(){this.cookie=i}e.getExpires=function(t){if(t===void 0){t=e.COOKIE_EXPIRATION_DAY_COUNT}var r=new Date;r.setTime(r.getTime()+t*24*60*60*1e3);return r};e.prototype.save=function(t,r){this.cookie.set(t,r,{path:e.COOKIE_PATH,expires:e.getExpires()})};e.prototype.get=function(e){return this.cookie.get(e)};e.prototype.remove=function(t){this.cookie.remove(t,{path:e.COOKIE_PATH})};e.prototype.clear=function(){this.remove(t);this.remove(r)};e.prototype.getAll=function(){return{jwt:this.get(t),userId:this.get(r)}};return e}();e("C",c);c.COOKIE_PATH="/";c.COOKIE_EXPIRATION_DAY_COUNT=7}}}));