1(globalThis.webpackChunkloop_web=globalThis.webpackChunkloop_web||[]).push([[3540],{3540(t,e,i){"use strict";i.r(e),i.d(e,{createFrom:()=>h});var n=i(7819),s=i.n(n);let o=!1;class r{constructor(t){this.el=t,this.widgetId=this.el.dataset.widgetId;let e=this,i={enter:t=>{e.load()}};new(s())(t,i),window.dispatchEvent(new Event("scroll"))}load(){if(!o){let t=document.createElement("script");t.type="text/javascript",t.src="https://cdn.lightwidget.com/widgets/lightwidget.js",t.setAttribute("fetchPriority","high"),document.head.appendChild(t),o=!0}this.el.innerHTML=`<iframe src="https://cdn.lightwidget.com/widgets/${this.widgetId}.html" scrolling="no" allowtransparency="true" class="lightwidget-widget" style="width:100%; border:0; overflow:hidden;" title="LightWidget Instagram feed viewer"></iframe>`}}function h(t){t.forEach(t=>{1===t.nodeType&&new r(t)})}},7819(t){t.exports=function(){var t=function(){},e=100;function i(t,i){var n,s,o;return void 0===i&&(i=e),function(){!0===n?(clearTimeout(s),s=setTimeout(function(){Date.now()-o>=i&&(t.apply(this,arguments),o=Date.now())},i-(Date.now()-o))):(t.apply(this,arguments),o=Date.now(),n=!0)}}var n=function(t,e){for(var i in this.element=t,this.visible=!1,e)Object.hasOwnProperty.call(e,i)&&(this[i]=e[i]);if(void 0!==t.dataset){if(void 0!==t.dataset.huntPersist)try{this.persist=JSON.parse(t.dataset.huntPersist)}catch(t){}if(void 0!==t.dataset.huntOffset)try{this.offset=JSON.parse(t.dataset.huntOffset)}catch(t){}}};n.prototype.offset=0,n.prototype.persist=!1,n.prototype.enter=t,n.prototype.leave=t;var s=function(t,e){if(!(t&&1===t.nodeType||"number"==typeof t.length))throw new TypeError("hunt: observer first argument should be a node or a list of nodes");if("object"!=typeof e)throw new TypeError("hunt: observer second argument should be an object");if(1===t.nodeType)this.__huntedElements__=[new n(t,e)];else{var i=[].slice.call(t);this.__huntedElements__=i.map(function(t){return new n(t,e)})}this.__viewportHeight__=window.innerHeight,this.__connect__(e.throttleInterval)};return s.prototype.__connect__=function(t){this.__throttledHuntElements__=i(this.__huntElements__.bind(this),t),this.__throttledUpdateMetrics__=i(this.__updateMetrics__.bind(this),t),window.addEventListener("scroll",this.__throttledHuntElements__),window.addEventListener("resize",this.__throttledUpdateMetrics__),this.__huntElements__()},s.prototype.__huntElements__=function(){for(var e=this.__huntedElements__.length;e;){var i=this.__huntedElements__[--e],n=i.element.getBoundingClientRect(),s=n.top-i.offset<this.__viewportHeight__&&n.top>=-(n.height+i.offset);!1===i.visible&&!0===s&&(i.enter.call(null,i.element),i.visible=!0,i.leave===t&&!0!==i.persist&&(this.__huntedElements__.splice(e,1),0===this.__huntedElements__.length&&this.disconnect())),!0===i.visible&&!1===s&&(i.leave.call(null,i.element),i.visible=!1,!0!==i.persist&&(this.__huntedElements__.splice(e,1),0===this.__huntedElements__.length&&this.disconnect()))}},s.prototype.__updateMetrics__=function(){this.__viewportHeight__=window.innerHeight,this.__huntElements__()},s.prototype.disconnect=function(){window.removeEventListener("scroll",this.__throttledHuntElements__),window.removeEventListener("resize",this.__throttledUpdateMetrics__)},s.prototype.trigger=function(){this.__huntElements__()},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.