@mjhls/mjh-framework 1.0.433 → 1.0.434
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.
- package/README.md +172 -172
- package/dist/cjs/{ADInfeed-99f812f9.js → ADInfeed-494f5e6b.js} +1 -1
- package/dist/cjs/{AdSlot-6b3e5d3d.js → AdSlot-4d22aad4.js} +2 -2
- package/dist/cjs/DeckContent.js +17 -17
- package/dist/cjs/DeckQueue.js +8 -8
- package/dist/cjs/{Dfp-f62806bd.js → Dfp-2399639f.js} +1 -1
- package/dist/cjs/{Figure-7277baf0.js → Figure-9e886c5b.js} +1 -1
- package/dist/cjs/{GridContent-3acca2d2.js → GridContent-f401c40f.js} +12 -12
- package/dist/cjs/GridContent.js +10 -10
- package/dist/cjs/GroupDeck.js +8 -8
- package/dist/cjs/IssueContentDeck.js +2 -2
- package/dist/cjs/IssueDeck.js +2 -2
- package/dist/cjs/MasterDeck.js +15 -15
- package/dist/cjs/{Normal-4d6a374c.js → Normal-54dd4121.js} +39 -39
- package/dist/cjs/PublicationDeck.js +1 -1
- package/dist/cjs/QueueDeckExpanded.js +8 -8
- package/dist/cjs/{TaxonomyCard-bbf7530c.js → TaxonomyCard-eb928f05.js} +1 -1
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TemplateNormal.js +5 -5
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/VideoSeriesListing.js +6 -6
- package/dist/cjs/YoutubeGroup.js +7 -7
- package/dist/cjs/{debounce-17653c0f.js → debounce-b088070c.js} +4 -6
- package/dist/cjs/{get-1f552668.js → get-5aa7468c.js} +1 -1
- package/dist/cjs/{index-be0c82be.js → index-b5eb3ff8.js} +20 -19
- package/dist/cjs/{index.es-9110add6.js → index.es-ab3f2690.js} +3 -1
- package/dist/cjs/index.js +1105 -910
- package/dist/cjs/{inherits-be4dfb6b.js → inherits-e793003e.js} +4 -4
- package/dist/cjs/{main-88348b15.js → main-bc4db521.js} +66 -35
- package/dist/cjs/{moment-575fe24c.js → moment-66a6a284.js} +1 -1
- package/dist/esm/{ADInfeed-f1c1780e.js → ADInfeed-e5cefea5.js} +1 -1
- package/dist/esm/{AdSlot-4ca0419a.js → AdSlot-78e48a2c.js} +2 -2
- package/dist/esm/DeckContent.js +16 -16
- package/dist/esm/DeckQueue.js +7 -7
- package/dist/esm/{Dfp-d372854b.js → Dfp-d5fe1252.js} +1 -1
- package/dist/esm/{Figure-2d14847b.js → Figure-cc1affbe.js} +1 -1
- package/dist/esm/{GridContent-09330066.js → GridContent-e3224519.js} +11 -11
- package/dist/esm/GridContent.js +9 -9
- package/dist/esm/GroupDeck.js +5 -5
- package/dist/esm/IssueContentDeck.js +2 -2
- package/dist/esm/IssueDeck.js +2 -2
- package/dist/esm/MasterDeck.js +14 -14
- package/dist/esm/{Normal-33253684.js → Normal-0095df68.js} +39 -39
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/QueueDeckExpanded.js +8 -8
- package/dist/esm/{TaxonomyCard-d49aa67a.js → TaxonomyCard-b29aa7ac.js} +1 -1
- package/dist/esm/TaxonomyCard.js +2 -2
- package/dist/esm/TemplateNormal.js +5 -5
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/VideoSeriesListing.js +5 -5
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/{debounce-53693e2b.js → debounce-df468b0e.js} +4 -6
- package/dist/esm/{get-b3f4645d.js → get-53653403.js} +1 -1
- package/dist/esm/{index-73819142.js → index-51a80699.js} +20 -19
- package/dist/esm/{index.es-29c1cef5.js → index.es-938a3a58.js} +3 -1
- package/dist/esm/index.js +1117 -923
- package/dist/esm/{main-273675e1.js → main-7d1b3c98.js} +65 -34
- package/dist/esm/{moment-e2f9b20c.js → moment-12415288.js} +1 -1
- package/package.json +103 -103
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
4
|
var _toObject = require('./_to-object-329a650b.js');
|
|
5
5
|
var web_dom_iterable = require('./web.dom.iterable-5c889cf1.js');
|
|
6
|
-
var _typeof$
|
|
6
|
+
var _typeof$2 = require('./typeof-2747c582.js');
|
|
7
7
|
|
|
8
8
|
// most Object methods by ES6 should accept primitives
|
|
9
9
|
|
|
@@ -98,7 +98,7 @@ exports.__esModule = true;
|
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
|
|
101
|
-
var _typeof3 = _interopRequireDefault(_typeof$
|
|
101
|
+
var _typeof3 = _interopRequireDefault(_typeof$2._typeof_1);
|
|
102
102
|
|
|
103
103
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
104
104
|
|
|
@@ -125,7 +125,7 @@ var _setProto = {
|
|
|
125
125
|
set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
|
|
126
126
|
function (test, buggy, set) {
|
|
127
127
|
try {
|
|
128
|
-
set = _toObject._ctx(Function.call, _typeof$
|
|
128
|
+
set = _toObject._ctx(Function.call, _typeof$2._objectGopd.f(Object.prototype, '__proto__').set, 2);
|
|
129
129
|
set(test, []);
|
|
130
130
|
buggy = !(test instanceof Array);
|
|
131
131
|
} catch (e) { buggy = true; }
|
|
@@ -179,7 +179,7 @@ var _create2 = _interopRequireDefault(create$1);
|
|
|
179
179
|
|
|
180
180
|
|
|
181
181
|
|
|
182
|
-
var _typeof3 = _interopRequireDefault(_typeof$
|
|
182
|
+
var _typeof3 = _interopRequireDefault(_typeof$2._typeof_1);
|
|
183
183
|
|
|
184
184
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
185
185
|
|
|
@@ -53,7 +53,7 @@ var getNavigatorInstance = function getNavigatorInstance() {
|
|
|
53
53
|
};
|
|
54
54
|
var isIOS13Check = function isIOS13Check(type) {
|
|
55
55
|
var nav = getNavigatorInstance();
|
|
56
|
-
return nav && (nav.platform.
|
|
56
|
+
return nav && nav.platform && (nav.platform.indexOf(type) !== -1 || nav.platform === 'MacIntel' && nav.maxTouchPoints > 1 && !window.MSStream);
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
function _typeof(obj) {
|
|
@@ -224,12 +224,15 @@ var BROWSER_TYPES = {
|
|
|
224
224
|
EDGE: "Edge",
|
|
225
225
|
CHROMIUM: "Chromium",
|
|
226
226
|
IE: 'IE',
|
|
227
|
-
MOBILE_SAFARI: "Mobile Safari"
|
|
227
|
+
MOBILE_SAFARI: "Mobile Safari",
|
|
228
|
+
EDGE_CHROMIUM: "Edge Chromium"
|
|
228
229
|
};
|
|
229
230
|
var OS_TYPES = {
|
|
230
231
|
IOS: 'iOS',
|
|
231
232
|
ANDROID: "Android",
|
|
232
|
-
WINDOWS_PHONE: "Windows Phone"
|
|
233
|
+
WINDOWS_PHONE: "Windows Phone",
|
|
234
|
+
WINDOWS: 'Windows',
|
|
235
|
+
MAC_OS: 'Mac OS'
|
|
233
236
|
};
|
|
234
237
|
var initialData = {
|
|
235
238
|
isMobile: false,
|
|
@@ -382,6 +385,14 @@ var isMobileAndTabletType = function isMobileAndTabletType() {
|
|
|
382
385
|
}
|
|
383
386
|
};
|
|
384
387
|
|
|
388
|
+
var isEdgeChromiumType = function isEdgeChromiumType() {
|
|
389
|
+
if (os.name === OS_TYPES.WINDOWS && os.version === '10') {
|
|
390
|
+
return typeof ua === 'string' && ua.indexOf('Edg/') !== -1;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
return false;
|
|
394
|
+
};
|
|
395
|
+
|
|
385
396
|
var isSmartTVType = function isSmartTVType() {
|
|
386
397
|
return device.type === DEVICE_TYPES.SMART_TV;
|
|
387
398
|
};
|
|
@@ -402,6 +413,14 @@ var isAndroidType = function isAndroidType() {
|
|
|
402
413
|
return os.name === OS_TYPES.ANDROID;
|
|
403
414
|
};
|
|
404
415
|
|
|
416
|
+
var isWindowsType = function isWindowsType() {
|
|
417
|
+
return os.name === OS_TYPES.WINDOWS;
|
|
418
|
+
};
|
|
419
|
+
|
|
420
|
+
var isMacOsType = function isMacOsType() {
|
|
421
|
+
return os.name === OS_TYPES.MAC_OS;
|
|
422
|
+
};
|
|
423
|
+
|
|
405
424
|
var isWinPhoneType = function isWinPhoneType() {
|
|
406
425
|
return os.name === OS_TYPES.WINDOWS_PHONE;
|
|
407
426
|
};
|
|
@@ -449,7 +468,7 @@ var isIEType = function isIEType() {
|
|
|
449
468
|
var isElectronType = function isElectronType() {
|
|
450
469
|
var nav = getNavigatorInstance();
|
|
451
470
|
var ua = nav && nav.userAgent.toLowerCase();
|
|
452
|
-
return typeof ua === 'string' ? ua
|
|
471
|
+
return typeof ua === 'string' ? /electron/.test(ua) : false;
|
|
453
472
|
};
|
|
454
473
|
|
|
455
474
|
var getIOS13 = function getIOS13() {
|
|
@@ -516,15 +535,15 @@ var getDeviceType = function getDeviceType() {
|
|
|
516
535
|
var isSmartTV = isSmartTVType();
|
|
517
536
|
var isConsole = isConsoleType();
|
|
518
537
|
var isWearable = isWearableType();
|
|
519
|
-
var isMobileSafari = isMobileSafariType();
|
|
538
|
+
var isMobileSafari = isMobileSafariType() || getIPad13();
|
|
520
539
|
var isChromium = isChromiumType();
|
|
521
|
-
var isMobile = isMobileAndTabletType();
|
|
540
|
+
var isMobile = isMobileAndTabletType() || getIPad13();
|
|
522
541
|
var isMobileOnly = isMobileType();
|
|
523
|
-
var isTablet = isTabletType();
|
|
542
|
+
var isTablet = isTabletType() || getIPad13();
|
|
524
543
|
var isBrowser = isBrowserType();
|
|
525
544
|
var isAndroid = isAndroidType();
|
|
526
545
|
var isWinPhone = isWinPhoneType();
|
|
527
|
-
var isIOS = isIOSType();
|
|
546
|
+
var isIOS = isIOSType() || getIPad13();
|
|
528
547
|
var isChrome = isChromeType();
|
|
529
548
|
var isFirefox = isFirefoxType();
|
|
530
549
|
var isSafari = isSafariType();
|
|
@@ -540,7 +559,7 @@ var mobileModel = getMobileModel();
|
|
|
540
559
|
var engineName = getEngineName();
|
|
541
560
|
var engineVersion = getEngineVersion();
|
|
542
561
|
var getUA = getUseragent();
|
|
543
|
-
var isEdge = isEdgeType();
|
|
562
|
+
var isEdge = isEdgeType() || isEdgeChromiumType();
|
|
544
563
|
var isYandex = isYandexType();
|
|
545
564
|
var deviceType = getDeviceType();
|
|
546
565
|
var isIOS13 = getIOS13();
|
|
@@ -548,6 +567,10 @@ var isIPad13 = getIPad13();
|
|
|
548
567
|
var isIPhone13 = getIphone13();
|
|
549
568
|
var isIPod13 = getIPod13();
|
|
550
569
|
var isElectron = isElectronType();
|
|
570
|
+
var isEdgeChromium = isEdgeChromiumType();
|
|
571
|
+
var isLegacyEdge = isEdgeType();
|
|
572
|
+
var isWindows = isWindowsType();
|
|
573
|
+
var isMacOs = isMacOsType();
|
|
551
574
|
|
|
552
575
|
var AndroidView = function AndroidView(_ref) {
|
|
553
576
|
var renderWithFragment = _ref.renderWithFragment,
|
|
@@ -777,6 +800,7 @@ exports.isChrome = isChrome;
|
|
|
777
800
|
exports.isChromium = isChromium;
|
|
778
801
|
exports.isConsole = isConsole;
|
|
779
802
|
exports.isEdge = isEdge;
|
|
803
|
+
exports.isEdgeChromium = isEdgeChromium;
|
|
780
804
|
exports.isElectron = isElectron;
|
|
781
805
|
exports.isFirefox = isFirefox;
|
|
782
806
|
exports.isIE = isIE;
|
|
@@ -785,6 +809,8 @@ exports.isIOS13 = isIOS13;
|
|
|
785
809
|
exports.isIPad13 = isIPad13;
|
|
786
810
|
exports.isIPhone13 = isIPhone13;
|
|
787
811
|
exports.isIPod13 = isIPod13;
|
|
812
|
+
exports.isLegacyEdge = isLegacyEdge;
|
|
813
|
+
exports.isMacOs = isMacOs;
|
|
788
814
|
exports.isMobile = isMobile;
|
|
789
815
|
exports.isMobileOnly = isMobileOnly;
|
|
790
816
|
exports.isMobileSafari = isMobileSafari;
|
|
@@ -794,6 +820,7 @@ exports.isSmartTV = isSmartTV;
|
|
|
794
820
|
exports.isTablet = isTablet;
|
|
795
821
|
exports.isWearable = isWearable;
|
|
796
822
|
exports.isWinPhone = isWinPhone;
|
|
823
|
+
exports.isWindows = isWindows;
|
|
797
824
|
exports.isYandex = isYandex;
|
|
798
825
|
exports.mobileModel = mobileModel;
|
|
799
826
|
exports.mobileVendor = mobileVendor;
|
|
@@ -829,31 +856,35 @@ var main_23 = main.isChrome;
|
|
|
829
856
|
var main_24 = main.isChromium;
|
|
830
857
|
var main_25 = main.isConsole;
|
|
831
858
|
var main_26 = main.isEdge;
|
|
832
|
-
var main_27 = main.
|
|
833
|
-
var main_28 = main.
|
|
834
|
-
var main_29 = main.
|
|
835
|
-
var main_30 = main.
|
|
836
|
-
var main_31 = main.
|
|
837
|
-
var main_32 = main.
|
|
838
|
-
var main_33 = main.
|
|
839
|
-
var main_34 = main.
|
|
840
|
-
var main_35 = main.
|
|
841
|
-
var main_36 = main.
|
|
842
|
-
var main_37 = main.
|
|
843
|
-
var main_38 = main.
|
|
844
|
-
var main_39 = main.
|
|
845
|
-
var main_40 = main.
|
|
846
|
-
var main_41 = main.
|
|
847
|
-
var main_42 = main.
|
|
848
|
-
var main_43 = main.
|
|
849
|
-
var main_44 = main.
|
|
850
|
-
var main_45 = main.
|
|
851
|
-
var main_46 = main.
|
|
852
|
-
var main_47 = main.
|
|
853
|
-
var main_48 = main.
|
|
854
|
-
var main_49 = main.
|
|
859
|
+
var main_27 = main.isEdgeChromium;
|
|
860
|
+
var main_28 = main.isElectron;
|
|
861
|
+
var main_29 = main.isFirefox;
|
|
862
|
+
var main_30 = main.isIE;
|
|
863
|
+
var main_31 = main.isIOS;
|
|
864
|
+
var main_32 = main.isIOS13;
|
|
865
|
+
var main_33 = main.isIPad13;
|
|
866
|
+
var main_34 = main.isIPhone13;
|
|
867
|
+
var main_35 = main.isIPod13;
|
|
868
|
+
var main_36 = main.isLegacyEdge;
|
|
869
|
+
var main_37 = main.isMacOs;
|
|
870
|
+
var main_38 = main.isMobile;
|
|
871
|
+
var main_39 = main.isMobileOnly;
|
|
872
|
+
var main_40 = main.isMobileSafari;
|
|
873
|
+
var main_41 = main.isOpera;
|
|
874
|
+
var main_42 = main.isSafari;
|
|
875
|
+
var main_43 = main.isSmartTV;
|
|
876
|
+
var main_44 = main.isTablet;
|
|
877
|
+
var main_45 = main.isWearable;
|
|
878
|
+
var main_46 = main.isWinPhone;
|
|
879
|
+
var main_47 = main.isWindows;
|
|
880
|
+
var main_48 = main.isYandex;
|
|
881
|
+
var main_49 = main.mobileModel;
|
|
882
|
+
var main_50 = main.mobileVendor;
|
|
883
|
+
var main_51 = main.osName;
|
|
884
|
+
var main_52 = main.osVersion;
|
|
885
|
+
var main_53 = main.withOrientationChange;
|
|
855
886
|
|
|
856
887
|
exports.main_16 = main_16;
|
|
857
|
-
exports.
|
|
858
|
-
exports.
|
|
859
|
-
exports.
|
|
888
|
+
exports.main_38 = main_38;
|
|
889
|
+
exports.main_39 = main_39;
|
|
890
|
+
exports.main_40 = main_40;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { u as unwrapExports, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import { b as _core } from './_to-object-1b1f7766.js';
|
|
3
3
|
import React__default, { useState } from 'react';
|
|
4
|
-
import { d as debounce_1, e as lib_2 } from './debounce-
|
|
4
|
+
import { d as debounce_1, e as lib_2 } from './debounce-df468b0e.js';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
-
import { a as main_16 } from './main-
|
|
6
|
+
import { a as main_16 } from './main-7d1b3c98.js';
|
|
7
7
|
import { _ as _slicedToArray } from './slicedToArray-04e02710.js';
|
|
8
8
|
import { p as promise } from './promise-2592a80a.js';
|
|
9
9
|
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -9,25 +9,25 @@ import { _ as _extends } from './extends-92072fff.js';
|
|
|
9
9
|
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-dfba24f5.js';
|
|
10
10
|
import './typeof-e4b50250.js';
|
|
11
11
|
import React__default from 'react';
|
|
12
|
-
import { d as debounce_1, l as lib_3 } from './debounce-
|
|
12
|
+
import { d as debounce_1, l as lib_3 } from './debounce-df468b0e.js';
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
import Container from 'react-bootstrap/Container';
|
|
15
15
|
import Row from 'react-bootstrap/Row';
|
|
16
16
|
import Col from 'react-bootstrap/Col';
|
|
17
17
|
import Card from 'react-bootstrap/Card';
|
|
18
|
-
import { m as moment } from './moment-
|
|
18
|
+
import { m as moment } from './moment-12415288.js';
|
|
19
19
|
import { withRouter } from 'next/router';
|
|
20
|
-
import { I as InfiniteScroll } from './index.es-
|
|
20
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
21
21
|
import 'react-dom';
|
|
22
22
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
23
|
-
import { i as imageUrlBuilder } from './index-
|
|
23
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
24
24
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
25
|
-
import { m as
|
|
25
|
+
import { m as main_39 } from './main-7d1b3c98.js';
|
|
26
26
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
27
27
|
import './slicedToArray-04e02710.js';
|
|
28
|
-
import './AdSlot-
|
|
28
|
+
import './AdSlot-78e48a2c.js';
|
|
29
29
|
import './promise-2592a80a.js';
|
|
30
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
30
|
+
import { A as ADInfeed } from './ADInfeed-e5cefea5.js';
|
|
31
31
|
|
|
32
32
|
var DeckContent = function (_React$Component) {
|
|
33
33
|
_inherits(DeckContent, _React$Component);
|
|
@@ -168,14 +168,14 @@ var DeckContent = function (_React$Component) {
|
|
|
168
168
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
169
169
|
|
|
170
170
|
// please leave this for later debug purpose : Yong Jun.
|
|
171
|
-
/* console.log('page change reported', {
|
|
172
|
-
currentPage: currentPage,
|
|
173
|
-
pageNumber: pageNumber,
|
|
174
|
-
pathname: pathname,
|
|
175
|
-
path: path,
|
|
176
|
-
newPath: newPath,
|
|
177
|
-
firstPage: pageNumber === 1,
|
|
178
|
-
queryString: queryString
|
|
171
|
+
/* console.log('page change reported', {
|
|
172
|
+
currentPage: currentPage,
|
|
173
|
+
pageNumber: pageNumber,
|
|
174
|
+
pathname: pathname,
|
|
175
|
+
path: path,
|
|
176
|
+
newPath: newPath,
|
|
177
|
+
firstPage: pageNumber === 1,
|
|
178
|
+
queryString: queryString
|
|
179
179
|
}) */
|
|
180
180
|
|
|
181
181
|
if (pageview) {
|
|
@@ -338,7 +338,7 @@ var DeckContent = function (_React$Component) {
|
|
|
338
338
|
)
|
|
339
339
|
)
|
|
340
340
|
),
|
|
341
|
-
|
|
341
|
+
main_39 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
342
342
|
);
|
|
343
343
|
}
|
|
344
344
|
})
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -9,22 +9,22 @@ import { _ as _extends } from './extends-92072fff.js';
|
|
|
9
9
|
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-dfba24f5.js';
|
|
10
10
|
import './typeof-e4b50250.js';
|
|
11
11
|
import React__default from 'react';
|
|
12
|
-
import { d as debounce_1, l as lib_3 } from './debounce-
|
|
12
|
+
import { d as debounce_1, l as lib_3 } from './debounce-df468b0e.js';
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
import Container from 'react-bootstrap/Container';
|
|
15
15
|
import Row from 'react-bootstrap/Row';
|
|
16
16
|
import Col from 'react-bootstrap/Col';
|
|
17
17
|
import Card from 'react-bootstrap/Card';
|
|
18
|
-
import { m as moment } from './moment-
|
|
18
|
+
import { m as moment } from './moment-12415288.js';
|
|
19
19
|
import { withRouter } from 'next/router';
|
|
20
|
-
import { I as InfiniteScroll } from './index.es-
|
|
20
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
21
21
|
import 'react-dom';
|
|
22
22
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
23
|
-
import { i as imageUrlBuilder } from './index-
|
|
23
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
24
24
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
25
|
-
import { m as
|
|
25
|
+
import { m as main_39 } from './main-7d1b3c98.js';
|
|
26
26
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
27
|
-
import { g as get_1 } from './get-
|
|
27
|
+
import { g as get_1 } from './get-53653403.js';
|
|
28
28
|
|
|
29
29
|
var DeckQueue = function (_React$Component) {
|
|
30
30
|
_inherits(DeckQueue, _React$Component);
|
|
@@ -293,7 +293,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
293
293
|
)
|
|
294
294
|
)
|
|
295
295
|
),
|
|
296
|
-
|
|
296
|
+
main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
297
297
|
);
|
|
298
298
|
})
|
|
299
299
|
);
|
|
@@ -2,7 +2,7 @@ import './_commonjsHelpers-0c4b6f40.js';
|
|
|
2
2
|
import './_to-object-1b1f7766.js';
|
|
3
3
|
import './web.dom.iterable-e6bf2bf6.js';
|
|
4
4
|
import React__default, { useState } from 'react';
|
|
5
|
-
import { d as debounce_1, a as lib_1, e as lib_2 } from './debounce-
|
|
5
|
+
import { d as debounce_1, a as lib_1, e as lib_2 } from './debounce-df468b0e.js';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import 'react-dom';
|
|
8
8
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
@@ -2,7 +2,7 @@ import './_commonjsHelpers-0c4b6f40.js';
|
|
|
2
2
|
import './_to-object-1b1f7766.js';
|
|
3
3
|
import './web.dom.iterable-e6bf2bf6.js';
|
|
4
4
|
import React__default, { useState } from 'react';
|
|
5
|
-
import { i as imageUrlBuilder } from './index-
|
|
5
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
6
6
|
import { _ as _slicedToArray } from './slicedToArray-04e02710.js';
|
|
7
7
|
import { Figure as Figure$1 } from 'react-bootstrap';
|
|
8
8
|
|
|
@@ -2,25 +2,25 @@ import { _ as _toConsumableArray } from './toConsumableArray-c5e2fde8.js';
|
|
|
2
2
|
import { _ as _extends } from './extends-92072fff.js';
|
|
3
3
|
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-dfba24f5.js';
|
|
4
4
|
import React__default, { Suspense } from 'react';
|
|
5
|
-
import { d as debounce_1, l as lib_3 } from './debounce-
|
|
5
|
+
import { d as debounce_1, l as lib_3 } from './debounce-df468b0e.js';
|
|
6
6
|
import Container from 'react-bootstrap/Container';
|
|
7
7
|
import Row from 'react-bootstrap/Row';
|
|
8
8
|
import Col from 'react-bootstrap/Col';
|
|
9
9
|
import Card from 'react-bootstrap/Card';
|
|
10
|
-
import { m as moment } from './moment-
|
|
10
|
+
import { m as moment } from './moment-12415288.js';
|
|
11
11
|
import { withRouter } from 'next/router';
|
|
12
|
-
import { I as InfiniteScroll } from './index.es-
|
|
12
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
13
13
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
14
|
-
import { i as imageUrlBuilder } from './index-
|
|
14
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
15
15
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
16
|
-
import { m as
|
|
16
|
+
import { m as main_39 } from './main-7d1b3c98.js';
|
|
17
17
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
18
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
19
|
-
import { g as get_1 } from './get-
|
|
18
|
+
import { A as ADInfeed } from './ADInfeed-e5cefea5.js';
|
|
19
|
+
import { g as get_1 } from './get-53653403.js';
|
|
20
20
|
import { A as AuthorComponent } from './AuthorComponent-c9e46673.js';
|
|
21
21
|
|
|
22
22
|
var Dfp = React__default.lazy(function () {
|
|
23
|
-
return import('./Dfp-
|
|
23
|
+
return import('./Dfp-d5fe1252.js');
|
|
24
24
|
});
|
|
25
25
|
|
|
26
26
|
var AD = function AD(props) {
|
|
@@ -430,7 +430,7 @@ var GridContent = function (_React$Component) {
|
|
|
430
430
|
)
|
|
431
431
|
),
|
|
432
432
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
433
|
-
|
|
433
|
+
main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
434
434
|
);
|
|
435
435
|
} else {
|
|
436
436
|
return React__default.createElement(
|
|
@@ -494,7 +494,7 @@ var GridContent = function (_React$Component) {
|
|
|
494
494
|
)
|
|
495
495
|
),
|
|
496
496
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
497
|
-
|
|
497
|
+
main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
498
498
|
);
|
|
499
499
|
}
|
|
500
500
|
} else if (row._type === 'BrandInsight' && row.adUnit) {
|
|
@@ -561,7 +561,7 @@ var GridContent = function (_React$Component) {
|
|
|
561
561
|
)
|
|
562
562
|
),
|
|
563
563
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
564
|
-
|
|
564
|
+
main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
565
565
|
);
|
|
566
566
|
} else return null;
|
|
567
567
|
}) : React__default.createElement(
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -9,25 +9,25 @@ import './extends-92072fff.js';
|
|
|
9
9
|
import './inherits-dfba24f5.js';
|
|
10
10
|
import './typeof-e4b50250.js';
|
|
11
11
|
import 'react';
|
|
12
|
-
import './debounce-
|
|
12
|
+
import './debounce-df468b0e.js';
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
import 'react-bootstrap/Container';
|
|
15
15
|
import 'react-bootstrap/Row';
|
|
16
16
|
import 'react-bootstrap/Col';
|
|
17
17
|
import 'react-bootstrap/Card';
|
|
18
|
-
import './moment-
|
|
18
|
+
import './moment-12415288.js';
|
|
19
19
|
import 'next/router';
|
|
20
|
-
import './index.es-
|
|
20
|
+
import './index.es-938a3a58.js';
|
|
21
21
|
import 'react-dom';
|
|
22
22
|
import './visibility-sensor-0baa4eea.js';
|
|
23
|
-
import './index-
|
|
23
|
+
import './index-51a80699.js';
|
|
24
24
|
import './index-5f9f807a.js';
|
|
25
|
-
import './main-
|
|
25
|
+
import './main-7d1b3c98.js';
|
|
26
26
|
import './entities-7cc3bf45.js';
|
|
27
27
|
import './slicedToArray-04e02710.js';
|
|
28
|
-
import './AdSlot-
|
|
28
|
+
import './AdSlot-78e48a2c.js';
|
|
29
29
|
import './promise-2592a80a.js';
|
|
30
|
-
import './ADInfeed-
|
|
31
|
-
import './get-
|
|
32
|
-
export { G as default } from './GridContent-
|
|
30
|
+
import './ADInfeed-e5cefea5.js';
|
|
31
|
+
import './get-53653403.js';
|
|
32
|
+
export { G as default } from './GridContent-e3224519.js';
|
|
33
33
|
import './AuthorComponent-c9e46673.js';
|
package/dist/esm/GroupDeck.js
CHANGED
|
@@ -5,14 +5,14 @@ import './_library-528f1934.js';
|
|
|
5
5
|
import './_object-pie-33c40e79.js';
|
|
6
6
|
import { b as _typeof } from './typeof-e4b50250.js';
|
|
7
7
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
8
|
-
import { i as imageUrlBuilder } from './index-
|
|
8
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
9
9
|
import { _ as _slicedToArray } from './slicedToArray-04e02710.js';
|
|
10
10
|
import { s as smoothscroll, g as getYoutubeId } from './smoothscroll-4b699764.js';
|
|
11
11
|
|
|
12
|
-
/*
|
|
13
|
-
GROQ query -
|
|
14
|
-
accepts an array of title, URL
|
|
15
|
-
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
12
|
+
/*
|
|
13
|
+
GROQ query -
|
|
14
|
+
accepts an array of title, URL
|
|
15
|
+
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
var GroupDeck = function GroupDeck(props) {
|
|
@@ -6,9 +6,9 @@ import 'prop-types';
|
|
|
6
6
|
import Row from 'react-bootstrap/Row';
|
|
7
7
|
import Col from 'react-bootstrap/Col';
|
|
8
8
|
import Card from 'react-bootstrap/Card';
|
|
9
|
-
import { m as moment } from './moment-
|
|
9
|
+
import { m as moment } from './moment-12415288.js';
|
|
10
10
|
import 'react-dom';
|
|
11
|
-
import { i as imageUrlBuilder } from './index-
|
|
11
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
12
12
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
13
13
|
import './slicedToArray-04e02710.js';
|
|
14
14
|
import { A as AuthorComponent } from './AuthorComponent-c9e46673.js';
|
package/dist/esm/IssueDeck.js
CHANGED
|
@@ -10,9 +10,9 @@ import 'prop-types';
|
|
|
10
10
|
import Row from 'react-bootstrap/Row';
|
|
11
11
|
import Col from 'react-bootstrap/Col';
|
|
12
12
|
import Card from 'react-bootstrap/Card';
|
|
13
|
-
import { I as InfiniteScroll } from './index.es-
|
|
13
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
14
14
|
import 'react-dom';
|
|
15
|
-
import { i as imageUrlBuilder } from './index-
|
|
15
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
16
16
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
17
17
|
import { _ as _slicedToArray } from './slicedToArray-04e02710.js';
|
|
18
18
|
import Button from 'react-bootstrap/Button';
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -9,19 +9,19 @@ import { _ as _extends } from './extends-92072fff.js';
|
|
|
9
9
|
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-dfba24f5.js';
|
|
10
10
|
import './typeof-e4b50250.js';
|
|
11
11
|
import React__default from 'react';
|
|
12
|
-
import { d as debounce_1, l as lib_3 } from './debounce-
|
|
12
|
+
import { d as debounce_1, l as lib_3 } from './debounce-df468b0e.js';
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
import Container from 'react-bootstrap/Container';
|
|
15
15
|
import 'react-bootstrap/Row';
|
|
16
16
|
import 'react-bootstrap/Col';
|
|
17
17
|
import 'react-bootstrap/Card';
|
|
18
|
-
import './moment-
|
|
18
|
+
import './moment-12415288.js';
|
|
19
19
|
import { withRouter } from 'next/router';
|
|
20
|
-
import { I as InfiniteScroll } from './index.es-
|
|
20
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
21
21
|
import 'react-dom';
|
|
22
22
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
23
|
-
import './index-
|
|
24
|
-
import { m as
|
|
23
|
+
import './index-51a80699.js';
|
|
24
|
+
import { m as main_39 } from './main-7d1b3c98.js';
|
|
25
25
|
import { d as _Promise } from './promise-2592a80a.js';
|
|
26
26
|
|
|
27
27
|
var MasterDeck = function (_React$Component) {
|
|
@@ -173,14 +173,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
// please leave this for later debug purpose : Yong Jun.
|
|
176
|
-
/* console.log('page change reported', {
|
|
177
|
-
currentPage: currentPage,
|
|
178
|
-
pageNumber: pageNumber,
|
|
179
|
-
pathname: pathname,
|
|
180
|
-
path: path,
|
|
181
|
-
newPath: newPath,
|
|
182
|
-
firstPage: pageNumber === 1,
|
|
183
|
-
queryString: queryString
|
|
176
|
+
/* console.log('page change reported', {
|
|
177
|
+
currentPage: currentPage,
|
|
178
|
+
pageNumber: pageNumber,
|
|
179
|
+
pathname: pathname,
|
|
180
|
+
path: path,
|
|
181
|
+
newPath: newPath,
|
|
182
|
+
firstPage: pageNumber === 1,
|
|
183
|
+
queryString: queryString
|
|
184
184
|
}) */
|
|
185
185
|
|
|
186
186
|
if (pageview) {
|
|
@@ -214,7 +214,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
214
214
|
'div',
|
|
215
215
|
null,
|
|
216
216
|
React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage }),
|
|
217
|
-
|
|
217
|
+
main_39 && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
218
218
|
'div',
|
|
219
219
|
{ className: 'ad-container', style: { margin: '0 auto' } },
|
|
220
220
|
_this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
|