PageSourceSearch

https://static.newsbreak.com/local/_next/static/chunks/pages/trending-2f54bcceaad7e05d.js

js newsbreak.com collected 2026-09-24 08:26:06 UTC 17,043 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[827,540],{51949:function(e,t,n){"use strict";function r(e){this.message=e}r.prototype=new Error,r.prototype.name="InvalidCharacterError";var o="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new r("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,o,i=0,a=0,s="";o=t.charAt(a++);~o&&(n=i%4?64*n+o:o,i++%4)?s+=String.fromCharCode(255&n>>(-2*i&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return s};function i(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(o(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(e){return o(t)}}function a(e){this.message=e}a.prototype=new Error,a.prototype.name="InvalidTokenError",t.Z=function(e,t){if("string"!=typeof e)throw new a("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(i(e.split(".")[n]))}catch(e){throw new a("Invalid token specified: "+e.message)}}},62428:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return p},default:function(){return f}});var r=n(81333),o=(n(2784),n(97729)),i=n.n(o),a=n(59159),s=n(39097),c=n.n(s),l=n(84970),u=n(52322);function d(e){var t=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(n,"-").concat(r)}var p=!0;function f(e){var t=e.seoTitle,n=e.topQueries,o=e.date,s=function(){if(o){var e=o.split("-").map(Number),t=(0,r.Z)(e,3),n=t[0],i=t[1],a=t[2];return new Date(n,i-1,a).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}return null}(),p=function(){for(var e=[],t=new Date;t>=new Date("12/17/2024");t.setDate(t.getDate()-1))e.push(new Date(t));return e.shift(),e}();return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i(),{children:(0,u.jsx)("title",{children:t})}),(0,u.jsxs)("div",{className:"w-full pt-4 px-4 mb-14",children:[(0,u.jsxs)("section",{children:[(0,u.jsxs)("div",{className:"text-lg mt-3 md:mt-5 font-semibold text-gray-400",children:["TRENDING SEARCH",s&&(0,u.jsxs)("span",{children:[" - ",s]})]}),(0,u.jsx)("ul",{className:"md:mt-8 mt-4 text-base",children:n.map((function(e){return(0,u.jsx)("li",{className:"mb-3 py-2 pl-5 w-full md:w-[calc((100%-98px)/2)] md:odd:mr-24 inline-block",children:(0,u.jsx)(c(),{href:(0,l.Cn)(e),prefetch:!1,children:(0,u.jsx)("a",{className:"before:block hover:underline relative before:w-[5px] before:absolute before:top-2 before:left-[-20px] before:h-[5px] before:bg-[#9b9b9b] before:rounded-full",children:(0,u.jsx)("span",{className:"line-clamp-2",children:e})})})},e)}))})]}),(0,u.jsxs)("section",{className:"pt-4",children:[(0,u.jsx)("div",{className:"text-lg mt-3 md:mt-5 font-semibold text-gray-400 uppercase",children:"Trending Searches Archive"}),(0,u.jsx)("ul",{className:"lg:grid md:grid-cols-4 mt-4",children:p.length>0&&p.map((function(e,t){return(0,u.jsx)("li",{className:"text-[#017EF9] cursor-pointer hover:underline py-1",children:(0,u.jsx)(c(),{href:"/trending?date=".concat(d(e)),prefetch:!1,children:(0,u.jsx)("a",{"aria-label":d(e)+" Trending Search",children:e.toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})})})},"trending-archive-"+t)}))})]}),(0,u.jsx)(a.Z,{})]})]})}},59159:function(e,t,n){"use strict";n.d(t,{F:function(){return v},Z:function(){return g}});var r=n(20406),o=n(81333),i=n(28526),a=n.n(i),s=n(2784),c=n(39097),l=n.n(c),u=n(93861),d=n(24771),p=n(58333),f=n(37086),h=n(18861),m=n(89717),b=n(52322);function g(){var e=(0,s.useState)(!1),t=e[0],n=e[1],i=(0,s.useState)(!1),c=i[0],g=i[1],v=(0,m.u)(),w=(0,o.Z)(v,1)[0],y=function(){window.localStorage.getItem(d.e.NB_G_LOGIN_STATUS)||(g(!0),window.localStorage.setItem(d.e.NB_G_LOGIN_STATUS,"true"))},x=(0,s.useCallback)((0,r.Z)(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n(!1),y(),window.localStorage.setItem(d.e.NB_COOKIES_STATUS,"accept"),window.localStorage.setItem(d.e.NB_COOKIES_CREATED,Date.now().toString()),(0,p.VU)("bannerButtonClick",{type:"C
1ookieBanner",value:"accept"});case 5:case"end":return e.stop()}}),e)}))),[]);return(0,s.useEffect)((function(){if(w){var e,t=(0,u.ej)(d.e.NB_COOKIES_STATUS);if(""===t||void 0===t)t=null!==(e=window.localStorage.getItem(d.e.NB_COOKIES_STATUS))&&void 0!==e?e:"";""===t&&(0,p.VU)("bannerShown",{type:"CookieBanner"}),n(!t),!t&&w.device.type||y()}}),[w]),(0,b.jsxs)(b.Fragment,{children:[c&&(0,b.jsx)(h.default,{onSuccess:function(){},oneTapOnly:!0}),t&&(0,b.jsx)("div",{className:"fixed left-0 right-0 bottom-[56px] md:left-2 md:right-2 md:bottom-2 z-[42] xl:pl-[268px]",children:(0,b.jsx)("div",{className:"mx-auto max-w-6xl box-border",children:(0,b.jsx)("div",{className:"rounded-lg p-3 md:p-4 md:px-8 bg-white shadow-[0_4px_20px_rgba(0,0,0,0.2)]",children:(0,b.jsxs)("div",{className:"flex flex-row items-center gap-3 md:gap-6",children:[(0,b.jsxs)("div",{className:"flex-1 text-xs md:text-sm text-black/60",children:[(0,b.jsxs)("span",{className:"md:hidden",children:["We and our vendors use cookies and similar technologies to collect and share information from website visitors. Learn more in our"," ",(0,b.jsx)(l(),{href:"/privacy",prefetch:!1,children:(0,b.jsx)("a",{className:"underline underline-offset-4","aria-label":"Privacy Policy",title:"Privacy Policy",target:"_blank",children:"Privacy Policy"})}),"."]}),(0,b.jsxs)("span",{className:"hidden md:inline",children:["We and our vendors use cookies, scripts, and other technologies to collect and disclose information from website visitors, including information about how you use our website. By using our site, you agree to our"," ",(0,b.jsx)(l(),{href:"/privacy",prefetch:!1,children:(0,b.jsx)("a",{className:"underline underline-offset-4","aria-label":"Privacy Policy",title:"Privacy Policy",target:"_blank",children:"Privacy Policy,"})})," ",'which also provides more information about how we process your information for other purposes. Click "X" to close this banner.']})]}),(0,b.jsx)("button",{type:"button","aria-label":"Close cookie banner",onClick:x,className:"shrink-0 w-7 h-7 flex items-center justify-center rounded-full bg-black/50 text-white",children:(0,b.jsx)(f.Z,{})})]})})})})]})}
1function v(e){var t=e.onAccept,n=(0,s.useState)(!0),o=n[0],i=n[1];(0,s.useEffect)((function(){var e,t=(0,u.ej)(d.e.NB_COOKIES_STATUS);""!==t&&void 0!==t||(t=null!==(e=window.localStorage.getItem(d.e.NB_COOKIES_STATUS))&&void 0!==e?e:"");""===t&&(0,p.VU)("bannerShown",{type:"CookieBanner"}),i(!t)}),[]),(0,s.useEffect)((function(){!o&&t&&t()}),[o]);var c=(0,s.useCallback)((0,r.Z)(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i(!1),window.localStorage.setItem(d.e.NB_COOKIES_STATUS,"accept"),window.localStorage.setItem(d.e.NB_COOKIES_CREATED,Date.now().toString()),(0,p.VU)("bannerButtonClick",{type:"CookieBanner",value:"accept"});case 4:case"end":return e.stop()}}),e)}))),[]);return(0,b.jsx)(b.Fragment,{children:o&&(0,b.jsx)("div",{className:"fixed left-0 right-0 bottom-0 md:left-2 md:right-2 md:bottom-2 z-50 xl:pl-[268px]",children:(0,b.jsx)("div",{className:"mx-auto max-w-6xl box-border",children:(0,b.jsxs)("div",{className:"rounded-lg relative p-4 pt-8 md:pt-4 md:px-8 bg-white shadow-[0_4px_20px_rgba(0,0,0,0.2)]",children:[(0,b.jsx)("div",{className:"absolute text-white right-0 top-0 p-1 md:p-2",onClick:c,children:(0,b.jsx)("button",{className:"p-1 border rounded-full bg-black/50",type:"button",children:(0,b.jsx)(f.Z,{})})}),(0,b.jsx)("div",{className:"clear-both flex flex-col md:flex-row gap-2 md:gap-6 items-center",children:(0,b.jsx)("div",{className:"relative text-black/60",children:(0,b.jsxs)("div",{className:"text-xs",children:["We and our vendors use cookies, scripts, and other technologies to collect and disclose information from website visitors, including information about how you use our website. By using our site, you agree to our ","",(0,b.jsx)(l(),{href:"/privacy",prefetch:!1,children:(0,b.jsxs)("a",{className:"underline","aria-label":"Privacy Policy",title:"Privacy Policy",target:"_blank",children:["Privacy Policy, ",""]})}),'which also provides more information about how we process your information for other purposes. Click "X" to close this banner.']})})})]})})})})}},37086:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(95235),o=n(52322);function i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e){return(0,o.jsx)("svg",a(a({width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:(0,o.jsx)("path",{d:"M10.3536 2.35355C10.5488 2.15829 10.5488 1.84171 10.3536 1.64645C10.1583 1.45118 9.84171 1.45118 9.64645 1.64645L6 5.29289L2.35355 1.64645C2.15829 1.45118 1.84171 1.45118 1.64645 1.64645C1.45118 1.84171 1.45118 2.15829 1.64645 2.35355L5.29289 6L1.64645 9.64645C1.45118 9.84171 1.45118 10.1583 1.64645 10.3536C1.84171 10.5488 2.15829 10.5488 2.35355 10.3536L6 6.70711L9.64645 10.3536C9.84171 10.5488 10.1583 10.5488 10.3536 10.3536C10.5488 10.1583 10.5488 9.84171 10.3536 9.64645L6.70711 6L10.3536 2.35355Z",fill:"currentColor"})}))}},78061:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/trending",function(){return n(62428)}])},73614:function(e,t,n){var r;e.exports=(r=n(2784),function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(4)},function(e,t,n){e.exports=n(6)()},function(e,t){e.exports=r},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return decodeURIComponent(e.replace(new RegExp("^(?:.*[&\\?]"+encodeURIComponent(t).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))}},function(e,t,n){"use strict";
1function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=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},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=r(n(2)),u=r(n(1)),d=r(n(5)),p=r(n(3)),f=function(){var e=!1;try{e=!!(window.navigator&&window.navigator.standalone||navigator.userAgent.match("CriOS")||navigator.userAgent.match(/mobile/i))}catch(t){}return e},h=function(e){function t(){var e,n,r;o(this,t);for(var a=arguments.length,c=Array(a),l=0;l<a;l++)c[l]=arguments[l];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),r.state={isSdkLoaded:!1,isProcessing:!1},r.responseApi=function(e){window.FB.api("/me",{locale:r.props.language,fields:r.props.fields},(function(t){s(t,e),r.props.callback(t)}))},r.checkLoginState=function(e){r.setStateIfMounted({isProcessing:!1}),e.authResponse?r.responseApi(e.authResponse):r.props.onFailure?r.props.onFailure({status:e.status}):r.props.callback({status:e.status})},r.checkLoginAfterRefresh=function(e){"connected"===e.status?r.checkLoginState(e):window.FB.login((function(e){return r.checkLoginState(e)}),!0)},r.click=function(e){if(r.state.isSdkLoaded&&!r.state.isProcessing&&!r.props.isDisabled){r.setState({isProcessing:!0});var t=r.props,n=t.scope,o=t.appId,i=t.onClick,a=t.returnScopes,s=t.responseType,c=t.redirectUri,l=t.disableMobileRedirect,u=t.authType,p=t.state;if("function"!=typeof i||(i(e),!e.defaultPrevented)){var f={client_id:o,redirect_uri:c,state:p,return_scopes:a,scope:n,response_type:s,auth_type:u};if(r.props.isMobile&&!l)window.location.href="https://www.facebook.com/dialog/oauth"+(0,d.default)(f);else{if(!window.FB)return void(r.props.onFailure&&r.props.onFailure({status:"facebookNotLoaded"}));window.FB.login(r.checkLoginState,{scope:n,return_scopes:a,auth_type:f.auth_type})}}}},i(r,n)}
1return a(t,e),c(t,[{key:"componentDidMount",value:function(){if(this._isMounted=!0,document.getElementById("facebook-jssdk"))this.sdkLoaded();else{this.setFbAsyncInit(),this.loadSdkAsynchronously();var e=document.getElementById("fb-root");e||((e=document.createElement("div")).id="fb-root",document.body.appendChild(e))}}},{key:"componentWillReceiveProps",value:function(e){this.state.isSdkLoaded&&e.autoLoad&&!this.props.autoLoad&&window.FB.getLoginStatus(this.checkLoginAfterRefresh)}},{key:"componentWillUnmount",value:function(){this._isMounted=!1}},{key:"setStateIfMounted",value:function(e){this._isMounted&&this.setState(e)}},{key:"setFbAsyncInit",value:function(){var e=this,t=this.props,n=t.appId,r=t.xfbml,o=t.cookie,i=t.version,a=t.autoLoad;window.fbAsyncInit=function(){window.FB.init({version:"v"+i,appId:n,xfbml:r,cookie:o}),e.setStateIfMounted({isSdkLoaded:!0}),(a||e.isRedirectedFromFb())&&window.FB.getLoginStatus(e.checkLoginAfterRefresh)}}},{key:"isRedirectedFromFb",value:function(){var e=window.location.search;return(0,p.default)(e,"code")||(0,p.default)(e,"granted_scopes")}},{key:"sdkLoaded",value:function(){this.setState({isSdkLoaded:!0})}},{key:"loadSdkAsynchronously",value:function(){var e=this.props.language;!function(t,n,r){var o=t.getElementsByTagName(n)[0],i=o,a=o;t.getElementById(r)||((a=t.createElement(n)).id=r,a.src="https://connect.facebook.net/"+e+"/sdk.js",i.parentNode.insertBefore(a,i))}(document,"script","facebook-jssdk")}},{key:"render",value:function(){var e=this.props.render;if(!e)throw new Error("ReactFacebookLogin requires a render prop to render");var t={onClick:this.click,isDisabled:!!this.props.isDisabled,isProcessing:this.state.isProcessing,isSdkLoaded:this.state.isSdkLoaded};return this.props.render(t)}}]),t}(l.default.Component);h.propTypes={isDisabled:u.default.bool,callback:u.default.func.isRequired,appId:u.default.string.isRequired,xfbml:u.default.bool,cookie:u.default.bool,authType:u.default.string,scope:u.default.string,state:u.default.string,responseType:u.default.string,returnScopes:u.default.bool,redirectUri:u.default.string,autoLoad:u.default.bool,disableMobileRedirect:u.default.bool,isMobile:u.default.bool,fields:u.default.string,version:u.default.string,language:u.default.string,onClick:u.default.func,onFailure:u.default.func,render:u.default.func.isRequired},h.defaultProps={redirectUri:"undefined"!=typeof window?window.location.href:"/",scope:"public_profile,email",returnScopes:!1,xfbml:!1,cookie:!1,authType:"",fields:"name",version:"2.3",language:"en_US",disableMobileRedirect:!1,isMobile:f(),onFailure:null,state:"facebookdirect",responseType:"code"},t.default=h},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"?"+Object.keys(e).map((function(t){return t+"="+encodeURIComponent(e[t])})).join("&")}},function(e,t,n){"use strict";function r(){}var o=n(7);e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n}]))}},function(e){e.O(0,[4543,2980,8861,9774,2888,179],(function(){return t=78061,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.