UNPKG

@clusterio/plugin-global_chat

Version:

Clusterio plugin forwarding between Factorio servers

3 lines 3.68 kB
var plugin_global_chat;(()=>{"use strict";var e=[,(e,r,t)=>{var o={"./":()=>Promise.all([t.e(958),t.e(781)]).then(()=>()=>t(781)),"./package.json":()=>t.e(330).then(()=>()=>t(330))},a=(e,r)=>(t.R=r,r=t.o(o,e)?o[e]():Promise.resolve().then(()=>{throw Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r),i=(e,r)=>{if(t.S){var o="default",a=t.S[o];if(a&&a!==e)throw Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[o]=e,t.I(o,r)}};t.d(r,{get:()=>a,init:()=>i})}],r={};function t(o){var a=r[o];if(void 0!==a)return a.exports;var i=r[o]={exports:{}};return e[o](i,i.exports,t),i.exports}t.m=e,t.c=r,t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>"static/"+e+"."+({330:"0f5d6801fbcb4cedd48e",781:"5c98111ad0deadd521c3",958:"93f02be4a5ab3f681f92"})[e]+".js",t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e={},r="@clusterio/plugin-global_chat:";t.l=(o,a,i,n)=>{if(e[o])return void e[o].push(a);if(void 0!==i)for(var l,c,u=document.getElementsByTagName("script"),s=0;s<u.length;s++){var d=u[s];if(d.getAttribute("src")==o||d.getAttribute("data-webpack")==r+i){l=d;break}}l||(c=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,t.nc&&l.setAttribute("nonce",t.nc),l.setAttribute("data-webpack",r+i),l.src=o),e[o]=[a];var p=(r,t)=>{l.onerror=l.onload=null,clearTimeout(f);var a=e[o];if(delete e[o],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach(e=>e(t)),r)return r(t)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=p.bind(null,l.onerror),l.onload=p.bind(null,l.onload),c&&document.head.appendChild(l)}})(),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{t.S={};var e={},r={};t.I=(o,a)=>{a||(a=[]);var i=r[o];if(i||(i=r[o]={}),!(a.indexOf(i)>=0)){if(a.push(i),e[o])return e[o];t.o(t.S,o)||(t.S[o]={}),t.S[o];var n=[];return n.length?e[o]=Promise.all(n).then(()=>e[o]=1):e[o]=1}}})(),(()=>{t.g.importScripts&&(e=t.g.location+"");var e,r=t.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var o=r.getElementsByTagName("script");if(o.length)for(var a=o.length-1;a>-1&&(!e||!/^http(s?):/.test(e));)e=o[a--].src}if(!e)throw Error("Automatic publicPath is not supported in this browser");t.p=(e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"))+"../"})(),(()=>{var e={543:0};t.f.j=(r,o)=>{var a=t.o(e,r)?e[r]:void 0;if(0!==a)if(a)o.push(a[2]);else{var i=new Promise((t,o)=>a=e[r]=[t,o]);o.push(a[2]=i);var n=t.p+t.u(r),l=Error();t.l(n,o=>{if(t.o(e,r)&&(0!==(a=e[r])&&(e[r]=void 0),a)){var i=o&&("load"===o.type?"missing":o.type),n=o&&o.target&&o.target.src;l.message="Loading chunk "+r+` failed. (`+i+": "+n+")",l.name="ChunkLoadError",l.type=i,l.request=n,a[1](l)}},"chunk-"+r,r)}};var r=(r,o)=>{var a,i,[n,l,c]=o,u=0;if(n.some(r=>0!==e[r])){for(a in l)t.o(l,a)&&(t.m[a]=l[a]);c&&c(t)}for(r&&r(o);u<n.length;u++)i=n[u],t.o(e,i)&&e[i]&&e[i][0](),e[i]=0},o=self.webpackChunk_clusterio_plugin_global_chat=self.webpackChunk_clusterio_plugin_global_chat||[];o.forEach(r.bind(null,0)),o.push=r.bind(null,o.push.bind(o))})(),plugin_global_chat=t(1)})(); //# sourceMappingURL=global_chat.862a25ff2c4373138fc3.js.map