PageSourceSearch

https://www.lokersefeesten.be/assets/website/64.c422410d.js

js lokersefeesten.be collected 2026-10-02 10:26:03 UTC 8,090 bytes, 1 lines download raw bytes

1(globalThis.webpackChunk_inventis_front_end_boilerplate=globalThis.webpackChunk_inventis_front_end_boilerplate||[]).push([[64],{6032:(t,e,o)=>{var s={"./OEmbedParser":7064,"./OEmbedParser.js":7064,"./_index.scss":6237,"./oembed":595,"./oembed-media.scss":4281,"./oembed-provider-list":7213,"./oembed-provider-list.json":7213,"./oembed.js":595};function r(t){var e=i(t);return o(e)}function i(t){if(!o.o(s,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return s[t]}r.keys=function(){return Object.keys(s)},r.resolve=i,t.exports=r,r.id=6032},7064:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>s});class s{constructor(t,e){this.name="OEmbedParser",this.oEmbedElement=t,this.options=Object.assign(this.getDefaultOptions(),e),this.oEmbedList=o(6032)(`${this.options.oEmbedListPath}`),this.parseOEmbed()}getDefaultOptions(){return{oEmbedListPath:"./oembed-provider-list.json",oEmbedUrl:null,oEmbedRequestPath:null}}async parseOEmbed(){if(!this.options.oEmbedRequestPath)throw new Error("No oEmbedRequestPath is provided. Can not fetch oEmbed data from the server");this.isValidUrl(this.options.oEmbedUrl);const t=this.getProvidersFromList(this.oEmbedList),e=this.findProvider(this.options.oEmbedUrl,t),o=this.getConsumerUrl(e.url,this.options.oEmbedUrl),s=new URL(this.options.oEmbedRequestPath);s.searchParams.append("url",o);const r=await this.getProviderResponse(s.href);this.injectHtml(r)}isValidUrl(t){if(!t)return!1;return!!/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,}))\.?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(t)}getProvidersFromList(t){return t.map((t=>{const{provider_name:e,provider_url:o,endpoints:[{schemes:s=[],url:r}]}=t,i=this.getHostName(r);return{provider_name:e,provider_url:o,schemes:s,domain:i?i.replace("www.",""):"",url:r}})).filter((t=>""!==t.domain))}getHostName(t){const e=t.match(/:\/\/(www[0-9]?\.)?(.[^/:]+)/i);return e&&e.length>2&&"string"==typeof e[2]&&e[2].length>0?e[2]:null}findProvider(t,e){const o=e.filter((e=>{const{schemes:o,domain:s}=e;return o.length?o.some((e=>{const o=new RegExp(e.replace(/\*/g,"(.*)"),"i");return t.match(o)})):t.includes(s)}));return o.length>0?o[0]:null}getConsumerUrl(t,e){return`${t.replace(/{format}/g,"json")}?${["format=json",`url=${encodeURIComponent(e)}`].join("&")}`}async getProviderResponse(t){return await fetch(t,{mode:"cors",method:"GET"}).then((t=>t.json())).then((t=>t))}injectHtml(t){const{html:e,title:o,type:s,width:r,height:i}=t,m=this.oEmbedElement.parentNode;m.setAttribute("class","oembed-media"),m.setAttribute("title",o),s&&m.setAttribute("data-type",s),r&&m.setAttribute("width",r),i&&m.setAttribute("height",i),m.innerHTML=e}}},595:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>m});var s=o(7064);function r(t,e,o){var s;return(e="symbol"==typeof(s=function(t,e){if("object"!=typeof t||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var s=o.call(t,e||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"))?s:String(s))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}class i{constructor(t){if(r(this,"element",void 0),r(this,"oEmbedRequestPath",void 0),r(this,"observer",void 0),!t.dataset.oembedRequestPath)throw new Error("No oEmbedRequestPath is provided. Can not fetch oEmbed data from the server without it");this.element=t,this.oEmbedRequestPath=t.dataset.oembedRequestPath,this.setup()}setup(){this.parseOembeds(),this.watchForNewOembeds()}destroy(){this.observer.disconnect()}parseOembeds(){this.element.querySelectorAll("oembed").forEach((t=>{const e={oEmbedUrl:t.getAttribute("url"),oEmbedRequestPath:this.oEmbedRequestPath};new s.default(t,e)}))}watchForNewOembeds(){this.observer=new MutationObserver((t=>t.forEach((()=>this.parseOembeds())))),this.observer.observe(this.element,{childList:!0,subtree:!0})}}const m=t=>new i(t)},6237:(t,e,o)=>{"use strict";o.r(e)}
1,4281:(t,e,o)=>{"use strict";o.r(e)},7213:t=>{"use strict";t.exports=JSON.parse('[{"provider_name":"YouTube","provider_url":"https://www.youtube.com/","endpoints":[{"schemes":["https://*.youtube.com/watch*","https://*.youtube.com/v/*","https://youtu.be/*"],"url":"https://www.youtube.com/oembed","discovery":true}]},{"provider_name":"Vimeo","provider_url":"https://vimeo.com/","endpoints":[{"schemes":["https://vimeo.com/*","https://vimeo.com/album/*/video/*","https://vimeo.com/channels/*/*","https://vimeo.com/groups/*/videos/*","https://vimeo.com/ondemand/*/*","https://player.vimeo.com/video/*"],"url":"https://vimeo.com/api/oembed.{format}","discovery":true}]},{"provider_name":"Instagram","provider_url":"https://instagram.com","endpoints":[{"schemes":["http://instagram.com/*/p/*,","http://www.instagram.com/*/p/*,","https://instagram.com/*/p/*,","https://www.instagram.com/*/p/*,","http://instagram.com/p/*","http://instagr.am/p/*","http://www.instagram.com/p/*","http://www.instagr.am/p/*","https://instagram.com/p/*","https://instagr.am/p/*","https://www.instagram.com/p/*","https://www.instagr.am/p/*","http://instagram.com/tv/*","http://instagr.am/tv/*","http://www.instagram.com/tv/*","http://www.instagr.am/tv/*","https://instagram.com/tv/*","https://instagr.am/tv/*","https://www.instagram.com/tv/*","https://www.instagr.am/tv/*"],"url":"https://api.instagram.com/oembed","formats":["json"]},{"schemes":["http://instagram.com/*/p/*,","http://www.instagram.com/*/p/*,","https://instagram.com/*/p/*,","https://www.instagram.com/*/p/*,","http://instagram.com/p/*","http://instagr.am/p/*","http://www.instagram.com/p/*","http://www.instagr.am/p/*","https://instagram.com/p/*","https://instagr.am/p/*","https://www.instagram.com/p/*","https://www.instagr.am/p/*","http://instagram.com/tv/*","http://instagr.am/tv/*","http://www.instagram.com/tv/*","http://www.instagr.am/tv/*","https://instagram.com/tv/*","https://instagr.am/tv/*","https://www.instagram.com/tv/*","https://www.instagr.am/tv/*"],"url":"https://graph.facebook.com/v8.0/instagram_oembed","formats":["json"]}]},{"provider_name":"Twitter","provider_url":"http://www.twitter.com/","endpoints":[{"schemes":["https://twitter.com/*/status/*","https://*.twitter.com/*/status/*","https://twitter.com/*/moments/*","https://*.twitter.com/*/moments/*"],"url":"https://publish.twitter.com/oembed"}]},{"provider_name":"SoundCloud","provider_url":"http://soundcloud.com/","endpoints":[{"schemes":["http://soundcloud.com/*","https://soundcloud.com/*","https://soundcloud.app.goog.gl/*"],"url":"https://soundcloud.com/oembed"}]},{"provider_name":"Facebook","provider_url":"https://www.facebook.com/","endpoints":[{"schemes":["https://www.facebook.com/*/posts/*","https://www.facebook.com/*/activity/*","https://www.facebook.com/photo.php?fbid=*","https://www.facebook.com/photos/*","https://www.facebook.com/permalink.php?story_fbid=*","https://www.facebook.com/media/set?set=*","https://www.facebook.com/questions/*","https://www.facebook.com/notes/*/*/*"],"url":"https://graph.facebook.com/v8.0/oembed_post","discovery":false},{"schemes":["https://www.facebook.com/*/videos/*","https://www.facebook.com/video.php?id=*","https://www.facebook.com/video.php?v=*"],"url":"https://graph.facebook.com/v8.0/oembed_video","discovery":false},{"schemes":["https://www.facebook.com/*"],"url":"https://graph.facebook.com/v8.0/oembed_page","discovery":false}]},{"provider_name":"Spotify","provider_url":"http://open.spotify.com/","endpoints":[{"schemes":["http://open.spotify.com/*","https://open.spotify.com/*","http://spoti.fi/*","http://play.spotify.com/*","https://play.spotify.com/*","http://podcasters.spotify.com/*","https://podcasters.spotify.com/*"],"url":"https://open.spotify.com/oembed"}]}]')}}]);

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.