@mjhls/mjh-framework 1.0.790-scroll-change-test → 1.0.791-auth-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.
@@ -2,7 +2,7 @@ import { _ as _extends } from './extends-60e0e1c6.js';
2
2
  import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
3
3
  import React, { useState, useEffect } from 'react';
4
4
  import { B as BlockContent } from './BlockContent-52cf21c5.js';
5
- import { g as getSerializers } from './index-613fdebe.js';
5
+ import { g as getSerializers } from './index-20026f92.js';
6
6
  import { m as momentTimezone } from './index-79cfd25c.js';
7
7
  import { useRouter } from 'next/router';
8
8
  import Button from 'react-bootstrap/Button';
@@ -18,6 +18,7 @@ import 'react-bootstrap';
18
18
  import './index-888f9253.js';
19
19
  import './index-c7e2ac95.js';
20
20
  import './util-3ab476bf.js';
21
+ import './empty-81a1dbdc.js';
21
22
  import './Beam.js';
22
23
  import './stringify-59c8f690.js';
23
24
  import './asyncToGenerator-7f8f9219.js';
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import ArticleCarousel from './ArticleCarousel.js';
4
4
  import { I as IoIosArrowForward } from './index.esm-3fdda599.js';
5
5
  import { B as BlockContent } from './BlockContent-52cf21c5.js';
6
- import { g as getSerializers } from './index-613fdebe.js';
6
+ import { g as getSerializers } from './index-20026f92.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './_to-object-b50e61c3.js';
9
9
  import './_object-pie-133f504a.js';
@@ -27,6 +27,7 @@ import 'react-bootstrap';
27
27
  import './index-888f9253.js';
28
28
  import 'next/router';
29
29
  import './util-3ab476bf.js';
30
+ import './empty-81a1dbdc.js';
30
31
  import './Beam.js';
31
32
  import './stringify-59c8f690.js';
32
33
  import './asyncToGenerator-7f8f9219.js';
@@ -4,6 +4,7 @@ import { _ as _extends$1 } from './extends-60e0e1c6.js';
4
4
  import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
5
5
  import React, { useCallback, useRef, useState, useContext, useMemo, useEffect, useImperativeHandle, useReducer, forwardRef, cloneElement } from 'react';
6
6
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
7
+ import { _ as _inheritsLoose } from './inheritsLoose-8f901617.js';
7
8
  import PropTypes from 'prop-types';
8
9
  import ReactDOM from 'react-dom';
9
10
  import Link from 'next/link';
@@ -15,7 +16,7 @@ import { i as imageUrlBuilder } from './index-0dbff1d1.js';
15
16
  import { m as moment } from './moment-bc12cb97.js';
16
17
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
17
18
  import { B as BlockContent } from './BlockContent-52cf21c5.js';
18
- import { g as getSerializers } from './index-613fdebe.js';
19
+ import { g as getSerializers } from './index-20026f92.js';
19
20
  import './define-property-fe54dc9f.js';
20
21
  import './_to-object-b50e61c3.js';
21
22
  import './es6.string.iterator-bc33758b.js';
@@ -50,6 +51,7 @@ import './_is-array-3e99e06e.js';
50
51
  import 'react-bootstrap';
51
52
  import './index-c7e2ac95.js';
52
53
  import './util-3ab476bf.js';
54
+ import './empty-81a1dbdc.js';
53
55
  import './brightcove-react-player-loader.es-b43c695a.js';
54
56
  import './GroupDeck.js';
55
57
  import './smoothscroll-fa4e3f8c.js';
@@ -250,21 +252,6 @@ function useUncontrolled(props, config) {
250
252
  }, props);
251
253
  }
252
254
 
253
- function _setPrototypeOf(o, p) {
254
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
255
- o.__proto__ = p;
256
- return o;
257
- };
258
-
259
- return _setPrototypeOf(o, p);
260
- }
261
-
262
- function _inheritsLoose(subClass, superClass) {
263
- subClass.prototype = Object.create(superClass.prototype);
264
- subClass.prototype.constructor = subClass;
265
- _setPrototypeOf(subClass, superClass);
266
- }
267
-
268
255
  var ThemeContext = React.createContext({});
