@mjhls/mjh-framework 1.0.966-reference-serializer-v2 → 1.0.966-test

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.
Files changed (88) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AlgoliaSearch.js +15 -131
  3. package/dist/cjs/ArticleProgramLandingPage.js +1 -1
  4. package/dist/cjs/AuthWrapper.js +1 -1
  5. package/dist/cjs/ConferenceArticleCard.js +15 -15
  6. package/dist/cjs/ContentCardPaginated.js +2 -1
  7. package/dist/cjs/DeckContent.js +8 -8
  8. package/dist/cjs/DeckQueuePaginated.js +2 -1
  9. package/dist/cjs/EventsDeck.js +17 -17
  10. package/dist/cjs/ExternalResources.js +1 -1
  11. package/dist/cjs/GridContentPaginated.js +2 -1
  12. package/dist/cjs/HamMagazine.js +9 -9
  13. package/dist/cjs/HealthCareProfessionalModal.js +1 -1
  14. package/dist/cjs/HorizontalArticleListing.js +1 -1
  15. package/dist/cjs/IssueLanding.js +30 -30
  16. package/dist/cjs/KMTracker.js +15 -15
  17. package/dist/cjs/MasterDeck.js +8 -8
  18. package/dist/cjs/MasterDeckPaginated.js +10 -9
  19. package/dist/cjs/{MediaSeriesCard-988b53d3.js → MediaSeriesCard-4bffa27e.js} +2 -2
  20. package/dist/cjs/MediaSeriesLanding.js +7 -7
  21. package/dist/cjs/MediaSeriesLandingPaginated.js +9 -8
  22. package/dist/cjs/NavMagazine.js +10 -10
  23. package/dist/cjs/NavNative.js +9 -9
  24. package/dist/cjs/Pagination-c63770a3.js +90 -0
  25. package/dist/cjs/PartnerDetailListing.js +1 -1
  26. package/dist/cjs/PartnerDetailListingPaginated.js +3 -2
  27. package/dist/cjs/PublicationLanding.js +26 -26
  28. package/dist/cjs/QueueDeckExpandedPaginated.js +2 -1
  29. package/dist/cjs/RelatedContent.js +28 -28
  30. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  31. package/dist/cjs/SeriesListingDeck.js +1 -1
  32. package/dist/cjs/{SeriesSlider-74546d19.js → SeriesSlider-594b19eb.js} +4 -4
  33. package/dist/cjs/SideFooter.js +2 -2
  34. package/dist/cjs/TaxonomyDescription.js +1 -1
  35. package/dist/cjs/VideoProgramLandingPage.js +1 -1
  36. package/dist/cjs/VideoSeriesCard.js +1 -1
  37. package/dist/cjs/View.js +12 -16
  38. package/dist/cjs/YoutubeGroup.js +4 -4
  39. package/dist/cjs/getSerializers.js +1 -1
  40. package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-3c5754ac.js} +9 -9
  41. package/dist/cjs/getTargeting.js +1 -1
  42. package/dist/cjs/{index-3972d55f.js → index-e8c2ed3b.js} +41 -473
  43. package/dist/cjs/index.js +4 -3
  44. package/dist/esm/AlgoliaSearch.js +16 -132
  45. package/dist/esm/ArticleProgramLandingPage.js +1 -1
  46. package/dist/esm/AuthWrapper.js +1 -1
  47. package/dist/esm/ConferenceArticleCard.js +15 -15
  48. package/dist/esm/ContentCardPaginated.js +2 -1
  49. package/dist/esm/DeckContent.js +8 -8
  50. package/dist/esm/DeckQueuePaginated.js +2 -1
  51. package/dist/esm/EventsDeck.js +17 -17
  52. package/dist/esm/ExternalResources.js +1 -1
  53. package/dist/esm/GridContentPaginated.js +2 -1
  54. package/dist/esm/HamMagazine.js +9 -9
  55. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  56. package/dist/esm/HorizontalArticleListing.js +1 -1
  57. package/dist/esm/IssueLanding.js +30 -30
  58. package/dist/esm/KMTracker.js +15 -15
  59. package/dist/esm/MasterDeck.js +8 -8
  60. package/dist/esm/MasterDeckPaginated.js +10 -9
  61. package/dist/esm/{MediaSeriesCard-0c8104cb.js → MediaSeriesCard-d605f453.js} +2 -2
  62. package/dist/esm/MediaSeriesLanding.js +7 -7
  63. package/dist/esm/MediaSeriesLandingPaginated.js +9 -8
  64. package/dist/esm/NavMagazine.js +10 -10
  65. package/dist/esm/NavNative.js +9 -9
  66. package/dist/esm/Pagination-6f8d5327.js +82 -0
  67. package/dist/esm/PartnerDetailListing.js +1 -1
  68. package/dist/esm/PartnerDetailListingPaginated.js +3 -2
  69. package/dist/esm/PublicationLanding.js +26 -26
  70. package/dist/esm/QueueDeckExpandedPaginated.js +2 -1
  71. package/dist/esm/RelatedContent.js +28 -28
  72. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  73. package/dist/esm/SeriesListingDeck.js +1 -1
  74. package/dist/esm/{SeriesSlider-e495571f.js → SeriesSlider-f771e20d.js} +4 -4
  75. package/dist/esm/SideFooter.js +2 -2
  76. package/dist/esm/TaxonomyDescription.js +1 -1
  77. package/dist/esm/VideoProgramLandingPage.js +1 -1
  78. package/dist/esm/VideoSeriesCard.js +1 -1
  79. package/dist/esm/View.js +11 -16
  80. package/dist/esm/YoutubeGroup.js +4 -4
  81. package/dist/esm/getSerializers.js +1 -1
  82. package/dist/esm/{getTargeting-04d979c9.js → getTargeting-42f9b439.js} +9 -9
  83. package/dist/esm/getTargeting.js +1 -1
  84. package/dist/esm/{index-4cef488a.js → index-cefa7325.js} +41 -473
  85. package/dist/esm/index.js +4 -3
  86. package/package.json +115 -117
  87. package/dist/cjs/Pagination-30bb1ca1.js +0 -97
  88. package/dist/esm/Pagination-194dd03f.js +0 -90
