docs: function reconstitute(original, translated) {
      (0, _babelTraverse2.default)(original, {
          noScope: true,
          JSXElement: function JSXElement(_ref) {
              var node = _ref.node;
  
              (0, _ast.convertNamespacedNameToIdAttribute)(node);
          }
      });
      var sanitized = (0, _validation.sanitizedAttributesOf)(original);
      (0, _babelTraverse2.default)(translated, {
          JSXElement: function JSXElement(_ref2) {
              var node = _ref2.node;
  
              if ((0, _ast.isElementMarker)(node)) {
                  (0, _validation.validateMessage)(node);
                  node.openingElement.name.name = 'span';
                  node.closingElement.name.name = 'span';
              }
              (0, _ast.convertNamespacedNameToIdAttribute)(node);
              var id = (0, _ast.idOrComponentName)(node);
              if (id && sanitized[id]) {
                  sanitized[id].forEach(function (a) {
                      node.openingElement.attributes.push(a);
                  });
              }
              (0, _ast.removeIdAttribute)(node);
          }
      });
      return translated;
  }