@meduza/ui-kit-2 0.1.92 → 0.1.94

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -907,76 +907,23 @@ var Table = function Table(_ref) {
907
907
  }));
908
908
  };
909
909
 
910
- var styles$b = {"root":"DonatesTeaser-module_root__3rtaJ","ctaInner":"DonatesTeaser-module_ctaInner__2LChL","main":"DonatesTeaser-module_main__YBt6p","title":"DonatesTeaser-module_title__hs-yr","text":"DonatesTeaser-module_text__ro-QA","cta":"DonatesTeaser-module_cta__1orPb","center":"DonatesTeaser-module_center__2Ynx9","isInCard":"DonatesTeaser-module_isInCard__HrFh8","isInSlide":"DonatesTeaser-module_isInSlide__1vC4Z"};
911
-
912
- var DonatesTeaser = function DonatesTeaser(_ref) {
913
- var styleContext = _ref.styleContext,
914
- _ref$lang = _ref.lang,
915
- lang = _ref$lang === void 0 ? 'ru' : _ref$lang;
916
- var classNames = [[styles$b.root, true]];
917
-
918
- if (styleContext) {
919
- classNames = makeStyleContext(classNames, styleContext, styles$b);
920
- }
921
-
922
- var data = {
923
- ru: {
924
- title: 'Слушайте музыку, помогайте «Медузе»',
925
- // subtitle:
926
- // '«Медуза» продолжает работать, потому что есть вы',
927
- button: 'Дать денег',
928
- href: 'https://support.meduza.io'
929
- },
930
- en: {
931
- title: 'Tune in and help Meduza!',
932
- // subtitle: 'We’re only here thanks to you.',
933
- button: 'Pledge today',
934
- href: 'https://support.meduza.io/en'
935
- }
936
- };
937
- return React__default.createElement("div", {
938
- "data-testid": "donates-teaser",
939
- className: makeClassName(classNames)
940
- }, React__default.createElement("div", {
941
- className: styles$b.main
942
- }, React__default.createElement("h3", {
943
- className: styles$b.title
944
- }, React__default.createElement("span", {
945
- dangerouslySetInnerHTML: {
946
- __html: data[lang].title
947
- }
948
- }))), React__default.createElement("div", {
949
- className: styles$b.cta
950
- }, React__default.createElement("a", {
951
- href: data[lang].href,
952
- target: "_blank",
953
- rel: "noreferrer"
954
- }, React__default.createElement("span", {
955
- className: styles$b.ctaInner
956
- }, data[lang].button))));
957
- };
958
-
959
- var styles$c = {"root":"MaterialNote-module_root__1AcYe","dark":"MaterialNote-module_dark__xCry-","note_credit":"MaterialNote-module_note_credit__PuFyX","note_caption":"MaterialNote-module_note_caption__1ezSo","center":"MaterialNote-module_center__18RxI","default":"MaterialNote-module_default__1lQPl","card":"MaterialNote-module_card__OWXbQ","slide":"MaterialNote-module_slide__1ZBBq","game":"MaterialNote-module_game__cADMe","gameSurvey":"MaterialNote-module_gameSurvey__3SiG-"};
910
+ var styles$b = {"root":"MaterialNote-module_root__1AcYe","dark":"MaterialNote-module_dark__xCry-","note_credit":"MaterialNote-module_note_credit__PuFyX","note_caption":"MaterialNote-module_note_caption__1ezSo","center":"MaterialNote-module_center__18RxI","default":"MaterialNote-module_default__1lQPl","card":"MaterialNote-module_card__OWXbQ","slide":"MaterialNote-module_slide__1ZBBq","game":"MaterialNote-module_game__cADMe","gameSurvey":"MaterialNote-module_gameSurvey__3SiG-"};
960
911
 
