@infineit-nestjs/core 1.0.39 → 1.0.41
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/dist/cjs/errors/common.errors.js +1 -1
- package/dist/cjs/filters/prisma-exception.filter.d.ts +1 -1
- package/dist/cjs/filters/prisma-exception.filter.js +1 -1
- package/dist/cjs/node_modules/@prisma/client/runtime/library.js +14 -0
- package/dist/es/errors/common.errors.js +1 -1
- package/dist/es/filters/prisma-exception.filter.d.ts +1 -1
- package/dist/es/filters/prisma-exception.filter.js +1 -1
- package/dist/es/node_modules/@prisma/client/runtime/library.js +14 -0
- package/dist/types/filters/prisma-exception.filter.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cjs/_virtual/_commonjsHelpers.js +0 -2
- package/dist/cjs/_virtual/query_compiler_bg.postgresql.js +0 -2
- package/dist/cjs/_virtual/query_compiler_bg.postgresql.wasm-base64.js +0 -2
- package/dist/cjs/generated/prisma/browser.d.ts +0 -4
- package/dist/cjs/generated/prisma/client.d.ts +0 -8
- package/dist/cjs/generated/prisma/client.js +0 -2
- package/dist/cjs/generated/prisma/commonInputTypes.d.ts +0 -1
- package/dist/cjs/generated/prisma/enums.d.ts +0 -1
- package/dist/cjs/generated/prisma/enums.js +0 -2
- package/dist/cjs/generated/prisma/internal/class.d.ts +0 -32
- package/dist/cjs/generated/prisma/internal/class.js +0 -2
- package/dist/cjs/generated/prisma/internal/prismaNamespace.d.ts +0 -248
- package/dist/cjs/generated/prisma/internal/prismaNamespace.js +0 -2
- package/dist/cjs/generated/prisma/internal/prismaNamespaceBrowser.d.ts +0 -21
- package/dist/cjs/generated/prisma/internal/prismaNamespaceBrowser.js +0 -2
- package/dist/cjs/generated/prisma/models.d.ts +0 -1
- package/dist/cjs/node_modules/@prisma/client/runtime/client.js +0 -8
- package/dist/cjs/node_modules/@prisma/client/runtime/query_compiler_bg.postgresql.js +0 -2
- package/dist/cjs/node_modules/@prisma/client/runtime/query_compiler_bg.postgresql.wasm-base64.js +0 -2
- package/dist/cjs/node_modules/@prisma/client-runtime-utils/dist/index.js +0 -14
- package/dist/es/generated/prisma/browser.d.ts +0 -4
- package/dist/es/generated/prisma/client.d.ts +0 -8
- package/dist/es/generated/prisma/client.js +0 -2
- package/dist/es/generated/prisma/commonInputTypes.d.ts +0 -1
- package/dist/es/generated/prisma/enums.d.ts +0 -1
- package/dist/es/generated/prisma/enums.js +0 -2
- package/dist/es/generated/prisma/internal/class.d.ts +0 -32
- package/dist/es/generated/prisma/internal/class.js +0 -2
- package/dist/es/generated/prisma/internal/prismaNamespace.d.ts +0 -248
- package/dist/es/generated/prisma/internal/prismaNamespace.js +0 -2
- package/dist/es/generated/prisma/internal/prismaNamespaceBrowser.d.ts +0 -21
- package/dist/es/generated/prisma/internal/prismaNamespaceBrowser.js +0 -2
- package/dist/es/generated/prisma/models.d.ts +0 -1
- package/dist/es/node_modules/@prisma/client/runtime/client.js +0 -7
- package/dist/es/node_modules/@prisma/client/runtime/query_compiler_bg.postgresql.js +0 -2
- package/dist/es/node_modules/@prisma/client/runtime/query_compiler_bg.postgresql.wasm-base64.js +0 -2
- package/dist/es/node_modules/@prisma/client-runtime-utils/dist/index.js +0 -13
- package/dist/types/generated/prisma/client.d.ts +0 -12
- package/dist/types/generated/prisma/enums.d.ts +0 -2
- package/dist/types/generated/prisma/internal/class.d.ts +0 -36
- package/dist/types/generated/prisma/internal/prismaNamespace.d.ts +0 -251
- package/dist/types/generated/prisma/internal/prismaNamespaceBrowser.d.ts +0 -24
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";function n(n,e){Object.defineProperty(n,"name",{value:e,configurable:!0})}var e=class n extends Error{clientVersion;errorCode;retryable;constructor(e,r,t){super(e),this.name="PrismaClientInitializationError",this.clientVersion=r,this.errorCode=t,Error.captureStackTrace(n)}get[Symbol.toStringTag](){return"PrismaClientInitializationError"}};n(e,"PrismaClientInitializationError");var r=class extends Error{code;meta;clientVersion;batchRequestIdx;constructor(n,{code:e,clientVersion:r,meta:t,batchRequestIdx:i}){super(n),this.name="PrismaClientKnownRequestError",this.code=e,this.clientVersion=r,this.meta=t,Object.defineProperty(this,"batchRequestIdx",{value:i,enumerable:!1,writable:!0})}get[Symbol.toStringTag](){return"PrismaClientKnownRequestError"}};n(r,"PrismaClientKnownRequestError");var t=class extends Error{clientVersion;_isPanic;constructor({clientVersion:n,error:e}){var r;super(function(n){if(n.fields?.message){let e=n.fields?.message;return n.fields?.file&&(e+=` in ${n.fields.file}`,n.fields?.line&&(e+=`:${n.fields.line}`),n.fields?.column&&(e+=`:${n.fields.column}`)),n.fields?.reason&&(e+=`\n${n.fields?.reason}`),e}return"Unknown error"}(e)??"Unknown error"),this._isPanic=(r=e,"PANIC"===r.fields?.message),this.clientVersion=n}get[Symbol.toStringTag](){return"PrismaClientRustError"}isPanic(){return this._isPanic}};n(t,"PrismaClientRustError");var i=class extends Error{clientVersion;constructor(n,e){super(n),this.name="PrismaClientRustPanicError",this.clientVersion=e}get[Symbol.toStringTag](){return"PrismaClientRustPanicError"}};n(i,"PrismaClientRustPanicError");var s=class extends Error{clientVersion;batchRequestIdx;constructor(n,{clientVersion:e,batchRequestIdx:r}){super(n),this.name="PrismaClientUnknownRequestError",this.clientVersion=e,Object.defineProperty(this,"batchRequestIdx",{value:r,writable:!0,enumerable:!1})}get[Symbol.toStringTag](){return"PrismaClientUnknownRequestError"}};n(s,"PrismaClientUnknownRequestError");var o=class extends Error{name="PrismaClientValidationError";clientVersion;constructor(n,{clientVersion:e}){super(n),this.clientVersion=e}get[Symbol.toStringTag](){return"PrismaClientValidationError"}};n(o,"PrismaClientValidationError");var u=Symbol(),c=new WeakMap,a=class{constructor(n){n===u?c.set(this,`Prisma.${this._getName()}`):c.set(this,`new Prisma.${this._getNamespace()}.${this._getName()}()`)}_getName(){return this.constructor.name}toString(){return c.get(this)}};function l(n,e){Object.defineProperty(n,"name",{value:e,configurable:!0})}var f=class extends a{_getNamespace(){return"NullTypes"}},h=class extends f{#n};l(h,"DbNull");var d=class extends f{#e};l(d,"JsonNull");var g=class extends f{#r};l(g,"AnyNull");var p={DbNull:h,JsonNull:d,AnyNull:g},m=new h(u),w=new d(u),v=new g(u);var N,x,b=9e15,E=1e9,y="0123456789abcdef",P="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",q="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",C={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-b,maxE:b,crypto:!1},R=!0,M="[DecimalError] ",S=M+"Invalid argument: ",O=M+"Precision limit exceeded",A=M+"crypto unavailable",_="[object Decimal]",T=Math.floor,D=Math.pow,V=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,I=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,F=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,k=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Z=1e7,U=P.length-1,$=q.length-1,L={toStringTag:_};function j(n){var e,r,t,i=n.length-1,s="",o=n[0];if(i>0){for(s+=o,e=1;e<i;e++)(r=7-(t=n[e]+"").length)&&(s+=nn(r)),s+=t;(r=7-(t=(o=n[e])+"").length)&&(s+=nn(r))}else if(0===o)return"0";for(;o%10==0;)o/=10;return s+o}function H(n,e,r){if(n!==~~n||n<e||n>r)throw Error(S+n)}function B(n,e,r,t){var i,s,o,u;for(s=n[0];s>=10;s/=10)--e;return--e<0?(e+=7,i=0):(i=Math.ceil((e+1)/7),e%=7),s=D(10,7-e),u=n[i]%s|0,null==t?e<3?(0==e?u=u/100|0:1==e&&(u=u/10|0),o=r<4&&99999==u||r>3&&49999==u||5e4==u||0==u):o=(r<4&&u+1==s||r>3&&u+1==s/2)&&(n[i+1]/s/100|0)==D(10,e-2)-1||(u==s/2||0==u)&&!(n[i+1]/s/100|0):e<4?(0==e?u=u/1e3|0:1==e?u=u/100|0:2==e&&(u=u/10|0),o=(t||r<4)&&9999==u||!t&&r>3&&4999==u):o=((t||r<4)&&u+1==s||!t&&r>3&&u+1==s/2)&&(n[i+1]/s/1e3|0)==D(10,e-3)-1,o}function J(n,e,r){for(var t,i,s=[0],o=0,u=n.length;o<u;){for(i=s.length;i--;)s[i]*=e;for(s[0]+=y.indexOf(n.charAt(o++)),t=0;t<s.length;t++)s[t]>r-1&&(void 0===s[t+1]&&(s[t+1]=0),s[t+1]+=s[t]/r|0,s[t]%=r)}return s.reverse()}L.absoluteValue=L.abs=function(){var n=new this.constructor(this);return n.s<0&&(n.s=1),K(n)},L.ceil=function(){return K(new this.constructor(this),this.e+1,2)},L.clampedTo=L.clamp=function(n,e){var r=this,t=r.constructor;if(n=new t(n),e=new t(e),!n.s||!e.s)return new t(NaN);if(n.gt(e))throw Error(S+e);return r.cmp(n)<0?n:r.cmp(e)>0?e:new t(r)},L.comparedTo=L.cmp=function(n){var e,r,t,i,s=this,o=s.d,u=(n=new s.constructor(n)).d,c=s.s,a=n.s;if(!o||!u)return c&&a?c!==a?c:o===u?0:!o^c<0?1:-1:NaN;if(!o[0]||!u[0])return o[0]?c:u[0]?-a:0;if(c!==a)return c;if(s.e!==n.e)return s.e>n.e^c<0?1:-1;for(e=0,r=(t=o.length)<(i=u.length)?t:i;e<r;++e)if(o[e]!==u[e])return o[e]>u[e]^c<0?1:-1;return t===i?0:t>i^c<0?1:-1},L.cosine=L.cos=function(){var n,e,r=this,t=r.constructor;return r.d?r.d[0]?(n=t.precision,e=t.rounding,t.precision=n+Math.max(r.e,r.sd())+7,t.rounding=1,r=function(n,e){var r,t,i;if(e.isZero())return e;t=e.d.length,t<32?i=(1/ln(4,r=Math.ceil(t/3))).toString():(r=16,i="2.3283064365386962890625e-10");n.precision+=r,e=an(n,1,e.times(i),new n(1));for(var s=r;s--;){var o=e.times(e);e=o.times(o).minus(o).times(8).plus(1)}return n.precision-=r,e}(t,fn(t,r)),t.precision=n,t.rounding=e,K(2==x||3==x?r.neg():r,n,e,!0)):new t(1):new t(NaN)},L.cubeRoot=L.cbrt=function(){var n,e,r,t,i,s,o,u,c,a,l=this,f=l.constructor;if(!l.isFinite()||l.isZero())return new f(l);for(R=!1,(s=l.s*D(l.s*l,1/3))&&Math.abs(s)!=1/0?t=new f(s.toString()):(r=j(l.d),(s=((n=l.e)-r.length+1)%3)&&(r+=1==s||-2==s?"0":"00"),s=D(r,1/3),n=T((n+1)/3)-(n%3==(n<0?-1:2)),(t=new f(r=s==1/0?"5e"+n:(r=s.toExponential()).slice(0,r.indexOf("e")+1)+n)).s=l.s),o=(n=f.precision)+3;;)if(a=(c=(u=t).times(u).times(u)).plus(l),t=z(a.plus(l).times(u),a.plus(c),o+2,1),j(u.d).slice(0,o)===(r=j(t.d)).slice(0,o)){if("9999"!=(r=r.slice(o-3,o+1))&&(i||"4999"!=r)){+r&&(+r.slice(1)||"5"!=r.charAt(0))||(K(t,n+1,1),e=!t.times(t).times(t).eq(l));break}if(!i&&(K(u,n+1,0),u.times(u).times(u).eq(l))){t=u;break}o+=4,i=1}return R=!0,K(t,n,f.rounding,e)},L.decimalPlaces=L.dp=function(){var n,e=this.d,r=NaN;if(e){if(r=7*((n=e.length-1)-T(this.e/7)),n=e[n])for(;n%10==0;n/=10)r--;r<0&&(r=0)}return r},L.dividedBy=L.div=function(n){return z(this,new this.constructor(n))},L.dividedToIntegerBy=L.divToInt=function(n){var e=this.constructor;return K(z(this,new e(n),0,1,1),e.precision,e.rounding)},L.equals=L.eq=function(n){return 0===this.cmp(n)},L.floor=function(){return K(new this.constructor(this),this.e+1,3)},L.greaterThan=L.gt=function(n){return this.cmp(n)>0},L.greaterThanOrEqualTo=L.gte=function(n){var e=this.cmp(n);return 1==e||0===e},L.hyperbolicCosine=L.cosh=function(){var n,e,r,t,i,s=this,o=s.constructor,u=new o(1);if(!s.isFinite())return new o(s.s?1/0:NaN);if(s.isZero())return u;r=o.precision,t=o.rounding,o.precision=r+Math.max(s.e,s.sd())+4,o.rounding=1,(i=s.d.length)<32?e=(1/ln(4,n=Math.ceil(i/3))).toString():(n=16,e="2.3283064365386962890625e-10"),s=an(o,1,s.times(e),new o(1),!0);for(var c,a=n,l=new o(8);a--;)c=s.times(s),s=u.minus(c.times(l.minus(c.times(l))));return K(s,o.precision=r,o.rounding=t,!0)},L.hyperbolicSine=L.sinh=function(){var n,e,r,t,i=this,s=i.constructor;if(!i.isFinite()||i.isZero())return new s(i);if(e=s.precision,r=s.rounding,s.precision=e+Math.max(i.e,i.sd())+4,s.rounding=1,(t=i.d.length)<3)i=an(s,2,i,i,!0);else{n=(n=1.4*Math.sqrt(t))>16?16:0|n,i=an(s,2,i=i.times(1/ln(5,n)),i,!0);for(var o,u=new s(5),c=new s(16),a=new s(20);n--;)o=i.times(i),i=i.times(u.plus(o.times(c.times(o).plus(a))))}return s.precision=e,s.rounding=r,K(i,e,r,!0)},L.hyperbolicTangent=L.tanh=function(){var n,e,r=this,t=r.constructor;return r.isFinite()?r.isZero()?new t(r):(n=t.precision,e=t.rounding,t.precision=n+7,t.rounding=1,z(r.sinh(),r.cosh(),t.precision=n,t.rounding=e)):new t(r.s)},L.inverseCosine=L.acos=function(){var n=this,e=n.constructor,r=n.abs().cmp(1),t=e.precision,i=e.rounding;return-1!==r?0===r?n.isNeg()?X(e,t,i):new e(0):new e(NaN):n.isZero()?X(e,t+4,i).times(.5):(e.precision=t+6,e.rounding=1,n=new e(1).minus(n).div(n.plus(1)).sqrt().atan(),e.precision=t,e.rounding=i,n.times(2))},L.inverseHyperbolicCosine=L.acosh=function(){var n,e,r=this,t=r.constructor;return r.lte(1)?new t(r.eq(1)?0:NaN):r.isFinite()?(n=t.precision,e=t.rounding,t.precision=n+Math.max(Math.abs(r.e),r.sd())+4,t.rounding=1,R=!1,r=r.times(r).minus(1).sqrt().plus(r),R=!0,t.precision=n,t.rounding=e,r.ln()):new t(r)},L.inverseHyperbolicSine=L.asinh=function(){var n,e,r=this,t=r.constructor;return!r.isFinite()||r.isZero()?new t(r):(n=t.precision,e=t.rounding,t.precision=n+2*Math.max(Math.abs(r.e),r.sd())+6,t.rounding=1,R=!1,r=r.times(r).plus(1).sqrt().plus(r),R=!0,t.precision=n,t.rounding=e,r.ln())},L.inverseHyperbolicTangent=L.atanh=function(){var n,e,r,t,i=this,s=i.constructor;return i.isFinite()?i.e>=0?new s(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(n=s.precision,e=s.rounding,t=i.sd(),Math.max(t,n)<2*-i.e-1?K(new s(i),n,e,!0):(s.precision=r=t-i.e,i=z(i.plus(1),new s(1).minus(i),r+n,1),s.precision=n+4,s.rounding=1,i=i.ln(),s.precision=n,s.rounding=e,i.times(.5))):new s(NaN)},L.inverseSine=L.asin=function(){var n,e,r,t,i=this,s=i.constructor;return i.isZero()?new s(i):(e=i.abs().cmp(1),r=s.precision,t=s.rounding,-1!==e?0===e?((n=X(s,r+4,t).times(.5)).s=i.s,n):new s(NaN):(s.precision=r+6,s.rounding=1,i=i.div(new s(1).minus(i.times(i)).sqrt().plus(1)).atan(),s.precision=r,s.rounding=t,i.times(2)))},L.inverseTangent=L.atan=function(){var n,e,r,t,i,s,o,u,c,a=this,l=a.constructor,f=l.precision,h=l.rounding;if(a.isFinite()){if(a.isZero())return new l(a);if(a.abs().eq(1)&&f+4<=$)return(o=X(l,f+4,h).times(.25)).s=a.s,o}else{if(!a.s)return new l(NaN);if(f+4<=$)return(o=X(l,f+4,h).times(.5)).s=a.s,o}for(l.precision=u=f+10,l.rounding=1,n=r=Math.min(28,u/7+2|0);n;--n)a=a.div(a.times(a).plus(1).sqrt().plus(1));for(R=!1,e=Math.ceil(u/7),t=1,c=a.times(a),o=new l(a),i=a;-1!==n;)if(i=i.times(c),s=o.minus(i.div(t+=2)),i=i.times(c),void 0!==(o=s.plus(i.div(t+=2))).d[e])for(n=e;o.d[n]===s.d[n]&&n--;);return r&&(o=o.times(2<<r-1)),R=!0,K(o,l.precision=f,l.rounding=h,!0)},L.isFinite=function(){return!!this.d},L.isInteger=L.isInt=function(){return!!this.d&&T(this.e/7)>this.d.length-2},L.isNaN=function(){return!this.s},L.isNegative=L.isNeg=function(){return this.s<0},L.isPositive=L.isPos=function(){return this.s>0},L.isZero=function(){return!!this.d&&0===this.d[0]},L.lessThan=L.lt=function(n){return this.cmp(n)<0},L.lessThanOrEqualTo=L.lte=function(n){return this.cmp(n)<1},L.logarithm=L.log=function(n){var e,r,t,i,s,o,u,c,a=this,l=a.constructor,f=l.precision,h=l.rounding;if(null==n)n=new l(10),e=!0;else{if(r=(n=new l(n)).d,n.s<0||!r||!r[0]||n.eq(1))return new l(NaN);e=n.eq(10)}if(r=a.d,a.s<0||!r||!r[0]||a.eq(1))return new l(r&&!r[0]?-1/0:1!=a.s?NaN:r?0:1/0);if(e)if(r.length>1)s=!0;else{for(i=r[0];i%10==0;)i/=10;s=1!==i}if(R=!1,o=on(a,u=f+5),t=e?Q(l,u+10):on(n,u),B((c=z(o,t,u,1)).d,i=f,h))do{if(o=on(a,u+=10),t=e?Q(l,u+10):on(n,u),c=z(o,t,u,1),!s){+j(c.d).slice(i+1,i+15)+1==1e14&&(c=K(c,f+1,0));break}}while(B(c.d,i+=10,h));return R=!0,K(c,f,h)},L.minus=L.sub=function(n){var e,r,t,i,s,o,u,c,a,l,f,h,d=this,g=d.constructor;if(n=new g(n),!d.d||!n.d)return d.s&&n.s?d.d?n.s=-n.s:n=new g(n.d||d.s!==n.s?d:NaN):n=new g(NaN),n;if(d.s!=n.s)return n.s=-n.s,d.plus(n);if(a=d.d,h=n.d,u=g.precision,c=g.rounding,!a[0]||!h[0]){if(h[0])n.s=-n.s;else{if(!a[0])return new g(3===c?-0:0);n=new g(d)}return R?K(n,u,c):n}if(r=T(n.e/7),l=T(d.e/7),a=a.slice(),s=l-r){for((f=s<0)?(e=a,s=-s,o=h.length):(e=h,r=l,o=a.length),s>(t=Math.max(Math.ceil(u/7),o)+2)&&(s=t,e.length=1),e.reverse(),t=s;t--;)e.push(0);e.reverse()}else{for((f=(t=a.length)<(o=h.length))&&(o=t),t=0;t<o;t++)if(a[t]!=h[t]){f=a[t]<h[t];break}s=0}for(f&&(e=a,a=h,h=e,n.s=-n.s),o=a.length,t=h.length-o;t>0;--t)a[o++]=0;for(t=h.length;t>s;){if(a[--t]<h[t]){for(i=t;i&&0===a[--i];)a[i]=Z-1;--a[i],a[t]+=Z}a[t]-=h[t]}for(;0===a[--o];)a.pop();for(;0===a[0];a.shift())--r;return a[0]?(n.d=a,n.e=G(a,r),R?K(n,u,c):n):new g(3===c?-0:0)},L.modulo=L.mod=function(n){var e,r=this,t=r.constructor;return n=new t(n),!r.d||!n.s||n.d&&!n.d[0]?new t(NaN):!n.d||r.d&&!r.d[0]?K(new t(r),t.precision,t.rounding):(R=!1,9==t.modulo?(e=z(r,n.abs(),0,3,1)).s*=n.s:e=z(r,n,0,t.modulo,1),e=e.times(n),R=!0,r.minus(e))},L.naturalExponential=L.exp=function(){return sn(this)},L.naturalLogarithm=L.ln=function(){return on(this)},L.negated=L.neg=function(){var n=new this.constructor(this);return n.s=-n.s,K(n)},L.plus=L.add=function(n){var e,r,t,i,s,o,u,c,a,l,f=this,h=f.constructor;if(n=new h(n),!f.d||!n.d)return f.s&&n.s?f.d||(n=new h(n.d||f.s===n.s?f:NaN)):n=new h(NaN),n;if(f.s!=n.s)return n.s=-n.s,f.minus(n);if(a=f.d,l=n.d,u=h.precision,c=h.rounding,!a[0]||!l[0])return l[0]||(n=new h(f)),R?K(n,u,c):n;if(s=T(f.e/7),t=T(n.e/7),a=a.slice(),i=s-t){for(i<0?(r=a,i=-i,o=l.length):(r=l,t=s,o=a.length),i>(o=(s=Math.ceil(u/7))>o?s+1:o+1)&&(i=o,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((o=a.length)-(i=l.length)<0&&(i=o,r=l,l=a,a=r),e=0;i;)e=(a[--i]=a[i]+l[i]+e)/Z|0,a[i]%=Z;for(e&&(a.unshift(e),++t),o=a.length;0==a[--o];)a.pop();return n.d=a,n.e=G(a,t),R?K(n,u,c):n},L.precision=L.sd=function(n){var e,r=this;if(void 0!==n&&n!==!!n&&1!==n&&0!==n)throw Error(S+n);return r.d?(e=Y(r.d),n&&r.e+1>e&&(e=r.e+1)):e=NaN,e},L.round=function(){var n=this,e=n.constructor;return K(new e(n),n.e+1,e.rounding)},L.sine=L.sin=function(){var n,e,r=this,t=r.constructor;return r.isFinite()?r.isZero()?new t(r):(n=t.precision,e=t.rounding,t.precision=n+Math.max(r.e,r.sd())+7,t.rounding=1,r=function(n,e){var r,t=e.d.length;if(t<3)return e.isZero()?e:an(n,2,e,e);r=(r=1.4*Math.sqrt(t))>16?16:0|r,e=e.times(1/ln(5,r)),e=an(n,2,e,e);for(var i,s=new n(5),o=new n(16),u=new n(20);r--;)i=e.times(e),e=e.times(s.plus(i.times(o.times(i).minus(u))));return e}(t,fn(t,r)),t.precision=n,t.rounding=e,K(x>2?r.neg():r,n,e,!0)):new t(NaN)},L.squareRoot=L.sqrt=function(){var n,e,r,t,i,s,o=this,u=o.d,c=o.e,a=o.s,l=o.constructor;if(1!==a||!u||!u[0])return new l(!a||a<0&&(!u||u[0])?NaN:u?o:1/0);for(R=!1,0==(a=Math.sqrt(+o))||a==1/0?(((e=j(u)).length+c)%2==0&&(e+="0"),a=Math.sqrt(e),c=T((c+1)/2)-(c<0||c%2),t=new l(e=a==1/0?"5e"+c:(e=a.toExponential()).slice(0,e.indexOf("e")+1)+c)):t=new l(a.toString()),r=(c=l.precision)+3;;)if(t=(s=t).plus(z(o,s,r+2,1)).times(.5),j(s.d).slice(0,r)===(e=j(t.d)).slice(0,r)){if("9999"!=(e=e.slice(r-3,r+1))&&(i||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(K(t,c+1,1),n=!t.times(t).eq(o));break}if(!i&&(K(s,c+1,0),s.times(s).eq(o))){t=s;break}r+=4,i=1}return R=!0,K(t,c,l.rounding,n)},L.tangent=L.tan=function(){var n,e,r=this,t=r.constructor;return r.isFinite()?r.isZero()?new t(r):(n=t.precision,e=t.rounding,t.precision=n+10,t.rounding=1,(r=r.sin()).s=1,r=z(r,new t(1).minus(r.times(r)).sqrt(),n+10,0),t.precision=n,t.rounding=e,K(2==x||4==x?r.neg():r,n,e,!0)):new t(NaN)},L.times=L.mul=function(n){var e,r,t,i,s,o,u,c,a,l=this,f=l.constructor,h=l.d,d=(n=new f(n)).d;if(n.s*=l.s,!(h&&h[0]&&d&&d[0]))return new f(!n.s||h&&!h[0]&&!d||d&&!d[0]&&!h?NaN:h&&d?0*n.s:n.s/0);for(r=T(l.e/7)+T(n.e/7),(c=h.length)<(a=d.length)&&(s=h,h=d,d=s,o=c,c=a,a=o),s=[],t=o=c+a;t--;)s.push(0);for(t=a;--t>=0;){for(e=0,i=c+t;i>t;)u=s[i]+d[t]*h[i-t-1]+e,s[i--]=u%Z|0,e=u/Z|0;s[i]=(s[i]+e)%Z|0}for(;!s[--o];)s.pop();return e?++r:s.shift(),n.d=s,n.e=G(s,r),R?K(n,f.precision,f.rounding):n},L.toBinary=function(n,e){return hn(this,2,n,e)},L.toDecimalPlaces=L.toDP=function(n,e){var r=this,t=r.constructor;return r=new t(r),void 0===n?r:(H(n,0,E),void 0===e?e=t.rounding:H(e,0,8),K(r,n+r.e+1,e))},L.toExponential=function(n,e){var r,t=this,i=t.constructor;return void 0===n?r=W(t,!0):(H(n,0,E),void 0===e?e=i.rounding:H(e,0,8),r=W(t=K(new i(t),n+1,e),!0,n+1)),t.isNeg()&&!t.isZero()?"-"+r:r},L.toFixed=function(n,e){var r,t,i=this,s=i.constructor;return void 0===n?r=W(i):(H(n,0,E),void 0===e?e=s.rounding:H(e,0,8),r=W(t=K(new s(i),n+i.e+1,e),!1,n+t.e+1)),i.isNeg()&&!i.isZero()?"-"+r:r},L.toFraction=function(n){var e,r,t,i,s,o,u,c,a,l,f,h,d=this,g=d.d,p=d.constructor;if(!g)return new p(d);if(a=r=new p(1),t=c=new p(0),o=(s=(e=new p(t)).e=Y(g)-d.e-1)%7,e.d[0]=D(10,o<0?7+o:o),null==n)n=s>0?e:a;else{if(!(u=new p(n)).isInt()||u.lt(a))throw Error(S+u);n=u.gt(e)?s>0?e:a:u}for(R=!1,u=new p(j(g)),l=p.precision,p.precision=s=7*g.length*2;f=z(u,e,0,1,1),1!=(i=r.plus(f.times(t))).cmp(n);)r=t,t=i,i=a,a=c.plus(f.times(i)),c=i,i=e,e=u.minus(f.times(i)),u=i;return i=z(n.minus(r),t,0,1,1),c=c.plus(i.times(a)),r=r.plus(i.times(t)),c.s=a.s=d.s,h=z(a,t,s,1).minus(d).abs().cmp(z(c,r,s,1).minus(d).abs())<1?[a,t]:[c,r],p.precision=l,R=!0,h},L.toHexadecimal=L.toHex=function(n,e){return hn(this,16,n,e)},L.toNearest=function(n,e){var r=this,t=r.constructor;if(r=new t(r),null==n){if(!r.d)return r;n=new t(1),e=t.rounding}else{if(n=new t(n),void 0===e?e=t.rounding:H(e,0,8),!r.d)return n.s?r:n;if(!n.d)return n.s&&(n.s=r.s),n}return n.d[0]?(R=!1,r=z(r,n,0,e,1).times(n),R=!0,K(r)):(n.s=r.s,r=n),r},L.toNumber=function(){return+this},L.toOctal=function(n,e){return hn(this,8,n,e)},L.toPower=L.pow=function(n){var e,r,t,i,s,o,u=this,c=u.constructor,a=+(n=new c(n));if(!(u.d&&n.d&&u.d[0]&&n.d[0]))return new c(D(+u,a));if((u=new c(u)).eq(1))return u;if(t=c.precision,s=c.rounding,n.eq(1))return K(u,t,s);if((e=T(n.e/7))>=n.d.length-1&&(r=a<0?-a:a)<=9007199254740991)return i=en(c,u,r,t),n.s<0?new c(1).div(i):K(i,t,s);if((o=u.s)<0){if(e<n.d.length-1)return new c(NaN);if(1&n.d[e]||(o=1),0==u.e&&1==u.d[0]&&1==u.d.length)return u.s=o,u}return(e=0!=(r=D(+u,a))&&isFinite(r)?new c(r+"").e:T(a*(Math.log("0."+j(u.d))/Math.LN10+u.e+1)))>c.maxE+1||e<c.minE-1?new c(e>0?o/0:0):(R=!1,c.rounding=u.s=1,r=Math.min(12,(e+"").length),(i=sn(n.times(on(u,t+r)),t)).d&&B((i=K(i,t+5,1)).d,t,s)&&(e=t+10,+j((i=K(sn(n.times(on(u,e+r)),e),e+5,1)).d).slice(t+1,t+15)+1==1e14&&(i=K(i,t+1,0))),i.s=o,R=!0,c.rounding=s,K(i,t,s))},L.toPrecision=function(n,e){var r,t=this,i=t.constructor;return void 0===n?r=W(t,t.e<=i.toExpNeg||t.e>=i.toExpPos):(H(n,1,E),void 0===e?e=i.rounding:H(e,0,8),r=W(t=K(new i(t),n,e),n<=t.e||t.e<=i.toExpNeg,n)),t.isNeg()&&!t.isZero()?"-"+r:r},L.toSignificantDigits=L.toSD=function(n,e){var r=this.constructor;return void 0===n?(n=r.precision,e=r.rounding):(H(n,1,E),void 0===e?e=r.rounding:H(e,0,8)),K(new r(this),n,e)},L.toString=function(){var n=this,e=n.constructor,r=W(n,n.e<=e.toExpNeg||n.e>=e.toExpPos);return n.isNeg()&&!n.isZero()?"-"+r:r},L.truncated=L.trunc=function(){return K(new this.constructor(this),this.e+1,1)},L.valueOf=L.toJSON=function(){var n=this,e=n.constructor,r=W(n,n.e<=e.toExpNeg||n.e>=e.toExpPos);return n.isNeg()?"-"+r:r};var z=function(){function n(n,e,r){var t,i=0,s=n.length;for(n=n.slice();s--;)t=n[s]*e+i,n[s]=t%r|0,i=t/r|0;return i&&n.unshift(i),n}function e(n,e,r,t){var i,s;if(r!=t)s=r>t?1:-1;else for(i=s=0;i<r;i++)if(n[i]!=e[i]){s=n[i]>e[i]?1:-1;break}return s}function r(n,e,r,t){for(var i=0;r--;)n[r]-=i,i=n[r]<e[r]?1:0,n[r]=i*t+n[r]-e[r];for(;!n[0]&&n.length>1;)n.shift()}return function(t,i,s,o,u,c){var a,l,f,h,d,g,p,m,w,v,x,b,E,y,P,q,C,R,M,S,O=t.constructor,A=t.s==i.s?1:-1,_=t.d,D=i.d;if(!(_&&_[0]&&D&&D[0]))return new O(t.s&&i.s&&(_?!D||_[0]!=D[0]:D)?_&&0==_[0]||!D?0*A:A/0:NaN);for(c?(d=1,l=t.e-i.e):(c=Z,d=7,l=T(t.e/d)-T(i.e/d)),M=D.length,C=_.length,v=(w=new O(A)).d=[],f=0;D[f]==(_[f]||0);f++);if(D[f]>(_[f]||0)&&l--,null==s?(y=s=O.precision,o=O.rounding):y=u?s+(t.e-i.e)+1:s,y<0)v.push(1),g=!0;else{if(y=y/d+2|0,f=0,1==M){for(h=0,D=D[0],y++;(f<C||h)&&y--;f++)P=h*c+(_[f]||0),v[f]=P/D|0,h=P%D|0;g=h||f<C}else{for((h=c/(D[0]+1)|0)>1&&(D=n(D,h,c),_=n(_,h,c),M=D.length,C=_.length),q=M,b=(x=_.slice(0,M)).length;b<M;)x[b++]=0;(S=D.slice()).unshift(0),R=D[0],D[1]>=c/2&&++R;do{h=0,(a=e(D,x,M,b))<0?(E=x[0],M!=b&&(E=E*c+(x[1]||0)),(h=E/R|0)>1?(h>=c&&(h=c-1),1==(a=e(p=n(D,h,c),x,m=p.length,b=x.length))&&(h--,r(p,M<m?S:D,m,c))):(0==h&&(a=h=1),p=D.slice()),(m=p.length)<b&&p.unshift(0),r(x,p,b,c),-1==a&&(a=e(D,x,M,b=x.length))<1&&(h++,r(x,M<b?S:D,b,c)),b=x.length):0===a&&(h++,x=[0]),v[f++]=h,a&&x[0]?x[b++]=_[q]||0:(x=[_[q]],b=1)}while((q++<C||void 0!==x[0])&&y--);g=void 0!==x[0]}v[0]||v.shift()}if(1==d)w.e=l,N=g;else{for(f=1,h=v[0];h>=10;h/=10)f++;w.e=f+l*d-1,K(w,u?s+w.e+1:s,o,g)}return w}}();function K(n,e,r,t){var i,s,o,u,c,a,l,f,h,d=n.constructor;n:if(null!=e){if(!(f=n.d))return n;for(i=1,u=f[0];u>=10;u/=10)i++;if((s=e-i)<0)s+=7,o=e,c=(l=f[h=0])/D(10,i-o-1)%10|0;else if((h=Math.ceil((s+1)/7))>=(u=f.length)){if(!t)break n;for(;u++<=h;)f.push(0);l=c=0,i=1,o=(s%=7)-7+1}else{for(l=u=f[h],i=1;u>=10;u/=10)i++;c=(o=(s%=7)-7+i)<0?0:l/D(10,i-o-1)%10|0}if(t=t||e<0||void 0!==f[h+1]||(o<0?l:l%D(10,i-o-1)),a=r<4?(c||t)&&(0==r||r==(n.s<0?3:2)):c>5||5==c&&(4==r||t||6==r&&(s>0?o>0?l/D(10,i-o):0:f[h-1])%10&1||r==(n.s<0?8:7)),e<1||!f[0])return f.length=0,a?(e-=n.e+1,f[0]=D(10,(7-e%7)%7),n.e=-e||0):f[0]=n.e=0,n;if(0==s?(f.length=h,u=1,h--):(f.length=h+1,u=D(10,7-s),f[h]=o>0?(l/D(10,i-o)%D(10,o)|0)*u:0),a)for(;;){if(0==h){for(s=1,o=f[0];o>=10;o/=10)s++;for(o=f[0]+=u,u=1;o>=10;o/=10)u++;s!=u&&(n.e++,f[0]==Z&&(f[0]=1));break}if(f[h]+=u,f[h]!=Z)break;f[h--]=0,u=1}for(s=f.length;0===f[--s];)f.pop()}return R&&(n.e>d.maxE?(n.d=null,n.e=NaN):n.e<d.minE&&(n.e=0,n.d=[0])),n}function W(n,e,r){if(!n.isFinite())return un(n);var t,i=n.e,s=j(n.d),o=s.length;return e?(r&&(t=r-o)>0?s=s.charAt(0)+"."+s.slice(1)+nn(t):o>1&&(s=s.charAt(0)+"."+s.slice(1)),s=s+(n.e<0?"e":"e+")+n.e):i<0?(s="0."+nn(-i-1)+s,r&&(t=r-o)>0&&(s+=nn(t))):i>=o?(s+=nn(i+1-o),r&&(t=r-i-1)>0&&(s=s+"."+nn(t))):((t=i+1)<o&&(s=s.slice(0,t)+"."+s.slice(t)),r&&(t=r-o)>0&&(i+1===o&&(s+="."),s+=nn(t))),s}function G(n,e){var r=n[0];for(e*=7;r>=10;r/=10)e++;return e}function Q(n,e,r){if(e>U)throw R=!0,r&&(n.precision=r),Error(O);return K(new n(P),e,1,!0)}function X(n,e,r){if(e>$)throw Error(O);return K(new n(q),e,r,!0)}function Y(n){var e=n.length-1,r=7*e+1;if(e=n[e]){for(;e%10==0;e/=10)r--;for(e=n[0];e>=10;e/=10)r++}return r}function nn(n){for(var e="";n--;)e+="0";return e}function en(n,e,r,t){var i,s=new n(1),o=Math.ceil(t/7+4);for(R=!1;;){if(r%2&&dn((s=s.times(e)).d,o)&&(i=!0),0===(r=T(r/2))){r=s.d.length-1,i&&0===s.d[r]&&++s.d[r];break}dn((e=e.times(e)).d,o)}return R=!0,s}function rn(n){return 1&n.d[n.d.length-1]}function tn(n,e,r){for(var t,i,s=new n(e[0]),o=0;++o<e.length;){if(!(i=new n(e[o])).s){s=i;break}((t=s.cmp(i))===r||0===t&&s.s===r)&&(s=i)}return s}function sn(n,e){var r,t,i,s,o,u,c,a=0,l=0,f=0,h=n.constructor,d=h.rounding,g=h.precision;if(!n.d||!n.d[0]||n.e>17)return new h(n.d?n.d[0]?n.s<0?0:1/0:1:n.s?n.s<0?0:n:NaN);for(null==e?(R=!1,c=g):c=e,u=new h(.03125);n.e>-2;)n=n.times(u),f+=5;for(c+=t=Math.log(D(2,f))/Math.LN10*2+5|0,r=s=o=new h(1),h.precision=c;;){if(s=K(s.times(n),c,1),r=r.times(++l),j((u=o.plus(z(s,r,c,1))).d).slice(0,c)===j(o.d).slice(0,c)){for(i=f;i--;)o=K(o.times(o),c,1);if(null!=e)return h.precision=g,o;if(!(a<3&&B(o.d,c-t,d,a)))return K(o,h.precision=g,d,R=!0);h.precision=c+=10,r=s=u=new h(1),l=0,a++}o=u}}function on(n,e){var r,t,i,s,o,u,c,a,l,f,h,d=1,g=n,p=g.d,m=g.constructor,w=m.rounding,v=m.precision;if(g.s<0||!p||!p[0]||!g.e&&1==p[0]&&1==p.length)return new m(p&&!p[0]?-1/0:1!=g.s?NaN:p?0:g);if(null==e?(R=!1,l=v):l=e,m.precision=l+=10,t=(r=j(p)).charAt(0),!(Math.abs(s=g.e)<15e14))return a=Q(m,l+2,v).times(s+""),g=on(new m(t+"."+r.slice(1)),l-10).plus(a),m.precision=v,null==e?K(g,v,w,R=!0):g;for(;t<7&&1!=t||1==t&&r.charAt(1)>3;)t=(r=j((g=g.times(n)).d)).charAt(0),d++;for(s=g.e,t>1?(g=new m("0."+r),s++):g=new m(t+"."+r.slice(1)),f=g,c=o=g=z(g.minus(1),g.plus(1),l,1),h=K(g.times(g),l,1),i=3;;){if(o=K(o.times(h),l,1),j((a=c.plus(z(o,new m(i),l,1))).d).slice(0,l)===j(c.d).slice(0,l)){if(c=c.times(2),0!==s&&(c=c.plus(Q(m,l+2,v).times(s+""))),c=z(c,new m(d),l,1),null!=e)return m.precision=v,c;if(!B(c.d,l-10,w,u))return K(c,m.precision=v,w,R=!0);m.precision=l+=10,a=o=g=z(f.minus(1),f.plus(1),l,1),h=K(g.times(g),l,1),i=u=1}c=a,i+=2}}function un(n){return String(n.s*n.s/0)}function cn(n,e){var r,t,i;for((r=e.indexOf("."))>-1&&(e=e.replace(".","")),(t=e.search(/e/i))>0?(r<0&&(r=t),r+=+e.slice(t+1),e=e.substring(0,t)):r<0&&(r=e.length),t=0;48===e.charCodeAt(t);t++);for(i=e.length;48===e.charCodeAt(i-1);--i);if(e=e.slice(t,i)){if(i-=t,n.e=r=r-t-1,n.d=[],t=(r+1)%7,r<0&&(t+=7),t<i){for(t&&n.d.push(+e.slice(0,t)),i-=7;t<i;)n.d.push(+e.slice(t,t+=7));t=7-(e=e.slice(t)).length}else t-=i;for(;t--;)e+="0";n.d.push(+e),R&&(n.e>n.constructor.maxE?(n.d=null,n.e=NaN):n.e<n.constructor.minE&&(n.e=0,n.d=[0]))}else n.e=0,n.d=[0];return n}function an(n,e,r,t,i){var s,o,u,c,a=n.precision,l=Math.ceil(a/7);for(R=!1,c=r.times(r),u=new n(t);;){if(o=z(u.times(c),new n(e++*e++),a,1),u=i?t.plus(o):t.minus(o),t=z(o.times(c),new n(e++*e++),a,1),void 0!==(o=u.plus(t)).d[l]){for(s=l;o.d[s]===u.d[s]&&s--;);if(-1==s)break}s=u,u=t,t=o,o=s}return R=!0,o.d.length=l+1,o}function ln(n,e){for(var r=n;--e;)r*=n;return r}function fn(n,e){var r,t=e.s<0,i=X(n,n.precision,1),s=i.times(.5);if((e=e.abs()).lte(s))return x=t?4:1,e;if((r=e.divToInt(i)).isZero())x=t?3:2;else{if((e=e.minus(r.times(i))).lte(s))return x=rn(r)?t?2:3:t?4:1,e;x=rn(r)?t?1:4:t?3:2}return e.minus(i).abs()}function hn(n,e,r,t){var i,s,o,u,c,a,l,f,h,d=n.constructor,g=void 0!==r;if(g?(H(r,1,E),void 0===t?t=d.rounding:H(t,0,8)):(r=d.precision,t=d.rounding),n.isFinite()){for(g?(i=2,16==e?r=4*r-3:8==e&&(r=3*r-2)):i=e,(o=(l=W(n)).indexOf("."))>=0&&(l=l.replace(".",""),(h=new d(1)).e=l.length-o,h.d=J(W(h),10,i),h.e=h.d.length),s=c=(f=J(l,10,i)).length;0==f[--c];)f.pop();if(f[0]){if(o<0?s--:((n=new d(n)).d=f,n.e=s,f=(n=z(n,h,r,t,0,i)).d,s=n.e,a=N),o=f[r],u=i/2,a=a||void 0!==f[r+1],a=t<4?(void 0!==o||a)&&(0===t||t===(n.s<0?3:2)):o>u||o===u&&(4===t||a||6===t&&1&f[r-1]||t===(n.s<0?8:7)),f.length=r,a)for(;++f[--r]>i-1;)f[r]=0,r||(++s,f.unshift(1));for(c=f.length;!f[c-1];--c);for(o=0,l="";o<c;o++)l+=y.charAt(f[o]);if(g){if(c>1)if(16==e||8==e){for(o=16==e?4:3,--c;c%o;c++)l+="0";for(c=(f=J(l,i,e)).length;!f[c-1];--c);for(o=1,l="1.";o<c;o++)l+=y.charAt(f[o])}else l=l.charAt(0)+"."+l.slice(1);l=l+(s<0?"p":"p+")+s}else if(s<0){for(;++s;)l="0"+l;l="0."+l}else if(++s>c)for(s-=c;s--;)l+="0";else s<c&&(l=l.slice(0,s)+"."+l.slice(s))}else l=g?"0p+0":"0";l=(16==e?"0x":2==e?"0b":8==e?"0o":"")+l}else l=un(n);return n.s<0?"-"+l:l}function dn(n,e){if(n.length>e)return n.length=e,!0}function gn(n){return new this(n).abs()}function pn(n){return new this(n).acos()}function mn(n){return new this(n).acosh()}function wn(n,e){return new this(n).plus(e)}function vn(n){return new this(n).asin()}function Nn(n){return new this(n).asinh()}function xn(n){return new this(n).atan()}function bn(n){return new this(n).atanh()}function En(n,e){n=new this(n),e=new this(e);var r,t=this.precision,i=this.rounding,s=t+4;return n.s&&e.s?n.d||e.d?!e.d||n.isZero()?(r=e.s<0?X(this,t,i):new this(0)).s=n.s:!n.d||e.isZero()?(r=X(this,s,1).times(.5)).s=n.s:e.s<0?(this.precision=s,this.rounding=1,r=this.atan(z(n,e,s,1)),e=X(this,s,1),this.precision=t,this.rounding=i,r=n.s<0?r.minus(e):r.plus(e)):r=this.atan(z(n,e,s,1)):(r=X(this,s,1).times(e.s>0?.25:.75)).s=n.s:r=new this(NaN),r}function yn(n){return new this(n).cbrt()}function Pn(n){return K(n=new this(n),n.e+1,2)}function qn(n,e,r){return new this(n).clamp(e,r)}function Cn(n){if(!n||"object"!=typeof n)throw Error(M+"Object expected");var e,r,t,i=!0===n.defaults,s=["precision",1,E,"rounding",0,8,"toExpNeg",-b,0,"toExpPos",0,b,"maxE",0,b,"minE",-b,0,"modulo",0,9];for(e=0;e<s.length;e+=3)if(r=s[e],i&&(this[r]=C[r]),void 0!==(t=n[r])){if(!(T(t)===t&&t>=s[e+1]&&t<=s[e+2]))throw Error(S+r+": "+t);this[r]=t}if(r="crypto",i&&(this[r]=C[r]),void 0!==(t=n[r])){if(!0!==t&&!1!==t&&0!==t&&1!==t)throw Error(S+r+": "+t);if(t){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(A);this[r]=!0}else this[r]=!1}return this}function Rn(n){return new this(n).cos()}function Mn(n){return new this(n).cosh()}function Sn(n,e){return new this(n).div(e)}function On(n){return new this(n).exp()}function An(n){return K(n=new this(n),n.e+1,3)}function _n(){var n,e,r=new this(0);for(R=!1,n=0;n<arguments.length;)if((e=new this(arguments[n++])).d)r.d&&(r=r.plus(e.times(e)));else{if(e.s)return R=!0,new this(1/0);r=e}return R=!0,r.sqrt()}function Tn(n){return n instanceof ne||n&&n.toStringTag===_||!1}function Dn(n){return new this(n).ln()}function Vn(n,e){return new this(n).log(e)}function In(n){return new this(n).log(2)}function Fn(n){return new this(n).log(10)}function kn(){return tn(this,arguments,-1)}function Zn(){return tn(this,arguments,1)}function Un(n,e){return new this(n).mod(e)}function $n(n,e){return new this(n).mul(e)}function Ln(n,e){return new this(n).pow(e)}function jn(n){var e,r,t,i,s=0,o=new this(1),u=[];if(void 0===n?n=this.precision:H(n,1,E),t=Math.ceil(n/7),this.crypto)if(crypto.getRandomValues)for(e=crypto.getRandomValues(new Uint32Array(t));s<t;)(i=e[s])>=429e7?e[s]=crypto.getRandomValues(new Uint32Array(1))[0]:u[s++]=i%1e7;else{if(!crypto.randomBytes)throw Error(A);for(e=crypto.randomBytes(t*=4);s<t;)(i=e[s]+(e[s+1]<<8)+(e[s+2]<<16)+((127&e[s+3])<<24))>=214e7?crypto.randomBytes(4).copy(e,s):(u.push(i%1e7),s+=4);s=t/4}else for(;s<t;)u[s++]=1e7*Math.random()|0;for(n%=7,(t=u[--s])&&n&&(i=D(10,7-n),u[s]=(t/i|0)*i);0===u[s];s--)u.pop();if(s<0)r=0,u=[0];else{for(r=-1;0===u[0];r-=7)u.shift();for(t=1,i=u[0];i>=10;i/=10)t++;t<7&&(r-=7-t)}return o.e=r,o.d=u,o}function Hn(n){return K(n=new this(n),n.e+1,this.rounding)}function Bn(n){return(n=new this(n)).d?n.d[0]?n.s:0*n.s:n.s||NaN}function Jn(n){return new this(n).sin()}function zn(n){return new this(n).sinh()}function Kn(n){return new this(n).sqrt()}function Wn(n,e){return new this(n).sub(e)}function Gn(){var n=0,e=arguments,r=new this(e[n]);for(R=!1;r.s&&++n<e.length;)r=r.plus(e[n]);return R=!0,K(r,this.precision,this.rounding)}function Qn(n){return new this(n).tan()}function Xn(n){return new this(n).tanh()}function Yn(n){return K(n=new this(n),n.e+1,1)}L[Symbol.for("nodejs.util.inspect.custom")]=L.toString,L[Symbol.toStringTag]="Decimal";var ne=L.constructor=function n(e){var r,t,i;function s(n){var e,r,t,i=this;if(!(i instanceof s))return new s(n);if(i.constructor=s,Tn(n))return i.s=n.s,void(R?!n.d||n.e>s.maxE?(i.e=NaN,i.d=null):n.e<s.minE?(i.e=0,i.d=[0]):(i.e=n.e,i.d=n.d.slice()):(i.e=n.e,i.d=n.d?n.d.slice():n.d));if("number"===(t=typeof n)){if(0===n)return i.s=1/n<0?-1:1,i.e=0,void(i.d=[0]);if(n<0?(n=-n,i.s=-1):i.s=1,n===~~n&&n<1e7){for(e=0,r=n;r>=10;r/=10)e++;return void(R?e>s.maxE?(i.e=NaN,i.d=null):e<s.minE?(i.e=0,i.d=[0]):(i.e=e,i.d=[n]):(i.e=e,i.d=[n]))}return 0*n!=0?(n||(i.s=NaN),i.e=NaN,void(i.d=null)):cn(i,n.toString())}if("string"===t)return 45===(r=n.charCodeAt(0))?(n=n.slice(1),i.s=-1):(43===r&&(n=n.slice(1)),i.s=1),k.test(n)?cn(i,n):function(n,e){var r,t,i,s,o,u,c,a,l;if(e.indexOf("_")>-1){if(e=e.replace(/(\d)_(?=\d)/g,"$1"),k.test(e))return cn(n,e)}else if("Infinity"===e||"NaN"===e)return+e||(n.s=NaN),n.e=NaN,n.d=null,n;if(I.test(e))r=16,e=e.toLowerCase();else if(V.test(e))r=2;else{if(!F.test(e))throw Error(S+e);r=8}for((s=e.search(/p/i))>0?(c=+e.slice(s+1),e=e.substring(2,s)):e=e.slice(2),o=(s=e.indexOf("."))>=0,t=n.constructor,o&&(s=(u=(e=e.replace(".","")).length)-s,i=en(t,new t(r),s,2*s)),s=l=(a=J(e,r,Z)).length-1;0===a[s];--s)a.pop();return s<0?new t(0*n.s):(n.e=G(a,l),n.d=a,R=!1,o&&(n=z(n,i,4*u)),c&&(n=n.times(Math.abs(c)<54?D(2,c):ne.pow(2,c))),R=!0,n)}(i,n);if("bigint"===t)return n<0?(n=-n,i.s=-1):i.s=1,cn(i,n.toString());throw Error(S+n)}if(s.prototype=L,s.ROUND_UP=0,s.ROUND_DOWN=1,s.ROUND_CEIL=2,s.ROUND_FLOOR=3,s.ROUND_HALF_UP=4,s.ROUND_HALF_DOWN=5,s.ROUND_HALF_EVEN=6,s.ROUND_HALF_CEIL=7,s.ROUND_HALF_FLOOR=8,s.EUCLID=9,s.config=s.set=Cn,s.clone=n,s.isDecimal=Tn,s.abs=gn,s.acos=pn,s.acosh=mn,s.add=wn,s.asin=vn,s.asinh=Nn,s.atan=xn,s.atanh=bn,s.atan2=En,s.cbrt=yn,s.ceil=Pn,s.clamp=qn,s.cos=Rn,s.cosh=Mn,s.div=Sn,s.exp=On,s.floor=An,s.hypot=_n,s.ln=Dn,s.log=Vn,s.log10=Fn,s.log2=In,s.max=kn,s.min=Zn,s.mod=Un,s.mul=$n,s.pow=Ln,s.random=jn,s.round=Hn,s.sign=Bn,s.sin=Jn,s.sinh=zn,s.sqrt=Kn,s.sub=Wn,s.sum=Gn,s.tan=Qn,s.tanh=Xn,s.trunc=Yn,void 0===e&&(e={}),e&&!0!==e.defaults)for(i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],r=0;r<i.length;)e.hasOwnProperty(t=i[r++])||(e[t]=this[t]);return s.config(e),s}(C);P=new ne(P),q=new ne(q);var ee=class n{constructor(e,r){if(e.length-1!==r.length){if(0===e.length)throw new TypeError("Expected at least 1 string");throw new TypeError(`Expected ${e.length} strings to have ${e.length-1} values`)}const t=r.reduce((e,r)=>e+(r instanceof n?r.values.length:1),0);this.values=new Array(t),this.strings=new Array(t+1),this.strings[0]=e[0];let i=0,s=0;for(;i<r.length;){const t=r[i++],o=e[i];if(t instanceof n){this.strings[s]+=t.strings[0];let n=0;for(;n<t.values.length;)this.values[s++]=t.values[n++],this.strings[s]=t.strings[n];this.strings[s]+=o}else this.values[s++]=t,this.strings[s]=o}}get sql(){const n=this.strings.length;let e=1,r=this.strings[0];for(;e<n;)r+=`?${this.strings[e++]}`;return r}get statement(){const n=this.strings.length;let e=1,r=this.strings[0];for(;e<n;)r+=`:${e}${this.strings[e++]}`;return r}get text(){const n=this.strings.length;let e=1,r=this.strings[0];for(;e<n;)r+=`$${e}${this.strings[e++]}`;return r}inspect(){return{sql:this.sql,statement:this.statement,text:this.text,values:this.values}}};function re(n){return new ee([n],[])}var te=re("");
|
|
2
|
-
/*! Bundled license information:
|
|
3
|
-
|
|
4
|
-
decimal.js/decimal.mjs:
|
|
5
|
-
(*!
|
|
6
|
-
* decimal.js v10.5.0
|
|
7
|
-
* An arbitrary-precision Decimal type for JavaScript.
|
|
8
|
-
* https://github.com/MikeMcl/decimal.js
|
|
9
|
-
* Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
|
|
10
|
-
* MIT Licence
|
|
11
|
-
*)
|
|
12
|
-
*/
|
|
13
|
-
exports.AnyNull=v,exports.AnyNullClass=g,exports.DbNull=m,exports.DbNullClass=h,exports.Decimal=ne,exports.JsonNull=w,exports.JsonNullClass=d,exports.NullTypes=p,exports.ObjectEnumValue=a,exports.PrismaClientInitializationError=e,exports.PrismaClientKnownRequestError=r,exports.PrismaClientRustError=t,exports.PrismaClientRustPanicError=i,exports.PrismaClientUnknownRequestError=s,exports.PrismaClientValidationError=o,exports.Sql=ee,exports.empty=te,exports.hasBatchIndex=function(n){return"number"==typeof n.batchRequestIdx},exports.isAnyNull=function(n){return n===v},exports.isDbNull=function(n){return n===m},exports.isJsonNull=function(n){return n===w},exports.join=function(n,e=",",r="",t=""){if(0===n.length)throw new TypeError("Expected `join([])` to be called with an array of multiple elements, but got an empty array");return new ee([r,...Array(n.length-1).fill(e),t],n)},exports.raw=re,exports.sql=function(n,...e){return new ee(n,e)};
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as runtime from '@prisma/client/runtime/client';
|
|
2
|
-
import * as $Class from './internal/class';
|
|
3
|
-
import * as Prisma from './internal/prismaNamespace';
|
|
4
|
-
export * as $Enums from './enums';
|
|
5
|
-
export * from './enums';
|
|
6
|
-
export declare const PrismaClient: $Class.PrismaClientConstructor;
|
|
7
|
-
export type PrismaClient<LogOpts extends Prisma.LogLevel = never, OmitOpts extends Prisma.PrismaClientOptions['omit'] = Prisma.PrismaClientOptions['omit'], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>;
|
|
8
|
-
export { Prisma };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import * as runtime from '@prisma/client/runtime/client';
|
|
2
|
-
import type * as Prisma from './prismaNamespace';
|
|
3
|
-
export type LogOptions<ClientOptions extends Prisma.PrismaClientOptions> = 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never;
|
|
4
|
-
export interface PrismaClientConstructor {
|
|
5
|
-
new <Options extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, LogOpts extends LogOptions<Options> = LogOptions<Options>, OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends {
|
|
6
|
-
omit: infer U;
|
|
7
|
-
} ? U : Prisma.PrismaClientOptions['omit'], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs>(options: Prisma.Subset<Options, Prisma.PrismaClientOptions>): PrismaClient<LogOpts, OmitOpts, ExtArgs>;
|
|
8
|
-
}
|
|
9
|
-
export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = undefined, in out ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> {
|
|
10
|
-
[K: symbol]: {
|
|
11
|
-
types: Prisma.TypeMap<ExtArgs>['other'];
|
|
12
|
-
};
|
|
13
|
-
$on<V extends LogOpts>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient;
|
|
14
|
-
$connect(): runtime.Types.Utils.JsPromise<void>;
|
|
15
|
-
$disconnect(): runtime.Types.Utils.JsPromise<void>;
|
|
16
|
-
$executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
17
|
-
$executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
18
|
-
$queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
19
|
-
$queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
20
|
-
$transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: {
|
|
21
|
-
isolationLevel?: Prisma.TransactionIsolationLevel;
|
|
22
|
-
}): runtime.Types.Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>;
|
|
23
|
-
$transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => runtime.Types.Utils.JsPromise<R>, options?: {
|
|
24
|
-
maxWait?: number;
|
|
25
|
-
timeout?: number;
|
|
26
|
-
isolationLevel?: Prisma.TransactionIsolationLevel;
|
|
27
|
-
}): runtime.Types.Utils.JsPromise<R>;
|
|
28
|
-
$extends: runtime.Types.Extensions.ExtendsHook<'extends', Prisma.TypeMapCb<OmitOpts>, ExtArgs, runtime.Types.Utils.Call<Prisma.TypeMapCb<OmitOpts>, {
|
|
29
|
-
extArgs: ExtArgs;
|
|
30
|
-
}>>;
|
|
31
|
-
}
|
|
32
|
-
export declare function getPrismaClientClass(): PrismaClientConstructor;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{getPrismaClient as e}from"../../../node_modules/@prisma/client/runtime/client.js";const r={previewFeatures:[],clientVersion:"7.1.0",engineVersion:"ab635e6b9d606fa5c8fb8b1a7f909c3c3c1c98ba",activeProvider:"postgresql",inlineSchema:'generator client {\n provider = "prisma-client"\n output = "../src/generated/prisma" // relative to schema.prisma\n engineType = "client"\n}\n\ndatasource db {\n provider = "postgresql"\n}\n',runtimeDataModel:{models:{},enums:{},types:{}}};function n(){return e(r)}r.runtimeDataModel=JSON.parse('{"models":{},"enums":{},"types":{}}'),r.compilerWasm={getRuntime:async()=>await import("../../../node_modules/@prisma/client/runtime/query_compiler_bg.postgresql.js"),getQueryCompilerWasmModule:async()=>{const{wasm:e}=await import("../../../node_modules/@prisma/client/runtime/query_compiler_bg.postgresql.wasm-base64.js");return await async function(e){const{Buffer:r}=await import("node:buffer"),n=r.from(e,"base64");return new WebAssembly.Module(n)}(e)}};export{n as getPrismaClientClass};
|
|
2
|
-
//# sourceMappingURL=class.js.map
|
|
@@ -1,248 +0,0 @@
|
|
|
1
|
-
import * as runtime from '@prisma/client/runtime/client';
|
|
2
|
-
import { type PrismaClient } from './class';
|
|
3
|
-
export type * from '../models';
|
|
4
|
-
export type DMMF = typeof runtime.DMMF;
|
|
5
|
-
export type PrismaPromise<T> = runtime.Types.Public.PrismaPromise<T>;
|
|
6
|
-
export declare const PrismaClientKnownRequestError: typeof runtime.PrismaClientKnownRequestError;
|
|
7
|
-
export type PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError;
|
|
8
|
-
export declare const PrismaClientUnknownRequestError: typeof runtime.PrismaClientUnknownRequestError;
|
|
9
|
-
export type PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError;
|
|
10
|
-
export declare const PrismaClientRustPanicError: typeof runtime.PrismaClientRustPanicError;
|
|
11
|
-
export type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError;
|
|
12
|
-
export declare const PrismaClientInitializationError: typeof runtime.PrismaClientInitializationError;
|
|
13
|
-
export type PrismaClientInitializationError = runtime.PrismaClientInitializationError;
|
|
14
|
-
export declare const PrismaClientValidationError: typeof runtime.PrismaClientValidationError;
|
|
15
|
-
export type PrismaClientValidationError = runtime.PrismaClientValidationError;
|
|
16
|
-
export declare const sql: typeof runtime.sqltag;
|
|
17
|
-
export declare const empty: runtime.Sql;
|
|
18
|
-
export declare const join: typeof runtime.join;
|
|
19
|
-
export declare const raw: typeof runtime.raw;
|
|
20
|
-
export declare const Sql: typeof runtime.Sql;
|
|
21
|
-
export type Sql = runtime.Sql;
|
|
22
|
-
export declare const Decimal: typeof runtime.Decimal;
|
|
23
|
-
export type Decimal = runtime.Decimal;
|
|
24
|
-
export type DecimalJsLike = runtime.DecimalJsLike;
|
|
25
|
-
export type Extension = runtime.Types.Extensions.UserArgs;
|
|
26
|
-
export declare const getExtensionContext: typeof runtime.Extensions.getExtensionContext;
|
|
27
|
-
export type Args<T, F extends runtime.Operation> = runtime.Types.Public.Args<T, F>;
|
|
28
|
-
export type Payload<T, F extends runtime.Operation = never> = runtime.Types.Public.Payload<T, F>;
|
|
29
|
-
export type Result<T, A, F extends runtime.Operation> = runtime.Types.Public.Result<T, A, F>;
|
|
30
|
-
export type Exact<A, W> = runtime.Types.Public.Exact<A, W>;
|
|
31
|
-
export type PrismaVersion = {
|
|
32
|
-
client: string;
|
|
33
|
-
engine: string;
|
|
34
|
-
};
|
|
35
|
-
export declare const prismaVersion: PrismaVersion;
|
|
36
|
-
export type Bytes = runtime.Bytes;
|
|
37
|
-
export type JsonObject = runtime.JsonObject;
|
|
38
|
-
export type JsonArray = runtime.JsonArray;
|
|
39
|
-
export type JsonValue = runtime.JsonValue;
|
|
40
|
-
export type InputJsonObject = runtime.InputJsonObject;
|
|
41
|
-
export type InputJsonArray = runtime.InputJsonArray;
|
|
42
|
-
export type InputJsonValue = runtime.InputJsonValue;
|
|
43
|
-
export declare const NullTypes: {
|
|
44
|
-
DbNull: new (secret: never) => typeof runtime.DbNull;
|
|
45
|
-
JsonNull: new (secret: never) => typeof runtime.JsonNull;
|
|
46
|
-
AnyNull: new (secret: never) => typeof runtime.AnyNull;
|
|
47
|
-
};
|
|
48
|
-
export declare const DbNull: runtime.DbNullClass;
|
|
49
|
-
export declare const JsonNull: runtime.JsonNullClass;
|
|
50
|
-
export declare const AnyNull: runtime.AnyNullClass;
|
|
51
|
-
type SelectAndInclude = {
|
|
52
|
-
select: any;
|
|
53
|
-
include: any;
|
|
54
|
-
};
|
|
55
|
-
type SelectAndOmit = {
|
|
56
|
-
select: any;
|
|
57
|
-
omit: any;
|
|
58
|
-
};
|
|
59
|
-
type Prisma__Pick<T, K extends keyof T> = {
|
|
60
|
-
[P in K]: T[P];
|
|
61
|
-
};
|
|
62
|
-
export type Enumerable<T> = T | Array<T>;
|
|
63
|
-
export type Subset<T, U> = {
|
|
64
|
-
[key in keyof T]: key extends keyof U ? T[key] : never;
|
|
65
|
-
};
|
|
66
|
-
export type SelectSubset<T, U> = {
|
|
67
|
-
[key in keyof T]: key extends keyof U ? T[key] : never;
|
|
68
|
-
} & (T extends SelectAndInclude ? 'Please either choose `select` or `include`.' : T extends SelectAndOmit ? 'Please either choose `select` or `omit`.' : {});
|
|
69
|
-
export type SubsetIntersection<T, U, K> = {
|
|
70
|
-
[key in keyof T]: key extends keyof U ? T[key] : never;
|
|
71
|
-
} & K;
|
|
72
|
-
type Without<T, U> = {
|
|
73
|
-
[P in Exclude<keyof T, keyof U>]?: never;
|
|
74
|
-
};
|
|
75
|
-
export type XOR<T, U> = T extends object ? U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : U : T;
|
|
76
|
-
type IsObject<T extends any> = T extends Array<any> ? False : T extends Date ? False : T extends Uint8Array ? False : T extends BigInt ? False : T extends object ? True : False;
|
|
77
|
-
export type UnEnumerate<T extends unknown> = T extends Array<infer U> ? U : T;
|
|
78
|
-
type __Either<O extends object, K extends Key> = Omit<O, K> & {
|
|
79
|
-
[P in K]: Prisma__Pick<O, P & keyof O>;
|
|
80
|
-
}[K];
|
|
81
|
-
type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>>;
|
|
82
|
-
type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>>;
|
|
83
|
-
type _Either<O extends object, K extends Key, strict extends Boolean> = {
|
|
84
|
-
1: EitherStrict<O, K>;
|
|
85
|
-
0: EitherLoose<O, K>;
|
|
86
|
-
}[strict];
|
|
87
|
-
export type Either<O extends object, K extends Key, strict extends Boolean = 1> = O extends unknown ? _Either<O, K, strict> : never;
|
|
88
|
-
export type Union = any;
|
|
89
|
-
export type PatchUndefined<O extends object, O1 extends object> = {
|
|
90
|
-
[K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K];
|
|
91
|
-
} & {};
|
|
92
|
-
export type IntersectOf<U extends Union> = (U extends unknown ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
93
|
-
export type Overwrite<O extends object, O1 extends object> = {
|
|
94
|
-
[K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
|
|
95
|
-
} & {};
|
|
96
|
-
type _Merge<U extends object> = IntersectOf<Overwrite<U, {
|
|
97
|
-
[K in keyof U]-?: At<U, K>;
|
|
98
|
-
}>>;
|
|
99
|
-
type Key = string | number | symbol;
|
|
100
|
-
type AtStrict<O extends object, K extends Key> = O[K & keyof O];
|
|
101
|
-
type AtLoose<O extends object, K extends Key> = O extends unknown ? AtStrict<O, K> : never;
|
|
102
|
-
export type At<O extends object, K extends Key, strict extends Boolean = 1> = {
|
|
103
|
-
1: AtStrict<O, K>;
|
|
104
|
-
0: AtLoose<O, K>;
|
|
105
|
-
}[strict];
|
|
106
|
-
export type ComputeRaw<A extends any> = A extends Function ? A : {
|
|
107
|
-
[K in keyof A]: A[K];
|
|
108
|
-
} & {};
|
|
109
|
-
export type OptionalFlat<O> = {
|
|
110
|
-
[K in keyof O]?: O[K];
|
|
111
|
-
} & {};
|
|
112
|
-
type _Record<K extends keyof any, T> = {
|
|
113
|
-
[P in K]: T;
|
|
114
|
-
};
|
|
115
|
-
type NoExpand<T> = T extends unknown ? T : never;
|
|
116
|
-
export type AtLeast<O extends object, K extends string> = NoExpand<O extends unknown ? (K extends keyof O ? {
|
|
117
|
-
[P in K]: O[P];
|
|
118
|
-
} & O : O) | ({
|
|
119
|
-
[P in keyof O as P extends K ? P : never]-?: O[P];
|
|
120
|
-
} & O) : never>;
|
|
121
|
-
type _Strict<U, _U = U> = U extends unknown ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> : never;
|
|
122
|
-
export type Strict<U extends object> = ComputeRaw<_Strict<U>>;
|
|
123
|
-
export type Merge<U extends object> = ComputeRaw<_Merge<Strict<U>>>;
|
|
124
|
-
export type Boolean = True | False;
|
|
125
|
-
export type True = 1;
|
|
126
|
-
export type False = 0;
|
|
127
|
-
export type Not<B extends Boolean> = {
|
|
128
|
-
0: 1;
|
|
129
|
-
1: 0;
|
|
130
|
-
}[B];
|
|
131
|
-
export type Extends<A1 extends any, A2 extends any> = [A1] extends [never] ? 0 : A1 extends A2 ? 1 : 0;
|
|
132
|
-
export type Has<U extends Union, U1 extends Union> = Not<Extends<Exclude<U1, U>, U1>>;
|
|
133
|
-
export type Or<B1 extends Boolean, B2 extends Boolean> = {
|
|
134
|
-
0: {
|
|
135
|
-
0: 0;
|
|
136
|
-
1: 1;
|
|
137
|
-
};
|
|
138
|
-
1: {
|
|
139
|
-
0: 1;
|
|
140
|
-
1: 1;
|
|
141
|
-
};
|
|
142
|
-
}[B1][B2];
|
|
143
|
-
export type Keys<U extends Union> = U extends unknown ? keyof U : never;
|
|
144
|
-
export type GetScalarType<T, O> = O extends object ? {
|
|
145
|
-
[P in keyof T]: P extends keyof O ? O[P] : never;
|
|
146
|
-
} : never;
|
|
147
|
-
type FieldPaths<T, U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'>> = IsObject<T> extends True ? U : T;
|
|
148
|
-
export type GetHavingFields<T> = {
|
|
149
|
-
[K in keyof T]: Or<Or<Extends<'OR', K>, Extends<'AND', K>>, Extends<'NOT', K>> extends True ? T[K] extends infer TK ? GetHavingFields<UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never> : never : {} extends FieldPaths<T[K]> ? never : K;
|
|
150
|
-
}[keyof T];
|
|
151
|
-
type _TupleToUnion<T> = T extends (infer E)[] ? E : never;
|
|
152
|
-
type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K>;
|
|
153
|
-
export type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T;
|
|
154
|
-
export type PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = Prisma__Pick<T, MaybeTupleToUnion<K>>;
|
|
155
|
-
export type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? never : T;
|
|
156
|
-
export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType>;
|
|
157
|
-
export declare const ModelName: {};
|
|
158
|
-
export type ModelName = (typeof ModelName)[keyof typeof ModelName];
|
|
159
|
-
export interface TypeMapCb<GlobalOmitOptions = {}> extends runtime.Types.Utils.Fn<{
|
|
160
|
-
extArgs: runtime.Types.Extensions.InternalArgs;
|
|
161
|
-
}, runtime.Types.Utils.Record<string, any>> {
|
|
162
|
-
returns: TypeMap<this['params']['extArgs'], GlobalOmitOptions>;
|
|
163
|
-
}
|
|
164
|
-
export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> = {
|
|
165
|
-
globalOmitOptions: {
|
|
166
|
-
omit: GlobalOmitOptions;
|
|
167
|
-
};
|
|
168
|
-
meta: {
|
|
169
|
-
modelProps: never;
|
|
170
|
-
txIsolationLevel: TransactionIsolationLevel;
|
|
171
|
-
};
|
|
172
|
-
model: {};
|
|
173
|
-
} & {
|
|
174
|
-
other: {
|
|
175
|
-
payload: any;
|
|
176
|
-
operations: {
|
|
177
|
-
$executeRaw: {
|
|
178
|
-
args: [query: TemplateStringsArray | Sql, ...values: any[]];
|
|
179
|
-
result: any;
|
|
180
|
-
};
|
|
181
|
-
$executeRawUnsafe: {
|
|
182
|
-
args: [query: string, ...values: any[]];
|
|
183
|
-
result: any;
|
|
184
|
-
};
|
|
185
|
-
$queryRaw: {
|
|
186
|
-
args: [query: TemplateStringsArray | Sql, ...values: any[]];
|
|
187
|
-
result: any;
|
|
188
|
-
};
|
|
189
|
-
$queryRawUnsafe: {
|
|
190
|
-
args: [query: string, ...values: any[]];
|
|
191
|
-
result: any;
|
|
192
|
-
};
|
|
193
|
-
};
|
|
194
|
-
};
|
|
195
|
-
};
|
|
196
|
-
export declare const TransactionIsolationLevel: {
|
|
197
|
-
readonly ReadUncommitted: "ReadUncommitted";
|
|
198
|
-
readonly ReadCommitted: "ReadCommitted";
|
|
199
|
-
readonly RepeatableRead: "RepeatableRead";
|
|
200
|
-
readonly Serializable: "Serializable";
|
|
201
|
-
};
|
|
202
|
-
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel];
|
|
203
|
-
export type BatchPayload = {
|
|
204
|
-
count: number;
|
|
205
|
-
};
|
|
206
|
-
export declare const defineExtension: runtime.Types.Extensions.ExtendsHook<"define", TypeMapCb, runtime.Types.Extensions.DefaultArgs>;
|
|
207
|
-
export type DefaultPrismaClient = PrismaClient;
|
|
208
|
-
export type ErrorFormat = 'pretty' | 'colorless' | 'minimal';
|
|
209
|
-
export type PrismaClientOptions = ({
|
|
210
|
-
adapter: runtime.SqlDriverAdapterFactory;
|
|
211
|
-
accelerateUrl?: never;
|
|
212
|
-
} | {
|
|
213
|
-
accelerateUrl: string;
|
|
214
|
-
adapter?: never;
|
|
215
|
-
}) & {
|
|
216
|
-
errorFormat?: ErrorFormat;
|
|
217
|
-
log?: (LogLevel | LogDefinition)[];
|
|
218
|
-
transactionOptions?: {
|
|
219
|
-
maxWait?: number;
|
|
220
|
-
timeout?: number;
|
|
221
|
-
isolationLevel?: TransactionIsolationLevel;
|
|
222
|
-
};
|
|
223
|
-
omit?: GlobalOmitConfig;
|
|
224
|
-
comments?: runtime.SqlCommenterPlugin[];
|
|
225
|
-
};
|
|
226
|
-
export type GlobalOmitConfig = {};
|
|
227
|
-
export type LogLevel = 'info' | 'query' | 'warn' | 'error';
|
|
228
|
-
export type LogDefinition = {
|
|
229
|
-
level: LogLevel;
|
|
230
|
-
emit: 'stdout' | 'event';
|
|
231
|
-
};
|
|
232
|
-
export type CheckIsLogLevel<T> = T extends LogLevel ? T : never;
|
|
233
|
-
export type GetLogType<T> = CheckIsLogLevel<T extends LogDefinition ? T['level'] : T>;
|
|
234
|
-
export type GetEvents<T extends any[]> = T extends Array<LogLevel | LogDefinition> ? GetLogType<T[number]> : never;
|
|
235
|
-
export type QueryEvent = {
|
|
236
|
-
timestamp: Date;
|
|
237
|
-
query: string;
|
|
238
|
-
params: string;
|
|
239
|
-
duration: number;
|
|
240
|
-
target: string;
|
|
241
|
-
};
|
|
242
|
-
export type LogEvent = {
|
|
243
|
-
timestamp: Date;
|
|
244
|
-
message: string;
|
|
245
|
-
target: string;
|
|
246
|
-
};
|
|
247
|
-
export type PrismaAction = 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'updateManyAndReturn' | 'upsert' | 'delete' | 'deleteMany' | 'executeRaw' | 'queryRaw' | 'aggregate' | 'count' | 'runCommandRaw' | 'findRaw' | 'groupBy';
|
|
248
|
-
export type TransactionClient = Omit<DefaultPrismaClient, runtime.ITXClientDenyList>;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{makeStrictEnum as e,Extensions as a}from"../../../node_modules/@prisma/client/runtime/client.js";import{PrismaClientKnownRequestError as i,PrismaClientUnknownRequestError as n,PrismaClientRustPanicError as l,PrismaClientInitializationError as s,PrismaClientValidationError as t,sql as r,empty as o,join as m,raw as d,Sql as u,Decimal as c,NullTypes as b,DbNull as R,JsonNull as N,AnyNull as p}from"../../../node_modules/@prisma/client-runtime-utils/dist/index.js";const E=i,C=n,f=l,x=s,P=t,y=r,q=o,D=m,S=d,j=u,w=c,z=a.getExtensionContext,A={client:"7.1.0",engine:"ab635e6b9d606fa5c8fb8b1a7f909c3c3c1c98ba"},J={DbNull:b.DbNull,JsonNull:b.JsonNull,AnyNull:b.AnyNull},U=R,g=N,k=p,_={},I=e({ReadUncommitted:"ReadUncommitted",ReadCommitted:"ReadCommitted",RepeatableRead:"RepeatableRead",Serializable:"Serializable"}),K=a.defineExtension;export{k as AnyNull,U as DbNull,w as Decimal,g as JsonNull,_ as ModelName,J as NullTypes,x as PrismaClientInitializationError,E as PrismaClientKnownRequestError,f as PrismaClientRustPanicError,C as PrismaClientUnknownRequestError,P as PrismaClientValidationError,j as Sql,I as TransactionIsolationLevel,K as defineExtension,q as empty,z as getExtensionContext,D as join,A as prismaVersion,S as raw,y as sql};
|
|
2
|
-
//# sourceMappingURL=prismaNamespace.js.map
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as runtime from '@prisma/client/runtime/index-browser';
|
|
2
|
-
export type * from '../models';
|
|
3
|
-
export type * from './prismaNamespace';
|
|
4
|
-
export declare const Decimal: typeof runtime.Decimal;
|
|
5
|
-
export declare const NullTypes: {
|
|
6
|
-
DbNull: new (secret: never) => typeof runtime.DbNull;
|
|
7
|
-
JsonNull: new (secret: never) => typeof runtime.JsonNull;
|
|
8
|
-
AnyNull: new (secret: never) => typeof runtime.AnyNull;
|
|
9
|
-
};
|
|
10
|
-
export declare const DbNull: import("@prisma/client-runtime-utils").DbNullClass;
|
|
11
|
-
export declare const JsonNull: import("@prisma/client-runtime-utils").JsonNullClass;
|
|
12
|
-
export declare const AnyNull: import("@prisma/client-runtime-utils").AnyNullClass;
|
|
13
|
-
export declare const ModelName: {};
|
|
14
|
-
export type ModelName = (typeof ModelName)[keyof typeof ModelName];
|
|
15
|
-
export declare const TransactionIsolationLevel: {
|
|
16
|
-
readonly ReadUncommitted: "ReadUncommitted";
|
|
17
|
-
readonly ReadCommitted: "ReadCommitted";
|
|
18
|
-
readonly RepeatableRead: "RepeatableRead";
|
|
19
|
-
readonly Serializable: "Serializable";
|
|
20
|
-
};
|
|
21
|
-
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel];
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Decimal as l,NullTypes as e,DbNull as a,JsonNull as t,AnyNull as i}from"../../../node_modules/@prisma/client-runtime-utils/dist/index.js";const s=l,d={DbNull:e.DbNull,JsonNull:e.JsonNull,AnyNull:e.AnyNull},m=a,n=t,o=i,u={},N={ReadUncommitted:"ReadUncommitted",ReadCommitted:"ReadCommitted",RepeatableRead:"RepeatableRead",Serializable:"Serializable"};export{o as AnyNull,m as DbNull,s as Decimal,n as JsonNull,u as ModelName,d as NullTypes,N as TransactionIsolationLevel};
|
|
2
|
-
//# sourceMappingURL=prismaNamespaceBrowser.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type * from './commonInputTypes';
|