@ikonai/sdk 1.0.45 → 1.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/{audio-capture-worker-BnmgtUMV.js → audio-capture-worker-Brmt2Z7a.js} +156 -152
- package/assets/{audio-playback-worker-os3j8TEw.js → audio-playback-worker-CyEW91Py.js} +91 -83
- package/assets/{protocol-worker-CMTcdGdm.js → protocol-worker-z-5Xst2M.js} +466 -448
- package/assets/{video-capture-worker-CUqzL0P7.js → video-capture-worker-_LRzpUOA.js} +152 -143
- package/assets/{video-playback-worker-BoE6foO2.js → video-playback-worker-Dlf8ieLP.js} +61 -53
- package/channel/channel-manager.d.ts +12 -8
- package/channel/channel.d.ts +8 -2
- package/client/endpoint-selector.d.ts +0 -7
- package/client/ikon-client-config.d.ts +18 -3
- package/client/ikon-client.d.ts +23 -1
- package/connection/urls.d.ts +2 -2
- package/index.js +2723 -2517
- package/media/ikon-audio-capture.d.ts +15 -2
- package/media/ikon-video-capture.d.ts +7 -0
- package/package.json +1 -1
- package/transport/transport.d.ts +1 -2
- package/utils/query-params.d.ts +2 -2
- package/webrtc/webrtc-signaling.d.ts +16 -4
|
@@ -538,7 +538,7 @@ function Q(t) {
|
|
|
538
538
|
function B(t) {
|
|
539
539
|
return t instanceof Uint8Array ? t : new Uint8Array(t);
|
|
540
540
|
}
|
|
541
|
-
var N = /* @__PURE__ */ ((t) => (t[t.Unknown = 0] = "Unknown", t[t.Opus = 1] = "Opus", t[t.Mp3 = 2] = "Mp3", t[t.RawPcm16 = 3] = "RawPcm16", t))(N || {}), g = /* @__PURE__ */ ((t) => (t[t.NONE = 0] = "NONE", t[t.CONSTANT_GROUP_BITS = 15] = "CONSTANT_GROUP_BITS", t[t.CONSTANT_GROUP_OFFSET = 16] = "CONSTANT_GROUP_OFFSET", t[t.GROUP_CORE = 65536] = "GROUP_CORE", t[t.CORE_AUTH_RESPONSE = 65537] = "CORE_AUTH_RESPONSE", t[t.CORE_AUTH_TICKET = 65538] = "CORE_AUTH_TICKET", t[t.CORE_GLOBAL_STATE = 65539] = "CORE_GLOBAL_STATE", t[t.CORE_ON_SERVER_STATUS_PING = 65540] = "CORE_ON_SERVER_STATUS_PING", t[t.CORE_ON_USER_JOINED = 65541] = "CORE_ON_USER_JOINED", t[t.CORE_ON_USER_LEFT = 65542] = "CORE_ON_USER_LEFT", t[t.CORE_ON_CLIENT_JOINED = 65543] = "CORE_ON_CLIENT_JOINED", t[t.CORE_ON_CLIENT_LEFT = 65544] = "CORE_ON_CLIENT_LEFT", t[t.CORE_ON_SERVER_STARTED = 65545] = "CORE_ON_SERVER_STARTED", t[t.CORE_ON_SERVER_STOPPED = 65546] = "CORE_ON_SERVER_STOPPED", t[t.CORE_ON_SERVER_STOPPING = 65547] = "CORE_ON_SERVER_STOPPING", t[t.CORE_ON_CLIENT_READY = 65548] = "CORE_ON_CLIENT_READY", t[t.CORE_CLIENT_READY = 65549] = "CORE_CLIENT_READY", t[t.CORE_SERVER_INIT = 65550] = "CORE_SERVER_INIT", t[t.CORE_ON_PLUGIN_RELOADED = 65551] = "CORE_ON_PLUGIN_RELOADED", t[t.CORE_SERVER_START = 65552] = "CORE_SERVER_START", t[t.CORE_SERVER_STOP = 65553] = "CORE_SERVER_STOP", t[t.CORE_ON_HOSTED_SERVER_EXIT = 65554] = "CORE_ON_HOSTED_SERVER_EXIT", t[t.CORE_DYNAMIC_CONFIG = 65555] = "CORE_DYNAMIC_CONFIG", t[t.CORE_PROXY_RPC_AUTH_TICKET = 65556] = "CORE_PROXY_RPC_AUTH_TICKET", t[t.CORE_SERVER_INIT2 = 65557] = "CORE_SERVER_INIT2", t[t.CORE_UPDATE_CLIENT_CONTEXT = 65558] = "CORE_UPDATE_CLIENT_CONTEXT", t[t.CORE_BACKGROUND_WORK_ACTIVE = 65559] = "CORE_BACKGROUND_WORK_ACTIVE", t[t.CORE_WEBRTC_OFFER = 65566] = "CORE_WEBRTC_OFFER", t[t.CORE_WEBRTC_ANSWER = 65567] = "CORE_WEBRTC_ANSWER", t[t.CORE_WEBRTC_ICE_CANDIDATE = 65568] = "CORE_WEBRTC_ICE_CANDIDATE", t[t.CORE_WEBRTC_READY = 65569] = "CORE_WEBRTC_READY", t[t.CORE_WEBRTC_AUDIO_SEGMENT = 65570] = "CORE_WEBRTC_AUDIO_SEGMENT", t[t.CORE_WEBRTC_TRACK_MAP = 65571] = "CORE_WEBRTC_TRACK_MAP", t[t.CORE_RELAY_AGENT_AUTH = 65576] = "CORE_RELAY_AGENT_AUTH", t[t.CORE_RELAY_AGENT_AUTH_RESULT = 65577] = "CORE_RELAY_AGENT_AUTH_RESULT", t[t.CORE_RELAY_HEARTBEAT = 65578] = "CORE_RELAY_HEARTBEAT", t[t.CORE_RELAY_TCP_CONNECTION_OPENED = 65579] = "CORE_RELAY_TCP_CONNECTION_OPENED", t[t.CORE_RELAY_TCP_CONNECTION_CLOSED = 65580] = "CORE_RELAY_TCP_CONNECTION_CLOSED", t[t.CORE_RELAY_TCP_DATA = 65581] = "CORE_RELAY_TCP_DATA", t[t.CORE_RELAY_UDP_DATA = 65582] = "CORE_RELAY_UDP_DATA", t[t.CORE_RELAY_ADD_TUNNEL = 65583] = "CORE_RELAY_ADD_TUNNEL", t[t.CORE_RELAY_TUNNEL_ADDED = 65584] = "CORE_RELAY_TUNNEL_ADDED", t[t.CORE_RELAY_REMOVE_TUNNEL = 65585] = "CORE_RELAY_REMOVE_TUNNEL", t[t.GROUP_KEEPALIVE = 131072] = "GROUP_KEEPALIVE", t[t.KEEPALIVE_REQUEST = 131073] = "KEEPALIVE_REQUEST", t[t.KEEPALIVE_RESPONSE = 131074] = "KEEPALIVE_RESPONSE", t[t.GROUP_EVENTS = 262144] = "GROUP_EVENTS", t[t.EVENTS_PROFILE_UPDATE = 262145] = "EVENTS_PROFILE_UPDATE", t[t.EVENTS_CHANNEL_COMPLETE = 262146] = "EVENTS_CHANNEL_COMPLETE", t[t.EVENTS_SPEECH_PLAYBACK_COMPLETE = 262147] = "EVENTS_SPEECH_PLAYBACK_COMPLETE", t[t.GROUP_ANALYTICS = 524288] = "GROUP_ANALYTICS", t[t.ANALYTICS_LOGS = 524289] = "ANALYTICS_LOGS", t[t.ANALYTICS_EVENTS = 524290] = "ANALYTICS_EVENTS", t[t.ANALYTICS_USAGES = 524291] = "ANALYTICS_USAGES", t[t.ANALYTICS_USAGE = 524292] = "ANALYTICS_USAGE", t[t.ANALYTICS_SPECIAL_LOG = 524293] = "ANALYTICS_SPECIAL_LOG", t[t.ANALYTICS_PROCESSING_UPDATE = 524294] = "ANALYTICS_PROCESSING_UPDATE", t[t.ANALYTICS_REACTIVE_PROCESSING_UPDATE = 524295] = "ANALYTICS_REACTIVE_PROCESSING_UPDATE", t[t.ANALYTICS_IKON_PROXY_SERVER_STATS = 524296] = "ANALYTICS_IKON_PROXY_SERVER_STATS", t[t.ANALYTICS_IKON_RELAY_SERVER_STATS = 524297] = "ANALYTICS_IKON_RELAY_SERVER_STATS", t[t.ANALYTICS_IKON_TURN_SERVER_STATS = 524298] = "ANALYTICS_IKON_TURN_SERVER_STATS", t[t.GROUP_ACTIONS = 1048576] = "GROUP_ACTIONS", t[t.ACTION_CALL = 1048577] = "ACTION_CALL", t[t.ACTION_ACTIVE = 1048578] = "ACTION_ACTIVE", t[t.ACTION_TEXT_OUTPUT = 1048579] = "ACTION_TEXT_OUTPUT", t[t.ACTION_TEXT_OUTPUT_DELTA = 1048580] = "ACTION_TEXT_OUTPUT_DELTA", t[t.ACTION_TEXT_OUTPUT_DELTA_FULL = 1048581] = "ACTION_TEXT_OUTPUT_DELTA_FULL", t[t.ACTION_SET_STATE = 1048582] = "ACTION_SET_STATE", t[t.ACTION_TAP = 1048583] = "ACTION_TAP", t[t.ACTION_PAN = 1048584] = "ACTION_PAN", t[t.ACTION_ZOOM = 1048585] = "ACTION_ZOOM", t[t.ACTION_FILE_UPLOAD_BEGIN = 1048586] = "ACTION_FILE_UPLOAD_BEGIN", t[t.ACTION_FILE_UPLOAD_DATA = 1048587] = "ACTION_FILE_UPLOAD_DATA", t[t.ACTION_FILE_UPLOAD_ACK = 1048588] = "ACTION_FILE_UPLOAD_ACK", t[t.ACTION_FILE_UPLOAD_END = 1048589] = "ACTION_FILE_UPLOAD_END", t[t.ACTION_FILE_UPLOAD_RESULT = 1048590] = "ACTION_FILE_UPLOAD_RESULT", t[t.ACTION_OPEN_CHANNEL = 1048591] = "ACTION_OPEN_CHANNEL", t[t.ACTION_OPEN_EXTERNAL_URL = 1048592] = "ACTION_OPEN_EXTERNAL_URL", t[t.ACTION_UI_OPEN_VIEW = 1048593] = "ACTION_UI_OPEN_VIEW", t[t.ACTION_UI_CLOSE_VIEW = 1048594] = "ACTION_UI_CLOSE_VIEW", t[t.ACTION_UI_BLOCKING_BEGIN = 1048595] = "ACTION_UI_BLOCKING_BEGIN", t[t.ACTION_UI_BLOCKING_END = 1048596] = "ACTION_UI_BLOCKING_END", t[t.ACTION_UI_UPDATE_TEXT_DELTA = 1048597] = "ACTION_UI_UPDATE_TEXT_DELTA", t[t.ACTION_UI_DELETE_CONTAINER = 1048598] = "ACTION_UI_DELETE_CONTAINER", t[t.ACTION_UPDATE_GFX_SHADER = 1048599] = "ACTION_UPDATE_GFX_SHADER", t[t.ACTION_FUNCTION_REGISTER = 1048600] = "ACTION_FUNCTION_REGISTER", t[t.ACTION_FUNCTION_CALL = 1048601] = "ACTION_FUNCTION_CALL", t[t.ACTION_FUNCTION_RESULT = 1048602] = "ACTION_FUNCTION_RESULT", t[t.ACTION_GENERATE_ANSWER = 1048603] = "ACTION_GENERATE_ANSWER", t[t.ACTION_REGENERATE_ANSWER = 1048604] = "ACTION_REGENERATE_ANSWER", t[t.ACTION_CLEAR_CHAT_MESSAGE_HISTORY = 1048605] = "ACTION_CLEAR_CHAT_MESSAGE_HISTORY", t[t.ACTION_CLEAR_STATE = 1048606] = "ACTION_CLEAR_STATE", t[t.ACTION_RELOAD_CHANNELS = 1048607] = "ACTION_RELOAD_CHANNELS", t[t.ACTION_RELOAD_PROFILE = 1048608] = "ACTION_RELOAD_PROFILE", t[t.ACTION_CLASSIFICATION_RESULT = 1048609] = "ACTION_CLASSIFICATION_RESULT", t[t.ACTION_AUDIO_STOP = 1048610] = "ACTION_AUDIO_STOP", t[t.ACTION_CALL_TEXT = 1048611] = "ACTION_CALL_TEXT", t[t.ACTION_RELOAD_APPLICATION = 1048612] = "ACTION_RELOAD_APPLICATION", t[t.ACTION_CANCEL_GENERATION = 1048613] = "ACTION_CANCEL_GENERATION", t[t.ACTION_UI_SET_CONTAINER_STABLE = 1048614] = "ACTION_UI_SET_CONTAINER_STABLE", t[t.ACTION_SPEECH_RECOGNIZED = 1048615] = "ACTION_SPEECH_RECOGNIZED", t[t.ACTION_CALL_RESULT = 1048616] = "ACTION_CALL_RESULT", t[t.ACTION_RELOAD_PROVIDER = 1048617] = "ACTION_RELOAD_PROVIDER", t[t.ACTION_DOWNLOAD = 1048618] = "ACTION_DOWNLOAD", t[t.ACTION_SCROLL_TO_CONTAINER = 1048619] = "ACTION_SCROLL_TO_CONTAINER", t[t.ACTION_UI_CLEAR_STREAM = 1048620] = "ACTION_UI_CLEAR_STREAM", t[t.ACTION_PLAY_SOUND = 1048621] = "ACTION_PLAY_SOUND", t[t.ACTION_ENTER_FULLSCREEN = 1048622] = "ACTION_ENTER_FULLSCREEN", t[t.ACTION_STOP_SOUND = 1048623] = "ACTION_STOP_SOUND", t[t.ACTION_START_RECORDING = 1048624] = "ACTION_START_RECORDING", t[t.ACTION_STOP_RECORDING = 1048625] = "ACTION_STOP_RECORDING", t[t.ACTION_FUNCTION_ENUMERATION_ITEM = 1048627] = "ACTION_FUNCTION_ENUMERATION_ITEM", t[t.ACTION_FUNCTION_ENUMERATION_END = 1048628] = "ACTION_FUNCTION_ENUMERATION_END", t[t.ACTION_FUNCTION_CANCEL = 1048629] = "ACTION_FUNCTION_CANCEL", t[t.ACTION_FUNCTION_DISPOSE = 1048630] = "ACTION_FUNCTION_DISPOSE", t[t.ACTION_FUNCTION_ERROR = 1048631] = "ACTION_FUNCTION_ERROR", t[t.ACTION_FUNCTION_ACK = 1048632] = "ACTION_FUNCTION_ACK", t[t.ACTION_FUNCTION_AWAITING_APPROVAL = 1048633] = "ACTION_FUNCTION_AWAITING_APPROVAL", t[t.ACTION_FUNCTION_APPROVAL_REQUIRED = 1048634] = "ACTION_FUNCTION_APPROVAL_REQUIRED", t[t.ACTION_FUNCTION_APPROVAL_RESPONSE = 1048635] = "ACTION_FUNCTION_APPROVAL_RESPONSE", t[t.UI_UPDATE_ACK = 1048636] = "UI_UPDATE_ACK", t[t.ACTION_CALL2 = 1048637] = "ACTION_CALL2", t[t.ACTION_FUNCTION_REGISTER_BATCH = 1048638] = "ACTION_FUNCTION_REGISTER_BATCH", t[t.ACTION_TRIGGER_GIT_PULL = 1048639] = "ACTION_TRIGGER_GIT_PULL", t[t.ACTION_FILE_UPLOAD_CALLBACK = 1048640] = "ACTION_FILE_UPLOAD_CALLBACK", t[t.ACTION_CUSTOM_USER_MESSAGE = 1048641] = "ACTION_CUSTOM_USER_MESSAGE", t[t.ACTION_URL_CHANGED = 1048642] = "ACTION_URL_CHANGED", t[t.ACTION_FILE_UPLOAD_PRE_START2 = 1048643] = "ACTION_FILE_UPLOAD_PRE_START2", t[t.ACTION_FILE_UPLOAD_PRE_START_RESPONSE2 = 1048644] = "ACTION_FILE_UPLOAD_PRE_START_RESPONSE2", t[t.ACTION_FILE_UPLOAD_START2 = 1048645] = "ACTION_FILE_UPLOAD_START2", t[t.ACTION_FILE_UPLOAD_START_RESPONSE2 = 1048646] = "ACTION_FILE_UPLOAD_START_RESPONSE2", t[t.ACTION_FILE_UPLOAD_DATA2 = 1048647] = "ACTION_FILE_UPLOAD_DATA2", t[t.ACTION_FILE_UPLOAD_ACK2 = 1048648] = "ACTION_FILE_UPLOAD_ACK2", t[t.ACTION_FILE_UPLOAD_END2 = 1048649] = "ACTION_FILE_UPLOAD_END2", t[t.ACTION_FILE_UPLOAD_COMPLETE2 = 1048650] = "ACTION_FILE_UPLOAD_COMPLETE2", t[t.ACTION_FUNCTION_ENUMERATION_ITEM_BATCH = 1048651] = "ACTION_FUNCTION_ENUMERATION_ITEM_BATCH", t[t.GROUP_UI = 2097152] = "GROUP_UI", t[t.UI_STREAM_BEGIN = 2097153] = "UI_STREAM_BEGIN", t[t.UI_STREAM_END = 2097154] = "UI_STREAM_END", t[t.UI_CONTAINER_BEGIN = 2097155] = "UI_CONTAINER_BEGIN", t[t.UI_CONTAINER_END = 2097156] = "UI_CONTAINER_END", t[t.UI_SECTION_BEGIN = 2097157] = "UI_SECTION_BEGIN", t[t.UI_SECTION_END = 2097158] = "UI_SECTION_END", t[t.UI_LIST_BEGIN = 2097159] = "UI_LIST_BEGIN", t[t.UI_LIST_ITEM = 2097160] = "UI_LIST_ITEM", t[t.UI_LIST_END = 2097161] = "UI_LIST_END", t[t.UI_TEXT = 2097162] = "UI_TEXT", t[t.UI_HEADER = 2097163] = "UI_HEADER", t[t.UI_SEPARATOR = 2097164] = "UI_SEPARATOR", t[t.UI_BUTTON = 2097165] = "UI_BUTTON", t[t.UI_ICON_BUTTON = 2097166] = "UI_ICON_BUTTON", t[t.UI_IMAGE = 2097167] = "UI_IMAGE", t[t.UI_FILE = 2097168] = "UI_FILE", t[t.UI_BADGE = 2097169] = "UI_BADGE", t[t.UI_CONTENT_LINK = 2097170] = "UI_CONTENT_LINK", t[t.UI_MAP = 2097171] = "UI_MAP", t[t.UI_VEGA_CHART = 2097172] = "UI_VEGA_CHART", t[t.UI_ICON = 2097173] = "UI_ICON", t[t.UI_FILE_UPLOAD_SECTION_BEGIN = 2097174] = "UI_FILE_UPLOAD_SECTION_BEGIN", t[t.UI_FILE_UPLOAD_SECTION_END = 2097175] = "UI_FILE_UPLOAD_SECTION_END", t[t.UI_MATERIAL_SYMBOL = 2097176] = "UI_MATERIAL_SYMBOL", t[t.UI_BUTTON_BEGIN = 2097177] = "UI_BUTTON_BEGIN", t[t.UI_BUTTON_END = 2097178] = "UI_BUTTON_END", t[t.UI_CONTAINER_DELETE = 2097179] = "UI_CONTAINER_DELETE", t[t.UI_INPUT_TEXT = 2097180] = "UI_INPUT_TEXT", t[t.UI_PROGRESS_BAR = 2097181] = "UI_PROGRESS_BAR", t[t.UI_UPDATE_BEGIN = 2097182] = "UI_UPDATE_BEGIN", t[t.UI_UPDATE_END = 2097183] = "UI_UPDATE_END", t[t.UI_AUTOCOMPLETE = 2097184] = "UI_AUTOCOMPLETE", t[t.UI_CHECKBOX = 2097185] = "UI_CHECKBOX", t[t.UI_QS = 2097186] = "UI_QS", t[t.UI_ELEMENT = 2097187] = "UI_ELEMENT", t[t.UI_STYLES = 2097188] = "UI_STYLES", t[t.UI_SVG = 2097189] = "UI_SVG", t[t.UI_UPDATE = 2097190] = "UI_UPDATE", t[t.UI_INIT = 2097191] = "UI_INIT", t[t.UI_STYLES_BATCH = 2097192] = "UI_STYLES_BATCH", t[t.UI_STYLES_DELETE = 2097193] = "UI_STYLES_DELETE", t[t.GROUP_COMMON = 4128768] = "GROUP_COMMON", t[t.GROUP_AUDIO = 4194304] = "GROUP_AUDIO", t[t.AUDIO_STREAM_BEGIN = 4194305] = "AUDIO_STREAM_BEGIN", t[t.AUDIO_STREAM_END = 4194306] = "AUDIO_STREAM_END", t[t.AUDIO_FRAME = 4194307] = "AUDIO_FRAME", t[t.AUDIO_FRAME_VOLUME = 4194308] = "AUDIO_FRAME_VOLUME", t[t.AUDIO_FRAME2 = 4194309] = "AUDIO_FRAME2", t[t.AUDIO_SHAPE_FRAME = 4194310] = "AUDIO_SHAPE_FRAME", t[t.GROUP_VIDEO = 8388608] = "GROUP_VIDEO", t[t.VIDEO_STREAM_BEGIN = 8388609] = "VIDEO_STREAM_BEGIN", t[t.VIDEO_STREAM_END = 8388610] = "VIDEO_STREAM_END", t[t.VIDEO_FRAME = 8388611] = "VIDEO_FRAME", t[t.VIDEO_REQUEST_IDR_FRAME = 8388612] = "VIDEO_REQUEST_IDR_FRAME", t[t.VIDEO_INVALIDATE_FRAME = 8388613] = "VIDEO_INVALIDATE_FRAME", t[t.GROUP_TRACKING = 16777216] = "GROUP_TRACKING", t[t.TRACKING_STREAM_BEGIN = 16777217] = "TRACKING_STREAM_BEGIN", t[t.TRACKING_STREAM_END = 16777218] = "TRACKING_STREAM_END", t[t.TRACKING_FRAME = 16777219] = "TRACKING_FRAME", t[t.GROUP_SCENE = 33554432] = "GROUP_SCENE", t[t.SCENE_MESH = 33554433] = "SCENE_MESH", t[t.SCENE_ARRAY = 33554434] = "SCENE_ARRAY", t[t.GROUP_ALL = 67043328] = "GROUP_ALL", t[t.GROUP_APP_LOCAL = 1073741824] = "GROUP_APP_LOCAL", t[t.CONSTANT_GROUP_MASK = 2147418112] = "CONSTANT_GROUP_MASK", t))(g || {});
|
|
541
|
+
var N = /* @__PURE__ */ ((t) => (t[t.Unknown = 0] = "Unknown", t[t.Opus = 1] = "Opus", t[t.Mp3 = 2] = "Mp3", t[t.RawPcm16 = 3] = "RawPcm16", t))(N || {}), g = /* @__PURE__ */ ((t) => (t[t.NONE = 0] = "NONE", t[t.CONSTANT_GROUP_BITS = 15] = "CONSTANT_GROUP_BITS", t[t.CONSTANT_GROUP_OFFSET = 16] = "CONSTANT_GROUP_OFFSET", t[t.GROUP_CORE = 65536] = "GROUP_CORE", t[t.CORE_AUTH_RESPONSE = 65537] = "CORE_AUTH_RESPONSE", t[t.CORE_AUTH_TICKET = 65538] = "CORE_AUTH_TICKET", t[t.CORE_GLOBAL_STATE = 65539] = "CORE_GLOBAL_STATE", t[t.CORE_ON_SERVER_STATUS_PING = 65540] = "CORE_ON_SERVER_STATUS_PING", t[t.CORE_ON_USER_JOINED = 65541] = "CORE_ON_USER_JOINED", t[t.CORE_ON_USER_LEFT = 65542] = "CORE_ON_USER_LEFT", t[t.CORE_ON_CLIENT_JOINED = 65543] = "CORE_ON_CLIENT_JOINED", t[t.CORE_ON_CLIENT_LEFT = 65544] = "CORE_ON_CLIENT_LEFT", t[t.CORE_ON_SERVER_STARTED = 65545] = "CORE_ON_SERVER_STARTED", t[t.CORE_ON_SERVER_STOPPED = 65546] = "CORE_ON_SERVER_STOPPED", t[t.CORE_ON_SERVER_STOPPING = 65547] = "CORE_ON_SERVER_STOPPING", t[t.CORE_ON_CLIENT_READY = 65548] = "CORE_ON_CLIENT_READY", t[t.CORE_CLIENT_READY = 65549] = "CORE_CLIENT_READY", t[t.CORE_SERVER_INIT = 65550] = "CORE_SERVER_INIT", t[t.CORE_ON_PLUGIN_RELOADED = 65551] = "CORE_ON_PLUGIN_RELOADED", t[t.CORE_SERVER_START = 65552] = "CORE_SERVER_START", t[t.CORE_SERVER_STOP = 65553] = "CORE_SERVER_STOP", t[t.CORE_ON_HOSTED_SERVER_EXIT = 65554] = "CORE_ON_HOSTED_SERVER_EXIT", t[t.CORE_DYNAMIC_CONFIG = 65555] = "CORE_DYNAMIC_CONFIG", t[t.CORE_PROXY_RPC_AUTH_TICKET = 65556] = "CORE_PROXY_RPC_AUTH_TICKET", t[t.CORE_SERVER_INIT2 = 65557] = "CORE_SERVER_INIT2", t[t.CORE_UPDATE_CLIENT_CONTEXT = 65558] = "CORE_UPDATE_CLIENT_CONTEXT", t[t.CORE_BACKGROUND_WORK_ACTIVE = 65559] = "CORE_BACKGROUND_WORK_ACTIVE", t[t.CORE_WEBRTC_OFFER = 65566] = "CORE_WEBRTC_OFFER", t[t.CORE_WEBRTC_ANSWER = 65567] = "CORE_WEBRTC_ANSWER", t[t.CORE_WEBRTC_ICE_CANDIDATE = 65568] = "CORE_WEBRTC_ICE_CANDIDATE", t[t.CORE_WEBRTC_READY = 65569] = "CORE_WEBRTC_READY", t[t.CORE_WEBRTC_AUDIO_SEGMENT = 65570] = "CORE_WEBRTC_AUDIO_SEGMENT", t[t.CORE_WEBRTC_TRACK_MAP = 65571] = "CORE_WEBRTC_TRACK_MAP", t[t.CORE_WEBRTC_VIDEO_CAPTURE = 65572] = "CORE_WEBRTC_VIDEO_CAPTURE", t[t.CORE_RELAY_AGENT_AUTH = 65576] = "CORE_RELAY_AGENT_AUTH", t[t.CORE_RELAY_AGENT_AUTH_RESULT = 65577] = "CORE_RELAY_AGENT_AUTH_RESULT", t[t.CORE_RELAY_HEARTBEAT = 65578] = "CORE_RELAY_HEARTBEAT", t[t.CORE_RELAY_TCP_CONNECTION_OPENED = 65579] = "CORE_RELAY_TCP_CONNECTION_OPENED", t[t.CORE_RELAY_TCP_CONNECTION_CLOSED = 65580] = "CORE_RELAY_TCP_CONNECTION_CLOSED", t[t.CORE_RELAY_TCP_DATA = 65581] = "CORE_RELAY_TCP_DATA", t[t.CORE_RELAY_UDP_DATA = 65582] = "CORE_RELAY_UDP_DATA", t[t.CORE_RELAY_ADD_TUNNEL = 65583] = "CORE_RELAY_ADD_TUNNEL", t[t.CORE_RELAY_TUNNEL_ADDED = 65584] = "CORE_RELAY_TUNNEL_ADDED", t[t.CORE_RELAY_REMOVE_TUNNEL = 65585] = "CORE_RELAY_REMOVE_TUNNEL", t[t.GROUP_KEEPALIVE = 131072] = "GROUP_KEEPALIVE", t[t.KEEPALIVE_REQUEST = 131073] = "KEEPALIVE_REQUEST", t[t.KEEPALIVE_RESPONSE = 131074] = "KEEPALIVE_RESPONSE", t[t.GROUP_EVENTS = 262144] = "GROUP_EVENTS", t[t.EVENTS_PROFILE_UPDATE = 262145] = "EVENTS_PROFILE_UPDATE", t[t.EVENTS_CHANNEL_COMPLETE = 262146] = "EVENTS_CHANNEL_COMPLETE", t[t.EVENTS_SPEECH_PLAYBACK_COMPLETE = 262147] = "EVENTS_SPEECH_PLAYBACK_COMPLETE", t[t.GROUP_ANALYTICS = 524288] = "GROUP_ANALYTICS", t[t.ANALYTICS_LOGS = 524289] = "ANALYTICS_LOGS", t[t.ANALYTICS_EVENTS = 524290] = "ANALYTICS_EVENTS", t[t.ANALYTICS_USAGES = 524291] = "ANALYTICS_USAGES", t[t.ANALYTICS_USAGE = 524292] = "ANALYTICS_USAGE", t[t.ANALYTICS_SPECIAL_LOG = 524293] = "ANALYTICS_SPECIAL_LOG", t[t.ANALYTICS_PROCESSING_UPDATE = 524294] = "ANALYTICS_PROCESSING_UPDATE", t[t.ANALYTICS_REACTIVE_PROCESSING_UPDATE = 524295] = "ANALYTICS_REACTIVE_PROCESSING_UPDATE", t[t.ANALYTICS_IKON_PROXY_SERVER_STATS = 524296] = "ANALYTICS_IKON_PROXY_SERVER_STATS", t[t.ANALYTICS_IKON_RELAY_SERVER_STATS = 524297] = "ANALYTICS_IKON_RELAY_SERVER_STATS", t[t.ANALYTICS_IKON_TURN_SERVER_STATS = 524298] = "ANALYTICS_IKON_TURN_SERVER_STATS", t[t.GROUP_ACTIONS = 1048576] = "GROUP_ACTIONS", t[t.ACTION_CALL = 1048577] = "ACTION_CALL", t[t.ACTION_ACTIVE = 1048578] = "ACTION_ACTIVE", t[t.ACTION_TEXT_OUTPUT = 1048579] = "ACTION_TEXT_OUTPUT", t[t.ACTION_TEXT_OUTPUT_DELTA = 1048580] = "ACTION_TEXT_OUTPUT_DELTA", t[t.ACTION_TEXT_OUTPUT_DELTA_FULL = 1048581] = "ACTION_TEXT_OUTPUT_DELTA_FULL", t[t.ACTION_SET_STATE = 1048582] = "ACTION_SET_STATE", t[t.ACTION_TAP = 1048583] = "ACTION_TAP", t[t.ACTION_PAN = 1048584] = "ACTION_PAN", t[t.ACTION_ZOOM = 1048585] = "ACTION_ZOOM", t[t.ACTION_FILE_UPLOAD_BEGIN = 1048586] = "ACTION_FILE_UPLOAD_BEGIN", t[t.ACTION_FILE_UPLOAD_DATA = 1048587] = "ACTION_FILE_UPLOAD_DATA", t[t.ACTION_FILE_UPLOAD_ACK = 1048588] = "ACTION_FILE_UPLOAD_ACK", t[t.ACTION_FILE_UPLOAD_END = 1048589] = "ACTION_FILE_UPLOAD_END", t[t.ACTION_FILE_UPLOAD_RESULT = 1048590] = "ACTION_FILE_UPLOAD_RESULT", t[t.ACTION_OPEN_CHANNEL = 1048591] = "ACTION_OPEN_CHANNEL", t[t.ACTION_OPEN_EXTERNAL_URL = 1048592] = "ACTION_OPEN_EXTERNAL_URL", t[t.ACTION_UI_OPEN_VIEW = 1048593] = "ACTION_UI_OPEN_VIEW", t[t.ACTION_UI_CLOSE_VIEW = 1048594] = "ACTION_UI_CLOSE_VIEW", t[t.ACTION_UI_BLOCKING_BEGIN = 1048595] = "ACTION_UI_BLOCKING_BEGIN", t[t.ACTION_UI_BLOCKING_END = 1048596] = "ACTION_UI_BLOCKING_END", t[t.ACTION_UI_UPDATE_TEXT_DELTA = 1048597] = "ACTION_UI_UPDATE_TEXT_DELTA", t[t.ACTION_UI_DELETE_CONTAINER = 1048598] = "ACTION_UI_DELETE_CONTAINER", t[t.ACTION_UPDATE_GFX_SHADER = 1048599] = "ACTION_UPDATE_GFX_SHADER", t[t.ACTION_FUNCTION_REGISTER = 1048600] = "ACTION_FUNCTION_REGISTER", t[t.ACTION_FUNCTION_CALL = 1048601] = "ACTION_FUNCTION_CALL", t[t.ACTION_FUNCTION_RESULT = 1048602] = "ACTION_FUNCTION_RESULT", t[t.ACTION_GENERATE_ANSWER = 1048603] = "ACTION_GENERATE_ANSWER", t[t.ACTION_REGENERATE_ANSWER = 1048604] = "ACTION_REGENERATE_ANSWER", t[t.ACTION_CLEAR_CHAT_MESSAGE_HISTORY = 1048605] = "ACTION_CLEAR_CHAT_MESSAGE_HISTORY", t[t.ACTION_CLEAR_STATE = 1048606] = "ACTION_CLEAR_STATE", t[t.ACTION_RELOAD_CHANNELS = 1048607] = "ACTION_RELOAD_CHANNELS", t[t.ACTION_RELOAD_PROFILE = 1048608] = "ACTION_RELOAD_PROFILE", t[t.ACTION_CLASSIFICATION_RESULT = 1048609] = "ACTION_CLASSIFICATION_RESULT", t[t.ACTION_AUDIO_STOP = 1048610] = "ACTION_AUDIO_STOP", t[t.ACTION_CALL_TEXT = 1048611] = "ACTION_CALL_TEXT", t[t.ACTION_RELOAD_APPLICATION = 1048612] = "ACTION_RELOAD_APPLICATION", t[t.ACTION_CANCEL_GENERATION = 1048613] = "ACTION_CANCEL_GENERATION", t[t.ACTION_UI_SET_CONTAINER_STABLE = 1048614] = "ACTION_UI_SET_CONTAINER_STABLE", t[t.ACTION_SPEECH_RECOGNIZED = 1048615] = "ACTION_SPEECH_RECOGNIZED", t[t.ACTION_CALL_RESULT = 1048616] = "ACTION_CALL_RESULT", t[t.ACTION_RELOAD_PROVIDER = 1048617] = "ACTION_RELOAD_PROVIDER", t[t.ACTION_DOWNLOAD = 1048618] = "ACTION_DOWNLOAD", t[t.ACTION_SCROLL_TO_CONTAINER = 1048619] = "ACTION_SCROLL_TO_CONTAINER", t[t.ACTION_UI_CLEAR_STREAM = 1048620] = "ACTION_UI_CLEAR_STREAM", t[t.ACTION_PLAY_SOUND = 1048621] = "ACTION_PLAY_SOUND", t[t.ACTION_ENTER_FULLSCREEN = 1048622] = "ACTION_ENTER_FULLSCREEN", t[t.ACTION_STOP_SOUND = 1048623] = "ACTION_STOP_SOUND", t[t.ACTION_START_RECORDING = 1048624] = "ACTION_START_RECORDING", t[t.ACTION_STOP_RECORDING = 1048625] = "ACTION_STOP_RECORDING", t[t.ACTION_FUNCTION_ENUMERATION_ITEM = 1048627] = "ACTION_FUNCTION_ENUMERATION_ITEM", t[t.ACTION_FUNCTION_ENUMERATION_END = 1048628] = "ACTION_FUNCTION_ENUMERATION_END", t[t.ACTION_FUNCTION_CANCEL = 1048629] = "ACTION_FUNCTION_CANCEL", t[t.ACTION_FUNCTION_DISPOSE = 1048630] = "ACTION_FUNCTION_DISPOSE", t[t.ACTION_FUNCTION_ERROR = 1048631] = "ACTION_FUNCTION_ERROR", t[t.ACTION_FUNCTION_ACK = 1048632] = "ACTION_FUNCTION_ACK", t[t.ACTION_FUNCTION_AWAITING_APPROVAL = 1048633] = "ACTION_FUNCTION_AWAITING_APPROVAL", t[t.ACTION_FUNCTION_APPROVAL_REQUIRED = 1048634] = "ACTION_FUNCTION_APPROVAL_REQUIRED", t[t.ACTION_FUNCTION_APPROVAL_RESPONSE = 1048635] = "ACTION_FUNCTION_APPROVAL_RESPONSE", t[t.UI_UPDATE_ACK = 1048636] = "UI_UPDATE_ACK", t[t.ACTION_CALL2 = 1048637] = "ACTION_CALL2", t[t.ACTION_FUNCTION_REGISTER_BATCH = 1048638] = "ACTION_FUNCTION_REGISTER_BATCH", t[t.ACTION_TRIGGER_GIT_PULL = 1048639] = "ACTION_TRIGGER_GIT_PULL", t[t.ACTION_FILE_UPLOAD_CALLBACK = 1048640] = "ACTION_FILE_UPLOAD_CALLBACK", t[t.ACTION_CUSTOM_USER_MESSAGE = 1048641] = "ACTION_CUSTOM_USER_MESSAGE", t[t.ACTION_URL_CHANGED = 1048642] = "ACTION_URL_CHANGED", t[t.ACTION_FILE_UPLOAD_PRE_START2 = 1048643] = "ACTION_FILE_UPLOAD_PRE_START2", t[t.ACTION_FILE_UPLOAD_PRE_START_RESPONSE2 = 1048644] = "ACTION_FILE_UPLOAD_PRE_START_RESPONSE2", t[t.ACTION_FILE_UPLOAD_START2 = 1048645] = "ACTION_FILE_UPLOAD_START2", t[t.ACTION_FILE_UPLOAD_START_RESPONSE2 = 1048646] = "ACTION_FILE_UPLOAD_START_RESPONSE2", t[t.ACTION_FILE_UPLOAD_DATA2 = 1048647] = "ACTION_FILE_UPLOAD_DATA2", t[t.ACTION_FILE_UPLOAD_ACK2 = 1048648] = "ACTION_FILE_UPLOAD_ACK2", t[t.ACTION_FILE_UPLOAD_END2 = 1048649] = "ACTION_FILE_UPLOAD_END2", t[t.ACTION_FILE_UPLOAD_COMPLETE2 = 1048650] = "ACTION_FILE_UPLOAD_COMPLETE2", t[t.ACTION_FUNCTION_ENUMERATION_ITEM_BATCH = 1048651] = "ACTION_FUNCTION_ENUMERATION_ITEM_BATCH", t[t.ACTION_CALL_ACK = 1048652] = "ACTION_CALL_ACK", t[t.GROUP_UI = 2097152] = "GROUP_UI", t[t.UI_STREAM_BEGIN = 2097153] = "UI_STREAM_BEGIN", t[t.UI_STREAM_END = 2097154] = "UI_STREAM_END", t[t.UI_CONTAINER_BEGIN = 2097155] = "UI_CONTAINER_BEGIN", t[t.UI_CONTAINER_END = 2097156] = "UI_CONTAINER_END", t[t.UI_SECTION_BEGIN = 2097157] = "UI_SECTION_BEGIN", t[t.UI_SECTION_END = 2097158] = "UI_SECTION_END", t[t.UI_LIST_BEGIN = 2097159] = "UI_LIST_BEGIN", t[t.UI_LIST_ITEM = 2097160] = "UI_LIST_ITEM", t[t.UI_LIST_END = 2097161] = "UI_LIST_END", t[t.UI_TEXT = 2097162] = "UI_TEXT", t[t.UI_HEADER = 2097163] = "UI_HEADER", t[t.UI_SEPARATOR = 2097164] = "UI_SEPARATOR", t[t.UI_BUTTON = 2097165] = "UI_BUTTON", t[t.UI_ICON_BUTTON = 2097166] = "UI_ICON_BUTTON", t[t.UI_IMAGE = 2097167] = "UI_IMAGE", t[t.UI_FILE = 2097168] = "UI_FILE", t[t.UI_BADGE = 2097169] = "UI_BADGE", t[t.UI_CONTENT_LINK = 2097170] = "UI_CONTENT_LINK", t[t.UI_MAP = 2097171] = "UI_MAP", t[t.UI_VEGA_CHART = 2097172] = "UI_VEGA_CHART", t[t.UI_ICON = 2097173] = "UI_ICON", t[t.UI_FILE_UPLOAD_SECTION_BEGIN = 2097174] = "UI_FILE_UPLOAD_SECTION_BEGIN", t[t.UI_FILE_UPLOAD_SECTION_END = 2097175] = "UI_FILE_UPLOAD_SECTION_END", t[t.UI_MATERIAL_SYMBOL = 2097176] = "UI_MATERIAL_SYMBOL", t[t.UI_BUTTON_BEGIN = 2097177] = "UI_BUTTON_BEGIN", t[t.UI_BUTTON_END = 2097178] = "UI_BUTTON_END", t[t.UI_CONTAINER_DELETE = 2097179] = "UI_CONTAINER_DELETE", t[t.UI_INPUT_TEXT = 2097180] = "UI_INPUT_TEXT", t[t.UI_PROGRESS_BAR = 2097181] = "UI_PROGRESS_BAR", t[t.UI_UPDATE_BEGIN = 2097182] = "UI_UPDATE_BEGIN", t[t.UI_UPDATE_END = 2097183] = "UI_UPDATE_END", t[t.UI_AUTOCOMPLETE = 2097184] = "UI_AUTOCOMPLETE", t[t.UI_CHECKBOX = 2097185] = "UI_CHECKBOX", t[t.UI_QS = 2097186] = "UI_QS", t[t.UI_ELEMENT = 2097187] = "UI_ELEMENT", t[t.UI_STYLES = 2097188] = "UI_STYLES", t[t.UI_SVG = 2097189] = "UI_SVG", t[t.UI_UPDATE = 2097190] = "UI_UPDATE", t[t.UI_INIT = 2097191] = "UI_INIT", t[t.UI_STYLES_BATCH = 2097192] = "UI_STYLES_BATCH", t[t.UI_STYLES_DELETE = 2097193] = "UI_STYLES_DELETE", t[t.GROUP_COMMON = 4128768] = "GROUP_COMMON", t[t.GROUP_AUDIO = 4194304] = "GROUP_AUDIO", t[t.AUDIO_STREAM_BEGIN = 4194305] = "AUDIO_STREAM_BEGIN", t[t.AUDIO_STREAM_END = 4194306] = "AUDIO_STREAM_END", t[t.AUDIO_FRAME = 4194307] = "AUDIO_FRAME", t[t.AUDIO_FRAME_VOLUME = 4194308] = "AUDIO_FRAME_VOLUME", t[t.AUDIO_FRAME2 = 4194309] = "AUDIO_FRAME2", t[t.AUDIO_SHAPE_FRAME = 4194310] = "AUDIO_SHAPE_FRAME", t[t.GROUP_VIDEO = 8388608] = "GROUP_VIDEO", t[t.VIDEO_STREAM_BEGIN = 8388609] = "VIDEO_STREAM_BEGIN", t[t.VIDEO_STREAM_END = 8388610] = "VIDEO_STREAM_END", t[t.VIDEO_FRAME = 8388611] = "VIDEO_FRAME", t[t.VIDEO_REQUEST_IDR_FRAME = 8388612] = "VIDEO_REQUEST_IDR_FRAME", t[t.VIDEO_INVALIDATE_FRAME = 8388613] = "VIDEO_INVALIDATE_FRAME", t[t.GROUP_TRACKING = 16777216] = "GROUP_TRACKING", t[t.TRACKING_STREAM_BEGIN = 16777217] = "TRACKING_STREAM_BEGIN", t[t.TRACKING_STREAM_END = 16777218] = "TRACKING_STREAM_END", t[t.TRACKING_FRAME = 16777219] = "TRACKING_FRAME", t[t.GROUP_SCENE = 33554432] = "GROUP_SCENE", t[t.SCENE_MESH = 33554433] = "SCENE_MESH", t[t.SCENE_ARRAY = 33554434] = "SCENE_ARRAY", t[t.GROUP_ALL = 67043328] = "GROUP_ALL", t[t.GROUP_APP_LOCAL = 1073741824] = "GROUP_APP_LOCAL", t[t.CONSTANT_GROUP_MASK = 2147418112] = "CONSTANT_GROUP_MASK", t))(g || {});
|
|
542
542
|
const Ot = 4194309, dt = 205938238, wt = 1594075008, Ft = 2026534360, Mt = 3409001585, gt = 3466650495, Bt = 4007456593, bt = 4017217601, Gt = 4065417427, Vt = 4086360332;
|
|
543
543
|
function vt(t) {
|
|
544
544
|
const e = {};
|
|
@@ -703,23 +703,23 @@ function ie(t) {
|
|
|
703
703
|
e.push(r.asFloat32());
|
|
704
704
|
return e;
|
|
705
705
|
}
|
|
706
|
-
const _e = 4194305, Ee = 161083277, oe = 265814330, Ae = 1368629611, Ie = 2431514951, le =
|
|
707
|
-
function
|
|
706
|
+
const _e = 4194305, Ee = 161083277, oe = 265814330, Ae = 1368629611, Ie = 2431514951, le = 2514959030, ue = 2745379226, he = 3282782683, fe = 3284746250, Te = 4101844078;
|
|
707
|
+
function Ne(t) {
|
|
708
708
|
const e = {};
|
|
709
709
|
return _t(e), e;
|
|
710
710
|
}
|
|
711
711
|
function _t(t) {
|
|
712
|
-
return t.StreamId = "", t.Description = "", t.SourceType = "", t.Codec = N.Unknown, t.CodecDetails = "", t.SampleRate = 0, t.Channels = 0, t.ShapeSets = void 0, t;
|
|
713
|
-
}
|
|
714
|
-
function Ne(t, e) {
|
|
715
|
-
const r = d.create(t);
|
|
716
|
-
return ce(r, e);
|
|
712
|
+
return t.StreamId = "", t.Description = "", t.SourceType = "", t.Codec = N.Unknown, t.CodecDetails = "", t.SampleRate = 0, t.Channels = 0, t.ShapeSets = void 0, t.CorrelationId = void 0, t;
|
|
717
713
|
}
|
|
718
714
|
function ce(t, e) {
|
|
719
|
-
const r =
|
|
720
|
-
return
|
|
715
|
+
const r = d.create(t);
|
|
716
|
+
return Se(r, e);
|
|
721
717
|
}
|
|
722
718
|
function Se(t, e) {
|
|
719
|
+
const r = e ?? Ne();
|
|
720
|
+
return _t(r), Ce(t, r), r;
|
|
721
|
+
}
|
|
722
|
+
function Ce(t, e) {
|
|
723
723
|
let r;
|
|
724
724
|
for (; (r = t.next()) !== null; )
|
|
725
725
|
switch (r.fieldId) {
|
|
@@ -733,7 +733,7 @@ function Se(t, e) {
|
|
|
733
733
|
e.ShapeSets = void 0;
|
|
734
734
|
break;
|
|
735
735
|
}
|
|
736
|
-
e.ShapeSets =
|
|
736
|
+
e.ShapeSets = Ue(r.asArray());
|
|
737
737
|
break;
|
|
738
738
|
}
|
|
739
739
|
case Ae: {
|
|
@@ -747,72 +747,80 @@ function Se(t, e) {
|
|
|
747
747
|
break;
|
|
748
748
|
}
|
|
749
749
|
case le: {
|
|
750
|
+
if (r.isNull) {
|
|
751
|
+
e.CorrelationId = void 0;
|
|
752
|
+
break;
|
|
753
|
+
}
|
|
754
|
+
e.CorrelationId = r.asString();
|
|
755
|
+
break;
|
|
756
|
+
}
|
|
757
|
+
case ue: {
|
|
750
758
|
if (r.isNull) throw new Error();
|
|
751
759
|
e.CodecDetails = r.asString();
|
|
752
760
|
break;
|
|
753
761
|
}
|
|
754
|
-
case
|
|
762
|
+
case he: {
|
|
755
763
|
if (r.isNull) throw new Error();
|
|
756
764
|
e.SourceType = r.asString();
|
|
757
765
|
break;
|
|
758
766
|
}
|
|
759
|
-
case
|
|
767
|
+
case fe: {
|
|
760
768
|
if (r.isNull) throw new Error();
|
|
761
769
|
e.Codec = r.asInt32();
|
|
762
770
|
break;
|
|
763
771
|
}
|
|
764
|
-
case
|
|
772
|
+
case Te: {
|
|
765
773
|
if (r.isNull) throw new Error();
|
|
766
774
|
e.SampleRate = r.asInt32();
|
|
767
775
|
break;
|
|
768
776
|
}
|
|
769
777
|
}
|
|
770
778
|
}
|
|
771
|
-
async function
|
|
779
|
+
async function Re(t, e) {
|
|
772
780
|
const r = await x(t, _e);
|
|
773
|
-
return
|
|
781
|
+
return ce(r, e);
|
|
774
782
|
}
|
|
775
|
-
function
|
|
783
|
+
function Ue(t) {
|
|
776
784
|
const e = [];
|
|
777
785
|
let r;
|
|
778
786
|
for (; (r = t.next()) !== null; )
|
|
779
|
-
e.push(
|
|
787
|
+
e.push(ye(r.asObject()));
|
|
780
788
|
return e;
|
|
781
789
|
}
|
|
782
|
-
const
|
|
783
|
-
function
|
|
790
|
+
const me = 1107713536, Le = 1154362099, De = 1185721362;
|
|
791
|
+
function Pe(t) {
|
|
784
792
|
const e = {};
|
|
785
793
|
return Et(e), e;
|
|
786
794
|
}
|
|
787
795
|
function Et(t) {
|
|
788
796
|
return t.SetId = 0, t.Name = "", t.ShapeNames = [], t;
|
|
789
797
|
}
|
|
790
|
-
function Pe(t, e) {
|
|
791
|
-
const r = e ?? De();
|
|
792
|
-
return Et(r), ye(t, r), r;
|
|
793
|
-
}
|
|
794
798
|
function ye(t, e) {
|
|
799
|
+
const r = e ?? Pe();
|
|
800
|
+
return Et(r), Oe(t, r), r;
|
|
801
|
+
}
|
|
802
|
+
function Oe(t, e) {
|
|
795
803
|
let r;
|
|
796
804
|
for (; (r = t.next()) !== null; )
|
|
797
805
|
switch (r.fieldId) {
|
|
798
|
-
case
|
|
806
|
+
case me: {
|
|
799
807
|
if (r.isNull) throw new Error();
|
|
800
808
|
e.Name = r.asString();
|
|
801
809
|
break;
|
|
802
810
|
}
|
|
803
|
-
case
|
|
811
|
+
case Le: {
|
|
804
812
|
if (r.isNull) throw new Error();
|
|
805
813
|
e.SetId = r.asUInt32();
|
|
806
814
|
break;
|
|
807
815
|
}
|
|
808
|
-
case
|
|
816
|
+
case De: {
|
|
809
817
|
if (r.isNull) throw new Error();
|
|
810
|
-
e.ShapeNames =
|
|
818
|
+
e.ShapeNames = de(r.asArray());
|
|
811
819
|
break;
|
|
812
820
|
}
|
|
813
821
|
}
|
|
814
822
|
}
|
|
815
|
-
function
|
|
823
|
+
function de(t) {
|
|
816
824
|
const e = [];
|
|
817
825
|
let r;
|
|
818
826
|
for (; (r = t.next()) !== null; )
|
|
@@ -873,19 +881,19 @@ class q {
|
|
|
873
881
|
return s = (s + r) % this.capacity, Atomics.store(this.readWrite, 0, s), r;
|
|
874
882
|
}
|
|
875
883
|
}
|
|
876
|
-
let
|
|
877
|
-
const
|
|
884
|
+
let we = 1;
|
|
885
|
+
const Fe = /* @__PURE__ */ new Map(), Me = {
|
|
878
886
|
0: "DEBUG",
|
|
879
887
|
1: "INFO",
|
|
880
888
|
2: "WARN",
|
|
881
889
|
3: "ERROR",
|
|
882
890
|
4: "NONE"
|
|
883
891
|
};
|
|
884
|
-
function
|
|
892
|
+
function ge(t, e) {
|
|
885
893
|
return `[${t}] ${e}`;
|
|
886
894
|
}
|
|
887
895
|
function G(t, e, r, s) {
|
|
888
|
-
const n = (/* @__PURE__ */ new Date()).toISOString(), i =
|
|
896
|
+
const n = (/* @__PURE__ */ new Date()).toISOString(), i = Me[t], a = {
|
|
889
897
|
timestamp: n,
|
|
890
898
|
level: t,
|
|
891
899
|
levelName: i,
|
|
@@ -893,7 +901,7 @@ function G(t, e, r, s) {
|
|
|
893
901
|
message: r,
|
|
894
902
|
args: s
|
|
895
903
|
};
|
|
896
|
-
for (const [_, E] of
|
|
904
|
+
for (const [_, E] of Fe) {
|
|
897
905
|
const o = E?.minLevel ?? 2;
|
|
898
906
|
if (t >= o)
|
|
899
907
|
try {
|
|
@@ -901,8 +909,8 @@ function G(t, e, r, s) {
|
|
|
901
909
|
} catch {
|
|
902
910
|
}
|
|
903
911
|
}
|
|
904
|
-
if (
|
|
905
|
-
const _ =
|
|
912
|
+
if (we <= t) {
|
|
913
|
+
const _ = ge(e, r);
|
|
906
914
|
switch (t) {
|
|
907
915
|
case 0:
|
|
908
916
|
console.debug(_, ...s);
|
|
@@ -935,13 +943,13 @@ function ot(t) {
|
|
|
935
943
|
}
|
|
936
944
|
};
|
|
937
945
|
}
|
|
938
|
-
const V = ot("Capabilities"),
|
|
939
|
-
function
|
|
946
|
+
const V = ot("Capabilities"), Be = globalThis;
|
|
947
|
+
function be() {
|
|
940
948
|
if (typeof SharedArrayBuffer > "u")
|
|
941
949
|
return V.debug("SharedArrayBuffer not supported: SharedArrayBuffer is undefined"), !1;
|
|
942
950
|
if (typeof Atomics > "u")
|
|
943
951
|
return V.debug("SharedArrayBuffer not supported: Atomics is undefined"), !1;
|
|
944
|
-
if (
|
|
952
|
+
if (Be.crossOriginIsolated === !1)
|
|
945
953
|
return V.debug("SharedArrayBuffer not supported: crossOriginIsolated is false (missing COOP/COEP headers)"), !1;
|
|
946
954
|
try {
|
|
947
955
|
new SharedArrayBuffer(1);
|
|
@@ -950,9 +958,9 @@ function Be() {
|
|
|
950
958
|
}
|
|
951
959
|
return !0;
|
|
952
960
|
}
|
|
953
|
-
const At = 48e3, It = 2,
|
|
961
|
+
const At = 48e3, It = 2, Ge = 1500, Ve = 10, Z = 80, ve = 50, J = 64, $ = ot("AudioPlaybackWorker"), m = (t, e) => {
|
|
954
962
|
self.postMessage(t, e ?? []);
|
|
955
|
-
},
|
|
963
|
+
}, ke = be();
|
|
956
964
|
let v = "pcm", lt = !0, ut = !1, R = At, c = It, P = null;
|
|
957
965
|
function D(t, e) {
|
|
958
966
|
const r = t instanceof Error ? t : new Error(String(t));
|
|
@@ -962,7 +970,7 @@ function k(t) {
|
|
|
962
970
|
const e = rt(t);
|
|
963
971
|
return `${e.senderId}_${e.trackId}`;
|
|
964
972
|
}
|
|
965
|
-
class
|
|
973
|
+
class He {
|
|
966
974
|
mode;
|
|
967
975
|
ring = null;
|
|
968
976
|
sab = void 0;
|
|
@@ -985,8 +993,8 @@ class ke {
|
|
|
985
993
|
}
|
|
986
994
|
rebind(e) {
|
|
987
995
|
if (!this.closed) {
|
|
988
|
-
if (this.mode = e, e === "sab" &&
|
|
989
|
-
const r = Math.floor(
|
|
996
|
+
if (this.mode = e, e === "sab" && ke) {
|
|
997
|
+
const r = Math.floor(Ge * this.outputSampleRate * this.outputChannels / 1e3), s = q.getStorageForCapacity(r, Float32Array), n = new q(s, Float32Array);
|
|
990
998
|
n.flush(), this.sab = s, this.ring = n;
|
|
991
999
|
return;
|
|
992
1000
|
}
|
|
@@ -997,7 +1005,7 @@ class ke {
|
|
|
997
1005
|
if (this.closed || this.mode !== "pcm" || this.pcmBatchOffset <= 0)
|
|
998
1006
|
return;
|
|
999
1007
|
const r = performance.now(), s = Math.max(1, Math.round(this.outputSampleRate * this.outputChannels * Z / 1e3));
|
|
1000
|
-
if (!(e || this.pcmBatchOffset >= s || this.lastPcmFlushTimeMs > 0 && r - this.lastPcmFlushTimeMs >=
|
|
1008
|
+
if (!(e || this.pcmBatchOffset >= s || this.lastPcmFlushTimeMs > 0 && r - this.lastPcmFlushTimeMs >= ve))
|
|
1001
1009
|
return;
|
|
1002
1010
|
const i = new Float32Array(this.pcmBatchOffset);
|
|
1003
1011
|
i.set(this.pcmBatchBuffer.subarray(0, this.pcmBatchOffset)), this.pcmBatchOffset = 0, this.lastPcmFlushTimeMs = r, m({ type: "pcm", streamId: this.streamId, pcm: i }, [i.buffer]);
|
|
@@ -1033,7 +1041,7 @@ class ke {
|
|
|
1033
1041
|
this.closed || (this.pcmBatchOffset = 0, this.lastPcmFlushTimeMs = 0, this.ring?.flush());
|
|
1034
1042
|
}
|
|
1035
1043
|
}
|
|
1036
|
-
function
|
|
1044
|
+
function pe(t) {
|
|
1037
1045
|
switch (t) {
|
|
1038
1046
|
case N.Opus:
|
|
1039
1047
|
return "opus";
|
|
@@ -1044,7 +1052,7 @@ function He(t) {
|
|
|
1044
1052
|
}
|
|
1045
1053
|
}
|
|
1046
1054
|
let M = null;
|
|
1047
|
-
function
|
|
1055
|
+
function Ye(t) {
|
|
1048
1056
|
const e = new DataView(t.buffer, t.byteOffset, t.byteLength), r = Math.floor(t.byteLength / 2);
|
|
1049
1057
|
(!M || M.length < r) && (M = new Float32Array(r));
|
|
1050
1058
|
for (let s = 0; s < r; s++)
|
|
@@ -1084,7 +1092,7 @@ class j {
|
|
|
1084
1092
|
const S = new Float32Array(r);
|
|
1085
1093
|
e.copyTo(S, { planeIndex: u, format: a }), I[u] = S;
|
|
1086
1094
|
}
|
|
1087
|
-
return
|
|
1095
|
+
return er(I, r);
|
|
1088
1096
|
}, o = () => {
|
|
1089
1097
|
const I = new Float32Array(r * s);
|
|
1090
1098
|
return e.copyTo(I, { planeIndex: 0, format: _ }), I;
|
|
@@ -1106,25 +1114,25 @@ class j {
|
|
|
1106
1114
|
let n = e, i = e.length, a = r;
|
|
1107
1115
|
if (s !== R) {
|
|
1108
1116
|
const _ = i / a, o = Math.max(1, Math.round(_ * R / s)) * a, A = this.getResampleBuffer(o);
|
|
1109
|
-
i =
|
|
1117
|
+
i = sr(n, A, a, s, R), n = A;
|
|
1110
1118
|
}
|
|
1111
1119
|
if (a !== c) {
|
|
1112
1120
|
const E = i / a * c, o = this.getRemixBuffer(E);
|
|
1113
|
-
i =
|
|
1121
|
+
i = nr(n.subarray(0, i), o, a, c), n = o, a = c;
|
|
1114
1122
|
}
|
|
1115
1123
|
return n.subarray(0, i);
|
|
1116
1124
|
}
|
|
1117
1125
|
}
|
|
1118
|
-
class
|
|
1126
|
+
class xe extends j {
|
|
1119
1127
|
feedChunk(e) {
|
|
1120
1128
|
e.isFirst && this.reset();
|
|
1121
|
-
const r =
|
|
1129
|
+
const r = Ye(e.data);
|
|
1122
1130
|
this.writeConvertedPcm(r, this.inputChannels, this.inputSampleRate), e.isLast && this.reset();
|
|
1123
1131
|
}
|
|
1124
1132
|
close() {
|
|
1125
1133
|
}
|
|
1126
1134
|
}
|
|
1127
|
-
class
|
|
1135
|
+
class We extends j {
|
|
1128
1136
|
decoder;
|
|
1129
1137
|
codec;
|
|
1130
1138
|
constructor(e) {
|
|
@@ -1183,7 +1191,7 @@ class xe extends j {
|
|
|
1183
1191
|
}
|
|
1184
1192
|
}
|
|
1185
1193
|
}
|
|
1186
|
-
class
|
|
1194
|
+
class Ke extends j {
|
|
1187
1195
|
decoder = null;
|
|
1188
1196
|
isReady = !1;
|
|
1189
1197
|
decoderSampleRate = 48e3;
|
|
@@ -1255,20 +1263,20 @@ class We extends j {
|
|
|
1255
1263
|
}
|
|
1256
1264
|
}
|
|
1257
1265
|
const T = /* @__PURE__ */ new Map();
|
|
1258
|
-
async function
|
|
1266
|
+
async function ze(t) {
|
|
1259
1267
|
if (t.closed || t.decoder)
|
|
1260
1268
|
return;
|
|
1261
1269
|
if (t.codec === N.RawPcm16) {
|
|
1262
|
-
t.decoder = new
|
|
1270
|
+
t.decoder = new xe({ inputChannels: t.inputChannels, inputSampleRate: t.inputSampleRate, sink: t.sink });
|
|
1263
1271
|
return;
|
|
1264
1272
|
}
|
|
1265
1273
|
if (t.codec !== N.Opus && t.codec !== N.Mp3)
|
|
1266
1274
|
throw new Error(`Unsupported audio codec: ${N[t.codec] ?? t.codec}`);
|
|
1267
|
-
const e =
|
|
1275
|
+
const e = pe(t.codec);
|
|
1268
1276
|
if (lt && typeof AudioDecoder < "u" && e !== null)
|
|
1269
1277
|
try {
|
|
1270
1278
|
if ((await AudioDecoder.isConfigSupported({ codec: e, numberOfChannels: t.inputChannels, sampleRate: t.inputSampleRate })).supported) {
|
|
1271
|
-
const n = new
|
|
1279
|
+
const n = new We({
|
|
1272
1280
|
codec: e,
|
|
1273
1281
|
inputChannels: t.inputChannels,
|
|
1274
1282
|
inputSampleRate: t.inputSampleRate,
|
|
@@ -1285,7 +1293,7 @@ async function Ke(t) {
|
|
|
1285
1293
|
$.warn(`WebCodecs AudioDecoder failed, falling back to WASM: ${s instanceof Error ? s.message : String(s)}`);
|
|
1286
1294
|
}
|
|
1287
1295
|
if (t.codec === N.Opus) {
|
|
1288
|
-
const s = new
|
|
1296
|
+
const s = new Ke({ inputChannels: t.inputChannels, inputSampleRate: t.inputSampleRate, sink: t.sink });
|
|
1289
1297
|
if (await s.initialise(t.inputChannels, t.inputSampleRate), t.closed) {
|
|
1290
1298
|
s.close();
|
|
1291
1299
|
return;
|
|
@@ -1295,7 +1303,7 @@ async function Ke(t) {
|
|
|
1295
1303
|
}
|
|
1296
1304
|
throw new Error(`No available decoder for codec: ${N[t.codec] ?? t.codec}`);
|
|
1297
1305
|
}
|
|
1298
|
-
function
|
|
1306
|
+
function Xe(t) {
|
|
1299
1307
|
if (t.closed) {
|
|
1300
1308
|
t.pendingFrames.splice(0);
|
|
1301
1309
|
try {
|
|
@@ -1323,7 +1331,7 @@ function ht(t, e) {
|
|
|
1323
1331
|
const i = performance.now();
|
|
1324
1332
|
if (t.lastArrivalTimeMs > 0) {
|
|
1325
1333
|
const u = i - t.lastArrivalTimeMs, S = Math.abs(u - t.expectedIntervalMs);
|
|
1326
|
-
t.jitterMs = t.jitterMs + (S - t.jitterMs) /
|
|
1334
|
+
t.jitterMs = t.jitterMs + (S - t.jitterMs) / Ve;
|
|
1327
1335
|
}
|
|
1328
1336
|
t.lastArrivalTimeMs = i;
|
|
1329
1337
|
const a = t.inputSampleRate * t.inputChannels, _ = R * c, E = Math.round(s * _ / a), o = Math.round(n * _ / a), A = Math.round(s * 1e6 / a), I = Math.round(n * 1e6 / a);
|
|
@@ -1344,8 +1352,8 @@ function ht(t, e) {
|
|
|
1344
1352
|
durationUs: I
|
|
1345
1353
|
});
|
|
1346
1354
|
}
|
|
1347
|
-
async function
|
|
1348
|
-
const e = k(t), r = await
|
|
1355
|
+
async function $e(t) {
|
|
1356
|
+
const e = k(t), r = await Re(t), s = T.get(e);
|
|
1349
1357
|
if (s) {
|
|
1350
1358
|
s.closed = !0, s.pendingFrames.splice(0);
|
|
1351
1359
|
try {
|
|
@@ -1358,7 +1366,7 @@ async function Xe(t) {
|
|
|
1358
1366
|
}
|
|
1359
1367
|
T.delete(e);
|
|
1360
1368
|
}
|
|
1361
|
-
const n = new
|
|
1369
|
+
const n = new He(e), i = {
|
|
1362
1370
|
streamId: e,
|
|
1363
1371
|
codec: r.Codec,
|
|
1364
1372
|
inputSampleRate: r.SampleRate,
|
|
@@ -1382,7 +1390,7 @@ async function Xe(t) {
|
|
|
1382
1390
|
shapeSets: r.ShapeSets
|
|
1383
1391
|
});
|
|
1384
1392
|
}
|
|
1385
|
-
function
|
|
1393
|
+
function je() {
|
|
1386
1394
|
for (const t of T.values())
|
|
1387
1395
|
m({
|
|
1388
1396
|
type: "streamBegin",
|
|
@@ -1391,7 +1399,7 @@ function $e() {
|
|
|
1391
1399
|
shapeSets: t.shapeSets
|
|
1392
1400
|
});
|
|
1393
1401
|
}
|
|
1394
|
-
function
|
|
1402
|
+
function Qe(t) {
|
|
1395
1403
|
const e = k(t), r = T.get(e);
|
|
1396
1404
|
if (r) {
|
|
1397
1405
|
r.closed = !0, r.pendingFrames.splice(0);
|
|
@@ -1406,7 +1414,7 @@ function je(t) {
|
|
|
1406
1414
|
r.decoder = null, T.delete(e), m({ type: "streamEnd", streamId: e });
|
|
1407
1415
|
}
|
|
1408
1416
|
}
|
|
1409
|
-
async function
|
|
1417
|
+
async function qe(t) {
|
|
1410
1418
|
const e = k(t), r = T.get(e);
|
|
1411
1419
|
if (!r || r.closed)
|
|
1412
1420
|
return;
|
|
@@ -1417,7 +1425,7 @@ async function Qe(t) {
|
|
|
1417
1425
|
const n = r.pendingFrames.length - J + 1;
|
|
1418
1426
|
r.pendingFrames.splice(0, n), $.warn(`Dropped ${n} frames waiting for decoder, streamId=${e.substring(0, 8)}`);
|
|
1419
1427
|
}
|
|
1420
|
-
r.pendingFrames.push(s), r.initTask || (r.initTask =
|
|
1428
|
+
r.pendingFrames.push(s), r.initTask || (r.initTask = ze(r).then(() => Xe(r)).catch((n) => {
|
|
1421
1429
|
r.closed || D(n, e);
|
|
1422
1430
|
}));
|
|
1423
1431
|
return;
|
|
@@ -1425,7 +1433,7 @@ async function Qe(t) {
|
|
|
1425
1433
|
ht(r, s);
|
|
1426
1434
|
}
|
|
1427
1435
|
}
|
|
1428
|
-
async function
|
|
1436
|
+
async function Ze(t) {
|
|
1429
1437
|
const e = k(t), r = T.get(e);
|
|
1430
1438
|
if (!r || r.closed) return;
|
|
1431
1439
|
const s = await Jt(t), n = r.inputSampleRate * r.inputChannels, i = R * c;
|
|
@@ -1443,19 +1451,19 @@ async function qe(t) {
|
|
|
1443
1451
|
shapeSetValues: s.ShapeSetValues
|
|
1444
1452
|
});
|
|
1445
1453
|
}
|
|
1446
|
-
function
|
|
1454
|
+
function Je(t) {
|
|
1447
1455
|
switch (St(t)) {
|
|
1448
1456
|
case g.AUDIO_STREAM_BEGIN:
|
|
1449
|
-
|
|
1457
|
+
$e(t);
|
|
1450
1458
|
return;
|
|
1451
1459
|
case g.AUDIO_STREAM_END:
|
|
1452
|
-
|
|
1460
|
+
Qe(t);
|
|
1453
1461
|
return;
|
|
1454
1462
|
case g.AUDIO_FRAME2:
|
|
1455
|
-
|
|
1463
|
+
qe(t);
|
|
1456
1464
|
return;
|
|
1457
1465
|
case g.AUDIO_SHAPE_FRAME:
|
|
1458
|
-
|
|
1466
|
+
Ze(t);
|
|
1459
1467
|
return;
|
|
1460
1468
|
default:
|
|
1461
1469
|
return;
|
|
@@ -1470,7 +1478,7 @@ function ft() {
|
|
|
1470
1478
|
P = null;
|
|
1471
1479
|
}
|
|
1472
1480
|
}
|
|
1473
|
-
function
|
|
1481
|
+
function tr() {
|
|
1474
1482
|
ft();
|
|
1475
1483
|
for (const t of T.values()) {
|
|
1476
1484
|
try {
|
|
@@ -1493,7 +1501,7 @@ self.addEventListener("message", (t) => {
|
|
|
1493
1501
|
if (e.type === "attachProtocolPort") {
|
|
1494
1502
|
ft(), P = e.port, P.addEventListener("message", (r) => {
|
|
1495
1503
|
const s = r.data;
|
|
1496
|
-
s?.type === "protocol" && s.message instanceof ArrayBuffer &&
|
|
1504
|
+
s?.type === "protocol" && s.message instanceof ArrayBuffer && Je(new Uint8Array(s.message));
|
|
1497
1505
|
}), P.start?.();
|
|
1498
1506
|
return;
|
|
1499
1507
|
}
|
|
@@ -1501,13 +1509,13 @@ self.addEventListener("message", (t) => {
|
|
|
1501
1509
|
v = e.transport, typeof e.outputSampleRate == "number" && Number.isFinite(e.outputSampleRate) && e.outputSampleRate > 0 && (R = e.outputSampleRate), typeof e.outputChannels == "number" && Number.isFinite(e.outputChannels) && e.outputChannels > 0 && (c = e.outputChannels);
|
|
1502
1510
|
for (const r of T.values())
|
|
1503
1511
|
r.sink.setOutputFormat(R, c), r.sink.rebind(v);
|
|
1504
|
-
|
|
1512
|
+
je();
|
|
1505
1513
|
return;
|
|
1506
1514
|
}
|
|
1507
|
-
e.type === "dispose" &&
|
|
1515
|
+
e.type === "dispose" && tr();
|
|
1508
1516
|
});
|
|
1509
1517
|
let U = null;
|
|
1510
|
-
function
|
|
1518
|
+
function er(t, e) {
|
|
1511
1519
|
const r = t.length;
|
|
1512
1520
|
if (r === 1)
|
|
1513
1521
|
return t[0];
|
|
@@ -1531,10 +1539,10 @@ function et(t) {
|
|
|
1531
1539
|
const e = Math.PI * t;
|
|
1532
1540
|
return Math.sin(e) / e;
|
|
1533
1541
|
}
|
|
1534
|
-
function
|
|
1542
|
+
function rr(t, e) {
|
|
1535
1543
|
return t === 0 ? 1 : Math.abs(t) >= e ? 0 : et(t) * et(t / e);
|
|
1536
1544
|
}
|
|
1537
|
-
function
|
|
1545
|
+
function sr(t, e, r, s, n) {
|
|
1538
1546
|
if (s === n)
|
|
1539
1547
|
return e.set(t), t.length;
|
|
1540
1548
|
const i = t.length / r, a = Math.max(1, Math.round(i * n / s)), _ = s / n, E = _ > 1 ? _ : 1, o = Math.ceil(tt * E);
|
|
@@ -1546,7 +1554,7 @@ function rr(t, e, r, s, n) {
|
|
|
1546
1554
|
const b = S + H;
|
|
1547
1555
|
if (b < 0 || b >= i)
|
|
1548
1556
|
continue;
|
|
1549
|
-
const Tt = (u - b) / E, p =
|
|
1557
|
+
const Tt = (u - b) / E, p = rr(Tt, tt);
|
|
1550
1558
|
if (p !== 0) {
|
|
1551
1559
|
const Nt = t[b * r + A] ?? 0;
|
|
1552
1560
|
w += Nt * p, L += p;
|
|
@@ -1556,7 +1564,7 @@ function rr(t, e, r, s, n) {
|
|
|
1556
1564
|
}
|
|
1557
1565
|
return a * r;
|
|
1558
1566
|
}
|
|
1559
|
-
function
|
|
1567
|
+
function nr(t, e, r, s) {
|
|
1560
1568
|
const n = t.length / r;
|
|
1561
1569
|
if (r === s)
|
|
1562
1570
|
return e.set(t), t.length;
|