PageSourceSearch

https://www2.telenet.be/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-WSQHVBSB.js

js telenet.be collected 2026-09-24 07:52:11 UTC 5,745 bytes, 1 lines download raw bytes

1import{a as m,b as h,e as U,g as C,k as u}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-WXUJ2XVZ.js";var oe={};C(oe,{BUILD_NOTIFICATIONS_ENDPOINT:()=>L,BuildNotificationType:()=>N,getShared:()=>P,initFederation:()=>z,loadRemoteModule:()=>X,mergeImportMaps:()=>y,processHostInfo:()=>S,processRemoteInfo:()=>$,processRemoteInfos:()=>_});function P(e=D){let o=window.__NATIVE_FEDERATION__.externals,n={},c=[...o.keys()].filter(s=>!s.startsWith("/@id/")&&!s.startsWith("@angular-architects/module-federation")&&!s.endsWith("@")).sort();for(let s of c){let a=s.lastIndexOf("@"),i=s.substring(0,a),l=s.substring(a+1),f=o.get(s)??"",v={version:l,get:()=>u(null,null,function*(){let j=yield window.importShim(f);return()=>j}),shareConfig:{singleton:e.singleton,requiredVersion:e.requiredVersionPrefix+l}};n[i]||(n[i]=[]),n[i].push(v)}return n}function k(e){return`${e.packageName}@${e.version}`}function A(e){let t=k(e);return b.get(t)}function T(e,t){let o=k(e);b.set(o,t)}function y(e,t){return{imports:m(m({},e.imports),t.imports),scopes:m(m({},e.scopes),t.scopes)}}function K(e,t){F.set(e,t),w.set(t.baseUrl,e)}function V(e){return w.get(e)}function B(e){return w.has(e)}function W(e){return F.get(e)}function M(e){document.head.appendChild(Object.assign(document.createElement("script"),{type:"importmap-shim",innerHTML:JSON.stringify(e)}))}function E(e){let t=e.split("/");return t.pop(),t.join("/")}function g(e,t){for(;e.endsWith("/");)e=e.substring(0,e.length-1);return t.startsWith("./")&&(t=t.substring(2,t.length)),`${e}/${t}`}function q(e){let t=new EventSource(e);t.onmessage=function(o){JSON.parse(o.data).type===N.COMPLETED&&(console.log("[Federation] Rebuild completed, reloading..."),window.location.reload())},t.onerror=function(o){console.warn("[Federation] SSE connection error:",o)}}function d(...e){globalThis.__NF_DEBUG!==!1&&console.debug("[NativeFederation]",...e)}function z(){return u(this,arguments,function*(e={},t,o="."){let n=t?.cacheTag?`?t=${t.cacheTag}`:"",r=typeof e=="string"?yield H(e+n):e;d("initFederation",{basePath:o});let c=`${o}/remoteEntry.json`+n,s=yield O(c),a=yield S(s,o),i=yield _(r,m({throwIfRemoteNotFound:!1},t)),l=y(a,i);return M(l),l})}function H(e){return u(this,null,function*(){return yield fetch(e).then(t=>t.json())})}function _(o){return u(this,arguments,function*(e,t={throwIfRemoteNotFound:!1}){let n=Object.keys(e).map(s=>u(null,null,function*(){try{let a=e[s];if(t.cacheTag){let i=e[s].includes("?")?"&":"?";a+=`${i}t=${t.cacheTag}`}return yield $(a,s)}catch{let i=`Error loading remote entry for ${s} from file ${e[s]}`;if(t.throwIfRemoteNotFound)throw new Error(i);return console.error(i),null}}));return(yield Promise.all(n)).reduce((s,a)=>a?y(s,a):s,{imports:{},scopes:{}})})}function $(e,t){return u(this,null,function*(){let o=E(e),n=yield O(e);t||(t=n.name),n.buildNotificationsEndpoint&&q(o+n.buildNotificationsEndpoint);let r=J(n,t,o);return K(t,h(m({},n),{baseUrl:o})),r})}function J(e,t,o){let n=Q(e,t,o),r=G(e,o);return{imports:n,scopes:r}}function O(e){return u(this,null,function*(){return yield fetch(e).then(o=>o.json())})}function G(e,t){let o={},n={};d(`processRemoteImports: ${e.name} from ${t} (${e.shared.length} shared)`);for(let r of e.shared){let c=Array.from(p.externals.keys()).find(l=>l.includes(`${r.packageName}@`)),s=`${r.packageName}@${r.version}`;if(c&&!r.strictVersion&&c!==s){let l=p.externals.get(c)||"";d(`reuse shell copy: ${r.packageName} -> ${c} (remote ${s})`),n[r.packageName]=l;continue}let a=A(r),i=a??g(t,r.outFileName);d(a?`reuse shell copy (exact): ${s} -> ${a}`:`own copy: ${s} -> ${i}`),T(r,i),n[r.packageName]=i}return o[t+"/"]=n,o}function Q(e,t,o){let n={};for(let r of e.exposes){let c=g(t,r.key),s=g(o,r.outFileName);n[c]=s}return n}function S(e,t){return u(this,null,function*(){let o=e.shared.reduce((n,r)=>h(m({},n),{[r.packageName]:`${t}/${r.outFileName}`}),{});for(let n of e.shared)T(n,`${t}/${n.outFileName}`);return d(`processHostInfo: seeded ${e.shared.length} shared externals from ${t}`),{imports:o,scopes:{}}})}function X(e,t){return u(this,null,function*(){let o=te(e,t);yield ee(o);let n=Z(o),r=W(n),c=o.fallback,s=r?"":"unknown remote "+n;if(!r&&!c)throw new Error(s);if(!r)return x(s),Promise.resolve(c);let a=r.exposes.find(f=>f.key===o.exposedModule),i=a?"":`Unknown exposed module ${o.exposedModule} in remote ${n}`;if(!a&&!c)throw new Error(i);if(!a)return x(i),Promise.resolve(c);let l=g(r.baseUrl,a.outFileName);try{return Y(l)}catch(f){if(c)return console.error("error loading remote module",f),c;throw f}})}function Y(e){return typeof importShim<"u"?importShim(e):import(e)}function Z(e){let t;if(e.remoteName)t=e.remoteName;
1else if(e.remoteEntry){let o=E(e.remoteEntry);t=V(o)}else throw new Error("Unexpected arguments: Please pass remoteName or remoteEntry");if(!t)throw new Error("unknown remoteName "+t);return t}function ee(e){return u(this,null,function*(){if(e.remoteEntry&&!B(E(e.remoteEntry))){let t=yield $(e.remoteEntry);M(t)}})}function te(e,t){let o;if(typeof e=="string"&&t)o={remoteName:e,exposedModule:t};else if(typeof e=="object"&&!t)o=e;else throw new Error("unexpected arguments: please pass options or a remoteName/exposedModule-pair");return o}function x(e){typeof window<"u"&&console.error(e)}var D,I,R,p,b,F,w,L,N,ne=U(()=>{D={singleton:!1,requiredVersionPrefix:""};I="__NATIVE_FEDERATION__",R=globalThis;R[I]??={externals:new Map,remoteNamesToRemote:new Map,baseUrlToRemoteNames:new Map};p=R[I],b=p.externals;F=p.remoteNamesToRemote,w=p.baseUrlToRemoteNames;L="/@angular-architects/native-federation:build-notifications",N=(function(e){return e.COMPLETED="federation-rebuild-complete",e.ERROR="federation-rebuild-error",e})(N||{})});export{X as a,oe as b,ne as c};

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.