83 lines
181 KiB
JavaScript
83 lines
181 KiB
JavaScript
|
|
"use strict";var nu=Object.create;var Qt=Object.defineProperty;var iu=Object.getOwnPropertyDescriptor;var ou=Object.getOwnPropertyNames;var su=Object.getPrototypeOf,au=Object.prototype.hasOwnProperty;var hi=(e,t)=>()=>(e&&(t=e(e=0)),t);var q=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ne=(e,t)=>{for(var r in t)Qt(e,r,{get:t[r],enumerable:!0})},wi=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ou(t))!au.call(e,i)&&i!==r&&Qt(e,i,{get:()=>t[i],enumerable:!(n=iu(t,i))||n.enumerable});return e};var B=(e,t,r)=>(r=e!=null?nu(su(e)):{},wi(t||!e||!e.__esModule?Qt(r,"default",{value:e,enumerable:!0}):r,e)),lu=e=>wi(Qt({},"__esModule",{value:!0}),e);var Di=q((vf,Iu)=>{Iu.exports={name:"@prisma/engines-version",version:"7.5.0-15.280c870be64f457428992c43c1f6d557fab6e29e",main:"index.js",types:"index.d.ts",license:"Apache-2.0",author:"Tim Suchanek <suchanek@prisma.io>",prisma:{enginesVersion:"280c870be64f457428992c43c1f6d557fab6e29e"},repository:{type:"git",url:"https://github.com/prisma/engines-wrapper.git",directory:"packages/engines-version"},devDependencies:{"@types/node":"18.19.76",typescript:"4.9.5"},files:["index.js","index.d.ts"],scripts:{build:"tsc -d"}}});var Mi=q(Ht=>{"use strict";Object.defineProperty(Ht,"__esModule",{value:!0});Ht.enginesVersion=void 0;Ht.enginesVersion=Di().prisma.enginesVersion});var _i=q((Cf,Fi)=>{"use strict";Fi.exports=e=>{let t=e.match(/^[ \t]*(?=\S)/gm);return t?t.reduce((r,n)=>Math.min(r,n.length),1/0):0}});var ji=q((If,qi)=>{"use strict";qi.exports=(e,t=1,r)=>{if(r={indent:" ",includeEmptyLines:!1,...r},typeof e!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e}\``);if(typeof t!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t}\``);if(typeof r.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof r.indent}\``);if(t===0)return e;let n=r.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return e.replace(n,r.indent.repeat(t))}});var Bi=q(($f,zt)=>{"use strict";zt.exports=(e={})=>{let t;if(e.repoUrl)t=e.repoUrl;else if(e.user&&e.repo)t=`https://github.com/${e.user}/${e.repo}`;else throw new Error("You need to specify either the `repoUrl` option or both the `user` and `repo` options");let r=new URL(`${t}/issues/new`),n=["body","title","labels","template","milestone","assignee","projects"];for(let i of n){let o=e[i];if(o!==void 0){if(i==="labels"||i==="projects"){if(!Array.isArray(o))throw new TypeError(`The \`${i}\` option should be an array`);o=o.join(",")}r.searchParams.set(i,o)}}return r.toString()};zt.exports.default=zt.exports});var un=q((Rg,Zi)=>{"use strict";Zi.exports=function(){function e(t,r,n,i,o){return t<r||n<r?t>n?n+1:t+1:i===o?r:r+1}return function(t,r){if(t===r)return 0;if(t.length>r.length){var n=t;t=r,r=n}for(var i=t.length,o=r.length;i>0&&t.charCodeAt(i-1)===r.charCodeAt(o-1);)i--,o--;for(var s=0;s<i&&t.charCodeAt(s)===r.charCodeAt(s);)s++;if(i-=s,o-=s,i===0||o<3)return o;var a=0,l,u,c,p,d,m,g,x,w,k,P,v,U=[];for(l=0;l<i;l++)U.push(l+1),U.push(t.charCodeAt(s+l));for(var Oe=U.length-1;a<o-3;)for(w=r.charCodeAt(s+(u=a)),k=r.charCodeAt(s+(c=a+1)),P=r.charCodeAt(s+(p=a+2)),v=r.charCodeAt(s+(d=a+3)),m=a+=4,l=0;l<Oe;l+=2)g=U[l],x=U[l+1],u=e(g,u,c,w,x),c=e(u,c,p,k,x),p=e(c,p,d,P,x),m=e(p,d,m,v,x),U[l]=m,d=p,p=c,c=u,u=g;for(;a<o;)for(w=r.charCodeAt(s+(u=a)),m=++a,l=0;l<Oe;l+=2)g=U[l],U[l]=m=e(g,u,m,w,U[l+1]),u=g;return m}}()});var ro=hi(()=>{"use strict"});var no=hi(()=>{"use strict"});var In=q(Se=>{"use strict";Object.defineProperty(Se,"__esModule",{value:!0});Se.anumber=kn;Se.abytes=Ps;Se.ahash=Dp;Se.aexists=Mp;Se.aoutput=Fp;function kn(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("positive integer expected, got "+e)}function Np(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function Ps(e,...t){if(!Np(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function Dp(e){if(typeof e!="function"||
|
||
|
|
`);return t.length<e?t:t.slice(-e)}function Ni(){ct.length=0}var $i=B(_i(),1);function en(e){let t=(0,$i.default)(e);if(t===0)return e;let r=new RegExp(`^[ \\t]{${t}}`,"gm");return e.replace(r,"")}var Li="prisma+postgres",Gt=`${Li}:`;function Vi(e){return e?.toString().startsWith(`${Gt}//`)??!1}function tn(e){if(!Vi(e))return!1;let{host:t}=new URL(e);return t.includes("localhost")||t.includes("127.0.0.1")||t.includes("[::1]")}var mt={};Ne(mt,{error:()=>Du,info:()=>Nu,log:()=>Ou,query:()=>Mu,should:()=>Ui,tags:()=>dt,warn:()=>rn});var dt={error:be("prisma:error"),warn:lt("prisma:warn"),info:oe("prisma:info"),query:xe("prisma:query")},Ui={warn:()=>!process.env.PRISMA_DISABLE_WARNINGS};function Ou(...e){console.log(...e)}function rn(e,...t){Ui.warn()&&console.warn(`${dt.warn} ${e}`,...t)}function Nu(e,...t){console.info(`${dt.info} ${e}`,...t)}function Du(e,...t){console.error(`${dt.error} ${e}`,...t)}function Mu(e,...t){console.log(`${dt.query} ${e}`,...t)}function se(e,t){throw new Error(t)}function nn({onlyFirst:e=!1}={}){let r=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(r,e?void 0:"g")}var Fu=nn();function De(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(Fu,"")}var ft=B(require("node:path"));function on(e){return ft.default.sep===ft.default.posix.sep?e:e.split(ft.default.sep).join(ft.default.posix.sep)}function sn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Wt(e,t){let r={};for(let n of Object.keys(e))r[n]=t(e[n],n);return r}function an(e,t){if(e.length===0)return;let r=e[0];for(let n=1;n<e.length;n++)t(r,e[n])<0&&(r=e[n]);return r}function gt(e,t){Object.defineProperty(e,"name",{value:t,configurable:!0})}var Qi=new Set,ln=(e,t,...r)=>{Qi.has(e)||(Qi.add(e),rn(t,...r))};function Me(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Kt(e){return e.toString()!=="Invalid Date"}var Ji=require("@prisma/client-runtime-utils");function Fe(e){return Ji.Decimal.isDecimal(e)?!0:e!==null&&typeof e=="object"&&typeof e.s=="number"&&typeof e.e=="number"&&typeof e.toFixed=="function"&&Array.isArray(e.d)}var yo=require("@prisma/client-runtime-utils");var yt={};Ne(yt,{ModelAction:()=>_e,datamodelEnumToSchemaEnum:()=>_u});function _u(e){return{name:e.name,values:e.values.map(t=>t.name)}}var _e=(v=>(v.findUnique="findUnique",v.findUniqueOrThrow="findUniqueOrThrow",v.findFirst="findFirst",v.findFirstOrThrow="findFirstOrThrow",v.findMany="findMany",v.create="create",v.createMany="createMany",v.createManyAndReturn="createManyAndReturn",v.update="update",v.updateMany="updateMany",v.updateManyAndReturn="updateManyAndReturn",v.upsert="upsert",v.delete="delete",v.deleteMany="deleteMany",v.groupBy="groupBy",v.count="count",v.aggregate="aggregate",v.findRaw="findRaw",v.aggregateRaw="aggregateRaw",v))(_e||{});var Ki=B(ji());var Wi=B(require("node:fs"));var Hi={keyword:oe,entity:oe,value:e=>G(xe(e)),punctuation:xe,directive:oe,function:oe,variable:e=>G(xe(e)),string:e=>G(at(e)),boolean:lt,number:oe,comment:ut};var $u=e=>e,Zt={},Lu=0,h={manual:Zt.Prism&&Zt.Prism.manual,disableWorkerMessageHandler:Zt.Prism&&Zt.Prism.disableWorkerMessageHandler,util:{encode:function(e){if(e instanceof z){let t=e;return new z(t.type,h.util.encode(t.content),t.alias)}else return Array.isArray(e)?e.map(h.util.encode):e.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++Lu}),e.__id},clone:function e(t,r){let n,i,o=h.util.type(t);switch(r=r||{},o){case"Object":if(i=h.util.objId(t),r[i])return r[i];n={},r[i]=n;for(let s in t)t.hasOwnProperty(s)&&(n[s]=e(t[s],r));return n;case"Array":return i=h.util.objId(t),r[i]?r[i]:(n=[],r[i]=n,t.forEach(function(s,a){n[a]=e(s,r)}),n);default:return t}}},languages:{ext
|
||
|
|
`);return new e(t,zi(n).split(`
|
||
|
|
`))}highlight(){let t=Gi(this.toString());return new e(this.firstLineNumber,t.split(`
|
||
|
|
`))}toString(){return this.lines.join(`
|
||
|
|
`)}};var ju={red:be,gray:ut,dim:ot,bold:G,underline:st,highlightSource:e=>e.highlight()},Uu={red:e=>e,gray:e=>e,dim:e=>e,bold:e=>e,underline:e=>e,highlightSource:e=>e};function Bu({message:e,originalMethod:t,isPanic:r,callArguments:n}){return{functionName:`prisma.${t}()`,message:e,isPanic:r??!1,callArguments:n}}function Qu({callsite:e,message:t,originalMethod:r,isPanic:n,callArguments:i},o){let s=Bu({message:t,originalMethod:r,isPanic:n,callArguments:i});if(!e||typeof window<"u"||process.env.NODE_ENV==="production")return s;let a=e.getLocation();if(!a||!a.lineNumber||!a.columnNumber)return s;let l=Math.max(1,a.lineNumber-3),u=Yt.read(a.fileName)?.slice(l,a.lineNumber),c=u?.lineAt(a.lineNumber);if(u&&c){let p=Hu(c),d=Ju(c);if(!d)return s;s.functionName=`${d.code})`,s.location=a,n||(u=u.mapLineAt(a.lineNumber,g=>g.slice(0,d.openingBraceIndex))),u=o.highlightSource(u);let m=String(u.lastLineNumber).length;if(s.contextLines=u.mapLines((g,x)=>o.gray(String(x).padStart(m))+" "+g).mapLines(g=>o.dim(g)).prependSymbolAt(a.lineNumber,o.bold(o.red("\u2192"))),i){let g=p+m+1;g+=2,s.callArguments=(0,Ki.default)(i,g).slice(g)}}return s}function Ju(e){let t=Object.keys(_e).join("|"),n=new RegExp(String.raw`\.(${t})\(`).exec(e);if(n){let i=n.index+n[0].length,o=e.lastIndexOf(" ",n.index)+1;return{code:e.slice(o,i),openingBraceIndex:i}}return null}function Hu(e){let t=0;for(let r=0;r<e.length;r++){if(e.charAt(r)!==" ")return t;t++}return t}function Gu({functionName:e,location:t,message:r,isPanic:n,contextLines:i,callArguments:o},s){let a=[""],l=t?" in":":";if(n?(a.push(s.red(`Oops, an unknown error occurred! This is ${s.bold("on us")}, you did nothing wrong.`)),a.push(s.red(`It occurred in the ${s.bold(`\`${e}\``)} invocation${l}`))):a.push(s.red(`Invalid ${s.bold(`\`${e}\``)} invocation${l}`)),t&&a.push(s.underline(zu(t))),i){a.push("");let u=[i.toString()];o&&(u.push(o),u.push(s.dim(")"))),a.push(u.join("")),o&&a.push("")}else a.push(""),o&&a.push(o),a.push("");return a.push(r),a.join(`
|
||
|
|
`)}function zu(e){let t=[e.fileName];return e.lineNumber&&t.push(String(e.lineNumber)),e.columnNumber&&t.push(String(e.columnNumber)),t.join(":")}function Xt(e){let t=e.showColors?ju:Uu,r;return r=Qu(e,t),Gu(r,t)}var oo=B(un());function eo(e,t,r){let n=to(e),i=Wu(n),o=Zu(i);o?er(o,t,r):t.addErrorMessage(()=>"Unknown error")}function to(e){return e.errors.flatMap(t=>t.kind==="Union"?to(t):[t])}function Wu(e){let t=new Map,r=[];for(let n of e){if(n.kind!=="InvalidArgumentType"){r.push(n);continue}let i=`${n.selectionPath.join(".")}:${n.argumentPath.join(".")}`,o=t.get(i);o?t.set(i,{...n,argument:{...n.argument,typeNames:Ku(o.argument.typeNames,n.argument.typeNames)}}):t.set(i,n)}return r.push(...t.values()),r}function Ku(e,t){return[...new Set(e.concat(t))]}function Zu(e){return an(e,(t,r)=>{let n=Yi(t),i=Yi(r);return n!==i?n-i:Xi(t)-Xi(r)})}function Yi(e){let t=0;return Array.isArray(e.selectionPath)&&(t+=e.selectionPath.length),Array.isArray(e.argumentPath)&&(t+=e.argumentPath.length),t}function Xi(e){switch(e.kind){case"InvalidArgumentValue":case"ValueTooLarge":return 20;case"InvalidArgumentType":return 10;case"RequiredArgumentMissing":return-10;default:return 0}}var j=class{constructor(t,r){this.name=t;this.value=r}isRequired=!1;makeRequired(){return this.isRequired=!0,this}write(t){let{colors:{green:r}}=t.context;t.addMarginSymbol(r(this.isRequired?"+":"?")),t.write(r(this.name)),this.isRequired||t.write(r("?")),t.write(r(": ")),typeof this.value=="string"?t.write(r(this.value)):t.write(this.value)}};no();var $e=class{constructor(t=0,r){this.context=r;this.currentIndent=t}lines=[];currentLine="";currentIndent=0;marginSymbol;afterNextNewLineCallback;write(t){return typeof t=="string"?this.currentLine+=t:t.write(this),this}writeJoined(t,r,n=(i,o)=>o.write(i)){let i=r.length-1;for(let o=0;o<r.length;o++)n(r[o],this),o!==i&&this.write(t);return this}writeLine(t){return this.write(t).newLine()}newLine(){this.lines.push(this.indentedCurrentLine()),this.currentLine="",this.marginSymbol=void 0;let t=this.afterNextNewLineCallback;return this.afterNextNewLineCallback=void 0,t?.(),this}withIndent(t){return this.indent(),t(this),this.unindent(),this}afterNextNewline(t){return this.afterNextNewLineCallback=t,this}indent(){return this.currentIndent++,this}unindent(){return this.currentIndent>0&&this.currentIndent--,this}addMarginSymbol(t){return this.marginSymbol=t,this}toString(){return this.lines.concat(this.indentedCurrentLine()).join(`
|
||
|
|
`)}getCurrentLineLength(){return this.currentLine.length}indentedCurrentLine(){let t=this.currentLine.padStart(this.currentLine.length+2*this.currentIndent);return this.marginSymbol?this.marginSymbol+t.slice(1):t}};ro();var tr=class{constructor(t){this.value=t}write(t){t.write(this.value)}markAsError(){this.value.markAsError()}};var rr=e=>e,nr={bold:rr,red:rr,green:rr,dim:rr,enabled:!1},io={bold:G,red:be,green:at,dim:ot,enabled:!0},Le={write(e){e.writeLine(",")}};var Y=class{constructor(t){this.contents=t}isUnderlined=!1;color=t=>t;underline(){return this.isUnderlined=!0,this}setColor(t){return this.color=t,this}write(t){let r=t.getCurrentLineLength();t.write(this.color(this.contents)),this.isUnderlined&&t.afterNextNewline(()=>{t.write(" ".repeat(r)).writeLine(this.color("~".repeat(this.contents.length)))})}};var de=class{hasError=!1;markAsError(){return this.hasError=!0,this}};var Ve=class extends de{items=[];addItem(t){return this.items.push(new tr(t)),this}getField(t){return this.items[t]}getPrintWidth(){return this.items.length===0?2:Math.max(...this.items.map(r=>r.value.getPrintWidth()))+2}write(t){if(this.items.length===0){this.writeEmpty(t);return}this.writeWithItems(t)}writeEmpty(t){let r=new Y("[]");this.hasError&&r.setColor(t.context.colors.red).underline(),t.write(r)}writeWithItems(t){let{colors:r}=t.context;t.writeLine("[").withIndent(()=>t.writeJoined(Le,this.items).newLine()).write("]"),this.hasError&&t.afterNextNewline(()=>{t.writeLine(r.red("~".repeat(this.getPrintWidth())))})}asObject(){}};var qe=class e extends de{fields={};suggestions=[];addField(t){this.fields[t.name]=t}addSuggestion(t){this.suggestions.push(t)}getField(t){return this.fields[t]}getDeepField(t){let[r,...n]=t,i=this.getField(r);if(!i)return;let o=i;for(let s of n){let a;if(o.value instanceof e?a=o.value.getField(s):o.value instanceof Ve&&(a=o.value.getField(Number(s))),!a)return;o=a}return o}getDeepFieldValue(t){return t.length===0?this:this.getDeepField(t)?.value}hasField(t){return!!this.getField(t)}removeAllFields(){this.fields={}}removeField(t){delete this.fields[t]}getFields(){return this.fields}isEmpty(){return Object.keys(this.fields).length===0}getFieldValue(t){return this.getField(t)?.value}getDeepSubSelectionValue(t){let r=this;for(let n of t){if(!(r instanceof e))return;let i=r.getSubSelectionValue(n);if(!i)return;r=i}return r}getDeepSelectionParent(t){let r=this.getSelectionParent();if(!r)return;let n=r;for(let i of t){let o=n.value.getFieldValue(i);if(!o||!(o instanceof e))return;let s=o.getSelectionParent();if(!s)return;n=s}return n}getSelectionParent(){let t=this.getField("select")?.value.asObject();if(t)return{kind:"select",value:t};let r=this.getField("include")?.value.asObject();if(r)return{kind:"include",value:r}}getSubSelectionValue(t){return this.getSelectionParent()?.value.fields[t].value}getPrintWidth(){let t=Object.values(this.fields);return t.length==0?2:Math.max(...t.map(n=>n.getPrintWidth()))+2}write(t){let r=Object.values(this.fields);if(r.length===0&&this.suggestions.length===0){this.writeEmpty(t);return}this.writeWithContents(t,r)}asObject(){return this}writeEmpty(t){let r=new Y("{}");this.hasError&&r.setColor(t.context.colors.red).underline(),t.write(r)}writeWithContents(t,r){t.writeLine("{").withIndent(()=>{t.writeJoined(Le,[...r,...this.suggestions]).newLine()}),t.write("}"),this.hasError&&t.afterNextNewline(()=>{t.writeLine(t.context.colors.red("~".repeat(this.getPrintWidth())))})}};var I=class extends de{constructor(r){super();this.text=r}getPrintWidth(){return this.text.length}write(r){let n=new Y(this.text);this.hasError&&n.underline().setColor(r.context.colors.red),r.write(n)}asObject(){}};var ht=class{fields=[];addField(t,r){return this.fields.push({write(n){let{green:i,dim:o}=n.context.colors;n.write(i(o(`${t}: ${r}`))).addMarginSymbol(i(o("+")))}}),this}write(t){let{colors:{green:r}}=t.context;t.writeLine(r("{")).withIndent(()=>{t.writeJoined(Le,this.fields).newLine()}).write(r("}")).addMarginSymbol(r("+"))}};function er(e,t,r){switch(e.kind){case"MutuallyExclusiveFields":Yu(e,t);break;case"Inclu
|
||
|
|
Note that ${s.bold("include")} statements only accept relation fields.`,a})}function ec(e,t,r){let n=t.arguments.getDeepSubSelectionValue(e.selectionPath)?.asObject();if(n){let i=n.getField("omit")?.value.asObject();if(i){tc(e,t,i);return}if(n.hasField("select")){rc(e,t);return}}if(r?.[pe(e.outputType.name)]){nc(e,t);return}t.addErrorMessage(()=>`Unknown field at "${e.selectionPath.join(".")} selection"`)}function tc(e,t,r){r.removeAllFields();for(let n of e.outputType.fields)r.addSuggestion(new j(n.name,"false"));t.addErrorMessage(n=>`The ${n.red("omit")} statement includes every field of the model ${n.bold(e.outputType.name)}. At least one field must be included in the result`)}function rc(e,t){let r=e.outputType,n=t.arguments.getDeepSelectionParent(e.selectionPath)?.value,i=n?.isEmpty()??!1;n&&(n.removeAllFields(),lo(n,r)),t.addErrorMessage(o=>i?`The ${o.red("`select`")} statement for type ${o.bold(r.name)} must not be empty. ${wt(o)}`:`The ${o.red("`select`")} statement for type ${o.bold(r.name)} needs ${o.bold("at least one truthy value")}.`)}function nc(e,t){let r=new ht;for(let i of e.outputType.fields)i.isRelation||r.addField(i.name,"false");let n=new j("omit",r).makeRequired();if(e.selectionPath.length===0)t.arguments.addSuggestion(n);else{let[i,o]=je(e.selectionPath),a=t.arguments.getDeepSelectionParent(i)?.value.asObject()?.getField(o);if(a){let l=a?.value.asObject()??new qe;l.addSuggestion(n),a.value=l}}t.addErrorMessage(i=>`The global ${i.red("omit")} configuration excludes every field of the model ${i.bold(e.outputType.name)}. At least one field must be included in the result`)}function ic(e,t){let r=uo(e.selectionPath,t);if(r.parentKind!=="unknown"){r.field.markAsError();let n=r.parent;switch(r.parentKind){case"select":lo(n,e.outputType);break;case"include":fc(n,e.outputType);break;case"omit":gc(n,e.outputType);break}}t.addErrorMessage(n=>{let i=[`Unknown field ${n.red(`\`${r.fieldName}\``)}`];return r.parentKind!=="unknown"&&i.push(`for ${n.bold(r.parentKind)} statement`),i.push(`on model ${n.bold(`\`${e.outputType.name}\``)}.`),i.push(wt(n)),i.join(" ")})}function oc(e,t){let r=uo(e.selectionPath,t);r.parentKind!=="unknown"&&r.field.value.markAsError(),t.addErrorMessage(n=>`Invalid value for selection field \`${n.red(r.fieldName)}\`: ${e.underlyingError}`)}function sc(e,t){let r=e.argumentPath[0],n=t.arguments.getDeepSubSelectionValue(e.selectionPath)?.asObject();n&&(n.getField(r)?.markAsError(),yc(n,e.arguments)),t.addErrorMessage(i=>so(i,r,e.arguments.map(o=>o.name)))}function ac(e,t){let[r,n]=je(e.argumentPath),i=t.arguments.getDeepSubSelectionValue(e.selectionPath)?.asObject();if(i){i.getDeepField(e.argumentPath)?.markAsError();let o=i.getDeepFieldValue(r)?.asObject();o&&co(o,e.inputType)}t.addErrorMessage(o=>so(o,n,e.inputType.fields.map(s=>s.name)))}function so(e,t,r){let n=[`Unknown argument \`${e.red(t)}\`.`],i=wc(t,r);return i&&n.push(`Did you mean \`${e.green(i)}\`?`),r.length>0&&n.push(wt(e)),n.join(" ")}function lc(e,t){let r;t.addErrorMessage(l=>r?.value instanceof I&&r.value.text==="null"?`Argument \`${l.green(o)}\` must not be ${l.red("null")}.`:`Argument \`${l.green(o)}\` is missing.`);let n=t.arguments.getDeepSubSelectionValue(e.selectionPath)?.asObject();if(!n)return;let[i,o]=je(e.argumentPath),s=new ht,a=n.getDeepFieldValue(i)?.asObject();if(a){if(r=a.getField(o),r&&a.removeField(o),e.inputTypes.length===1&&e.inputTypes[0].kind==="object"){for(let l of e.inputTypes[0].fields)s.addField(l.name,l.typeNames.join(" | "));a.addSuggestion(new j(o,s).makeRequired())}else{let l=e.inputTypes.map(ao).join(" | ");a.addSuggestion(new j(o,l).makeRequired())}if(e.dependentArgumentPath){n.getDeepField(e.dependentArgumentPath)?.markAsError();let[,l]=je(e.dependentArgumentPath);t.addErrorMessage(u=>`Argument \`${u.green(o)}\` is required because argument \`${u.green(l)}\` was provided.`)}}}function ao(e){return e.kind==="list"?`${ao(e.elementType)}[]`:e.name}function uc(e,t){let r=e.argument.name,n=t.arguments.getDeepSubSelectionValue(e.selectionPath)?.asObject();n&&n.getDeepFieldValue(e.argumentPath)
|
||
|
|
`)}};function Be(e){return new pn(fo(e))}function fo(e){let t=new qe;for(let[r,n]of Object.entries(e)){let i=new or(r,go(n));t.addField(i)}return t}function go(e){if(typeof e=="string")return new I(JSON.stringify(e));if(typeof e=="number"||typeof e=="boolean")return new I(String(e));if(typeof e=="bigint")return new I(`${e}n`);if(e===null)return new I("null");if(e===void 0)return new I("undefined");if(Fe(e))return new I(`new Prisma.Decimal("${e.toFixed()}")`);if(e instanceof Uint8Array)return Buffer.isBuffer(e)?new I(`Buffer.alloc(${e.byteLength})`):new I(`new Uint8Array(${e.byteLength})`);if(e instanceof Date){let t=Kt(e)?e.toISOString():"Invalid Date";return new I(`new Date("${t}")`)}return(0,mo.isObjectEnumValue)(e)?new I(`Prisma.${e._getName()}`):Ue(e)?new I(`prisma.${pe(e.modelName)}.$fields.${e.name}`):Array.isArray(e)?bc(e):typeof e=="object"?fo(e):new I(Object.prototype.toString.call(e))}function bc(e){let t=new Ve;for(let r of e)t.addItem(go(r));return t}function sr(e,t){let r=t==="pretty"?io:nr,n=e.renderAllMessages(r),i=new $e(0,{colors:r}).write(e).toString();return{message:n,args:i}}function ar({args:e,errors:t,errorFormat:r,callsite:n,originalMethod:i,clientVersion:o,globalOmit:s}){let a=Be(e);for(let p of t)er(p,a,s);let{message:l,args:u}=sr(a,r),c=Xt({message:l,callsite:n,originalMethod:i,showColors:r==="pretty",callArguments:u});throw new yo.PrismaClientValidationError(c,{clientVersion:o})}function X(e){return e.replace(/^./,t=>t.toLowerCase())}function wo(e,t,r){let n=X(r);return!t.result||!(t.result.$allModels||t.result[n])?e:xc({...e,...ho(t.name,e,t.result.$allModels),...ho(t.name,e,t.result[n])})}function xc(e){let t=new Z,r=(n,i)=>t.getOrCreate(n,()=>i.has(n)?[n]:(i.add(n),e[n]?e[n].needs.flatMap(o=>r(o,i)):[n]));return Wt(e,n=>({...n,needs:r(n.name,new Set)}))}function ho(e,t,r){return r?Wt(r,({needs:n,compute:i},o)=>({name:o,needs:n?Object.keys(n).filter(s=>n[s]):[],compute:Ec(t,o,i)})):{}}function Ec(e,t,r){let n=e?.[t]?.compute;return n?i=>r({...i,[t]:n(i)}):r}function bo(e,t){if(!t)return e;let r={...e};for(let n of Object.values(t))if(e[n.name])for(let i of n.needs)r[i]=!0;return r}function xo(e,t){if(!t)return e;let r={...e};for(let n of Object.values(t))if(!e[n.name])for(let i of n.needs)delete r[i];return r}var lr=class{constructor(t,r){this.extension=t;this.previous=r}computedFieldsCache=new Z;modelExtensionsCache=new Z;queryCallbacksCache=new Z;clientExtensions=it(()=>this.extension.client?{...this.previous?.getAllClientExtensions(),...this.extension.client}:this.previous?.getAllClientExtensions());batchCallbacks=it(()=>{let t=this.previous?.getAllBatchQueryCallbacks()??[],r=this.extension.query?.$__internalBatch;return r?t.concat(r):t});getAllComputedFields(t){return this.computedFieldsCache.getOrCreate(t,()=>wo(this.previous?.getAllComputedFields(t),this.extension,t))}getAllClientExtensions(){return this.clientExtensions.get()}getAllModelExtensions(t){return this.modelExtensionsCache.getOrCreate(t,()=>{let r=X(t);return!this.extension.model||!(this.extension.model[r]||this.extension.model.$allModels)?this.previous?.getAllModelExtensions(t):{...this.previous?.getAllModelExtensions(t),...this.extension.model.$allModels,...this.extension.model[r]}})}getAllQueryCallbacks(t,r){return this.queryCallbacksCache.getOrCreate(`${t}:${r}`,()=>{let n=this.previous?.getAllQueryCallbacks(t,r)??[],i=[],o=this.extension.query;return!o||!(o[t]||o.$allModels||o[r]||o.$allOperations)?n:(o[t]!==void 0&&(o[t][r]!==void 0&&i.push(o[t][r]),o[t].$allOperations!==void 0&&i.push(o[t].$allOperations)),t!=="$none"&&o.$allModels!==void 0&&(o.$allModels[r]!==void 0&&i.push(o.$allModels[r]),o.$allModels.$allOperations!==void 0&&i.push(o.$allModels.$allOperations)),o[r]!==void 0&&i.push(o[r]),o.$allOperations!==void 0&&i.push(o.$allOperations),n.concat(i))})}getAllBatchQueryCallbacks(){return this.batchCallbacks.get()}},Qe=class e{constructor(t){this.head=t}static empty(){return new e}static single(t){return new e(new lr(t))}isEmpty(){return this.head===void 0}append(t){return new e(new lr(t,this.head))}getAllComputed
|
||
|
|
`);return t.reduce(function(r,n){var i=Fc(n)||$c(n)||qc(n)||Qc(n)||Uc(n);return i&&r.push(i),r},[])}var Dc=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|rsc|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Mc=/\((\S*)(?::(\d+))(?::(\d+))\)/;function Fc(e){var t=Dc.exec(e);if(!t)return null;var r=t[2]&&t[2].indexOf("native")===0,n=t[2]&&t[2].indexOf("eval")===0,i=Mc.exec(t[2]);return n&&i!=null&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]),{file:r?null:t[2],methodName:t[1]||St,arguments:r?[t[2]]:[],lineNumber:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}var _c=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|rsc|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function $c(e){var t=_c.exec(e);return t?{file:t[2],methodName:t[1]||St,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}var Lc=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|rsc|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,Vc=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function qc(e){var t=Lc.exec(e);if(!t)return null;var r=t[3]&&t[3].indexOf(" > eval")>-1,n=Vc.exec(t[3]);return r&&n!=null&&(t[3]=n[1],t[4]=n[2],t[5]=null),{file:t[3],methodName:t[1]||St,arguments:t[2]?t[2].split(","):[],lineNumber:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}var jc=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function Uc(e){var t=jc.exec(e);return t?{file:t[3],methodName:t[1]||St,arguments:[],lineNumber:+t[4],column:t[5]?+t[5]:null}:null}var Bc=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function Qc(e){var t=Bc.exec(e);return t?{file:t[2],methodName:t[1]||St,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}var yn=class{getLocation(){return null}},hn=class{_error;constructor(){this._error=new Error}getLocation(){let t=this._error.stack;if(!t)return null;let n=Do(t).find(i=>{if(!i.file)return!1;let o=on(i.file);return o!=="<anonymous>"&&!o.includes("@prisma")&&!o.includes("/packages/client/src/runtime/")&&!o.endsWith("/runtime/client.js")&&!o.startsWith("internal/")&&!i.methodName.includes("new ")&&!i.methodName.includes("getCallSite")&&!i.methodName.includes("Proxy.")&&i.methodName.split(".").length<4});return!n||!n.file?null:{fileName:n.file,lineNumber:n.lineNumber,columnNumber:n.column}}};function me(e){return e==="minimal"?typeof $EnabledCallSite=="function"&&e!=="minimal"?new $EnabledCallSite:new yn:new hn}var Mo={_avg:!0,_count:!0,_sum:!0,_min:!0,_max:!0};function He(e={}){let t=Hc(e);return Object.entries(t).reduce((n,[i,o])=>(Mo[i]!==void 0?n.select[i]={select:o}:n[i]=o,n),{select:{}})}function Hc(e={}){return typeof e._count=="boolean"?{...e,_count:{_all:e._count}}:e}function yr(e={}){return t=>(typeof e._count=="boolean"&&(t._count=t._count._all),t)}function Fo(e,t){let r=yr(e);return t({action:"aggregate",unpacker:r,argsMapper:He})(e)}function Gc(e={}){let{select:t,...r}=e;return typeof t=="object"?He({...r,_count:t}):He({...r,_count:{_all:!0}})}function zc(e={}){return typeof e.select=="object"?t=>yr(e)(t)._count:t=>yr(e)(t)._count._all}function _o(e,t){return t({action:"count",unpacker:zc(e),argsMapper:Gc})(e)}function Wc(e={}){let t=He(e);if(Array.isArray(t.by))for(let r of t.by)typeof r=="string"&&(t.select[r]=!0);else typeof t.by=="string"&&(t.select[t.by]=!0);return t}function Kc(e={}){return t=>(typeof e?._count=="boolean"&&t.forEach(r=>{r._count=r._count._all}),t)}function $o(e,t){return t({action:"groupBy",unpacker:Kc(e),argsMapper:Wc})(e)}function Lo(e,t,r){if(t==="aggregate")return n=>Fo(n,r);if(t==="count")return n=>_o(n,r);if(t==="groupBy")return n=>$o(n,r)}function Vo(e,t){let r=t.fields.filter(i=>!i.relationName),n=Pi(r,"name");return new Proxy({},{get(i,o){if(o in i||typeof o=="symbol")return i[o];let s=n[o];if(s)return new bt(e,o,s.type,s.isList,s.kind==="enum")},...gr(Object.keys(n))})}var qo=e=>Array.isArray(e)?e:e.split("."),wn=(e,t)=>qo(t).reduce((r,n)=>r&&r[n],e),jo=(e,t,r)=>qo(t).reduceRight((n,i,o,s)=>Object.assign({},wn(e,s.slice(0,o)),{[i]:n}),r);function Zc(e,t){return e===void 0||
|
||
|
|
`).map(t=>t.replace(/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)\s*/,"").replace(/\+\d+\s*ms$/,"")).join(`
|
||
|
|
`)}var Ua=B(Bi());function Ba({title:e,user:t="prisma",repo:r="prisma",template:n="bug_report.yml",body:i}){return(0,Ua.default)({user:t,repo:r,template:n,title:e,body:i})}function Qa({version:e,binaryTarget:t,title:r,description:n,engineVersion:i,database:o,query:s}){let a=Oi(6e3-(s?.length??0)),l=ja(De(a)),u=n?`# Description
|
||
|
|
\`\`\`
|
||
|
|
${n}
|
||
|
|
\`\`\``:"",c=De(`Hi Prisma Team! My Prisma Client just crashed. This is the report:
|
||
|
|
## Versions
|
||
|
|
|
||
|
|
| Name | Version |
|
||
|
|
|-----------------|--------------------|
|
||
|
|
| Node | ${process.version?.padEnd(19)}|
|
||
|
|
| OS | ${t?.padEnd(19)}|
|
||
|
|
| Prisma Client | ${e?.padEnd(19)}|
|
||
|
|
| Query Engine | ${i?.padEnd(19)}|
|
||
|
|
| Database | ${o?.padEnd(19)}|
|
||
|
|
|
||
|
|
${u}
|
||
|
|
|
||
|
|
## Logs
|
||
|
|
\`\`\`
|
||
|
|
${l}
|
||
|
|
\`\`\`
|
||
|
|
|
||
|
|
## Client Snippet
|
||
|
|
\`\`\`ts
|
||
|
|
// PLEASE FILL YOUR CODE SNIPPET HERE
|
||
|
|
\`\`\`
|
||
|
|
|
||
|
|
## Schema
|
||
|
|
\`\`\`prisma
|
||
|
|
// PLEASE ADD YOUR SCHEMA HERE IF POSSIBLE
|
||
|
|
\`\`\`
|
||
|
|
|
||
|
|
## Prisma Engine Query
|
||
|
|
\`\`\`
|
||
|
|
${s?qa(s):""}
|
||
|
|
\`\`\`
|
||
|
|
`),p=Ba({title:r,body:c});return`${r}
|
||
|
|
|
||
|
|
This is a non-recoverable error which probably happens when the Prisma Query Engine has a panic.
|
||
|
|
|
||
|
|
${st(p)}
|
||
|
|
|
||
|
|
If you want the Prisma team to look into it, please open the link above \u{1F64F}
|
||
|
|
To increase the chance of success, please post your schema and a snippet of
|
||
|
|
how you used Prisma Client in the issue.
|
||
|
|
`}var _r=class e{#e;#t;#r;#n;#i;constructor(t,r,n){this.#e=t,this.#t=r,this.#r=n,this.#n=r.getConnectionInfo?.(),this.#i=$t.forSql({onQuery:this.#e.onQuery,tracingHelper:this.#e.tracingHelper,provider:this.#e.provider,connectionInfo:this.#n})}static async connect(t){let r,n;try{r=await t.driverAdapterFactory.connect(),n=new Vt({driverAdapter:r,transactionOptions:t.transactionOptions,tracingHelper:t.tracingHelper,onQuery:t.onQuery,provider:t.provider})}catch(i){throw await r?.dispose(),i}return new e(t,r,n)}getConnectionInfo(){let t=this.#n??{supportsRelationJoins:!1};return Promise.resolve({provider:this.#t.provider,connectionInfo:t})}async execute({plan:t,placeholderValues:r,transaction:n,batchIndex:i,queryInfo:o}){let s=n?await this.#r.getTransaction(n,i!==void 0?"batch query":"query"):this.#t;return await this.#i.run(t,{queryable:s,transactionManager:n?{enabled:!1}:{enabled:!0,manager:this.#r},scope:r,sqlCommenter:this.#e.sqlCommenters&&{plugins:this.#e.sqlCommenters,queryInfo:o}})}async startTransaction(t){return{...await this.#r.startTransaction(t),payload:void 0}}async commitTransaction(t){await this.#r.commitTransaction(t.id)}async rollbackTransaction(t){await this.#r.rollbackTransaction(t.id)}async disconnect(){try{await this.#r.cancelAllTransactions()}finally{await this.#t.dispose()}}apiKey(){return null}};var tm=new Set(["DateTime","Decimal","BigInt","Bytes","Json","Raw"]);function $r(e){if(e==null)return{kind:"null"};if(typeof e=="string")return{kind:"primitive",value:e};if(typeof e=="number")return{kind:"primitive",value:e};if(typeof e=="boolean")return{kind:"primitive",value:e};if(Array.isArray(e))return{kind:"array",items:e};if(typeof e=="object"){let t=e;if("$type"in t&&typeof t.$type=="string"){let r=t.$type;return tm.has(r)?{kind:"taggedScalar",tag:r,value:t.value}:{kind:"structural",value:t.value}}return{kind:"object",entries:t}}return{kind:"structural",value:e}}function Ja(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&!("$type"in e)}function Ha(e){return typeof e=="object"&&e!==null&&"$type"in e&&typeof e.$type=="string"}function za(e,t){let r=new Lr(t),n=e.modelName?`${e.modelName}.${e.action}`:e.action,i=t.root(n);return{parameterizedQuery:{...e,query:r.parameterizeFieldSelection(e.query,i?.argsNodeId,i?.outputNodeId)},placeholderValues:r.getPlaceholderValues()}}function Wa(e,t){let r=new Lr(t),n=[];for(let i=0;i<e.batch.length;i++){let o=e.batch[i],s=o.modelName?`${o.modelName}.${o.action}`:o.action,a=t.root(s);n.push({...o,query:r.parameterizeFieldSelection(o.query,a?.argsNodeId,a?.outputNodeId)})}return{parameterizedBatch:{...e,batch:n},placeholderValues:r.getPlaceholderValues()}}var Lr=class{#e;#t=new Map;#r=new Map;#n=1;constructor(t){this.#e=t}getPlaceholderValues(){return Object.fromEntries(this.#t)}#i(t,r){let n=nm(t,r),i=this.#r.get(n);if(i!==void 0)return Ga(i,r);let o=`%${this.#n++}`;return this.#r.set(n,o),this.#t.set(o,t),Ga(o,r)}parameterizeFieldSelection(t,r,n){let i=this.#e.inputNode(r),o=this.#e.outputNode(n),s={...t};return t.arguments&&t.arguments.$type!=="Raw"&&(s.arguments=this.#o(t.arguments,i)),t.selection&&(s.selection=this.#c(t.selection,o)),s}#o(t,r){if(!r)return t;let n={};for(let[i,o]of Object.entries(t)){let s=this.#e.inputEdge(r,i);s?n[i]=this.#s(o,s):n[i]=o}return n}#s(t,r){let n=$r(t);switch(n.kind){case"null":return t;case"structural":return t;case"primitive":return this.#a(n.value,r);case"taggedScalar":return this.#l(t,n.tag,r);case"array":return this.#u(n.items,t,r);case"object":return this.#p(n.entries,r);default:throw new Error(`Unknown value kind ${n.kind}`)}}#a(t,r){if(ne(r,re.ParamEnum)&&r.enumNameIndex!==void 0&&typeof t=="string"&&this.#e.enumValues(r)?.includes(t)){let s={type:"Enum"};return this.#i(t,s)}if(!ne(r,re.ParamScalar))return t;let n=we(r);if(n===0)return t;let i=ii(t);return Za(i,n)?(n&M.Json&&(t=JSON.stringify(t)),this.#i(t,i)):t}#l(t,r,n){if(!ne(n,re.ParamScalar))return t;let i=we(n);if(i===0||!Xa(r,i))return t;let o=Ya(t.$type),s=el(t);return this.#i(s,o)}#u(t,r,n){if(ne(n,re.ParamScalar)&&we(n)&M.Json){let i=fe(K(t)),o={type:"Jso
|
||
|
|
${n.backtrace}`,{clientVersion:this.config.clientVersion})}catch{return t}}#d(t){return t instanceof F.PrismaClientRustPanicError?t:typeof t.message=="string"&&typeof t.code=="string"?new F.PrismaClientKnownRequestError(t.message,{code:t.code,meta:t.meta,clientVersion:this.config.clientVersion}):typeof t.message=="string"?new F.PrismaClientUnknownRequestError(t.message,{clientVersion:this.config.clientVersion}):t}#m(t,r,n=!0){let i=dl.PRISMA_WASM_PANIC_REGISTRY.set_message,o;global.PRISMA_WASM_PANIC_REGISTRY.set_message=s=>{o=s};try{return t()}finally{if(global.PRISMA_WASM_PANIC_REGISTRY.set_message=i,o)throw this.#e=void 0,n&&this.stop().catch(s=>ue("failed to disconnect:",s)),new F.PrismaClientRustPanicError(ul(this,o,r),this.config.clientVersion)}}onBeforeExit(){throw new Error('"beforeExit" hook is not applicable to the client engine, it is only relevant and implemented for the binary engine. Please add your event listener to the `process` object directly instead.')}async start(){await this.#a()}async stop(){switch(this.#t.type){case"disconnected":return;case"connecting":return await this.#t.promise,await this.stop();case"connected":{let t=this.#t.engine,r=this.tracingHelper.runInChildSpan("disconnect",async()=>{try{await t.executor.disconnect(),t.queryCompiler.free()}finally{this.#t={type:"disconnected"}}});return this.#t={type:"disconnecting",promise:r},await r}case"disconnecting":return await this.#t.promise}}version(){return"unknown"}async transaction(t,r,n){let i,{executor:o}=await this.#a();try{if(t==="start"){let s=n;i=await o.startTransaction({...s,isolationLevel:this.#y(s.isolationLevel)})}else if(t==="commit"){let s=n;await o.commitTransaction(s)}else if(t==="rollback"){let s=n;await o.rollbackTransaction(s)}else se(t,"Invalid transaction action.")}catch(s){throw this.#c(s)}return i?{id:i.id,payload:void 0}:void 0}async request(t,{interactiveTransaction:r,customDataProxyFetch:n}){ue("sending request");let{executor:i,queryCompiler:o}=await this.#a().catch(l=>{throw this.#c(l,JSON.stringify(t))}),s,a={};if(cl(t))s=pl(t);else{let{parameterizedQuery:l,placeholderValues:u}=za(t,this.#o),c=JSON.stringify(l);a=u;let p=this.#i.getSingle(c);p?(ue("query plan cache hit"),s=p):(ue("query plan cache miss"),s=this.#f(l,c,o),this.#i.setSingle(c,s))}try{ue("query plan created",s);let l=await i.execute({plan:s,model:t.modelName,operation:t.action,placeholderValues:a,transaction:r,batchIndex:void 0,customFetch:n?.(globalThis.fetch),queryInfo:{type:"single",modelName:t.modelName,action:t.action,query:t.query}});return ue("query plan executed"),{data:{[t.action]:l}}}catch(l){throw this.#c(l,JSON.stringify(t))}}async requestBatch(t,{transaction:r,customDataProxyFetch:n}){if(t.length===0)return[];let i=t[0].action,o=t[0].modelName,s=Va(t,r),a=JSON.stringify(s),{executor:l,queryCompiler:u}=await this.#a().catch(m=>{throw this.#c(m,a)}),c=o===void 0,p,d={};if(c)p=this.#g(t,a,u);else{let{parameterizedBatch:m,placeholderValues:g}=Wa(s,this.#o),x=JSON.stringify(m);d=g;let w=this.#i.getBatch(x);if(w)ue("batch query plan cache hit"),p=w;else{ue("batch query plan cache miss");try{p=this.#g(m.batch,x,u),this.#i.setBatch(x,p)}catch(k){throw this.#d(k)}}}try{let m;switch(r?.kind==="itx"&&(m=r.options),p.type){case"multi":{if(r?.kind!=="itx"){let w=r?.options.isolationLevel?{...this.config.transactionOptions,isolationLevel:r.options.isolationLevel}:this.config.transactionOptions;m=await this.transaction("start",{},w)}let g=[],x=!1;for(let[w,k]of p.plans.entries())try{let P=await l.execute({plan:k,placeholderValues:d,model:t[w].modelName,operation:t[w].action,batchIndex:w,transaction:m,customFetch:n?.(globalThis.fetch),queryInfo:{type:"single",...t[w]}});g.push({data:{[t[w].action]:P}})}catch(P){g.push(P),x=!0;break}return m!==void 0&&r?.kind!=="itx"&&(x?await this.transaction("rollback",{},m):await this.transaction("commit",{},m)),g}case"compacted":{if(!t.every(w=>w.action===i&&w.modelName===o)){let w=t.map(P=>P.action).join(", "),k=t.map(P=>P.modelName).join(", ");throw new Error(`Internal error: All queries in a compacted batch must hav
|
||
|
|
Using the example below you can still execute your query with Prisma, but please note that it is vulnerable to SQL injection attacks and requires you to take care of input sanitization.
|
||
|
|
|
||
|
|
Example:
|
||
|
|
await prisma.$executeRawUnsafe(\`ALTER USER prisma WITH PASSWORD '\${password}'\`)
|
||
|
|
|
||
|
|
More Information: https://pris.ly/d/execute-raw
|
||
|
|
`)}var ci=({clientMethod:e,activeProvider:t})=>r=>{let n="",i;if(mr(r))n=r.sql,i={values:tt(r.values),__prismaRawParameters__:!0};else if(Array.isArray(r)){let[o,...s]=r;n=o,i={values:tt(s||[]),__prismaRawParameters__:!0}}else switch(t){case"sqlite":case"mysql":{n=r.sql,i={values:tt(r.values),__prismaRawParameters__:!0};break}case"cockroachdb":case"postgresql":case"postgres":{n=r.text,i={values:tt(r.values),__prismaRawParameters__:!0};break}case"sqlserver":{n=gl(r),i={values:tt(r.values),__prismaRawParameters__:!0};break}default:throw new Error(`The ${t} provider does not support ${e}`)}return i?.values?El(`prisma.${e}(${n}, ${i.values})`):El(`prisma.${e}(${n})`),{query:n,parameters:i}},Tl={requestArgsToMiddlewareArgs(e){return[e.strings,...e.values]},middlewareArgsToRequestArgs(e){let[t,...r]=e;return new Pl.Sql(t,r)}},Sl={requestArgsToMiddlewareArgs(e){return[e]},middlewareArgsToRequestArgs(e){return e[0]}};function pi(e){return function(r,n){let i,o=(s=e)=>{try{return s===void 0||s?.kind==="itx"?i??=vl(r(s)):vl(r(s))}catch(a){return Promise.reject(a)}};return{get spec(){return n},then(s,a){return o().then(s,a)},catch(s){return o().catch(s)},finally(s){return o().finally(s)},requestTransaction(s){let a=o(s);return a.requestTransaction?a.requestTransaction(s):a},[Symbol.toStringTag]:"PrismaPromise"}}}function vl(e){return typeof e.then=="function"?e:Promise.resolve(e)}var Al={name:"@prisma/instrumentation-contract",version:"7.5.0",description:"Shared types and utilities for Prisma instrumentation",main:"dist/index.js",module:"dist/index.mjs",types:"dist/index.d.ts",exports:{".":{require:{types:"./dist/index.d.ts",default:"./dist/index.js"},import:{types:"./dist/index.d.mts",default:"./dist/index.mjs"}}},license:"Apache-2.0",homepage:"https://www.prisma.io",repository:{type:"git",url:"https://github.com/prisma/prisma.git",directory:"packages/instrumentation-contract"},bugs:"https://github.com/prisma/prisma/issues",scripts:{dev:"DEV=true tsx helpers/build.ts",build:"tsx helpers/build.ts",prepublishOnly:"pnpm run build",test:"vitest run"},files:["dist"],sideEffects:!1,devDependencies:{"@opentelemetry/api":"1.9.0"},peerDependencies:{"@opentelemetry/api":"^1.8"}};var hm=Al.version.split(".")[0],wm="PRISMA_INSTRUMENTATION",bm=`V${hm}_PRISMA_INSTRUMENTATION`,Cl=globalThis;function Rl(){let e=Cl[bm];return e?.helper?e.helper:Cl[wm]?.helper}var xm={isEnabled(){return!1},getTraceParent(){return"00-10-10-00"},dispatchEngineSpans(){},getActiveContext(){},runInChildSpan(e,t){return t()}},di=class{isEnabled(){return this.getTracingHelper().isEnabled()}getTraceParent(t){return this.getTracingHelper().getTraceParent(t)}dispatchEngineSpans(t){return this.getTracingHelper().dispatchEngineSpans(t)}getActiveContext(){return this.getTracingHelper().getActiveContext()}runInChildSpan(t,r){return this.getTracingHelper().runInChildSpan(t,r)}getTracingHelper(){return Rl()??xm}};function kl(){return new di}function Il(e,t=()=>{}){let r,n=new Promise(i=>r=i);return{then(i){return--e===0&&r(t()),i?.(n)}}}function Ol(e){return typeof e=="string"?e:e.reduce((t,r)=>{let n=typeof r=="string"?r:r.level;return n==="query"?t:t&&(r==="info"||t==="info")?"info":n},void 0)}var Dl=require("@prisma/client-runtime-utils");function fi(e){if(e.action!=="findUnique"&&e.action!=="findUniqueOrThrow")return;let t=[];return e.modelName&&t.push(e.modelName),e.query.arguments&&t.push(mi(e.query.arguments)),t.push(mi(e.query.selection)),t.join("")}function mi(e){return`(${Object.keys(e).sort().map(r=>{let n=e[r];return typeof n=="object"&&n!==null?`(${r} ${mi(n)})`:r}).join(" ")})`}var Em={aggregate:!1,aggregateRaw:!1,createMany:!0,createManyAndReturn:!0,createOne:!0,deleteMany:!0,deleteOne:!0,executeRaw:!0,findFirst:!1,findFirstOrThrow:!1,findMany:!1,findRaw:!1,findUnique:!1,findUniqueOrThrow:!1,groupBy:!1,queryRaw:!1,runCommandRaw:!0,updateMany:!0,updateManyAndReturn:!0,updateOne:!0,upsertOne:!0};function gi(e){return Em[e]}var Jr=class{constructor(t){this.options=t;this.batches={}}batches;tickActive=!1;request(t){let r=this.options.batchBy(t);return r?(this.batches[r
|
||
|
|
Read more at https://pris.ly/d/client-constructor`),this.name="PrismaClientConstructorValidationError"}get[Symbol.toStringTag](){return"PrismaClientConstructorValidationError"}};gt(R,"PrismaClientConstructorValidationError");var _l=["errorFormat","adapter","accelerateUrl","log","transactionOptions","omit","comments","__internal"],$l=["pretty","colorless","minimal"],Ll=["info","query","warn","error"],Cm={adapter:()=>{},accelerateUrl:e=>{if(e!==void 0){if(typeof e!="string")throw new R(`Invalid value ${JSON.stringify(e)} for "accelerateUrl" provided to PrismaClient constructor.`);if(e.trim().length===0)throw new R('"accelerateUrl" provided to PrismaClient constructor must be a non-empty string.')}},errorFormat:e=>{if(e){if(typeof e!="string")throw new R(`Invalid value ${JSON.stringify(e)} for "errorFormat" provided to PrismaClient constructor.`);if(!$l.includes(e)){let t=Ut(e,$l);throw new R(`Invalid errorFormat ${e} provided to PrismaClient constructor.${t}`)}}},log:e=>{if(!e)return;if(!Array.isArray(e))throw new R(`Invalid value ${JSON.stringify(e)} for "log" provided to PrismaClient constructor.`);function t(r){if(typeof r=="string"&&!Ll.includes(r)){let n=Ut(r,Ll);throw new R(`Invalid log level "${r}" provided to PrismaClient constructor.${n}`)}}for(let r of e){t(r);let n={level:t,emit:i=>{let o=["stdout","event"];if(!o.includes(i)){let s=Ut(i,o);throw new R(`Invalid value ${JSON.stringify(i)} for "emit" in logLevel provided to PrismaClient constructor.${s}`)}}};if(r&&typeof r=="object")for(let[i,o]of Object.entries(r))if(n[i])n[i](o);else throw new R(`Invalid property ${i} for "log" provided to PrismaClient constructor`)}},transactionOptions:e=>{if(!e)return;let t=e.maxWait;if(t!=null&&t<=0)throw new R(`Invalid value ${t} for maxWait in "transactionOptions" provided to PrismaClient constructor. maxWait needs to be greater than 0`);let r=e.timeout;if(r!=null&&r<=0)throw new R(`Invalid value ${r} for timeout in "transactionOptions" provided to PrismaClient constructor. timeout needs to be greater than 0`)},omit:(e,t)=>{if(typeof e!="object")throw new R('"omit" option is expected to be an object.');if(e===null)throw new R('"omit" option can not be `null`');let r=[];for(let[n,i]of Object.entries(e)){let o=Im(n,t.runtimeDataModel);if(!o){r.push({kind:"UnknownModel",modelKey:n});continue}for(let[s,a]of Object.entries(i)){let l=o.fields.find(u=>u.name===s);if(!l){r.push({kind:"UnknownField",modelKey:n,fieldName:s});continue}if(l.relationName){r.push({kind:"RelationInOmit",modelKey:n,fieldName:s});continue}typeof a!="boolean"&&r.push({kind:"InvalidFieldValue",modelKey:n,fieldName:s})}}if(r.length>0)throw new R(Om(e,r))},comments:e=>{if(e!==void 0){if(!Array.isArray(e))throw new R(`Invalid value ${JSON.stringify(e)} for "comments" provided to PrismaClient constructor. Expected an array of SQL commenter plugins.`);for(let t=0;t<e.length;t++)if(typeof e[t]!="function")throw new R(`Invalid value at index ${t} for "comments" provided to PrismaClient constructor. Each plugin must be a function.`)}},__internal:e=>{if(!e)return;let t=["debug","engine","configOverride"];if(typeof e!="object")throw new R(`Invalid value ${JSON.stringify(e)} for "__internal" to PrismaClient constructor`);for(let[r]of Object.entries(e))if(!t.includes(r)){let n=Ut(r,t);throw new R(`Invalid property ${JSON.stringify(r)} for "__internal" provided to PrismaClient constructor.${n}`)}}};function Rm(e){let t=e.adapter!==void 0,r=e.accelerateUrl!==void 0;if(t&&r)throw new R('The "adapter" and "accelerateUrl" options are mutually exclusive. Please provide only one of them.');if(!t&&!r)throw new R('Using engine type "client" requires either "adapter" or "accelerateUrl" to be provided to PrismaClient constructor.')}function jl(e,t){for(let[r,n]of Object.entries(e)){if(!_l.includes(r)){let i=Ut(r,_l);throw new R(`Unknown property ${r} provided to PrismaClient constructor.${i}`)}Cm[r](n,t)}Rm(e)}function Ut(e,t){if(t.length===0||typeof e!="string")return"";let r=km(e,t);return r?` Did you mean "${r}"?`:""}function km(e,t){if(t.length===0)return null;let r=t.map(i=>({
|
||
|
|
|
||
|
|
${i}
|
||
|
|
|
||
|
|
${n}`}var Ul=require("@prisma/client-runtime-utils");function Bl(e){return e.length===0?Promise.resolve([]):new Promise((t,r)=>{let n=new Array(e.length),i=null,o=!1,s=0,a=()=>{o||(s++,s===e.length&&(o=!0,i?r(i):t(n)))},l=u=>{o||(o=!0,r(u))};for(let u=0;u<e.length;u++)e[u].then(c=>{n[u]=c,a()},c=>{if(!(0,Ul.hasBatchIndex)(c)){l(c);return}c.batchRequestIdx===u?l(c):(i||(i=c),a())})})}var rt=_("prisma:client");typeof globalThis=="object"&&(globalThis.NODE_CLIENT=!0);var Nm={requestArgsToMiddlewareArgs:e=>e,middlewareArgsToRequestArgs:e=>e},Wl=Symbol.for("prisma.client.transaction.scope_context");function Ql(e){let r=e[Wl];if(r===void 0)return{kind:"top-level"};if(Dm(r))return r;throw new Error("Internal error: inconsistent transaction scope context.")}function Dm(e){if(typeof e!="object"||e===null)return!1;let t=e;return t.kind==="nested"&&typeof t.txId=="string"&&typeof t.scopeId=="string"&&Mm(t.scopeState)}function Mm(e){return typeof e!="object"||e===null?!1:Array.isArray(e.stack)}function Fm(){return typeof globalThis.crypto?.randomUUID=="function"?globalThis.crypto.randomUUID():`${Date.now()}-${Math.random().toString(16).slice(2)}`}var _m={id:0,nextId(){return++this.id}};function Kl(e){class t{_originalClient=this;_runtimeDataModel;_requestHandler;_connectionPromise;_disconnectionPromise;_engineConfig;_accelerateEngineConfig;_clientVersion;_errorFormat;_tracingHelper;_previewFeatures;_activeProvider;_globalOmit;_extensions;_engine;_appliedParent;_createPrismaPromise=pi();constructor(n){if(!n)throw new b.PrismaClientInitializationError("`PrismaClient` needs to be constructed with a non-empty, valid `PrismaClientOptions`:\n\n```\nnew PrismaClient({\n ...\n})\n```\n\nor\n\n```\nconstructor() {\n super({ ... });\n}\n```\n ",yi);e=n.__internal?.configOverride?.(e)??e,jl(n,e);let i=new zl.EventEmitter().on("error",()=>{});this._extensions=Qe.empty(),this._previewFeatures=e.previewFeatures,this._clientVersion=e.clientVersion??yi,this._activeProvider=e.activeProvider,this._globalOmit=n?.omit,this._tracingHelper=kl();let o;if(n.adapter){o=n.adapter;let s=e.activeProvider==="postgresql"||e.activeProvider==="cockroachdb"?"postgres":e.activeProvider;if(o.provider!==s)throw new b.PrismaClientInitializationError(`The Driver Adapter \`${o.adapterName}\`, based on \`${o.provider}\`, is not compatible with the provider \`${s}\` specified in the Prisma schema.`,this._clientVersion)}try{let s=n??{},l=(s.__internal??{}).debug===!0;if(l&&_.enable("prisma:client"),s.errorFormat?this._errorFormat=s.errorFormat:process.env.NODE_ENV==="production"?this._errorFormat="minimal":process.env.NO_COLOR?this._errorFormat="colorless":this._errorFormat="colorless",this._runtimeDataModel=e.runtimeDataModel,this._engineConfig={enableDebugLogs:l,logLevel:s.log&&Ol(s.log),logQueries:s.log&&!!(typeof s.log=="string"?s.log==="query":s.log.find(u=>typeof u=="string"?u==="query":u.level==="query")),compilerWasm:e.compilerWasm,clientVersion:e.clientVersion,previewFeatures:this._previewFeatures,activeProvider:e.activeProvider,inlineSchema:e.inlineSchema,tracingHelper:this._tracingHelper,transactionOptions:{maxWait:s.transactionOptions?.maxWait??2e3,timeout:s.transactionOptions?.timeout??5e3,isolationLevel:s.transactionOptions?.isolationLevel},logEmitter:i,adapter:o,accelerateUrl:s.accelerateUrl,sqlCommenters:s.comments,parameterizationSchema:e.parameterizationSchema,runtimeDataModel:e.runtimeDataModel},this._accelerateEngineConfig=Object.create(this._engineConfig),this._accelerateEngineConfig.accelerateUtils={resolveDatasourceUrl:()=>{if(s.accelerateUrl)return s.accelerateUrl;throw new b.PrismaClientInitializationError(`\`accelerateUrl\` is required when using \`@prisma/extension-accelerate\`:
|
||
|
|
|
||
|
|
new PrismaClient({
|
||
|
|
accelerateUrl: "prisma://...",
|
||
|
|
}).$extends(withAccelerate())
|
||
|
|
`,e.clientVersion)}},rt("clientVersion",e.clientVersion),this._engine=ml(this._engineConfig),this._requestHandler=new Gr(this,i),s.log)for(let u of s.log){let c=typeof u=="string"?u:u.emit==="stdout"?u.level:null;c&&this.$on(c,p=>{mt.log(`${mt.tags[c]??""}`,p.message||p.query)})}}catch(s){throw s.clientVersion=this._clientVersion,s}return this._appliedParent=vt(this)}get[Symbol.toStringTag](){return"PrismaClient"}$on(n,i){return n==="beforeExit"?this._engine.onBeforeExit(i):n&&this._engineConfig.logEmitter.on(n,i),this}$connect(){try{return this._engine.start()}catch(n){throw n.clientVersion=this._clientVersion,n}}async $disconnect(){try{await this._engine.stop()}catch(n){throw n.clientVersion=this._clientVersion,n}finally{Ni()}}$executeRawInternal(n,i,o,s){let a=this._activeProvider;return this._request({action:"executeRaw",args:o,transaction:n,clientMethod:i,argsMapper:ci({clientMethod:i,activeProvider:a}),callsite:me(this._errorFormat),dataPath:[],middlewareArgsMapper:s})}$executeRaw(n,...i){return this._createPrismaPromise(o=>{if(n.raw!==void 0||n.sql!==void 0){let[s,a]=Jl(n,i);return ui(this._activeProvider,s.text,s.values,Array.isArray(n)?"prisma.$executeRaw`<SQL>`":"prisma.$executeRaw(sql`<SQL>`)"),this.$executeRawInternal(o,"$executeRaw",s,a)}throw new b.PrismaClientValidationError("`$executeRaw` is a tag function, please use it like the following:\n```\nconst result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`\n```\n\nOr read our docs at https://www.prisma.io/docs/concepts/components/prisma-client/raw-database-access#executeraw\n",{clientVersion:this._clientVersion})})}$executeRawUnsafe(n,...i){return this._createPrismaPromise(o=>(ui(this._activeProvider,n,i,"prisma.$executeRawUnsafe(<SQL>, [...values])"),this.$executeRawInternal(o,"$executeRawUnsafe",[n,...i])))}$runCommandRaw(n){if(e.activeProvider!=="mongodb")throw new b.PrismaClientValidationError(`The ${e.activeProvider} provider does not support $runCommandRaw. Use the mongodb provider.`,{clientVersion:this._clientVersion});return this._createPrismaPromise(i=>this._request({args:n,clientMethod:"$runCommandRaw",dataPath:[],action:"runCommandRaw",argsMapper:fl,callsite:me(this._errorFormat),transaction:i}))}async $queryRawInternal(n,i,o,s){let a=this._activeProvider;return this._request({action:"queryRaw",args:o,transaction:n,clientMethod:i,argsMapper:ci({clientMethod:i,activeProvider:a}),callsite:me(this._errorFormat),dataPath:[],middlewareArgsMapper:s})}$queryRaw(n,...i){return this._createPrismaPromise(o=>{if(n.raw!==void 0||n.sql!==void 0)return this.$queryRawInternal(o,"$queryRaw",...Jl(n,i));throw new b.PrismaClientValidationError("`$queryRaw` is a tag function, please use it like the following:\n```\nconst result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`\n```\n\nOr read our docs at https://www.prisma.io/docs/concepts/components/prisma-client/raw-database-access#queryraw\n",{clientVersion:this._clientVersion})})}$queryRawTyped(n){return this._createPrismaPromise(i=>{if(!this._hasPreviewFlag("typedSql"))throw new b.PrismaClientValidationError("`typedSql` preview feature must be enabled in order to access $queryRawTyped API",{clientVersion:this._clientVersion});return this.$queryRawInternal(i,"$queryRawTyped",n)})}$queryRawUnsafe(n,...i){return this._createPrismaPromise(o=>this.$queryRawInternal(o,"$queryRawUnsafe",[n,...i]))}_transactionWithArray({promises:n,options:i}){let o=_m.nextId(),s=Il(n.length),a=n.map((l,u)=>{if(l?.[Symbol.toStringTag]!=="PrismaPromise")throw new Error("All elements of the array need to be Prisma Client promises. Hint: Please make sure you are not awaiting the Prisma client calls you intended to pass in the $transaction function.");let c=i?.isolationLevel??this._engineConfig.transactionOptions.isolationLevel,p={kind:"batch",id:o,index:u,isolationLevel:c,lock:s};return l.requestTransaction?.(p)??l});return Bl(a)}async _transactionWithCallback({callback:n,options:i={}}){let o=Ql(this),s=o.kind==="nested",a=s?o.scopeState:{stack:[]
|
||
|
|
`)),c?.kind==="batch"&&await c.lock,this._requestHandler.request({protocolQuery:x,modelName:l,action:a,clientMethod:i,dataPath:o,callsite:s,args:n,extensions:this._extensions,transaction:c,unpacker:p,otelParentCtx:d,otelChildCtx:this._tracingHelper.getActiveContext(),globalOmit:this._globalOmit,customDataProxyFetch:m})}catch(g){throw g.clientVersion=this._clientVersion,g}}_hasPreviewFlag(n){return!!this._engineConfig.previewFeatures?.includes(n)}$extends=Qo}return t}function Jl(e,t){return $m(e)?[new Hl.Sql(e,t),Tl]:[e,Sl]}function $m(e){return Array.isArray(e)&&Array.isArray(e.raw)}var Lm=new Set(["toJSON","$$typeof","asymmetricMatch",Symbol.iterator,Symbol.toStringTag,Symbol.isConcatSpreadable,Symbol.toPrimitive]);function Zl(e){return new Proxy(e,{get(t,r){if(r in t)return t[r];if(!Lm.has(r))throw new TypeError(`Invalid enum value: ${String(r)}`)}})}var Vm=()=>globalThis.process?.release?.name==="node",qm=()=>!!globalThis.Bun||!!globalThis.process?.versions?.bun,jm=()=>!!globalThis.Deno,Um=()=>typeof globalThis.Netlify=="object",Bm=()=>typeof globalThis.EdgeRuntime=="object",Qm=()=>globalThis.navigator?.userAgent==="Cloudflare-Workers";function Jm(){return[[Um,"netlify"],[Bm,"edge-light"],[Qm,"workerd"],[jm,"deno"],[qm,"bun"],[Vm,"node"]].flatMap(r=>r[0]()?[r[1]]:[]).at(0)??""}var Hm={node:"Node.js",workerd:"Cloudflare Workers",deno:"Deno and Deno Deploy",netlify:"Netlify Edge Functions","edge-light":"Edge Runtime (Vercel Edge Functions, Vercel Edge Middleware, Next.js (Pages Router) Edge API Routes, Next.js (App Router) Edge Route Handlers or Next.js Middleware)"};function Yl(){let e=Jm();return{id:e,prettyName:Hm[e]||e,isEdge:["workerd","deno","netlify","edge-light"].includes(e)}}var b=require("@prisma/client-runtime-utils"),ie=require("@prisma/client-runtime-utils"),O=require("@prisma/client-runtime-utils"),Xl=require("@prisma/client-runtime-utils");0&&(module.exports={AnyNull,DMMF,DbNull,Debug,Decimal,Extensions,JsonNull,NullTypes,ObjectEnumValue,PrismaClientInitializationError,PrismaClientKnownRequestError,PrismaClientRustPanicError,PrismaClientUnknownRequestError,PrismaClientValidationError,Public,Sql,createParam,defineDmmfProperty,deserializeJsonObject,deserializeRawResult,dmmfToRuntimeDataModel,empty,getPrismaClient,getRuntime,isAnyNull,isDbNull,isJsonNull,isObjectEnumValue,join,makeStrictEnum,makeTypedQueryFactory,raw,serializeJsonQuery,skip,sqltag,warnOnce});
|
||
|
|
/*! Bundled license information:
|
||
|
|
|
||
|
|
@noble/hashes/utils.js:
|
||
|
|
(*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
|
||
|
|
*/
|
||
|
|
//# sourceMappingURL=client.js.map
|