PageSourceSearch

https://restofworld.org/wp-content/themes/orbis/static-assets/dist/js/utils.min.js?ver=gei88-page

js restofworld.org collected 2026-10-02 02:14:35 UTC 1,956 bytes, 1 lines download raw bytes

1!function o(i,r,c){function u(e,n){if(!r[e]){if(!i[e]){var t="function"==typeof require&&require;if(!n&&t)return t(e,!0);if(w)return w(e,!0);throw(n=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",n}t=r[e]={exports:{}},i[e][0].call(t.exports,function(n){return u(i[e][1][n]||n)},t,t.exports,o,i,r,c)}return r[e].exports}for(var w="function"==typeof require&&require,n=0;n<c.length;n++)u(c[n]);return u}({1:[function(n,e,t){window.r=window.r||{},r.ajax=function(n,e,t){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"GET",i=!(4<arguments.length&&void 0!==arguments[4])||arguments[4];e=e||function(){},t=t||function(){console.error("request to "+n+" failed")};let r=new XMLHttpRequest;r.onreadystatechange=function(){r.readyState===XMLHttpRequest.DONE&&(200===r.status?e(r.response):t())},r.open(o,n,i),r.send()}},{}],2:[function(n,e,t){window.r=window.r||{},r.isMobile=function(){return window.matchMedia("(max-width: 767px)").matches},r.isDesktop=function(){return window.matchMedia("(min-width: 992px)").matches},r.breakpoint=function(n,e){return window.matchMedia(`(${n}-width: ${e}px)`).matches}},{}],3:[function(n,e,t){window.r=window.r||{},r.capitalizeWord=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}},{}],4:[function(n,e,t){window.r=window.r||{},r.inView=function(n){var n=n.getBoundingClientRect(),e=0<=n.top&&n.top<=window.innerHeight,t=0<n.bottom&&n.bottom<=window.innerHeight,n=n.top<0&&n.bottom>window.innerHeight;return e||t||n},r.inFullView=function(n){n=n.getBoundingClientRect();let e;return e=n.height>=window.innerHeight?n.top<=0&&n.bottom>=window.innerHeight:0<=n.top&&n.bottom<=window.innerHeight}},{}],5:[function(n,e,t){n("./common/helpers/ajax-request"),n("./common/helpers/breakpoint"),n("./common/helpers/capitalize"),n("./common/helpers/in-view")},{"./common/helpers/ajax-request":1,"./common/helpers/breakpoint":2,"./common/helpers/capitalize":3,"./common/helpers/in-view":4}]},{},[5]);

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.