269
256
  ThemeContext.Consumer;
270
257
  ThemeContext.Provider;
@@ -9801,6 +9788,8 @@ var MediaSeriesLanding = function MediaSeriesLanding(props) {
9801
9788
 
9802
9789
  MediaSeriesLanding.getInitialData = function () {
9803
9790
  var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(ctx, client, cache) {
9791
+ var _ref4;
9792
+
9804
9793
  var urlQuery, pathname, identifier, itemsPerPage, currentPage, start, statusCode, params, docGroupID, seriesQuery, seriesData, taxonomyFilter;
9805
9794
  return regenerator.wrap(function _callee2$(_context2) {
9806
9795
  while (1) {
@@ -9819,11 +9808,11 @@ MediaSeriesLanding.getInitialData = function () {
9819
9808
  url: pathname
9820
9809
  };
9821
9810
  _context2.next = 9;
9822
- return client.fetch('*[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\'][0]{\n _id, \n name\n }');
9811
+ return client.fetch('*[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\'][0]{\n _id, \n isGated,\n name\n }');
9823
9812
 
9824
9813
  case 9:
9825
9814
  docGroupID = _context2.sent;
9826
- seriesQuery = '*[_type == \'documentGroup\' && references(\'' + docGroupID._id + '\') && isSeries != false && isShow != false && defined(published) && dateTime(published) <= dateTime(now()) ] | order(published desc) [$from...$to] {\n _id,\n name,\n identifier,\n published,\n thumbnail,\n description,\n topicMapping[]->,\n \'pageNumber\': ' + currentPage + ',\n \'parentUrl\': \'' + identifier + '\'\n }';
9815
+ seriesQuery = '*[_type == \'documentGroup\' && references(\'' + docGroupID._id + '\') && isSeries != false && isShow != false && defined(published) && dateTime(published) <= dateTime(now()) ] | order(published desc) [$from...$to] {\n _id,\n name,\n identifier,\n published,\n thumbnail,\n description,\n topicMapping[]->,\n isGated,\n \'pageNumber\': ' + currentPage + ',\n \'parentUrl\': \'' + identifier + '\'\n }';
9827
9816
  _context2.next = 13;
9828
9817
  return client.fetch(seriesQuery, params);
9829
9818
 
@@ -9840,7 +9829,7 @@ MediaSeriesLanding.getInitialData = function () {
9840
9829
  statusCode = 404;
9841
9830
  }
9842
9831
 
9843
- return _context2.abrupt('return', _defineProperty({ seriesData: seriesData, query: seriesQuery, params: params, currentPage: currentPage, taxonomyFilter: taxonomyFilter, identifier: identifier, docGroupID: docGroupID._id, parentUrl: identifier, statusCode: statusCode }, 'taxonomyFilter', taxonomyFilter));
9832
+ return _context2.abrupt('return', (_ref4 = { seriesData: seriesData, query: seriesQuery, params: params, currentPage: currentPage, taxonomyFilter: taxonomyFilter, identifier: identifier, docGroupID: docGroupID._id, parentUrl: identifier, statusCode: statusCode }, _defineProperty(_ref4, 'taxonomyFilter', taxonomyFilter), _defineProperty(_ref4, 'docGroup', docGroupID), _ref4));
9844
9833
 
9845
9834
  case 19:
9846
9835
  case 'end':
@@ -10,7 +10,7 @@ import QueueDeckExpanded from './QueueDeckExpanded.js';
10
10
  import Breadcrumbs from './Breadcrumbs.js';
11
11
  import Feature from './Feature.js';
12
12
  import urlFor from './urlFor.js';
13
- import { g as getSerializers } from './index-613fdebe.js';
13
+ import { g as getSerializers } from './index-20026f92.js';
14
14
  import { B as BlockContent } from './BlockContent-52cf21c5.js';
15
15
  import './_commonjsHelpers-0c4b6f40.js';
16
16
  import './es6.string.iterator-bc33758b.js';
@@ -49,6 +49,7 @@ import 'react-bootstrap/Breadcrumb';
49
49
  import 'react-bootstrap/Carousel';
50
50
  import './index-c7e2ac95.js';
51
51
  import './util-3ab476bf.js';
52
+ import './empty-81a1dbdc.js';
52
53
  import './typeof-a286cf0c.js';
53
54
  import './_is-array-3e99e06e.js';
54
55
  import './brightcove-react-player-loader.es-b43c695a.js';
@@ -4,7 +4,7 @@ import React from 'react';
4
4
  import { useRouter } from 'next/router';
5
5
  import Head from 'next/head';
6
6
  import { B as BlockContent } from './BlockContent-52cf21c5.js';
7
- import { g as getSerializers } from './index-613fdebe.js';
7
+ import { g as getSerializers } from './index-20026f92.js';
8
8
  import './_commonjsHelpers-0c4b6f40.js';
9
9
  import './es6.string.iterator-bc33758b.js';
10
10
  import './_to-object-b50e61c3.js';
@@ -20,6 +20,7 @@ import 'react-bootstrap';
20
20
  import './index-888f9253.js';
21
21
  import './index-c7e2ac95.js';
22
22
  import './util-3ab476bf.js';
23
+ import './empty-81a1dbdc.js';
23
24
  import './Beam.js';
24
25
  import './stringify-59c8f690.js';
25
26
  import './Segment.js';
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-52cf21c5.js';
5
5
  import Col from 'react-bootstrap/Col';
6
6
  import Form from 'react-bootstrap/Form';
7
7
  import Button from 'react-bootstrap/Button';
8
- import { g as getSerializers } from './index-613fdebe.js';
8
+ import { g as getSerializers } from './index-20026f92.js';
9
9
  import VideoSeriesListing from './VideoSeriesListing.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './es6.string.iterator-bc33758b.js';
@@ -23,6 +23,7 @@ import './index-888f9253.js';
23
23
  import 'next/router';
24
24
  import './index-c7e2ac95.js';
25
25
  import './util-3ab476bf.js';
26
+ import './empty-81a1dbdc.js';
26
27
  import './Beam.js';
27
28
  import './stringify-59c8f690.js';
28
29
  import './Segment.js';
package/dist/esm/View.js CHANGED
@@ -15,7 +15,7 @@ import FormControl from 'react-bootstrap/FormControl';
15
15
  import Button from 'react-bootstrap/Button';
16
16
  import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
17
17
  import SocialShare from './SocialShare.js';
18
- import { r as renderAuthor, g as getSerializers } from './index-613fdebe.js';
18
+ import { r as renderAuthor, g as getSerializers } from './index-20026f92.js';
19
19
  import DFPAdSlot from './AdSlot.js';
20
20
  import { S as SeriesSlider } from './SeriesSlider-8414085b.js';
21
21
  import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-d0d71a56.js';
@@ -47,6 +47,7 @@ import 'react-share';
47
47
  import 'react-bootstrap';
48
48
  import './index-c7e2ac95.js';
49
49
  import './util-3ab476bf.js';
50
+ import './empty-81a1dbdc.js';
50
51
  import './Beam.js';
51
52
  import './Segment.js';
52
53
  import './brightcove-react-player-loader.es-b43c695a.js';
@@ -1449,7 +1450,6 @@ var ArticleQueue = function ArticleQueue(props) {
1449
1450
  };
1450
1451
 
1451
1452
  var onChangeArticle = function onChangeArticle(path, meta) {
1452
- console.log('STUFF', path, prevUrl);
1453
1453
  var newPath = '/view/' + path;
1454
1454
  var activeArticle = queueData.find(function (item) {
1455
1455
  return item.url.current === path;
@@ -0,0 +1,3 @@
1
+ var require$$0 = {};
2
+
3
+ export { require$$0 as r };