@times-components/article-magazine-comment 3.74.11-alpha.6 → 3.74.12-alpha.4
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/dist/article-magazine-comment.js +1 -81
- package/dist/styles/responsive.js +2 -9
- package/package.json +3 -5
- package/rnw.js +1 -1
|
@@ -11,10 +11,6 @@ var _articleSkeleton = _interopRequireDefault(require("@times-components/article
|
|
|
11
11
|
|
|
12
12
|
var _utils = require("@times-components/utils");
|
|
13
13
|
|
|
14
|
-
var _tsNewskit = require("@times-components/ts-newskit");
|
|
15
|
-
|
|
16
|
-
var _newskit = require("newskit");
|
|
17
|
-
|
|
18
14
|
var _caption = require("@times-components/caption");
|
|
19
15
|
|
|
20
16
|
var _articleHeader = _interopRequireDefault(require("./article-header/article-header"));
|
|
@@ -37,62 +33,6 @@ class ArticlePage extends _react.Component {
|
|
|
37
33
|
constructor(props) {
|
|
38
34
|
super(props);
|
|
39
35
|
this.renderHeader = this.renderHeader.bind(this);
|
|
40
|
-
this.state = {
|
|
41
|
-
initialPosition: 0
|
|
42
|
-
};
|
|
43
|
-
this.sidebarRef = _react.default.createRef();
|
|
44
|
-
this.handleScroll = this.handleScroll.bind(this);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
componentDidMount() {
|
|
48
|
-
window.addEventListener("scroll", this.handleScroll);
|
|
49
|
-
const sidebarNode = this.sidebarRef.current;
|
|
50
|
-
|
|
51
|
-
if (sidebarNode) {
|
|
52
|
-
const rect = sidebarNode.getBoundingClientRect();
|
|
53
|
-
this.setState({
|
|
54
|
-
initialPosition: rect.top
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
componentWillUnmount() {
|
|
60
|
-
window.removeEventListener("scroll", this.handleScroll);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
handleScroll() {
|
|
64
|
-
const sidebarNode = this.sidebarRef.current;
|
|
65
|
-
|
|
66
|
-
if (sidebarNode) {
|
|
67
|
-
const rect = sidebarNode.getBoundingClientRect();
|
|
68
|
-
const adElement = document.querySelector(".responsive__InlineAdWrapper-sc-4v1r4q-17");
|
|
69
|
-
const relatedArticlesElement = document.getElementById("related-articles");
|
|
70
|
-
let isAdIntersecting = false;
|
|
71
|
-
let isRelatedArticlesIntersecting = false;
|
|
72
|
-
|
|
73
|
-
if (adElement) {
|
|
74
|
-
const adRect = adElement.getBoundingClientRect();
|
|
75
|
-
isAdIntersecting = adRect.top <= rect.bottom && adRect.bottom >= rect.top;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
if (relatedArticlesElement) {
|
|
79
|
-
const relatedArticlesRect = relatedArticlesElement.getBoundingClientRect();
|
|
80
|
-
isRelatedArticlesIntersecting = relatedArticlesRect.top <= window.innerHeight && relatedArticlesRect.bottom >= 0;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
const initialPosition = this.state.initialPosition;
|
|
84
|
-
|
|
85
|
-
if (isAdIntersecting || isRelatedArticlesIntersecting) {
|
|
86
|
-
sidebarNode.style.transition = "opacity 0.5s ease";
|
|
87
|
-
sidebarNode.style.opacity = "0";
|
|
88
|
-
} else {
|
|
89
|
-
const isScrolled = rect.top <= 0 && window.scrollY > initialPosition;
|
|
90
|
-
sidebarNode.style.transition = "opacity 0.5s ease";
|
|
91
|
-
sidebarNode.style.opacity = "1";
|
|
92
|
-
sidebarNode.style.position = isScrolled ? "fixed" : "absolute";
|
|
93
|
-
sidebarNode.style.top = isScrolled ? "0" : "100%";
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
36
|
}
|
|
97
37
|
|
|
98
38
|
renderHeader() {
|
|
@@ -119,27 +59,7 @@ class ArticlePage extends _react.Component {
|
|
|
119
59
|
publishedTime: publishedTime,
|
|
120
60
|
standfirst: standfirst,
|
|
121
61
|
updatedTime: updatedTime
|
|
122
|
-
}), /*#__PURE__*/_react.default.createElement(
|
|
123
|
-
theme: _tsNewskit.PuzzlesWebLightTheme
|
|
124
|
-
}, /*#__PURE__*/_react.default.createElement(_responsive.PuzzlesSidebar, {
|
|
125
|
-
ref: this.sidebarRef
|
|
126
|
-
}, /*#__PURE__*/_react.default.createElement(_tsNewskit.ArticleSidebar, {
|
|
127
|
-
pageLink: "https://www.thetimes.co.uk/puzzles",
|
|
128
|
-
sectionTitle: "Puzzles",
|
|
129
|
-
data: [{
|
|
130
|
-
title: "Crossword",
|
|
131
|
-
url: "https://www.thetimes.co.uk/puzzles/crossword",
|
|
132
|
-
imgUrl: "https://www.thetimes.co.uk/imageserver/image/%2Fpuzzles%2Ficons%2F33b27655-dcc9-421f-906f-b2b10dd26865.png?crop=1250%2C833%2C0%2C0&resize=500"
|
|
133
|
-
}, {
|
|
134
|
-
title: "Polygon",
|
|
135
|
-
url: "https://www.thetimes.co.uk/puzzles/word-puzzles",
|
|
136
|
-
imgUrl: "https://www.thetimes.co.uk/imageserver/image/%2Fpuzzles%2Ficons%2F33b27655-dcc9-421f-906f-b2b10dd26865.png?crop=1250%2C833%2C0%2C0&resize=500"
|
|
137
|
-
}, {
|
|
138
|
-
title: "Sudoku",
|
|
139
|
-
url: "https://www.thetimes.co.uk/puzzles/sudoku",
|
|
140
|
-
imgUrl: "https://www.thetimes.co.uk/imageserver/image/%2Fpuzzles%2Ficons%2F33b27655-dcc9-421f-906f-b2b10dd26865.png?crop=1250%2C833%2C0%2C0&resize=500"
|
|
141
|
-
}]
|
|
142
|
-
}))), /*#__PURE__*/_react.default.createElement(_responsive.LeadAsset, _extends({}, (0, _utils.getLeadAsset)(article), {
|
|
62
|
+
}), /*#__PURE__*/_react.default.createElement(_responsive.LeadAsset, _extends({}, (0, _utils.getLeadAsset)(article), {
|
|
143
63
|
getImageCrop: _utils.getStandardTemplateCrop,
|
|
144
64
|
renderCaption: _ref => {
|
|
145
65
|
let caption = _ref.caption;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.LeadAsset = exports.StandfirstContainer = exports.Separator = exports.MetaContainer = exports.Meta = exports.LabelContainer = exports.HeadlineContainer = exports.HeaderContainer = exports.FlagsContainer = exports.DatePublicationContainer = exports.AuthorImageContainer = void 0;
|
|
7
7
|
|
|
8
8
|
var _utils = require("@times-components/utils");
|
|
9
9
|
|
|
@@ -76,11 +76,4 @@ const LeadAsset = (0, _styledComponents.default)(_articleLeadAsset.default).with
|
|
|
76
76
|
displayName: "responsive__LeadAsset",
|
|
77
77
|
componentId: "sc-15qf29k-10"
|
|
78
78
|
})(["order:2;@media (min-width:", "px){margin-bottom:", ";}@media (min-width:", "px){width:56.2%;margin-left:auto;margin-right:auto;}"], _tsStyleguide.breakpoints.medium, (0, _tsStyleguide.spacing)(6), _tsStyleguide.breakpoints.wide);
|
|
79
|
-
exports.LeadAsset = LeadAsset;
|
|
80
|
-
|
|
81
|
-
const PuzzlesSidebar = _styledComponents.default.div.withConfig({
|
|
82
|
-
displayName: "responsive__PuzzlesSidebar",
|
|
83
|
-
componentId: "sc-15qf29k-11"
|
|
84
|
-
})(["padding-left:", ";position:absolute;right:0;z-index:1;top:100%;display:none;@media (min-width:", "px){display:block;width:19.8333%;padding-right:", ";}@media (min-width:", "px){display:block;width:17.8333%;padding-right:", ";}"], (0, _tsStyleguide.spacing)(4), _tsStyleguide.breakpoints.wide, (0, _tsStyleguide.spacing)(8), _tsStyleguide.breakpoints.huge, (0, _tsStyleguide.spacing)(15));
|
|
85
|
-
|
|
86
|
-
exports.PuzzlesSidebar = PuzzlesSidebar;
|
|
79
|
+
exports.LeadAsset = LeadAsset;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@times-components/article-magazine-comment",
|
|
3
|
-
"version": "3.74.
|
|
3
|
+
"version": "3.74.12-alpha.4+bbfced9672",
|
|
4
4
|
"description": "Magazine Comment Article Template",
|
|
5
5
|
"main": "dist/article-magazine-comment",
|
|
6
6
|
"dev": "src/article-magazine-comment",
|
|
@@ -57,18 +57,16 @@
|
|
|
57
57
|
"@times-components/article-byline": "^3.13.15",
|
|
58
58
|
"@times-components/article-label": "^2.16.1",
|
|
59
59
|
"@times-components/article-lead-asset": "^1.17.4",
|
|
60
|
-
"@times-components/article-skeleton": "^1.115.
|
|
60
|
+
"@times-components/article-skeleton": "^1.115.12-alpha.4+bbfced9672",
|
|
61
61
|
"@times-components/caption": "^3.8.15",
|
|
62
62
|
"@times-components/context": "^1.10.37",
|
|
63
63
|
"@times-components/date-publication": "^0.28.1",
|
|
64
64
|
"@times-components/image": "^6.15.14",
|
|
65
65
|
"@times-components/ts-components": "^1.81.7",
|
|
66
|
-
"@times-components/ts-newskit": "^1.139.2",
|
|
67
66
|
"@times-components/ts-styleguide": "^1.48.1",
|
|
68
67
|
"@times-components/user-state": "^0.5.11",
|
|
69
68
|
"@times-components/utils": "^6.16.21",
|
|
70
69
|
"@times-components/video-label": "^2.11.22",
|
|
71
|
-
"newskit": "7.2.0",
|
|
72
70
|
"prop-types": "15.7.2",
|
|
73
71
|
"styled-components": "4.3.2"
|
|
74
72
|
},
|
|
@@ -83,5 +81,5 @@
|
|
|
83
81
|
"publishConfig": {
|
|
84
82
|
"access": "public"
|
|
85
83
|
},
|
|
86
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "bbfced96729d4b34f0d1fb51a3bddb8ce7e8a10b"
|
|
87
85
|
}
|
package/rnw.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
module.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=17)}([function(e,t){e.exports=require("@times-components/ts-styleguide/rnw")},function(e,t){e.exports=require("prop-types")},function(e,t){e.exports=require("react")},function(e,t){e.exports=require("@times-components/utils/rnw")},function(e,t){e.exports=require("styled-components")},function(e,t){e.exports=require("@times-components/context/rnw")},function(e,t){e.exports=require("@times-components/ts-newskit/rnw")},function(e,t){e.exports=require("@times-components/ts-components/rnw")},function(e,t){e.exports=require("@times-components/article-byline/rnw")},function(e,t){e.exports=require("@times-components/article-skeleton/rnw")},function(e,t){e.exports=require("newskit")},function(e,t){e.exports=require("@times-components/caption/rnw")},function(e,t){e.exports=require("@times-components/image/rnw")},function(e,t){e.exports=require("@times-components/article-label/rnw")},function(e,t){e.exports=require("@times-components/video-label/rnw")},function(e,t){e.exports=require("@times-components/date-publication/rnw")},function(e,t){e.exports=require("@times-components/article-lead-asset/rnw")},function(e,t,n){"use strict";n.r(t);var i=n(2),r=n.n(i),a=n(9),o=n.n(a),s=n(3),l=n(6),c=n(10),p=n(11),d=n(5),u=n.n(d),m=n(12),g=n.n(m),b=n(7),f=n(0),h=n(13),w=n.n(h),y=n(14),O=n.n(y),j=n(1),x=n.n(j);x.a.bool,x.a.string;function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{articleHeadline:P(P({},Object(f.fontFactory)({font:"headline",fontSize:"headline"})),{},{color:f.colours.functional.brandColour,marginBottom:Object(f.spacing)(2),textAlign:"center"}),authorImage:{marginBottom:Object(f.spacing)(5)},container:{alignItems:"center",marginBottom:Object(f.spacing)(5),marginLeft:Object(f.spacing)(2),marginRight:Object(f.spacing)(2),paddingTop:Object(f.spacing)(7)},containerTablet:{alignSelf:"center",width:f.tabletWidth},datePublication:P(P({},Object(f.fontFactory)({font:"supporting",fontSize:"cardMeta"})),{},{color:f.colours.functional.secondary,marginTop:Object(f.spacing)(3)}),datePublicationTablet:{marginTop:"auto"},label:{marginBottom:Object(f.spacing)(2)},leadAssetContainer:{marginBottom:Object(f.spacing)(4)},leadAssetContainerTablet:{alignSelf:"center",width:f.tabletWidth-f.tabletRowPadding},meta:{flexDirection:"row",flexWrap:"wrap"},metaContainer:{alignItems:"center"},metaContainerTablet:{flexDirection:"row",justifyContent:"center"},metaTablet:{paddingTop:Object(f.spacing)(1)},separator:{borderRightColor:f.colours.functional.keyline,borderRightWidth:1,height:Object(f.spacing)(3),marginLeft:Object(f.spacing)(2),marginRight:Object(f.spacing)(2)},standFirst:P(P({},Object(f.fontFactory)({font:"headlineRegular",fontSize:"smallestHeadline"})),{},{color:f.colours.functional.primary,marginBottom:Object(f.spacing)(3),paddingLeft:Object(f.spacing)(2),paddingRight:Object(f.spacing)(2),textAlign:"center"})});const S=e=>{let t=e.isVideo,n=e.label;if(!t&&!n)return null;const i=t?O.a:w.a;return r.a.createElement(u.a.Consumer,null,e=>{let t=e.theme.sectionColour;return r.a.createElement(s.TcView,{style:E.label},r.a.createElement(i,{color:t||f.colours.section.default,title:n}))})};S.defaultProps={isVideo:!1,label:null};var T=S,z=n(8),R=n(15),_=n.n(R);x.a.arrayOf(x.a.shape({})).isRequired,x.a.string.isRequired,x.a.string.isRequired;var I=n(4),F=n.n(I),D=n(16),N=n.n(D);const L=F()(s.TcView).withConfig({displayName:"responsive__AuthorImageContainer",componentId:"sc-15qf29k-0"})(["border-radius:50%;height:100px;overflow:hidden;width:100px;@media (min-width:","px){height:118px;width:118px;}"],f.breakpoints.medium),H=F()(s.TcText).withConfig({displayName:"responsive__DatePublicationContainer",componentId:"sc-15qf29k-1"})(["",";flex-direction:row;flex-wrap:wrap;margin-top:",";@media (min-width:","px){margin-top:0;}"],e=>e.styles&&e.styles,Object(f.spacing)(3),f.breakpoints.medium),V=F()(s.TcView).withConfig({displayName:"responsive__FlagsContainer",componentId:"sc-15qf29k-2"})(["padding-top:",";padding-bottom:",";@media (min-width:","px){padding-top:0;}"],Object(f.spacing)(1),Object(f.spacing)(3),f.breakpoints.medium),B=F()(s.TcView).withConfig({displayName:"responsive__HeaderContainer",componentId:"sc-15qf29k-3"})([""," order:2;@media (min-width:","px){width:80.8%;margin-top:0;margin-left:auto;margin-right:auto;margin-bottom:",";}@media (min-width:","px){width:56.2%;}"],e=>e.styles&&e.styles,f.breakpoints.medium,Object(f.spacing)(6),f.breakpoints.wide),A=F.a.h1.withConfig({displayName:"responsive__HeadlineContainer",componentId:"sc-15qf29k-4"})(["border:0px solid black;box-sizing:border-box;display:inline;font-family:sans-serif;margin:0px;padding:0px;white-space:pre-wrap;overflow-wrap:break-word;font-weight:400;"," @media (min-width:","px){font-size:","px;line-height:50px;margin-bottom:",";}"],e=>e.styles&&e.styles,f.breakpoints.medium,f.fontSizes.articleHeadline,Object(f.spacing)(1)),M=(F()(s.TcView).withConfig({displayName:"responsive__LabelContainer",componentId:"sc-15qf29k-5"})(["@media (min-width:","px){margin-top:0px;}"],f.breakpoints.wide),F()(s.TcView).withConfig({displayName:"responsive__Meta",componentId:"sc-15qf29k-6"})([""," max-width:100%;justify-content:center;@media (min-width:","px){margin-top:0;}"],e=>e.styles&&e.styles,f.breakpoints.medium)),U=F()(s.TcView).withConfig({displayName:"responsive__MetaContainer",componentId:"sc-15qf29k-7"})(["align-items:center;justify-content:center;@media (min-width:","px){flex-direction:row;flex-wrap:wrap;}"],f.breakpoints.medium),W=F()(s.TcView).withConfig({displayName:"responsive__Separator",componentId:"sc-15qf29k-8"})(["display:none;@media (min-width:","px){background-color:",";display:flex;height:",";margin:0 ",";width:1px;}"],f.breakpoints.medium,f.colours.functional.keyline,Object(f.spacing)(3),Object(f.spacing)(2)),K=F.a.h2.withConfig({displayName:"responsive__StandfirstContainer",componentId:"sc-15qf29k-9"})(["border:0px solid black;box-sizing:border-box;display:inline;font-family:sans-serif;margin:0px;padding:0px;white-space:pre-wrap;overflow-wrap:break-word;font-weight:400;"," @media (min-width:","px){font-size:","px;line-height:","px;margin-bottom:",";}@media (min-width:","px){margin-bottom:",";}"],e=>e.styles&&e.styles,f.breakpoints.medium,f.fontSizes.infoTitle,Object(f.lineHeight)({font:"bodyRegular",fontSize:"infoTitle"}),Object(f.spacing)(5),f.breakpoints.wide,Object(f.spacing)(4)),Q=F()(N.a).withConfig({displayName:"responsive__LeadAsset",componentId:"sc-15qf29k-10"})(["order:2;@media (min-width:","px){margin-bottom:",";}@media (min-width:","px){width:56.2%;margin-left:auto;margin-right:auto;}"],f.breakpoints.medium,Object(f.spacing)(6),f.breakpoints.wide),Y=F.a.div.withConfig({displayName:"responsive__PuzzlesSidebar",componentId:"sc-15qf29k-11"})(["padding-left:",";position:absolute;right:0;z-index:1;top:100%;display:none;@media (min-width:","px){display:block;width:19.8333%;padding-right:",";}@media (min-width:","px){display:block;width:17.8333%;padding-right:",";}"],Object(f.spacing)(4),f.breakpoints.wide,Object(f.spacing)(8),f.breakpoints.huge,Object(f.spacing)(15));var G=e=>{let t=e.bylines,n=e.publicationName,a=e.publishedTime;return r.a.createElement(U,null,Object(z.hasBylineData)(t)&&r.a.createElement(i.Fragment,null,r.a.createElement(M,{styles:E.meta},r.a.createElement(z.ArticleBylineWithLinks,{ast:t})),r.a.createElement(W,null)),r.a.createElement(M,{styles:E.meta},r.a.createElement(H,{styles:Object(s.checkStylesForUnits)(E.datePublication)},r.a.createElement(_.a,{date:a,publication:n}))))};const J=e=>{let t=e.standfirst;return t?r.a.createElement(K,{role:"heading","aria-level":"2",styles:Object(s.checkStylesForUnits)(E.standFirst),testID:"standfirst"},t):null};J.defaultProps={standfirst:null};var X=J;x.a.string.isRequired,x.a.arrayOf(x.a.shape({})).isRequired,x.a.arrayOf(x.a.shape({expiryTime:x.a.string,type:x.a.string})),x.a.bool,x.a.string.isRequired,x.a.string,x.a.bool,x.a.string.isRequired,x.a.string.isRequired,x.a.string,x.a.string;function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach((function(t){ee(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const te=(e,t)=>Object(s.checkStylesForUnits)($($({},E.articleHeadline),{},{fontFamily:e?f.fontsWithFallback[e]:null,textTransform:t||null})),ne=e=>{let t=e.authorImage,n=e.bylines,i=e.flags,a=e.hasVideo,o=e.headline,s=e.label,l=e.publicationName,c=e.publishedTime,p=e.standfirst,d=e.updatedTime;return r.a.createElement(u.a.Consumer,null,e=>{let u=e.theme,m=u.headlineFont,f=u.headlineCase;return r.a.createElement(B,{styles:E.container},r.a.createElement(L,{style:E.authorImage},r.a.createElement(g.a,{aspectRatio:1,uri:t,accessibilityLabel:"author-image"})),r.a.createElement(T,{isVideo:a,label:s}),r.a.createElement(A,{role:"heading","aria-level":"1",styles:te(m,f)},o),r.a.createElement(V,null,r.a.createElement(b.UpdatedTimeProvider,{updatedTime:d},r.a.createElement(b.ArticleFlags,{flags:i}))),r.a.createElement(X,{standfirst:p}),r.a.createElement(G,{bylines:n,publicationName:l,publishedTime:c}))})};ne.defaultProps={flags:[],hasVideo:!1,label:null,longRead:!1,standfirst:null,updatedTime:null};var ie=ne;function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(Object(n),!0).forEach((function(t){oe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}ae(ae({},{analyticsStream:x.a.func.isRequired,article:x.a.shape({}),error:x.a.shape({graphQLErrors:x.a.array,message:x.a.string,networkError:x.a.shape({message:x.a.string})}),isLoading:x.a.bool,onImagePress:x.a.func,receiveChildList:x.a.func.isRequired}),{},{commentingConfig:x.a.shape({account:x.a.string.isRequired}).isRequired,navigationMode:x.a.shape({}).isRequired,storefrontConfig:x.a.string.isRequired});const se=ae({},{article:null,error:null,isLoading:!1,onImagePress:null});function le(){return(le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}class ce extends i.Component{constructor(e){super(e),this.renderHeader=this.renderHeader.bind(this),this.state={initialPosition:0},this.sidebarRef=r.a.createRef(),this.handleScroll=this.handleScroll.bind(this)}componentDidMount(){window.addEventListener("scroll",this.handleScroll);const e=this.sidebarRef.current;if(e){const t=e.getBoundingClientRect();this.setState({initialPosition:t.top})}}componentWillUnmount(){window.removeEventListener("scroll",this.handleScroll)}handleScroll(){const e=this.sidebarRef.current;if(e){const t=e.getBoundingClientRect(),n=document.querySelector(".responsive__InlineAdWrapper-sc-4v1r4q-17"),i=document.getElementById("related-articles");let r=!1,a=!1;if(n){const e=n.getBoundingClientRect();r=e.top<=t.bottom&&e.bottom>=t.top}if(i){const e=i.getBoundingClientRect();a=e.top<=window.innerHeight&&e.bottom>=0}const o=this.state.initialPosition;if(r||a)e.style.transition="opacity 0.5s ease",e.style.opacity="0";else{const n=t.top<=0&&window.scrollY>o;e.style.transition="opacity 0.5s ease",e.style.opacity="1",e.style.position=n?"fixed":"absolute",e.style.top=n?"0":"100%"}}}renderHeader(){const e=this.props.article,t=e.bylines,n=e.expirableFlags,a=e.hasVideo,o=e.headline,d=e.label,u=e.publicationName,m=e.publishedTime,g=e.shortHeadline,b=e.standfirst,f=e.updatedTime,h=t&&t.length>0&&t[0].image&&0!==Object.keys(t[0].image).length&&t[0].image.crop?t[0].image.crop.url:null;return r.a.createElement(i.Fragment,null,r.a.createElement(ie,{authorImage:h,bylines:t,flags:n,hasVideo:a,headline:Object(s.getHeadline)(o,g),label:d,publicationName:u,publishedTime:m,standfirst:b,updatedTime:f}),r.a.createElement(c.NewsKitProvider,{theme:l.PuzzlesWebLightTheme},r.a.createElement(Y,{ref:this.sidebarRef},r.a.createElement(l.ArticleSidebar,{pageLink:"https://www.thetimes.co.uk/puzzles",sectionTitle:"Puzzles",data:[{title:"Crossword",url:"https://www.thetimes.co.uk/puzzles/crossword",imgUrl:"https://www.thetimes.co.uk/imageserver/image/%2Fpuzzles%2Ficons%2F33b27655-dcc9-421f-906f-b2b10dd26865.png?crop=1250%2C833%2C0%2C0&resize=500"},{title:"Polygon",url:"https://www.thetimes.co.uk/puzzles/word-puzzles",imgUrl:"https://www.thetimes.co.uk/imageserver/image/%2Fpuzzles%2Ficons%2F33b27655-dcc9-421f-906f-b2b10dd26865.png?crop=1250%2C833%2C0%2C0&resize=500"},{title:"Sudoku",url:"https://www.thetimes.co.uk/puzzles/sudoku",imgUrl:"https://www.thetimes.co.uk/imageserver/image/%2Fpuzzles%2Ficons%2F33b27655-dcc9-421f-906f-b2b10dd26865.png?crop=1250%2C833%2C0%2C0&resize=500"}]}))),r.a.createElement(Q,le({},Object(s.getLeadAsset)(e),{getImageCrop:s.getStandardTemplateCrop,renderCaption:e=>{let t=e.caption;return r.a.createElement(p.CentredCaption,t)},style:E.leadAssetContainer})))}render(){const e=this.props,t=e.article,n=e.analyticsStream,i=e.error,a=e.isLoading,s=e.logoUrl,l=e.navigationMode,c=e.receiveChildList,p=e.commentingConfig,d=e.paidContentClassName,u=e.isPreview,m=e.swgProductId,g=e.storefrontConfig;return i||a?null:r.a.createElement(o.a,{analyticsStream:n,data:t,Header:this.renderHeader,logoUrl:s,receiveChildList:c,navigationMode:l,commentingConfig:p,paidContentClassName:d,isPreview:u,swgProductId:m,storefrontConfig:g})}}ce.defaultProps=se;t.default=ce}]);
|
|
1
|
+
module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=15)}([function(e,t){e.exports=require("@times-components/ts-styleguide/rnw")},function(e,t){e.exports=require("prop-types")},function(e,t){e.exports=require("react")},function(e,t){e.exports=require("@times-components/utils/rnw")},function(e,t){e.exports=require("styled-components")},function(e,t){e.exports=require("@times-components/context/rnw")},function(e,t){e.exports=require("@times-components/ts-components/rnw")},function(e,t){e.exports=require("@times-components/article-byline/rnw")},function(e,t){e.exports=require("@times-components/article-skeleton/rnw")},function(e,t){e.exports=require("@times-components/caption/rnw")},function(e,t){e.exports=require("@times-components/image/rnw")},function(e,t){e.exports=require("@times-components/article-label/rnw")},function(e,t){e.exports=require("@times-components/video-label/rnw")},function(e,t){e.exports=require("@times-components/date-publication/rnw")},function(e,t){e.exports=require("@times-components/article-lead-asset/rnw")},function(e,t,n){"use strict";n.r(t);var r=n(2),i=n.n(r),a=n(8),o=n.n(a),s=n(3),c=n(9),l=n(5),p=n.n(l),d=n(10),u=n.n(d),m=n(6),f=n(0),g=n(11),b=n.n(g),h=n(12),y=n.n(h),O=n(1),w=n.n(O);w.a.bool,w.a.string;function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{articleHeadline:x(x({},Object(f.fontFactory)({font:"headline",fontSize:"headline"})),{},{color:f.colours.functional.brandColour,marginBottom:Object(f.spacing)(2),textAlign:"center"}),authorImage:{marginBottom:Object(f.spacing)(5)},container:{alignItems:"center",marginBottom:Object(f.spacing)(5),marginLeft:Object(f.spacing)(2),marginRight:Object(f.spacing)(2),paddingTop:Object(f.spacing)(7)},containerTablet:{alignSelf:"center",width:f.tabletWidth},datePublication:x(x({},Object(f.fontFactory)({font:"supporting",fontSize:"cardMeta"})),{},{color:f.colours.functional.secondary,marginTop:Object(f.spacing)(3)}),datePublicationTablet:{marginTop:"auto"},label:{marginBottom:Object(f.spacing)(2)},leadAssetContainer:{marginBottom:Object(f.spacing)(4)},leadAssetContainerTablet:{alignSelf:"center",width:f.tabletWidth-f.tabletRowPadding},meta:{flexDirection:"row",flexWrap:"wrap"},metaContainer:{alignItems:"center"},metaContainerTablet:{flexDirection:"row",justifyContent:"center"},metaTablet:{paddingTop:Object(f.spacing)(1)},separator:{borderRightColor:f.colours.functional.keyline,borderRightWidth:1,height:Object(f.spacing)(3),marginLeft:Object(f.spacing)(2),marginRight:Object(f.spacing)(2)},standFirst:x(x({},Object(f.fontFactory)({font:"headlineRegular",fontSize:"smallestHeadline"})),{},{color:f.colours.functional.primary,marginBottom:Object(f.spacing)(3),paddingLeft:Object(f.spacing)(2),paddingRight:Object(f.spacing)(2),textAlign:"center"})});const q=e=>{let t=e.isVideo,n=e.label;if(!t&&!n)return null;const r=t?y.a:b.a;return i.a.createElement(p.a.Consumer,null,e=>{let t=e.theme.sectionColour;return i.a.createElement(s.TcView,{style:k.label},i.a.createElement(r,{color:t||f.colours.section.default,title:n}))})};q.defaultProps={isVideo:!1,label:null};var E=q,T=n(7),S=n(13),_=n.n(S);w.a.arrayOf(w.a.shape({})).isRequired,w.a.string.isRequired,w.a.string.isRequired;var I=n(4),R=n.n(I),D=n(14),N=n.n(D);const F=R()(s.TcView).withConfig({displayName:"responsive__AuthorImageContainer",componentId:"sc-15qf29k-0"})(["border-radius:50%;height:100px;overflow:hidden;width:100px;@media (min-width:","px){height:118px;width:118px;}"],f.breakpoints.medium),L=R()(s.TcText).withConfig({displayName:"responsive__DatePublicationContainer",componentId:"sc-15qf29k-1"})(["",";flex-direction:row;flex-wrap:wrap;margin-top:",";@media (min-width:","px){margin-top:0;}"],e=>e.styles&&e.styles,Object(f.spacing)(3),f.breakpoints.medium),V=R()(s.TcView).withConfig({displayName:"responsive__FlagsContainer",componentId:"sc-15qf29k-2"})(["padding-top:",";padding-bottom:",";@media (min-width:","px){padding-top:0;}"],Object(f.spacing)(1),Object(f.spacing)(3),f.breakpoints.medium),H=R()(s.TcView).withConfig({displayName:"responsive__HeaderContainer",componentId:"sc-15qf29k-3"})([""," order:2;@media (min-width:","px){width:80.8%;margin-top:0;margin-left:auto;margin-right:auto;margin-bottom:",";}@media (min-width:","px){width:56.2%;}"],e=>e.styles&&e.styles,f.breakpoints.medium,Object(f.spacing)(6),f.breakpoints.wide),z=R.a.h1.withConfig({displayName:"responsive__HeadlineContainer",componentId:"sc-15qf29k-4"})(["border:0px solid black;box-sizing:border-box;display:inline;font-family:sans-serif;margin:0px;padding:0px;white-space:pre-wrap;overflow-wrap:break-word;font-weight:400;"," @media (min-width:","px){font-size:","px;line-height:50px;margin-bottom:",";}"],e=>e.styles&&e.styles,f.breakpoints.medium,f.fontSizes.articleHeadline,Object(f.spacing)(1)),A=(R()(s.TcView).withConfig({displayName:"responsive__LabelContainer",componentId:"sc-15qf29k-5"})(["@media (min-width:","px){margin-top:0px;}"],f.breakpoints.wide),R()(s.TcView).withConfig({displayName:"responsive__Meta",componentId:"sc-15qf29k-6"})([""," max-width:100%;justify-content:center;@media (min-width:","px){margin-top:0;}"],e=>e.styles&&e.styles,f.breakpoints.medium)),M=R()(s.TcView).withConfig({displayName:"responsive__MetaContainer",componentId:"sc-15qf29k-7"})(["align-items:center;justify-content:center;@media (min-width:","px){flex-direction:row;flex-wrap:wrap;}"],f.breakpoints.medium),B=R()(s.TcView).withConfig({displayName:"responsive__Separator",componentId:"sc-15qf29k-8"})(["display:none;@media (min-width:","px){background-color:",";display:flex;height:",";margin:0 ",";width:1px;}"],f.breakpoints.medium,f.colours.functional.keyline,Object(f.spacing)(3),Object(f.spacing)(2)),U=R.a.h2.withConfig({displayName:"responsive__StandfirstContainer",componentId:"sc-15qf29k-9"})(["border:0px solid black;box-sizing:border-box;display:inline;font-family:sans-serif;margin:0px;padding:0px;white-space:pre-wrap;overflow-wrap:break-word;font-weight:400;"," @media (min-width:","px){font-size:","px;line-height:","px;margin-bottom:",";}@media (min-width:","px){margin-bottom:",";}"],e=>e.styles&&e.styles,f.breakpoints.medium,f.fontSizes.infoTitle,Object(f.lineHeight)({font:"bodyRegular",fontSize:"infoTitle"}),Object(f.spacing)(5),f.breakpoints.wide,Object(f.spacing)(4)),W=R()(N.a).withConfig({displayName:"responsive__LeadAsset",componentId:"sc-15qf29k-10"})(["order:2;@media (min-width:","px){margin-bottom:",";}@media (min-width:","px){width:56.2%;margin-left:auto;margin-right:auto;}"],f.breakpoints.medium,Object(f.spacing)(6),f.breakpoints.wide);var Q=e=>{let t=e.bylines,n=e.publicationName,a=e.publishedTime;return i.a.createElement(M,null,Object(T.hasBylineData)(t)&&i.a.createElement(r.Fragment,null,i.a.createElement(A,{styles:k.meta},i.a.createElement(T.ArticleBylineWithLinks,{ast:t})),i.a.createElement(B,null)),i.a.createElement(A,{styles:k.meta},i.a.createElement(L,{styles:Object(s.checkStylesForUnits)(k.datePublication)},i.a.createElement(_.a,{date:a,publication:n}))))};const G=e=>{let t=e.standfirst;return t?i.a.createElement(U,{role:"heading","aria-level":"2",styles:Object(s.checkStylesForUnits)(k.standFirst),testID:"standfirst"},t):null};G.defaultProps={standfirst:null};var J=G;w.a.string.isRequired,w.a.arrayOf(w.a.shape({})).isRequired,w.a.arrayOf(w.a.shape({expiryTime:w.a.string,type:w.a.string})),w.a.bool,w.a.string.isRequired,w.a.string,w.a.bool,w.a.string.isRequired,w.a.string.isRequired,w.a.string,w.a.string;function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach((function(t){Y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Z=(e,t)=>Object(s.checkStylesForUnits)(X(X({},k.articleHeadline),{},{fontFamily:e?f.fontsWithFallback[e]:null,textTransform:t||null})),$=e=>{let t=e.authorImage,n=e.bylines,r=e.flags,a=e.hasVideo,o=e.headline,s=e.label,c=e.publicationName,l=e.publishedTime,d=e.standfirst,f=e.updatedTime;return i.a.createElement(p.a.Consumer,null,e=>{let p=e.theme,g=p.headlineFont,b=p.headlineCase;return i.a.createElement(H,{styles:k.container},i.a.createElement(F,{style:k.authorImage},i.a.createElement(u.a,{aspectRatio:1,uri:t,accessibilityLabel:"author-image"})),i.a.createElement(E,{isVideo:a,label:s}),i.a.createElement(z,{role:"heading","aria-level":"1",styles:Z(g,b)},o),i.a.createElement(V,null,i.a.createElement(m.UpdatedTimeProvider,{updatedTime:f},i.a.createElement(m.ArticleFlags,{flags:r}))),i.a.createElement(J,{standfirst:d}),i.a.createElement(Q,{bylines:n,publicationName:c,publishedTime:l}))})};$.defaultProps={flags:[],hasVideo:!1,label:null,longRead:!1,standfirst:null,updatedTime:null};var ee=$;function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}ne(ne({},{analyticsStream:w.a.func.isRequired,article:w.a.shape({}),error:w.a.shape({graphQLErrors:w.a.array,message:w.a.string,networkError:w.a.shape({message:w.a.string})}),isLoading:w.a.bool,onImagePress:w.a.func,receiveChildList:w.a.func.isRequired}),{},{commentingConfig:w.a.shape({account:w.a.string.isRequired}).isRequired,navigationMode:w.a.shape({}).isRequired,storefrontConfig:w.a.string.isRequired});const ie=ne({},{article:null,error:null,isLoading:!1,onImagePress:null});function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}class oe extends r.Component{constructor(e){super(e),this.renderHeader=this.renderHeader.bind(this)}renderHeader(){const e=this.props.article,t=e.bylines,n=e.expirableFlags,a=e.hasVideo,o=e.headline,l=e.label,p=e.publicationName,d=e.publishedTime,u=e.shortHeadline,m=e.standfirst,f=e.updatedTime,g=t&&t.length>0&&t[0].image&&0!==Object.keys(t[0].image).length&&t[0].image.crop?t[0].image.crop.url:null;return i.a.createElement(r.Fragment,null,i.a.createElement(ee,{authorImage:g,bylines:t,flags:n,hasVideo:a,headline:Object(s.getHeadline)(o,u),label:l,publicationName:p,publishedTime:d,standfirst:m,updatedTime:f}),i.a.createElement(W,ae({},Object(s.getLeadAsset)(e),{getImageCrop:s.getStandardTemplateCrop,renderCaption:e=>{let t=e.caption;return i.a.createElement(c.CentredCaption,t)},style:k.leadAssetContainer})))}render(){const e=this.props,t=e.article,n=e.analyticsStream,r=e.error,a=e.isLoading,s=e.logoUrl,c=e.navigationMode,l=e.receiveChildList,p=e.commentingConfig,d=e.paidContentClassName,u=e.isPreview,m=e.swgProductId,f=e.storefrontConfig;return r||a?null:i.a.createElement(o.a,{analyticsStream:n,data:t,Header:this.renderHeader,logoUrl:s,receiveChildList:l,navigationMode:c,commentingConfig:p,paidContentClassName:d,isPreview:u,swgProductId:m,storefrontConfig:f})}}oe.defaultProps=ie;t.default=oe}]);
|