|
@@ -21,10 +21,10 @@ function __wbg_elem_binding0(arg0, arg1, arg2) {
|
|
|
wasm.__wbg_function_table.get(34)(arg0, arg1, addHeapObject(arg2));
|
|
|
}
|
|
|
function __wbg_elem_binding1(arg0, arg1, arg2) {
|
|
|
- wasm.__wbg_function_table.get(55)(arg0, arg1, arg2);
|
|
|
+ wasm.__wbg_function_table.get(34)(arg0, arg1, addHeapObject(arg2));
|
|
|
}
|
|
|
function __wbg_elem_binding2(arg0, arg1, arg2) {
|
|
|
- wasm.__wbg_function_table.get(34)(arg0, arg1, addHeapObject(arg2));
|
|
|
+ wasm.__wbg_function_table.get(55)(arg0, arg1, arg2);
|
|
|
}
|
|
|
function __wbg_elem_binding3(arg0, arg1, arg2, arg3, arg4) {
|
|
|
wasm.__wbg_function_table.get(38)(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
|
|
@@ -757,29 +757,6 @@ function init(module) {
|
|
|
getInt32Memory()[arg0 / 4 + 0] = ret0;
|
|
|
getInt32Memory()[arg0 / 4 + 1] = ret1;
|
|
|
};
|
|
|
- imports.wbg.__widl_f_query_selector_Document = function(arg0, arg1, arg2) {
|
|
|
- try {
|
|
|
- const ret = getObject(arg0).querySelector(getStringFromWasm(arg1, arg2));
|
|
|
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
|
- } catch (e) {
|
|
|
- handleError(e)
|
|
|
- }
|
|
|
- };
|
|
|
- imports.wbg.__widl_f_first_child_Node = function(arg0) {
|
|
|
- const ret = getObject(arg0).firstChild;
|
|
|
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
|
- };
|
|
|
- imports.wbg.__widl_f_remove_child_Node = function(arg0, arg1) {
|
|
|
- try {
|
|
|
- const ret = getObject(arg0).removeChild(getObject(arg1));
|
|
|
- return addHeapObject(ret);
|
|
|
- } catch (e) {
|
|
|
- handleError(e)
|
|
|
- }
|
|
|
- };
|
|
|
- imports.wbg.__wbindgen_cb_forget = function(arg0) {
|
|
|
- takeObject(arg0);
|
|
|
- };
|
|
|
imports.wbg.__widl_f_remove_event_listener_with_callback_EventTarget = function(arg0, arg1, arg2, arg3) {
|
|
|
try {
|
|
|
getObject(arg0).removeEventListener(getStringFromWasm(arg1, arg2), getObject(arg3));
|
|
@@ -838,6 +815,41 @@ function init(module) {
|
|
|
getInt32Memory()[arg0 / 4 + 0] = ret0;
|
|
|
getInt32Memory()[arg0 / 4 + 1] = ret1;
|
|
|
};
|
|
|
+ imports.wbg.__widl_f_next_sibling_Node = function(arg0) {
|
|
|
+ const ret = getObject(arg0).nextSibling;
|
|
|
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
|
+ };
|
|
|
+ imports.wbg.__widl_f_first_child_Node = function(arg0) {
|
|
|
+ const ret = getObject(arg0).firstChild;
|
|
|
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
|
+ };
|
|
|
+ imports.wbg.__widl_f_remove_child_Node = function(arg0, arg1) {
|
|
|
+ try {
|
|
|
+ const ret = getObject(arg0).removeChild(getObject(arg1));
|
|
|
+ return addHeapObject(ret);
|
|
|
+ } catch (e) {
|
|
|
+ handleError(e)
|
|
|
+ }
|
|
|
+ };
|
|
|
+ imports.wbg.__widl_f_set_text_content_Node = function(arg0, arg1, arg2) {
|
|
|
+ getObject(arg0).textContent = arg1 === 0 ? undefined : getStringFromWasm(arg1, arg2);
|
|
|
+ };
|
|
|
+ imports.wbg.__widl_f_create_text_node_Document = function(arg0, arg1, arg2) {
|
|
|
+ const ret = getObject(arg0).createTextNode(getStringFromWasm(arg1, arg2));
|
|
|
+ return addHeapObject(ret);
|
|
|
+ };
|
|
|
+ imports.wbg.__widl_instanceof_Node = function(arg0) {
|
|
|
+ const ret = getObject(arg0) instanceof Node;
|
|
|
+ return ret;
|
|
|
+ };
|
|
|
+ imports.wbg.__widl_f_replace_child_Node = function(arg0, arg1, arg2) {
|
|
|
+ try {
|
|
|
+ const ret = getObject(arg0).replaceChild(getObject(arg1), getObject(arg2));
|
|
|
+ return addHeapObject(ret);
|
|
|
+ } catch (e) {
|
|
|
+ handleError(e)
|
|
|
+ }
|
|
|
+ };
|
|
|
imports.wbg.__widl_f_create_element_ns_Document = function(arg0, arg1, arg2, arg3, arg4) {
|
|
|
try {
|
|
|
const ret = getObject(arg0).createElementNS(arg1 === 0 ? undefined : getStringFromWasm(arg1, arg2), getStringFromWasm(arg3, arg4));
|
|
@@ -854,14 +866,6 @@ function init(module) {
|
|
|
handleError(e)
|
|
|
}
|
|
|
};
|
|
|
- imports.wbg.__widl_f_create_text_node_Document = function(arg0, arg1, arg2) {
|
|
|
- const ret = getObject(arg0).createTextNode(getStringFromWasm(arg1, arg2));
|
|
|
- return addHeapObject(ret);
|
|
|
- };
|
|
|
- imports.wbg.__widl_instanceof_Node = function(arg0) {
|
|
|
- const ret = getObject(arg0) instanceof Node;
|
|
|
- return ret;
|
|
|
- };
|
|
|
imports.wbg.__widl_instanceof_HTMLElement = function(arg0) {
|
|
|
const ret = getObject(arg0) instanceof HTMLElement;
|
|
|
return ret;
|
|
@@ -873,29 +877,25 @@ function init(module) {
|
|
|
handleError(e)
|
|
|
}
|
|
|
};
|
|
|
- imports.wbg.__widl_f_next_sibling_Node = function(arg0) {
|
|
|
- const ret = getObject(arg0).nextSibling;
|
|
|
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
|
- };
|
|
|
- imports.wbg.__widl_f_set_text_content_Node = function(arg0, arg1, arg2) {
|
|
|
- getObject(arg0).textContent = arg1 === 0 ? undefined : getStringFromWasm(arg1, arg2);
|
|
|
- };
|
|
|
- imports.wbg.__widl_f_replace_child_Node = function(arg0, arg1, arg2) {
|
|
|
+ imports.wbg.__widl_f_query_selector_Document = function(arg0, arg1, arg2) {
|
|
|
try {
|
|
|
- const ret = getObject(arg0).replaceChild(getObject(arg1), getObject(arg2));
|
|
|
- return addHeapObject(ret);
|
|
|
+ const ret = getObject(arg0).querySelector(getStringFromWasm(arg1, arg2));
|
|
|
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
|
} catch (e) {
|
|
|
handleError(e)
|
|
|
}
|
|
|
};
|
|
|
- imports.wbg.__wbindgen_closure_wrapper767 = function(arg0, arg1, arg2) {
|
|
|
+ imports.wbg.__wbindgen_cb_forget = function(arg0) {
|
|
|
+ takeObject(arg0);
|
|
|
+ };
|
|
|
+ imports.wbg.__wbindgen_closure_wrapper273 = function(arg0, arg1, arg2) {
|
|
|
const state = { a: arg0, b: arg1, cnt: 1 };
|
|
|
const real = (arg0) => {
|
|
|
state.cnt++;
|
|
|
const a = state.a;
|
|
|
state.a = 0;
|
|
|
try {
|
|
|
- return __wbg_elem_binding1(a, state.b, arg0);
|
|
|
+ return __wbg_elem_binding0(a, state.b, arg0);
|
|
|
} finally {
|
|
|
if (--state.cnt === 0) wasm.__wbg_function_table.get(35)(a, state.b);
|
|
|
else state.a = a;
|
|
@@ -906,14 +906,14 @@ function init(module) {
|
|
|
const ret = real;
|
|
|
return addHeapObject(ret);
|
|
|
};
|
|
|
- imports.wbg.__wbindgen_closure_wrapper764 = function(arg0, arg1, arg2) {
|
|
|
+ imports.wbg.__wbindgen_closure_wrapper769 = function(arg0, arg1, arg2) {
|
|
|
const state = { a: arg0, b: arg1, cnt: 1 };
|
|
|
const real = (arg0) => {
|
|
|
state.cnt++;
|
|
|
const a = state.a;
|
|
|
state.a = 0;
|
|
|
try {
|
|
|
- return __wbg_elem_binding2(a, state.b, arg0);
|
|
|
+ return __wbg_elem_binding1(a, state.b, arg0);
|
|
|
} finally {
|
|
|
if (--state.cnt === 0) wasm.__wbg_function_table.get(35)(a, state.b);
|
|
|
else state.a = a;
|
|
@@ -924,14 +924,14 @@ function init(module) {
|
|
|
const ret = real;
|
|
|
return addHeapObject(ret);
|
|
|
};
|
|
|
- imports.wbg.__wbindgen_closure_wrapper273 = function(arg0, arg1, arg2) {
|
|
|
+ imports.wbg.__wbindgen_closure_wrapper772 = function(arg0, arg1, arg2) {
|
|
|
const state = { a: arg0, b: arg1, cnt: 1 };
|
|
|
const real = (arg0) => {
|
|
|
state.cnt++;
|
|
|
const a = state.a;
|
|
|
state.a = 0;
|
|
|
try {
|
|
|
- return __wbg_elem_binding0(a, state.b, arg0);
|
|
|
+ return __wbg_elem_binding2(a, state.b, arg0);
|
|
|
} finally {
|
|
|
if (--state.cnt === 0) wasm.__wbg_function_table.get(35)(a, state.b);
|
|
|
else state.a = a;
|