return regeneratorRuntime.wrap(function bootstrapTemplateVarsInServer$(context$1$0) {
     while (1) switch (context$1$0.prev = context$1$0.next) {
     case 0:
         context$1$0.next = 2;
         return R.noopThunk();
     case 2:
         return context$1$0.abrupt("return", _.extend({
             lang: R.Localize.extractLocale(req.headers, ["en-US", "fr-FR"]),
         }, chatRouter.match(req.path)));
     case 3:
     case "end":
         return context$1$0.stop();
     }
 }, bootstrapTemplateVarsInServer, this);
 bootstrapTemplateVarsInServer: function* bootstrapTemplateVarsInServer(req) {
     yield R.noopThunk();
     return _.extend({
         lang: R.Localize.extractLocale(req.headers, ["en-US", "fr-FR"]),
     }, chatRouter.match(req.path));
 },