PageSourceSearch

https://atomicpoet.org/packs/js/features/trends-e997be25ba57b290e5e5.chunk.js

js atomicpoet.org collected 2026-10-04 02:44:18 UTC 2,267 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkmangane_fe=self.webpackChunkmangane_fe||[]).push([[74],{1208:function(n,e,t){t.r(e),t.d(e,{default:function(){return h}});var r=t(1855),a=t(1871),u=t(598),i=t(2),o=t(788),l=t(577),c=t(3),s=t(31);function f(){var n=this,e=(0,c.h_)(),t=(0,c.TL)();return(0,o.useQuery)(["trends"],(function(){return r=n,a=void 0,i=function(){var n;return function(n,e){var t,r,a,u,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return u={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function o(u){return function(o){return function(u){if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){i=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){i.label=u[1];break}if(6===u[0]&&i.label<a[1]){i.label=a[1],a=u;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(u);break}a[2]&&i.ops.pop(),i.trys.pop();continue}u=e.call(n,i)}catch(n){u=[6,n],r=0}finally{t=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,o])}}}(this,(function(r){switch(r.label){case 0:return[4,e.get("/api/v1/trends")];case 1:return n=r.sent().data,t((0,l.Bp)(n)),[2,n.map((function(n){return(0,s.cn)(n)}))]}}))},new((u=void 0)||(u=Promise))((function(n,e){function t(n){try{l(i.next(n))}catch(n){e(n)}}function o(n){try{l(i.throw(n))}catch(n){e(n)}}function l(e){var r;e.done?n(e.value):(r=e.value,r instanceof u?r:new u((function(n){n(r)}))).then(t,o)}l((i=i.apply(r,a||[])).next())}));var r,a,u,i}),{placeholderData:[],staleTime:6e5})}var h=function(n){var e=n.limit,t=f(),o=t.data,l=t.isFetching;return 0===(null==o?void 0:o.length)||l?null:(0,r.Z)(i.$L,{title:(0,r.Z)(a.Z,{id:"trends.title",defaultMessage:"Trends"})},void 0,null==o?void 0:o.slice(0,e).map((function(n){return(0,r.Z)(u.Z,{hashtag:n},n.name)})))}}}]);
2//# sourceMappingURL=trends-e997be25ba57b290e5e5.chunk.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.