PageSourceSearch

https://s.flipboard.com/webu/app-containers-section-default.e878b1d4eacff5ef4773.bundle.js

js flipboard.com collected 2026-09-24 08:32:15 UTC 16,083 bytes, 2 lines download raw bytes

1"use strict";(("undefined"!=typeof self?self:this).__LOADABLE_LOADED_CHUNKS__=("undefined"!=typeof self?self:this).__LOADABLE_LOADED_CHUNKS__||[]).push([[1610],{29588:function(e,t,o){o(96928),o(61229),o(34769),o(34115),o(95342),o(68625),o(1939),o(62775),o(634),o(58188),o(20796),o(15735),o(28673),o(6886);var n=o(2784),r=o(45697),i=o.n(r),c=o(51504),u=o(40949),s=o(52322);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function a(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function f(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function p(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var o,n=h(e);if(t){var r=h(this).constructor;o=Reflect.construct(n,arguments,r)}else o=n.apply(this,arguments);return b(this,o)}}function b(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(i,e);var t,o,n,r=y(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=r.call(this,e)).state={loadCount:0},t.onScrolledToBottom=t.onScrolledToBottom.bind(m(t)),t}return t=i,o=[{key:"componentDidMount",value:function(){!1===this.props.waitUntilMoved&&this.props.onScrolledToBottom()}},{key:"componentDidUpdate",value:function(e){!e.isLoading&&this.props.isLoading&&this.setState({loadCount:this.state.loadCount+1})}},{key:"onScrolledToBottom",value:function(){this.state.loadCount>0&&this.props.onScrolledToBottom()}},{key:"render",value:function(){return(0,s.jsx)(u.Z,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(Object(o),!0).forEach((function(t){f(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},this.props,{onScrolledToBottom:this.onScrolledToBottom}))}}],o&&p(t.prototype,o),n&&p(t,n),i}(n.Component);v.propTypes={isLoading:i().bool.isRequired,waitUntilMoved:i().bool,onScrolledToBottom:i().func.isRequired},t.Z=(0,c.Z)(v)},40949:function(e,t,o){o.d(t,{B:function(){return S}});o(96928),o(67890),o(61229),o(58188),o(73439),o(34115),o(634),o(20796),o(15735),o(28673),o(6886),o(35666);var n=o(2784),r=o(45697),i=o.n(r),c=o(72779),u=o.n(c),s=o(66760),l=o(37236),a=o(26626),f=o(1726),p=o(43177),d=o(37757),y=o(52322);function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function m(e,t,o,n,r,i,c){try{var u=e[i](c),s=u.value}catch(e){return void o(e)}u.done?t(s):Promise.resolve(s).then(n,r)}function h(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var o,n=P(e);if(t){var r=P(this).constructor;o=Reflect.construct(n,arguments,r)}else o=n.apply(this,arguments);return j(this,o)}}function j(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P(e){return P=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},P(e)}var S={NONE:"none",SECTION_TILES:"section-tiles"},w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(d,e);var t,o,r,i,c,l=O(d);function d(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(t=l.call(this,e)).loadingNext=!1,t.loadingPromise=null,t.loadNext=t.loadNext.bind(g(t)),t}return t=d,o=[{key:"componentWillUnmount",value:function(){this.unmounted=!0}},{key:"loadNext",value:(i=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.loadingNext&&!this.unmounted){e.next=2;break}return e.abrupt("return");case 2:return this.props.onScrolledToBottom(),this.loadingNext=!0,this.loadingPromise=this.props.loadNext(),e.next=7,this.loadingPromise;case 7:this.loadingNext=!1,this.forceUpdate(),(0,s.Z)();case 10:case"end":return e.stop()}}),e,this)})),c=function(){var e=this,t=arguments;return new Promise((function(o,n){var r=i.apply(e,t);function c(e){m(r,o,n,c,u,"next",e)}function u(e){m(r,o,n,c,u,"throw",e)}c(void 0)}))},function(){return c.apply(this,arguments)})},{key:"render",value:function(){var e=this,t=this.props,o=t.isLoading,r=t.infinite,i=t.immediateInfinite,c=t.bufferBottom,s=t.styleVariation,l=t.waitUntilMoved,d=t.t,b=u()({"load-more":!0,"load-more--section-tiles":s===S.SECTION_TILES}),m=s===S.SECTION_TILES?d("see_more"):d("load_more");return(0,y.jsx)("div",{className:b,children:i||this.loadingPromise&&r?(0,y.jsxs)(n.Fragment,{children:[(0,y.jsx)(p.Z,{waitUntilMoved:l,bufferBottom:c,children:function(t){return t&&e.loadNext()}}),this.loadingNext?(0,y.jsx)(f.Z,{}):null]}):(0,y.jsx)(a.ZP,{name:"section-load-more",styleVariation:a.NV.SECONDARY,label:m,onClick:this.loadNext,loading:o})},"load-more")}}],o&&h(t.prototype,o),r&&h(t,r),d}
1(n.Component);w.propTypes={loadNext:i().func.isRequired,infinite:i().bool,immediateInfinite:i().bool,isLoading:i().bool,styleVariation:i().oneOf(Object.values(S)),bufferBottom:i().number,onScrolledToBottom:i().func,waitUntilMoved:i().bool,t:i().func.isRequired},w.defaultProps={isLoading:!1,infinite:!0,immediateInfinite:!1,bufferBottom:7500,styleVariation:S.NONE,waitUntilMoved:!0,onScrolledToBottom:l.h},t.Z=(0,d.Z)(w)},7435:function(e,t,o){o(2784);var n=o(45697),r=o.n(n),i=o(37757),c=o(52322),u=function(e){var t=e.hasContent,o=e.children,n=e.t;return t?o:(0,c.jsx)("p",{className:"no-content",children:n("no_content")})};u.propTypes={hasContent:r().bool.isRequired,children:r().node.isRequired,t:r().func.isRequired},t.Z=(0,i.Z)(u)},16209:function(e,t,o){o(2784);var n=o(45697),r=o.n(n),i=o(31975),c=o(63229),u=o(26211),s=o(90068),l=o(82706),a=o(52322),f=(0,i.Z)("ProfileHeader");function p(e){var t=e.section,o=e.uid,n=e.path,r=e.topicDescriptions;return t.isProfile||t.isCommunityGroup?(0,a.jsx)(f,{section:t,isOwnProfile:(0,c.Z)(o,t.userid)}):(0,a.jsx)(u.ZP,{section:t,topicDescriptions:r,path:n})}p.propTypes={section:r().object.isRequired,uid:r().number,path:r().string,topicDescriptions:r().array},p.defaultProps={uid:null,coverItem:null,topicDescriptions:null,path:null},t.Z=(0,s.Z)(l.Z)(p)},46971:function(e,t,o){o(34769),o(34115),o(95342),o(68625),o(1939),o(62775),o(2784);var n=o(45697),r=o.n(n),i=o(51504),c=o(43177),u=o(52322);function s(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function l(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function a(e){return(0,u.jsx)(c.Z,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?s(Object(o),!0).forEach((function(t){l(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},e,{waitUntilMoved:!0,children:function(t){return t&&e.onScrolledToBottom()}}))}a.propTypes={onScrolledToBottom:r().func.isRequired},t.Z=(0,i.Z)(a)},22530:function(e,t,o){o.r(t),o.d(t,{default:function(){return N}});o(15735),o(58188),o(6886);var n=o(12291),r=o(2784),i=o(45697),c=o.n(i),u=o(72779),s=o.n(u),l=o(90068),a=o(21681),f=o(80768),p=o(63229),d=o(7435),y=o(16209),b=o(11145),m=o(35651),h=o(29588),v=o(46971),O=o(37757),j=o(9665),g=o(82706),P=o(39285),S=o(32079),w=o(52322);function T(e){var t=e.section,o=e.items,n=e.contributors,i=e.isLoading,c=e.isAmp,u=e.topicDescriptions,s=e.routing,l=e.loadNextPage,a=e.neverLoadMore,O=e.uid,j=e.includeHeader,g=e.usageTrackReachedSectionEnd,P=e.t,S=e.currentUserData,T=f.Z.itemsToRender(t,o,S),R=T.length>0,x=t.isPrivate&&!(0,p.Z)(t.userid,O);return(0,w.jsxs)(r.Fragment,{children:[j&&(0,w.jsx)(y.Z,{section:t,topicDescriptions:u,path:s.url}),(0,w.jsxs)("section",{className:"centered-column",children:[x&&(0,w.jsx)("p",{className:"section-content__private-message ui-text--supporting",children:P("this_magazine_is_private")}),(0,w.jsxs)(d.Z,{hasContent:R,children:[(0,w.jsx)(b.Z,{section:t,items:T,sectionHasContributors:n.length>0,styleModifier:b.$.GRID}),l&&!a&&!c&&(0,w.jsx)(h.Z,{immediateInfinite:!0,loadNext:l,isLoading:i,onScrolledToBottom:function(){return g(t)}}),a&&(0,w.jsx)(v.Z,{onScrolledToBottom:function(){return g(t)}}),R&&(0,w.jsx)(m.Z,{variant:m.W.RED})]})]})]})}T.propTypes={section:c().object,items:c().array,contributors:c().array,topicDescriptions:c().array,routing:c().object.isRequired,isLoading:c().bool.isRequired,isAmp:c().bool.isRequired,neverLoadMore:c().bool.isRequired,usageTrackReachedSectionEnd:c().func.isRequired,t:c().func.isRequired,loadNextPage:c().func,uid:c().number.isRequired,includeHeader:c().bool,currentUserData:c().object},T.defaultProps={section:null,items:[],topicDescriptions:[],contributors:[],includeHeader:!0};var R=(0,l.Z)(P.Z,j.Z,g.Z,S.Z)((0,O.Z)(T)),x=(0,l.Z)({actions:{usageTrackReachedItemEnd:a.Nh,usageTrackReachedSectionEnd:a.jm}})(R),_=o(31075);function D(e){var t=e.section,o=e.items,n=e.contributors,i=e.isLoading,c=e.neverLoadMore,u=e.loadNextPage,l=e.isAmp,a=e.topicDescriptions,f=e.enableFullWidth,p=e.includeHeader,d=s()({"section-view":!0,"profile-view":t&&t.isProfile,amp:l});return(0,w.jsx)(r.Fragment,{children:(0,w.jsx)(_.Z,{className:d,enableFullWidth:!0,children:(0,w.jsx)("div",{className:s()({"centered-column":f}),children:(0,w.jsx)(x,{section:t,items:o,contributors:n,isLoading:i,neverLoadMore:c,loadNextPage:u,topicDescriptions:a,includeHeader:p})})})})}D.propTypes={section:c().object.isRequired,items:c().array.isRequired,contributors:c().array,neverLoadMore:c().bool.isRequired,isLoading:c().bool.isRequired,loadNextPage:c().func,isAmp:c().bool.isRequired,topicDescriptions:c().array,enableFullWidth:c().bool,includeHeader:c().bool},D.defaultProps={contributors:[],topicDescriptions:[],enableFullWidth:!1,includeHeader:!0};var Z=(0,l.Z)(j.Z)(D),B=o(47573),N=(0,n.$j)((function(e,t){var o=e.sections,n=t.section,r=B.ZP.sectionOrDefaults(B.ZP.getSectionByRemoteId(n.remoteid,o.entries)),i=f.Z.isSectionLoading(r.requestedRemoteId,o.loading);return{items:r.items,isLoading:i,neverLoadMore:r.neverLoadMore,followers:r.followerProjections,followersLoading:r.followersLoading,topicDescriptions:o.topicDescriptions}}),(function(){return{}}))(Z)},51504:function(e,t,o){o(96928),o(61229),o(34769),o(34115),o(95342),o(68625),o(1939),o(627
175),o(634),o(58188),o(20796),o(15735),o(28673),o(6886);var n=o(2784),r=o(12291),i=o(14890),c=o(45697),u=o.n(c),s=o(10950),l=o(21112),a=o(41626),f=o(46315),p=o(52322);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function b(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function m(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var o,n=g(e);if(t){var r=g(this).constructor;o=Reflect.construct(n,arguments,r)}else o=n.apply(this,arguments);return O(this,o)}}function O(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?j(e):t}function j(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}t.Z=function(e){var t=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(c,t);var o,n,r,i=v(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=i.call(this,e)).state={didTrackScrollToBottom:!1},t.trackScrolledToBottom=t.trackScrolledToBottom.bind(j(t)),t}return o=c,n=[{key:"trackScrolledToBottom",value:function(){var e=this;(0,l.Ip)(this.props.history)||this.state.didTrackScrollToBottom||this.setState({didTrackScrollToBottom:!0},(function(){e.props.onScrolledToBottom(),e.props.setDidScrollToBottom(!0)}))}},{key:"render",value:function(){return(0,p.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){b(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},this.props,{onScrolledToBottom:this.trackScrolledToBottom}))}}],n&&m(o.prototype,n),r&&m(o,r),c}(n.Component);return t.displayName=s.Z.displayName(e),t.propTypes={history:u().object.isRequired,onScrolledToBottom:u().func.isRequired,setDidScrollToBottom:u().func.isRequired},(0,r.$j)(null,(function(e){return(0,i.DE)({setDidScrollToBottom:a.RV},e)}))((0,f.Z)(t))}}}]);
2//# sourceMappingURL=app-containers-section-default.e878b1d4eacff5ef4773.bundle.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.