docs: function renderStyling(context, renderer, styleStore, classStore) {
      if (isContextDirty(context)) {
          var native = context[0 /* ElementPosition */].native;
          var multiStartIndex = getMultiStartIndex(context);
          var styleSanitizer = getStyleSanitizer(context);
          for (var i = 6 /* SingleStylesStartPosition */; i < context.length; i += 3 /* Size */) {
              // there is no point in rendering styles that have not changed on screen
              if (isDirty(context, i)) {
                  var prop = getProp(context, i);
                  var value = getValue(context, i);
                  var flag = getPointers(context, i);
                  var isClassBased_6 = flag & 2 /* Class */ ? true : false;
                  var isInSingleRegion = i < multiStartIndex;
                  var valueToApply = value;
                  // VALUE DEFER CASE 1: Use a multi value instead of a null single value
                  // this check implies that a single value was removed and we
                  // should now defer to a multi value and use that (if set).
                  if (isInSingleRegion && !valueExists(valueToApply, isClassBased_6)) {
                      // single values ALWAYS have a reference to a multi index
                      var multiIndex = getMultiOrSingleIndex(flag);
                      valueToApply = getValue(context, multiIndex);
                  }
                  // VALUE DEFER CASE 2: Use the initial value if all else fails (is falsy)
                  // the initial value will always be a string or null,
                  // therefore we can safely adopt it incase there's nothing else
                  // note that this should always be a falsy check since `false` is used
                  // for both class and style comparisons (styles can't be false and false
                  // classes are turned off and should therefore defer to their initial values)
                  if (!valueExists(valueToApply, isClassBased_6)) {
                      valueToApply = getInitialValue(context, flag);
                  }
                  if (isClassBased_6) {
                      setClass(native, prop, valueToApply ? true : false, renderer, classStore);
                  }
                  else {
                      var sanitizer = (flag & 4 /* Sanitize */) ? styleSanitizer : null;
                      setStyle(native, prop, valueToApply, renderer, sanitizer, styleStore);
                  }
                  setDirty(context, i, false);
              }
          }
          setContextDirty(context, false);
      }
  }