PageSourceSearch

https://www.globaldms.com/hubfs/hs_marketplace_assets/modules/HubB…embers%20with%20Avatar/1/resize-observer.js

js globaldms.com collected 2026-10-04 20:24:10 UTC 1,896 bytes, 1 lines download raw bytes

1!function(){var e,t,s,i={blox_319:319,blox_480:480,blox_600:600,blox_834:834,blox_900:900,blox_1024:1024};function r(){for(var e,s=new ResizeObserver(function(e){e.forEach(function(s){if(s.target.updateBreakpoints)s.target.updateBreakpoints(s.contentRect.width);else{var r=s.target.dataset.breakpoints?JSON.parse(s.target.dataset.breakpoints):i;0===s.width?s.target.dataset.observing=!1:s.target.dataset.observing=!0,Object.keys(r).forEach(function(e){var t=r[e];s.contentRect.width<=t?s.target.classList.add(e):s.target.classList.remove(e)})}})}),t=document.querySelectorAll("[data-observe-resizes]"),r=0;e=t[r];r++)s.observe(e);function a(){return"object"==typeof Reflect?Reflect.construct(HTMLElement,[],a):HTMLElement.call(this)||this}new MutationObserver(function(e){e.forEach(function(e){var t,a;t=e.addedNodes,a=s.observe.bind(s),t&&[].slice.call(t).forEach(function(e){if(1===e.nodeType){var t=[].slice.call(e.querySelectorAll("[data-observe-resizes]"));e.hasAttribute("data-observe-resizes")&&t.push(e);for(var s,r=0;s=t[r];r++)a(s)}})})}).observe(document.body,{childList:!0,subtree:!0}),a.prototype=Object.create(HTMLElement.prototype,{constructor:{value:a},connectedCallback:{value:function(){var e=this.getAttribute("breakpoints");this.breakpoints=e?JSON.parse(e):i,s.observe(this),this.setAttribute("observing","")}},updateBreakpoints:{value:function(e){for(var t in 0<e?this.setAttribute("observing",""):this.removeAttribute("observing"),this.breakpoints){this.breakpoints[t]<=e?this.classList.add(t):this.classList.remove(t)}}}}),self.customElements.define("responsive-container",a)}"undefined"!=typeof ResizeObserver&&"undefined"!=typeof customElements||!matchMedia("(min-width: 576px)").matches?r():(e="https://philipwalton.github.io/responsive-components/static/polyfills-9e9c50f1e0.js",t=r,(s=document.createElement("script")).src=e,s.onload=t,document.head.appendChild(s))}()

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.