code: def url_to_dict(url_param: str):
      # Decode url-safe-base64 encoded string.
      bytes_param = bytes(url_param, encoding="utf8")
      str_param = bytes.decode(
          base64.urlsafe_b64decode(bytes_param), encoding="utf8"
      )
      return json.loads(str_param)
  
imports: import base64
  import json
  import os
  from ..base import path_type, stringify_path
  from ....utils import lazy_import
label_desc: Use image node_id 8 for calling a global function with example usage: url_to_dict(url_param) and returns: json