prisma 6.5.0-integration-fix-improve-global-omit-api-performance-2.1 → 6.5.0-integration-fix-improve-global-omit-api-performance-2.2
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/build/index.js +508 -508
- package/build/prisma_schema_build_bg.wasm +0 -0
- package/build/public/assets/index.js +1 -1
- package/package.json +18 -16
- package/prisma-client/generator-build/index.js +474 -1362
- package/prisma-client/package.json +7 -7
- package/prisma-client/runtime/binary.js +3 -3
- package/prisma-client/runtime/client.d.ts +18 -18
- package/prisma-client/runtime/client.js +14 -14
- package/prisma-client/runtime/edge-esm.js +3 -3
- package/prisma-client/runtime/edge.js +3 -3
- package/prisma-client/runtime/library.d.ts +18 -18
- package/prisma-client/runtime/library.js +21 -21
- package/prisma-client/runtime/query_compiler_bg.mysql.js +2 -1
- package/prisma-client/runtime/query_compiler_bg.postgresql.js +2 -1
- package/prisma-client/runtime/query_compiler_bg.sqlite.js +2 -1
- package/prisma-client/runtime/query_engine_bg.mysql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.postgresql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.sqlite.js +2 -2
- package/prisma-client/runtime/react-native.d.ts +18 -18
- package/prisma-client/runtime/react-native.js +2 -2
- package/prisma-client/scripts/default-index.js +3 -3
@@ -1 +1,2 @@
|
|
1
|
-
"use strict";var
|
1
|
+
"use strict";var S=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var O=(e,t)=>{for(var n in t)S(e,n,{get:t[n],enumerable:!0})},q=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of D(t))!j.call(e,o)&&o!==n&&S(e,o,{get:()=>t[o],enumerable:!(r=F(t,o))||r.enumerable});return e};var M=e=>q(S({},"__esModule",{value:!0}),e);var ke={};O(ke,{QueryCompiler:()=>C,__wbg_String_8f0eb39a4a4c2f66:()=>N,__wbg_buffer_609cc3eee51ed158:()=>$,__wbg_call_672a4d21634d4a24:()=>V,__wbg_call_7cccdd69e0791ae2:()=>W,__wbg_crypto_805be4ce92f1e370:()=>B,__wbg_entries_3265d4158b33e5dc:()=>z,__wbg_getRandomValues_f6a868620c8bab49:()=>G,__wbg_getTime_46267b1c24877e30:()=>P,__wbg_get_b9b93047fe3cf45b:()=>Q,__wbg_getwithrefkey_1dc361bd10053bfe:()=>H,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:()=>J,__wbg_instanceof_Uint8Array_17156bcf118086a9:()=>Y,__wbg_isSafeInteger_343e2beeeece1bb0:()=>K,__wbg_keys_5c77a08ddc2fb8a6:()=>X,__wbg_length_a446193dc22c12f8:()=>Z,__wbg_length_e2d2a49132c1b256:()=>v,__wbg_msCrypto_2ac4d17c4748234a:()=>ee,__wbg_new0_f788a2397c7ca929:()=>te,__wbg_new_a12002a7f91c75be:()=>ne,__wbg_newnoargs_105ed471475aaf50:()=>re,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:()=>oe,__wbg_newwithlength_a381634e90c276d4:()=>_e,__wbg_node_ecc8306b9857f33d:()=>ce,__wbg_now_807e54c39636c349:()=>ie,__wbg_now_b3f7572f6ef3d3a9:()=>ue,__wbg_process_5cff2739921be718:()=>se,__wbg_randomFillSync_d3c85af7e31cf1f8:()=>fe,__wbg_require_0c566c6f2eef6c79:()=>be,__wbg_set_65595bdd868b3009:()=>ae,__wbg_set_wasm:()=>L,__wbg_setmessage_82ae475bb413aa5c:()=>de,__wbg_static_accessor_GLOBAL_88a902d13a557d07:()=>le,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:()=>ge,__wbg_static_accessor_SELF_37c5d418e4bf5819:()=>we,__wbg_static_accessor_WINDOW_5de37043a91a9c40:()=>pe,__wbg_subarray_aa9065fa9dc5df96:()=>xe,__wbg_versions_a8e5a362e1f16442:()=>ye,__wbindgen_as_number:()=>me,__wbindgen_boolean_get:()=>he,__wbindgen_debug_string:()=>Se,__wbindgen_error_new:()=>Te,__wbindgen_in:()=>Ae,__wbindgen_init_externref_table:()=>Ie,__wbindgen_is_function:()=>Ee,__wbindgen_is_object:()=>Fe,__wbindgen_is_string:()=>De,__wbindgen_is_undefined:()=>je,__wbindgen_jsval_loose_eq:()=>Oe,__wbindgen_memory:()=>qe,__wbindgen_number_get:()=>Me,__wbindgen_string_get:()=>Le,__wbindgen_string_new:()=>Re,__wbindgen_throw:()=>Ue});module.exports=M(ke);var p=()=>{};p.prototype=p;let _;function L(e){_=e}let a=0,x=null;function y(){return(x===null||x.byteLength===0)&&(x=new Uint8Array(_.memory.buffer)),x}const R=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let m=new R("utf-8");const U=typeof m.encodeInto=="function"?function(e,t){return m.encodeInto(e,t)}:function(e,t){const n=m.encode(e);return t.set(n),{read:e.length,written:n.length}};function h(e,t,n){if(n===void 0){const u=m.encode(e),s=t(u.length,1)>>>0;return y().subarray(s,s+u.length).set(u),a=u.length,s}let r=e.length,o=t(r,1)>>>0;const i=y();let c=0;for(;c<r;c++){const u=e.charCodeAt(c);if(u>127)break;i[o+c]=u}if(c!==r){c!==0&&(e=e.slice(c)),o=n(o,r,r=c+e.length*3,1)>>>0;const u=y().subarray(o+c,o+r),s=U(e,u);c+=s.written,o=n(o,r,c,1)>>>0}return a=c,o}let d=null;function f(){return(d===null||d.buffer.detached===!0||d.buffer.detached===void 0&&d.buffer!==_.memory.buffer)&&(d=new DataView(_.memory.buffer)),d}function w(e){const t=_.__externref_table_alloc();return _.__wbindgen_export_4.set(t,e),t}function l(e,t){try{return e.apply(this,t)}catch(n){const r=w(n);_.__wbindgen_exn_store(r)}}const k=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let A=new k("utf-8",{ignoreBOM:!0,fatal:!0});A.decode();function g(e,t){return e=e>>>0,A.decode(y().subarray(e,e+t))}function b(e){return e==null}function T(e){const t=typeof e;if(t=="number"||t=="boolean"||e==null)return`${e}`;if(t=="string")return`"${e}"`;if(t=="symbol"){const o=e.description;return o==null?"Symbol":`Symbol(${o})`}if(t=="function"){const o=e.name;return typeof o=="string"&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(e)){const o=e.length;let i="[";o>0&&(i+=T(e[0]));for(let c=1;c<o;c++)i+=", "+T(e[c]);return i+="]",i}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let r;if(n&&n.length>1)r=n[1];else return toString.call(e);if(r=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
2
|
+
${e.stack}`:r}function I(e){const t=_.__wbindgen_export_4.get(e);return _.__externref_table_dealloc(e),t}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>_.__wbg_querycompiler_free(e>>>0,1));class C{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,E.unregister(this),t}free(){const t=this.__destroy_into_raw();_.__wbg_querycompiler_free(t,0)}constructor(t){const n=_.querycompiler_new(t);if(n[2])throw I(n[1]);return this.__wbg_ptr=n[0]>>>0,E.register(this,this.__wbg_ptr,this),this}compile(t){let n,r;try{const c=h(t,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.querycompiler_compile(this.__wbg_ptr,c,u);var o=s[0],i=s[1];if(s[3])throw o=0,i=0,I(s[2]);return n=o,r=i,g(o,i)}finally{_.__wbindgen_free(n,r,1)}}}function N(e,t){const n=String(t),r=h(n,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a;f().setInt32(e+4*1,o,!0),f().setInt32(e+4*0,r,!0)}function $(e){return e.buffer}function V(){return l(function(e,t){return e.call(t)},arguments)}function W(){return l(function(e,t,n){return e.call(t,n)},arguments)}function B(e){return e.crypto}function z(e){return Object.entries(e)}function G(){return l(function(e,t){e.getRandomValues(t)},arguments)}function P(e){return e.getTime()}function Q(e,t){return e[t>>>0]}function H(e,t){return e[t]}function J(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function Y(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function K(e){return Number.isSafeInteger(e)}function X(e){return Object.keys(e)}function Z(e){return e.length}function v(e){return e.length}function ee(e){return e.msCrypto}function te(){return new Date}function ne(e){return new Uint8Array(e)}function re(e,t){return new p(g(e,t))}function oe(e,t,n){return new Uint8Array(e,t>>>0,n>>>0)}function _e(e){return new Uint8Array(e>>>0)}function ce(e){return e.node}function ie(){return Date.now()}function ue(){return l(function(){return Date.now()},arguments)}function se(e){return e.process}function fe(){return l(function(e,t){e.randomFillSync(t)},arguments)}function be(){return l(function(){return module.require},arguments)}function ae(e,t,n){e.set(t,n>>>0)}function de(e,t){global.PRISMA_WASM_PANIC_REGISTRY.set_message(g(e,t))}function le(){const e=typeof global>"u"?null:global;return b(e)?0:w(e)}function ge(){const e=typeof globalThis>"u"?null:globalThis;return b(e)?0:w(e)}function we(){const e=typeof self>"u"?null:self;return b(e)?0:w(e)}function pe(){const e=typeof window>"u"?null:window;return b(e)?0:w(e)}function xe(e,t,n){return e.subarray(t>>>0,n>>>0)}function ye(e){return e.versions}function me(e){return+e}function he(e){const t=e;return typeof t=="boolean"?t?1:0:2}function Se(e,t){const n=T(t),r=h(n,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a;f().setInt32(e+4*1,o,!0),f().setInt32(e+4*0,r,!0)}function Te(e,t){return new Error(g(e,t))}function Ae(e,t){return e in t}function Ie(){const e=_.__wbindgen_export_4,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}function Ee(e){return typeof e=="function"}function Fe(e){const t=e;return typeof t=="object"&&t!==null}function De(e){return typeof e=="string"}function je(e){return e===void 0}function Oe(e,t){return e==t}function qe(){return _.memory}function Me(e,t){const n=t,r=typeof n=="number"?n:void 0;f().setFloat64(e+8*1,b(r)?0:r,!0),f().setInt32(e+4*0,!b(r),!0)}function Le(e,t){const n=t,r=typeof n=="string"?n:void 0;var o=b(r)?0:h(r,_.__wbindgen_malloc,_.__wbindgen_realloc),i=a;f().setInt32(e+4*1,i,!0),f().setInt32(e+4*0,o,!0)}function Re(e,t){return g(e,t)}function Ue(e,t){throw new Error(g(e,t))}0&&(module.exports={QueryCompiler,__wbg_String_8f0eb39a4a4c2f66,__wbg_buffer_609cc3eee51ed158,__wbg_call_672a4d21634d4a24,__wbg_call_7cccdd69e0791ae2,__wbg_crypto_805be4ce92f1e370,__wbg_entries_3265d4158b33e5dc,__wbg_getRandomValues_f6a868620c8bab49,__wbg_getTime_46267b1c24877e30,__wbg_get_b9b93047fe3cf45b,__wbg_getwithrefkey_1dc361bd10053bfe,__wbg_instanceof_ArrayBuffer_e14585432e3737fc,__wbg_instanceof_Uint8Array_17156bcf118086a9,__wbg_isSafeInteger_343e2beeeece1bb0,__wbg_keys_5c77a08ddc2fb8a6,__wbg_length_a446193dc22c12f8,__wbg_length_e2d2a49132c1b256,__wbg_msCrypto_2ac4d17c4748234a,__wbg_new0_f788a2397c7ca929,__wbg_new_a12002a7f91c75be,__wbg_newnoargs_105ed471475aaf50,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a,__wbg_newwithlength_a381634e90c276d4,__wbg_node_ecc8306b9857f33d,__wbg_now_807e54c39636c349,__wbg_now_b3f7572f6ef3d3a9,__wbg_process_5cff2739921be718,__wbg_randomFillSync_d3c85af7e31cf1f8,__wbg_require_0c566c6f2eef6c79,__wbg_set_65595bdd868b3009,__wbg_set_wasm,__wbg_setmessage_82ae475bb413aa5c,__wbg_static_accessor_GLOBAL_88a902d13a557d07,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,__wbg_static_accessor_SELF_37c5d418e4bf5819,__wbg_static_accessor_WINDOW_5de37043a91a9c40,__wbg_subarray_aa9065fa9dc5df96,__wbg_versions_a8e5a362e1f16442,__wbindgen_as_number,__wbindgen_boolean_get,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_init_externref_table,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw});
|
@@ -1 +1,2 @@
|
|
1
|
-
"use strict";var
|
1
|
+
"use strict";var S=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var O=(e,t)=>{for(var n in t)S(e,n,{get:t[n],enumerable:!0})},q=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of D(t))!j.call(e,o)&&o!==n&&S(e,o,{get:()=>t[o],enumerable:!(r=F(t,o))||r.enumerable});return e};var M=e=>q(S({},"__esModule",{value:!0}),e);var ke={};O(ke,{QueryCompiler:()=>C,__wbg_String_8f0eb39a4a4c2f66:()=>N,__wbg_buffer_609cc3eee51ed158:()=>$,__wbg_call_672a4d21634d4a24:()=>V,__wbg_call_7cccdd69e0791ae2:()=>W,__wbg_crypto_805be4ce92f1e370:()=>B,__wbg_entries_3265d4158b33e5dc:()=>z,__wbg_getRandomValues_f6a868620c8bab49:()=>G,__wbg_getTime_46267b1c24877e30:()=>P,__wbg_get_b9b93047fe3cf45b:()=>Q,__wbg_getwithrefkey_1dc361bd10053bfe:()=>H,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:()=>J,__wbg_instanceof_Uint8Array_17156bcf118086a9:()=>Y,__wbg_isSafeInteger_343e2beeeece1bb0:()=>K,__wbg_keys_5c77a08ddc2fb8a6:()=>X,__wbg_length_a446193dc22c12f8:()=>Z,__wbg_length_e2d2a49132c1b256:()=>v,__wbg_msCrypto_2ac4d17c4748234a:()=>ee,__wbg_new0_f788a2397c7ca929:()=>te,__wbg_new_a12002a7f91c75be:()=>ne,__wbg_newnoargs_105ed471475aaf50:()=>re,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:()=>oe,__wbg_newwithlength_a381634e90c276d4:()=>_e,__wbg_node_ecc8306b9857f33d:()=>ce,__wbg_now_807e54c39636c349:()=>ie,__wbg_now_b3f7572f6ef3d3a9:()=>ue,__wbg_process_5cff2739921be718:()=>se,__wbg_randomFillSync_d3c85af7e31cf1f8:()=>fe,__wbg_require_0c566c6f2eef6c79:()=>be,__wbg_set_65595bdd868b3009:()=>ae,__wbg_set_wasm:()=>L,__wbg_setmessage_82ae475bb413aa5c:()=>de,__wbg_static_accessor_GLOBAL_88a902d13a557d07:()=>le,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:()=>ge,__wbg_static_accessor_SELF_37c5d418e4bf5819:()=>we,__wbg_static_accessor_WINDOW_5de37043a91a9c40:()=>pe,__wbg_subarray_aa9065fa9dc5df96:()=>xe,__wbg_versions_a8e5a362e1f16442:()=>ye,__wbindgen_as_number:()=>me,__wbindgen_boolean_get:()=>he,__wbindgen_debug_string:()=>Se,__wbindgen_error_new:()=>Te,__wbindgen_in:()=>Ae,__wbindgen_init_externref_table:()=>Ie,__wbindgen_is_function:()=>Ee,__wbindgen_is_object:()=>Fe,__wbindgen_is_string:()=>De,__wbindgen_is_undefined:()=>je,__wbindgen_jsval_loose_eq:()=>Oe,__wbindgen_memory:()=>qe,__wbindgen_number_get:()=>Me,__wbindgen_string_get:()=>Le,__wbindgen_string_new:()=>Re,__wbindgen_throw:()=>Ue});module.exports=M(ke);var p=()=>{};p.prototype=p;let _;function L(e){_=e}let a=0,x=null;function y(){return(x===null||x.byteLength===0)&&(x=new Uint8Array(_.memory.buffer)),x}const R=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let m=new R("utf-8");const U=typeof m.encodeInto=="function"?function(e,t){return m.encodeInto(e,t)}:function(e,t){const n=m.encode(e);return t.set(n),{read:e.length,written:n.length}};function h(e,t,n){if(n===void 0){const u=m.encode(e),s=t(u.length,1)>>>0;return y().subarray(s,s+u.length).set(u),a=u.length,s}let r=e.length,o=t(r,1)>>>0;const i=y();let c=0;for(;c<r;c++){const u=e.charCodeAt(c);if(u>127)break;i[o+c]=u}if(c!==r){c!==0&&(e=e.slice(c)),o=n(o,r,r=c+e.length*3,1)>>>0;const u=y().subarray(o+c,o+r),s=U(e,u);c+=s.written,o=n(o,r,c,1)>>>0}return a=c,o}let d=null;function f(){return(d===null||d.buffer.detached===!0||d.buffer.detached===void 0&&d.buffer!==_.memory.buffer)&&(d=new DataView(_.memory.buffer)),d}function w(e){const t=_.__externref_table_alloc();return _.__wbindgen_export_4.set(t,e),t}function l(e,t){try{return e.apply(this,t)}catch(n){const r=w(n);_.__wbindgen_exn_store(r)}}const k=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let A=new k("utf-8",{ignoreBOM:!0,fatal:!0});A.decode();function g(e,t){return e=e>>>0,A.decode(y().subarray(e,e+t))}function b(e){return e==null}function T(e){const t=typeof e;if(t=="number"||t=="boolean"||e==null)return`${e}`;if(t=="string")return`"${e}"`;if(t=="symbol"){const o=e.description;return o==null?"Symbol":`Symbol(${o})`}if(t=="function"){const o=e.name;return typeof o=="string"&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(e)){const o=e.length;let i="[";o>0&&(i+=T(e[0]));for(let c=1;c<o;c++)i+=", "+T(e[c]);return i+="]",i}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let r;if(n&&n.length>1)r=n[1];else return toString.call(e);if(r=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
2
|
+
${e.stack}`:r}function I(e){const t=_.__wbindgen_export_4.get(e);return _.__externref_table_dealloc(e),t}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>_.__wbg_querycompiler_free(e>>>0,1));class C{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,E.unregister(this),t}free(){const t=this.__destroy_into_raw();_.__wbg_querycompiler_free(t,0)}constructor(t){const n=_.querycompiler_new(t);if(n[2])throw I(n[1]);return this.__wbg_ptr=n[0]>>>0,E.register(this,this.__wbg_ptr,this),this}compile(t){let n,r;try{const c=h(t,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.querycompiler_compile(this.__wbg_ptr,c,u);var o=s[0],i=s[1];if(s[3])throw o=0,i=0,I(s[2]);return n=o,r=i,g(o,i)}finally{_.__wbindgen_free(n,r,1)}}}function N(e,t){const n=String(t),r=h(n,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a;f().setInt32(e+4*1,o,!0),f().setInt32(e+4*0,r,!0)}function $(e){return e.buffer}function V(){return l(function(e,t){return e.call(t)},arguments)}function W(){return l(function(e,t,n){return e.call(t,n)},arguments)}function B(e){return e.crypto}function z(e){return Object.entries(e)}function G(){return l(function(e,t){e.getRandomValues(t)},arguments)}function P(e){return e.getTime()}function Q(e,t){return e[t>>>0]}function H(e,t){return e[t]}function J(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function Y(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function K(e){return Number.isSafeInteger(e)}function X(e){return Object.keys(e)}function Z(e){return e.length}function v(e){return e.length}function ee(e){return e.msCrypto}function te(){return new Date}function ne(e){return new Uint8Array(e)}function re(e,t){return new p(g(e,t))}function oe(e,t,n){return new Uint8Array(e,t>>>0,n>>>0)}function _e(e){return new Uint8Array(e>>>0)}function ce(e){return e.node}function ie(){return Date.now()}function ue(){return l(function(){return Date.now()},arguments)}function se(e){return e.process}function fe(){return l(function(e,t){e.randomFillSync(t)},arguments)}function be(){return l(function(){return module.require},arguments)}function ae(e,t,n){e.set(t,n>>>0)}function de(e,t){global.PRISMA_WASM_PANIC_REGISTRY.set_message(g(e,t))}function le(){const e=typeof global>"u"?null:global;return b(e)?0:w(e)}function ge(){const e=typeof globalThis>"u"?null:globalThis;return b(e)?0:w(e)}function we(){const e=typeof self>"u"?null:self;return b(e)?0:w(e)}function pe(){const e=typeof window>"u"?null:window;return b(e)?0:w(e)}function xe(e,t,n){return e.subarray(t>>>0,n>>>0)}function ye(e){return e.versions}function me(e){return+e}function he(e){const t=e;return typeof t=="boolean"?t?1:0:2}function Se(e,t){const n=T(t),r=h(n,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a;f().setInt32(e+4*1,o,!0),f().setInt32(e+4*0,r,!0)}function Te(e,t){return new Error(g(e,t))}function Ae(e,t){return e in t}function Ie(){const e=_.__wbindgen_export_4,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}function Ee(e){return typeof e=="function"}function Fe(e){const t=e;return typeof t=="object"&&t!==null}function De(e){return typeof e=="string"}function je(e){return e===void 0}function Oe(e,t){return e==t}function qe(){return _.memory}function Me(e,t){const n=t,r=typeof n=="number"?n:void 0;f().setFloat64(e+8*1,b(r)?0:r,!0),f().setInt32(e+4*0,!b(r),!0)}function Le(e,t){const n=t,r=typeof n=="string"?n:void 0;var o=b(r)?0:h(r,_.__wbindgen_malloc,_.__wbindgen_realloc),i=a;f().setInt32(e+4*1,i,!0),f().setInt32(e+4*0,o,!0)}function Re(e,t){return g(e,t)}function Ue(e,t){throw new Error(g(e,t))}0&&(module.exports={QueryCompiler,__wbg_String_8f0eb39a4a4c2f66,__wbg_buffer_609cc3eee51ed158,__wbg_call_672a4d21634d4a24,__wbg_call_7cccdd69e0791ae2,__wbg_crypto_805be4ce92f1e370,__wbg_entries_3265d4158b33e5dc,__wbg_getRandomValues_f6a868620c8bab49,__wbg_getTime_46267b1c24877e30,__wbg_get_b9b93047fe3cf45b,__wbg_getwithrefkey_1dc361bd10053bfe,__wbg_instanceof_ArrayBuffer_e14585432e3737fc,__wbg_instanceof_Uint8Array_17156bcf118086a9,__wbg_isSafeInteger_343e2beeeece1bb0,__wbg_keys_5c77a08ddc2fb8a6,__wbg_length_a446193dc22c12f8,__wbg_length_e2d2a49132c1b256,__wbg_msCrypto_2ac4d17c4748234a,__wbg_new0_f788a2397c7ca929,__wbg_new_a12002a7f91c75be,__wbg_newnoargs_105ed471475aaf50,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a,__wbg_newwithlength_a381634e90c276d4,__wbg_node_ecc8306b9857f33d,__wbg_now_807e54c39636c349,__wbg_now_b3f7572f6ef3d3a9,__wbg_process_5cff2739921be718,__wbg_randomFillSync_d3c85af7e31cf1f8,__wbg_require_0c566c6f2eef6c79,__wbg_set_65595bdd868b3009,__wbg_set_wasm,__wbg_setmessage_82ae475bb413aa5c,__wbg_static_accessor_GLOBAL_88a902d13a557d07,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,__wbg_static_accessor_SELF_37c5d418e4bf5819,__wbg_static_accessor_WINDOW_5de37043a91a9c40,__wbg_subarray_aa9065fa9dc5df96,__wbg_versions_a8e5a362e1f16442,__wbindgen_as_number,__wbindgen_boolean_get,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_init_externref_table,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw});
|
@@ -1 +1,2 @@
|
|
1
|
-
"use strict";var
|
1
|
+
"use strict";var S=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var O=(e,t)=>{for(var n in t)S(e,n,{get:t[n],enumerable:!0})},q=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of D(t))!j.call(e,o)&&o!==n&&S(e,o,{get:()=>t[o],enumerable:!(r=F(t,o))||r.enumerable});return e};var M=e=>q(S({},"__esModule",{value:!0}),e);var ke={};O(ke,{QueryCompiler:()=>C,__wbg_String_8f0eb39a4a4c2f66:()=>N,__wbg_buffer_609cc3eee51ed158:()=>$,__wbg_call_672a4d21634d4a24:()=>V,__wbg_call_7cccdd69e0791ae2:()=>W,__wbg_crypto_805be4ce92f1e370:()=>B,__wbg_entries_3265d4158b33e5dc:()=>z,__wbg_getRandomValues_f6a868620c8bab49:()=>G,__wbg_getTime_46267b1c24877e30:()=>P,__wbg_get_b9b93047fe3cf45b:()=>Q,__wbg_getwithrefkey_1dc361bd10053bfe:()=>H,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:()=>J,__wbg_instanceof_Uint8Array_17156bcf118086a9:()=>Y,__wbg_isSafeInteger_343e2beeeece1bb0:()=>K,__wbg_keys_5c77a08ddc2fb8a6:()=>X,__wbg_length_a446193dc22c12f8:()=>Z,__wbg_length_e2d2a49132c1b256:()=>v,__wbg_msCrypto_2ac4d17c4748234a:()=>ee,__wbg_new0_f788a2397c7ca929:()=>te,__wbg_new_a12002a7f91c75be:()=>ne,__wbg_newnoargs_105ed471475aaf50:()=>re,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:()=>oe,__wbg_newwithlength_a381634e90c276d4:()=>_e,__wbg_node_ecc8306b9857f33d:()=>ce,__wbg_now_807e54c39636c349:()=>ie,__wbg_now_b3f7572f6ef3d3a9:()=>ue,__wbg_process_5cff2739921be718:()=>se,__wbg_randomFillSync_d3c85af7e31cf1f8:()=>fe,__wbg_require_0c566c6f2eef6c79:()=>be,__wbg_set_65595bdd868b3009:()=>ae,__wbg_set_wasm:()=>L,__wbg_setmessage_82ae475bb413aa5c:()=>de,__wbg_static_accessor_GLOBAL_88a902d13a557d07:()=>le,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:()=>ge,__wbg_static_accessor_SELF_37c5d418e4bf5819:()=>we,__wbg_static_accessor_WINDOW_5de37043a91a9c40:()=>pe,__wbg_subarray_aa9065fa9dc5df96:()=>xe,__wbg_versions_a8e5a362e1f16442:()=>ye,__wbindgen_as_number:()=>me,__wbindgen_boolean_get:()=>he,__wbindgen_debug_string:()=>Se,__wbindgen_error_new:()=>Te,__wbindgen_in:()=>Ae,__wbindgen_init_externref_table:()=>Ie,__wbindgen_is_function:()=>Ee,__wbindgen_is_object:()=>Fe,__wbindgen_is_string:()=>De,__wbindgen_is_undefined:()=>je,__wbindgen_jsval_loose_eq:()=>Oe,__wbindgen_memory:()=>qe,__wbindgen_number_get:()=>Me,__wbindgen_string_get:()=>Le,__wbindgen_string_new:()=>Re,__wbindgen_throw:()=>Ue});module.exports=M(ke);var p=()=>{};p.prototype=p;let _;function L(e){_=e}let a=0,x=null;function y(){return(x===null||x.byteLength===0)&&(x=new Uint8Array(_.memory.buffer)),x}const R=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let m=new R("utf-8");const U=typeof m.encodeInto=="function"?function(e,t){return m.encodeInto(e,t)}:function(e,t){const n=m.encode(e);return t.set(n),{read:e.length,written:n.length}};function h(e,t,n){if(n===void 0){const u=m.encode(e),s=t(u.length,1)>>>0;return y().subarray(s,s+u.length).set(u),a=u.length,s}let r=e.length,o=t(r,1)>>>0;const i=y();let c=0;for(;c<r;c++){const u=e.charCodeAt(c);if(u>127)break;i[o+c]=u}if(c!==r){c!==0&&(e=e.slice(c)),o=n(o,r,r=c+e.length*3,1)>>>0;const u=y().subarray(o+c,o+r),s=U(e,u);c+=s.written,o=n(o,r,c,1)>>>0}return a=c,o}let d=null;function f(){return(d===null||d.buffer.detached===!0||d.buffer.detached===void 0&&d.buffer!==_.memory.buffer)&&(d=new DataView(_.memory.buffer)),d}function w(e){const t=_.__externref_table_alloc();return _.__wbindgen_export_4.set(t,e),t}function l(e,t){try{return e.apply(this,t)}catch(n){const r=w(n);_.__wbindgen_exn_store(r)}}const k=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let A=new k("utf-8",{ignoreBOM:!0,fatal:!0});A.decode();function g(e,t){return e=e>>>0,A.decode(y().subarray(e,e+t))}function b(e){return e==null}function T(e){const t=typeof e;if(t=="number"||t=="boolean"||e==null)return`${e}`;if(t=="string")return`"${e}"`;if(t=="symbol"){const o=e.description;return o==null?"Symbol":`Symbol(${o})`}if(t=="function"){const o=e.name;return typeof o=="string"&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(e)){const o=e.length;let i="[";o>0&&(i+=T(e[0]));for(let c=1;c<o;c++)i+=", "+T(e[c]);return i+="]",i}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let r;if(n&&n.length>1)r=n[1];else return toString.call(e);if(r=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
2
|
+
${e.stack}`:r}function I(e){const t=_.__wbindgen_export_4.get(e);return _.__externref_table_dealloc(e),t}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>_.__wbg_querycompiler_free(e>>>0,1));class C{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,E.unregister(this),t}free(){const t=this.__destroy_into_raw();_.__wbg_querycompiler_free(t,0)}constructor(t){const n=_.querycompiler_new(t);if(n[2])throw I(n[1]);return this.__wbg_ptr=n[0]>>>0,E.register(this,this.__wbg_ptr,this),this}compile(t){let n,r;try{const c=h(t,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.querycompiler_compile(this.__wbg_ptr,c,u);var o=s[0],i=s[1];if(s[3])throw o=0,i=0,I(s[2]);return n=o,r=i,g(o,i)}finally{_.__wbindgen_free(n,r,1)}}}function N(e,t){const n=String(t),r=h(n,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a;f().setInt32(e+4*1,o,!0),f().setInt32(e+4*0,r,!0)}function $(e){return e.buffer}function V(){return l(function(e,t){return e.call(t)},arguments)}function W(){return l(function(e,t,n){return e.call(t,n)},arguments)}function B(e){return e.crypto}function z(e){return Object.entries(e)}function G(){return l(function(e,t){e.getRandomValues(t)},arguments)}function P(e){return e.getTime()}function Q(e,t){return e[t>>>0]}function H(e,t){return e[t]}function J(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function Y(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function K(e){return Number.isSafeInteger(e)}function X(e){return Object.keys(e)}function Z(e){return e.length}function v(e){return e.length}function ee(e){return e.msCrypto}function te(){return new Date}function ne(e){return new Uint8Array(e)}function re(e,t){return new p(g(e,t))}function oe(e,t,n){return new Uint8Array(e,t>>>0,n>>>0)}function _e(e){return new Uint8Array(e>>>0)}function ce(e){return e.node}function ie(){return Date.now()}function ue(){return l(function(){return Date.now()},arguments)}function se(e){return e.process}function fe(){return l(function(e,t){e.randomFillSync(t)},arguments)}function be(){return l(function(){return module.require},arguments)}function ae(e,t,n){e.set(t,n>>>0)}function de(e,t){global.PRISMA_WASM_PANIC_REGISTRY.set_message(g(e,t))}function le(){const e=typeof global>"u"?null:global;return b(e)?0:w(e)}function ge(){const e=typeof globalThis>"u"?null:globalThis;return b(e)?0:w(e)}function we(){const e=typeof self>"u"?null:self;return b(e)?0:w(e)}function pe(){const e=typeof window>"u"?null:window;return b(e)?0:w(e)}function xe(e,t,n){return e.subarray(t>>>0,n>>>0)}function ye(e){return e.versions}function me(e){return+e}function he(e){const t=e;return typeof t=="boolean"?t?1:0:2}function Se(e,t){const n=T(t),r=h(n,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a;f().setInt32(e+4*1,o,!0),f().setInt32(e+4*0,r,!0)}function Te(e,t){return new Error(g(e,t))}function Ae(e,t){return e in t}function Ie(){const e=_.__wbindgen_export_4,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}function Ee(e){return typeof e=="function"}function Fe(e){const t=e;return typeof t=="object"&&t!==null}function De(e){return typeof e=="string"}function je(e){return e===void 0}function Oe(e,t){return e==t}function qe(){return _.memory}function Me(e,t){const n=t,r=typeof n=="number"?n:void 0;f().setFloat64(e+8*1,b(r)?0:r,!0),f().setInt32(e+4*0,!b(r),!0)}function Le(e,t){const n=t,r=typeof n=="string"?n:void 0;var o=b(r)?0:h(r,_.__wbindgen_malloc,_.__wbindgen_realloc),i=a;f().setInt32(e+4*1,i,!0),f().setInt32(e+4*0,o,!0)}function Re(e,t){return g(e,t)}function Ue(e,t){throw new Error(g(e,t))}0&&(module.exports={QueryCompiler,__wbg_String_8f0eb39a4a4c2f66,__wbg_buffer_609cc3eee51ed158,__wbg_call_672a4d21634d4a24,__wbg_call_7cccdd69e0791ae2,__wbg_crypto_805be4ce92f1e370,__wbg_entries_3265d4158b33e5dc,__wbg_getRandomValues_f6a868620c8bab49,__wbg_getTime_46267b1c24877e30,__wbg_get_b9b93047fe3cf45b,__wbg_getwithrefkey_1dc361bd10053bfe,__wbg_instanceof_ArrayBuffer_e14585432e3737fc,__wbg_instanceof_Uint8Array_17156bcf118086a9,__wbg_isSafeInteger_343e2beeeece1bb0,__wbg_keys_5c77a08ddc2fb8a6,__wbg_length_a446193dc22c12f8,__wbg_length_e2d2a49132c1b256,__wbg_msCrypto_2ac4d17c4748234a,__wbg_new0_f788a2397c7ca929,__wbg_new_a12002a7f91c75be,__wbg_newnoargs_105ed471475aaf50,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a,__wbg_newwithlength_a381634e90c276d4,__wbg_node_ecc8306b9857f33d,__wbg_now_807e54c39636c349,__wbg_now_b3f7572f6ef3d3a9,__wbg_process_5cff2739921be718,__wbg_randomFillSync_d3c85af7e31cf1f8,__wbg_require_0c566c6f2eef6c79,__wbg_set_65595bdd868b3009,__wbg_set_wasm,__wbg_setmessage_82ae475bb413aa5c,__wbg_static_accessor_GLOBAL_88a902d13a557d07,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,__wbg_static_accessor_SELF_37c5d418e4bf5819,__wbg_static_accessor_WINDOW_5de37043a91a9c40,__wbg_subarray_aa9065fa9dc5df96,__wbg_versions_a8e5a362e1f16442,__wbindgen_as_number,__wbindgen_boolean_get,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_init_externref_table,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw});
|
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";var
|
2
|
-
${n.stack}`:o}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{_.__wbindgen_export_2.get(n.dtor)(n.a,n.b)});function Q(n,t,e,o){const c={a:n,b:t,cnt:1,dtor:e},f=(...u)=>{c.cnt++;const s=c.a;c.a=0;try{return o(s,c.b,...u)}finally{--c.cnt===0?(_.__wbindgen_export_2.get(c.dtor)(s,c.b),E.unregister(c)):c.a=s}};return f.original=c,E.register(f,c,c),f}function H(n,t,e){_._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h92ff5ab9e3740637(n,t,i(e))}function G(){const n=_.getBuildTimeInfo();return g(n)}function K(n){try{const f=_.__wbindgen_add_to_stack_pointer(-16);var t=y(n)?0:b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),e=a;_.debug_panic(f,t,e);var o=d().getInt32(f+4*0,!0),c=d().getInt32(f+4*1,!0);if(c)throw g(o)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function l(n,t){try{return n.apply(this,t)}catch(e){_.__wbindgen_exn_store(i(e))}}function X(n,t,e,o){_.wasm_bindgen__convert__closures__invoke2_mut__h2dd59201d446cc9a(n,t,i(e),i(o))}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>_.__wbg_queryengine_free(n>>>0,1));class Y{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),t}free(){const t=this.__destroy_into_raw();_.__wbg_queryengine_free(t,0)}constructor(t,e,o){try{const s=_.__wbindgen_add_to_stack_pointer(-16);_.queryengine_new(s,i(t),i(e),i(o));var c=d().getInt32(s+4*0,!0),f=d().getInt32(s+4*1,!0),u=d().getInt32(s+4*2,!0);if(u)throw g(f);return this.__wbg_ptr=c>>>0,F.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}connect(t,e){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_connect(this.__wbg_ptr,o,c,f,u);return g(s)}disconnect(t,e){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_disconnect(this.__wbg_ptr,o,c,f,u);return g(s)}query(t,e,o,c){const f=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),w=a;var x=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),m=a;const R=b(c,_.__wbindgen_malloc,_.__wbindgen_realloc),D=a,M=_.queryengine_query(this.__wbg_ptr,f,u,s,w,x,m,R,D);return g(M)}startTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_startTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}commitTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_commitTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}rollbackTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_rollbackTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}metrics(t){const e=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_metrics(this.__wbg_ptr,e,o);return g(c)}trace(t){const e=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_trace(this.__wbg_ptr,e,o);return g(c)}}function Z(n,t){const e=r(t),o=typeof e=="string"?e:void 0;var c=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a;d().setInt32(n+4*1,f,!0),d().setInt32(n+4*0,c,!0)}function nn(n,t){try{var e={a:n,b:t},o=(f,u)=>{const s=e.a;e.a=0;try{return X(s,e.b,f,u)}finally{e.a=s}};const c=new Promise(o);return i(c)}finally{e.a=e.b=0}}function tn(n,t){return setTimeout(r(n),t>>>0)}function en(n,t){const e=T(n,t);return i(e)}function rn(n,t){const e=new Error(T(n,t));return i(e)}function _n(n){const t=r(n);return i(t)}function on(n){return r(n)===void 0}function cn(){return l(function(n,t){return Reflect.has(r(n),r(t))},arguments)}function un(){return l(function(n,t){const e=JSON.parse(T(n,t));return i(e)},arguments)}function sn(){return i(new Date)}function fn(n){return r(n).getTime()}function an(n){return r(n).now()}function bn(){return Date.now()}function gn(n){const t=Object.keys(r(n));return i(t)}function ln(n){return r(n).length}function dn(n){g(n)}function wn(n){const t=r(n);return typeof t=="object"&&t!==null}function pn(n){let t;try{t=r(n)instanceof Promise}catch{t=!1}return t}function xn(){return i(Symbol.iterator)}function mn(n){const t=r(n);return typeof t=="boolean"?t?1:0:2}function yn(n){return typeof r(n)=="bigint"}function hn(n,t){const e=r(t),o=typeof e=="number"?e:void 0;d().setFloat64(n+8*1,y(o)?0:o,!0),d().setInt32(n+4*0,!y(o),!0)}function Tn(n){return i(n)}function In(n,t){return r(n)in r(t)}function Sn(n){const t=BigInt.asUintN(64,n);return i(t)}function jn(n,t){return r(n)===r(t)}function An(n){return i(n)}function On(){const n=new Array;return i(n)}function qn(n,t,e){r(n)[t>>>0]=g(e)}function kn(){return i(new Map)}function vn(){const n=new Object;return i(n)}function En(n,t,e){const o=r(n).set(r(t),r(e));return i(o)}function Fn(n){return typeof r(n)=="string"}function Rn(n,t,e){r(n)[g(t)]=g(e)}function Dn(n,t){const e=r(n)[r(t)];return i(e)}function Mn(n,t){return r(n).push(r(t))}function Un(){return l(function(n,t){const e=r(n)[g(t)];return i(e)},arguments)}function Bn(n,t){const e=String(r(t)),o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,o,!0)}function Nn(){const n=_.memory;return i(n)}function Cn(n){const t=r(n).buffer;return i(t)}function $n(n,t,e){const o=new Uint8Array(r(n),t>>>0,e>>>0);return i(o)}function Vn(n){const t=new Uint8Array(r(n));return i(t)}function zn(n,t,e){const o=r(n).subarray(t>>>0,e>>>0);return i(o)}function Ln(){return l(function(n,t){r(n).getRandomValues(r(t))},arguments)}function Pn(){return l(function(n,t){r(n).randomFillSync(g(t))},arguments)}function Wn(n){const t=r(n).crypto;return i(t)}function Jn(n){const t=r(n).process;return i(t)}function Qn(n){const t=r(n).versions;return i(t)}function Hn(n){const t=r(n).node;return i(t)}function Gn(){return l(function(){const n=module.require;return i(n)},arguments)}function Kn(n){const t=r(n).msCrypto;return i(t)}function Xn(n){const t=new Uint8Array(n>>>0);return i(t)}function Yn(n){return typeof r(n)=="function"}function Zn(){return l(function(n,t){const e=r(n).call(r(t));return i(e)},arguments)}function nt(n,t){const e=r(n)[t>>>0];return i(e)}function tt(n){return r(n).valueOf()}function et(){return l(function(n){const t=r(n).next();return i(t)},arguments)}function rt(n){return r(n).done}function _t(n){const t=r(n).value;return i(t)}function ot(n){const t=r(n).next;return i(t)}function ct(){return l(function(n,t){const e=Reflect.get(r(n),r(t));return i(e)},arguments)}function it(){return l(function(){const n=self.self;return i(n)},arguments)}function ut(){return l(function(){const n=window.window;return i(n)},arguments)}function st(){return l(function(){const n=globalThis.globalThis;return i(n)},arguments)}function ft(){return l(function(){const n=global.global;return i(n)},arguments)}function at(n,t){const e=new S(T(n,t));return i(e)}function bt(n){return Array.isArray(r(n))}function gt(){return l(function(n,t,e){const o=r(n).call(r(t),r(e));return i(o)},arguments)}function lt(n){return Number.isSafeInteger(r(n))}function dt(){return l(function(n,t,e){return Reflect.set(r(n),r(t),r(e))},arguments)}function wt(){return l(function(n){const t=JSON.stringify(r(n));return i(t)},arguments)}function pt(n,t,e){r(n).set(r(t),e>>>0)}function xt(n){return r(n).length}function mt(){return l(function(){return Date.now()},arguments)}function yt(n,t){return r(n)==r(t)}function ht(n){let t;try{t=r(n)instanceof Uint8Array}catch{t=!1}return t}function Tt(n){let t;try{t=r(n)instanceof ArrayBuffer}catch{t=!1}return t}function It(n){const t=Object.entries(r(n));return i(t)}function St(n,t){throw new Error(T(n,t))}function jt(n,t){const e=r(t),o=typeof e=="bigint"?e:void 0;d().setBigInt64(n+8*1,y(o)?BigInt(0):o,!0),d().setInt32(n+4*0,!y(o),!0)}function At(n,t){const e=k(r(t)),o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,o,!0)}function Ot(n){const t=g(n).original;return t.cnt--==1?(t.a=0,!0):!1}function qt(n,t){const e=r(n).then(r(t));return i(e)}function kt(n,t,e){const o=r(n).then(r(t),r(e));return i(o)}function vt(n){const t=Promise.resolve(r(n));return i(t)}function Et(n,t,e){const o=Q(n,t,547,H);return i(o)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_b7b08af79b0b0974,__wbg_call_1084a111329e68ce,__wbg_call_89af060b4e1523f2,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bfda7aa8f252b39f,__wbg_entries_7a0e06255456ebcd,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_91058879093a1589,__wbg_get_224d16597dbbfd96,__wbg_get_3baa728f9d58d3f6,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_86b222e13bdf32ed,__wbg_global_e5a3fe56f8be9485,__wbg_has_4bfbc01db38743f7,__wbg_instanceof_ArrayBuffer_61dfc3198373c902,__wbg_instanceof_Promise_ae8c7ffdec83f2ae,__wbg_instanceof_Uint8Array_247a91427532499e,__wbg_isArray_8364a5371e9737d8,__wbg_isSafeInteger_7f1ed56200d90674,__wbg_iterator_888179a48810a9fe,__wbg_keys_7840ae453e408eab,__wbg_length_8339fcf5d8ecd12e,__wbg_length_ae22078168b726f5,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_65387337a95cf44d,__wbg_new_525245e2b9901204,__wbg_new_8608a2b51a5f6737,__wbg_new_a220cf903aa02ca2,__wbg_new_b85e72ed1bfd57f9,__wbg_new_ea1883e1e5e86686,__wbg_newnoargs_76313bd6ff35d0f2,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9,__wbg_newwithlength_ec548f448387c968,__wbg_next_de3e9db4440638b2,__wbg_next_f9cb570345655b9a,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_8ed1a4454e40ecd1,__wbg_now_b7a162010a9e75b4,__wbg_parse_52202f117ec9ecfa,__wbg_process_5b786e71d465a513,__wbg_push_37c89022f34c01ca,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_570458cb99d56a43,__wbg_self_3093d5d1f7bcb682,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_49185437f0ab06f8,__wbg_set_673dda6c73d19609,__wbg_set_841ac57cff3d672b,__wbg_set_d1e79e2388520f18,__wbg_set_eacc7d73fefaafdf,__wbg_set_wasm,__wbg_stringify_bbf45426c92a6bf5,__wbg_subarray_7c2e3576afe181d1,__wbg_then_876bb3c633745cc6,__wbg_then_95e6edc0f89b73b1,__wbg_valueOf_c759749a331da0c0,__wbg_value_6d39332ab4788d86,__wbg_versions_c2ab80650590b6a2,__wbg_window_3bcfc4d31bc012f8,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper7239,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
1
|
+
"use strict";var S=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var B=(e,t)=>{for(var n in t)S(e,n,{get:t[n],enumerable:!0})},U=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let _ of D(t))!R.call(e,_)&&_!==n&&S(e,_,{get:()=>t[_],enumerable:!(o=k(t,_))||o.enumerable});return e};var L=e=>U(S({},"__esModule",{value:!0}),e);var Et={};B(Et,{QueryEngine:()=>Q,__wbg_String_8f0eb39a4a4c2f66:()=>H,__wbg_buffer_609cc3eee51ed158:()=>J,__wbg_call_672a4d21634d4a24:()=>K,__wbg_call_7cccdd69e0791ae2:()=>X,__wbg_crypto_805be4ce92f1e370:()=>Y,__wbg_done_769e5ede4b31c67b:()=>Z,__wbg_entries_3265d4158b33e5dc:()=>ee,__wbg_getRandomValues_f6a868620c8bab49:()=>te,__wbg_getTime_46267b1c24877e30:()=>ne,__wbg_get_67b2ba62fc30de12:()=>re,__wbg_get_b9b93047fe3cf45b:()=>oe,__wbg_get_ece95cf6585650d9:()=>_e,__wbg_getwithrefkey_1dc361bd10053bfe:()=>ce,__wbg_has_a5ea9117f258a0ec:()=>ie,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:()=>ue,__wbg_instanceof_Map_f3469ce2244d2430:()=>se,__wbg_instanceof_Promise_935168b8f4b49db3:()=>fe,__wbg_instanceof_Uint8Array_17156bcf118086a9:()=>ae,__wbg_isArray_a1eab7e0d067391b:()=>be,__wbg_isSafeInteger_343e2beeeece1bb0:()=>le,__wbg_iterator_9a24c88df860dc65:()=>ge,__wbg_keys_5c77a08ddc2fb8a6:()=>de,__wbg_length_a446193dc22c12f8:()=>we,__wbg_length_e2d2a49132c1b256:()=>pe,__wbg_msCrypto_2ac4d17c4748234a:()=>xe,__wbg_new0_f788a2397c7ca929:()=>ye,__wbg_new_23a2665fac83c611:()=>me,__wbg_new_405e22f390576ce2:()=>he,__wbg_new_5e0be73521bc8c17:()=>Te,__wbg_new_78feb108b6472713:()=>qe,__wbg_new_a12002a7f91c75be:()=>Se,__wbg_newnoargs_105ed471475aaf50:()=>Ae,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:()=>Ie,__wbg_newwithlength_a381634e90c276d4:()=>Ee,__wbg_next_25feadfc0913fea9:()=>Oe,__wbg_next_6574e1a8a62d1055:()=>Fe,__wbg_node_ecc8306b9857f33d:()=>Me,__wbg_now_7fd00a794a07d388:()=>je,__wbg_now_807e54c39636c349:()=>ke,__wbg_now_b3f7572f6ef3d3a9:()=>De,__wbg_process_5cff2739921be718:()=>Re,__wbg_push_737cfc8c1432c2c6:()=>Be,__wbg_queueMicrotask_98e746b9f850fe3d:()=>Ue,__wbg_queueMicrotask_c847cc8372bec908:()=>Le,__wbg_randomFillSync_d3c85af7e31cf1f8:()=>ve,__wbg_require_0c566c6f2eef6c79:()=>Ne,__wbg_resolve_4851785c9c5f573d:()=>$e,__wbg_setTimeout_5d6a1d4fc51ea450:()=>Ce,__wbg_set_37837023f3d740e8:()=>Ve,__wbg_set_3f1d0b984ed272ed:()=>ze,__wbg_set_65595bdd868b3009:()=>We,__wbg_set_8fc6bf8a5b1071d1:()=>Pe,__wbg_set_bb8cecf6a62b9f46:()=>Ge,__wbg_set_wasm:()=>v,__wbg_static_accessor_GLOBAL_88a902d13a557d07:()=>Qe,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:()=>He,__wbg_static_accessor_SELF_37c5d418e4bf5819:()=>Je,__wbg_static_accessor_WINDOW_5de37043a91a9c40:()=>Ke,__wbg_subarray_aa9065fa9dc5df96:()=>Xe,__wbg_then_44b73946d2fb3e7d:()=>Ye,__wbg_then_48b406749878a531:()=>Ze,__wbg_valueOf_7392193dd78c6b97:()=>et,__wbg_value_cd1ffa7b1ab794f1:()=>tt,__wbg_versions_a8e5a362e1f16442:()=>nt,__wbindgen_as_number:()=>rt,__wbindgen_bigint_from_i64:()=>ot,__wbindgen_bigint_from_u64:()=>_t,__wbindgen_bigint_get_as_i64:()=>ct,__wbindgen_boolean_get:()=>it,__wbindgen_cb_drop:()=>ut,__wbindgen_closure_wrapper7311:()=>st,__wbindgen_debug_string:()=>ft,__wbindgen_error_new:()=>at,__wbindgen_in:()=>bt,__wbindgen_init_externref_table:()=>lt,__wbindgen_is_bigint:()=>gt,__wbindgen_is_function:()=>dt,__wbindgen_is_object:()=>wt,__wbindgen_is_string:()=>pt,__wbindgen_is_undefined:()=>xt,__wbindgen_jsval_eq:()=>yt,__wbindgen_jsval_loose_eq:()=>mt,__wbindgen_memory:()=>ht,__wbindgen_number_get:()=>Tt,__wbindgen_number_new:()=>qt,__wbindgen_string_get:()=>St,__wbindgen_string_new:()=>At,__wbindgen_throw:()=>It,debug_panic:()=>W,getBuildTimeInfo:()=>z});module.exports=L(Et);var y=()=>{};y.prototype=y;let r;function v(e){r=e}let s=0,m=null;function h(){return(m===null||m.byteLength===0)&&(m=new Uint8Array(r.memory.buffer)),m}const N=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let T=new N("utf-8");const $=typeof T.encodeInto=="function"?function(e,t){return T.encodeInto(e,t)}:function(e,t){const n=T.encode(e);return t.set(n),{read:e.length,written:n.length}};function f(e,t,n){if(n===void 0){const u=T.encode(e),a=t(u.length,1)>>>0;return h().subarray(a,a+u.length).set(u),s=u.length,a}let o=e.length,_=t(o,1)>>>0;const i=h();let c=0;for(;c<o;c++){const u=e.charCodeAt(c);if(u>127)break;i[_+c]=u}if(c!==o){c!==0&&(e=e.slice(c)),_=n(_,o,o=c+e.length*3,1)>>>0;const u=h().subarray(_+c,_+o),a=$(e,u);c+=a.written,_=n(_,o,c,1)>>>0}return s=c,_}let w=null;function g(){return(w===null||w.buffer.detached===!0||w.buffer.detached===void 0&&w.buffer!==r.memory.buffer)&&(w=new DataView(r.memory.buffer)),w}function p(e){const t=r.__externref_table_alloc();return r.__wbindgen_export_4.set(t,e),t}function b(e,t){try{return e.apply(this,t)}catch(n){const o=p(n);r.__wbindgen_exn_store(o)}}const C=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let I=new C("utf-8",{ignoreBOM:!0,fatal:!0});I.decode();function q(e,t){return e=e>>>0,I.decode(h().subarray(e,e+t))}function l(e){return e==null}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>{r.__wbindgen_export_5.get(e.dtor)(e.a,e.b)});function V(e,t,n,o){const _={a:e,b:t,cnt:1,dtor:n},i=(...c)=>{_.cnt++;const u=_.a;_.a=0;try{return o(u,_.b,...c)}finally{--_.cnt===0?(r.__wbindgen_export_5.get(_.dtor)(u,_.b),E.unregister(_)):_.a=u}};return i.original=_,E.register(i,_,_),i}function A(e){const t=typeof e;if(t=="number"||t=="boolean"||e==null)return`${e}`;if(t=="string")return`"${e}"`;if(t=="symbol"){const _=e.description;return _==null?"Symbol":`Symbol(${_})`}if(t=="function"){const _=e.name;return typeof _=="string"&&_.length>0?`Function(${_})`:"Function"}if(Array.isArray(e)){const _=e.length;let i="[";_>0&&(i+=A(e[0]));for(let c=1;c<_;c++)i+=", "+A(e[c]);return i+="]",i}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let o;if(n&&n.length>1)o=n[1];else return toString.call(e);if(o=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
2
|
+
${e.stack}`:o}function O(e){const t=r.__wbindgen_export_4.get(e);return r.__externref_table_dealloc(e),t}function z(){return r.getBuildTimeInfo()}function W(e){var t=l(e)?0:f(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=s;const o=r.debug_panic(t,n);if(o[1])throw O(o[0])}function P(e,t,n){r.closure550_externref_shim(e,t,n)}function G(e,t,n,o){r.closure134_externref_shim(e,t,n,o)}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_queryengine_free(e>>>0,1));class Q{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_queryengine_free(t,0)}constructor(t,n,o){const _=r.queryengine_new(t,n,o);if(_[2])throw O(_[1]);return this.__wbg_ptr=_[0]>>>0,F.register(this,this.__wbg_ptr,this),this}connect(t,n){const o=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s,i=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=s;return r.queryengine_connect(this.__wbg_ptr,o,_,i,c)}disconnect(t,n){const o=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s,i=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=s;return r.queryengine_disconnect(this.__wbg_ptr,o,_,i,c)}query(t,n,o,_){const i=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),c=s,u=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),a=s;var d=l(o)?0:f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),x=s;const M=f(_,r.__wbindgen_malloc,r.__wbindgen_realloc),j=s;return r.queryengine_query(this.__wbg_ptr,i,c,u,a,d,x,M,j)}startTransaction(t,n,o){const _=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s,c=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),u=s,a=f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),d=s;return r.queryengine_startTransaction(this.__wbg_ptr,_,i,c,u,a,d)}commitTransaction(t,n,o){const _=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s,c=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),u=s,a=f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),d=s;return r.queryengine_commitTransaction(this.__wbg_ptr,_,i,c,u,a,d)}rollbackTransaction(t,n,o){const _=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s,c=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),u=s,a=f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),d=s;return r.queryengine_rollbackTransaction(this.__wbg_ptr,_,i,c,u,a,d)}metrics(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_metrics(this.__wbg_ptr,n,o)}trace(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_trace(this.__wbg_ptr,n,o)}}function H(e,t){const n=String(t),o=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s;g().setInt32(e+4*1,_,!0),g().setInt32(e+4*0,o,!0)}function J(e){return e.buffer}function K(){return b(function(e,t){return e.call(t)},arguments)}function X(){return b(function(e,t,n){return e.call(t,n)},arguments)}function Y(e){return e.crypto}function Z(e){return e.done}function ee(e){return Object.entries(e)}function te(){return b(function(e,t){e.getRandomValues(t)},arguments)}function ne(e){return e.getTime()}function re(){return b(function(e,t){return Reflect.get(e,t)},arguments)}function oe(e,t){return e[t>>>0]}function _e(){return b(function(e,t){return e[t]},arguments)}function ce(e,t){return e[t]}function ie(){return b(function(e,t){return Reflect.has(e,t)},arguments)}function ue(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function se(e){let t;try{t=e instanceof Map}catch{t=!1}return t}function fe(e){let t;try{t=e instanceof Promise}catch{t=!1}return t}function ae(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function be(e){return Array.isArray(e)}function le(e){return Number.isSafeInteger(e)}function ge(){return Symbol.iterator}function de(e){return Object.keys(e)}function we(e){return e.length}function pe(e){return e.length}function xe(e){return e.msCrypto}function ye(){return new Date}function me(e,t){try{var n={a:e,b:t},o=(i,c)=>{const u=n.a;n.a=0;try{return G(u,n.b,i,c)}finally{n.a=u}};return new Promise(o)}finally{n.a=n.b=0}}function he(){return new Object}function Te(){return new Map}function qe(){return new Array}function Se(e){return new Uint8Array(e)}function Ae(e,t){return new y(q(e,t))}function Ie(e,t,n){return new Uint8Array(e,t>>>0,n>>>0)}function Ee(e){return new Uint8Array(e>>>0)}function Oe(e){return e.next}function Fe(){return b(function(e){return e.next()},arguments)}function Me(e){return e.node}function je(e){return e.now()}function ke(){return Date.now()}function De(){return b(function(){return Date.now()},arguments)}function Re(e){return e.process}function Be(e,t){return e.push(t)}function Ue(e){queueMicrotask(e)}function Le(e){return e.queueMicrotask}function ve(){return b(function(e,t){e.randomFillSync(t)},arguments)}function Ne(){return b(function(){return module.require},arguments)}function $e(e){return Promise.resolve(e)}function Ce(e,t){return setTimeout(e,t>>>0)}function Ve(e,t,n){e[t>>>0]=n}function ze(e,t,n){e[t]=n}function We(e,t,n){e.set(t,n>>>0)}function Pe(e,t,n){return e.set(t,n)}function Ge(){return b(function(e,t,n){return Reflect.set(e,t,n)},arguments)}function Qe(){const e=typeof global>"u"?null:global;return l(e)?0:p(e)}function He(){const e=typeof globalThis>"u"?null:globalThis;return l(e)?0:p(e)}function Je(){const e=typeof self>"u"?null:self;return l(e)?0:p(e)}function Ke(){const e=typeof window>"u"?null:window;return l(e)?0:p(e)}function Xe(e,t,n){return e.subarray(t>>>0,n>>>0)}function Ye(e,t){return e.then(t)}function Ze(e,t,n){return e.then(t,n)}function et(e){return e.valueOf()}function tt(e){return e.value}function nt(e){return e.versions}function rt(e){return+e}function ot(e){return e}function _t(e){return BigInt.asUintN(64,e)}function ct(e,t){const n=t,o=typeof n=="bigint"?n:void 0;g().setBigInt64(e+8*1,l(o)?BigInt(0):o,!0),g().setInt32(e+4*0,!l(o),!0)}function it(e){const t=e;return typeof t=="boolean"?t?1:0:2}function ut(e){const t=e.original;return t.cnt--==1?(t.a=0,!0):!1}function st(e,t,n){return V(e,t,551,P)}function ft(e,t){const n=A(t),o=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s;g().setInt32(e+4*1,_,!0),g().setInt32(e+4*0,o,!0)}function at(e,t){return new Error(q(e,t))}function bt(e,t){return e in t}function lt(){const e=r.__wbindgen_export_4,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}function gt(e){return typeof e=="bigint"}function dt(e){return typeof e=="function"}function wt(e){const t=e;return typeof t=="object"&&t!==null}function pt(e){return typeof e=="string"}function xt(e){return e===void 0}function yt(e,t){return e===t}function mt(e,t){return e==t}function ht(){return r.memory}function Tt(e,t){const n=t,o=typeof n=="number"?n:void 0;g().setFloat64(e+8*1,l(o)?0:o,!0),g().setInt32(e+4*0,!l(o),!0)}function qt(e){return e}function St(e,t){const n=t,o=typeof n=="string"?n:void 0;var _=l(o)?0:f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s;g().setInt32(e+4*1,i,!0),g().setInt32(e+4*0,_,!0)}function At(e,t){return q(e,t)}function It(e,t){throw new Error(q(e,t))}0&&(module.exports={QueryEngine,__wbg_String_8f0eb39a4a4c2f66,__wbg_buffer_609cc3eee51ed158,__wbg_call_672a4d21634d4a24,__wbg_call_7cccdd69e0791ae2,__wbg_crypto_805be4ce92f1e370,__wbg_done_769e5ede4b31c67b,__wbg_entries_3265d4158b33e5dc,__wbg_getRandomValues_f6a868620c8bab49,__wbg_getTime_46267b1c24877e30,__wbg_get_67b2ba62fc30de12,__wbg_get_b9b93047fe3cf45b,__wbg_get_ece95cf6585650d9,__wbg_getwithrefkey_1dc361bd10053bfe,__wbg_has_a5ea9117f258a0ec,__wbg_instanceof_ArrayBuffer_e14585432e3737fc,__wbg_instanceof_Map_f3469ce2244d2430,__wbg_instanceof_Promise_935168b8f4b49db3,__wbg_instanceof_Uint8Array_17156bcf118086a9,__wbg_isArray_a1eab7e0d067391b,__wbg_isSafeInteger_343e2beeeece1bb0,__wbg_iterator_9a24c88df860dc65,__wbg_keys_5c77a08ddc2fb8a6,__wbg_length_a446193dc22c12f8,__wbg_length_e2d2a49132c1b256,__wbg_msCrypto_2ac4d17c4748234a,__wbg_new0_f788a2397c7ca929,__wbg_new_23a2665fac83c611,__wbg_new_405e22f390576ce2,__wbg_new_5e0be73521bc8c17,__wbg_new_78feb108b6472713,__wbg_new_a12002a7f91c75be,__wbg_newnoargs_105ed471475aaf50,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a,__wbg_newwithlength_a381634e90c276d4,__wbg_next_25feadfc0913fea9,__wbg_next_6574e1a8a62d1055,__wbg_node_ecc8306b9857f33d,__wbg_now_7fd00a794a07d388,__wbg_now_807e54c39636c349,__wbg_now_b3f7572f6ef3d3a9,__wbg_process_5cff2739921be718,__wbg_push_737cfc8c1432c2c6,__wbg_queueMicrotask_98e746b9f850fe3d,__wbg_queueMicrotask_c847cc8372bec908,__wbg_randomFillSync_d3c85af7e31cf1f8,__wbg_require_0c566c6f2eef6c79,__wbg_resolve_4851785c9c5f573d,__wbg_setTimeout_5d6a1d4fc51ea450,__wbg_set_37837023f3d740e8,__wbg_set_3f1d0b984ed272ed,__wbg_set_65595bdd868b3009,__wbg_set_8fc6bf8a5b1071d1,__wbg_set_bb8cecf6a62b9f46,__wbg_set_wasm,__wbg_static_accessor_GLOBAL_88a902d13a557d07,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,__wbg_static_accessor_SELF_37c5d418e4bf5819,__wbg_static_accessor_WINDOW_5de37043a91a9c40,__wbg_subarray_aa9065fa9dc5df96,__wbg_then_44b73946d2fb3e7d,__wbg_then_48b406749878a531,__wbg_valueOf_7392193dd78c6b97,__wbg_value_cd1ffa7b1ab794f1,__wbg_versions_a8e5a362e1f16442,__wbindgen_as_number,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper7311,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_init_externref_table,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";var
|
2
|
-
${n.stack}`:_}const v=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{o.__wbindgen_export_2.get(n.dtor)(n.a,n.b)});function Q(n,e,t,_){const c={a:n,b:e,cnt:1,dtor:t},f=(...u)=>{c.cnt++;const s=c.a;c.a=0;try{return _(s,c.b,...u)}finally{--c.cnt===0?(o.__wbindgen_export_2.get(c.dtor)(s,c.b),v.unregister(c)):c.a=s}};return f.original=c,v.register(f,c,c),f}function H(n,e,t){o._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h92ff5ab9e3740637(n,e,i(t))}function G(){const n=o.getBuildTimeInfo();return g(n)}function K(n){try{const f=o.__wbindgen_add_to_stack_pointer(-16);var e=x(n)?0:b(n,o.__wbindgen_malloc,o.__wbindgen_realloc),t=a;o.debug_panic(f,e,t);var _=d().getInt32(f+4*0,!0),c=d().getInt32(f+4*1,!0);if(c)throw g(_)}finally{o.__wbindgen_add_to_stack_pointer(16)}}function l(n,e){try{return n.apply(this,e)}catch(t){o.__wbindgen_exn_store(i(t))}}function X(n,e,t,_){o.wasm_bindgen__convert__closures__invoke2_mut__h2dd59201d446cc9a(n,e,i(t),i(_))}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>o.__wbg_queryengine_free(n>>>0,1));class Y{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),e}free(){const e=this.__destroy_into_raw();o.__wbg_queryengine_free(e,0)}constructor(e,t,_){try{const s=o.__wbindgen_add_to_stack_pointer(-16);o.queryengine_new(s,i(e),i(t),i(_));var c=d().getInt32(s+4*0,!0),f=d().getInt32(s+4*1,!0),u=d().getInt32(s+4*2,!0);if(u)throw g(f);return this.__wbg_ptr=c>>>0,F.register(this,this.__wbg_ptr,this),this}finally{o.__wbindgen_add_to_stack_pointer(16)}}connect(e,t){const _=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a,f=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),u=a,s=o.queryengine_connect(this.__wbg_ptr,_,c,f,u);return g(s)}disconnect(e,t){const _=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a,f=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),u=a,s=o.queryengine_disconnect(this.__wbg_ptr,_,c,f,u);return g(s)}query(e,t,_,c){const f=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),u=a,s=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),w=a;var y=x(_)?0:b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),h=a;const R=b(c,o.__wbindgen_malloc,o.__wbindgen_realloc),D=a,M=o.queryengine_query(this.__wbg_ptr,f,u,s,w,y,h,R,D);return g(M)}startTransaction(e,t,_){const c=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a,u=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),s=a,w=b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),y=a,h=o.queryengine_startTransaction(this.__wbg_ptr,c,f,u,s,w,y);return g(h)}commitTransaction(e,t,_){const c=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a,u=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),s=a,w=b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),y=a,h=o.queryengine_commitTransaction(this.__wbg_ptr,c,f,u,s,w,y);return g(h)}rollbackTransaction(e,t,_){const c=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a,u=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),s=a,w=b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),y=a,h=o.queryengine_rollbackTransaction(this.__wbg_ptr,c,f,u,s,w,y);return g(h)}metrics(e){const t=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),_=a,c=o.queryengine_metrics(this.__wbg_ptr,t,_);return g(c)}trace(e){const t=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),_=a,c=o.queryengine_trace(this.__wbg_ptr,t,_);return g(c)}}function Z(n,e){const t=r(e),_=typeof t=="string"?t:void 0;var c=x(_)?0:b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a;d().setInt32(n+4*1,f,!0),d().setInt32(n+4*0,c,!0)}function nn(n,e){try{var t={a:n,b:e},_=(f,u)=>{const s=t.a;t.a=0;try{return X(s,t.b,f,u)}finally{t.a=s}};const c=new Promise(_);return i(c)}finally{t.a=t.b=0}}function en(n,e){return setTimeout(r(n),e>>>0)}function tn(n,e){const t=m(n,e);return i(t)}function rn(n,e){const t=new Error(m(n,e));return i(t)}function _n(n){const e=r(n);return i(e)}function on(n){return r(n)===void 0}function cn(){return l(function(n,e){return Reflect.has(r(n),r(e))},arguments)}function un(){return l(function(n,e){const t=JSON.parse(m(n,e));return i(t)},arguments)}function sn(){return i(new Date)}function fn(n){return r(n).getTime()}function an(n){g(n)}function bn(n){return r(n).now()}function gn(){return Date.now()}function ln(n){const e=Object.keys(r(n));return i(e)}function dn(n){return r(n).length}function wn(n){let e;try{e=r(n)instanceof Promise}catch{e=!1}return e}function pn(n){const e=r(n);return typeof e=="object"&&e!==null}function xn(){return i(Symbol.iterator)}function mn(n){const e=r(n);return typeof e=="boolean"?e?1:0:2}function yn(n){return typeof r(n)=="bigint"}function hn(n,e){const t=r(e),_=typeof t=="number"?t:void 0;d().setFloat64(n+8*1,x(_)?0:_,!0),d().setInt32(n+4*0,!x(_),!0)}function Tn(n){return i(n)}function In(n,e){return r(n)in r(e)}function Sn(n){const e=BigInt.asUintN(64,n);return i(e)}function jn(n,e){return r(n)===r(e)}function An(n){return i(n)}function On(){const n=new Array;return i(n)}function qn(n,e,t){r(n)[e>>>0]=g(t)}function kn(){return i(new Map)}function En(){const n=new Object;return i(n)}function vn(n,e,t){const _=r(n).set(r(e),r(t));return i(_)}function Fn(n){return typeof r(n)=="string"}function Rn(n,e,t){r(n)[g(e)]=g(t)}function Dn(n,e){const t=r(n)[r(e)];return i(t)}function Mn(n,e){return r(n).push(r(e))}function Un(n,e,t,_){const c=new RegExp(m(n,e),m(t,_));return i(c)}function Bn(n,e,t){const _=r(n).exec(m(e,t));return x(_)?0:i(_)}function Nn(){return l(function(n,e){const t=r(n)[g(e)];return i(t)},arguments)}function Cn(n,e){const t=String(r(e)),_=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,_,!0)}function $n(){const n=o.memory;return i(n)}function Vn(n){const e=r(n).buffer;return i(e)}function zn(n,e,t){const _=new Uint8Array(r(n),e>>>0,t>>>0);return i(_)}function Ln(n){const e=new Uint8Array(r(n));return i(e)}function Pn(n,e,t){const _=r(n).subarray(e>>>0,t>>>0);return i(_)}function Wn(){return l(function(n,e){r(n).getRandomValues(r(e))},arguments)}function Jn(){return l(function(n,e){r(n).randomFillSync(g(e))},arguments)}function Qn(n){const e=r(n).crypto;return i(e)}function Hn(n){const e=r(n).process;return i(e)}function Gn(n){const e=r(n).versions;return i(e)}function Kn(n){const e=r(n).node;return i(e)}function Xn(){return l(function(){const n=module.require;return i(n)},arguments)}function Yn(n){const e=r(n).msCrypto;return i(e)}function Zn(n){const e=new Uint8Array(n>>>0);return i(e)}function ne(n){return typeof r(n)=="function"}function ee(){return l(function(n,e){const t=r(n).call(r(e));return i(t)},arguments)}function te(n,e){const t=r(n)[e>>>0];return i(t)}function re(n){return r(n).valueOf()}function _e(){return l(function(n){const e=r(n).next();return i(e)},arguments)}function oe(n){return r(n).done}function ce(n){const e=r(n).value;return i(e)}function ie(n){const e=r(n).next;return i(e)}function ue(){return l(function(n,e){const t=Reflect.get(r(n),r(e));return i(t)},arguments)}function se(){return l(function(){const n=self.self;return i(n)},arguments)}function fe(){return l(function(){const n=window.window;return i(n)},arguments)}function ae(){return l(function(){const n=globalThis.globalThis;return i(n)},arguments)}function be(){return l(function(){const n=global.global;return i(n)},arguments)}function ge(n,e){const t=new S(m(n,e));return i(t)}function le(n){return Array.isArray(r(n))}function de(){return l(function(n,e,t){const _=r(n).call(r(e),r(t));return i(_)},arguments)}function we(n){return Number.isSafeInteger(r(n))}function pe(){return l(function(n,e,t){return Reflect.set(r(n),r(e),r(t))},arguments)}function xe(){return l(function(n){const e=JSON.stringify(r(n));return i(e)},arguments)}function me(n,e,t){r(n).set(r(e),t>>>0)}function ye(n){return r(n).length}function he(){return l(function(){return Date.now()},arguments)}function Te(n,e){return r(n)==r(e)}function Ie(n){let e;try{e=r(n)instanceof Uint8Array}catch{e=!1}return e}function Se(n){let e;try{e=r(n)instanceof ArrayBuffer}catch{e=!1}return e}function je(n){const e=Object.entries(r(n));return i(e)}function Ae(n,e){throw new Error(m(n,e))}function Oe(n,e){const t=r(e),_=typeof t=="bigint"?t:void 0;d().setBigInt64(n+8*1,x(_)?BigInt(0):_,!0),d().setInt32(n+4*0,!x(_),!0)}function qe(n,e){const t=k(r(e)),_=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,_,!0)}function ke(n){const e=g(n).original;return e.cnt--==1?(e.a=0,!0):!1}function Ee(n,e){const t=r(n).then(r(e));return i(t)}function ve(n,e,t){const _=r(n).then(r(e),r(t));return i(_)}function Fe(n){const e=Promise.resolve(r(n));return i(e)}function Re(n,e,t){const _=Q(n,e,552,H);return i(_)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_b7b08af79b0b0974,__wbg_call_1084a111329e68ce,__wbg_call_89af060b4e1523f2,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bfda7aa8f252b39f,__wbg_entries_7a0e06255456ebcd,__wbg_exec_a29a4ce5544bd3be,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_91058879093a1589,__wbg_get_224d16597dbbfd96,__wbg_get_3baa728f9d58d3f6,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_86b222e13bdf32ed,__wbg_global_e5a3fe56f8be9485,__wbg_has_4bfbc01db38743f7,__wbg_instanceof_ArrayBuffer_61dfc3198373c902,__wbg_instanceof_Promise_ae8c7ffdec83f2ae,__wbg_instanceof_Uint8Array_247a91427532499e,__wbg_isArray_8364a5371e9737d8,__wbg_isSafeInteger_7f1ed56200d90674,__wbg_iterator_888179a48810a9fe,__wbg_keys_7840ae453e408eab,__wbg_length_8339fcf5d8ecd12e,__wbg_length_ae22078168b726f5,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_65387337a95cf44d,__wbg_new_13847c66f41dda63,__wbg_new_525245e2b9901204,__wbg_new_8608a2b51a5f6737,__wbg_new_a220cf903aa02ca2,__wbg_new_b85e72ed1bfd57f9,__wbg_new_ea1883e1e5e86686,__wbg_newnoargs_76313bd6ff35d0f2,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9,__wbg_newwithlength_ec548f448387c968,__wbg_next_de3e9db4440638b2,__wbg_next_f9cb570345655b9a,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_8ed1a4454e40ecd1,__wbg_now_b7a162010a9e75b4,__wbg_parse_52202f117ec9ecfa,__wbg_process_5b786e71d465a513,__wbg_push_37c89022f34c01ca,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_570458cb99d56a43,__wbg_self_3093d5d1f7bcb682,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_49185437f0ab06f8,__wbg_set_673dda6c73d19609,__wbg_set_841ac57cff3d672b,__wbg_set_d1e79e2388520f18,__wbg_set_eacc7d73fefaafdf,__wbg_set_wasm,__wbg_stringify_bbf45426c92a6bf5,__wbg_subarray_7c2e3576afe181d1,__wbg_then_876bb3c633745cc6,__wbg_then_95e6edc0f89b73b1,__wbg_valueOf_c759749a331da0c0,__wbg_value_6d39332ab4788d86,__wbg_versions_c2ab80650590b6a2,__wbg_window_3bcfc4d31bc012f8,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper7298,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
1
|
+
"use strict";var S=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var B=(e,t)=>{for(var n in t)S(e,n,{get:t[n],enumerable:!0})},U=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let _ of D(t))!R.call(e,_)&&_!==n&&S(e,_,{get:()=>t[_],enumerable:!(r=k(t,_))||r.enumerable});return e};var L=e=>U(S({},"__esModule",{value:!0}),e);var Ft={};B(Ft,{QueryEngine:()=>Q,__wbg_String_8f0eb39a4a4c2f66:()=>H,__wbg_buffer_609cc3eee51ed158:()=>J,__wbg_call_672a4d21634d4a24:()=>K,__wbg_call_7cccdd69e0791ae2:()=>X,__wbg_crypto_805be4ce92f1e370:()=>Y,__wbg_done_769e5ede4b31c67b:()=>Z,__wbg_entries_3265d4158b33e5dc:()=>ee,__wbg_exec_3e2d2d0644c927df:()=>te,__wbg_getRandomValues_f6a868620c8bab49:()=>ne,__wbg_getTime_46267b1c24877e30:()=>re,__wbg_get_67b2ba62fc30de12:()=>oe,__wbg_get_b9b93047fe3cf45b:()=>_e,__wbg_get_ece95cf6585650d9:()=>ce,__wbg_getwithrefkey_1dc361bd10053bfe:()=>ie,__wbg_has_a5ea9117f258a0ec:()=>ue,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:()=>se,__wbg_instanceof_Map_f3469ce2244d2430:()=>fe,__wbg_instanceof_Promise_935168b8f4b49db3:()=>be,__wbg_instanceof_Uint8Array_17156bcf118086a9:()=>ae,__wbg_isArray_a1eab7e0d067391b:()=>ge,__wbg_isSafeInteger_343e2beeeece1bb0:()=>le,__wbg_iterator_9a24c88df860dc65:()=>de,__wbg_keys_5c77a08ddc2fb8a6:()=>we,__wbg_length_a446193dc22c12f8:()=>pe,__wbg_length_e2d2a49132c1b256:()=>xe,__wbg_msCrypto_2ac4d17c4748234a:()=>ye,__wbg_new0_f788a2397c7ca929:()=>me,__wbg_new_23a2665fac83c611:()=>he,__wbg_new_405e22f390576ce2:()=>Te,__wbg_new_5e0be73521bc8c17:()=>qe,__wbg_new_63847613cde5d4bc:()=>Se,__wbg_new_78feb108b6472713:()=>Ae,__wbg_new_a12002a7f91c75be:()=>Ie,__wbg_newnoargs_105ed471475aaf50:()=>Ee,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:()=>Oe,__wbg_newwithlength_a381634e90c276d4:()=>Fe,__wbg_next_25feadfc0913fea9:()=>Me,__wbg_next_6574e1a8a62d1055:()=>je,__wbg_node_ecc8306b9857f33d:()=>ke,__wbg_now_7fd00a794a07d388:()=>De,__wbg_now_807e54c39636c349:()=>Re,__wbg_now_b3f7572f6ef3d3a9:()=>Be,__wbg_process_5cff2739921be718:()=>Ue,__wbg_push_737cfc8c1432c2c6:()=>Le,__wbg_queueMicrotask_98e746b9f850fe3d:()=>ve,__wbg_queueMicrotask_c847cc8372bec908:()=>Ne,__wbg_randomFillSync_d3c85af7e31cf1f8:()=>$e,__wbg_require_0c566c6f2eef6c79:()=>Ce,__wbg_resolve_4851785c9c5f573d:()=>Ve,__wbg_setTimeout_5d6a1d4fc51ea450:()=>ze,__wbg_set_37837023f3d740e8:()=>We,__wbg_set_3f1d0b984ed272ed:()=>Pe,__wbg_set_65595bdd868b3009:()=>Ge,__wbg_set_8fc6bf8a5b1071d1:()=>Qe,__wbg_set_bb8cecf6a62b9f46:()=>He,__wbg_set_wasm:()=>v,__wbg_static_accessor_GLOBAL_88a902d13a557d07:()=>Je,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:()=>Ke,__wbg_static_accessor_SELF_37c5d418e4bf5819:()=>Xe,__wbg_static_accessor_WINDOW_5de37043a91a9c40:()=>Ye,__wbg_subarray_aa9065fa9dc5df96:()=>Ze,__wbg_then_44b73946d2fb3e7d:()=>et,__wbg_then_48b406749878a531:()=>tt,__wbg_valueOf_7392193dd78c6b97:()=>nt,__wbg_value_cd1ffa7b1ab794f1:()=>rt,__wbg_versions_a8e5a362e1f16442:()=>ot,__wbindgen_as_number:()=>_t,__wbindgen_bigint_from_i64:()=>ct,__wbindgen_bigint_from_u64:()=>it,__wbindgen_bigint_get_as_i64:()=>ut,__wbindgen_boolean_get:()=>st,__wbindgen_cb_drop:()=>ft,__wbindgen_closure_wrapper7358:()=>bt,__wbindgen_debug_string:()=>at,__wbindgen_error_new:()=>gt,__wbindgen_in:()=>lt,__wbindgen_init_externref_table:()=>dt,__wbindgen_is_bigint:()=>wt,__wbindgen_is_function:()=>pt,__wbindgen_is_object:()=>xt,__wbindgen_is_string:()=>yt,__wbindgen_is_undefined:()=>mt,__wbindgen_jsval_eq:()=>ht,__wbindgen_jsval_loose_eq:()=>Tt,__wbindgen_memory:()=>qt,__wbindgen_number_get:()=>St,__wbindgen_number_new:()=>At,__wbindgen_string_get:()=>It,__wbindgen_string_new:()=>Et,__wbindgen_throw:()=>Ot,debug_panic:()=>W,getBuildTimeInfo:()=>z});module.exports=L(Ft);var m=()=>{};m.prototype=m;let o;function v(e){o=e}let s=0,h=null;function T(){return(h===null||h.byteLength===0)&&(h=new Uint8Array(o.memory.buffer)),h}const N=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let q=new N("utf-8");const $=typeof q.encodeInto=="function"?function(e,t){return q.encodeInto(e,t)}:function(e,t){const n=q.encode(e);return t.set(n),{read:e.length,written:n.length}};function f(e,t,n){if(n===void 0){const u=q.encode(e),b=t(u.length,1)>>>0;return T().subarray(b,b+u.length).set(u),s=u.length,b}let r=e.length,_=t(r,1)>>>0;const i=T();let c=0;for(;c<r;c++){const u=e.charCodeAt(c);if(u>127)break;i[_+c]=u}if(c!==r){c!==0&&(e=e.slice(c)),_=n(_,r,r=c+e.length*3,1)>>>0;const u=T().subarray(_+c,_+r),b=$(e,u);c+=b.written,_=n(_,r,c,1)>>>0}return s=c,_}let p=null;function l(){return(p===null||p.buffer.detached===!0||p.buffer.detached===void 0&&p.buffer!==o.memory.buffer)&&(p=new DataView(o.memory.buffer)),p}function x(e){const t=o.__externref_table_alloc();return o.__wbindgen_export_4.set(t,e),t}function g(e,t){try{return e.apply(this,t)}catch(n){const r=x(n);o.__wbindgen_exn_store(r)}}const C=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let I=new C("utf-8",{ignoreBOM:!0,fatal:!0});I.decode();function w(e,t){return e=e>>>0,I.decode(T().subarray(e,e+t))}function a(e){return e==null}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>{o.__wbindgen_export_5.get(e.dtor)(e.a,e.b)});function V(e,t,n,r){const _={a:e,b:t,cnt:1,dtor:n},i=(...c)=>{_.cnt++;const u=_.a;_.a=0;try{return r(u,_.b,...c)}finally{--_.cnt===0?(o.__wbindgen_export_5.get(_.dtor)(u,_.b),E.unregister(_)):_.a=u}};return i.original=_,E.register(i,_,_),i}function A(e){const t=typeof e;if(t=="number"||t=="boolean"||e==null)return`${e}`;if(t=="string")return`"${e}"`;if(t=="symbol"){const _=e.description;return _==null?"Symbol":`Symbol(${_})`}if(t=="function"){const _=e.name;return typeof _=="string"&&_.length>0?`Function(${_})`:"Function"}if(Array.isArray(e)){const _=e.length;let i="[";_>0&&(i+=A(e[0]));for(let c=1;c<_;c++)i+=", "+A(e[c]);return i+="]",i}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let r;if(n&&n.length>1)r=n[1];else return toString.call(e);if(r=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
2
|
+
${e.stack}`:r}function O(e){const t=o.__wbindgen_export_4.get(e);return o.__externref_table_dealloc(e),t}function z(){return o.getBuildTimeInfo()}function W(e){var t=a(e)?0:f(e,o.__wbindgen_malloc,o.__wbindgen_realloc),n=s;const r=o.debug_panic(t,n);if(r[1])throw O(r[0])}function P(e,t,n){o.closure555_externref_shim(e,t,n)}function G(e,t,n,r){o.closure133_externref_shim(e,t,n,r)}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>o.__wbg_queryengine_free(e>>>0,1));class Q{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),t}free(){const t=this.__destroy_into_raw();o.__wbg_queryengine_free(t,0)}constructor(t,n,r){const _=o.queryengine_new(t,n,r);if(_[2])throw O(_[1]);return this.__wbg_ptr=_[0]>>>0,F.register(this,this.__wbg_ptr,this),this}connect(t,n){const r=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),_=s,i=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),c=s;return o.queryengine_connect(this.__wbg_ptr,r,_,i,c)}disconnect(t,n){const r=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),_=s,i=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),c=s;return o.queryengine_disconnect(this.__wbg_ptr,r,_,i,c)}query(t,n,r,_){const i=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),c=s,u=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),b=s;var d=a(r)?0:f(r,o.__wbindgen_malloc,o.__wbindgen_realloc),y=s;const M=f(_,o.__wbindgen_malloc,o.__wbindgen_realloc),j=s;return o.queryengine_query(this.__wbg_ptr,i,c,u,b,d,y,M,j)}startTransaction(t,n,r){const _=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),i=s,c=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),u=s,b=f(r,o.__wbindgen_malloc,o.__wbindgen_realloc),d=s;return o.queryengine_startTransaction(this.__wbg_ptr,_,i,c,u,b,d)}commitTransaction(t,n,r){const _=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),i=s,c=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),u=s,b=f(r,o.__wbindgen_malloc,o.__wbindgen_realloc),d=s;return o.queryengine_commitTransaction(this.__wbg_ptr,_,i,c,u,b,d)}rollbackTransaction(t,n,r){const _=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),i=s,c=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),u=s,b=f(r,o.__wbindgen_malloc,o.__wbindgen_realloc),d=s;return o.queryengine_rollbackTransaction(this.__wbg_ptr,_,i,c,u,b,d)}metrics(t){const n=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),r=s;return o.queryengine_metrics(this.__wbg_ptr,n,r)}trace(t){const n=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),r=s;return o.queryengine_trace(this.__wbg_ptr,n,r)}}function H(e,t){const n=String(t),r=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),_=s;l().setInt32(e+4*1,_,!0),l().setInt32(e+4*0,r,!0)}function J(e){return e.buffer}function K(){return g(function(e,t){return e.call(t)},arguments)}function X(){return g(function(e,t,n){return e.call(t,n)},arguments)}function Y(e){return e.crypto}function Z(e){return e.done}function ee(e){return Object.entries(e)}function te(e,t,n){const r=e.exec(w(t,n));return a(r)?0:x(r)}function ne(){return g(function(e,t){e.getRandomValues(t)},arguments)}function re(e){return e.getTime()}function oe(){return g(function(e,t){return Reflect.get(e,t)},arguments)}function _e(e,t){return e[t>>>0]}function ce(){return g(function(e,t){return e[t]},arguments)}function ie(e,t){return e[t]}function ue(){return g(function(e,t){return Reflect.has(e,t)},arguments)}function se(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function fe(e){let t;try{t=e instanceof Map}catch{t=!1}return t}function be(e){let t;try{t=e instanceof Promise}catch{t=!1}return t}function ae(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function ge(e){return Array.isArray(e)}function le(e){return Number.isSafeInteger(e)}function de(){return Symbol.iterator}function we(e){return Object.keys(e)}function pe(e){return e.length}function xe(e){return e.length}function ye(e){return e.msCrypto}function me(){return new Date}function he(e,t){try{var n={a:e,b:t},r=(i,c)=>{const u=n.a;n.a=0;try{return G(u,n.b,i,c)}finally{n.a=u}};return new Promise(r)}finally{n.a=n.b=0}}function Te(){return new Object}function qe(){return new Map}function Se(e,t,n,r){return new RegExp(w(e,t),w(n,r))}function Ae(){return new Array}function Ie(e){return new Uint8Array(e)}function Ee(e,t){return new m(w(e,t))}function Oe(e,t,n){return new Uint8Array(e,t>>>0,n>>>0)}function Fe(e){return new Uint8Array(e>>>0)}function Me(e){return e.next}function je(){return g(function(e){return e.next()},arguments)}function ke(e){return e.node}function De(e){return e.now()}function Re(){return Date.now()}function Be(){return g(function(){return Date.now()},arguments)}function Ue(e){return e.process}function Le(e,t){return e.push(t)}function ve(e){queueMicrotask(e)}function Ne(e){return e.queueMicrotask}function $e(){return g(function(e,t){e.randomFillSync(t)},arguments)}function Ce(){return g(function(){return module.require},arguments)}function Ve(e){return Promise.resolve(e)}function ze(e,t){return setTimeout(e,t>>>0)}function We(e,t,n){e[t>>>0]=n}function Pe(e,t,n){e[t]=n}function Ge(e,t,n){e.set(t,n>>>0)}function Qe(e,t,n){return e.set(t,n)}function He(){return g(function(e,t,n){return Reflect.set(e,t,n)},arguments)}function Je(){const e=typeof global>"u"?null:global;return a(e)?0:x(e)}function Ke(){const e=typeof globalThis>"u"?null:globalThis;return a(e)?0:x(e)}function Xe(){const e=typeof self>"u"?null:self;return a(e)?0:x(e)}function Ye(){const e=typeof window>"u"?null:window;return a(e)?0:x(e)}function Ze(e,t,n){return e.subarray(t>>>0,n>>>0)}function et(e,t){return e.then(t)}function tt(e,t,n){return e.then(t,n)}function nt(e){return e.valueOf()}function rt(e){return e.value}function ot(e){return e.versions}function _t(e){return+e}function ct(e){return e}function it(e){return BigInt.asUintN(64,e)}function ut(e,t){const n=t,r=typeof n=="bigint"?n:void 0;l().setBigInt64(e+8*1,a(r)?BigInt(0):r,!0),l().setInt32(e+4*0,!a(r),!0)}function st(e){const t=e;return typeof t=="boolean"?t?1:0:2}function ft(e){const t=e.original;return t.cnt--==1?(t.a=0,!0):!1}function bt(e,t,n){return V(e,t,556,P)}function at(e,t){const n=A(t),r=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),_=s;l().setInt32(e+4*1,_,!0),l().setInt32(e+4*0,r,!0)}function gt(e,t){return new Error(w(e,t))}function lt(e,t){return e in t}function dt(){const e=o.__wbindgen_export_4,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}function wt(e){return typeof e=="bigint"}function pt(e){return typeof e=="function"}function xt(e){const t=e;return typeof t=="object"&&t!==null}function yt(e){return typeof e=="string"}function mt(e){return e===void 0}function ht(e,t){return e===t}function Tt(e,t){return e==t}function qt(){return o.memory}function St(e,t){const n=t,r=typeof n=="number"?n:void 0;l().setFloat64(e+8*1,a(r)?0:r,!0),l().setInt32(e+4*0,!a(r),!0)}function At(e){return e}function It(e,t){const n=t,r=typeof n=="string"?n:void 0;var _=a(r)?0:f(r,o.__wbindgen_malloc,o.__wbindgen_realloc),i=s;l().setInt32(e+4*1,i,!0),l().setInt32(e+4*0,_,!0)}function Et(e,t){return w(e,t)}function Ot(e,t){throw new Error(w(e,t))}0&&(module.exports={QueryEngine,__wbg_String_8f0eb39a4a4c2f66,__wbg_buffer_609cc3eee51ed158,__wbg_call_672a4d21634d4a24,__wbg_call_7cccdd69e0791ae2,__wbg_crypto_805be4ce92f1e370,__wbg_done_769e5ede4b31c67b,__wbg_entries_3265d4158b33e5dc,__wbg_exec_3e2d2d0644c927df,__wbg_getRandomValues_f6a868620c8bab49,__wbg_getTime_46267b1c24877e30,__wbg_get_67b2ba62fc30de12,__wbg_get_b9b93047fe3cf45b,__wbg_get_ece95cf6585650d9,__wbg_getwithrefkey_1dc361bd10053bfe,__wbg_has_a5ea9117f258a0ec,__wbg_instanceof_ArrayBuffer_e14585432e3737fc,__wbg_instanceof_Map_f3469ce2244d2430,__wbg_instanceof_Promise_935168b8f4b49db3,__wbg_instanceof_Uint8Array_17156bcf118086a9,__wbg_isArray_a1eab7e0d067391b,__wbg_isSafeInteger_343e2beeeece1bb0,__wbg_iterator_9a24c88df860dc65,__wbg_keys_5c77a08ddc2fb8a6,__wbg_length_a446193dc22c12f8,__wbg_length_e2d2a49132c1b256,__wbg_msCrypto_2ac4d17c4748234a,__wbg_new0_f788a2397c7ca929,__wbg_new_23a2665fac83c611,__wbg_new_405e22f390576ce2,__wbg_new_5e0be73521bc8c17,__wbg_new_63847613cde5d4bc,__wbg_new_78feb108b6472713,__wbg_new_a12002a7f91c75be,__wbg_newnoargs_105ed471475aaf50,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a,__wbg_newwithlength_a381634e90c276d4,__wbg_next_25feadfc0913fea9,__wbg_next_6574e1a8a62d1055,__wbg_node_ecc8306b9857f33d,__wbg_now_7fd00a794a07d388,__wbg_now_807e54c39636c349,__wbg_now_b3f7572f6ef3d3a9,__wbg_process_5cff2739921be718,__wbg_push_737cfc8c1432c2c6,__wbg_queueMicrotask_98e746b9f850fe3d,__wbg_queueMicrotask_c847cc8372bec908,__wbg_randomFillSync_d3c85af7e31cf1f8,__wbg_require_0c566c6f2eef6c79,__wbg_resolve_4851785c9c5f573d,__wbg_setTimeout_5d6a1d4fc51ea450,__wbg_set_37837023f3d740e8,__wbg_set_3f1d0b984ed272ed,__wbg_set_65595bdd868b3009,__wbg_set_8fc6bf8a5b1071d1,__wbg_set_bb8cecf6a62b9f46,__wbg_set_wasm,__wbg_static_accessor_GLOBAL_88a902d13a557d07,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,__wbg_static_accessor_SELF_37c5d418e4bf5819,__wbg_static_accessor_WINDOW_5de37043a91a9c40,__wbg_subarray_aa9065fa9dc5df96,__wbg_then_44b73946d2fb3e7d,__wbg_then_48b406749878a531,__wbg_valueOf_7392193dd78c6b97,__wbg_value_cd1ffa7b1ab794f1,__wbg_versions_a8e5a362e1f16442,__wbindgen_as_number,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper7358,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_init_externref_table,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";var
|
2
|
-
${n.stack}`:o}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{_.__wbindgen_export_2.get(n.dtor)(n.a,n.b)});function Q(n,t,e,o){const c={a:n,b:t,cnt:1,dtor:e},f=(...u)=>{c.cnt++;const s=c.a;c.a=0;try{return o(s,c.b,...u)}finally{--c.cnt===0?(_.__wbindgen_export_2.get(c.dtor)(s,c.b),E.unregister(c)):c.a=s}};return f.original=c,E.register(f,c,c),f}function H(n,t,e){_._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h92ff5ab9e3740637(n,t,i(e))}function G(){const n=_.getBuildTimeInfo();return g(n)}function K(n){try{const f=_.__wbindgen_add_to_stack_pointer(-16);var t=y(n)?0:b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),e=a;_.debug_panic(f,t,e);var o=d().getInt32(f+4*0,!0),c=d().getInt32(f+4*1,!0);if(c)throw g(o)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function l(n,t){try{return n.apply(this,t)}catch(e){_.__wbindgen_exn_store(i(e))}}function X(n,t,e,o){_.wasm_bindgen__convert__closures__invoke2_mut__h2dd59201d446cc9a(n,t,i(e),i(o))}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>_.__wbg_queryengine_free(n>>>0,1));class Y{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),t}free(){const t=this.__destroy_into_raw();_.__wbg_queryengine_free(t,0)}constructor(t,e,o){try{const s=_.__wbindgen_add_to_stack_pointer(-16);_.queryengine_new(s,i(t),i(e),i(o));var c=d().getInt32(s+4*0,!0),f=d().getInt32(s+4*1,!0),u=d().getInt32(s+4*2,!0);if(u)throw g(f);return this.__wbg_ptr=c>>>0,F.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}connect(t,e){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_connect(this.__wbg_ptr,o,c,f,u);return g(s)}disconnect(t,e){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_disconnect(this.__wbg_ptr,o,c,f,u);return g(s)}query(t,e,o,c){const f=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),w=a;var x=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),m=a;const R=b(c,_.__wbindgen_malloc,_.__wbindgen_realloc),D=a,M=_.queryengine_query(this.__wbg_ptr,f,u,s,w,x,m,R,D);return g(M)}startTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_startTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}commitTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_commitTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}rollbackTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_rollbackTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}metrics(t){const e=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_metrics(this.__wbg_ptr,e,o);return g(c)}trace(t){const e=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_trace(this.__wbg_ptr,e,o);return g(c)}}function Z(n,t){const e=r(t),o=typeof e=="string"?e:void 0;var c=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a;d().setInt32(n+4*1,f,!0),d().setInt32(n+4*0,c,!0)}function nn(n,t){try{var e={a:n,b:t},o=(f,u)=>{const s=e.a;e.a=0;try{return X(s,e.b,f,u)}finally{e.a=s}};const c=new Promise(o);return i(c)}finally{e.a=e.b=0}}function tn(n,t){return setTimeout(r(n),t>>>0)}function en(n,t){const e=T(n,t);return i(e)}function rn(n,t){const e=new Error(T(n,t));return i(e)}function _n(n){const t=r(n);return i(t)}function on(n){return r(n)===void 0}function cn(){return l(function(n,t){return Reflect.has(r(n),r(t))},arguments)}function un(){return l(function(n,t){const e=JSON.parse(T(n,t));return i(e)},arguments)}function sn(){return i(new Date)}function fn(n){return r(n).getTime()}function an(n){return r(n).now()}function bn(){return Date.now()}function gn(n){const t=Object.keys(r(n));return i(t)}function ln(n){return r(n).length}function dn(n){g(n)}function wn(n){let t;try{t=r(n)instanceof Promise}catch{t=!1}return t}function pn(n){const t=r(n);return typeof t=="object"&&t!==null}function xn(){return i(Symbol.iterator)}function mn(n){const t=r(n);return typeof t=="boolean"?t?1:0:2}function yn(n){return typeof r(n)=="bigint"}function hn(n,t){const e=r(t),o=typeof e=="number"?e:void 0;d().setFloat64(n+8*1,y(o)?0:o,!0),d().setInt32(n+4*0,!y(o),!0)}function Tn(n){return i(n)}function In(n,t){return r(n)in r(t)}function Sn(n){const t=BigInt.asUintN(64,n);return i(t)}function jn(n,t){return r(n)===r(t)}function An(n){return i(n)}function On(){const n=new Array;return i(n)}function qn(n,t,e){r(n)[t>>>0]=g(e)}function kn(){return i(new Map)}function vn(){const n=new Object;return i(n)}function En(n,t,e){const o=r(n).set(r(t),r(e));return i(o)}function Fn(n){return typeof r(n)=="string"}function Rn(n,t,e){r(n)[g(t)]=g(e)}function Dn(n,t){const e=r(n)[r(t)];return i(e)}function Mn(n,t){return r(n).push(r(t))}function Un(){return l(function(n,t){const e=r(n)[g(t)];return i(e)},arguments)}function Bn(n,t){const e=String(r(t)),o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,o,!0)}function Nn(){const n=_.memory;return i(n)}function Cn(n){const t=r(n).buffer;return i(t)}function $n(n,t,e){const o=new Uint8Array(r(n),t>>>0,e>>>0);return i(o)}function Vn(n){const t=new Uint8Array(r(n));return i(t)}function zn(n,t,e){const o=r(n).subarray(t>>>0,e>>>0);return i(o)}function Ln(){return l(function(n,t){r(n).getRandomValues(r(t))},arguments)}function Pn(){return l(function(n,t){r(n).randomFillSync(g(t))},arguments)}function Wn(n){const t=r(n).crypto;return i(t)}function Jn(n){const t=r(n).process;return i(t)}function Qn(n){const t=r(n).versions;return i(t)}function Hn(n){const t=r(n).node;return i(t)}function Gn(){return l(function(){const n=module.require;return i(n)},arguments)}function Kn(n){const t=r(n).msCrypto;return i(t)}function Xn(n){const t=new Uint8Array(n>>>0);return i(t)}function Yn(n){return typeof r(n)=="function"}function Zn(){return l(function(n,t){const e=r(n).call(r(t));return i(e)},arguments)}function nt(n,t){const e=r(n)[t>>>0];return i(e)}function tt(n){return r(n).valueOf()}function et(){return l(function(n){const t=r(n).next();return i(t)},arguments)}function rt(n){return r(n).done}function _t(n){const t=r(n).value;return i(t)}function ot(n){const t=r(n).next;return i(t)}function ct(){return l(function(n,t){const e=Reflect.get(r(n),r(t));return i(e)},arguments)}function it(){return l(function(){const n=self.self;return i(n)},arguments)}function ut(){return l(function(){const n=window.window;return i(n)},arguments)}function st(){return l(function(){const n=globalThis.globalThis;return i(n)},arguments)}function ft(){return l(function(){const n=global.global;return i(n)},arguments)}function at(n,t){const e=new S(T(n,t));return i(e)}function bt(n){return Array.isArray(r(n))}function gt(){return l(function(n,t,e){const o=r(n).call(r(t),r(e));return i(o)},arguments)}function lt(n){return Number.isSafeInteger(r(n))}function dt(){return l(function(n,t,e){return Reflect.set(r(n),r(t),r(e))},arguments)}function wt(){return l(function(n){const t=JSON.stringify(r(n));return i(t)},arguments)}function pt(n,t,e){r(n).set(r(t),e>>>0)}function xt(n){return r(n).length}function mt(){return l(function(){return Date.now()},arguments)}function yt(n,t){return r(n)==r(t)}function ht(n){let t;try{t=r(n)instanceof Uint8Array}catch{t=!1}return t}function Tt(n){let t;try{t=r(n)instanceof ArrayBuffer}catch{t=!1}return t}function It(n){const t=Object.entries(r(n));return i(t)}function St(n,t){throw new Error(T(n,t))}function jt(n,t){const e=r(t),o=typeof e=="bigint"?e:void 0;d().setBigInt64(n+8*1,y(o)?BigInt(0):o,!0),d().setInt32(n+4*0,!y(o),!0)}function At(n,t){const e=k(r(t)),o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,o,!0)}function Ot(n){const t=g(n).original;return t.cnt--==1?(t.a=0,!0):!1}function qt(n,t){const e=r(n).then(r(t));return i(e)}function kt(n,t,e){const o=r(n).then(r(t),r(e));return i(o)}function vt(n){const t=Promise.resolve(r(n));return i(t)}function Et(n,t,e){const o=Q(n,t,540,H);return i(o)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_b7b08af79b0b0974,__wbg_call_1084a111329e68ce,__wbg_call_89af060b4e1523f2,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bfda7aa8f252b39f,__wbg_entries_7a0e06255456ebcd,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_91058879093a1589,__wbg_get_224d16597dbbfd96,__wbg_get_3baa728f9d58d3f6,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_86b222e13bdf32ed,__wbg_global_e5a3fe56f8be9485,__wbg_has_4bfbc01db38743f7,__wbg_instanceof_ArrayBuffer_61dfc3198373c902,__wbg_instanceof_Promise_ae8c7ffdec83f2ae,__wbg_instanceof_Uint8Array_247a91427532499e,__wbg_isArray_8364a5371e9737d8,__wbg_isSafeInteger_7f1ed56200d90674,__wbg_iterator_888179a48810a9fe,__wbg_keys_7840ae453e408eab,__wbg_length_8339fcf5d8ecd12e,__wbg_length_ae22078168b726f5,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_65387337a95cf44d,__wbg_new_525245e2b9901204,__wbg_new_8608a2b51a5f6737,__wbg_new_a220cf903aa02ca2,__wbg_new_b85e72ed1bfd57f9,__wbg_new_ea1883e1e5e86686,__wbg_newnoargs_76313bd6ff35d0f2,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9,__wbg_newwithlength_ec548f448387c968,__wbg_next_de3e9db4440638b2,__wbg_next_f9cb570345655b9a,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_8ed1a4454e40ecd1,__wbg_now_b7a162010a9e75b4,__wbg_parse_52202f117ec9ecfa,__wbg_process_5b786e71d465a513,__wbg_push_37c89022f34c01ca,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_570458cb99d56a43,__wbg_self_3093d5d1f7bcb682,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_49185437f0ab06f8,__wbg_set_673dda6c73d19609,__wbg_set_841ac57cff3d672b,__wbg_set_d1e79e2388520f18,__wbg_set_eacc7d73fefaafdf,__wbg_set_wasm,__wbg_stringify_bbf45426c92a6bf5,__wbg_subarray_7c2e3576afe181d1,__wbg_then_876bb3c633745cc6,__wbg_then_95e6edc0f89b73b1,__wbg_valueOf_c759749a331da0c0,__wbg_value_6d39332ab4788d86,__wbg_versions_c2ab80650590b6a2,__wbg_window_3bcfc4d31bc012f8,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper6982,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
1
|
+
"use strict";var S=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var B=(e,t)=>{for(var n in t)S(e,n,{get:t[n],enumerable:!0})},U=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let _ of D(t))!R.call(e,_)&&_!==n&&S(e,_,{get:()=>t[_],enumerable:!(o=k(t,_))||o.enumerable});return e};var L=e=>U(S({},"__esModule",{value:!0}),e);var Et={};B(Et,{QueryEngine:()=>Q,__wbg_String_8f0eb39a4a4c2f66:()=>H,__wbg_buffer_609cc3eee51ed158:()=>J,__wbg_call_672a4d21634d4a24:()=>K,__wbg_call_7cccdd69e0791ae2:()=>X,__wbg_crypto_805be4ce92f1e370:()=>Y,__wbg_done_769e5ede4b31c67b:()=>Z,__wbg_entries_3265d4158b33e5dc:()=>ee,__wbg_getRandomValues_f6a868620c8bab49:()=>te,__wbg_getTime_46267b1c24877e30:()=>ne,__wbg_get_67b2ba62fc30de12:()=>re,__wbg_get_b9b93047fe3cf45b:()=>oe,__wbg_get_ece95cf6585650d9:()=>_e,__wbg_getwithrefkey_1dc361bd10053bfe:()=>ce,__wbg_has_a5ea9117f258a0ec:()=>ie,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:()=>ue,__wbg_instanceof_Map_f3469ce2244d2430:()=>se,__wbg_instanceof_Promise_935168b8f4b49db3:()=>fe,__wbg_instanceof_Uint8Array_17156bcf118086a9:()=>ae,__wbg_isArray_a1eab7e0d067391b:()=>be,__wbg_isSafeInteger_343e2beeeece1bb0:()=>le,__wbg_iterator_9a24c88df860dc65:()=>ge,__wbg_keys_5c77a08ddc2fb8a6:()=>de,__wbg_length_a446193dc22c12f8:()=>we,__wbg_length_e2d2a49132c1b256:()=>pe,__wbg_msCrypto_2ac4d17c4748234a:()=>xe,__wbg_new0_f788a2397c7ca929:()=>ye,__wbg_new_23a2665fac83c611:()=>me,__wbg_new_405e22f390576ce2:()=>he,__wbg_new_5e0be73521bc8c17:()=>Te,__wbg_new_78feb108b6472713:()=>qe,__wbg_new_a12002a7f91c75be:()=>Se,__wbg_newnoargs_105ed471475aaf50:()=>Ae,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:()=>Ie,__wbg_newwithlength_a381634e90c276d4:()=>Ee,__wbg_next_25feadfc0913fea9:()=>Oe,__wbg_next_6574e1a8a62d1055:()=>Fe,__wbg_node_ecc8306b9857f33d:()=>Me,__wbg_now_7fd00a794a07d388:()=>je,__wbg_now_807e54c39636c349:()=>ke,__wbg_now_b3f7572f6ef3d3a9:()=>De,__wbg_process_5cff2739921be718:()=>Re,__wbg_push_737cfc8c1432c2c6:()=>Be,__wbg_queueMicrotask_98e746b9f850fe3d:()=>Ue,__wbg_queueMicrotask_c847cc8372bec908:()=>Le,__wbg_randomFillSync_d3c85af7e31cf1f8:()=>ve,__wbg_require_0c566c6f2eef6c79:()=>Ne,__wbg_resolve_4851785c9c5f573d:()=>$e,__wbg_setTimeout_5d6a1d4fc51ea450:()=>Ce,__wbg_set_37837023f3d740e8:()=>Ve,__wbg_set_3f1d0b984ed272ed:()=>ze,__wbg_set_65595bdd868b3009:()=>We,__wbg_set_8fc6bf8a5b1071d1:()=>Pe,__wbg_set_bb8cecf6a62b9f46:()=>Ge,__wbg_set_wasm:()=>v,__wbg_static_accessor_GLOBAL_88a902d13a557d07:()=>Qe,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:()=>He,__wbg_static_accessor_SELF_37c5d418e4bf5819:()=>Je,__wbg_static_accessor_WINDOW_5de37043a91a9c40:()=>Ke,__wbg_subarray_aa9065fa9dc5df96:()=>Xe,__wbg_then_44b73946d2fb3e7d:()=>Ye,__wbg_then_48b406749878a531:()=>Ze,__wbg_valueOf_7392193dd78c6b97:()=>et,__wbg_value_cd1ffa7b1ab794f1:()=>tt,__wbg_versions_a8e5a362e1f16442:()=>nt,__wbindgen_as_number:()=>rt,__wbindgen_bigint_from_i64:()=>ot,__wbindgen_bigint_from_u64:()=>_t,__wbindgen_bigint_get_as_i64:()=>ct,__wbindgen_boolean_get:()=>it,__wbindgen_cb_drop:()=>ut,__wbindgen_closure_wrapper7047:()=>st,__wbindgen_debug_string:()=>ft,__wbindgen_error_new:()=>at,__wbindgen_in:()=>bt,__wbindgen_init_externref_table:()=>lt,__wbindgen_is_bigint:()=>gt,__wbindgen_is_function:()=>dt,__wbindgen_is_object:()=>wt,__wbindgen_is_string:()=>pt,__wbindgen_is_undefined:()=>xt,__wbindgen_jsval_eq:()=>yt,__wbindgen_jsval_loose_eq:()=>mt,__wbindgen_memory:()=>ht,__wbindgen_number_get:()=>Tt,__wbindgen_number_new:()=>qt,__wbindgen_string_get:()=>St,__wbindgen_string_new:()=>At,__wbindgen_throw:()=>It,debug_panic:()=>W,getBuildTimeInfo:()=>z});module.exports=L(Et);var y=()=>{};y.prototype=y;let r;function v(e){r=e}let s=0,m=null;function h(){return(m===null||m.byteLength===0)&&(m=new Uint8Array(r.memory.buffer)),m}const N=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let T=new N("utf-8");const $=typeof T.encodeInto=="function"?function(e,t){return T.encodeInto(e,t)}:function(e,t){const n=T.encode(e);return t.set(n),{read:e.length,written:n.length}};function f(e,t,n){if(n===void 0){const u=T.encode(e),a=t(u.length,1)>>>0;return h().subarray(a,a+u.length).set(u),s=u.length,a}let o=e.length,_=t(o,1)>>>0;const i=h();let c=0;for(;c<o;c++){const u=e.charCodeAt(c);if(u>127)break;i[_+c]=u}if(c!==o){c!==0&&(e=e.slice(c)),_=n(_,o,o=c+e.length*3,1)>>>0;const u=h().subarray(_+c,_+o),a=$(e,u);c+=a.written,_=n(_,o,c,1)>>>0}return s=c,_}let w=null;function g(){return(w===null||w.buffer.detached===!0||w.buffer.detached===void 0&&w.buffer!==r.memory.buffer)&&(w=new DataView(r.memory.buffer)),w}function p(e){const t=r.__externref_table_alloc();return r.__wbindgen_export_4.set(t,e),t}function b(e,t){try{return e.apply(this,t)}catch(n){const o=p(n);r.__wbindgen_exn_store(o)}}const C=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let I=new C("utf-8",{ignoreBOM:!0,fatal:!0});I.decode();function q(e,t){return e=e>>>0,I.decode(h().subarray(e,e+t))}function l(e){return e==null}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>{r.__wbindgen_export_5.get(e.dtor)(e.a,e.b)});function V(e,t,n,o){const _={a:e,b:t,cnt:1,dtor:n},i=(...c)=>{_.cnt++;const u=_.a;_.a=0;try{return o(u,_.b,...c)}finally{--_.cnt===0?(r.__wbindgen_export_5.get(_.dtor)(u,_.b),E.unregister(_)):_.a=u}};return i.original=_,E.register(i,_,_),i}function A(e){const t=typeof e;if(t=="number"||t=="boolean"||e==null)return`${e}`;if(t=="string")return`"${e}"`;if(t=="symbol"){const _=e.description;return _==null?"Symbol":`Symbol(${_})`}if(t=="function"){const _=e.name;return typeof _=="string"&&_.length>0?`Function(${_})`:"Function"}if(Array.isArray(e)){const _=e.length;let i="[";_>0&&(i+=A(e[0]));for(let c=1;c<_;c++)i+=", "+A(e[c]);return i+="]",i}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let o;if(n&&n.length>1)o=n[1];else return toString.call(e);if(o=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
2
|
+
${e.stack}`:o}function O(e){const t=r.__wbindgen_export_4.get(e);return r.__externref_table_dealloc(e),t}function z(){return r.getBuildTimeInfo()}function W(e){var t=l(e)?0:f(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=s;const o=r.debug_panic(t,n);if(o[1])throw O(o[0])}function P(e,t,n){r.closure543_externref_shim(e,t,n)}function G(e,t,n,o){r.closure132_externref_shim(e,t,n,o)}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_queryengine_free(e>>>0,1));class Q{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_queryengine_free(t,0)}constructor(t,n,o){const _=r.queryengine_new(t,n,o);if(_[2])throw O(_[1]);return this.__wbg_ptr=_[0]>>>0,F.register(this,this.__wbg_ptr,this),this}connect(t,n){const o=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s,i=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=s;return r.queryengine_connect(this.__wbg_ptr,o,_,i,c)}disconnect(t,n){const o=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s,i=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=s;return r.queryengine_disconnect(this.__wbg_ptr,o,_,i,c)}query(t,n,o,_){const i=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),c=s,u=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),a=s;var d=l(o)?0:f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),x=s;const M=f(_,r.__wbindgen_malloc,r.__wbindgen_realloc),j=s;return r.queryengine_query(this.__wbg_ptr,i,c,u,a,d,x,M,j)}startTransaction(t,n,o){const _=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s,c=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),u=s,a=f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),d=s;return r.queryengine_startTransaction(this.__wbg_ptr,_,i,c,u,a,d)}commitTransaction(t,n,o){const _=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s,c=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),u=s,a=f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),d=s;return r.queryengine_commitTransaction(this.__wbg_ptr,_,i,c,u,a,d)}rollbackTransaction(t,n,o){const _=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s,c=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),u=s,a=f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),d=s;return r.queryengine_rollbackTransaction(this.__wbg_ptr,_,i,c,u,a,d)}metrics(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_metrics(this.__wbg_ptr,n,o)}trace(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_trace(this.__wbg_ptr,n,o)}}function H(e,t){const n=String(t),o=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s;g().setInt32(e+4*1,_,!0),g().setInt32(e+4*0,o,!0)}function J(e){return e.buffer}function K(){return b(function(e,t){return e.call(t)},arguments)}function X(){return b(function(e,t,n){return e.call(t,n)},arguments)}function Y(e){return e.crypto}function Z(e){return e.done}function ee(e){return Object.entries(e)}function te(){return b(function(e,t){e.getRandomValues(t)},arguments)}function ne(e){return e.getTime()}function re(){return b(function(e,t){return Reflect.get(e,t)},arguments)}function oe(e,t){return e[t>>>0]}function _e(){return b(function(e,t){return e[t]},arguments)}function ce(e,t){return e[t]}function ie(){return b(function(e,t){return Reflect.has(e,t)},arguments)}function ue(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function se(e){let t;try{t=e instanceof Map}catch{t=!1}return t}function fe(e){let t;try{t=e instanceof Promise}catch{t=!1}return t}function ae(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function be(e){return Array.isArray(e)}function le(e){return Number.isSafeInteger(e)}function ge(){return Symbol.iterator}function de(e){return Object.keys(e)}function we(e){return e.length}function pe(e){return e.length}function xe(e){return e.msCrypto}function ye(){return new Date}function me(e,t){try{var n={a:e,b:t},o=(i,c)=>{const u=n.a;n.a=0;try{return G(u,n.b,i,c)}finally{n.a=u}};return new Promise(o)}finally{n.a=n.b=0}}function he(){return new Object}function Te(){return new Map}function qe(){return new Array}function Se(e){return new Uint8Array(e)}function Ae(e,t){return new y(q(e,t))}function Ie(e,t,n){return new Uint8Array(e,t>>>0,n>>>0)}function Ee(e){return new Uint8Array(e>>>0)}function Oe(e){return e.next}function Fe(){return b(function(e){return e.next()},arguments)}function Me(e){return e.node}function je(e){return e.now()}function ke(){return Date.now()}function De(){return b(function(){return Date.now()},arguments)}function Re(e){return e.process}function Be(e,t){return e.push(t)}function Ue(e){queueMicrotask(e)}function Le(e){return e.queueMicrotask}function ve(){return b(function(e,t){e.randomFillSync(t)},arguments)}function Ne(){return b(function(){return module.require},arguments)}function $e(e){return Promise.resolve(e)}function Ce(e,t){return setTimeout(e,t>>>0)}function Ve(e,t,n){e[t>>>0]=n}function ze(e,t,n){e[t]=n}function We(e,t,n){e.set(t,n>>>0)}function Pe(e,t,n){return e.set(t,n)}function Ge(){return b(function(e,t,n){return Reflect.set(e,t,n)},arguments)}function Qe(){const e=typeof global>"u"?null:global;return l(e)?0:p(e)}function He(){const e=typeof globalThis>"u"?null:globalThis;return l(e)?0:p(e)}function Je(){const e=typeof self>"u"?null:self;return l(e)?0:p(e)}function Ke(){const e=typeof window>"u"?null:window;return l(e)?0:p(e)}function Xe(e,t,n){return e.subarray(t>>>0,n>>>0)}function Ye(e,t){return e.then(t)}function Ze(e,t,n){return e.then(t,n)}function et(e){return e.valueOf()}function tt(e){return e.value}function nt(e){return e.versions}function rt(e){return+e}function ot(e){return e}function _t(e){return BigInt.asUintN(64,e)}function ct(e,t){const n=t,o=typeof n=="bigint"?n:void 0;g().setBigInt64(e+8*1,l(o)?BigInt(0):o,!0),g().setInt32(e+4*0,!l(o),!0)}function it(e){const t=e;return typeof t=="boolean"?t?1:0:2}function ut(e){const t=e.original;return t.cnt--==1?(t.a=0,!0):!1}function st(e,t,n){return V(e,t,544,P)}function ft(e,t){const n=A(t),o=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s;g().setInt32(e+4*1,_,!0),g().setInt32(e+4*0,o,!0)}function at(e,t){return new Error(q(e,t))}function bt(e,t){return e in t}function lt(){const e=r.__wbindgen_export_4,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}function gt(e){return typeof e=="bigint"}function dt(e){return typeof e=="function"}function wt(e){const t=e;return typeof t=="object"&&t!==null}function pt(e){return typeof e=="string"}function xt(e){return e===void 0}function yt(e,t){return e===t}function mt(e,t){return e==t}function ht(){return r.memory}function Tt(e,t){const n=t,o=typeof n=="number"?n:void 0;g().setFloat64(e+8*1,l(o)?0:o,!0),g().setInt32(e+4*0,!l(o),!0)}function qt(e){return e}function St(e,t){const n=t,o=typeof n=="string"?n:void 0;var _=l(o)?0:f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s;g().setInt32(e+4*1,i,!0),g().setInt32(e+4*0,_,!0)}function At(e,t){return q(e,t)}function It(e,t){throw new Error(q(e,t))}0&&(module.exports={QueryEngine,__wbg_String_8f0eb39a4a4c2f66,__wbg_buffer_609cc3eee51ed158,__wbg_call_672a4d21634d4a24,__wbg_call_7cccdd69e0791ae2,__wbg_crypto_805be4ce92f1e370,__wbg_done_769e5ede4b31c67b,__wbg_entries_3265d4158b33e5dc,__wbg_getRandomValues_f6a868620c8bab49,__wbg_getTime_46267b1c24877e30,__wbg_get_67b2ba62fc30de12,__wbg_get_b9b93047fe3cf45b,__wbg_get_ece95cf6585650d9,__wbg_getwithrefkey_1dc361bd10053bfe,__wbg_has_a5ea9117f258a0ec,__wbg_instanceof_ArrayBuffer_e14585432e3737fc,__wbg_instanceof_Map_f3469ce2244d2430,__wbg_instanceof_Promise_935168b8f4b49db3,__wbg_instanceof_Uint8Array_17156bcf118086a9,__wbg_isArray_a1eab7e0d067391b,__wbg_isSafeInteger_343e2beeeece1bb0,__wbg_iterator_9a24c88df860dc65,__wbg_keys_5c77a08ddc2fb8a6,__wbg_length_a446193dc22c12f8,__wbg_length_e2d2a49132c1b256,__wbg_msCrypto_2ac4d17c4748234a,__wbg_new0_f788a2397c7ca929,__wbg_new_23a2665fac83c611,__wbg_new_405e22f390576ce2,__wbg_new_5e0be73521bc8c17,__wbg_new_78feb108b6472713,__wbg_new_a12002a7f91c75be,__wbg_newnoargs_105ed471475aaf50,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a,__wbg_newwithlength_a381634e90c276d4,__wbg_next_25feadfc0913fea9,__wbg_next_6574e1a8a62d1055,__wbg_node_ecc8306b9857f33d,__wbg_now_7fd00a794a07d388,__wbg_now_807e54c39636c349,__wbg_now_b3f7572f6ef3d3a9,__wbg_process_5cff2739921be718,__wbg_push_737cfc8c1432c2c6,__wbg_queueMicrotask_98e746b9f850fe3d,__wbg_queueMicrotask_c847cc8372bec908,__wbg_randomFillSync_d3c85af7e31cf1f8,__wbg_require_0c566c6f2eef6c79,__wbg_resolve_4851785c9c5f573d,__wbg_setTimeout_5d6a1d4fc51ea450,__wbg_set_37837023f3d740e8,__wbg_set_3f1d0b984ed272ed,__wbg_set_65595bdd868b3009,__wbg_set_8fc6bf8a5b1071d1,__wbg_set_bb8cecf6a62b9f46,__wbg_set_wasm,__wbg_static_accessor_GLOBAL_88a902d13a557d07,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,__wbg_static_accessor_SELF_37c5d418e4bf5819,__wbg_static_accessor_WINDOW_5de37043a91a9c40,__wbg_subarray_aa9065fa9dc5df96,__wbg_then_44b73946d2fb3e7d,__wbg_then_48b406749878a531,__wbg_valueOf_7392193dd78c6b97,__wbg_value_cd1ffa7b1ab794f1,__wbg_versions_a8e5a362e1f16442,__wbindgen_as_number,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper7047,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_init_externref_table,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
@@ -665,13 +665,13 @@ export declare interface DecimalJsLike {
|
|
665
665
|
|
666
666
|
export declare type DefaultArgs = InternalArgs<{}, {}, {}, {}>;
|
667
667
|
|
668
|
-
export declare type DefaultSelection<Payload extends OperationPayload, Args = {},
|
668
|
+
export declare type DefaultSelection<Payload extends OperationPayload, Args = {}, GlobalOmitOptions = {}> = Args extends {
|
669
669
|
omit: infer LocalOmit;
|
670
670
|
} ? ApplyOmit<UnwrapPayload<{
|
671
671
|
default: Payload;
|
672
|
-
}>['default'], PatchFlat<LocalOmit, ExtractGlobalOmit<
|
672
|
+
}>['default'], PatchFlat<LocalOmit, ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>> : ApplyOmit<UnwrapPayload<{
|
673
673
|
default: Payload;
|
674
|
-
}>['default'], ExtractGlobalOmit<
|
674
|
+
}>['default'], ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>;
|
675
675
|
|
676
676
|
export declare function defineDmmfProperty(target: object, runtimeDataModel: RuntimeDataModel): void;
|
677
677
|
|
@@ -1509,12 +1509,12 @@ export declare type GetCountResult<A> = A extends {
|
|
1509
1509
|
|
1510
1510
|
declare function getExtensionContext<T>(that: T): Context_2<T>;
|
1511
1511
|
|
1512
|
-
export declare type GetFindResult<P extends OperationPayload, A,
|
1512
|
+
export declare type GetFindResult<P extends OperationPayload, A, GlobalOmitOptions> = Equals<A, any> extends 1 ? DefaultSelection<P, A, GlobalOmitOptions> : A extends {
|
1513
1513
|
select: infer S extends object;
|
1514
1514
|
} & Record<string, unknown> | {
|
1515
1515
|
include: infer I extends object;
|
1516
1516
|
} & Record<string, unknown> ? {
|
1517
|
-
[K in keyof S | keyof I as (S & I)[K] extends false | undefined | Skip | null ? never : K]: (S & I)[K] extends object ? P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K],
|
1517
|
+
[K in keyof S | keyof I as (S & I)[K] extends false | undefined | Skip | null ? never : K]: (S & I)[K] extends object ? P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions> | SelectField<P, K> & null : never : K extends '_count' ? Count<GetFindResult<P, (S & I)[K], GlobalOmitOptions>> : never : P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions> | SelectField<P, K> & null : never : P extends {
|
1518
1518
|
scalars: {
|
1519
1519
|
[k in K]: infer O;
|
1520
1520
|
};
|
@@ -1523,7 +1523,7 @@ export declare type GetFindResult<P extends OperationPayload, A, ClientOptions>
|
|
1523
1523
|
include: any;
|
1524
1524
|
} & Record<string, unknown> ? DefaultSelection<P, A & {
|
1525
1525
|
omit: A['omit'];
|
1526
|
-
},
|
1526
|
+
}, GlobalOmitOptions> : unknown) : DefaultSelection<P, A, GlobalOmitOptions>;
|
1527
1527
|
|
1528
1528
|
export declare type GetGroupByResult<P extends OperationPayload, A> = A extends {
|
1529
1529
|
by: string[];
|
@@ -1769,20 +1769,20 @@ declare type GetPrismaClientConfig = {
|
|
1769
1769
|
compilerWasm?: CompilerWasmLoadingConfig;
|
1770
1770
|
};
|
1771
1771
|
|
1772
|
-
export declare type GetResult<Payload extends OperationPayload, Args, OperationName extends Operation = 'findUniqueOrThrow',
|
1773
|
-
findUnique: GetFindResult<Payload, Args,
|
1774
|
-
findUniqueOrThrow: GetFindResult<Payload, Args,
|
1775
|
-
findFirst: GetFindResult<Payload, Args,
|
1776
|
-
findFirstOrThrow: GetFindResult<Payload, Args,
|
1777
|
-
findMany: GetFindResult<Payload, Args,
|
1778
|
-
create: GetFindResult<Payload, Args,
|
1772
|
+
export declare type GetResult<Payload extends OperationPayload, Args, OperationName extends Operation = 'findUniqueOrThrow', GlobalOmitOptions = {}> = {
|
1773
|
+
findUnique: GetFindResult<Payload, Args, GlobalOmitOptions> | null;
|
1774
|
+
findUniqueOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;
|
1775
|
+
findFirst: GetFindResult<Payload, Args, GlobalOmitOptions> | null;
|
1776
|
+
findFirstOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;
|
1777
|
+
findMany: GetFindResult<Payload, Args, GlobalOmitOptions>[];
|
1778
|
+
create: GetFindResult<Payload, Args, GlobalOmitOptions>;
|
1779
1779
|
createMany: GetBatchResult;
|
1780
|
-
createManyAndReturn: GetFindResult<Payload, Args,
|
1781
|
-
update: GetFindResult<Payload, Args,
|
1780
|
+
createManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];
|
1781
|
+
update: GetFindResult<Payload, Args, GlobalOmitOptions>;
|
1782
1782
|
updateMany: GetBatchResult;
|
1783
|
-
updateManyAndReturn: GetFindResult<Payload, Args,
|
1784
|
-
upsert: GetFindResult<Payload, Args,
|
1785
|
-
delete: GetFindResult<Payload, Args,
|
1783
|
+
updateManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];
|
1784
|
+
upsert: GetFindResult<Payload, Args, GlobalOmitOptions>;
|
1785
|
+
delete: GetFindResult<Payload, Args, GlobalOmitOptions>;
|
1786
1786
|
deleteMany: GetBatchResult;
|
1787
1787
|
aggregate: GetAggregateResult<Payload, Args>;
|
1788
1788
|
count: GetCountResult<Args>;
|