code: function getStyleProperties_(text, feature) {
    const parts = text.split('\'');
    /** @type {Object<string, boolean|number|string>} */
    const properties = {};
  
    for (let i = 0; i < parts.length; ++i) {
      const part = decodeURIComponent(parts[i]);
      const keyVal = part.split('*');
      console.assert(keyVal.length === 2);
      const key = keyVal[0];
      const val = keyVal[1];
  
      properties[key] = castValue_(key, val);
    }
  
    return properties;
  }
docs: From a logical sequence of characters, create and return an object of
  style properties for a feature. The values are cast in the correct type
  depending on the property. Some properties are also deleted when they don't
  match the geometry of the feature.
  @param {string} text Text.
  @param {import("ol/Feature.js").default} feature Feature.
  @return {Object<string, boolean|number|string|undefined>} The style properties for the feature.
  @private
  @hidden