UNPKG

web3d

Version:

MetaEditor — ReactJS Pixel Streaming library, helps integrate Unreal Engine v.5 in the browser. Allows you to send commands and get callbacks from the stream server with launched Unreal Engine.

1 lines 1.7 kB
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;const a4_0x1f5d68=a4_0x33c8;(function(a,b){for(const c=a4_0x33c8,d=a();;)try{const a=-parseInt(c(385))/1*(parseInt(c(389))/2)+-parseInt(c(390))/3*(parseInt(c(393))/4)+-parseInt(c(372))/5*(parseInt(c(382))/6)+parseInt(c(373))/7*(parseInt(c(378))/8)+-parseInt(c(392))/9*(parseInt(c(383))/10)+-parseInt(c(388))/11+parseInt(c(386))/12*(parseInt(c(384))/13);if(a===b)break;else d.push(d.shift())}catch(a){d.push(d.shift())}})(a4_0x3402,597784);function a4_0x33c8(a,b){const c=a4_0x3402();return a4_0x33c8=function(a){a-=369;let b=c[a];return b},a4_0x33c8(a,b)}const MetaMsg=new class{constructor(){}["_event"](a,b){const c=a4_0x33c8,d=new CustomEvent(c(374),{detail:{type:a,payload:b}});document[c(376)](d)}[a4_0x1f5d68(379)](...a){const b=a4_0x1f5d68;this[b(371)](b(379),a)}["log"](...a){this._event("log",a)}["warn"](...a){const b=a4_0x1f5d68;this[b(371)](b(380),a)}["info"](...a){const b=a4_0x1f5d68;this[b(371)](b(370),a)}["error"](...a){this._event(a4_0x1f5d68(369),a)}get[a4_0x1f5d68(377)](){const a=a4_0x1f5d68;return{log:(...b)=>this[a(371)](a(387),b),warn:(...b)=>this[a(371)](a(391),b),info:(...b)=>this._event(a(381),b),error:(...b)=>this._event(a(375),b)}}};function a4_0x3402(){const a=["3QXNRGZ","webrtc:warn","116865FeURFf","3946172ImdtJG","error","info","_event","10635tmvIoz","973cLQnNZ","metaeditor_debug","webrtc:error","dispatchEvent","webrtc","5864UBBdpa","func","warn","webrtc:info","3012qssXWC","370tYcUxG","13eSZNER","425245pRiWZG","51679164RQhGeU","webrtc:log","9357843pyVHKC","2MEDwcP"];return a4_0x3402=function(){return a},a4_0x3402()}var _default=MetaMsg;exports.default=_default;