961
912
  var MaterialNote = function MaterialNote(_ref) {
962
913
  var data = _ref.block.data,
963
- lang = _ref.lang,
964
914
  styleContext = _ref.styleContext;
965
- var classNames = [[styles$c.root, true]];
915
+ var classNames = [[styles$b.root, true]];
966
916
 
967
917
  if (styleContext) {
968
- classNames = makeStyleContext(classNames, styleContext, styles$c);
918
+ classNames = makeStyleContext(classNames, styleContext, styles$b);
969
919
  }
970
920
 
971
- return React__default.createElement(React__default.Fragment, null, React__default.createElement(DonatesTeaser, {
972
- styleContext: styleContext,
973
- lang: lang
974
- }), React__default.createElement("div", {
921
+ return React__default.createElement(React__default.Fragment, null, React__default.createElement("div", {
975
922
  "data-testid": "material-note",
976
923
  className: makeClassName(classNames)
977
924
  }, data && data.map(function (item) {
978
925
  return React__default.createElement("p", {
979
- className: styles$c[item.type],
926
+ className: styles$b[item.type],
980
927
  key: item.id,
981
928
  dangerouslySetInnerHTML: {
982
929
  __html: item.data
@@ -985,24 +932,24 @@ var MaterialNote = function MaterialNote(_ref) {
985
932
  })));
986
933
  };
987
934
 
988
- var styles$d = {"root":"BookmarkButton-module_root__3KmuY","control":"BookmarkButton-module_control__1A0ea","dark":"BookmarkButton-module_dark__1cwyi","light":"BookmarkButton-module_light__1uQyH","isInBookmarks":"BookmarkButton-module_isInBookmarks__1_5kB","isInGrid":"BookmarkButton-module_isInGrid__2pQ2B"};
935
+ var styles$c = {"root":"BookmarkButton-module_root__3KmuY","control":"BookmarkButton-module_control__1A0ea","dark":"BookmarkButton-module_dark__1cwyi","light":"BookmarkButton-module_light__1uQyH","isInBookmarks":"BookmarkButton-module_isInBookmarks__1_5kB","isInGrid":"BookmarkButton-module_isInGrid__2pQ2B"};
989
936
 
990
937
  var BookmarkButton = function BookmarkButton(_ref) {
991
938
  var styleContext = _ref.styleContext,
992
939
  theme = _ref.theme,
993
940
  isInBookmarks = _ref.isInBookmarks,
994
941
  _onClick = _ref.onClick;
995
- var classNames = [[styles$d.root, true], [styles$d.isInBookmarks, isInBookmarks], [styles$d[theme], !!theme && !!styles$d[theme]]];
942
+ var classNames = [[styles$c.root, true], [styles$c.isInBookmarks, isInBookmarks], [styles$c[theme], !!theme && !!styles$c[theme]]];
996
943
 
997
944
  if (styleContext) {
998
- classNames = makeStyleContext(classNames, styleContext, styles$d);
945
+ classNames = makeStyleContext(classNames, styleContext, styles$c);
999
946
  }
1000
947
 
1001
948
  return React__default.createElement("div", {
1002
949
  "data-testid": "bookmark-button",
1003
950
  className: makeClassName(classNames)
1004
951
  }, React__default.createElement("button", {
1005
- className: styles$d.control,
952
+ className: styles$c.control,
1006
953
  onClick: function onClick() {
1007
954
  return _onClick();
1008
955
  },
@@ -1013,45 +960,45 @@ var BookmarkButton = function BookmarkButton(_ref) {
1013
960
  })));
1014
961
  };
1015
962
 
1016
- var styles$e = {"root":"MaterialTitle-module_root__18ku-","primary":"MaterialTitle-module_primary__2Sfmx","secondary":"MaterialTitle-module_secondary__3uDp4"};
963
+ var styles$d = {"root":"MaterialTitle-module_root__18ku-","primary":"MaterialTitle-module_primary__2Sfmx","secondary":"MaterialTitle-module_secondary__3uDp4"};
1017
964
 
1018
965
  var Primary = function Primary(_ref) {
1019
966
  var children = _ref.children;
1020
967
  return React__default.createElement("span", {
1021
- className: styles$e.primary
968
+ className: styles$d.primary
1022
969
  }, children);
1023
970
  };
1024
971
  var Secondary = function Secondary(_ref2) {
1025
972
  var children = _ref2.children;
1026
973
  return React__default.createElement("span", {
1027
- className: styles$e.secondary
974
+ className: styles$d.secondary
1028
975
  }, children);
1029
976
  };
1030
977
  var MaterialTitle = function MaterialTitle(_ref3) {
1031
978
  var children = _ref3.children;
1032
979
  return React__default.createElement("h1", {
1033
- className: styles$e.root,
980
+ className: styles$d.root,
1034
981
  "data-testid": "material-title"
1035
982
  }, children);
1036
983
  };
1037
984
 
1038
- var styles$f = {"root":"Dropdown-module_root__11PNk","active":"Dropdown-module_active__3IwAl","menu":"Dropdown-module_menu__3PIqD","isInAudioPanel":"Dropdown-module_isInAudioPanel__1zv7F"};
985
+ var styles$e = {"root":"Dropdown-module_root__11PNk","active":"Dropdown-module_active__3IwAl","menu":"Dropdown-module_menu__3PIqD","isInAudioPanel":"Dropdown-module_isInAudioPanel__1zv7F"};
1039
986
 
1040
987
  var Menu = function Menu(_ref) {
1041
988
  var children = _ref.children;
1042
989
  return React__default.createElement("div", {
1043
990
  "data-testid": "dropdown",
1044
- className: styles$f.menu
991
+ className: styles$e.menu
1045
992
  }, children);
1046
993
  };
1047
994
  var Dropdown = function Dropdown(_ref2) {
1048
995
  var children = _ref2.children,
1049
996
  active = _ref2.active,
1050
997
  styleContext = _ref2.styleContext;
1051
- var classNames = [[styles$f.root, true], [styles$f.active, !!active && !!styles$f.active]];
998
+ var classNames = [[styles$e.root, true], [styles$e.active, !!active && !!styles$e.active]];
1052
999
 
1053
1000
  if (styleContext) {
1054
- classNames = makeStyleContext(classNames, styleContext, styles$f);
1001
+ classNames = makeStyleContext(classNames, styleContext, styles$e);
1055
1002
  }
1056
1003
 
1057
1004
  return React__default.createElement("div", {
@@ -1079,7 +1026,7 @@ var Toolbar = function Toolbar(_ref) {
1079
1026
  }, children));
1080
1027
  };
1081
1028
 
1082
- var styles$g = {"root":"Meta-module_root__12AG7","rich":"Meta-module_rich__1XBtZ","podcast":"Meta-module_podcast__1m4zo","episode":"Meta-module_episode__1K2Xv","simple":"Meta-module_simple__3vUiI","slide":"Meta-module_slide__3g6fG","card":"Meta-module_card__LE1RK","game":"Meta-module_game__3aNlZ","isInMaterial":"Meta-module_isInMaterial__zaYMy","isInSearchItem":"Meta-module_isInSearchItem__1wbpx","isInMediaBlock":"Meta-module_isInMediaBlock__3xfPF","center":"Meta-module_center__3BBPr","half":"Meta-module_half__1xRkT","light":"Meta-module_light__2baE-","dark":"Meta-module_dark__24y9m","isDark":"Meta-module_isDark__3g22f","hasSource":"Meta-module_hasSource__2lXiN","bookmark":"Meta-module_bookmark__3ot3k","mobile":"Meta-module_mobile__22LGV","desktop":"Meta-module_desktop__1ZGUS"};
1029
+ var styles$f = {"root":"Meta-module_root__12AG7","rich":"Meta-module_rich__1XBtZ","podcast":"Meta-module_podcast__1m4zo","episode":"Meta-module_episode__1K2Xv","simple":"Meta-module_simple__3vUiI","slide":"Meta-module_slide__3g6fG","card":"Meta-module_card__LE1RK","game":"Meta-module_game__3aNlZ","isInMaterial":"Meta-module_isInMaterial__zaYMy","isInSearchItem":"Meta-module_isInSearchItem__1wbpx","isInMediaBlock":"Meta-module_isInMediaBlock__3xfPF","center":"Meta-module_center__3BBPr","half":"Meta-module_half__1xRkT","light":"Meta-module_light__2baE-","dark":"Meta-module_dark__24y9m","isDark":"Meta-module_isDark__3g22f","hasSource":"Meta-module_hasSource__2lXiN","bookmark":"Meta-module_bookmark__3ot3k","mobile":"Meta-module_mobile__22LGV","desktop":"Meta-module_desktop__1ZGUS"};
1083
1030
 
1084
1031
  var Meta = function Meta(_ref) {
1085
1032
  var hasSource = _ref.hasSource,
@@ -1087,10 +1034,10 @@ var Meta = function Meta(_ref) {
1087
1034
  children = _ref.children,
1088
1035
  onlyOn = _ref.onlyOn,
1089
1036
  styleContext = _ref.styleContext;
1090
- var classNames = [[styles$g.root, true], [styles$g[theme], !!theme && !!styles$g[theme]], [styles$g[onlyOn], !!onlyOn], [styles$g.hasSource, hasSource]];
1037
+ var classNames = [[styles$f.root, true], [styles$f[theme], !!theme && !!styles$f[theme]], [styles$f[onlyOn], !!onlyOn], [styles$f.hasSource, hasSource]];
1091
1038
 
1092
1039
  if (styleContext) {
1093
- classNames = makeStyleContext(classNames, styleContext, styles$g);
1040
+ classNames = makeStyleContext(classNames, styleContext, styles$f);
1094
1041
  }
1095
1042
 
1096
1043
  return React__default.createElement("div", {
@@ -1099,7 +1046,7 @@ var Meta = function Meta(_ref) {
1099
1046
  }, children);
1100
1047
  };
1101
1048
 
1102
- var styles$h = {"root":"Timestamp-module_root__coOvT"};
1049
+ var styles$g = {"root":"Timestamp-module_root__coOvT"};
1103
1050
 
1104
1051
  var Timestamp = function Timestamp(_ref) {
1105
1052
  var publishedAt = _ref.publishedAt,
@@ -1125,7 +1072,7 @@ var Timestamp = function Timestamp(_ref) {
1125
1072
  return React__default.createElement("time", {
1126
1073
  suppressHydrationWarning: true,
1127
1074
  "data-testid": "timestamp",
1128
- className: styles$h.root
1075
+ className: styles$g.root
1129
1076
  }, published);
1130
1077
  };
1131
1078
 
@@ -1192,7 +1139,7 @@ var DangerousHTML = function DangerousHTML(_ref) {
1192
1139
  }));
1193
1140
  };
1194
1141
 
1195
- var styles$i = {"root":"EmbedBlock-module_root__28k9U","object":"EmbedBlock-module_object__2_UZ7","objectWrap":"EmbedBlock-module_objectWrap__1aDVd","gameEmbed":"EmbedBlock-module_gameEmbed__AZQSo","proportional":"EmbedBlock-module_proportional__3lAv4","default":"EmbedBlock-module_default__LSDny","xs":"EmbedBlock-module_xs__1hFgW","full":"EmbedBlock-module_full__1TEjx","super_full":"EmbedBlock-module_super_full__1Fn9A","figure":"EmbedBlock-module_figure__vAvcN","dark":"EmbedBlock-module_dark__1be2G","isInGroupedBlock":"EmbedBlock-module_isInGroupedBlock__3r_i-","control":"EmbedBlock-module_control__xr8dZ","raw_html":"EmbedBlock-module_raw_html__MQoAA","mobileFullwidth":"EmbedBlock-module_mobileFullwidth__QFFLH","isInCard":"EmbedBlock-module_isInCard__37rtq","isInSlide":"EmbedBlock-module_isInSlide__2ea5q","cc":"EmbedBlock-module_cc__1BQ5g","isInSensitiveBlock":"EmbedBlock-module_isInSensitiveBlock__3wWYF","isInAnswer":"EmbedBlock-module_isInAnswer__tLlgs","picture":"EmbedBlock-module_picture__186q0","wrapper":"EmbedBlock-module_wrapper__33XvX","mobile":"EmbedBlock-module_mobile__1P-eo","desktop":"EmbedBlock-module_desktop__SF5a_"};
1142
+ var styles$h = {"root":"EmbedBlock-module_root__28k9U","object":"EmbedBlock-module_object__2_UZ7","objectWrap":"EmbedBlock-module_objectWrap__1aDVd","gameEmbed":"EmbedBlock-module_gameEmbed__AZQSo","proportional":"EmbedBlock-module_proportional__3lAv4","default":"EmbedBlock-module_default__LSDny","xs":"EmbedBlock-module_xs__1hFgW","full":"EmbedBlock-module_full__1TEjx","super_full":"EmbedBlock-module_super_full__1Fn9A","figure":"EmbedBlock-module_figure__vAvcN","dark":"EmbedBlock-module_dark__1be2G","isInGroupedBlock":"EmbedBlock-module_isInGroupedBlock__3r_i-","control":"EmbedBlock-module_control__xr8dZ","raw_html":"EmbedBlock-module_raw_html__MQoAA","mobileFullwidth":"EmbedBlock-module_mobileFullwidth__QFFLH","isInCard":"EmbedBlock-module_isInCard__37rtq","isInSlide":"EmbedBlock-module_isInSlide__2ea5q","cc":"EmbedBlock-module_cc__1BQ5g","isInSensitiveBlock":"EmbedBlock-module_isInSensitiveBlock__3wWYF","isInAnswer":"EmbedBlock-module_isInAnswer__tLlgs","picture":"EmbedBlock-module_picture__186q0","wrapper":"EmbedBlock-module_wrapper__33XvX","mobile":"EmbedBlock-module_mobile__1P-eo","desktop":"EmbedBlock-module_desktop__SF5a_"};
1196
1143
 
1197
1144
  var EmbedGif = function EmbedGif(_ref) {
1198
1145
  var gif = _ref.gif,
@@ -1238,9 +1185,9 @@ var EmbedGif = function EmbedGif(_ref) {
1238
1185
  };
1239
1186
  }, []);
1240
1187
  return React__default.createElement("div", {
1241
- className: styles$i.figure
1188
+ className: styles$h.figure
1242
1189
  }, React__default.createElement("div", {
1243
- className: styles$i.objectWrap,
1190
+ className: styles$h.objectWrap,
1244
1191
  style: style,
1245
1192
  "data-frozen": videoFrozen
1246
1193
  }, React__default.createElement("video", {
@@ -1306,7 +1253,7 @@ var EmbedBlock = function EmbedBlock(_ref) {
1306
1253
  case 'image':
1307
1254
  {
1308
1255
  return React__default.createElement("div", {
1309
- className: styles$i.figure
1256
+ className: styles$h.figure
1310
1257
  }, React__default.createElement(Image, {
1311
1258
  source: !optimized && [small, large],
1312
1259
  optimized: block.data.optimized,
@@ -1322,7 +1269,7 @@ var EmbedBlock = function EmbedBlock(_ref) {
1322
1269
  case 'game_embed':
1323
1270
  {
1324
1271
  return React__default.createElement("div", {
1325
- className: styles$i.gameEmbed
1272
+ className: styles$h.gameEmbed
1326
1273
  }, React__default.createElement("iframe", {
1327
1274
  src: block.data.game_src,
1328
1275
  id: block.data.game_id,
@@ -1333,7 +1280,7 @@ var EmbedBlock = function EmbedBlock(_ref) {
1333
1280
  case 'dots_on_image':
1334
1281
  {
1335
1282
  return React__default.createElement("div", {
1336
- className: styles$i.figure
1283
+ className: styles$h.figure
1337
1284
  }, React__default.createElement(DotsOnImage, {
1338
1285
  block: data
1339
1286
  }));
@@ -1342,12 +1289,12 @@ var EmbedBlock = function EmbedBlock(_ref) {
1342
1289
  default:
1343
1290
  {
1344
1291
  return React__default.createElement("div", {
1345
- className: styles$i.object
1292
+ className: styles$h.object
1346
1293
  }, React__default.createElement("div", {
1347
- className: styles$i.wrapper,
1294
+ className: styles$h.wrapper,
1348
1295
  style: style
1349
1296
  }, React__default.createElement(DangerousHTML, {
1350
- className: styles$i.objectWrap,
1297
+ className: styles$h.objectWrap,
1351
1298
  html: html
1352
1299
  })));
1353
1300
  }
@@ -1359,31 +1306,31 @@ var EmbedBlock = function EmbedBlock(_ref) {
1359
1306
  style.height = 0;
1360
1307
  }
1361
1308
 
1362
- var classNames = [[styles$i.root, true], [styles$i.cc, cc], [styles$i[display], !!display && styles$i[display]], [styles$i[provider], !!provider && !!styles$i[provider]], [styles$i[onlyOn], !!onlyOn && styles$i[onlyOn]], [styles$i.mobileFullwidth, mobileFullwidth], [styles$i.proportional, isProportional]]; // Убираем из контекста все, что не начинается с приставки isIn,
1309
+ var classNames = [[styles$h.root, true], [styles$h.cc, cc], [styles$h[display], !!display && styles$h[display]], [styles$h[provider], !!provider && !!styles$h[provider]], [styles$h[onlyOn], !!onlyOn && styles$h[onlyOn]], [styles$h.mobileFullwidth, mobileFullwidth], [styles$h.proportional, isProportional]]; // Убираем из контекста все, что не начинается с приставки isIn,
1363
1310
  // чтобы не применились лишние модификаторы
1364
1311
  // TODO: в w6 модификаторы должны передаваться явно
1365
1312
 
1366
1313
  if (styleContext && Array.isArray(styleContext)) {
1367
1314
  var filteredContext = styleContext.filter(function (key) {
1368
- return key.startsWith('isIn') && styles$i[key];
1315
+ return key.startsWith('isIn') && styles$h[key];
1369
1316
  }).reduce(function (acc, key) {
1370
1317
  acc.push(key);
1371
1318
  return acc;
1372
1319
  }, []);
1373
- classNames = makeStyleContext(classNames, filteredContext, styles$i);
1320
+ classNames = makeStyleContext(classNames, filteredContext, styles$h);
1374
1321
  }
1375
1322
 
1376
1323
  return React__default.createElement("figure", {
1377
1324
  className: makeClassName(classNames)
1378
1325
  }, children && React__default.createElement("div", {
1379
- className: styles$i.object
1326
+ className: styles$h.object
1380
1327
  }, React__default.createElement("div", {
1381
- className: styles$i.wrapper,
1328
+ className: styles$h.wrapper,
1382
1329
  style: style
1383
1330
  }, React__default.createElement("div", {
1384
- className: styles$i.objectWrap
1331
+ className: styles$h.objectWrap
1385
1332
  }, children))), !children && renderEmbed(style), cc === 'default' && React__default.createElement("figcaption", null, renderCC()), cc === 'button' && React__default.createElement("button", {
1386
- className: styles$i.control,
1333
+ className: styles$h.control,
1387
1334
  type: "button",
1388
1335
  "aria-label": "Open",
1389
1336
  onClick: function onClick() {
@@ -1459,15 +1406,15 @@ var EmbedBlockContainer = function EmbedBlockContainer(_ref) {
1459
1406
  });
1460
1407
  };
1461
1408
 
1462
- var styles$j = {"root":"QuoteBlock-module_root__2GrcC","center":"QuoteBlock-module_center__cTFNy"};
1409
+ var styles$i = {"root":"QuoteBlock-module_root__2GrcC","center":"QuoteBlock-module_center__cTFNy"};
1463
1410
 
1464
1411
  var QuoteBlock = function QuoteBlock(_ref) {
1465
1412
  var data = _ref.block.data,
1466
1413
  styleContext = _ref.styleContext;
1467
- var classNames = [[styles$j.root, true]];
1414
+ var classNames = [[styles$i.root, true]];
1468
1415
 
1469
1416
  if (styleContext) {
1470
- classNames = makeStyleContext(classNames, styleContext, styles$j);
1417
+ classNames = makeStyleContext(classNames, styleContext, styles$i);
1471
1418
  }
1472
1419
 
1473
1420
  return React__default.createElement("div", {
@@ -1480,7 +1427,7 @@ var QuoteBlock = function QuoteBlock(_ref) {
1480
1427
  }));
1481
1428
  };
1482
1429
 
1483
- var styles$k = {"root":"CardTitle-module_root__1uqqF","index":"CardTitle-module_index__4FsTf","title":"CardTitle-module_title__2iTI6","mobile":"CardTitle-module_mobile__1_kij","desktop":"CardTitle-module_desktop__1l3_n"};
1430
+ var styles$j = {"root":"CardTitle-module_root__1uqqF","index":"CardTitle-module_index__4FsTf","title":"CardTitle-module_title__2iTI6","mobile":"CardTitle-module_mobile__1_kij","desktop":"CardTitle-module_desktop__1l3_n"};
1484
1431
 
1485
1432
  var CardTitle = function CardTitle(_ref) {
1486
1433
  var _ref$block$data = _ref.block.data,
@@ -1490,15 +1437,15 @@ var CardTitle = function CardTitle(_ref) {
1490
1437
  styleContext = _ref.styleContext;
1491
1438
  return React__default.createElement("div", {
1492
1439
  "data-testid": "card-title",
1493
- className: makeClassName([[styles$k.root, true], [styles$k[onlyOn], !!onlyOn], [styles$k[styleContext], !!styleContext && !!styles$k[styleContext]]])
1440
+ className: makeClassName([[styles$j.root, true], [styles$j[onlyOn], !!onlyOn], [styles$j[styleContext], !!styleContext && !!styles$j[styleContext]]])
1494
1441
  }, React__default.createElement("div", {
1495
- className: styles$k.index
1442
+ className: styles$j.index
1496
1443
  }, index), React__default.createElement("h3", {
1497
- className: styles$k.title
1444
+ className: styles$j.title
1498
1445
  }, text));
1499
1446
  };
1500
1447
 
1501
- var styles$l = {"root":"ChapterBlock-module_root__1WyVn","subtitle":"ChapterBlock-module_subtitle__3TXll","mobile":"ChapterBlock-module_mobile__CiO0w","desktop":"ChapterBlock-module_desktop__tk1Nk"};
1448
+ var styles$k = {"root":"ChapterBlock-module_root__1WyVn","subtitle":"ChapterBlock-module_subtitle__3TXll","mobile":"ChapterBlock-module_mobile__CiO0w","desktop":"ChapterBlock-module_desktop__tk1Nk"};
1502
1449
 
1503
1450
  var ChapterBlock = function ChapterBlock(_ref) {
1504
1451
  var _ref$block = _ref.block,
@@ -1507,9 +1454,9 @@ var ChapterBlock = function ChapterBlock(_ref) {
1507
1454
  styleContext = _ref.styleContext;
1508
1455
  return React__default.createElement("div", {
1509
1456
  "data-testid": "chapter-block",
1510
- className: makeClassName([[styles$l.root, true], [styles$l[onlyOn], !!onlyOn]])
1457
+ className: makeClassName([[styles$k.root, true], [styles$k[onlyOn], !!onlyOn]])
1511
1458
  }, React__default.createElement("div", {
1512
- className: makeClassName([[styles$l.subtitle, true], [styles$l[styleContext], !!styleContext && !!styles$l[styleContext]]]),
1459
+ className: makeClassName([[styles$k.subtitle, true], [styles$k[styleContext], !!styleContext && !!styles$k[styleContext]]]),
1513
1460
  dangerouslySetInnerHTML: {
1514
1461
  __html: data
1515
1462
  }
@@ -1527,17 +1474,17 @@ var generateGradient = function generateGradient(color, type) {
1527
1474
  return "linear-gradient(-180deg, " + gradient + ")";
1528
1475
  };
1529
1476
 
1530
- var styles$m = {"root":"SimpleTitle-module_root__2jVQN","mobile":"SimpleTitle-module_mobile__11gBz","desktop":"SimpleTitle-module_desktop__3yXgy"};
1477
+ var styles$l = {"root":"SimpleTitle-module_root__2jVQN","mobile":"SimpleTitle-module_mobile__11gBz","desktop":"SimpleTitle-module_desktop__3yXgy"};
1531
1478
 
1532
1479
  var SimpleTitle = function SimpleTitle(_ref) {
1533
1480
  var _ref$block = _ref.block,
1534
1481
  first = _ref$block.data.first,
1535
1482
  onlyOn = _ref$block.only_on,
1536
1483
  styleContext = _ref.styleContext;
1537
- var classNames = [[styles$m.root, true], [styles$m[onlyOn], true]];
1484
+ var classNames = [[styles$l.root, true], [styles$l[onlyOn], true]];
1538
1485
 
1539
1486
  if (styleContext) {
1540
- classNames = makeStyleContext(classNames, styleContext, styles$m);
1487
+ classNames = makeStyleContext(classNames, styleContext, styles$l);
1541
1488
  }
1542
1489
 
1543
1490
  return React__default.createElement("h1", {
@@ -1546,7 +1493,7 @@ var SimpleTitle = function SimpleTitle(_ref) {
1546
1493
  }, first);
1547
1494
  };
1548
1495
 
1549
- var styles$n = {"root":"RichTitle-module_root__BK_WT","slide":"RichTitle-module_slide__1A-gB","game":"RichTitle-module_game__1g8Bn","half":"RichTitle-module_half__10GRI","featured":"RichTitle-module_featured__wJfaQ","isInMediaBlock":"RichTitle-module_isInMediaBlock__3RDw4","mobile":"RichTitle-module_mobile__1Cb6E","desktop":"RichTitle-module_desktop__2ixSQ"};
1496
+ var styles$m = {"root":"RichTitle-module_root__BK_WT","slide":"RichTitle-module_slide__1A-gB","game":"RichTitle-module_game__1g8Bn","half":"RichTitle-module_half__10GRI","featured":"RichTitle-module_featured__wJfaQ","isInMediaBlock":"RichTitle-module_isInMediaBlock__3RDw4","mobile":"RichTitle-module_mobile__1Cb6E","desktop":"RichTitle-module_desktop__2ixSQ"};
1550
1497
 
1551
1498
  var RichTitle = function RichTitle(_ref) {
1552
1499
  var _ref$block = _ref.block,
@@ -1558,10 +1505,10 @@ var RichTitle = function RichTitle(_ref) {
1558
1505
  _ref$block$data$as = _ref$block$data.as,
1559
1506
  TagName = _ref$block$data$as === void 0 ? 'h1' : _ref$block$data$as,
1560
1507
  styleContext = _ref.styleContext;
1561
- var classNames = [[styles$n.root, true], [styles$n[onlyOn], true], [styles$n.featured, !!featured]];
1508
+ var classNames = [[styles$m.root, true], [styles$m[onlyOn], true], [styles$m.featured, !!featured]];
1562
1509
 
1563
1510
  if (styleContext) {
1564
- classNames = makeStyleContext(classNames, styleContext, styles$n);
1511
+ classNames = makeStyleContext(classNames, styleContext, styles$m);
1565
1512
  }
1566
1513
 
1567
1514
  return React__default.createElement(TagName, {
@@ -1570,7 +1517,7 @@ var RichTitle = function RichTitle(_ref) {
1570
1517
  }, first, second && React__default.createElement("span", null, " ", second));
1571
1518
  };
1572
1519
 
1573
- var styles$o = {"p":"SimpleBlock-module_p__Q3azD","h2":"SimpleBlock-module_h2__S0LRs","h3":"SimpleBlock-module_h3__2Kv7Y","h4":"SimpleBlock-module_h4__2TJO3","lead":"SimpleBlock-module_lead__35nXx","lead_hr":"SimpleBlock-module_lead_hr__1yD5v","context_p":"SimpleBlock-module_context_p__33saY","blockquote":"SimpleBlock-module_blockquote__pwpcX","game":"SimpleBlock-module_game__2sjgl","slide":"SimpleBlock-module_slide__Aqgfu","dark":"SimpleBlock-module_dark__1J_ov","isInIntro":"SimpleBlock-module_isInIntro__DfutD","center":"SimpleBlock-module_center__2rjif","isInImportantLead":"SimpleBlock-module_isInImportantLead__3VGzT","isInAnswer":"SimpleBlock-module_isInAnswer__3aX6X","mobile":"SimpleBlock-module_mobile__Ckgek","desktop":"SimpleBlock-module_desktop__2se2o","isDark":"SimpleBlock-module_isDark__22q5s"};
1520
+ var styles$n = {"p":"SimpleBlock-module_p__Q3azD","h2":"SimpleBlock-module_h2__S0LRs","h3":"SimpleBlock-module_h3__2Kv7Y","h4":"SimpleBlock-module_h4__2TJO3","lead":"SimpleBlock-module_lead__35nXx","lead_hr":"SimpleBlock-module_lead_hr__1yD5v","context_p":"SimpleBlock-module_context_p__33saY","blockquote":"SimpleBlock-module_blockquote__pwpcX","game":"SimpleBlock-module_game__2sjgl","slide":"SimpleBlock-module_slide__Aqgfu","dark":"SimpleBlock-module_dark__1J_ov","isInIntro":"SimpleBlock-module_isInIntro__DfutD","center":"SimpleBlock-module_center__2rjif","isInImportantLead":"SimpleBlock-module_isInImportantLead__3VGzT","isInAnswer":"SimpleBlock-module_isInAnswer__3aX6X","mobile":"SimpleBlock-module_mobile__Ckgek","desktop":"SimpleBlock-module_desktop__2se2o","isDark":"SimpleBlock-module_isDark__22q5s"};
1574
1521
 
1575
1522
  var SimpleBlock = function SimpleBlock(_ref) {
1576
1523
  var _ref$block = _ref.block,
@@ -1579,10 +1526,10 @@ var SimpleBlock = function SimpleBlock(_ref) {
1579
1526
  onlyOn = _ref$block.only_on,
1580
1527
  styleContext = _ref.styleContext;
1581
1528
  var TagName;
1582
- var classNames = [[styles$o[type], !!type && !!styles$o[type]], [styles$o[onlyOn], true]];
1529
+ var classNames = [[styles$n[type], !!type && !!styles$n[type]], [styles$n[onlyOn], true]];
1583
1530
 
1584
1531
  if (styleContext) {
1585
- classNames = makeStyleContext(classNames, styleContext, styles$o);
1532
+ classNames = makeStyleContext(classNames, styleContext, styles$n);
1586
1533
  }
1587
1534
 
1588
1535
  switch (type) {
@@ -1613,7 +1560,7 @@ var SimpleBlock = function SimpleBlock(_ref) {
1613
1560
  });
1614
1561
  };
1615
1562
 
1616
- var styles$p = {"root":"ListBlock-module_root__3Q3Ga","ol":"ListBlock-module_ol__21CgV","ul":"ListBlock-module_ul__2MRrS","center":"ListBlock-module_center__tdIwd","isInImportantLead":"ListBlock-module_isInImportantLead__UP0ic","dark":"ListBlock-module_dark__3E3tV","mobile":"ListBlock-module_mobile__2-nuV","desktop":"ListBlock-module_desktop__1EE0g"};
1563
+ var styles$o = {"root":"ListBlock-module_root__3Q3Ga","ol":"ListBlock-module_ol__21CgV","ul":"ListBlock-module_ul__2MRrS","center":"ListBlock-module_center__tdIwd","isInImportantLead":"ListBlock-module_isInImportantLead__UP0ic","dark":"ListBlock-module_dark__3E3tV","mobile":"ListBlock-module_mobile__2-nuV","desktop":"ListBlock-module_desktop__1EE0g"};
1617
1564
 
1618
1565
  var ListBlock = function ListBlock(_ref) {
1619
1566
  var _ref$block = _ref.block,
@@ -1622,10 +1569,10 @@ var ListBlock = function ListBlock(_ref) {
1622
1569
  onlyOn = _ref$block.only_on,
1623
1570
  styleContext = _ref.styleContext;
1624
1571
  var TagName = type;
1625
- var classNames = [[styles$p.root, true], [styles$p[onlyOn], true], [styles$p[type], !!type && !!styles$p[type]]];
1572
+ var classNames = [[styles$o.root, true], [styles$o[onlyOn], true], [styles$o[type], !!type && !!styles$o[type]]];
1626
1573
 
1627
1574
  if (styleContext) {
1628
- classNames = makeStyleContext(classNames, styleContext, styles$p);
1575
+ classNames = makeStyleContext(classNames, styleContext, styles$o);
1629
1576
  }
1630
1577
 
1631
1578
  return React__default.createElement(TagName, {
@@ -1641,7 +1588,7 @@ var ListBlock = function ListBlock(_ref) {
1641
1588
  }));
1642
1589
  };
1643
1590
 
1644
- var styles$q = {"root":"RelatedBlock-module_root__IKcQq","header":"RelatedBlock-module_header__2SuWP","items":"RelatedBlock-module_items__2V-Ap","rich":"RelatedBlock-module_rich__ddaHq","first":"RelatedBlock-module_first__BKItW","simple":"RelatedBlock-module_simple__29HVO","center":"RelatedBlock-module_center__1LmW8","isInSlideMaterial":"RelatedBlock-module_isInSlideMaterial__2YSYG","mobile":"RelatedBlock-module_mobile__2XM5a","desktop":"RelatedBlock-module_desktop__2mXeq"};
1591
+ var styles$p = {"root":"RelatedBlock-module_root__IKcQq","header":"RelatedBlock-module_header__2SuWP","items":"RelatedBlock-module_items__2V-Ap","rich":"RelatedBlock-module_rich__ddaHq","first":"RelatedBlock-module_first__BKItW","simple":"RelatedBlock-module_simple__29HVO","center":"RelatedBlock-module_center__1LmW8","isInSlideMaterial":"RelatedBlock-module_isInSlideMaterial__2YSYG","mobile":"RelatedBlock-module_mobile__2XM5a","desktop":"RelatedBlock-module_desktop__2mXeq"};
1645
1592
 
1646
1593
  var RelatedBlock = function RelatedBlock(_ref) {
1647
1594
  var _ref$block = _ref.block,
@@ -1650,32 +1597,32 @@ var RelatedBlock = function RelatedBlock(_ref) {
1650
1597
  related = _ref$block$data.related,
1651
1598
  onlyOn = _ref$block.only_on,
1652
1599
  styleContext = _ref.styleContext;
1653
- var classNames = [[styles$q.root, true], [styles$q[onlyOn], true]];
1600
+ var classNames = [[styles$p.root, true], [styles$p[onlyOn], true]];
1654
1601
 
1655
1602
  if (styleContext) {
1656
- classNames = makeStyleContext(classNames, styleContext, styles$q);
1603
+ classNames = makeStyleContext(classNames, styleContext, styles$p);
1657
1604
  }
1658
1605
 
1659
1606
  return React__default.createElement("div", {
1660
1607
  "data-testid": "related-block",
1661
1608
  className: makeClassName(classNames)
1662
1609
  }, React__default.createElement("h3", {
1663
- className: styles$q.header
1610
+ className: styles$p.header
1664
1611
  }, title), React__default.createElement("ul", {
1665
- className: styles$q.items
1612
+ className: styles$p.items
1666
1613
  }, related.map(function (item, index) {
1667
1614
  return React__default.createElement("li", {
1668
1615
  key: item.id || index,
1669
- className: styles$q[item.layout]
1616
+ className: styles$p[item.layout]
1670
1617
  }, React__default.createElement(reactRouterDom.Link, {
1671
1618
  to: item.full_url || "/" + item.url
1672
1619
  }, React__default.createElement("span", {
1673
- className: styles$q.first
1620
+ className: styles$p.first
1674
1621
  }, item.title), item.second_title && ' ', item.second_title && React__default.createElement("span", null, item.second_title)));
1675
1622
  })));
1676
1623
  };
1677
1624
 
1678
- var styles$r = {"root":"SourceBlock-module_root__1P3XD","text":"SourceBlock-module_text__Si4vm","origin":"SourceBlock-module_origin__l3JbO","center":"SourceBlock-module_center__3P93B","mobile":"SourceBlock-module_mobile__2gw4S","desktop":"SourceBlock-module_desktop__DecT6","isDark":"SourceBlock-module_isDark__3hEEp"};
1625
+ var styles$q = {"root":"SourceBlock-module_root__1P3XD","text":"SourceBlock-module_text__Si4vm","origin":"SourceBlock-module_origin__l3JbO","center":"SourceBlock-module_center__3P93B","mobile":"SourceBlock-module_mobile__2gw4S","desktop":"SourceBlock-module_desktop__DecT6","isDark":"SourceBlock-module_isDark__3hEEp"};
1679
1626
 
1680
1627
  var SourceBlock = function SourceBlock(_ref) {
1681
1628
  var _ref$block = _ref.block,
@@ -1685,10 +1632,10 @@ var SourceBlock = function SourceBlock(_ref) {
1685
1632
  origin = _ref$block$data.origin,
1686
1633
  url = _ref$block$data.url,
1687
1634
  styleContext = _ref.styleContext;
1688
- var classNames = [[styles$r.root, true], [styles$r[onlyOn], true]];
1635
+ var classNames = [[styles$q.root, true], [styles$q[onlyOn], true]];
1689
1636
 
1690
1637
  if (styleContext) {
1691
- classNames = makeStyleContext(classNames, styleContext, styles$r);
1638
+ classNames = makeStyleContext(classNames, styleContext, styles$q);
1692
1639
  }
1693
1640
 
1694
1641
  return React__default.createElement("blockquote", {
@@ -1696,7 +1643,7 @@ var SourceBlock = function SourceBlock(_ref) {
1696
1643
  cite: url,
1697
1644
  className: makeClassName(classNames)
1698
1645
  }, React__default.createElement("a", {
1699
- className: styles$r.text,
1646
+ className: styles$q.text,
1700
1647
  href: url,
1701
1648
  target: "_blank",
1702
1649
  rel: "noopener noreferrer"
@@ -1708,11 +1655,11 @@ var SourceBlock = function SourceBlock(_ref) {
1708
1655
  }
1709
1656
  });
1710
1657
  }), React__default.createElement("footer", null, React__default.createElement("cite", {
1711
- className: styles$r.origin
1658
+ className: styles$q.origin
1712
1659
  }, origin))));
1713
1660
  };
1714
1661
 
1715
- var styles$s = {"root":"SensitiveBlock-module_root__2iJbD","container":"SensitiveBlock-module_container__1Wtix","overlay":"SensitiveBlock-module_overlay__hfDVS","content":"SensitiveBlock-module_content__sNpxZ","button":"SensitiveBlock-module_button__3BGZK","default":"SensitiveBlock-module_default__2HgmZ","full":"SensitiveBlock-module_full__3Hph9","media":"SensitiveBlock-module_media__3wnlo","super_full":"SensitiveBlock-module_super_full__14UOv","visible":"SensitiveBlock-module_visible__1B-NV","isInCard":"SensitiveBlock-module_isInCard__1L-lu","isInSlide":"SensitiveBlock-module_isInSlide__f_Ql2"};
1662
+ var styles$r = {"root":"SensitiveBlock-module_root__2iJbD","container":"SensitiveBlock-module_container__1Wtix","overlay":"SensitiveBlock-module_overlay__hfDVS","content":"SensitiveBlock-module_content__sNpxZ","button":"SensitiveBlock-module_button__3BGZK","default":"SensitiveBlock-module_default__2HgmZ","full":"SensitiveBlock-module_full__3Hph9","media":"SensitiveBlock-module_media__3wnlo","super_full":"SensitiveBlock-module_super_full__14UOv","visible":"SensitiveBlock-module_visible__1B-NV","isInCard":"SensitiveBlock-module_isInCard__1L-lu","isInSlide":"SensitiveBlock-module_isInSlide__f_Ql2"};
1716
1663
 
1717
1664
  var SensitiveBlock = function SensitiveBlock(_ref) {
1718
1665
  var block = _ref.block,
@@ -1732,11 +1679,11 @@ var SensitiveBlock = function SensitiveBlock(_ref) {
1732
1679
  isVisible(true);
1733
1680
  };
1734
1681
 
1735
- var classNames = [[styles$s.root, true], [styles$s.visible, visible], [styles$s[display], display && styles$s[display]]];
1682
+ var classNames = [[styles$r.root, true], [styles$r.visible, visible], [styles$r[display], display && styles$r[display]]];
1736
1683
  var context = ['isInSensitiveBlock'];
1737
1684
 
1738
1685
  if (styleContext) {
1739
- classNames = makeStyleContext(classNames, styleContext, styles$s);
1686
+ classNames = makeStyleContext(classNames, styleContext, styles$r);
1740
1687
  context = [].concat(styleContext, ['isInSensitiveBlock']);
1741
1688
  }
1742
1689
 
@@ -1744,32 +1691,32 @@ var SensitiveBlock = function SensitiveBlock(_ref) {
1744
1691
  "data-testid": "sensitive-block",
1745
1692
  className: makeClassName(classNames)
1746
1693
  }, React__default.createElement("div", {
1747
- className: styles$s.container
1694
+ className: styles$r.container
1748
1695
  }, React__default.createElement("div", {
1749
- className: styles$s.overlay,
1696
+ className: styles$r.overlay,
1750
1697
  style: {
1751
1698
  backgroundImage: "url(" + blurredImage + ")"
1752
1699
  }
1753
1700
  }, React__default.createElement("div", {
1754
- className: styles$s.content
1701
+ className: styles$r.content
1755
1702
  }, React__default.createElement("p", {
1756
1703
  dangerouslySetInnerHTML: {
1757
1704
  __html: block.title
1758
1705
  }
1759
1706
  }), React__default.createElement("div", {
1760
- className: styles$s.button
1707
+ className: styles$r.button
1761
1708
  }, React__default.createElement(Button, {
1762
1709
  onClick: function onClick() {
1763
1710
  return handleClick();
1764
1711
  },
1765
1712
  theme: "light"
1766
1713
  }, block.button.text)))), React__default.createElement("div", {
1767
- className: styles$s.media
1714
+ className: styles$r.media
1768
1715
  }, React__default.createElement(EmbedBlockContainer, {
1769
1716
  block: block.item,
1770
1717
  styleContext: context
1771
1718
  }))), cc && React__default.createElement("figcaption", {
1772
- className: styles$s.figcaption
1719
+ className: styles$r.figcaption
1773
1720
  }, React__default.createElement(MediaCaption, {
1774
1721
  credit: credit,
1775
1722
  caption: caption,
@@ -1777,7 +1724,7 @@ var SensitiveBlock = function SensitiveBlock(_ref) {
1777
1724
  })));
1778
1725
  };
1779
1726
 
1780
- var styles$t = {"root":"GroupedBlock-module_root__2qfQA","hasFigcaption":"GroupedBlock-module_hasFigcaption__2_mcf","item":"GroupedBlock-module_item__3sz9_","items":"GroupedBlock-module_items__2DV2X","figcaption":"GroupedBlock-module_figcaption__2Q_wf","default":"GroupedBlock-module_default__3ylw_","full":"GroupedBlock-module_full__1dzQR","super_full":"GroupedBlock-module_super_full__1PU72","mobile":"GroupedBlock-module_mobile__3n8Ub","desktop":"GroupedBlock-module_desktop__6ZRpA"};
1727
+ var styles$s = {"root":"GroupedBlock-module_root__2qfQA","hasFigcaption":"GroupedBlock-module_hasFigcaption__2_mcf","item":"GroupedBlock-module_item__3sz9_","items":"GroupedBlock-module_items__2DV2X","figcaption":"GroupedBlock-module_figcaption__2Q_wf","default":"GroupedBlock-module_default__3ylw_","full":"GroupedBlock-module_full__1dzQR","super_full":"GroupedBlock-module_super_full__1PU72","mobile":"GroupedBlock-module_mobile__3n8Ub","desktop":"GroupedBlock-module_desktop__6ZRpA"};
1781
1728
 
1782
1729
  var GroupedBlock = function GroupedBlock(_ref) {
1783
1730
  var block = _ref.block,
@@ -1794,21 +1741,21 @@ var GroupedBlock = function GroupedBlock(_ref) {
1794
1741
  var sumWidth = normalizedBoxesWidth.reduce(function (sum, x) {
1795
1742
  return sum + x;
1796
1743
  });
1797
- var classNames = [[styles$t.root, true], [styles$t[onlyOn], true], [styles$t.hasFigcaption, block.cc === 'default'], [styles$t[block.display], !!block.display && styles$t[block.display]]];
1744
+ var classNames = [[styles$s.root, true], [styles$s[onlyOn], true], [styles$s.hasFigcaption, block.cc === 'default'], [styles$s[block.display], !!block.display && styles$s[block.display]]];
1798
1745
 
1799
1746
  if (styleContext) {
1800
- classNames = makeStyleContext(classNames, styleContext, styles$t);
1747
+ classNames = makeStyleContext(classNames, styleContext, styles$s);
1801
1748
  }
1802
1749
 
1803
1750
  return React__default.createElement("div", {
1804
1751
  "data-testid": "grouped-block",
1805
1752
  className: makeClassName(classNames)
1806
1753
  }, React__default.createElement("div", {
1807
- className: styles$t.items
1754
+ className: styles$s.items
1808
1755
  }, block.data.map(function (item, index) {
1809
1756
  var percentWidth = normalizedBoxesWidth[index] / sumWidth * 100;
1810
1757
  return React__default.createElement("div", {
1811
- className: styles$t.item,
1758
+ className: styles$s.item,
1812
1759
  key: item.id,
1813
1760
  style: {
1814
1761
  width: percentWidth + "%"
@@ -1821,7 +1768,7 @@ var GroupedBlock = function GroupedBlock(_ref) {
1821
1768
  styleContext: ['isInGroupedBlock']
1822
1769
  }));
1823
1770
  })), block.cc && React__default.createElement("figcaption", {
1824
- className: styles$t.figcaption
1771
+ className: styles$s.figcaption
1825
1772
  }, React__default.createElement(MediaCaption, {
1826
1773
  credit: block.credit,
1827
1774
  caption: block.caption,
@@ -1829,32 +1776,32 @@ var GroupedBlock = function GroupedBlock(_ref) {
1829
1776
  })));
1830
1777
  };
1831
1778
 
1832
- var styles$u = {"root":"MetaItem-module_root__2VQom","hasBullets":"MetaItem-module_hasBullets__CkQPI","hasSource":"MetaItem-module_hasSource__1DmCI","listened":"MetaItem-module_listened__lwvAO","read":"MetaItem-module_read__5eAIG","datetime":"MetaItem-module_datetime__3tOWm"};
1779
+ var styles$t = {"root":"MetaItem-module_root__2VQom","hasBullets":"MetaItem-module_hasBullets__CkQPI","hasSource":"MetaItem-module_hasSource__1DmCI","listened":"MetaItem-module_listened__lwvAO","read":"MetaItem-module_read__5eAIG","datetime":"MetaItem-module_datetime__3tOWm"};
1833
1780
 
1834
1781
  var MetaItem = function MetaItem(_ref) {
1835
1782
  var hasSource = _ref.hasSource,
1836
1783
  type = _ref.type,
1837
1784
  children = _ref.children,
1838
1785
  bullets = _ref.bullets;
1839
- var classNames = [[styles$u.root, true], [styles$u[type], !!type && !!styles$u[type]], [styles$u.hasSource, !!hasSource], [styles$u.hasBullets, !!bullets]];
1786
+ var classNames = [[styles$t.root, true], [styles$t[type], !!type && !!styles$t[type]], [styles$t.hasSource, !!hasSource], [styles$t.hasBullets, !!bullets]];
1840
1787
  return React__default.createElement("div", {
1841
1788
  "data-testid": "meta-item",
1842
1789
  className: makeClassName(classNames)
1843
1790
  }, children);
1844
1791
  };
1845
1792
 
1846
- var styles$v = {"root":"MetaItemLive-module_root__2mpD3","gold":"MetaItemLive-module_gold__3yZEV","frame":"MetaItemLive-module_frame__1H_Ha","liveMiddle":"MetaItemLive-module_liveMiddle__wyuV3","liveFirstWave":"MetaItemLive-module_liveFirstWave__3dbvz","liveSecondWave":"MetaItemLive-module_liveSecondWave__12g57"};
1793
+ var styles$u = {"root":"MetaItemLive-module_root__2mpD3","gold":"MetaItemLive-module_gold__3yZEV","frame":"MetaItemLive-module_frame__1H_Ha","liveMiddle":"MetaItemLive-module_liveMiddle__wyuV3","liveFirstWave":"MetaItemLive-module_liveFirstWave__3dbvz","liveSecondWave":"MetaItemLive-module_liveSecondWave__12g57"};
1847
1794
 
1848
1795
  var MetaItemLive = function MetaItemLive(_ref) {
1849
1796
  var _ref$theme = _ref.theme,
1850
1797
  theme = _ref$theme === void 0 ? 'gold' : _ref$theme;
1851
- var classNames = [[styles$v.root, true], [styles$v[theme], !!theme && styles$v[theme]]];
1798
+ var classNames = [[styles$u.root, true], [styles$u[theme], !!theme && styles$u[theme]]];
1852
1799
  return React__default.createElement("div", {
1853
1800
  "data-testid": "meta-item-live",
1854
1801
  "data-meta": "live",
1855
1802
  className: makeClassName(classNames)
1856
1803
  }, React__default.createElement("div", {
1857
- className: styles$v.frame
1804
+ className: styles$u.frame
1858
1805
  }));
1859
1806
  };
1860
1807
 
@@ -1879,7 +1826,7 @@ var pluralize = function pluralize(number, one, two, five) {
1879
1826
  return five;
1880
1827
  };
1881
1828
 
1882
- var styles$w = {"root":"DocumentItemsCount-module_root__P3q-z","items":"DocumentItemsCount-module_items__3pfxW"};
1829
+ var styles$v = {"root":"DocumentItemsCount-module_root__P3q-z","items":"DocumentItemsCount-module_items__3pfxW"};
1883
1830
 
1884
1831
  var DocumentItemsCount = function DocumentItemsCount(_ref) {
1885
1832
  var type = _ref.type,
@@ -1916,9 +1863,9 @@ var DocumentItemsCount = function DocumentItemsCount(_ref) {
1916
1863
  var itemsCount = items + " " + pluralize(items, i18n[lang][type].one, i18n[lang][type].two, i18n[lang][type].five);
1917
1864
  return React__default.createElement("div", {
1918
1865
  "data-testid": "document-items-count",
1919
- className: styles$w.root
1866
+ className: styles$v.root
1920
1867
  }, children, React__default.createElement("span", {
1921
- className: styles$w.items
1868
+ className: styles$v.items
1922
1869
  }, itemsCount));
1923
1870
  };
1924
1871
 
@@ -2041,7 +1988,7 @@ var MetaContainer = function MetaContainer(_ref) {
2041
1988
  icon: isListened ? 'listened' : 'read',
2042
1989
  size: "unset"
2043
1990
  })), isSlides && lang === 'ru' && React__default.createElement("div", {
2044
- className: styles$g.bookmark
1991
+ className: styles$f.bookmark
2045
1992
  }, React__default.createElement(BookmarkButton, {
2046
1993
  isInBookmarks: isInBookmarks,
2047
1994
  onClick: function onClick() {
@@ -2050,6 +1997,55 @@ var MetaContainer = function MetaContainer(_ref) {
2050
1997
  })));
2051
1998
  };
2052
1999
 
2000
+ var styles$w = {"root":"DonatesTeaser-module_root__3rtaJ","ctaInner":"DonatesTeaser-module_ctaInner__2LChL","main":"DonatesTeaser-module_main__YBt6p","title":"DonatesTeaser-module_title__hs-yr","text":"DonatesTeaser-module_text__ro-QA","cta":"DonatesTeaser-module_cta__1orPb","center":"DonatesTeaser-module_center__2Ynx9","isInCard":"DonatesTeaser-module_isInCard__HrFh8","isInSlide":"DonatesTeaser-module_isInSlide__1vC4Z"};
2001
+
2002
+ var DonatesTeaser = function DonatesTeaser(_ref) {
2003
+ var styleContext = _ref.styleContext,
2004
+ _ref$lang = _ref.lang,
2005
+ lang = _ref$lang === void 0 ? 'ru' : _ref$lang;
2006
+ var classNames = [[styles$w.root, true]];
2007
+
2008
+ if (styleContext) {
2009
+ classNames = makeStyleContext(classNames, styleContext, styles$w);
2010
+ }
2011
+
2012
+ var data = {
2013
+ ru: {
2014
+ title: 'Слушайте музыку, помогайте «Медузе»',
2015
+ // subtitle:
2016
+ // '«Медуза» продолжает работать, потому что есть вы',
2017
+ button: 'Дать денег',
2018
+ href: 'https://support.meduza.io'
2019
+ },
2020
+ en: {
2021
+ title: 'Tune in and help Meduza!',
2022
+ // subtitle: 'We’re only here thanks to you.',
2023
+ button: 'Pledge today',
2024
+ href: 'https://support.meduza.io/en'
2025
+ }
2026
+ };
2027
+ return React__default.createElement("div", {
2028
+ "data-testid": "donates-teaser",
2029
+ className: makeClassName(classNames)
2030
+ }, React__default.createElement("div", {
2031
+ className: styles$w.main
2032
+ }, React__default.createElement("h3", {
2033
+ className: styles$w.title
2034
+ }, React__default.createElement("span", {
2035
+ dangerouslySetInnerHTML: {
2036
+ __html: data[lang].title
2037
+ }
2038
+ }))), React__default.createElement("div", {
2039
+ className: styles$w.cta
2040
+ }, React__default.createElement("a", {
2041
+ href: data[lang].href,
2042
+ target: "_blank",
2043
+ rel: "noreferrer"
2044
+ }, React__default.createElement("span", {
2045
+ className: styles$w.ctaInner
2046
+ }, data[lang].button))));
2047
+ };
2048
+
2053
2049
  var RenderBlocks = function RenderBlocks(_ref) {
2054
2050
  var block = _ref.block,
2055
2051
  styleContext = _ref.styleContext,
@@ -2190,10 +2186,15 @@ var RenderBlocks = function RenderBlocks(_ref) {
2190
2186
  styleContext: styleContext
2191
2187
  });
2192
2188
 
2189
+ case 'dotanes':
2190
+ return React__default.createElement(DonatesTeaser, {
2191
+ styleContext: styleContext,
2192
+ lang: lang
2193
+ });
2194
+
2193
2195
  case 'material_note':
2194
2196
  return React__default.createElement(MaterialNote, {
2195
2197
  block: block,
2196
- lang: block.lang,
2197
2198
  styleContext: styleContext
2198
2199
  });
2199
2200