{"version":3,"sources":["webpack://_N_E/./node_modules/core-js/internals/array-from.js","webpack://_N_E/./components/floor/floor-title.tsx","webpack://_N_E/(webpack)/buildin/module.js","webpack://_N_E/./new/home/components/home-feed/item.tsx","webpack://_N_E/./node_modules/pubsub-js/src/pubsub.js","webpack://_N_E/./node_modules/core-js/modules/es.array.from.js"],"names":["bind","toObject","callWithSafeIterationClosing","isArrayIteratorMethod","toLength","createProperty","getIteratorMethod","module","exports","arrayLike","length","result","step","iterator","next","value","O","C","this","Array","argumentsLength","arguments","mapfn","undefined","mapping","iteratorMethod","index","call","done","FloorTitle","React","forwardRef","props","ref","titleElement","titleObj","navList","more","slider","onTitleClick","onNavItemClick","className","useCallback","onSlide","onClick","link","href","target","label","map","item","key","icon","src","style","width","height","id","prevRef","type","buttonStyle","position","right","nextRef","webpackPolyfill","deprecate","paths","children","Object","defineProperty","enumerable","get","l","i","Item","order","category","uniqueIdStr","title","coverUrl","duration","avatar","name","userVerified","verifyType","userId","videoWatchCount","publishTime","authorTeaParams","contentTeaParams","handleClick","sendTeaCommEvent","assign","category_name","group_id","rank","rel","zoomHeight","lazy","alt","formatDuration","bottom","username","user_id","playNums","postUnit","root","factory","PubSub","messages","lastUid","ALL_SUBSCRIBING_MSG","hasKeys","obj","prototype","hasOwnProperty","throwException","ex","callSubscriberWithDelayedExceptions","subscriber","message","data","setTimeout","callSubscriberWithImmediateExceptions","deliverMessage","originalMessage","matchedMessage","immediateExceptions","s","subscribers","callSubscriber","createDeliveryFunction","topic","String","lastIndexOf","substr","hasDirectSubscribersFor","Boolean","messageHasSubscribers","found","publish","sync","deliver","toString","publishSync","subscribe","func","token","subscribeAll","subscribeOnce","unsubscribe","apply","clearAllSubscriptions","clearSubscriptions","m","indexOf","countSubscriptions","count","getSubscriptions","list","push","t","descendantTopicExists","isTopic","isToken","isFunction","window","$","from","stat","forced","checkCorrectnessOfIteration","iterable"],"mappings":"oGACA,IAAIA,EAAO,EAAQ,QACfC,EAAW,EAAQ,QACnBC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kF,EAAU6C,IAA2B,IAArBA,EAAEC,QAAQvB,GAEhE,OAAO,EAIf,OAAO,GAEX+B,EAA8B,kBAAVpJ,IAAwBqD,OAAO8C,UAAUC,eAAexF,KAAKkF,EAAU9F,IAAUmJ,EAAsBnJ,IAC3HqJ,GAAcD,GAA4B,kBAAVpJ,EAChCsJ,EAA8B,oBAAVtJ,EACpBJ,GAAS,EAGb,IAAIwJ,EAAJ,CAKA,IAAMT,KAAK7C,EACP,GAAKzC,OAAO8C,UAAUC,eAAexF,KAAMkF,EAAU6C,GAAK,CAGtD,GAFAlC,EAAUX,EAAS6C,GAEdU,GAAW5C,EAAQzG,GAAQ,QACrByG,EAAQzG,GACfJ,EAASI,EAET,MAGJ,GAAIsJ,EACA,IAAMJ,KAAKzC,EACHpD,OAAO8C,UAAUC,eAAexF,KAAK6F,EAASyC,IAAMzC,EAAQyC,KAAOlJ,WAC5DyG,EAAQyC,GACftJ,GAAS,GAO7B,OAAOA,EA1BHiG,EAAO6C,mBAAmB1I,IAxTlC4F,CAAQC,QAGWrF,IAAXhB,GAAwBA,EAAOC,UAC/BA,EAAUD,EAAOC,QAAUoG,GAE/BpG,EAAQoG,OAASA,EACjBrG,EAAOC,QAAUA,EAAUoG,EAZnC,CAqBsB,kBAAX0D,QAAuBA,QAAYpJ,Q,8CC5B9C,IAAIqJ,EAAI,EAAQ,QACZC,EAAO,EAAQ,QASnBD,EAAE,CAAExH,OAAQ,QAAS0H,MAAM,EAAMC,QARC,EAAQ,OAEfC,EAA4B,SAAUC,GAC/DzJ,MAAMqJ,KAAKI,OAKmD,CAC9DJ,KAAMA","file":"static/chunks/1e77b8b435ac97d658145eac6c9ded1c7baae1e0.3dce2c2abccd43e1adc4.js","sourcesContent":["'use strict';\nvar bind = require('../internals/function-bind-context');\nvar toObject = require('../internals/to-object');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar toLength = require('../internals/to-length');\nvar createProperty = require('../internals/create-property');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\n// `Array.from` method implementation\n// https://tc39.github.io/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var C = typeof this == 'function' ? this : Array;\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var iteratorMethod = getIteratorMethod(O);\n var index = 0;\n var length, result, step, iterator, next, value;\n if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2);\n // if the target is not iterable or it's an array with the default iterator - use a simple case\n if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) {\n iterator = iteratorMethod.call(O);\n next = iterator.next;\n result = new C();\n for (;!(step = next.call(iterator)).done; index++) {\n value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;\n createProperty(result, index, value);\n }\n } else {\n length = toLength(O.length);\n result = new C(length);\n for (;length > index; index++) {\n value = mapping ? mapfn(O[index], index) : O[index];\n createProperty(result, index, value);\n }\n }\n result.length = index;\n return result;\n};\n","import React, { useCallback } from 'react'\nimport SwiperButton from 'Components/swiper-button'\n\ninterface IProps {\n titleElement: JSX.Element\n titleObj: { link: string; label: string }\n navList?: { link: string; label: string; icon?: string; className?: string }[]\n more?: string\n onTitleClick?: () => void\n onNavItemClick: (item: any) => void\n slider?: {\n cur: number\n total: number\n onSlide?: (action: 'next' | 'prev') => any\n prevRef?: any\n nextRef?: any\n }\n className?: string\n}\n\nconst FloorTitle: React.FC = React.forwardRef((props, ref) => {\n const {\n titleElement,\n titleObj,\n navList = [],\n more,\n slider,\n onTitleClick,\n onNavItemClick,\n className = '',\n }: IProps = props\n\n const handleNext = useCallback(() => {\n if (typeof slider?.onSlide === 'function') {\n slider.onSlide('next')\n }\n }, [slider?.onSlide])\n\n const handlePrev = useCallback(() => {\n if (typeof slider?.onSlide === 'function') {\n slider.onSlide('prev')\n }\n }, [slider?.onSlide])\n\n return (\n
\n {titleElement && (\n
\n {titleElement}\n
\n )}\n {titleObj && titleObj?.link && (\n \n {titleObj?.label}\n \n )}\n {titleObj && !titleObj?.link && (\n \n {titleObj?.label}\n \n )}\n
\n {navList?.length > 0 &&\n navList?.map((item, index) => {\n return (\n
\n onNavItemClick && onNavItemClick(item)}\n href={item.link}\n target={'_blank'}\n className=\"label-wrap\"\n >\n {item.icon && (\n \n )}\n {item.label}\n \n
\n )\n })}\n {more && (\n \n onNavItemClick && onNavItemClick({ id: 'more', label: '更多' })\n }\n href={more}\n className=\"nav-item nav-more g-active-link-text\"\n target={'_blank'}\n >\n 更多\n \n )}\n
\n {slider && (\n
\n \n \n
\n )}\n \n
\n )\n})\n\nexport default FloorTitle\n","module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n","import React, { useCallback } from 'react'\nimport VideoDuration from 'Components/video/video-duration'\nimport VideoSize from 'Components/video/video-size'\nimport AuthorAvatar from 'Components/author/author-avatar'\nimport VideoStats from 'Components/video/video-stats'\nimport formatDuration from 'lib/format-duration'\nimport { sendTeaCommEvent } from 'lib/tea-analyze'\nimport { Image, ImageStyles, ImageZoom } from 'Components/view-image'\n\ninterface IProps {\n order?: number\n category: string\n className?: string\n uniqueIdStr: string\n title: string\n coverUrl: string\n duration: number\n avatar: string\n name: string\n videoWatchCount: number\n publishTime: number\n userId: string\n [key: string]: any\n}\n\nconst Item: React.FC = ({\n order,\n category,\n uniqueIdStr,\n title,\n coverUrl,\n duration,\n avatar,\n name,\n className,\n userVerified,\n verifyType,\n userId,\n videoWatchCount,\n publishTime,\n authorTeaParams,\n contentTeaParams,\n ...props\n}) => {\n const handleClick = useCallback(() => {\n if (!contentTeaParams) {\n return\n }\n sendTeaCommEvent(\n 'clk_event',\n Object.assign(\n {\n category_name: category,\n group_id: uniqueIdStr,\n rank: `${order}`,\n },\n contentTeaParams\n )\n )\n }, [uniqueIdStr, category, order, contentTeaParams])\n\n return (\n
\n
\n \n \n \n \n \n {duration > 0 && (\n \n )}\n {\n if (!authorTeaParams) {\n return\n }\n sendTeaCommEvent(\n 'clk_event',\n Object.assign(\n {\n category_name: category,\n group_id: uniqueIdStr,\n user_id: `${userId}`,\n },\n authorTeaParams\n )\n )\n }}\n />\n
\n \n
\n {title}\n
\n 0 ? '次播放' : '次阅读'}\n />\n \n \n
\n )\n}\n\nexport default Item\n","/**\n * Copyright (c) 2010,2011,2012,2013,2014 Morgan Roderick http://roderick.dk\n * License: MIT - http://mrgnrdrck.mit-license.org\n *\n * https://github.com/mroderick/PubSubJS\n */\n\n(function (root, factory){\n 'use strict';\n\n var PubSub = {};\n root.PubSub = PubSub;\n factory(PubSub);\n // CommonJS and Node.js module support\n if (typeof exports === 'object'){\n if (module !== undefined && module.exports) {\n exports = module.exports = PubSub; // Node.js specific `module.exports`\n }\n exports.PubSub = PubSub; // CommonJS module 1.1.1 spec\n module.exports = exports = PubSub; // CommonJS\n }\n // AMD support\n /* eslint-disable no-undef */\n else if (typeof define === 'function' && define.amd){\n define(function() { return PubSub; });\n /* eslint-enable no-undef */\n }\n\n}(( typeof window === 'object' && window ) || this, function (PubSub){\n 'use strict';\n\n var messages = {},\n lastUid = -1,\n ALL_SUBSCRIBING_MSG = '*';\n\n function hasKeys(obj){\n var key;\n\n for (key in obj){\n if ( Object.prototype.hasOwnProperty.call(obj, key) ){\n return true;\n }\n }\n return false;\n }\n\n /**\n * Returns a function that throws the passed exception, for use as argument for setTimeout\n * @alias throwException\n * @function\n * @param { Object } ex An Error object\n */\n function throwException( ex ){\n return function reThrowException(){\n throw ex;\n };\n }\n\n function callSubscriberWithDelayedExceptions( subscriber, message, data ){\n try {\n subscriber( message, data );\n } catch( ex ){\n setTimeout( throwException( ex ), 0);\n }\n }\n\n function callSubscriberWithImmediateExceptions( subscriber, message, data ){\n subscriber( message, data );\n }\n\n function deliverMessage( originalMessage, matchedMessage, data, immediateExceptions ){\n var subscribers = messages[matchedMessage],\n callSubscriber = immediateExceptions ? callSubscriberWithImmediateExceptions : callSubscriberWithDelayedExceptions,\n s;\n\n if ( !Object.prototype.hasOwnProperty.call( messages, matchedMessage ) ) {\n return;\n }\n\n for (s in subscribers){\n if ( Object.prototype.hasOwnProperty.call(subscribers, s)){\n callSubscriber( subscribers[s], originalMessage, data );\n }\n }\n }\n\n function createDeliveryFunction( message, data, immediateExceptions ){\n return function deliverNamespaced(){\n var topic = String( message ),\n position = topic.lastIndexOf( '.' );\n\n // deliver the message as it is now\n deliverMessage(message, message, data, immediateExceptions);\n\n // trim the hierarchy and deliver message to each level\n while( position !== -1 ){\n topic = topic.substr( 0, position );\n position = topic.lastIndexOf('.');\n deliverMessage( message, topic, data, immediateExceptions );\n }\n\n deliverMessage(message, ALL_SUBSCRIBING_MSG, data, immediateExceptions);\n };\n }\n\n function hasDirectSubscribersFor( message ) {\n var topic = String( message ),\n found = Boolean(Object.prototype.hasOwnProperty.call( messages, topic ) && hasKeys(messages[topic]));\n\n return found;\n }\n\n function messageHasSubscribers( message ){\n var topic = String( message ),\n found = hasDirectSubscribersFor(topic) || hasDirectSubscribersFor(ALL_SUBSCRIBING_MSG),\n position = topic.lastIndexOf( '.' );\n\n while ( !found && position !== -1 ){\n topic = topic.substr( 0, position );\n position = topic.lastIndexOf( '.' );\n found = hasDirectSubscribersFor(topic);\n }\n\n return found;\n }\n\n function publish( message, data, sync, immediateExceptions ){\n message = (typeof message === 'symbol') ? message.toString() : message;\n\n var deliver = createDeliveryFunction( message, data, immediateExceptions ),\n hasSubscribers = messageHasSubscribers( message );\n\n if ( !hasSubscribers ){\n return false;\n }\n\n if ( sync === true ){\n deliver();\n } else {\n setTimeout( deliver, 0 );\n }\n return true;\n }\n\n /**\n * Publishes the message, passing the data to it's subscribers\n * @function\n * @alias publish\n * @param { String } message The message to publish\n * @param {} data The data to pass to subscribers\n * @return { Boolean }\n */\n PubSub.publish = function( message, data ){\n return publish( message, data, false, PubSub.immediateExceptions );\n };\n\n /**\n * Publishes the message synchronously, passing the data to it's subscribers\n * @function\n * @alias publishSync\n * @param { String } message The message to publish\n * @param {} data The data to pass to subscribers\n * @return { Boolean }\n */\n PubSub.publishSync = function( message, data ){\n return publish( message, data, true, PubSub.immediateExceptions );\n };\n\n /**\n * Subscribes the passed function to the passed message. Every returned token is unique and should be stored if you need to unsubscribe\n * @function\n * @alias subscribe\n * @param { String } message The message to subscribe to\n * @param { Function } func The function to call when a new message is published\n * @return { String }\n */\n PubSub.subscribe = function( message, func ){\n if ( typeof func !== 'function'){\n return false;\n }\n\n message = (typeof message === 'symbol') ? message.toString() : message;\n\n // message is not registered yet\n if ( !Object.prototype.hasOwnProperty.call( messages, message ) ){\n messages[message] = {};\n }\n\n // forcing token as String, to allow for future expansions without breaking usage\n // and allow for easy use as key names for the 'messages' object\n var token = 'uid_' + String(++lastUid);\n messages[message][token] = func;\n\n // return token for unsubscribing\n return token;\n };\n\n PubSub.subscribeAll = function( func ){\n return PubSub.subscribe(ALL_SUBSCRIBING_MSG, func);\n };\n\n /**\n * Subscribes the passed function to the passed message once\n * @function\n * @alias subscribeOnce\n * @param { String } message The message to subscribe to\n * @param { Function } func The function to call when a new message is published\n * @return { PubSub }\n */\n PubSub.subscribeOnce = function( message, func ){\n var token = PubSub.subscribe( message, function(){\n // before func apply, unsubscribe message\n PubSub.unsubscribe( token );\n func.apply( this, arguments );\n });\n return PubSub;\n };\n\n /**\n * Clears all subscriptions\n * @function\n * @public\n * @alias clearAllSubscriptions\n */\n PubSub.clearAllSubscriptions = function clearAllSubscriptions(){\n messages = {};\n };\n\n /**\n * Clear subscriptions by the topic\n * @function\n * @public\n * @alias clearAllSubscriptions\n * @return { int }\n */\n PubSub.clearSubscriptions = function clearSubscriptions(topic){\n var m;\n for (m in messages){\n if (Object.prototype.hasOwnProperty.call(messages, m) && m.indexOf(topic) === 0){\n delete messages[m];\n }\n }\n };\n\n /**\n Count subscriptions by the topic\n * @function\n * @public\n * @alias countSubscriptions\n * @return { Array }\n */\n PubSub.countSubscriptions = function countSubscriptions(topic){\n var m;\n // eslint-disable-next-line no-unused-vars\n var token;\n var count = 0;\n for (m in messages) {\n if (Object.prototype.hasOwnProperty.call(messages, m) && m.indexOf(topic) === 0) {\n for (token in messages[m]) {\n count++;\n }\n break;\n }\n }\n return count;\n };\n\n\n /**\n Gets subscriptions by the topic\n * @function\n * @public\n * @alias getSubscriptions\n */\n PubSub.getSubscriptions = function getSubscriptions(topic){\n var m;\n var list = [];\n for (m in messages){\n if (Object.prototype.hasOwnProperty.call(messages, m) && m.indexOf(topic) === 0){\n list.push(m);\n }\n }\n return list;\n };\n\n /**\n * Removes subscriptions\n *\n * - When passed a token, removes a specific subscription.\n *\n\t * - When passed a function, removes all subscriptions for that function\n *\n\t * - When passed a topic, removes all subscriptions for that topic (hierarchy)\n * @function\n * @public\n * @alias subscribeOnce\n * @param { String | Function } value A token, function or topic to unsubscribe from\n * @example // Unsubscribing with a token\n * var token = PubSub.subscribe('mytopic', myFunc);\n * PubSub.unsubscribe(token);\n * @example // Unsubscribing with a function\n * PubSub.unsubscribe(myFunc);\n * @example // Unsubscribing from a topic\n * PubSub.unsubscribe('mytopic');\n */\n PubSub.unsubscribe = function(value){\n var descendantTopicExists = function(topic) {\n var m;\n for ( m in messages ){\n if ( Object.prototype.hasOwnProperty.call(messages, m) && m.indexOf(topic) === 0 ){\n // a descendant of the topic exists:\n return true;\n }\n }\n\n return false;\n },\n isTopic = typeof value === 'string' && ( Object.prototype.hasOwnProperty.call(messages, value) || descendantTopicExists(value) ),\n isToken = !isTopic && typeof value === 'string',\n isFunction = typeof value === 'function',\n result = false,\n m, message, t;\n\n if (isTopic){\n PubSub.clearSubscriptions(value);\n return;\n }\n\n for ( m in messages ){\n if ( Object.prototype.hasOwnProperty.call( messages, m ) ){\n message = messages[m];\n\n if ( isToken && message[value] ){\n delete message[value];\n result = value;\n // tokens are unique, so we can just stop here\n break;\n }\n\n if (isFunction) {\n for ( t in message ){\n if (Object.prototype.hasOwnProperty.call(message, t) && message[t] === value){\n delete message[t];\n result = true;\n }\n }\n }\n }\n }\n\n return result;\n };\n}));\n","var $ = require('../internals/export');\nvar from = require('../internals/array-from');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\n\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.github.io/ecma262/#sec-array.from\n$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {\n from: from\n});\n"],"sourceRoot":""}