;
      }
      function generateUserId() {
        return [...Array(32)].map(() => Math.floor(Math.random() * 16).toString(16)).join("");
      }
      $.fn.saveToLocalStorage = function saveToLocalStorage(options) {
        const settings = $.extend({}, options);

        if (typeof Storage == "undefined") {
          console.warn("localStorage is not available. Auth data will not be cached!");
          return false;
        }

        return this.each(function () {
          const element = $(this);
   