UNPKG

@steambrew/api

Version:

This sub-project is responsible for transpiling and assembling @steambrew/client and @steambrew/webkit into a bundle that is injectable into the Steam Client. `StartPreloader` is the main function that is called from the backend of Millennium in C++ with

3 lines (2 loc) 1.79 kB
import"../millennium.js";import e from"./chunk-logger.js";const t=new e("Webpack");let o=new Map;!function(){const e=performance.now();t.group("Webpack Module Init");const n=Symbol("@steambrew/client");let r;window.webpackChunksteamui.push([[n],{},e=>{r=e}]),t.log("Initializing all modules. Errors here likely do not matter, as they are usually just failing module side effects.");for(let e of Object.keys(r.m))try{const t=r(e);t&&o.set(e,t)}catch(o){t.debug("Ignoring require error for module",e,o)}t.groupEnd(`Modules initialized in ${performance.now()-e}ms...`)}();const n=e=>{for(const t of o.values()){if(t.default&&e(t.default))return t.default;if(e(t))return t}},r=(e,t)=>{for(const[n,r]of o)if(r)for(const o of[r.default,r])if("object"==typeof o&&!(t&&Object.keys(o).length<t))for(let t in o)if(o?.[t])try{if(e(o[t],t))return[o,o[t],t,n];continue}catch{}return[void 0,void 0,void 0,void 0]},f=(e,t)=>r(e,t)?.[0],u=(e,t)=>r(e,t)?.[1],i=e=>{for(const t of o.values())for(const o of[t.default,t]){const t=e(o);if(t)return t}},l=e=>{const t=[];for(const n of o.values())n.default&&e(n.default)&&t.push(n.default),e(n)&&t.push(n);return t},s=e=>{const t=new Map;for(const[n,r]of o)r.default&&e(r.default)&&t.set(n,r.default),e(r)&&t.set(n,r);return t},c=n(e=>{if("object"!=typeof e)return!1;for(let t in e)if(e[t]?.contextType?._currentValue&&Object.keys(e).length>60)return!0;return!1}),a=f(e=>e?.toString&&/Spinner\)}\)?,.\.createElement\(\"path\",{d:\"M18 /.test(e.toString())),d=f(e=>e.computeRootMatch);export{c as CommonUIModule,a as IconsModule,d as ReactRouter,s as createModuleMapping,l as findAllModules,n as findModule,f as findModuleByExport,i as findModuleChild,r as findModuleDetailsByExport,u as findModuleExport,o as modules}; //# sourceMappingURL=chunk-webpack.js.map