code: public function urlEncode(): string
      {
          $data = json_encode($this);
  
          if (\function_exists('gzencode') && false !== ($encoded = @gzencode($data))) {
              $data = $encoded;
          }
  
          return strtr(base64_encode($data), '+/=', '-_,');
      }
docs: Encodes the picker configuration for the URL.