@@ -10338,433 +10338,6 @@ var BlockTable = function BlockTable(props) {
10338
10338
  );
10339
10339
  };
10340
10340
 
10341
- var bibtexParse = _commonjsHelpers.createCommonjsModule(function (module, exports) {
10342
- /* start bibtexParse 0.0.24 */
10343
-
10344
- //Original work by Henrik Muehe (c) 2010
10345
- //
10346
- //CommonJS port by Mikola Lysenko 2013
10347
- //
10348
- //Port to Browser lib by ORCID / RCPETERS
10349
- //
10350
- //Issues:
10351
- //no comment handling within strings
10352
- //no string concatenation
10353
- //no variable values yet
10354
- //Grammar implemented here:
10355
- //bibtex -> (string | preamble | comment | entry)*;
10356
- //string -> '@STRING' '{' key_equals_value '}';
10357
- //preamble -> '@PREAMBLE' '{' value '}';
10358
- //comment -> '@COMMENT' '{' value '}';
10359
- //entry -> '@' key '{' key ',' key_value_list '}';
10360
- //key_value_list -> key_equals_value (',' key_equals_value)*;
10361
- //key_equals_value -> key '=' value;
10362
- //value -> value_quotes | value_braces | key;
10363
- //value_quotes -> '"' .*? '"'; // not quite
10364
- //value_braces -> '{' .*? '"'; // not quite
10365
- (function(exports) {
10366
-
10367
- function BibtexParser() {
10368
-
10369
- this.months = ["jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"];
10370
- this.notKey = [',','{','}',' ','='];
10371
- this.pos = 0;
10372
- this.input = "";
10373
- this.entries = new Array();
10374
-
10375
- this.currentEntry = "";
10376
-
10377
- this.setInput = function(t) {
10378
- this.input = t;
10379
- };
10380
-
10381
- this.getEntries = function() {
10382
- return this.entries;
10383
- };
10384
-
10385
- this.isWhitespace = function(s) {
10386
- return (s == ' ' || s == '\r' || s == '\t' || s == '\n');
10387
- };
10388
-
10389
- this.match = function(s, canCommentOut) {
10390
- if (canCommentOut == undefined || canCommentOut == null)
10391
- canCommentOut = true;
10392
- this.skipWhitespace(canCommentOut);
10393
- if (this.input.substring(this.pos, this.pos + s.length) == s) {
10394
- this.pos += s.length;
10395
- } else {
10396
- throw "Token mismatch, expected " + s + ", found "
10397
- + this.input.substring(this.pos);
10398
- } this.skipWhitespace(canCommentOut);
10399
- };
10400
-
10401
- this.tryMatch = function(s, canCommentOut) {
10402
- if (canCommentOut == undefined || canCommentOut == null)
10403
- canCommentOut = true;
10404
- this.skipWhitespace(canCommentOut);
10405
- if (this.input.substring(this.pos, this.pos + s.length) == s) {
10406
- return true;
10407
- } else {
10408
- return false;
10409
- } };
10410
-
10411
- /* when search for a match all text can be ignored, not just white space */
10412
- this.matchAt = function() {
10413
- while (this.input.length > this.pos && this.input[this.pos] != '@') {
10414
- this.pos++;
10415
- }
10416
- if (this.input[this.pos] == '@') {
10417
- return true;
10418
- } return false;
10419
- };
10420
-
10421
- this.skipWhitespace = function(canCommentOut) {
10422
- while (this.isWhitespace(this.input[this.pos])) {
10423
- this.pos++;
10424
- } if (this.input[this.pos] == "%" && canCommentOut == true) {
10425
- while (this.input[this.pos] != "\n") {
10426
- this.pos++;
10427
- } this.skipWhitespace(canCommentOut);
10428
- } };
10429
-
10430
- this.value_braces = function() {
10431
- var bracecount = 0;
10432
- this.match("{", false);
10433
- var start = this.pos;
10434
- var escaped = false;
10435
- while (true) {
10436
- if (!escaped) {
10437
- if (this.input[this.pos] == '}') {
10438
- if (bracecount > 0) {
10439
- bracecount--;
10440
- } else {
10441
- var end = this.pos;
10442
- this.match("}", false);
10443
- return this.input.substring(start, end);
10444
- } } else if (this.input[this.pos] == '{') {
10445
- bracecount++;
10446
- } else if (this.pos >= this.input.length - 1) {
10447
- throw "Unterminated value";
10448
- } } if (this.input[this.pos] == '\\' && escaped == false)
10449
- escaped = true;
10450
- else
10451
- escaped = false;
10452
- this.pos++;
10453
- } };
10454
-
10455
- this.value_comment = function() {
10456
- var str = '';
10457
- var brcktCnt = 0;
10458
- while (!(this.tryMatch("}", false) && brcktCnt == 0)) {
10459
- str = str + this.input[this.pos];
10460
- if (this.input[this.pos] == '{')
10461
- brcktCnt++;
10462
- if (this.input[this.pos] == '}')
10463
- brcktCnt--;
10464
- if (this.pos >= this.input.length - 1) {
10465
- throw "Unterminated value:" + this.input.substring(start);
10466
- } this.pos++;
10467
- } return str;
10468
- };
10469
-
10470
- this.value_quotes = function() {
10471
- this.match('"', false);
10472
- var start = this.pos;
10473
- var escaped = false;
10474
- while (true) {
10475
- if (!escaped) {
10476
- if (this.input[this.pos] == '"') {
10477
- var end = this.pos;
10478
- this.match('"', false);
10479
- return this.input.substring(start, end);
10480
- } else if (this.pos >= this.input.length - 1) {
10481
- throw "Unterminated value:" + this.input.substring(start);
10482
- } }
10483
- if (this.input[this.pos] == '\\' && escaped == false)
10484
- escaped = true;
10485
- else
10486
- escaped = false;
10487
- this.pos++;
10488
- } };
10489
-
10490
- this.single_value = function() {
10491
- var start = this.pos;
10492
- if (this.tryMatch("{")) {
10493
- return this.value_braces();
10494
- } else if (this.tryMatch('"')) {
10495
- return this.value_quotes();
10496
- } else {
10497
- var k = this.key();
10498
- if (k.match("^[0-9]+$"))
10499
- return k;
10500
- else if (this.months.indexOf(k.toLowerCase()) >= 0)
10501
- return k.toLowerCase();
10502
- else
10503
- throw "Value expected:" + this.input.substring(start) + ' for key: ' + k;
10504
-
10505
- } };
10506
-
10507
- this.value = function() {
10508
- var values = [];
10509
- values.push(this.single_value());
10510
- while (this.tryMatch("#")) {
10511
- this.match("#");
10512
- values.push(this.single_value());
10513
- } return values.join("");
10514
- };
10515
-
10516
- this.key = function(optional) {
10517
- var start = this.pos;
10518
- while (true) {
10519
- if (this.pos >= this.input.length) {
10520
- throw "Runaway key";
10521
- } // а-яА-Я is Cyrillic
10522
- //console.log(this.input[this.pos]);
10523
- if (this.notKey.indexOf(this.input[this.pos]) >= 0) {
10524
- if (optional && this.input[this.pos] != ',') {
10525
- this.pos = start;
10526
- return null;
10527
- } return this.input.substring(start, this.pos);
10528
- } else {
10529
- this.pos++;
10530
-
10531
- } } };
10532
-
10533
- this.key_equals_value = function() {
10534
- var key = this.key();
10535
- if (this.tryMatch("=")) {
10536
- this.match("=");
10537
- var val = this.value();
10538
- key = key.trim();
10539
- return [ key, val ];
10540
- } else {
10541
- throw "... = value expected, equals sign missing:"
10542
- + this.input.substring(this.pos);
10543
- } };
10544
-
10545
- this.key_value_list = function() {
10546
- var kv = this.key_equals_value();
10547
- this.currentEntry['entryTags'] = {};
10548
- this.currentEntry['entryTags'][kv[0]] = kv[1];
10549
- while (this.tryMatch(",")) {
10550
- this.match(",");
10551
- // fixes problems with commas at the end of a list
10552
- if (this.tryMatch("}")) {
10553
- break;
10554
- }
10555
- kv = this.key_equals_value();
10556
- this.currentEntry['entryTags'][kv[0]] = kv[1];
10557
- } };
10558
-
10559
- this.entry_body = function(d) {
10560
- this.currentEntry = {};
10561
- this.currentEntry['citationKey'] = this.key(true);
10562
- this.currentEntry['entryType'] = d.substring(1);
10563
- if (this.currentEntry['citationKey'] != null) {
10564
- this.match(",");
10565
- }
10566
- this.key_value_list();
10567
- this.entries.push(this.currentEntry);
10568
- };
10569
-
10570
- this.directive = function() {
10571
- this.match("@");
10572
- return "@" + this.key();
10573
- };
10574
-
10575
- this.preamble = function() {
10576
- this.currentEntry = {};
10577
- this.currentEntry['entryType'] = 'PREAMBLE';
10578
- this.currentEntry['entry'] = this.value_comment();
10579
- this.entries.push(this.currentEntry);
10580
- };
10581
-
10582
- this.comment = function() {
10583
- this.currentEntry = {};
10584
- this.currentEntry['entryType'] = 'COMMENT';
10585
- this.currentEntry['entry'] = this.value_comment();
10586
- this.entries.push(this.currentEntry);
10587
- };
10588
-
10589
- this.entry = function(d) {
10590
- this.entry_body(d);
10591
- };
10592
-
10593
- this.alernativeCitationKey = function () {
10594
- this.entries.forEach(function (entry) {
10595
- if (!entry.citationKey && entry.entryTags) {
10596
- entry.citationKey = '';
10597
- if (entry.entryTags.author) {
10598
- entry.citationKey += entry.entryTags.author.split(',')[0] += ', ';
10599
- }
10600
- entry.citationKey += entry.entryTags.year;
10601
- }
10602
- });
10603
- };
10604
-
10605
- this.bibtex = function() {
10606
- while (this.matchAt()) {
10607
- var d = this.directive();
10608
- this.match("{");
10609
- if (d.toUpperCase() == "@STRING") {
10610
- this.string();
10611
- } else if (d.toUpperCase() == "@PREAMBLE") {
10612
- this.preamble();
10613
- } else if (d.toUpperCase() == "@COMMENT") {
10614
- this.comment();
10615
- } else {
10616
- this.entry(d);
10617
- }
10618
- this.match("}");
10619
- }
10620
- this.alernativeCitationKey();
10621
- };
10622
- }
10623
- exports.toJSON = function(bibtex) {
10624
- var b = new BibtexParser();
10625
- b.setInput(bibtex);
10626
- b.bibtex();
10627
- return b.entries;
10628
- };
10629
-
10630
- /* added during hackathon don't hate on me */
10631
- exports.toBibtex = function(json) {
10632
- var out = '';
10633
- for ( var i in json) {
10634
- out += "@" + json[i].entryType;
10635
- out += '{';
10636
- if (json[i].citationKey)
10637
- out += json[i].citationKey + ', ';
10638
- if (json[i].entry)
10639
- out += json[i].entry ;
10640
- if (json[i].entryTags) {
10641
- var tags = '';
10642
- for (var jdx in json[i].entryTags) {
10643
- if (tags.length != 0)
10644
- tags += ', ';
10645
- tags += jdx + '= {' + json[i].entryTags[jdx] + '}';
10646
- }
10647
- out += tags;
10648
- }
10649
- out += '}\n\n';
10650
- }
10651
- return out;
10652
-
10653
- };
10654
-
10655
- })(exports);
10656
-
10657
- /* end bibtexParse */
10658
- });
10659
-
10660
- var References = function References(_ref) {
10661
- var node = _ref.node,
10662
- getSerializers = _ref.getSerializers;
10663
- var referenceslist = node.referenceslist;
10664
-
10665
- var getGoogleScholarUrl = function getGoogleScholarUrl(citationText, citationReferenceFormat) {
10666
- if (citationReferenceFormat == 'Bibtex' && citationText.length > 0 && citationText[0].children && citationText[0].children.length > 0 && citationText[0].children[0].text) {
10667
- var url = 'https://scholar.google.com/scholar_lookup?';
10668
- var bibtexJson = bibtexParse.toJSON(citationText[0].children[0].text)[0];
10669
- if (bibtexJson.entryTags) {
10670
- if (bibtexJson.entryTags.title) url += 'title=' + bibtexJson.entryTags.title;
10671
- if (bibtexJson.entryTags.author) {
10672
- bibtexJson.entryTags.author.split(',').map(function (authorName) {
10673
- return url += '&author=' + authorName;
10674
- });
10675
- }
10676
- if (bibtexJson.entryTags.year) {
10677
- url += '&publication_year=' + bibtexJson.entryTags.year;
10678
- }
10679
- if (bibtexJson.entryTags.journal) {
10680
- url += '&journal=' + bibtexJson.entryTags.journal;
10681
- }
10682
- if (bibtexJson.entryTags.volume) {
10683
- url += '&volume=' + bibtexJson.entryTags.volume;
10684
- }
10685
- if (bibtexJson.entryTags.pages) {
10686
- url += '&pages=' + bibtexJson.entryTags.pages.replace('--', '-');
10687
- }
10688
- }
10689
- return url;
10690
- }
10691
- };
10692
- var getPubmedUrl = function getPubmedUrl(citationText, citationReferenceFormat) {
10693
- if (citationReferenceFormat == 'URL' && citationText.length > 0 && citationText[0].children && citationText[0].children.length > 0 && citationText[0].children[0].text) {
10694
- return citationText[0].children[0].text;
10695
- }
10696
- };
10697
- var getCrossrefUrl = function getCrossrefUrl(citationText, citationReferenceFormat) {
10698
- if (citationReferenceFormat == 'URL' && citationText.length > 0 && citationText[0].children && citationText[0].children.length > 0 && citationText[0].children[0].text) {
10699
- if (citationText[0].children[0].text.includes('dx.doi.org')) {
10700
- return citationText[0].children[0].text;
10701
- } else {
10702
- return 'http://dx.doi.org/' + citationText[0].children[0].text;
10703
- }
10704
- }
10705
- };
10706
- return React__default['default'].createElement(
10707
- 'div',
10708
- { className: 'references-list' },
10709
- React__default['default'].createElement(
10710
- 'p',
10711
- { className: 'reference-title' },
10712
- React__default['default'].createElement(
10713
- 'strong',
10714
- null,
10715
- 'REFERENCES'
10716
- )
10717
- ),
10718
- referenceslist && referenceslist.map(function (reference, ref_index) {
10719
- return React__default['default'].createElement(
10720
- 'div',
10721
- { key: reference._key, id: reference.referenceID, className: 'reference-container' },
10722
- React__default['default'].createElement(
10723
- 'div',
10724
- { className: 'reference-details', style: { display: 'flex', flexDirection: 'row' } },
10725
- React__default['default'].createElement(
10726
- 'span',
10727
- null,
10728
- ref_index + 1,
10729
- '.\xA0'
10730
- ),
10731
- React__default['default'].createElement(BlockContent.BlockContent, { blocks: reference.referenceTitle, serializers: getSerializers })
10732
- ),
10733
- reference.citations && reference.citations.length > 0 && React__default['default'].createElement(
10734
- 'div',
10735
- { className: 'row citations-container ml-3 mr-3 mb-2' },
10736
- reference.citations.map(function (citation, cit_index) {
10737
- return React__default['default'].createElement(
10738
- 'div',
10739
- { key: 'citation_' + cit_index, className: 'mr-3 citation-link' },
10740
- citation.citationName === 'googleScholar' ? React__default['default'].createElement(
10741
- 'a',
10742
- { target: '_blank', href: getGoogleScholarUrl(citation.citationText, citation.citationReferenceFormat) },
10743
- 'Google Scholar'
10744
- ) : citation.citationName === 'pubMed' ? React__default['default'].createElement(
10745
- 'a',
10746
- { target: '_blank', href: getPubmedUrl(citation.citationText, citation.citationReferenceFormat) },
10747
- 'PubMed'
10748
- ) : React__default['default'].createElement(
10749
- 'a',
10750
- { target: '_blank', href: getCrossrefUrl(citation.citationText, citation.citationReferenceFormat) },
10751
- 'Crossref'
10752
- )
10753
- );
10754
- })
10755
- )
10756
- );
10757
- }),
10758
- React__default['default'].createElement(
10759
- 'style',
10760
- { jsx: 'true' },
10761
- '\n .reference-details p {\n margin-bottom: 0.5rem;\n }\n .citation-link a {\n text-decoration: none;\n color: var(--primary);\n padding: 0.25rem 0.5rem;\n }\n .citation-link a:hover {\n color: #ffffff;\n background-color: var(--primary);\n border-radius: 15px;\n }\n '
10762
- )
10763
- );
10764
- };
10765
-
10766
- var References$1 = React__default['default'].memo(References);
10767
-
10768
10341
  var ScrollToElement = function ScrollToElement(elementId) {
10769
10342
  var element = document.getElementById(elementId);
10770
10343
  if (element) {
@@ -10883,57 +10456,52 @@ var getSerializers = function getSerializers() {
10883
10456
 
10884
10457
  return React__default['default'].createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
10885
10458
  },
10886
- referencesList: function referencesList(_ref6) {
10459
+ slideshow: function slideshow(_ref6) {
10887
10460
  var node = _ref6.node;
10888
-
10889
- return React__default['default'].createElement(References$1, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
10890
- },
10891
- slideshow: function slideshow(_ref7) {
10892
- var node = _ref7.node;
10893
10461
  var slides = node.slides;
10894
10462
 
10895
10463
  return React__default['default'].createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
10896
10464
  },
10897
- sidebar: function sidebar(_ref8) {
10898
- var node = _ref8.node;
10465
+ sidebar: function sidebar(_ref7) {
10466
+ var node = _ref7.node;
10899
10467
  var caption = node.caption,
10900
10468
  content = node.content;
10901
10469
 
10902
10470
  return React__default['default'].createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers.apply(undefined, props) });
10903
10471
  },
10904
- datatable: function datatable(_ref9) {
10905
- var node = _ref9.node;
10472
+ datatable: function datatable(_ref8) {
10473
+ var node = _ref8.node;
10906
10474
  var table = node.table;
10907
10475
 
10908
10476
  return React__default['default'].createElement(TableShow, { rows: table.rows });
10909
10477
  },
10910
- media: function media(_ref10) {
10911
- var node = _ref10.node;
10478
+ media: function media(_ref9) {
10479
+ var node = _ref9.node;
10912
10480
 
10913
10481
  return React__default['default'].createElement(Media, { node: node, client: client });
10914
10482
  },
10915
- iframe: function iframe(_ref11) {
10916
- var node = _ref11.node;
10483
+ iframe: function iframe(_ref10) {
10484
+ var node = _ref10.node;
10917
10485
 
10918
10486
  return React__default['default'].createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
10919
10487
  },
10920
- video: function video(_ref12) {
10921
- var node = _ref12.node;
10488
+ video: function video(_ref11) {
10489
+ var node = _ref11.node;
10922
10490
 
10923
10491
  return React__default['default'].createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting, nextVideo: nextVideo });
10924
10492
  },
10925
- audio: function audio(_ref13) {
10926
- var node = _ref13.node;
10493
+ audio: function audio(_ref12) {
10494
+ var node = _ref12.node;
10927
10495
 
10928
10496
  return React__default['default'].createElement(Audio, { node: node, audioAutoplay: audioAutoplay });
10929
10497
  },
10930
- poll: function poll(_ref14) {
10931
- var node = _ref14.node;
10498
+ poll: function poll(_ref13) {
10499
+ var node = _ref13.node;
10932
10500
 
10933
10501
  return React__default['default'].createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
10934
10502
  },
10935
- pollMultiChoice: function pollMultiChoice(_ref15) {
10936
- var node = _ref15.node;
10503
+ pollMultiChoice: function pollMultiChoice(_ref14) {
10504
+ var node = _ref14.node;
10937
10505
 
10938
10506
  return React__default['default'].createElement(Poll, {
10939
10507
  node: node,
@@ -10945,31 +10513,31 @@ var getSerializers = function getSerializers() {
10945
10513
  getSerializers: getSerializers.apply(undefined, props)
10946
10514
  });
10947
10515
  },
10948
- quiz: function quiz(_ref16) {
10949
- var node = _ref16.node;
10516
+ quiz: function quiz(_ref15) {
10517
+ var node = _ref15.node;
10950
10518
  var quizzes = node.quizzes;
10951
10519
 
10952
10520
  return React__default['default'].createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers.apply(undefined, props), pageview: pageview, currentPage: currentPage });
10953
10521
  },
10954
- leads: function leads(_ref17) {
10955
- var node = _ref17.node;
10522
+ leads: function leads(_ref16) {
10523
+ var node = _ref16.node;
10956
10524
  var leadID = node.leadID;
10957
10525
 
10958
10526
  var url = '' + drupalLeadSettings.baseUrl + leadID;
10959
10527
  return React__default['default'].createElement(Leads, { url: url });
10960
10528
  },
10961
- slideshows: function slideshows(_ref18) {
10962
- var node = _ref18.node;
10529
+ slideshows: function slideshows(_ref17) {
10530
+ var node = _ref17.node;
10963
10531
 
10964
10532
  return React__default['default'].createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
10965
10533
  },
10966
- nativeAd: function nativeAd(_ref19) {
10967
- var node = _ref19.node;
10534
+ nativeAd: function nativeAd(_ref18) {
10535
+ var node = _ref18.node;
10968
10536
 
10969
10537
  return React__default['default'].createElement(NativeAd, { node: node });
10970
10538
  },
10971
- html_anchor_links: function html_anchor_links(_ref20) {
10972
- var node = _ref20.node;
10539
+ html_anchor_links: function html_anchor_links(_ref19) {
10540
+ var node = _ref19.node;
10973
10541
 
10974
10542
  return React__default['default'].createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
10975
10543
  },
@@ -10979,8 +10547,8 @@ var getSerializers = function getSerializers() {
10979
10547
  brtag: function brtag() {
10980
10548
  return React__default['default'].createElement('br', { className: 'line-break' });
10981
10549
  },
10982
- formstack: function formstack(_ref21) {
10983
- var node = _ref21.node;
10550
+ formstack: function formstack(_ref20) {
10551
+ var node = _ref20.node;
10984
10552
  var FormID = node.FormID,
10985
10553
  Caption = node.Caption,
10986
10554
  needSegmentSupport = node.needSegmentSupport;
@@ -10988,13 +10556,13 @@ var getSerializers = function getSerializers() {
10988
10556
  return React__default['default'].createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
10989
10557
  },
10990
10558
  formassembly: FormAssembly,
10991
- multimedia: function multimedia(_ref22) {
10992
- var node = _ref22.node;
10559
+ multimedia: function multimedia(_ref21) {
10560
+ var node = _ref21.node;
10993
10561
 
10994
10562
  return React__default['default'].createElement(MultiMedia, { node: node, client: client });
10995
10563
  },
10996
- blockTable: function blockTable(_ref23) {
10997
- var node = _ref23.node;
10564
+ blockTable: function blockTable(_ref22) {
10565
+ var node = _ref22.node;
10998
10566
  return React__default['default'].createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
10999
10567
  }
11000
10568
  },
@@ -11040,32 +10608,32 @@ var getSerializers = function getSerializers() {
11040
10608
  children
11041
10609
  ) : children;
11042
10610
  },
11043
- alignleft: function alignleft(_ref24) {
11044
- var children = _ref24.children;
10611
+ alignleft: function alignleft(_ref23) {
10612
+ var children = _ref23.children;
11045
10613
  return React__default['default'].createElement(
11046
10614
  'div',
11047
10615
  { style: { textAlign: 'left' } },
11048
10616
  children
11049
10617
  );
11050
10618
  },
11051
- alignright: function alignright(_ref25) {
11052
- var children = _ref25.children;
10619
+ alignright: function alignright(_ref24) {
10620
+ var children = _ref24.children;
11053
10621
  return React__default['default'].createElement(
11054
10622
  'div',
11055
10623
  { style: { textAlign: 'right' } },
11056
10624
  children
11057
10625
  );
11058
10626
  },
11059
- aligncenter: function aligncenter(_ref26) {
11060
- var children = _ref26.children;
10627
+ aligncenter: function aligncenter(_ref25) {
10628
+ var children = _ref25.children;
11061
10629
  return React__default['default'].createElement(
11062
10630
  'div',
11063
10631
  { style: { textAlign: 'center' } },
11064
10632
  children
11065
10633
  );
11066
10634
  },
11067
- alignjustify: function alignjustify(_ref27) {
11068
- var children = _ref27.children;
10635
+ alignjustify: function alignjustify(_ref26) {
10636
+ var children = _ref26.children;
11069
10637
  return React__default['default'].createElement(
11070
10638
  'div',
11071
10639
  { style: { textAlign: 'justify' } },
package/dist/cjs/index.js CHANGED
@@ -89,7 +89,7 @@ var VerticalHero = require('./VerticalHero.js');
89
89
  var YahooHero = require('./YahooHero.js');
90
90
  var GridHero = require('./GridHero.js');
91
91
  var ConferenceArticleCard = require('./ConferenceArticleCard.js');
92
- var getSerializers = require('./index-3972d55f.js');
92
+ var getSerializers = require('./index-e8c2ed3b.js');
93
93
  var Beam = require('./Beam.js');
94
94
  var Segment = require('./Segment.js');
95
95
  var KMTracker = require('./KMTracker.js');
@@ -104,7 +104,7 @@ var VideoSeriesLandingPage = require('./VideoSeriesLandingPage.js');
104
104
  var ArticleProgramLandingPage = require('./ArticleProgramLandingPage.js');
105
105
  var ArticleSeriesLandingPage = require('./ArticleSeriesLandingPage.js');
106
106
  var Schema = require('./Schema.js');
107
- var getTargeting = require('./getTargeting-dab97fe1.js');
107
+ var getTargeting = require('./getTargeting-3c5754ac.js');
108
108
  var getKeywords = require('./getKeywords.js');
109
109
  var getQuery = require('./getQuery.js');
110
110
  require('./toConsumableArray-d7797c2b.js');
@@ -194,9 +194,10 @@ require('swr');
194
194
  require('passport-local');
195
195
  require('mysql');
196
196
  require('./md5-e1ca5797.js');
197
- require('./SeriesSlider-74546d19.js');
197
+ require('./SeriesSlider-594b19eb.js');
198
198
  require('./style-inject.es-dcee06b6.js');
199
199
  require('disqus-react');
200
+ require('file-saver');
200
201
  require('react-twitter-embed');
201
202
  require('./ImageSlider-6c00b878.js');
202
203
  require('./defineProperty-e0fb52c5.js');