Files
Shifted/node_modules/prisma/prisma-client/runtime/query_engine_bg.sqlserver.mjs
2026-02-10 01:14:19 +00:00

3 lines
13 KiB
JavaScript

var h=()=>{};h.prototype=h;let r;function $(e){r=e}let T=null;function p(){return(T===null||T.byteLength===0)&&(T=new Uint8Array(r.memory.buffer)),T}let A=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});A.decode();const j=2146435072;let F=0;function B(e,t){return F+=t,F>=j&&(A=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),A.decode(),F=t),A.decode(p().subarray(e,e+t))}function S(e,t){return e=e>>>0,B(e,t)}let u=0;const x=new TextEncoder;"encodeInto"in x||(x.encodeInto=function(e,t){const n=x.encode(e);return t.set(n),{read:e.length,written:n.length}});function b(e,t,n){if(n===void 0){const s=x.encode(e),f=t(s.length,1)>>>0;return p().subarray(f,f+s.length).set(s),u=s.length,f}let _=e.length,o=t(_,1)>>>0;const i=p();let c=0;for(;c<_;c++){const s=e.charCodeAt(c);if(s>127)break;i[o+c]=s}if(c!==_){c!==0&&(e=e.slice(c)),o=n(o,_,_=c+e.length*3,1)>>>0;const s=p().subarray(o+c,o+_),f=x.encodeInto(e,s);c+=f.written,o=n(o,_,c,1)>>>0}return u=c,o}let w=null;function l(){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 a(e){return e==null}function I(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+=I(e[0]));for(let c=1;c<o;c++)i+=", "+I(e[c]);return i+="]",i}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let _;if(n&&n.length>1)_=n[1];else return toString.call(e);if(_=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
${e.stack}`:_}function y(e){const t=r.__externref_table_alloc();return r.__wbindgen_externrefs.set(t,e),t}function g(e,t){try{return e.apply(this,t)}catch(n){const _=y(n);r.__wbindgen_exn_store(_)}}function q(e,t){return e=e>>>0,p().subarray(e/1,e/1+t)}const k=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>e.dtor(e.a,e.b));function R(e,t,n,_){const o={a:e,b:t,cnt:1,dtor:n},i=(...c)=>{o.cnt++;const s=o.a;o.a=0;try{return _(s,o.b,...c)}finally{o.a=s,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--o.cnt===0&&(o.dtor(o.a,o.b),o.a=0,k.unregister(o))},k.register(i,o,o),i}function E(e){const t=r.__wbindgen_externrefs.get(e);return r.__externref_table_dealloc(e),t}function V(e){var t=a(e)?0:b(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=u;const _=r.debug_panic(t,n);if(_[1])throw E(_[0])}function W(){return r.getBuildTimeInfo()}function U(e,t,n){r.wasm_bindgen__convert__closures_____invoke__ha235f3ea55a06a09(e,t,n)}function L(e,t,n,_){r.wasm_bindgen__convert__closures_____invoke__h1a2f20be69ab8911(e,t,n,_)}const O=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_queryengine_free(e>>>0,1));class M{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,O.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_queryengine_free(t,0)}disconnect(t,n){const _=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=u,i=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=u;return r.queryengine_disconnect(this.__wbg_ptr,_,o,i,c)}startTransaction(t,n,_){const o=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=u,c=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=u,f=b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),d=u;return r.queryengine_startTransaction(this.__wbg_ptr,o,i,c,s,f,d)}commitTransaction(t,n,_){const o=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=u,c=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=u,f=b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),d=u;return r.queryengine_commitTransaction(this.__wbg_ptr,o,i,c,s,f,d)}rollbackTransaction(t,n,_){const o=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=u,c=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=u,f=b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),d=u;return r.queryengine_rollbackTransaction(this.__wbg_ptr,o,i,c,s,f,d)}constructor(t,n,_){const o=r.queryengine_new(t,n,_);if(o[2])throw E(o[1]);return this.__wbg_ptr=o[0]>>>0,O.register(this,this.__wbg_ptr,this),this}query(t,n,_,o){const i=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),c=u,s=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),f=u;var d=a(_)?0:b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),m=u;const v=b(o,r.__wbindgen_malloc,r.__wbindgen_realloc),D=u;return r.queryengine_query(this.__wbg_ptr,i,c,s,f,d,m,v,D)}trace(t){const n=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=u;return r.queryengine_trace(this.__wbg_ptr,n,_)}connect(t,n){const _=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=u,i=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=u;return r.queryengine_connect(this.__wbg_ptr,_,o,i,c)}metrics(t){const n=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=u;return r.queryengine_metrics(this.__wbg_ptr,n,_)}}Symbol.dispose&&(M.prototype[Symbol.dispose]=M.prototype.free);function z(e,t){return Error(S(e,t))}function P(e){return Number(e)}function G(e,t){const n=String(t),_=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),o=u;l().setInt32(e+4*1,o,!0),l().setInt32(e+4*0,_,!0)}function Q(e,t){const n=t,_=typeof n=="bigint"?n:void 0;l().setBigInt64(e+8*1,a(_)?BigInt(0):_,!0),l().setInt32(e+4*0,!a(_),!0)}function H(e){const t=e,n=typeof t=="boolean"?t:void 0;return a(n)?16777215:n?1:0}function J(e,t){const n=I(t),_=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),o=u;l().setInt32(e+4*1,o,!0),l().setInt32(e+4*0,_,!0)}function X(e,t){return e in t}function Y(e){return typeof e=="bigint"}function K(e){return typeof e=="function"}function Z(e){const t=e;return typeof t=="object"&&t!==null}function ee(e){return typeof e=="string"}function te(e){return e===void 0}function ne(e,t){return e===t}function re(e,t){return e==t}function _e(e,t){const n=t,_=typeof n=="number"?n:void 0;l().setFloat64(e+8*1,a(_)?0:_,!0),l().setInt32(e+4*0,!a(_),!0)}function oe(e,t){const n=t,_=typeof n=="string"?n:void 0;var o=a(_)?0:b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),i=u;l().setInt32(e+4*1,i,!0),l().setInt32(e+4*0,o,!0)}function ce(e,t){throw new Error(S(e,t))}function ie(e){e._wbg_cb_unref()}function se(){return g(function(e,t,n){return e.call(t,n)},arguments)}function ue(){return g(function(e,t){return e.call(t)},arguments)}function be(e){return e.crypto}function fe(e){return e.done}function ae(e){return Object.entries(e)}function ge(){return g(function(e,t){e.getRandomValues(t)},arguments)}function le(e){return e.getTime()}function de(e,t){return e[t>>>0]}function we(){return g(function(e,t){return e[t]},arguments)}function pe(){return g(function(e,t){return Reflect.get(e,t)},arguments)}function xe(e,t){return e[t]}function ye(){return g(function(e,t){return Reflect.has(e,t)},arguments)}function me(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function he(e){let t;try{t=e instanceof Map}catch{t=!1}return t}function Te(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 Se(e){return Array.isArray(e)}function Fe(e){return Number.isSafeInteger(e)}function Ie(){return Symbol.iterator}function qe(e){return Object.keys(e)}function ke(e){return e.length}function Ee(e){return e.length}function Oe(e){return e.msCrypto}function Me(){return new Date}function ve(){return new Object}function De(e,t){try{var n={a:e,b:t},_=(i,c)=>{const s=n.a;n.a=0;try{return L(s,n.b,i,c)}finally{n.a=s}};return new Promise(_)}finally{n.a=n.b=0}}function je(e){return new Uint8Array(e)}function Be(){return new Map}function Re(){return new Array}function Ue(e,t){return new Uint8Array(q(e,t))}function Le(e,t){return new h(S(e,t))}function Ne(e){return new Uint8Array(e>>>0)}function Ce(){return g(function(e){return e.next()},arguments)}function $e(e){return e.next}function Ve(e){return e.node}function We(){return Date.now()}function ze(e){return e.now()}function Pe(){return g(function(){return Date.now()},arguments)}function Ge(e){return e.process}function Qe(e,t,n){Uint8Array.prototype.set.call(q(e,t),n)}function He(e,t){return e.push(t)}function Je(e){return e.queueMicrotask}function Xe(e){queueMicrotask(e)}function Ye(){return g(function(e,t){e.randomFillSync(t)},arguments)}function Ke(){return g(function(){return module.require},arguments)}function Ze(e){return Promise.resolve(e)}function et(e,t){return setTimeout(e,t>>>0)}function tt(e,t,n){e[t]=n}function nt(e,t,n){return e.set(t,n)}function rt(e,t,n){e[t>>>0]=n}function _t(){return g(function(e,t,n){return Reflect.set(e,t,n)},arguments)}function ot(){const e=typeof global>"u"?null:global;return a(e)?0:y(e)}function ct(){const e=typeof globalThis>"u"?null:globalThis;return a(e)?0:y(e)}function it(){const e=typeof self>"u"?null:self;return a(e)?0:y(e)}function st(){const e=typeof window>"u"?null:window;return a(e)?0:y(e)}function ut(e,t,n){return e.subarray(t>>>0,n>>>0)}function bt(e,t){return e.then(t)}function ft(e,t,n){return e.then(t,n)}function at(e){return e.valueOf()}function gt(e){return e.value}function lt(e){return e.versions}function dt(e,t){return S(e,t)}function wt(e){return BigInt.asUintN(64,e)}function pt(e){return e}function xt(e,t){return R(e,t,r.wasm_bindgen__closure__destroy__hf9ae564cf31e91c2,U)}function yt(e,t){return q(e,t)}function mt(e){return e}function ht(){const e=r.__wbindgen_externrefs,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)}export{M as QueryEngine,z as __wbg_Error_e83987f665cf5504,P as __wbg_Number_bb48ca12f395cd08,G as __wbg_String_8f0eb39a4a4c2f66,Q as __wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd,H as __wbg___wbindgen_boolean_get_6d5a1ee65bab5f68,J as __wbg___wbindgen_debug_string_df47ffb5e35e6763,X as __wbg___wbindgen_in_bb933bd9e1b3bc0f,Y as __wbg___wbindgen_is_bigint_cb320707dcd35f0b,K as __wbg___wbindgen_is_function_ee8a6c5833c90377,Z as __wbg___wbindgen_is_object_c818261d21f283a4,ee as __wbg___wbindgen_is_string_fbb76cb2940daafd,te as __wbg___wbindgen_is_undefined_2d472862bd29a478,ne as __wbg___wbindgen_jsval_eq_6b13ab83478b1c50,re as __wbg___wbindgen_jsval_loose_eq_b664b38a2f582147,_e as __wbg___wbindgen_number_get_a20bf9b85341449d,oe as __wbg___wbindgen_string_get_e4f06c90489ad01b,ce as __wbg___wbindgen_throw_b855445ff6a94295,ie as __wbg__wbg_cb_unref_2454a539ea5790d9,se as __wbg_call_525440f72fbfc0ea,ue as __wbg_call_e762c39fa8ea36bf,be as __wbg_crypto_805be4ce92f1e370,fe as __wbg_done_2042aa2670fb1db1,ae as __wbg_entries_e171b586f8f6bdbf,ge as __wbg_getRandomValues_f6a868620c8bab49,le as __wbg_getTime_14776bfb48a1bff9,de as __wbg_get_7bed016f185add81,we as __wbg_get_ece95cf6585650d9,pe as __wbg_get_efcb449f58ec27c2,xe as __wbg_get_with_ref_key_1dc361bd10053bfe,ye as __wbg_has_787fafc980c3ccdb,me as __wbg_instanceof_ArrayBuffer_70beb1189ca63b38,he as __wbg_instanceof_Map_8579b5e2ab5437c7,Te as __wbg_instanceof_Promise_001fdd42afa1b7ef,Ae as __wbg_instanceof_Uint8Array_20c8e73002f7af98,Se as __wbg_isArray_96e0af9891d0945d,Fe as __wbg_isSafeInteger_d216eda7911dde36,Ie as __wbg_iterator_e5822695327a3c39,qe as __wbg_keys_b4d27b02ad14f4be,ke as __wbg_length_69bca3cb64fc8748,Ee as __wbg_length_cdd215e10d9dd507,Oe as __wbg_msCrypto_2ac4d17c4748234a,Me as __wbg_new_0_f9740686d739025c,ve as __wbg_new_1acc0b6eea89d040,De as __wbg_new_3c3d849046688a66,je as __wbg_new_5a79be3ab53b8aa5,Be as __wbg_new_68651c719dcda04e,Re as __wbg_new_e17d9f43105b08be,Ue as __wbg_new_from_slice_92f4d78ca282a2d2,Le as __wbg_new_no_args_ee98eee5275000a4,Ne as __wbg_new_with_length_01aa0dc35aa13543,Ce as __wbg_next_020810e0ae8ebcb0,$e as __wbg_next_2c826fe5dfec6b6a,Ve as __wbg_node_ecc8306b9857f33d,We as __wbg_now_793306c526e2e3b6,ze as __wbg_now_7fd00a794a07d388,Pe as __wbg_now_b3f7572f6ef3d3a9,Ge as __wbg_process_5cff2739921be718,Qe as __wbg_prototypesetcall_2a6620b6922694b2,He as __wbg_push_df81a39d04db858c,Je as __wbg_queueMicrotask_5a8a9131f3f0b37b,Xe as __wbg_queueMicrotask_6d79674585219521,Ye as __wbg_randomFillSync_d3c85af7e31cf1f8,Ke as __wbg_require_0c566c6f2eef6c79,Ze as __wbg_resolve_caf97c30b83f7053,et as __wbg_setTimeout_5d6a1d4fc51ea450,tt as __wbg_set_3f1d0b984ed272ed,nt as __wbg_set_907fb406c34a251d,rt as __wbg_set_c213c871859d6500,_t as __wbg_set_c2abbebe8b9ebee1,$ as __wbg_set_wasm,ot as __wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e,ct as __wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac,it as __wbg_static_accessor_SELF_6fdf4b64710cc91b,st as __wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2,ut as __wbg_subarray_480600f3d6a9f26c,bt as __wbg_then_4f46f6544e6b4a28,ft as __wbg_then_70d05cf780a18d77,at as __wbg_valueOf_9eee4828c11458ca,gt as __wbg_value_692627309814bb8c,lt as __wbg_versions_a8e5a362e1f16442,dt as __wbindgen_cast_2241b6af4c4b2941,wt as __wbindgen_cast_4625c577ab2ec9ee,pt as __wbindgen_cast_9ae0607507abb057,xt as __wbindgen_cast_a71ab05db4ece344,yt as __wbindgen_cast_cb9088102bce6b30,mt as __wbindgen_cast_d6cd19b81560fd6e,ht as __wbindgen_init_externref_table,V as debug_panic,W as getBuildTimeInfo};