PageSourceSearch

https://www.gbnews.com/static/dist/social-ux/4792.b7e4053985f712e8804f.bundle.js

js gbnews.com collected 2026-09-24 08:42:21 UTC 8,758 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksocialUX=self.webpackChunksocialUX||[]).push([[4792],{6580:function(t,e,r){r.d(e,{Tj:function(){return i},pb:function(){return o},qI:function(){return c},qh:function(){return u}});var n=r(2452),o=(0,n.A)((function(t,e){return e.filter(t)})),i=(0,n.A)((function(t,e){return e.map(t)})),u=(0,n.A)((function(t,e){return e.indexOf(t)})),c=(0,n.A)((function(t,e){return e.flatMap(t)}))},1525:function(t,e,r){function n(t,e,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=t.messageBusUri,u=!1,c=new WebSocket(i);return c.addEventListener("open",(function(){u=!0,c.send(JSON.stringify({channel:e,disconnectedAt:o})),o=null})),c.addEventListener("message",(function(t){r(JSON.parse(t.data))})),c.addEventListener("close",(function(){u=!1;var o=window.setInterval((function(){u||(n(t,e,r,(new Date).getTime()),clearInterval(o),c=null)}),1e3)})),c}r.d(e,{A:function(){return n}})},905:function(t,e,r){r.d(e,{f:function(){return A},q:function(){return O}});var n=r(8359),o=r(6121),i=r(5874);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){l(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function l(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==u(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var f="load_more_posts/data.js",p={};function d(t){var e;return s(s({site_id:t.bootstrap.site.id,node_id:t.sklId,resource_id:t.bootstrap.resourceId,path_params:JSON.stringify(t.bootstrap.pathParams),rm_page_path:t.path,formats:"html"},(null===(e=t.bootstrap.tag)||void 0===e?void 0:e.isSection)&&{is_section_tag:1}),t.pathParams)}function b(t){return t.sklId in p||(p[t.sklId]=1),s(s({},d(t)),{},{rm_lazy_load:1,exclude_post_ids:t.excludePostIds,pn:p[t.sklId],last_post_id:t.lastPostId,pn_strategy:t.ignorePageNumber?"ignore":""})}function y(t){return["/res/".concat(f),t]}function m(t){var e,r,n=(r=2,function(t){if(Array.isArray(t))return t}(e=t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,c=[],a=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;a=!1}else for(;!(a=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{if(!a&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(s)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=n[0],i=n[1];return"".concat(o,"?").concat(new URLSearchParams(i).toString())}var v=(0,n.A)((function(t){return s(s({},d(t)),{},{post_id:t.postId,override_device:"desktop"})}),y,m),g=(0,n.A)(b,y,m),h=(0,n.A)(b,(function(t){return["/core/".concat(f),t]}),m);function S(t){return p[t.node_id]++,[t,p[t.node_id]]}function A(t){var e=(0,o.x3)()?h:g;return(0,i.mQ)(e(t)).then(S)}function O(t){return(0,i.mQ)(v(t))}},7484:function(t,e,r){r.d(e,{A:function(){return l}});var n=r(8359),o=r(6580),i=function(t){return function(e){return Array.from(e.querySelectorAll(t))}},u=function(t){return(0,n.A)(c,s)(t)},c=function(t){return a(t)?new Set:new Set((t.dataset.postsSources||"").split(","))},a=function(t){return"true"===t.dataset.ignorePageNumber},s=function(t){return(0,n.A)(i("[data-source]"),(0,o.pb)((function(t){return"false"!==t.getAttribute("data-source-unique")})),(0,o.pb)((function(e){return!t.has(e.getAttribute("data-source"))})),(0,o.qI)(i("[elid]")),(0,o.Tj)((function(t){return t.getAttribute("elid")})))(document)};function l(t,e){var r=Array.from(t.parentElement.querySelectorAll("article")),n=r[r.length-1],o=n?n.getAttribute("elid"):"",i=u(t),c=new Set(i);return{sklId:t.dataset.sklId,bootstrap:e.settings,path:e.path,pathParams:e.pathParams,excludePostIds:Array.from(new Set(c)).sort().join(","),ignorePageNumber:a(t),lastPostId:o}}},8858:function(t,e,r){function n(t){var e=(t.type||"").toLowerCase();if("video-content"!==e&&!function(t){return t.startsWith("application/")&&t.endsWith("json")}(e)){var r,n=document.createElement("script");t.src?n.setAttribute("src",t.src):n.textContent=t.innerText,setTimeout((r=n,function(){document.head.appendChild(r)}),1)}}function o(t){t.querySelectorAll("script").forEach(n)}r.d(e,{A:function(){return o}})},6396:function(t,e,r){r.d(e,{A:function(){return i},H:function(){return o}});var n=r(8858);function o(t,e){return t.innerHTML=e,(0,n.A)(t),t}function i(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=document.createElement("template");return o.innerHTML=e,(0,n.A)(o.content),r?t.insertAdjacentHTML("afterend",e):t.parentElement.insertBefore(o.content,t),r?t.nextElementSibling:t.previousElementSibling}},4792:function(t,e,r){r.r(e),r.d(e,{default:function(){return p}});var n=r(4533),o=r(1525),i=r(905),u=r(7484),c=r(6396);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==a(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function p(t,e){var r,a=t.settings,p=a.site,d=a.section,b=e.getAttribute("data-section-ids"),y=[];b?y.push.apply(y,function(t){if(Array.isArray(t))return f(t)}(r=b.split(","))||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(r)||function(t,e){if(t){if("string"==typeof t)return f(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(t,e):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}
1()):d&&d.id&&y.push(d.id.toString()),new Set(y).forEach((function(r){var f="".concat(p.id,":section-").concat(r);(0,o.A)(a,f,(function(r){var o=r.postId;(0,i.q)(function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach((function(e){l(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({postId:o},(0,u.A)(e,t))).then((function(t){t.action=r.action,t.postId=o,function(t,e){var r=t.parentElement.querySelector('[elid="'.concat(e.postId,'"]')),o=!0;e.posts_html.includes('elid="'.concat(e.postId,'"'))&&(r&&"edit"===e.action?(r.remove(),(0,c.A)(t,e.posts_html,o)):r||((0,n.A)(e.css),(0,c.A)(t,e.posts_html,o)))}(e,t)}))}))}))}}}]);
2//# sourceMappingURL=4792.b7e4053985f712e8804f.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.